From nobody Fri Dec 03 18:11:09 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AF97018B5989; Fri, 3 Dec 2021 18:11:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J5LVP34MQz3Gy5; Fri, 3 Dec 2021 18:11:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 49F73152F5; Fri, 3 Dec 2021 18:11:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B3IB9CK047370; Fri, 3 Dec 2021 18:11:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B3IB9Xo047369; Fri, 3 Dec 2021 18:11:09 GMT (envelope-from git) Date: Fri, 3 Dec 2021 18:11:09 GMT Message-Id: <202112031811.1B3IB9Xo047369@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 85b9b42736e0 - main - net/rssguard: the port had been updated to version 4.0.4 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 85b9b42736e0c287c8e252b9a9fe474c3bb9f19d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638555069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bimC/s0j9Ov4/Ue/M784aDUR8Z7GpsY99Vkt9lZI9I8=; b=oZR+//TSayWVba8Qe2pH1Qj7ganvpwbh8HdX4DOADfikZLVWEhC7tDh4TBtMaJfcnW9VKR BmavZ1oJkdAMWF5KqW5upX7IMZEj4MVWb1h0SbuyQ1RvpXpElqkX2xUsrLD0yCs2Xkh7lF pc4S/eVWniCu5rjgNUZkkUYwkCRBGjhW6Yusvyepjl7AOVrW6yPWy2udvchgI68tr4ms3A JJs0O8JVFxzFZj8iWCO3j8NrO/FQsbaeT0aUqcpvruFMrOWvCkEBWbfQOejDVHMWhS4Af2 sJlZ+OtTu+s9fuYXfc6iw3dOCBpGw8fGaO6cJT/7BDx0qsAuUPVCGoPI1Zi/pg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638555069; a=rsa-sha256; cv=none; b=aYlb0guHU9Mcq7w1OFrn1ij7186nWA07zknV3/hz+IIAb9TMZSzsThZE6yfE3DVxJtRF5G XDLXoNiUL1UQFd8RdfMjaBGJ1y6mLo6lLrNcDHpehKsmCR9Q7/J4PcJGSVdzOFBp0Wy5l/ nym3zrPAGtV2jXHcdHNcUR7VOxirZHHG9PuY8s6ptAENETZhy/eaafk9rq7C+9zScrKfcw YAifRPyXpKIFbOlHCGVZs0z4rGVappSmWG1UzA22zE0FN1KRt42YXaONvC3rNQxqP11qUO V1k2cskfBVir3okNDe/4fz4A7N96AH5gLBj9BTuk//YzEl26eEqmVjPJeT+BLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=85b9b42736e0c287c8e252b9a9fe474c3bb9f19d commit 85b9b42736e0c287c8e252b9a9fe474c3bb9f19d Author: Alexey Dokuchaev AuthorDate: 2021-12-03 18:09:42 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-12-03 18:09:43 +0000 net/rssguard: the port had been updated to version 4.0.4 Switch from using QMediaPlayer to QSoundEffect class for notification sounds, as the former requires `multimedia/qt5-multimedia' port built with GStreamer support (which is optional, albeit enabled by default). Add some more nice details about this program to the port description. --- net/rssguard/Makefile | 4 +- net/rssguard/distinfo | 6 +-- ...-src_librssguard_miscellaneous_notification.cpp | 44 ++++++++++++++++++++++ net/rssguard/pkg-descr | 4 ++ 4 files changed, 54 insertions(+), 4 deletions(-) diff --git a/net/rssguard/Makefile b/net/rssguard/Makefile index 2b0a3db9dc55..48d13f3fdfca 100644 --- a/net/rssguard/Makefile +++ b/net/rssguard/Makefile @@ -1,7 +1,7 @@ # Created by: Alexey Dokuchaev PORTNAME= rssguard -PORTVERSION= 4.0.1 +PORTVERSION= 4.0.4 CATEGORIES= net www MAINTAINER= danfe@FreeBSD.org @@ -38,3 +38,5 @@ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librssguard.so .include + +PATCH_ARGS+= -l diff --git a/net/rssguard/distinfo b/net/rssguard/distinfo index 5f0002d936e2..c16dfc5d491a 100644 --- a/net/rssguard/distinfo +++ b/net/rssguard/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1630670274 -SHA256 (martinrotter-rssguard-4.0.1_GH0.tar.gz) = 658ed9f63d2e3d1b740c8c65e649b28de350f64670c85e954a093345e313a500 -SIZE (martinrotter-rssguard-4.0.1_GH0.tar.gz) = 14417555 +TIMESTAMP = 1634296436 +SHA256 (martinrotter-rssguard-4.0.4_GH0.tar.gz) = 9154a9c674b35f68486ca7e024265e044b7c7971485bafbe9b6ebbdf27463489 +SIZE (martinrotter-rssguard-4.0.4_GH0.tar.gz) = 14433147 diff --git a/net/rssguard/files/patch-src_librssguard_miscellaneous_notification.cpp b/net/rssguard/files/patch-src_librssguard_miscellaneous_notification.cpp new file mode 100644 index 000000000000..afee28e7c4a5 --- /dev/null +++ b/net/rssguard/files/patch-src_librssguard_miscellaneous_notification.cpp @@ -0,0 +1,44 @@ +--- src/librssguard/miscellaneous/notification.cpp.orig 2021-10-15 11:13:56 UTC ++++ src/librssguard/miscellaneous/notification.cpp +@@ -7,7 +7,7 @@ + #include + + #if !defined(Q_OS_OS2) +-#include ++#include + #endif + + Notification::Notification(Notification::Event event, bool balloon, const QString& sound_path, int volume) +@@ -32,25 +32,25 @@ void Notification::setSoundPath(const QString& sound_p + void Notification::playSound(Application* app) const { + if (!m_soundPath.isEmpty()) { + #if !defined(Q_OS_OS2) +- QMediaPlayer* play = new QMediaPlayer(app); ++ QSoundEffect* play = new QSoundEffect(app); + +- QObject::connect(play, &QMediaPlayer::stateChanged, play, [play](QMediaPlayer::State state) { +- if (state == QMediaPlayer::State::StoppedState) { ++ QObject::connect(play, &QSoundEffect::playingChanged, play, [play]() { ++ if (!play->isPlaying()) { + play->deleteLater(); + } + }); + + if (m_soundPath.startsWith(QSL(":"))) { +- play->setMedia(QMediaContent(QUrl(QSL("qrc") + m_soundPath))); ++ play->setSource(QUrl(QSL("qrc") + m_soundPath)); + + } + else { +- play->setMedia(QMediaContent( ++ play->setSource( + QUrl::fromLocalFile( +- QDir::toNativeSeparators(app->replaceDataUserDataFolderPlaceholder(m_soundPath))))); ++ QDir::toNativeSeparators(app->replaceDataUserDataFolderPlaceholder(m_soundPath)))); + } + +- play->setVolume(m_volume); ++ play->setVolume(static_cast(m_volume) / 100); + play->play(); + #endif + } diff --git a/net/rssguard/pkg-descr b/net/rssguard/pkg-descr index 641001112197..13703bea2c70 100644 --- a/net/rssguard/pkg-descr +++ b/net/rssguard/pkg-descr @@ -3,4 +3,8 @@ developed using Qt framework which supports online feed synchronization with various services, e.g. Bazqux, Feedly, FreshRSS, Gmail, Google Reader, Inoreader, Nextcloud News, Reedah, Tiny Tiny RSS. +In contrast with many other RSS readers, heavy WebKit/WebEngine dependency +is optional for RSS Guard: when built without it, simple text component is +used and some features will be disabled. + WWW: https://github.com/martinrotter/rssguard