summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-12 02:33:09 +0100
committerSam James <sam@gentoo.org>2023-04-12 02:33:24 +0100
commitb815151fcab1512a689eabc8052621f51d40fc2e (patch)
tree5bb00a77731afc1a4f062aab4d5f9e89d5c4d9b2 /net-news
parentnet-irc/irssi: fix copyright year (diff)
downloadgentoo-b815151fcab1512a689eabc8052621f51d40fc2e.tar.gz
gentoo-b815151fcab1512a689eabc8052621f51d40fc2e.tar.bz2
gentoo-b815151fcab1512a689eabc8052621f51d40fc2e.zip
net-news/rssguard: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/900244 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-news')
-rw-r--r--net-news/rssguard/Manifest1
-rw-r--r--net-news/rssguard/files/rssguard-4.3.3-gcc13.patch30
-rw-r--r--net-news/rssguard/rssguard-4.3.3.ebuild67
3 files changed, 98 insertions, 0 deletions
diff --git a/net-news/rssguard/Manifest b/net-news/rssguard/Manifest
index 6ab835c03a2a..0021cb5e3a05 100644
--- a/net-news/rssguard/Manifest
+++ b/net-news/rssguard/Manifest
@@ -1,3 +1,4 @@
DIST rssguard-4.2.5.tar.gz 22004006 BLAKE2B dc8dea6956a0d538cec5759e94246fc6f5314e6a5fd1ff4315cbf626568d8c817a6a4c378ca9275156d55f88e304d7db8afb0be952c68efef5acb8c8ba0f0a24 SHA512 2fc2a08226d41567db4758aaddeb533e6a4e96923b4df663080dd83dee3bae587ea6a8d06eb26788173c34b11f92859547bacc26465cdfbf2a9297de910c5b98
DIST rssguard-4.2.7.tar.gz 22029315 BLAKE2B d57fe65c064dcf1ab4b1d6edac127c20a4b0ac0af17bd2b2abe3fc285ab43dd4212c1ec01e97ba8326879df2fb56dfe1046ab02008ae044ab5353ffe3a67542b SHA512 5b50609ebf24d6fe8a494b53aefa0c4a5831461e16157813049f5086c0258e880777d8e4bc8ebe48ac3cb57f858b8630263aa6417d7f8bd6885bbea1e7bf2e32
DIST rssguard-4.3.2.tar.gz 22077903 BLAKE2B ebab3bb4e16dc4d93d8664342af200f063acd571024cbb46b829d54da0cbc08580dedafb401a091c461f20b5ba5d1eaa758a27457d11dfd988af6df83f7a3595 SHA512 ec12df79d59963b2c8dbfeac3a73c7c67550bc64464728aae462895bcb61400ae5de945cd43b912f13f142d1ed6e8e4de8b0f640683db093a22dc800d55a203a
+DIST rssguard-4.3.3.tar.gz 22087207 BLAKE2B 9f556b07100ad00e16afbbcea350d6cae751ec8ee4f10de4f0c4550bf76dcff560c7a3c78703916503f4ad9a02fcd60ea43eb9b1db6a9c29bda64d1de9a9bd26 SHA512 79394e6bea838292c0cadea65dbdfa0241527a89ab6e2abdc6d31993a59876a431a887a2a5173eacbafb180f0289f29d8182adb1cf8e8fca82266e2ed6c31500
diff --git a/net-news/rssguard/files/rssguard-4.3.3-gcc13.patch b/net-news/rssguard/files/rssguard-4.3.3-gcc13.patch
new file mode 100644
index 000000000000..ce7e26048387
--- /dev/null
+++ b/net-news/rssguard/files/rssguard-4.3.3-gcc13.patch
@@ -0,0 +1,30 @@
+https://github.com/martinrotter/rssguard/issues/911
+https://github.com/martinrotter/rssguard/commit/9de62b46ed65ad32ceab7d93d7b110ddf50e78cc
+https://bugs.gentoo.org/900244
+
+From 9de62b46ed65ad32ceab7d93d7b110ddf50e78cc Mon Sep 17 00:00:00 2001
+From: Martin Rotter <rotter.martinos@gmail.com>
+Date: Tue, 4 Apr 2023 15:35:58 +0200
+Subject: [PATCH] fix #911
+
+--- a/src/librssguard/3rd-party/mimesis/quoted-printable.cpp
++++ b/src/librssguard/3rd-party/mimesis/quoted-printable.cpp
+@@ -19,6 +19,8 @@
+
+ #include "quoted-printable.hpp"
+
++#include <cstdint>
++
+ using namespace std;
+
+ string quoted_printable_decode(string_view in) {
+--- a/src/librssguard/services/standard/gui/formstandardfeeddetails.cpp
++++ b/src/librssguard/services/standard/gui/formstandardfeeddetails.cpp
+@@ -20,7 +20,6 @@
+
+ #include <QFileDialog>
+ #include <QNetworkCookie>
+-#include <QTextCodec>
+
+ FormStandardFeedDetails::FormStandardFeedDetails(ServiceRoot* service_root,
+ RootItem* parent_to_select,
diff --git a/net-news/rssguard/rssguard-4.3.3.ebuild b/net-news/rssguard/rssguard-4.3.3.ebuild
new file mode 100644
index 000000000000..b93ff67f4274
--- /dev/null
+++ b/net-news/rssguard/rssguard-4.3.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake optfeature xdg
+
+DESCRIPTION="Simple (yet powerful) feed reader"
+HOMEPAGE="https://github.com/martinrotter/rssguard"
+SRC_URI="https://github.com/martinrotter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( LGPL-3 GPL-2+ ) AGPL-3+ BSD GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="mysql qt6 +sqlite webengine"
+REQUIRED_USE="|| ( mysql sqlite )"
+
+BDEPEND="
+ !qt6? ( dev-qt/linguist-tools:5 )
+ qt6? ( dev-qt/qttools:6[linguist] )
+"
+DEPEND="
+ !qt6? (
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5[gstreamer]
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtsql:5[mysql?,sqlite?]
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ webengine? ( dev-qt/qtwebengine:5[widgets(+)] )
+ )
+ qt6? (
+ dev-qt/qtbase:6[concurrent,dbus,gui,mysql?,network,sql,sqlite?,ssl,widgets]
+ dev-qt/qtdeclarative:6
+ dev-qt/qtmultimedia:6[gstreamer]
+ dev-qt/qt5compat:6
+ media-libs/libglvnd
+ webengine? ( dev-qt/qtwebengine:6[widgets(+)] )
+ )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md resources/docs/Documentation.md )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.3.3-gcc13.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_WITH_QT6=$(usex qt6)
+ -DUSE_WEBENGINE=$(usex webengine)
+ -DNO_UPDATE_CHECK=ON
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature "ad blocking functionality" net-libs/nodejs[npm]
+}