[gentoo-commits] repo/gentoo:master commit in: www-client/uget/files/, www-client/uget/

2023-04-06 Thread Sam James
commit: 5638c9b9103b86ad8264feff2b7edecd6e7d6c7f
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  7 05:12:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  7 05:12:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5638c9b9

www-client/uget: drop broken curl version check

This check can't handle curl >= 8 or non-bash /bin/sh.

Closes: https://bugs.gentoo.org/872080
Signed-off-by: Sam James  gentoo.org>

 .../uget/files/uget-2.2.3-broken-curl-check.patch   | 17 +
 www-client/uget/uget-2.2.3.ebuild   |  1 +
 www-client/uget/uget-.ebuild|  1 +
 3 files changed, 19 insertions(+)

diff --git a/www-client/uget/files/uget-2.2.3-broken-curl-check.patch 
b/www-client/uget/files/uget-2.2.3-broken-curl-check.patch
new file mode 100644
index ..c8e37abeca97
--- /dev/null
+++ b/www-client/uget/files/uget-2.2.3-broken-curl-check.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/872080
+
+This check can't handle curl >= 8 or non-bash /bin/sh.
+--- a/configure.ac
 b/configure.ac
+@@ -81,11 +81,6 @@ if test "x$CURL_CONFIG" = "x" ; then
+ fi
+ CURL_CFLAGS=`$CURL_CONFIG --cflags`
+ CURL_LIBS=`$CURL_CONFIG --libs`
+-let CURL_VERNUM=0x0`$CURL_CONFIG --vernum`
+-let CURL_VERMIN=0x071301  # 7.19.1
+-if test $CURL_VERNUM -lt $CURL_VERMIN; then
+-  AC_MSG_ERROR(Requires libcurl version >= 7.19.1)
+-fi
+ AC_SUBST(CURL_CFLAGS)
+ AC_SUBST(CURL_LIBS)
+ 

diff --git a/www-client/uget/uget-2.2.3.ebuild 
b/www-client/uget/uget-2.2.3.ebuild
index b64f27cf31ef..7838c2e3a254 100644
--- a/www-client/uget/uget-2.2.3.ebuild
+++ b/www-client/uget/uget-2.2.3.ebuild
@@ -41,6 +41,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.2.1-fno-common.patch
# https://github.com/ugetdm/uget/issues/49
"${FILESDIR}"/${PN}-2.2.1-ayatana.patch
+   "${FILESDIR}"/${PN}-2.2.3-broken-curl-check.patch
 )
 
 src_prepare() {

diff --git a/www-client/uget/uget-.ebuild b/www-client/uget/uget-.ebuild
index bd1d745b7b0e..2fe8e367fbcf 100644
--- a/www-client/uget/uget-.ebuild
+++ b/www-client/uget/uget-.ebuild
@@ -38,6 +38,7 @@ BDEPEND="
 PATCHES=(
# https://github.com/ugetdm/uget/issues/49
"${FILESDIR}"/${PN}-2.2.1-ayatana.patch
+   "${FILESDIR}"/${PN}-2.2.3-broken-curl-check.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: www-client/uget/files/, www-client/uget/

2020-12-28 Thread David Seifert
commit: c62a99885c8e4211be26e51641f99e81f3986b54
Author: Jakov Smolic  sartura  hr>
AuthorDate: Mon Dec 28 12:42:58 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec 28 12:42:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62a9988

www-client/uget: Port to EAPI 7

Closes: https://bugs.gentoo.org/713812
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 www-client/uget/files/uget-2.2.1-fno-common.patch |  8 +++
 www-client/uget/uget-2.2.1.ebuild | 29 ---
 2 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/www-client/uget/files/uget-2.2.1-fno-common.patch 
b/www-client/uget/files/uget-2.2.1-fno-common.patch
new file mode 100644
index 000..8910c338e80
--- /dev/null
+++ b/www-client/uget/files/uget-2.2.1-fno-common.patch
@@ -0,0 +1,8 @@
+--- a/ui-gtk/UgtkBanner.h
 b/ui-gtk/UgtkBanner.h
+@@ -64,7 +64,7 @@
+   UgetRssFeed*feed;
+   UgetRssItem*item;
+   } rss;
+-} banner;
++};

diff --git a/www-client/uget/uget-2.2.1.ebuild 
b/www-client/uget/uget-2.2.1.ebuild
index 3608bf8baca..de91193f2cd 100644
--- a/www-client/uget/uget-2.2.1.ebuild
+++ b/www-client/uget/uget-2.2.1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=7
 
-inherit gnome2-utils xdg-utils
+inherit xdg
 
 DESCRIPTION="Download manager using gtk+ and libcurl"
 HOMEPAGE="http://www.ugetdm.com;
@@ -16,9 +16,9 @@ IUSE="aria2 appindicator control-socket +gnutls gstreamer 
libnotify nls openssl
 REQUIRED_USE="^^ ( gnutls openssl )"
 
 RDEPEND="
-   >=net-misc/curl-7.19.1
+   dev-libs/glib:2
dev-libs/libpcre
-   >=dev-libs/glib-2.32:2
+   net-misc/curl
>=x11-libs/gtk+-3.4:3
gnutls? (
net-libs/gnutls
@@ -28,13 +28,14 @@ RDEPEND="
appindicator? ( dev-libs/libappindicator:3 )
gstreamer? ( media-libs/gstreamer:1.0 )
libnotify? ( x11-libs/libnotify )
-   openssl? ( dev-libs/openssl:0 )
-   "
-DEPEND="${RDEPEND}
+   openssl? ( dev-libs/openssl:0 )"
+DEPEND="${RDEPEND}"
+BDEPEND="
dev-util/intltool
-   virtual/pkgconfig
sys-devel/gettext
-   "
+   virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
 
 src_configure() {
local myconf=(
@@ -50,13 +51,3 @@ src_configure() {
 
econf "${myconf[@]}"
 }
-
-pkg_postinst() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}