From fdc0e69ff470f51130dba7c7a539210ceedf9e6d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 30 Jan 2024 23:49:25 +0000 Subject: gentoo auto-resync : 30:01:2024 - 23:49:25 --- net-news/liferea/Manifest | 3 +- .../liferea/files/liferea-1.15.5-libxml2.patch | 28 +++++++++ net-news/liferea/liferea-1.15.5-r1.ebuild | 73 ++++++++++++++++++++++ net-news/liferea/liferea-1.15.5.ebuild | 69 -------------------- 4 files changed, 103 insertions(+), 70 deletions(-) create mode 100644 net-news/liferea/files/liferea-1.15.5-libxml2.patch create mode 100644 net-news/liferea/liferea-1.15.5-r1.ebuild delete mode 100644 net-news/liferea/liferea-1.15.5.ebuild (limited to 'net-news/liferea') diff --git a/net-news/liferea/Manifest b/net-news/liferea/Manifest index 0ff07ca0ad31..fefd579e87dc 100644 --- a/net-news/liferea/Manifest +++ b/net-news/liferea/Manifest @@ -1,5 +1,6 @@ +AUX liferea-1.15.5-libxml2.patch 980 BLAKE2B 432393168bd985a9f15d6943b9384029f77aacf4c9a926cb0be4206f0ffb62f01d7929806e91bf670c063bd236d087bfc8b015c8068465016a425b9f96c3b0e2 SHA512 a4b928be09ab916fc565aa2555b8ce0663a086a4ca805d48573eaaa86c61bb7349b559b4d5dfa619c227141e0a8f81b750da9dbff12da85a4cca8c3fa65f8b78 DIST liferea-1.14.5.tar.gz 1833641 BLAKE2B 5505e33bd113b3ea0bf7582f75aa968de2b4bbbc659f224062d735bb357177a3eec5dca26dbc22151ccb1659e740ce2068ee2933ef82eb2e3c3a96b31528e570 SHA512 866e795e31644a8546d0fd6eae2976e0c031650caf77aa87e90bc17a55f65d2c207bb295649c7b4d318fb0d628f7cae1fc0d563f59260eddfeafbe9c885f3550 DIST liferea-1.15.5.tar.gz 1878299 BLAKE2B e74c67fa1b124dabdd3abec2ecb7d42e9d3f36bdb14c5edc2f645aa9f163c71822f43e0eb44761c4be8e14e39c7cf74218e825a87a20c208601a8dcbf7629ab8 SHA512 7d3ec5dd46ccecc3879adba1daf180b05e043f256694146dad466fd8f0a7c840a4dff39d5facbbd304cbb287578c7a258cf83191dfd726077ac332b1d167db17 EBUILD liferea-1.14.5-r1.ebuild 1693 BLAKE2B 64bb056b8035c1024eb3286834e617fdfad60609894fd8b6625a8e1fecaf7b2676d12f186992ac831ac182c28552cab2b66e5d6f252039166abee9aaeb383aa5 SHA512 48c73b19b6f680ae8152480f03de6b0decc90e47c448b59baffa04eeca4e19ef34b1e2991659b2f3b19349ca020bb70ab08f61e9ea3575effbdd49e7aa9f2dd2 -EBUILD liferea-1.15.5.ebuild 1744 BLAKE2B fb0428570afab184125a730ccd676cf55b3f963d714a3dd88a211dfdd0da9d7c5ae0f5ba4366c23b426c2c958e954269f12d89e52a97d8dd7c99b947d69f85c7 SHA512 7c154c998ed7d893b3a16cd9201e8e9772c759a47c58dd4a9089c3138bdee0074c8d3055865bc95456713647991f56ceabea3333efb255c23b1aa62680241545 +EBUILD liferea-1.15.5-r1.ebuild 1791 BLAKE2B 4693416016eed1fd4749e08dd51238dcc55cfa36df804a57cb095874b7602cac533f787add6f541f28732df895892de4056ce87b5cec3912bb12d9c84d73cb81 SHA512 b034283d69b2e28d8e0d9fc64ef89e5439ff935ef20ed942134a63fa4cad7f059239a779085095b244f14b9c3bc31829b638015990154541db756eba3bf8d3f5 MISC metadata.xml 629 BLAKE2B 88e0018637621448c67f2b514c11f3be85a6f2a4a1a0d7af0df0bea2e2cff8651bf8d064c17c314a31da0090231e35811cd60ad8b2a25175e997dc4a2487ead1 SHA512 ae109cd972bf652d0598b660ef74bba8783d097fe87b1ed5839975c3788a905f1768176ec914b03d6e495c89ccac121ea807fd088f77d7c96e582e175a9aae13 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 +Date: Sun, 31 Dec 2023 22:26:31 +0000 +Subject: [PATCH] src/node_type.h: add `#include ` 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 + #include + #include + 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] +} diff --git a/net-news/liferea/liferea-1.15.5.ebuild b/net-news/liferea/liferea-1.15.5.ebuild deleted file mode 100644 index b572cce73882..000000000000 --- a/net-news/liferea/liferea-1.15.5.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2023 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" - -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] -} -- cgit v1.2.3