public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-news/liferea/, net-news/liferea/files/
@ 2017-06-27 12:56 Michael Palimaka
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Palimaka @ 2017-06-27 12:56 UTC (permalink / raw
  To: gentoo-commits

commit:     f76071ffeadfaaaa771cc1bb830f283acb5854b0
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Mon Jun 26 12:39:28 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 12:56:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76071ff

net-news/liferea: fixed external browser option.

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=622638

 .../liferea/files/liferea-1.12_rc3-signal.patch    | 66 +++++++++++++++++++
 net-news/liferea/liferea-1.12_rc3-r1.ebuild        | 74 ++++++++++++++++++++++
 2 files changed, 140 insertions(+)

diff --git a/net-news/liferea/files/liferea-1.12_rc3-signal.patch b/net-news/liferea/files/liferea-1.12_rc3-signal.patch
new file mode 100644
index 00000000000..56fa5a8cce6
--- /dev/null
+++ b/net-news/liferea/files/liferea-1.12_rc3-signal.patch
@@ -0,0 +1,66 @@
+From b08641b21bdb590770e10bad873666aedf4ae306 Mon Sep 17 00:00:00 2001
+From: leiaz <leiaz@free.fr>
+Date: Sun, 14 May 2017 20:08:39 +0200
+Subject: [PATCH] Fixes #500 Connects browser entry to callback
+
+Glade copy/paste doesn't copy the signals/callbacks part. I missed that
+one when updating the ui file.
+---
+ glade/prefs.ui | 24 ++++++++++++++----------
+ 1 file changed, 14 insertions(+), 10 deletions(-)
+
+diff --git a/glade/prefs.ui b/glade/prefs.ui
+index b5b97bac0..65d055986 100644
+--- a/glade/prefs.ui
++++ b/glade/prefs.ui
+@@ -736,16 +736,6 @@
+                       </packing>
+                     </child>
+                     <child>
+-                      <object class="GtkComboBox" id="browserpopup">
+-                        <property name="visible">True</property>
+-                        <property name="can_focus">False</property>
+-                      </object>
+-                      <packing>
+-                        <property name="left_attach">1</property>
+-                        <property name="top_attach">1</property>
+-                      </packing>
+-                    </child>
+-                    <child>
+                       <object class="GtkLabel" id="manuallabel">
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+@@ -765,6 +755,7 @@
+                         <property name="visible">True</property>
+                         <property name="can_focus">True</property>
+                         <property name="activates_default">True</property>
++                        <signal name="changed" handler="on_browsercmd_changed" swapped="no"/>
+                       </object>
+                       <packing>
+                         <property name="left_attach">1</property>
+@@ -787,6 +778,16 @@
+                       </packing>
+                     </child>
+                     <child>
++                      <object class="GtkComboBox" id="browserpopup">
++                        <property name="visible">True</property>
++                        <property name="can_focus">False</property>
++                      </object>
++                      <packing>
++                        <property name="left_attach">1</property>
++                        <property name="top_attach">1</property>
++                      </packing>
++                    </child>
++                    <child>
+                       <placeholder/>
+                     </child>
+                   </object>
+@@ -1422,5 +1423,8 @@
+     <action-widgets>
+       <action-widget response="-7">prefclosebtn</action-widget>
+     </action-widgets>
++    <child>
++      <placeholder/>
++    </child>
+   </object>
+ </interface>

diff --git a/net-news/liferea/liferea-1.12_rc3-r1.ebuild b/net-news/liferea/liferea-1.12_rc3-r1.ebuild
new file mode 100644
index 00000000000..5e51ec58054
--- /dev/null
+++ b/net-news/liferea/liferea-1.12_rc3-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5} )
+
+inherit autotools gnome2 pax-utils python-single-r1
+
+MY_P=${P/_/-}
+MY_PV=${PV/_/-}
+
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds"
+HOMEPAGE="https://lzone.de/liferea/"
+SRC_URI="https://github.com/lwindolf/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	>=dev-db/sqlite-3.7.0:3
+	>=dev-libs/glib-2.28.0:2
+	dev-libs/gobject-introspection
+	dev-libs/json-glib
+	>=dev-libs/libpeas-1.0.0[gtk,python,${PYTHON_USEDEP}]
+	>=dev-libs/libxml2-2.6.27:2
+	>=dev-libs/libxslt-1.1.19
+	gnome-base/gsettings-desktop-schemas
+	>=net-libs/libsoup-2.42:2.4
+	net-libs/webkit-gtk:4
+	x11-libs/gtk+:3
+	>=x11-libs/pango-1.4.0"
+DEPEND="${RDEPEND}
+	dev-util/intltool
+	virtual/pkgconfig"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=(
+	"${FILESDIR}/${P}-signal.patch"
+)
+
+src_prepare() {
+	gnome2_src_prepare
+
+	# gnome2_src_prepare calls elibtoolize
+	if [ -f "${S}"/.elibtoolized ]; then
+		local AT_NOELIBTOOLIZE="yes"
+	fi
+	eautoreconf
+}
+
+src_configure() {
+	gnome2_src_configure --disable-schemas-compile
+}
+
+src_install() {
+	gnome2_src_install
+
+	# bug #338213
+	# Uses webkit's JIT. Needs mmap('rwx') to generate code in runtime.
+	# MPROTECT policy violation. Will sit here until webkit will
+	# get optional JIT.
+	pax-mark m "${D%/}"/usr/bin/liferea
+
+	einfo "If you want to enhance the functionality of this package,"
+	einfo "you should consider installing:"
+	einfo "    net-misc/networkmanager"
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-news/liferea/, net-news/liferea/files/
@ 2021-05-30 22:13 James Le Cuirot
  0 siblings, 0 replies; 4+ messages in thread
From: James Le Cuirot @ 2021-05-30 22:13 UTC (permalink / raw
  To: gentoo-commits

commit:     d80668549389cfe7de5bc42d5c7a5cefd25ca7f1
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun May 30 22:12:38 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun May 30 22:13:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8066854

net-news/liferea: Fix CSS in web views following webkit-gtk update

Already fixed upstream. Thanks to Debian for the backported patch.

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../liferea/files/liferea-1.12.9-webkit-css.patch  | 47 ++++++++++++++
 net-news/liferea/liferea-1.12.9-r1.ebuild          | 75 ++++++++++++++++++++++
 2 files changed, 122 insertions(+)

diff --git a/net-news/liferea/files/liferea-1.12.9-webkit-css.patch b/net-news/liferea/files/liferea-1.12.9-webkit-css.patch
new file mode 100644
index 00000000000..55ceec78b44
--- /dev/null
+++ b/net-news/liferea/files/liferea-1.12.9-webkit-css.patch
@@ -0,0 +1,47 @@
+From 78fa1f32078eb7a56073ed49fd4b5ce481250f83 Mon Sep 17 00:00:00 2001
+From: Paul Gevers <elbrus@debian.org>
+Date: Thu, 29 Apr 2021 20:59:01 +0200
+Subject: [PATCH] Apply patch for easier review
+
+---
+ src/webkit/webkit.c | 17 +++++++++++++++++
+ 1 file changed, 17 insertions(+)
+
+diff --git a/src/webkit/webkit.c b/src/webkit/webkit.c
+index 5be72130..70823359 100644
+--- a/src/webkit/webkit.c
++++ b/src/webkit/webkit.c
+@@ -369,6 +369,21 @@ liferea_webkit_impl_download_started (WebKitWebContext	*context,
+ 	enclosure_download (NULL, webkit_uri_request_get_uri (request), TRUE);
+ }
+ 
++static void
++liferea_webkit_handle_liferea_scheme (WebKitURISchemeRequest *request, gpointer user_data)
++{
++	const gchar *uri = webkit_uri_scheme_request_get_uri (request);
++	GInputStream *stream;
++	gssize length;
++	gchar *contents;
++
++	contents = g_strdup_printf ("Placeholder handler for liferea scheme. URI requested : %s", uri);
++	length = (gssize) strlen (contents);
++	stream = g_memory_input_stream_new_from_data (contents, length, g_free);
++	webkit_uri_scheme_request_finish (request, stream, length, "text/plain");
++	g_object_unref (stream);
++}
++
+ static void
+ liferea_webkit_impl_init (LifereaWebKitImpl *self)
+ {
+@@ -379,6 +394,8 @@ liferea_webkit_impl_init (LifereaWebKitImpl *self)
+ 	self->dbus_connections = NULL;
+ 	self->settings = webkit_settings_new ();
+ 	font = webkit_get_font (&fontSize);
++	webkit_web_context_register_uri_scheme (webkit_web_context_get_default(), "liferea",
++		(WebKitURISchemeRequestCallback) liferea_webkit_handle_liferea_scheme,NULL,NULL);
+ 
+ 	security_manager = webkit_web_context_get_security_manager (webkit_web_context_get_default ());
+ 	webkit_security_manager_register_uri_scheme_as_local (security_manager, "liferea");
+-- 
+GitLab
+

diff --git a/net-news/liferea/liferea-1.12.9-r1.ebuild b/net-news/liferea/liferea-1.12.9-r1.ebuild
new file mode 100644
index 00000000000..9bd12dbb82f
--- /dev/null
+++ b/net-news/liferea/liferea-1.12.9-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit autotools gnome2-utils python-single-r1 xdg
+
+DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds"
+HOMEPAGE="https://lzone.de/liferea/"
+SRC_URI="https://github.com/lwindolf/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-db/sqlite:3
+	dev-libs/glib:2
+	dev-libs/gobject-introspection
+	dev-libs/json-glib
+	dev-libs/libpeas[gtk,python,${PYTHON_SINGLE_USEDEP}]
+	dev-libs/libxml2:2
+	dev-libs/libxslt
+	gnome-base/gsettings-desktop-schemas
+	net-libs/libsoup:2.4
+	net-libs/webkit-gtk:4
+	x11-libs/gtk+:3
+	x11-libs/pango"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-util/intltool
+	virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-webkit-css.patch
+)
+
+src_prepare() {
+	xdg_src_prepare
+
+	sed -i -e 's#$(datadir)/appdata#$(datadir)/metainfo#g' \
+		Makefile.am || die
+	eautoreconf
+}
+
+src_configure() {
+	econf --disable-static
+}
+
+src_compile() {
+	# Workaround crash in libwebkit2gtk-4.0.so
+	# https://bugs.gentoo.org/704594
+	WEBKIT_DISABLE_COMPOSITING_MODE=1 \
+		default
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	gnome2_schemas_update
+
+	elog "Additional features can be enabled via"
+	elog "\tapp-crypt/libsecret[introspection] for Libsecret Support plugin"
+	elog "\tdev-python/pycairo and x11-libs/gdk-pixbuf[introspection] for Tray Icon (GNOME Classic) plugin"
+	elog "\tmedia-libs/gstreamer[introspection] for Media Player plugin"
+	elog "\tnet-misc/networkmanager for monitoring network status"
+	elog "\tx11-libs/libnotify[introspection] for Popup Notifications plugin"
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-news/liferea/, net-news/liferea/files/
@ 2023-09-16 14:10 Matt Turner
  0 siblings, 0 replies; 4+ messages in thread
From: Matt Turner @ 2023-09-16 14:10 UTC (permalink / raw
  To: gentoo-commits

commit:     275b005dc01db767cccf54e195aa1867dd77aa00
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Sat Sep 16 07:11:45 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Sep 16 14:10:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275b005d

net-news/liferea: drop 1.12.10, 1.12.10-r1

Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 net-news/liferea/Manifest                          |  1 -
 .../liferea/files/liferea-1.12.9-webkit-css.patch  | 47 --------------
 net-news/liferea/liferea-1.12.10-r1.ebuild         | 74 ----------------------
 net-news/liferea/liferea-1.12.10.ebuild            | 74 ----------------------
 4 files changed, 196 deletions(-)

diff --git a/net-news/liferea/Manifest b/net-news/liferea/Manifest
index d95bae229599..e58c61d0d1c1 100644
--- a/net-news/liferea/Manifest
+++ b/net-news/liferea/Manifest
@@ -1,2 +1 @@
-DIST liferea-1.12.10.tar.bz2 1503040 BLAKE2B 8a935f889b972787a55f0d09c4314ee5ff4d4fa42b46af46d84e5dd5d13df95adf898dc522baadd76e7c752c9f47d771122698882142202002ebf2fa5b0e3f31 SHA512 34b9c5b9c58aaac790e44aa2495a169ea2fbc3cdf351013324615b65c083045c3b09c5d5fa6eeba994184d2d7a9e52626241877c24194f4f771af0f5b3afb067
 DIST liferea-1.14.5.tar.gz 1833641 BLAKE2B 5505e33bd113b3ea0bf7582f75aa968de2b4bbbc659f224062d735bb357177a3eec5dca26dbc22151ccb1659e740ce2068ee2933ef82eb2e3c3a96b31528e570 SHA512 866e795e31644a8546d0fd6eae2976e0c031650caf77aa87e90bc17a55f65d2c207bb295649c7b4d318fb0d628f7cae1fc0d563f59260eddfeafbe9c885f3550

diff --git a/net-news/liferea/files/liferea-1.12.9-webkit-css.patch b/net-news/liferea/files/liferea-1.12.9-webkit-css.patch
deleted file mode 100644
index 55ceec78b44d..000000000000
--- a/net-news/liferea/files/liferea-1.12.9-webkit-css.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 78fa1f32078eb7a56073ed49fd4b5ce481250f83 Mon Sep 17 00:00:00 2001
-From: Paul Gevers <elbrus@debian.org>
-Date: Thu, 29 Apr 2021 20:59:01 +0200
-Subject: [PATCH] Apply patch for easier review
-
----
- src/webkit/webkit.c | 17 +++++++++++++++++
- 1 file changed, 17 insertions(+)
-
-diff --git a/src/webkit/webkit.c b/src/webkit/webkit.c
-index 5be72130..70823359 100644
---- a/src/webkit/webkit.c
-+++ b/src/webkit/webkit.c
-@@ -369,6 +369,21 @@ liferea_webkit_impl_download_started (WebKitWebContext	*context,
- 	enclosure_download (NULL, webkit_uri_request_get_uri (request), TRUE);
- }
- 
-+static void
-+liferea_webkit_handle_liferea_scheme (WebKitURISchemeRequest *request, gpointer user_data)
-+{
-+	const gchar *uri = webkit_uri_scheme_request_get_uri (request);
-+	GInputStream *stream;
-+	gssize length;
-+	gchar *contents;
-+
-+	contents = g_strdup_printf ("Placeholder handler for liferea scheme. URI requested : %s", uri);
-+	length = (gssize) strlen (contents);
-+	stream = g_memory_input_stream_new_from_data (contents, length, g_free);
-+	webkit_uri_scheme_request_finish (request, stream, length, "text/plain");
-+	g_object_unref (stream);
-+}
-+
- static void
- liferea_webkit_impl_init (LifereaWebKitImpl *self)
- {
-@@ -379,6 +394,8 @@ liferea_webkit_impl_init (LifereaWebKitImpl *self)
- 	self->dbus_connections = NULL;
- 	self->settings = webkit_settings_new ();
- 	font = webkit_get_font (&fontSize);
-+	webkit_web_context_register_uri_scheme (webkit_web_context_get_default(), "liferea",
-+		(WebKitURISchemeRequestCallback) liferea_webkit_handle_liferea_scheme,NULL,NULL);
- 
- 	security_manager = webkit_web_context_get_security_manager (webkit_web_context_get_default ());
- 	webkit_security_manager_register_uri_scheme_as_local (security_manager, "liferea");
--- 
-GitLab
-

diff --git a/net-news/liferea/liferea-1.12.10-r1.ebuild b/net-news/liferea/liferea-1.12.10-r1.ebuild
deleted file mode 100644
index 515dc67f6044..000000000000
--- a/net-news/liferea/liferea-1.12.10-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit autotools gnome2-utils optfeature python-single-r1 xdg
-
-DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds"
-HOMEPAGE="https://lzone.de/liferea/"
-SRC_URI="https://github.com/lwindolf/${PN}/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-	dev-db/sqlite:3
-	dev-libs/glib:2
-	dev-libs/gobject-introspection
-	dev-libs/json-glib
-	dev-libs/libpeas[gtk,python,${PYTHON_SINGLE_USEDEP}]
-	dev-libs/libxml2:2
-	dev-libs/libxslt
-	gnome-base/gsettings-desktop-schemas
-	net-libs/libsoup:2.4
-	net-libs/webkit-gtk:4
-	x11-libs/gtk+:3
-	x11-libs/pango"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-util/intltool
-	virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-1.12.9-webkit-css.patch
-)
-
-src_prepare() {
-	xdg_src_prepare
-
-	sed -i -e 's#$(datadir)/appdata#$(datadir)/metainfo#g' \
-		Makefile.am || die
-	eautoreconf
-}
-
-src_configure() {
-	econf --disable-static
-}
-
-src_compile() {
-	# Workaround crash in libwebkit2gtk-4.0.so
-	# https://bugs.gentoo.org/704594
-	WEBKIT_DISABLE_COMPOSITING_MODE=1 \
-		default
-}
-
-src_install() {
-	default
-	find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-	gnome2_schemas_update
-
-	optfeature "Libsecret Support plugin" app-crypt/libsecret[introspection]
-	optfeature "Tray Icon (GNOME Classic) plugin" "dev-python/pycairo x11-libs/gdk-pixbuf[introspection]"
-	optfeature "Media Player plugin" media-libs/gstreamer[introspection]
-	optfeature "monitoring network status" net-misc/networkmanager
-	optfeature "Popup Notifications plugin" x11-libs/libnotify[introspection]
-}

diff --git a/net-news/liferea/liferea-1.12.10.ebuild b/net-news/liferea/liferea-1.12.10.ebuild
deleted file mode 100644
index 1fffe934d842..000000000000
--- a/net-news/liferea/liferea-1.12.10.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit autotools gnome2-utils optfeature python-single-r1 xdg
-
-DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds"
-HOMEPAGE="https://lzone.de/liferea/"
-SRC_URI="https://github.com/lwindolf/${PN}/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-	dev-db/sqlite:3
-	dev-libs/glib:2
-	dev-libs/gobject-introspection
-	dev-libs/json-glib
-	dev-libs/libpeas[gtk,python,${PYTHON_SINGLE_USEDEP}]
-	dev-libs/libxml2:2
-	dev-libs/libxslt
-	gnome-base/gsettings-desktop-schemas
-	net-libs/libsoup:2.4
-	net-libs/webkit-gtk:4
-	x11-libs/gtk+:3
-	x11-libs/pango"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-util/intltool
-	virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-1.12.9-webkit-css.patch
-)
-
-src_prepare() {
-	xdg_src_prepare
-
-	sed -i -e 's#$(datadir)/appdata#$(datadir)/metainfo#g' \
-		Makefile.am || die
-	eautoreconf
-}
-
-src_configure() {
-	econf --disable-static
-}
-
-src_compile() {
-	# Workaround crash in libwebkit2gtk-4.0.so
-	# https://bugs.gentoo.org/704594
-	WEBKIT_DISABLE_COMPOSITING_MODE=1 \
-		default
-}
-
-src_install() {
-	default
-	find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-	gnome2_schemas_update
-
-	optfeature "Libsecret Support plugin" app-crypt/libsecret[introspection]
-	optfeature "Tray Icon (GNOME Classic) plugin" "dev-python/pycairo x11-libs/gdk-pixbuf[introspection]"
-	optfeature "Media Player plugin" media-libs/gstreamer[introspection]
-	optfeature "monitoring network status" net-misc/networkmanager
-	optfeature "Popup Notifications plugin" x11-libs/libnotify[introspection]
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-news/liferea/, net-news/liferea/files/
@ 2024-01-30 19:29 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-01-30 19:29 UTC (permalink / raw
  To: gentoo-commits

commit:     9c2d8289bdc0fec7d870d0c28f4e6aef0c1255ff
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Tue Jan 30 18:36:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 19:28:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c2d8289

net-news/liferea: fix build with libxml2-2.12

Closes: https://bugs.gentoo.org/923304
See-Also: https://github.com/lwindolf/liferea/pull/1329
Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../liferea/files/liferea-1.15.5-libxml2.patch     | 28 +++++++++
 net-news/liferea/liferea-1.15.5-r1.ebuild          | 73 ++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/net-news/liferea/files/liferea-1.15.5-libxml2.patch b/net-news/liferea/files/liferea-1.15.5-libxml2.patch
new file mode 100644
index 000000000000..abe1fb137669
--- /dev/null
+++ b/net-news/liferea/files/liferea-1.15.5-libxml2.patch
@@ -0,0 +1,28 @@
+From be8ef494586d9ef73c04ec4ca058a9a158ae3562 Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyich@gmail.com>
+Date: Sun, 31 Dec 2023 22:26:31 +0000
+Subject: [PATCH] src/node_type.h: add `#include <libxml/tree.h>` for
+ `xmlNodePtr` type
+
+Without the change build fails on `libxml2-2.12.3` as:
+
+    ../../src/node_type.h:62:64: error: unknown type name 'xmlNodePtr'; did you mean 'nodePtr'?
+       62 |         void            (*export)               (nodePtr node, xmlNodePtr cur, gboolean trusted);
+          |                                                                ^~~~~~~~~~
+          |                                                                nodePtr
+---
+ src/node_type.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/node_type.h b/src/node_type.h
+index fcd3e7223..a41ff52fc 100644
+--- a/src/node_type.h
++++ b/src/node_type.h
+@@ -23,6 +23,7 @@
+ 
+ #include "node.h"
+ 
++#include <libxml/tree.h>
+ #include <libxml/xmlmemory.h>
+ #include <gtk/gtk.h>
+ 

diff --git a/net-news/liferea/liferea-1.15.5-r1.ebuild b/net-news/liferea/liferea-1.15.5-r1.ebuild
new file mode 100644
index 000000000000..8d08ccd2633b
--- /dev/null
+++ b/net-news/liferea/liferea-1.15.5-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit autotools gnome2-utils optfeature python-single-r1 xdg
+
+DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds"
+HOMEPAGE="https://lzone.de/liferea/"
+SRC_URI="https://github.com/lwindolf/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-db/sqlite:3
+	dev-libs/fribidi
+	dev-libs/glib:2
+	dev-libs/gobject-introspection
+	dev-libs/json-glib
+	dev-libs/libpeas:0[gtk,python,${PYTHON_SINGLE_USEDEP}]
+	dev-libs/libxml2:2
+	dev-libs/libxslt
+	gnome-base/gsettings-desktop-schemas
+	net-libs/libsoup:3.0
+	net-libs/webkit-gtk:4.1=
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/pango"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-util/intltool
+	virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}/${P}-libxml2.patch"
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	econf --disable-static
+}
+
+src_compile() {
+	# Workaround crash in libwebkit2gtk-4.0.so
+	# https://bugs.gentoo.org/704594
+	WEBKIT_DISABLE_COMPOSITING_MODE=1 \
+		default
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	gnome2_schemas_update
+
+	optfeature "Libsecret Support plugin" app-crypt/libsecret[introspection]
+	optfeature "Tray Icon (AppIndicator and GNOME Classic) plugin" \
+		"dev-libs/libayatana-appindicator dev-python/pycairo x11-libs/gdk-pixbuf[introspection]"
+	optfeature "Media Player plugin" media-libs/gstreamer[introspection]
+	optfeature "monitoring network status" net-misc/networkmanager
+	optfeature "Popup Notifications plugin" x11-libs/libnotify[introspection]
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-30 19:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-30 19:29 [gentoo-commits] repo/gentoo:master commit in: net-news/liferea/, net-news/liferea/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2023-09-16 14:10 Matt Turner
2021-05-30 22:13 James Le Cuirot
2017-06-27 12:56 Michael Palimaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox