public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseeffects/files/, media-sound/pulseeffects/
@ 2020-05-26 16:03 Matthew Thode
  0 siblings, 0 replies; 5+ messages in thread
From: Matthew Thode @ 2020-05-26 16:03 UTC (permalink / raw
  To: gentoo-commits

commit:     3903f6c85e4f549eb58b1c801cb1de26aacec456
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue May 26 16:03:05 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue May 26 16:03:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3903f6c8

media-sound/pulseeffects: fix gcc10 builds

Closes: https://bugs.gentoo.org/725478
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --force
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 .../pulseeffects/files/patch-4.7.2-gcc10.patch     | 32 ++++++++++++++++++++++
 media-sound/pulseeffects/metadata.xml              |  5 ----
 ...s-4.7.2.ebuild => pulseeffects-4.7.2-r1.ebuild} |  4 +++
 3 files changed, 36 insertions(+), 5 deletions(-)

diff --git a/media-sound/pulseeffects/files/patch-4.7.2-gcc10.patch b/media-sound/pulseeffects/files/patch-4.7.2-gcc10.patch
new file mode 100644
index 00000000000..fb8080dd823
--- /dev/null
+++ b/media-sound/pulseeffects/files/patch-4.7.2-gcc10.patch
@@ -0,0 +1,32 @@
+From dbaea05da683f7bfcd7960c88b1b7d13379435c0 Mon Sep 17 00:00:00 2001
+From: Vasiliy Glazov <vascom2@gmail.com>
+Date: Tue, 24 Mar 2020 10:54:09 +0300
+Subject: [PATCH] Fix build with GCC 10
+
+This fix build error:
+```
+../include/plugin_base.hpp:10:25: error: expected ')' before 'tag'
+   10 |   PluginBase(std::string tag, std::string plugin_name, const std::string& schema);
+      |             ~           ^~~~
+      |                         )
+../include/plugin_base.hpp:17:8: error: 'string' in namespace 'std' does not name a type
+   17 |   std::string log_tag, name;
+      |        ^~~~~~
+../include/plugin_base.hpp:7:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'?
+```
+---
+ include/plugin_base.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/plugin_base.hpp b/include/plugin_base.hpp
+index a2356fbf..79fd5452 100644
+--- a/include/plugin_base.hpp
++++ b/include/plugin_base.hpp
+@@ -4,6 +4,7 @@
+ #include <gio/gio.h>
+ #include <gst/gst.h>
+ #include <sigc++/sigc++.h>
++#include <string>
+ 
+ class PluginBase {
+  public:

diff --git a/media-sound/pulseeffects/metadata.xml b/media-sound/pulseeffects/metadata.xml
index e771c241114..c0da3601cd3 100644
--- a/media-sound/pulseeffects/metadata.xml
+++ b/media-sound/pulseeffects/metadata.xml
@@ -5,11 +5,6 @@
 		<email>prometheanfire@gentoo.org</email>
 		<name>Matthew Thode</name>
 	</maintainer>
-	<maintainer type="person">
-		<email>jpizarrocallejas@gmail.com</email>
-		<name>Jorge Pizarro Callejas</name>
-		<description>Jorgicio Gentoo Overlay</description>
-	</maintainer>
 	<use>
 		<flag name="bs2b">Enable use of media-libs/libbs2b</flag>
 		<flag name="calf">Enable use of media-plugins/calf for adding various FX</flag>

diff --git a/media-sound/pulseeffects/pulseeffects-4.7.2.ebuild b/media-sound/pulseeffects/pulseeffects-4.7.2-r1.ebuild
similarity index 97%
rename from media-sound/pulseeffects/pulseeffects-4.7.2.ebuild
rename to media-sound/pulseeffects/pulseeffects-4.7.2-r1.ebuild
index 112dd9a4736..b12d12b7438 100644
--- a/media-sound/pulseeffects/pulseeffects-4.7.2.ebuild
+++ b/media-sound/pulseeffects/pulseeffects-4.7.2-r1.ebuild
@@ -59,6 +59,10 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+PATCHES=(
+	"${FILESDIR}/patch-4.7.2-gcc10.patch"
+)
+
 pkg_postinst() {
 	gnome2_gconf_install
 	gnome2_schemas_update


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseeffects/files/, media-sound/pulseeffects/
@ 2022-05-15 21:01 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-05-15 21:01 UTC (permalink / raw
  To: gentoo-commits

commit:     efcf421ff9e351b8003a1ca60d107b766f099461
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 20:59:48 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 15 21:00:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efcf421f

media-sound/pulseeffects: fix build with Boost 1.79

Closes: https://bugs.gentoo.org/844898
Thanks-to: Sven Hesse <drmccoy <AT> drmccoy.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/pulseeffects-4.8.6-boost_1.79.patch      | 25 ++++++++++++++++++++++
 media-sound/pulseeffects/pulseeffects-4.8.6.ebuild |  1 +
 2 files changed, 26 insertions(+)

diff --git a/media-sound/pulseeffects/files/pulseeffects-4.8.6-boost_1.79.patch b/media-sound/pulseeffects/files/pulseeffects-4.8.6-boost_1.79.patch
new file mode 100644
index 000000000000..825aaca32822
--- /dev/null
+++ b/media-sound/pulseeffects/files/pulseeffects-4.8.6-boost_1.79.patch
@@ -0,0 +1,25 @@
+https://bugs.gentoo.org/844898
+https://github.com/wwmm/easyeffects/commit/1000de1c27f422fb2fd6106c554844e9d81925cf
+
+From: Sven Hesse <drmccoy@drmccoy.de>
+Date: Sun, 15 May 2022 19:04:32 +0200
+Subject: [PATCH] fix compilation with Boost 1.79.0
+
+Boost.Filesystem in Boost 1.79.0 changed the already-deprecated header
+of string_file.hpp to be not included by default anymore in its commit
+266e1ac892a6f54d807fb35bf639a9aa1c8b2db1.
+
+Boost.Filesystem's fstream.hpp was never included directly by default,
+but string_file.hpp did include it, so this code here in PulseEffects
+worked. With Boost 1.79.0, though, it explodes in lin 179.
+--- a/src/general_settings_ui.cpp
++++ b/src/general_settings_ui.cpp
+@@ -21,6 +21,7 @@
+ #include <giomm/file.h>
+ #include <glibmm.h>
+ #include <boost/filesystem.hpp>
++#include <boost/filesystem/fstream.hpp>
+ #include "util.hpp"
+ 
+ namespace {
+

diff --git a/media-sound/pulseeffects/pulseeffects-4.8.6.ebuild b/media-sound/pulseeffects/pulseeffects-4.8.6.ebuild
index bf1d9aac8112..cb43e0354667 100644
--- a/media-sound/pulseeffects/pulseeffects-4.8.6.ebuild
+++ b/media-sound/pulseeffects/pulseeffects-4.8.6.ebuild
@@ -61,6 +61,7 @@ BDEPEND="dev-libs/appstream-glib
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-4.8.6-meson_no_automagic.patch
+	"${FILESDIR}"/${P}-boost_1.79.patch
 )
 
 S="${WORKDIR}"/easyeffects-${PV}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseeffects/files/, media-sound/pulseeffects/
@ 2022-05-29  8:34 Marek Szuba
  0 siblings, 0 replies; 5+ messages in thread
From: Marek Szuba @ 2022-05-29  8:34 UTC (permalink / raw
  To: gentoo-commits

commit:     e9c4afad694eee15831bc4f6044c5b4025122f8e
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun May 29 08:33:06 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun May 29 08:34:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c4afad

media-sound/pulseeffects: add 4.8.7, drop 4.8.6

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-sound/pulseeffects/Manifest                  |  2 +-
 .../files/pulseeffects-4.8.6-boost_1.79.patch      | 25 ----------------------
 ...=> pulseeffects-4.8.7-meson_no_automagic.patch} |  2 +-
 ...ects-4.8.6.ebuild => pulseeffects-4.8.7.ebuild} |  3 +--
 4 files changed, 3 insertions(+), 29 deletions(-)

diff --git a/media-sound/pulseeffects/Manifest b/media-sound/pulseeffects/Manifest
index bec4c1ae85c0..75ee9516f875 100644
--- a/media-sound/pulseeffects/Manifest
+++ b/media-sound/pulseeffects/Manifest
@@ -1,2 +1,2 @@
 DIST pulseeffects-4.8.5.tar.gz 2028531 BLAKE2B 0ba68c90d4eb25e3b22c4f39f989bef428c970f0dcfa0b301c500928f835d76c31cd1d7692d1a853b3121d4e8fbee8102c1f538b06cb15933509719a6da5d8a0 SHA512 b72f4d5356af1308d997f01ac2efc5eefb569e9a1253f0a19918aec5f9c2d386ab5c293a5aa6a28e8d15200289f32d34c8f3d524bc50874c750afdee61bc0820
-DIST pulseeffects-4.8.6.tar.gz 2028485 BLAKE2B bf50c72773670ec9b8fd1f21b927b23f6656a2de6c86fc0b68a8fb199a2c949146d1c550f6ce291ca713edb5d0f2a034cf5cae6f3d266c4ef0f541c5f247e422 SHA512 37ad97e7234e9dae0f3be910b35b2dfed94f593c39e59b9977e31c95108e7edede4104cc5fe32292e617f119898c4bad4e9fd5afdfb9aaaa134f5cb78fc5fa0f
+DIST pulseeffects-4.8.7.tar.gz 2028489 BLAKE2B 705783104c7ce3f4ff1246cf05c1a31c09ef0507a720365b9a8914e6e076a209dcc56e240ae2de1981f3ab377f10947d08260fe8ae8b3cae5724db1235a0c01c SHA512 0fa679723ba76ab0a0cf3136dfa66fec09b16643f3f4f7bd1bb2826794d907c5c29a2fc7633e30d3542ddf755c842fdaa167528942fe459e3e697ac3524c0cb9

diff --git a/media-sound/pulseeffects/files/pulseeffects-4.8.6-boost_1.79.patch b/media-sound/pulseeffects/files/pulseeffects-4.8.6-boost_1.79.patch
deleted file mode 100644
index 825aaca32822..000000000000
--- a/media-sound/pulseeffects/files/pulseeffects-4.8.6-boost_1.79.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://bugs.gentoo.org/844898
-https://github.com/wwmm/easyeffects/commit/1000de1c27f422fb2fd6106c554844e9d81925cf
-
-From: Sven Hesse <drmccoy@drmccoy.de>
-Date: Sun, 15 May 2022 19:04:32 +0200
-Subject: [PATCH] fix compilation with Boost 1.79.0
-
-Boost.Filesystem in Boost 1.79.0 changed the already-deprecated header
-of string_file.hpp to be not included by default anymore in its commit
-266e1ac892a6f54d807fb35bf639a9aa1c8b2db1.
-
-Boost.Filesystem's fstream.hpp was never included directly by default,
-but string_file.hpp did include it, so this code here in PulseEffects
-worked. With Boost 1.79.0, though, it explodes in lin 179.
---- a/src/general_settings_ui.cpp
-+++ b/src/general_settings_ui.cpp
-@@ -21,6 +21,7 @@
- #include <giomm/file.h>
- #include <glibmm.h>
- #include <boost/filesystem.hpp>
-+#include <boost/filesystem/fstream.hpp>
- #include "util.hpp"
- 
- namespace {
-

diff --git a/media-sound/pulseeffects/files/pulseeffects-4.8.6-meson_no_automagic.patch b/media-sound/pulseeffects/files/pulseeffects-4.8.7-meson_no_automagic.patch
similarity index 98%
rename from media-sound/pulseeffects/files/pulseeffects-4.8.6-meson_no_automagic.patch
rename to media-sound/pulseeffects/files/pulseeffects-4.8.7-meson_no_automagic.patch
index 0288fab2987d..7d29270ce54e 100644
--- a/media-sound/pulseeffects/files/pulseeffects-4.8.6-meson_no_automagic.patch
+++ b/media-sound/pulseeffects/files/pulseeffects-4.8.7-meson_no_automagic.patch
@@ -3,7 +3,7 @@
 @@ -4,7 +4,7 @@
  	'cpp',
  	default_options : ['cpp_std=c++17','buildtype=debugoptimized'],
- 	version: '4.8.6',
+ 	version: '4.8.7',
 -	meson_version: '>= 0.40.0'
 +	meson_version: '>= 0.47.0'
  )

diff --git a/media-sound/pulseeffects/pulseeffects-4.8.6.ebuild b/media-sound/pulseeffects/pulseeffects-4.8.7.ebuild
similarity index 96%
rename from media-sound/pulseeffects/pulseeffects-4.8.6.ebuild
rename to media-sound/pulseeffects/pulseeffects-4.8.7.ebuild
index cb43e0354667..9d5f05ab09b9 100644
--- a/media-sound/pulseeffects/pulseeffects-4.8.6.ebuild
+++ b/media-sound/pulseeffects/pulseeffects-4.8.7.ebuild
@@ -60,8 +60,7 @@ BDEPEND="dev-libs/appstream-glib
 	virtual/pkgconfig"
 
 PATCHES=(
-	"${FILESDIR}"/${PN}-4.8.6-meson_no_automagic.patch
-	"${FILESDIR}"/${P}-boost_1.79.patch
+	"${FILESDIR}"/${PN}-4.8.7-meson_no_automagic.patch
 )
 
 S="${WORKDIR}"/easyeffects-${PV}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseeffects/files/, media-sound/pulseeffects/
@ 2022-06-05 19:21 Marek Szuba
  0 siblings, 0 replies; 5+ messages in thread
From: Marek Szuba @ 2022-06-05 19:21 UTC (permalink / raw
  To: gentoo-commits

commit:     b8a4214c8e6c84c3087b8b67043e6fe49753d3f1
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  5 19:20:38 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 19:20:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a4214c

media-sound/pulseeffects: drop 4.8.5-r1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-sound/pulseeffects/Manifest                  |  1 -
 .../pulseeffects-4.8.5-meson_no_automagic.patch    | 55 --------------
 .../pulseeffects/pulseeffects-4.8.5-r1.ebuild      | 84 ----------------------
 3 files changed, 140 deletions(-)

diff --git a/media-sound/pulseeffects/Manifest b/media-sound/pulseeffects/Manifest
index 75ee9516f875..d83abb7279f8 100644
--- a/media-sound/pulseeffects/Manifest
+++ b/media-sound/pulseeffects/Manifest
@@ -1,2 +1 @@
-DIST pulseeffects-4.8.5.tar.gz 2028531 BLAKE2B 0ba68c90d4eb25e3b22c4f39f989bef428c970f0dcfa0b301c500928f835d76c31cd1d7692d1a853b3121d4e8fbee8102c1f538b06cb15933509719a6da5d8a0 SHA512 b72f4d5356af1308d997f01ac2efc5eefb569e9a1253f0a19918aec5f9c2d386ab5c293a5aa6a28e8d15200289f32d34c8f3d524bc50874c750afdee61bc0820
 DIST pulseeffects-4.8.7.tar.gz 2028489 BLAKE2B 705783104c7ce3f4ff1246cf05c1a31c09ef0507a720365b9a8914e6e076a209dcc56e240ae2de1981f3ab377f10947d08260fe8ae8b3cae5724db1235a0c01c SHA512 0fa679723ba76ab0a0cf3136dfa66fec09b16643f3f4f7bd1bb2826794d907c5c29a2fc7633e30d3542ddf755c842fdaa167528942fe459e3e697ac3524c0cb9

diff --git a/media-sound/pulseeffects/files/pulseeffects-4.8.5-meson_no_automagic.patch b/media-sound/pulseeffects/files/pulseeffects-4.8.5-meson_no_automagic.patch
deleted file mode 100644
index 2ad89e629771..000000000000
--- a/media-sound/pulseeffects/files/pulseeffects-4.8.5-meson_no_automagic.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- a/meson.build
-+++ b/meson.build
-@@ -4,7 +4,7 @@
- 	'cpp',
- 	default_options : ['cpp_std=c++17','buildtype=debugoptimized'],
- 	version: '4.8.5',
--	meson_version: '>= 0.40.0'
-+	meson_version: '>= 0.47.0'
- )
- 
- add_global_arguments('-DG_LOG_DOMAIN="pulseeffects"', language : 'c')
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -0,0 +1,12 @@
-+option(
-+        'bs2b',
-+        type: 'feature',
-+        value: 'auto',
-+        description: 'Enable bs2b-based Crossfeed plug-in for improving headphone listening of stereo audio records'
-+)
-+option(
-+        'rnnoise',
-+        type: 'feature',
-+        value: 'auto',
-+        description: 'Enable rnnoise-based Noise Reduction plug-in'
-+)
---- a/src/meson.build
-+++ b/src/meson.build
-@@ -108,7 +108,7 @@
- 	dependency('gstreamer-plugins-bad-1.0', version: '>=1.12.5'),
- 	dependency('gstreamer-fft-1.0'),
- 	dependency('lilv-0', version: '>=0.22', required: false),
--	dependency('libbs2b', required: false),
-+	dependency('libbs2b', required: get_option('bs2b')),
- 	dependency('boost', version: '>=1.72', modules:['system','filesystem']),
- 	dependency('sndfile'),
- 	dependency('threads')
---- a/src/rnnoise/meson.build
-+++ b/src/rnnoise/meson.build
-@@ -1,4 +1,5 @@
--dep_rnnoise = dependency('rnnoise', required: false)
-+opt_rnnoise = get_option('rnnoise')
-+dep_rnnoise = dependency('rnnoise', required: opt_rnnoise)
- 
- if dep_rnnoise.found()
- 
-@@ -28,7 +29,7 @@
-   	cpp_args: plugins_cxx_args
- )
- 
--else
-+elif opt_rnnoise.auto()
- 
- message('could not find the RNNoise library')
- 

diff --git a/media-sound/pulseeffects/pulseeffects-4.8.5-r1.ebuild b/media-sound/pulseeffects/pulseeffects-4.8.5-r1.ebuild
deleted file mode 100644
index 9ca5a1a00987..000000000000
--- a/media-sound/pulseeffects/pulseeffects-4.8.5-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit gnome2-utils meson
-
-DESCRIPTION="Limiter, compressor, reverberation, equalizer auto volume effects for Pulseaudio"
-HOMEPAGE="https://github.com/wwmm/easyeffects/tree/pulseaudio-legacy"
-
-if [[ ${PV} == *9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/wwmm/easyeffects"
-	EGIT_BRANCH="pulseaudio-legacy"
-else
-	SRC_URI="https://github.com/wwmm/easyeffects/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="amd64 x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="bs2b calf +doc rnnoise rubberband webrtc zamaudio"
-
-DEPEND=">=dev-libs/boost-1.72:=
-	>=dev-cpp/glibmm-2.56.0:2
-	>=dev-cpp/gtkmm-3.24:3.0
-	>=dev-libs/glib-2.56:2
-	>=dev-libs/libsigc++-2.10:2
-	>=media-libs/gstreamer-1.12.5:1.0
-	media-libs/gst-plugins-base
-	>=media-libs/gst-plugins-bad-1.12.5:1.0
-	media-libs/libebur128
-	media-libs/libsndfile
-	>=media-libs/lilv-0.24.2-r1
-	>=media-libs/zita-convolver-3.0.0
-	media-sound/pulseaudio
-	>=x11-libs/gtk+-3.20:3
-	bs2b? ( >=media-plugins/gst-plugins-bs2b-1.12.5:1.0 )
-	rnnoise? ( media-libs/rnnoise )"
-RDEPEND="!media-sound/easyeffects
-	${DEPEND}
-	>=media-libs/gst-plugins-good-1.12.5:1.0
-	>=media-libs/lsp-plugins-1.1.24[lv2]
-	>=media-plugins/gst-plugins-ladspa-1.12.5:1.0
-	>=media-plugins/gst-plugins-lv2-1.12.5:1.0
-	>=media-plugins/gst-plugins-pulse-1.12.5:1.0
-	sys-apps/dbus
-	calf? ( >=media-plugins/calf-0.90.1[lv2] )
-	doc? ( gnome-extra/yelp )
-	rubberband? ( media-libs/rubberband[ladspa] )
-	webrtc? ( media-plugins/gst-plugins-webrtc )
-	zamaudio? ( media-plugins/zam-plugins )"
-# Only header files are used from libsamplerate so put it here rather than DEPEND
-# to avoid unnecessary cross-compilation.
-BDEPEND="dev-libs/appstream-glib
-	dev-util/desktop-file-utils
-	dev-util/itstool
-	media-libs/libsamplerate
-	sys-devel/gettext
-	virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-4.8.5-meson_no_automagic.patch
-)
-
-src_configure() {
-	local emesonargs=(
-		$(meson_feature bs2b)
-		$(meson_feature rnnoise)
-	)
-	meson_src_configure
-}
-
-pkg_postinst() {
-	gnome2_gconf_install
-	gnome2_schemas_update
-	xdg_icon_cache_update
-}
-
-pkg_postrm() {
-	gnome2_gconf_uninstall
-	gnome2_schemas_update
-	xdg_icon_cache_update
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseeffects/files/, media-sound/pulseeffects/
@ 2025-07-23  3:47 Matthew Thode
  0 siblings, 0 replies; 5+ messages in thread
From: Matthew Thode @ 2025-07-23  3:47 UTC (permalink / raw
  To: gentoo-commits

commit:     1b71fd07ee576e2b9568c7283b8c0d40bbf84a24
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 23 03:46:20 2025 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 03:47:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b71fd07

media-sound/pulseeffects: boost-1.88 support

Closes: https://bugs.gentoo.org/958315

Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 .../files/pulseeffects-4.8.7-boost-1.88.patch      | 61 +++++++++++++++
 .../pulseeffects/pulseeffects-4.8.7-r1.ebuild      | 88 ++++++++++++++++++++++
 2 files changed, 149 insertions(+)

diff --git a/media-sound/pulseeffects/files/pulseeffects-4.8.7-boost-1.88.patch b/media-sound/pulseeffects/files/pulseeffects-4.8.7-boost-1.88.patch
new file mode 100644
index 000000000000..3e9fbcd9e96a
--- /dev/null
+++ b/media-sound/pulseeffects/files/pulseeffects-4.8.7-boost-1.88.patch
@@ -0,0 +1,61 @@
+commit a948473b7e4b306565e58b89543f40ef8b4d9a7d
+Author: Bruce Schultz <brulzki@gmail.com>
+Date:   Sat Jun 21 20:15:26 2025 +1000
+
+    Fix Boost 1.88 compilation with boost::process::v1
+
+diff --git a/include/boost_process_compat.hpp b/include/boost_process_compat.hpp
+new file mode 100644
+index 000000000..8ac76a2f1
+--- /dev/null
++++ b/include/boost_process_compat.hpp
+@@ -0,0 +1,36 @@
++/*
++ * Work around a missing boost/process/v1.h header as of boost 1.88
++ * -> https://github.com/boostorg/process/issues/480
++ */
++
++#include <boost/version.hpp>
++#if BOOST_VERSION < 108800
++#if !defined(BOOST_PROCESS_VERSION)
++#define  BOOST_PROCESS_VERSION 2
++#endif
++#include <boost/process.hpp>
++#else
++#if !defined(BOOST_PROCESS_VERSION)
++#define  BOOST_PROCESS_VERSION 1
++#define  BOOST_PROCESS_V1_INLINE inline
++#endif
++#include <boost/process/v1/args.hpp>
++#include <boost/process/v1/async.hpp>
++#include <boost/process/v1/async_system.hpp>
++#include <boost/process/v1/group.hpp>
++#include <boost/process/v1/child.hpp>
++#include <boost/process/v1/cmd.hpp>
++#include <boost/process/v1/env.hpp>
++#include <boost/process/v1/environment.hpp>
++#include <boost/process/v1/error.hpp>
++#include <boost/process/v1/exe.hpp>
++#include <boost/process/v1/group.hpp>
++#include <boost/process/v1/handles.hpp>
++#include <boost/process/v1/io.hpp>
++#include <boost/process/v1/pipe.hpp>
++#include <boost/process/v1/shell.hpp>
++#include <boost/process/v1/search_path.hpp>
++#include <boost/process/v1/spawn.hpp>
++#include <boost/process/v1/system.hpp>
++#include <boost/process/v1/start_dir.hpp>
++#endif
+diff --git a/src/pulse_info_ui.cpp b/src/pulse_info_ui.cpp
+index abb308b10..d1673d3b3 100644
+--- a/src/pulse_info_ui.cpp
++++ b/src/pulse_info_ui.cpp
+@@ -19,7 +19,7 @@
+ 
+ #include "pulse_info_ui.hpp"
+ #include <boost/algorithm/string.hpp>
+-#include <boost/process.hpp>
++#include "boost_process_compat.hpp"
+ #include "util.hpp"
+ 
+ PulseInfoUi::PulseInfoUi(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& builder, PulseManager* pm_ptr)

diff --git a/media-sound/pulseeffects/pulseeffects-4.8.7-r1.ebuild b/media-sound/pulseeffects/pulseeffects-4.8.7-r1.ebuild
new file mode 100644
index 000000000000..b758ba0f2ba0
--- /dev/null
+++ b/media-sound/pulseeffects/pulseeffects-4.8.7-r1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson
+
+DESCRIPTION="Limiter, compressor, reverberation, equalizer auto volume effects for Pulseaudio"
+HOMEPAGE="https://github.com/wwmm/easyeffects/tree/pulseaudio-legacy"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/wwmm/easyeffects"
+	EGIT_BRANCH="pulseaudio-legacy"
+else
+	SRC_URI="https://github.com/wwmm/easyeffects/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="amd64 x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="bs2b calf +doc rnnoise rubberband webrtc zamaudio"
+
+COMMON="dev-libs/boost:=
+	>=dev-cpp/glibmm-2.56.0:2
+	>=dev-cpp/gtkmm-3.24:3.0
+	>=dev-libs/glib-2.56:2
+	>=dev-libs/libsigc++-2.10:2
+	>=media-libs/gstreamer-1.12.5:1.0
+	media-libs/gst-plugins-base
+	>=media-libs/gst-plugins-bad-1.12.5:1.0
+	media-libs/libebur128
+	media-libs/libsndfile
+	>=media-libs/lilv-0.24.2-r1
+	>=media-libs/zita-convolver-3.0.0
+	media-sound/pulseaudio
+	>=x11-libs/gtk+-3.20:3
+	bs2b? ( >=media-plugins/gst-plugins-bs2b-1.12.5:1.0 )
+	rnnoise? ( media-libs/rnnoise )"
+# Only header files are used from libsamplerate
+DEPEND="${COMMON}
+	media-libs/libsamplerate"
+RDEPEND="!media-sound/easyeffects
+	${COMMON}
+	>=media-libs/gst-plugins-good-1.12.5:1.0
+	>=media-libs/lsp-plugins-1.1.24[lv2]
+	>=media-plugins/gst-plugins-ladspa-1.12.5:1.0
+	>=media-plugins/gst-plugins-lv2-1.12.5:1.0
+	>=media-plugins/gst-plugins-pulse-1.12.5:1.0
+	sys-apps/dbus
+	calf? ( >=media-plugins/calf-0.90.1[lv2] )
+	doc? ( gnome-extra/yelp )
+	rubberband? ( media-libs/rubberband[ladspa] )
+	webrtc? ( media-plugins/gst-plugins-webrtc )
+	zamaudio? ( media-plugins/zam-plugins )"
+BDEPEND="dev-libs/appstream-glib
+	dev-util/desktop-file-utils
+	dev-util/itstool
+	sys-devel/gettext
+	virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.8.7-meson_no_automagic.patch
+	"${FILESDIR}"/${PN}-4.8.7-boost-1.85.patch
+	"${FILESDIR}"/${PN}-4.8.7-boost-1.88.patch
+)
+
+S="${WORKDIR}"/easyeffects-${PV}
+
+src_configure() {
+	local emesonargs=(
+		$(meson_feature bs2b)
+		$(meson_feature rnnoise)
+	)
+	meson_src_configure
+}
+
+pkg_postinst() {
+	gnome2_gconf_install
+	gnome2_schemas_update
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_gconf_uninstall
+	gnome2_schemas_update
+	xdg_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-23  3:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-29  8:34 [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseeffects/files/, media-sound/pulseeffects/ Marek Szuba
  -- strict thread matches above, loose matches on Subject: below --
2025-07-23  3:47 Matthew Thode
2022-06-05 19:21 Marek Szuba
2022-05-15 21:01 Sam James
2020-05-26 16:03 Matthew Thode

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox