Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] eiskaltdcpp-qt: update to 2.4.2
Date: Mon, 08 Mar 2021 07:38:26 +0100	[thread overview]
Message-ID: <20210308063826.1IJ2Ai6UWqHgC9sAw37E93mZWi0qKvKHS6YxkSwwRGg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29194@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/tehnick/void-packages update-eiskaltdcpp
https://github.com/void-linux/void-packages/pull/29194

eiskaltdcpp-qt: update to 2.4.2


A patch file from https://github.com/void-linux/void-packages/pull/29194.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-eiskaltdcpp-29194.patch --]
[-- Type: text/x-diff, Size: 3795 bytes --]

From 3ddd9e43fd4f5cc6e53720df5b9fd1cd814b6187 Mon Sep 17 00:00:00 2001
From: Boris Pek <tehnick-8@yandex.ru>
Date: Wed, 3 Mar 2021 03:13:47 +0300
Subject: [PATCH] eiskaltdcpp-qt: update to 2.4.2

+ Remove patches accepted in upstream
+ Update package description
By ericonr:
+ Use gettext-devel instead of -libs to link to libintl.
---
 srcpkgs/eiskaltdcpp-qt/patches/musl.patch | 33 -----------------------
 srcpkgs/eiskaltdcpp-qt/template           | 20 +++++++++-----
 2 files changed, 13 insertions(+), 40 deletions(-)
 delete mode 100644 srcpkgs/eiskaltdcpp-qt/patches/musl.patch

diff --git a/srcpkgs/eiskaltdcpp-qt/patches/musl.patch b/srcpkgs/eiskaltdcpp-qt/patches/musl.patch
deleted file mode 100644
index 37914871c8b..00000000000
--- a/srcpkgs/eiskaltdcpp-qt/patches/musl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://github.com/eiskaltdcpp/eiskaltdcpp/commit/fc9bc0c2
-
---- dcpp/Util.h
-+++ dcpp/Util.h.new
-@@ -243,7 +243,7 @@ public:
-     static int64_t toInt64(const string& aString) {
- #ifdef _WIN32
-         return _atoi64(aString.c_str());
--#elif defined(__HAIKU__)
-+#elif defined(__HAIKU__) || !defined(__GLIBC__)
-         return strtoll(aString.c_str(), (char **)NULL, 10);
- #else
-         return strtoq(aString.c_str(), (char **)NULL, 10);
---- eiskaltdcpp-qt/src/main.cpp
-+++ eiskaltdcpp-qt/src/main.cpp.new
-@@ -86,7 +86,7 @@ void parseCmdLine(const QStringList &);
- #if !defined(Q_OS_WIN)
- #include <unistd.h>
- #include <signal.h>
--#if !defined (Q_OS_HAIKU)
-+#if !defined (Q_OS_HAIKU) && defined (__GLIBC__)
- #include <execinfo.h>
- 
- #ifdef ENABLE_STACKTRACE
-@@ -141,7 +141,7 @@ int main(int argc, char *argv[])
-         return 0;
-     }
- 
--#if !defined (Q_OS_WIN) && !defined (Q_OS_HAIKU)
-+#if !defined (Q_OS_WIN) && !defined (Q_OS_HAIKU) && defined (__GLIBC__)
-     installHandlers();
- #endif
- 
diff --git a/srcpkgs/eiskaltdcpp-qt/template b/srcpkgs/eiskaltdcpp-qt/template
index 618fa29772d..df90ffeb777 100644
--- a/srcpkgs/eiskaltdcpp-qt/template
+++ b/srcpkgs/eiskaltdcpp-qt/template
@@ -1,7 +1,7 @@
 # Template file for 'eiskaltdcpp-qt'
 pkgname=eiskaltdcpp-qt
-version=2.4.1
-revision=2
+version=2.4.2
+revision=1
 wrksrc="eiskaltdcpp-${version}"
 build_style=cmake
 configure_args="-DUSE_QT5=ON -DUSE_QT=OFF -DUSE_ASPELL=OFF -DLINK=STATIC"
@@ -9,19 +9,25 @@ hostmakedepends="gettext pkg-config qt5-tools-devel qt5-host-tools qt5-qmake"
 makedepends="bzip2-devel zlib-devel openssl-devel libidn-devel lua52-devel
  miniupnpc-devel qt5-devel qt5-multimedia-devel qt5-plugin-sqlite
  qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-tds"
-short_desc="EiskaltDC++ is a file sharing program using DC and ADC protocols"
+short_desc="EiskaltDC++ is a file sharing program using Direct Connect protocols"
 maintainer="Boris Pek <tehnick-8@yandex.ru>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/eiskaltdcpp/eiskaltdcpp"
 distfiles="https://github.com/eiskaltdcpp/eiskaltdcpp/archive/v${version}.tar.gz"
-checksum=818f9622ac28d3cf1ae58af0a01e25af702781822b6edeb99c9d05d408a4798f
+checksum=2ed853a57c57aab0e87fdea273a01707184ee425a2aaf9fcd2e0a32c57a2de2c
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" qt5-devel"
 fi
 
 case $XBPS_TARGET_MACHINE in
-	*-musl) makedepends+=" gettext-libs"
-		configure_args+=' -DCMAKE_EXE_LINKER_FLAGS="-lintl"';;
-	*)      configure_args+=' -DCMAKE_EXE_LINKER_FLAGS="-lpthread"';;
+	# links against libintl.so because it uses LANGUAGE as an env var
+	# and always messes with _nl_msg_cat_cntr (the latter could be patched out,
+	# the first is harder).
+	*-musl) makedepends+=" gettext-devel"
+		configure_args+=' -DCMAKE_EXE_LINKER_FLAGS="-lintl"'
+		CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gettext"
+		;;
+	*) configure_args+=' -DCMAKE_EXE_LINKER_FLAGS="-lpthread"'
+		;;
 esac

  parent reply	other threads:[~2021-03-08  6:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-03  8:17 [PR PATCH] " tehnick
2021-03-08  3:23 ` ericonr
2021-03-08  3:23 ` ericonr
2021-03-08  3:24 ` [PR PATCH] [Updated] " ericonr
2021-03-08  6:38 ` ericonr [this message]
2021-03-08  7:03 ` [PR PATCH] [Merged]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210308063826.1IJ2Ai6UWqHgC9sAw37E93mZWi0qKvKHS6YxkSwwRGg@z \
    --to=ericonr@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).