public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/rssguard/, net-news/rssguard/files/
Date: Wed, 12 Apr 2023 01:50:28 +0000 (UTC)	[thread overview]
Message-ID: <1681263204.b815151fcab1512a689eabc8052621f51d40fc2e.sam@gentoo> (raw)

commit:     b815151fcab1512a689eabc8052621f51d40fc2e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 12 01:33:09 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 12 01:33:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b815151f

net-news/rssguard: fix build w/ gcc 13

Closes: https://bugs.gentoo.org/900244
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-news/rssguard/Manifest                         |  1 +
 net-news/rssguard/files/rssguard-4.3.3-gcc13.patch | 30 ++++++++++
 net-news/rssguard/rssguard-4.3.3.ebuild            | 67 ++++++++++++++++++++++
 3 files changed, 98 insertions(+)

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]
+}


             reply	other threads:[~2023-04-12  1:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12  1:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-16 19:57 [gentoo-commits] repo/gentoo:master commit in: net-news/rssguard/, net-news/rssguard/files/ Sam James
2020-01-05 17:00 Andreas Sturmlechner
2016-10-23 18:07 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1681263204.b815151fcab1512a689eabc8052621f51d40fc2e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox