From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CEA53158528 for ; Tue, 30 Jan 2024 19:29:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39094E2B7A; Tue, 30 Jan 2024 19:29:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 183CEE2B7A for ; Tue, 30 Jan 2024 19:29:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 09C503430EA for ; Tue, 30 Jan 2024 19:29:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CDB714B6 for ; Tue, 30 Jan 2024 19:29:04 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1706642884.9c2d8289bdc0fec7d870d0c28f4e6aef0c1255ff.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/liferea/, net-news/liferea/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-news/liferea/files/liferea-1.15.5-libxml2.patch net-news/liferea/liferea-1.15.5-r1.ebuild X-VCS-Directories: net-news/liferea/files/ net-news/liferea/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9c2d8289bdc0fec7d870d0c28f4e6aef0c1255ff X-VCS-Branch: master Date: Tue, 30 Jan 2024 19:29:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e5d7edcd-e1b6-415d-bb93-0c6c382fdd10 X-Archives-Hash: 74c74c7f8aac8e48b61f86281771615e commit: 9c2d8289bdc0fec7d870d0c28f4e6aef0c1255ff Author: Yuri Konotopov gnome org> AuthorDate: Tue Jan 30 18:36:29 2024 +0000 Commit: Sam James gentoo 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 gnome.org> Signed-off-by: Sam James 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 +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] +}