public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gstreamermm/files/, dev-cpp/gstreamermm/
@ 2017-04-12  4:37 Mart Raudsepp
  0 siblings, 0 replies; 5+ messages in thread
From: Mart Raudsepp @ 2017-04-12  4:37 UTC (permalink / raw
  To: gentoo-commits

commit:     e99fef041b5cbe5a672d6312699859a03ce4ec96
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 12 04:36:42 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 12 04:37:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e99fef04

dev-cpp/gstreamermm: fix compilation with newer gcc

Also filter out -Werror for tests compilation, but those fail to compile further along then.

Gentoo-bug: 600296

 dev-cpp/gstreamermm/files/1.4.3-fix-compile.patch | 23 +++++++++++++++++++++++
 dev-cpp/gstreamermm/gstreamermm-1.4.3.ebuild      |  6 +++++-
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/gstreamermm/files/1.4.3-fix-compile.patch b/dev-cpp/gstreamermm/files/1.4.3-fix-compile.patch
new file mode 100644
index 00000000000..6ccf0e13ce0
--- /dev/null
+++ b/dev-cpp/gstreamermm/files/1.4.3-fix-compile.patch
@@ -0,0 +1,23 @@
+From c5006faf05bc4b46767d30f42bcb6157836b7540 Mon Sep 17 00:00:00 2001
+From: Marcin Kolny <marcin.kolny@gmail.com>
+Date: Sat, 17 Sep 2016 22:49:34 +0200
+Subject: Fix warnings
+
+---
+ gstreamer/gstreamermm/check.cc   |  2 +-
+
+leio: Trimmed patch down to only ThrowIf that makes compilation fail with newer gcc, not just warn
+
+diff --git a/gstreamer/gstreamermm/check.cc b/gstreamer/gstreamermm/check.cc
+index d620435..a0d323d 100644
+--- a/gstreamer/gstreamermm/check.cc
++++ b/gstreamer/gstreamermm/check.cc
+@@ -54,7 +54,7 @@ RefPtr<Element> Check::_Check::setup_element (const ustring& factory)
+ 
+     element = ElementFactory::create_element (factory, factory);
+ 
+-    ThrowIf (element, "Could not create a '" + factory + "' element");
++    ThrowIf (!!element, "Could not create a '" + factory + "' element");
+     CheckRefCount (element->gobj(), factory, 1);
+ 
+     return element;

diff --git a/dev-cpp/gstreamermm/gstreamermm-1.4.3.ebuild b/dev-cpp/gstreamermm/gstreamermm-1.4.3.ebuild
index 463e498f380..4f8e13d9c73 100644
--- a/dev-cpp/gstreamermm/gstreamermm-1.4.3.ebuild
+++ b/dev-cpp/gstreamermm/gstreamermm-1.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -38,12 +38,16 @@ DEPEND="${RDEPEND}
 # but that's okay, because the rest of dev-cpp/*mm stuff does the same
 
 src_prepare() {
+	epatch "${FILESDIR}"/${PV}-fix-compile.patch
+
 	if ! use examples; then
 		# don't waste time building examples
 		sed -e 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
 			-i Makefile.am Makefile.in || die
 	fi
 
+	sed -e 's/ -Werror/ /' -i tests/Makefile.am tests/Makefile.in || die
+
 	gnome2_src_prepare
 	append-cxxflags -std=c++11 #568254 , fixed in master
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gstreamermm/files/, dev-cpp/gstreamermm/
@ 2017-08-20 22:47 Gilles Dartiguelongue
  0 siblings, 0 replies; 5+ messages in thread
From: Gilles Dartiguelongue @ 2017-08-20 22:47 UTC (permalink / raw
  To: gentoo-commits

commit:     82fa509911cfa0c71ffc5954ad2942f1d783dcc5
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 21:30:02 2017 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 22:47:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82fa5099

dev-cpp/gstreamermm: version bump 1.4.3 → 1.8.0

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-cpp/gstreamermm/Manifest                       |  1 +
 .../files/1.8.0-add-missing-header.patch           | 42 +++++++++++++
 dev-cpp/gstreamermm/files/1.8.0-fix-wrapping.patch | 23 +++++++
 .../files/1.8.0-gst-bad-pkgconfig-cflags.patch     | 42 +++++++++++++
 dev-cpp/gstreamermm/gstreamermm-1.8.0.ebuild       | 72 ++++++++++++++++++++++
 5 files changed, 180 insertions(+)

diff --git a/dev-cpp/gstreamermm/Manifest b/dev-cpp/gstreamermm/Manifest
index a31a9ce3839..cb59f55d544 100644
--- a/dev-cpp/gstreamermm/Manifest
+++ b/dev-cpp/gstreamermm/Manifest
@@ -1,2 +1,3 @@
 DIST gstreamermm-0.10.11.tar.xz 5840552 SHA256 12b5f377363594a69cb79f2f5cd0a8b1813ca6553680c3216e6354cfd682ebc6 SHA512 2ad370f6902dcb4663ea801bdbbf744a98de9e24fc04f27b5044a4a95337168e2bb195761a07ac9c1011f9ed4936287fcc5f4c2b984f0a362b429d05be7d3909 WHIRLPOOL d9be72d4691b9b0769b75819ca9403a2df7f1dbdad4974e4b26e4fd87d4b7ea0503fb2ba6a500a008ec9d1c29f6677e61649798801e6babf7e4d7b8562cc72f2
 DIST gstreamermm-1.4.3.tar.xz 5886048 SHA256 f1c11ee1cf7537d77de7f8d486e09c5140cc4bb78882849718cd88959a55462e SHA512 ea4d281a4f3b79113fc3a0474e23d82442facac6eaf66215de412310b9c306aa5d586ee5570087d94d90acbfc09c5766edba1414b50f0fd9a3111cda610f5671 WHIRLPOOL b8bee1e9672c5ca527718e1826a4b486ea47fd772b079dddb532716c2082bb4cca55823a8b3dcd5eabe8819ee944b0cb68740c6b986ff329b71dad47240fe904
+DIST gstreamermm-1.8.0.tar.xz 3848488 SHA256 3ee3c1457ea2c32c1e17b784faa828f414ba27a9731532bf26d137a2ad999a44 SHA512 4d458c8a2efde683dabd00308ddde6fbf732788fb9282cb2eeab9f3a01dc9b4a03bfbbe9991cd50ef3092cec861034b3a34a6c5e364582dbfc6b1a0d5bb935fe WHIRLPOOL 77b7bf6c3f6d96e26e41a80116b417e6012cacaaf884e7705218c694bc55aceeb7d065996ec02c2c3744975f146cced365974d853ef98195b069b9d6982b71ae

diff --git a/dev-cpp/gstreamermm/files/1.8.0-add-missing-header.patch b/dev-cpp/gstreamermm/files/1.8.0-add-missing-header.patch
new file mode 100644
index 00000000000..1e8e5d43dde
--- /dev/null
+++ b/dev-cpp/gstreamermm/files/1.8.0-add-missing-header.patch
@@ -0,0 +1,42 @@
+From 73b25333ca3778ccf4322f47abbcbc507c31890d Mon Sep 17 00:00:00 2001
+From: Marcin Kolny <marcin.kolny@gmail.com>
+Date: Wed, 12 Oct 2016 19:37:45 +0200
+Subject: [PATCH] Gst::Caps: include missing header
+
+---
+ gstreamer/src/caps.ccg | 1 -
+ gstreamer/src/caps.hg  | 2 +-
+ 2 files changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/gstreamer/src/caps.ccg b/gstreamer/src/caps.ccg
+index 93acf7e..782f8e2 100644
+--- a/gstreamer/src/caps.ccg
++++ b/gstreamer/src/caps.ccg
+@@ -17,7 +17,6 @@
+  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+  */
+ 
+-#include <gstreamermm/structure.h>
+ #include <gstreamermm/capsfeatures.h>
+ 
+ namespace Gst
+diff --git a/gstreamer/src/caps.hg b/gstreamer/src/caps.hg
+index 7969cdc..bf0b950 100644
+--- a/gstreamer/src/caps.hg
++++ b/gstreamer/src/caps.hg
+@@ -18,6 +18,7 @@
+  */
+ 
+ #include <gstreamermm/miniobject.h>
++#include <gstreamermm/structure.h>
+ 
+ _DEFS(gstreamermm,gst)
+ 
+@@ -28,7 +29,6 @@ _WRAP_ENUM(CapsIntersectMode, GstCapsIntersectMode, NO_GTYPE)
+ 
+ _WRAP_ENUM(CapsFlags, GstCapsFlags)
+ 
+-class Structure;
+ class CapsFeatures;
+ 
+ /** Structure describing sets of media formats.

diff --git a/dev-cpp/gstreamermm/files/1.8.0-fix-wrapping.patch b/dev-cpp/gstreamermm/files/1.8.0-fix-wrapping.patch
new file mode 100644
index 00000000000..9cb6bcaa87c
--- /dev/null
+++ b/dev-cpp/gstreamermm/files/1.8.0-fix-wrapping.patch
@@ -0,0 +1,23 @@
+From 3440f119a7d03d50688f303b3456695c4d8e5187 Mon Sep 17 00:00:00 2001
+From: Marcin Kolny <marcin.kolny@gmail.com>
+Date: Sun, 16 Oct 2016 22:20:42 +0200
+Subject: [PATCH] Gst::Pad: fix method wrapper
+
+    * gstreamer/src/pad.hg: fix method proxy_query_accept_caps()
+---
+ gstreamer/src/pad.hg | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
+index cf0d78e..f2ff258 100644
+--- a/gstreamer/src/pad.hg
++++ b/gstreamer/src/pad.hg
+@@ -236,7 +236,7 @@ public:
+ 
+   _WRAP_METHOD(bool query_accept_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, gst_pad_query_accept_caps)
+   _WRAP_METHOD(bool proxy_query_caps(const Glib::RefPtr<Gst::Query>& query) const, gst_pad_proxy_query_caps)
+-  _WRAP_METHOD(bool proxy_query_accept_caps(const Glib::RefPtr<Gst::Query>& query) const, gst_pad_proxy_accept_caps)
++  _WRAP_METHOD(bool proxy_query_accept_caps(const Glib::RefPtr<Gst::Query>& query) const, gst_pad_proxy_query_accept_caps)
+   _WRAP_METHOD(bool peer_query_accept_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, gst_pad_peer_query_accept_caps)
+   _WRAP_METHOD(bool peer_query_position(Gst::Format format, gint64& cur) const, gst_pad_peer_query_position)
+   _WRAP_METHOD(bool peer_query_duration(Gst::Format format, gint64& duration) const, gst_pad_peer_query_duration)

diff --git a/dev-cpp/gstreamermm/files/1.8.0-gst-bad-pkgconfig-cflags.patch b/dev-cpp/gstreamermm/files/1.8.0-gst-bad-pkgconfig-cflags.patch
new file mode 100644
index 00000000000..bac4fde587e
--- /dev/null
+++ b/dev-cpp/gstreamermm/files/1.8.0-gst-bad-pkgconfig-cflags.patch
@@ -0,0 +1,42 @@
+From 3a4698e1c6e2b2c6c703f07687cc485ada734d60 Mon Sep 17 00:00:00 2001
+From: Marcin Kolny <marcin.kolny@gmail.com>
+Date: Tue, 15 Nov 2016 21:57:57 +0100
+Subject: [PATCH] plugins-bad: use flags and libs from gstreamer-gl pkg config
+ file
+
+---
+ examples/Makefile.am                                | 2 +-
+ gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/examples/Makefile.am b/examples/Makefile.am
+index a08d446..200ab02 100644
+--- a/examples/Makefile.am
++++ b/examples/Makefile.am
+@@ -15,7 +15,7 @@
+ 
+ AUTOMAKE_OPTIONS = subdir-objects
+ 
+-examples_cppflags = $(GSTREAMERMM_CFLAGS)
++examples_cppflags = $(GSTREAMERMM_CFLAGS) $(GSTREAMERMM_PLUGINS_BAD_CFLAGS) $(GSTREAMERMM_GL_CFLAGS)
+ gstreamermm_includes = -I$(top_builddir)/gstreamer $(if $(srcdir:.=),-I$(top_srcdir)/gstreamer) 
+ local_libgstreamermm = $(top_builddir)/gstreamer/gstreamermm/libgstreamermm-$(GSTREAMERMM_API_VERSION).la
+ 
+diff --git a/gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am b/gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am
+index eb46188..859f0ba 100644
+--- a/gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am
++++ b/gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am
+@@ -23,11 +23,11 @@ include $(top_srcdir)/build/compile-binding.am
+ local_includes = -I$(top_builddir)/gstreamer $(if $(srcdir:.=),-I$(top_srcdir)/gstreamer)
+ local_cppflags = $(binding_includes) $(local_includes) $(binding_cppflags) -DGSTREAMERMM_PLUGINS_BAD_BUILD=1
+ 
+-AM_CPPFLAGS = $(local_cppflags) $(GSTREAMERMM_PLUGINS_BAD_CFLAGS) $(GSTREAMERMM_CFLAGS)
++AM_CPPFLAGS = $(local_cppflags) $(GSTREAMERMM_PLUGINS_BAD_CFLAGS) $(GSTREAMERMM_CFLAGS) $(GSTREAMERMM_GL_CFLAGS)
+ AM_CXXFLAGS = $(GSTREAMERMM_WXXFLAGS)
+ 
+ local_libadd = $(top_builddir)/gstreamer/gstreamermm/libgstreamermm-$(GSTREAMERMM_API_VERSION).la
+ 
+ libgstreamermm_plugins_bad_@GSTREAMERMM_API_VERSION@_la_SOURCES = $(binding_sources)
+ libgstreamermm_plugins_bad_@GSTREAMERMM_API_VERSION@_la_LDFLAGS = -no-undefined -version-info $(GSTREAMERMM_SO_VERSION)
+-libgstreamermm_plugins_bad_@GSTREAMERMM_API_VERSION@_la_LIBADD  = $(GSTREAMERMM_PLUGINS_BAD_LIBS) $(local_libadd)
++libgstreamermm_plugins_bad_@GSTREAMERMM_API_VERSION@_la_LIBADD  = $(GSTREAMERMM_PLUGINS_BAD_LIBS) $(GSTREAMERMM_GL_LIBS) $(local_libadd)

diff --git a/dev-cpp/gstreamermm/gstreamermm-1.8.0.ebuild b/dev-cpp/gstreamermm/gstreamermm-1.8.0.ebuild
new file mode 100644
index 00000000000..b5e27e10b28
--- /dev/null
+++ b/dev-cpp/gstreamermm/gstreamermm-1.8.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_EAUTORECONF="yes"
+
+inherit gnome2 virtualx
+
+DESCRIPTION="C++ interface for GStreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/bindings/cplusplus.html"
+
+LICENSE="LGPL-2.1"
+SLOT="1.0/1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc examples opengl test"
+
+RDEPEND="
+	>=media-libs/gstreamer-${PV}:1.0
+	>=media-libs/gst-plugins-base-${PV}:1.0
+	>=media-libs/gst-plugins-bad-${PV}:1.0[opengl?]
+	>=dev-cpp/glibmm-2.47.6:2
+	>=dev-cpp/libxmlpp-2.14:2.6
+	>=dev-libs/libsigc++-2:2
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	doc? (
+		app-doc/doxygen
+		dev-libs/libxslt
+		media-gfx/graphviz )
+	test? (
+		dev-cpp/gtest
+		>=media-libs/gst-plugins-base-${PV}:1.0[X,ogg,theora,vorbis]
+		>=media-libs/gst-plugins-good-${PV}:1.0
+		>=media-plugins/gst-plugins-jpeg-${PV}:1.0 )
+"
+#   dev-cpp/mm-common"
+# eautoreconf needs mm-common
+
+# Installs reference docs into /usr/share/doc/gstreamermm-1.0/
+# but that's okay, because the rest of dev-cpp/*mm stuff does the same
+
+PATCHES=(
+	# Upstream patches
+	"${FILESDIR}"/1.8.0-add-missing-header.patch
+	"${FILESDIR}"/1.8.0-gst-bad-pkgconfig-cflags.patch
+	"${FILESDIR}"/1.8.0-fix-wrapping.patch
+)
+
+src_prepare() {
+	if ! use examples; then
+		# don't waste time building examples
+		sed -e 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
+			-i Makefile.am Makefile.in || die
+	fi
+
+	sed -e 's/ -Werror/ /' -i tests/Makefile.am tests/Makefile.in || die
+
+	gnome2_src_prepare
+}
+
+src_configure() {
+	gnome2_src_configure \
+		$(use_enable doc documentation) \
+		$(use_enable opengl gl) \
+		$(use_enable test unittests)
+}
+
+src_test() {
+	# running tests in parallel fails
+	virtx emake -j1 check
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gstreamermm/files/, dev-cpp/gstreamermm/
@ 2017-11-01 15:41 Mart Raudsepp
  0 siblings, 0 replies; 5+ messages in thread
From: Mart Raudsepp @ 2017-11-01 15:41 UTC (permalink / raw
  To: gentoo-commits

commit:     2115ae43f4b75011b4a9ab1934c96ed831cfcb4e
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  1 15:38:09 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Nov  1 15:40:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2115ae43

dev-cpp/gstreamermm: remove old

Package-Manager: Portage-2.3.8, Repoman-2.3.2

 dev-cpp/gstreamermm/Manifest                       |  1 -
 .../files/1.8.0-add-missing-header.patch           | 42 ------------
 dev-cpp/gstreamermm/files/1.8.0-fix-wrapping.patch | 23 -------
 .../files/1.8.0-gst-bad-pkgconfig-cflags.patch     | 42 ------------
 dev-cpp/gstreamermm/gstreamermm-1.8.0.ebuild       | 74 ----------------------
 5 files changed, 182 deletions(-)

diff --git a/dev-cpp/gstreamermm/Manifest b/dev-cpp/gstreamermm/Manifest
index 419a9ac1e2a..962a4254aab 100644
--- a/dev-cpp/gstreamermm/Manifest
+++ b/dev-cpp/gstreamermm/Manifest
@@ -1,4 +1,3 @@
 DIST gstreamermm-0.10.11.tar.xz 5840552 SHA256 12b5f377363594a69cb79f2f5cd0a8b1813ca6553680c3216e6354cfd682ebc6 SHA512 2ad370f6902dcb4663ea801bdbbf744a98de9e24fc04f27b5044a4a95337168e2bb195761a07ac9c1011f9ed4936287fcc5f4c2b984f0a362b429d05be7d3909 WHIRLPOOL d9be72d4691b9b0769b75819ca9403a2df7f1dbdad4974e4b26e4fd87d4b7ea0503fb2ba6a500a008ec9d1c29f6677e61649798801e6babf7e4d7b8562cc72f2
 DIST gstreamermm-1.10.0.tar.xz 3529640 SHA256 be58fe9ef7d7e392568ec85e80a84f4730adbf91fb0355ff7d7c616675ea8d60 SHA512 34eeb9eec5958c96acf7c7791eef80138e5d55fea6ddf1bf9ace6b1ec7f052da2abf04d87089e4c9ead51c631ef7afceaf9fceb946ec3d105da522187c69e429 WHIRLPOOL 52fee9b7934e93dac6df8214bb7d3ba9e83b55d556bf8e6ccd041d98a742094e3ca2f0ef34b38ec089a08198d360fd153b666fcfea6e70c34364990ff71d1a02
 DIST gstreamermm-1.4.3.tar.xz 5886048 SHA256 f1c11ee1cf7537d77de7f8d486e09c5140cc4bb78882849718cd88959a55462e SHA512 ea4d281a4f3b79113fc3a0474e23d82442facac6eaf66215de412310b9c306aa5d586ee5570087d94d90acbfc09c5766edba1414b50f0fd9a3111cda610f5671 WHIRLPOOL b8bee1e9672c5ca527718e1826a4b486ea47fd772b079dddb532716c2082bb4cca55823a8b3dcd5eabe8819ee944b0cb68740c6b986ff329b71dad47240fe904
-DIST gstreamermm-1.8.0.tar.xz 3848488 SHA256 3ee3c1457ea2c32c1e17b784faa828f414ba27a9731532bf26d137a2ad999a44 SHA512 4d458c8a2efde683dabd00308ddde6fbf732788fb9282cb2eeab9f3a01dc9b4a03bfbbe9991cd50ef3092cec861034b3a34a6c5e364582dbfc6b1a0d5bb935fe WHIRLPOOL 77b7bf6c3f6d96e26e41a80116b417e6012cacaaf884e7705218c694bc55aceeb7d065996ec02c2c3744975f146cced365974d853ef98195b069b9d6982b71ae

diff --git a/dev-cpp/gstreamermm/files/1.8.0-add-missing-header.patch b/dev-cpp/gstreamermm/files/1.8.0-add-missing-header.patch
deleted file mode 100644
index 1e8e5d43dde..00000000000
--- a/dev-cpp/gstreamermm/files/1.8.0-add-missing-header.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 73b25333ca3778ccf4322f47abbcbc507c31890d Mon Sep 17 00:00:00 2001
-From: Marcin Kolny <marcin.kolny@gmail.com>
-Date: Wed, 12 Oct 2016 19:37:45 +0200
-Subject: [PATCH] Gst::Caps: include missing header
-
----
- gstreamer/src/caps.ccg | 1 -
- gstreamer/src/caps.hg  | 2 +-
- 2 files changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/gstreamer/src/caps.ccg b/gstreamer/src/caps.ccg
-index 93acf7e..782f8e2 100644
---- a/gstreamer/src/caps.ccg
-+++ b/gstreamer/src/caps.ccg
-@@ -17,7 +17,6 @@
-  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-  */
- 
--#include <gstreamermm/structure.h>
- #include <gstreamermm/capsfeatures.h>
- 
- namespace Gst
-diff --git a/gstreamer/src/caps.hg b/gstreamer/src/caps.hg
-index 7969cdc..bf0b950 100644
---- a/gstreamer/src/caps.hg
-+++ b/gstreamer/src/caps.hg
-@@ -18,6 +18,7 @@
-  */
- 
- #include <gstreamermm/miniobject.h>
-+#include <gstreamermm/structure.h>
- 
- _DEFS(gstreamermm,gst)
- 
-@@ -28,7 +29,6 @@ _WRAP_ENUM(CapsIntersectMode, GstCapsIntersectMode, NO_GTYPE)
- 
- _WRAP_ENUM(CapsFlags, GstCapsFlags)
- 
--class Structure;
- class CapsFeatures;
- 
- /** Structure describing sets of media formats.

diff --git a/dev-cpp/gstreamermm/files/1.8.0-fix-wrapping.patch b/dev-cpp/gstreamermm/files/1.8.0-fix-wrapping.patch
deleted file mode 100644
index 9cb6bcaa87c..00000000000
--- a/dev-cpp/gstreamermm/files/1.8.0-fix-wrapping.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 3440f119a7d03d50688f303b3456695c4d8e5187 Mon Sep 17 00:00:00 2001
-From: Marcin Kolny <marcin.kolny@gmail.com>
-Date: Sun, 16 Oct 2016 22:20:42 +0200
-Subject: [PATCH] Gst::Pad: fix method wrapper
-
-    * gstreamer/src/pad.hg: fix method proxy_query_accept_caps()
----
- gstreamer/src/pad.hg | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
-index cf0d78e..f2ff258 100644
---- a/gstreamer/src/pad.hg
-+++ b/gstreamer/src/pad.hg
-@@ -236,7 +236,7 @@ public:
- 
-   _WRAP_METHOD(bool query_accept_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, gst_pad_query_accept_caps)
-   _WRAP_METHOD(bool proxy_query_caps(const Glib::RefPtr<Gst::Query>& query) const, gst_pad_proxy_query_caps)
--  _WRAP_METHOD(bool proxy_query_accept_caps(const Glib::RefPtr<Gst::Query>& query) const, gst_pad_proxy_accept_caps)
-+  _WRAP_METHOD(bool proxy_query_accept_caps(const Glib::RefPtr<Gst::Query>& query) const, gst_pad_proxy_query_accept_caps)
-   _WRAP_METHOD(bool peer_query_accept_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, gst_pad_peer_query_accept_caps)
-   _WRAP_METHOD(bool peer_query_position(Gst::Format format, gint64& cur) const, gst_pad_peer_query_position)
-   _WRAP_METHOD(bool peer_query_duration(Gst::Format format, gint64& duration) const, gst_pad_peer_query_duration)

diff --git a/dev-cpp/gstreamermm/files/1.8.0-gst-bad-pkgconfig-cflags.patch b/dev-cpp/gstreamermm/files/1.8.0-gst-bad-pkgconfig-cflags.patch
deleted file mode 100644
index bac4fde587e..00000000000
--- a/dev-cpp/gstreamermm/files/1.8.0-gst-bad-pkgconfig-cflags.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 3a4698e1c6e2b2c6c703f07687cc485ada734d60 Mon Sep 17 00:00:00 2001
-From: Marcin Kolny <marcin.kolny@gmail.com>
-Date: Tue, 15 Nov 2016 21:57:57 +0100
-Subject: [PATCH] plugins-bad: use flags and libs from gstreamer-gl pkg config
- file
-
----
- examples/Makefile.am                                | 2 +-
- gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/examples/Makefile.am b/examples/Makefile.am
-index a08d446..200ab02 100644
---- a/examples/Makefile.am
-+++ b/examples/Makefile.am
-@@ -15,7 +15,7 @@
- 
- AUTOMAKE_OPTIONS = subdir-objects
- 
--examples_cppflags = $(GSTREAMERMM_CFLAGS)
-+examples_cppflags = $(GSTREAMERMM_CFLAGS) $(GSTREAMERMM_PLUGINS_BAD_CFLAGS) $(GSTREAMERMM_GL_CFLAGS)
- gstreamermm_includes = -I$(top_builddir)/gstreamer $(if $(srcdir:.=),-I$(top_srcdir)/gstreamer) 
- local_libgstreamermm = $(top_builddir)/gstreamer/gstreamermm/libgstreamermm-$(GSTREAMERMM_API_VERSION).la
- 
-diff --git a/gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am b/gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am
-index eb46188..859f0ba 100644
---- a/gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am
-+++ b/gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am
-@@ -23,11 +23,11 @@ include $(top_srcdir)/build/compile-binding.am
- local_includes = -I$(top_builddir)/gstreamer $(if $(srcdir:.=),-I$(top_srcdir)/gstreamer)
- local_cppflags = $(binding_includes) $(local_includes) $(binding_cppflags) -DGSTREAMERMM_PLUGINS_BAD_BUILD=1
- 
--AM_CPPFLAGS = $(local_cppflags) $(GSTREAMERMM_PLUGINS_BAD_CFLAGS) $(GSTREAMERMM_CFLAGS)
-+AM_CPPFLAGS = $(local_cppflags) $(GSTREAMERMM_PLUGINS_BAD_CFLAGS) $(GSTREAMERMM_CFLAGS) $(GSTREAMERMM_GL_CFLAGS)
- AM_CXXFLAGS = $(GSTREAMERMM_WXXFLAGS)
- 
- local_libadd = $(top_builddir)/gstreamer/gstreamermm/libgstreamermm-$(GSTREAMERMM_API_VERSION).la
- 
- libgstreamermm_plugins_bad_@GSTREAMERMM_API_VERSION@_la_SOURCES = $(binding_sources)
- libgstreamermm_plugins_bad_@GSTREAMERMM_API_VERSION@_la_LDFLAGS = -no-undefined -version-info $(GSTREAMERMM_SO_VERSION)
--libgstreamermm_plugins_bad_@GSTREAMERMM_API_VERSION@_la_LIBADD  = $(GSTREAMERMM_PLUGINS_BAD_LIBS) $(local_libadd)
-+libgstreamermm_plugins_bad_@GSTREAMERMM_API_VERSION@_la_LIBADD  = $(GSTREAMERMM_PLUGINS_BAD_LIBS) $(GSTREAMERMM_GL_LIBS) $(local_libadd)

diff --git a/dev-cpp/gstreamermm/gstreamermm-1.8.0.ebuild b/dev-cpp/gstreamermm/gstreamermm-1.8.0.ebuild
deleted file mode 100644
index f2f2934ea4e..00000000000
--- a/dev-cpp/gstreamermm/gstreamermm-1.8.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-GNOME2_EAUTORECONF="yes"
-
-inherit gnome2 virtualx
-
-DESCRIPTION="C++ interface for GStreamer"
-HOMEPAGE="https://gstreamer.freedesktop.org/bindings/cplusplus.html"
-
-LICENSE="LGPL-2.1"
-SLOT="1.0/1"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc examples test"
-
-# module is experimental:
-# >=media-libs/gst-plugins-bad-${PV}:1.0[opengl?]
-RDEPEND="
-	>=media-libs/gstreamer-${PV}:1.0
-	>=media-libs/gst-plugins-base-${PV}:1.0
-	>=dev-cpp/glibmm-2.47.6:2
-	>=dev-cpp/libxmlpp-2.14:2.6
-	>=dev-libs/libsigc++-2:2
-"
-DEPEND="${RDEPEND}
-	dev-cpp/mm-common
-	virtual/pkgconfig
-	doc? (
-		app-doc/doxygen
-		dev-libs/libxslt
-		media-gfx/graphviz )
-	test? (
-		dev-cpp/gtest
-		>=media-libs/gst-plugins-base-${PV}:1.0[X,ogg,theora,vorbis]
-		>=media-libs/gst-plugins-good-${PV}:1.0
-		>=media-plugins/gst-plugins-jpeg-${PV}:1.0 )
-"
-# eautoreconf:
-#	dev-cpp/mm-common
-
-# Installs reference docs into /usr/share/doc/gstreamermm-1.0/
-# but that's okay, because the rest of dev-cpp/*mm stuff does the same
-
-PATCHES=(
-	# Upstream patches
-	"${FILESDIR}"/1.8.0-add-missing-header.patch
-	"${FILESDIR}"/1.8.0-gst-bad-pkgconfig-cflags.patch
-	"${FILESDIR}"/1.8.0-fix-wrapping.patch
-)
-
-src_prepare() {
-	if ! use examples; then
-		# don't waste time building examples
-		sed -e 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
-			-i Makefile.am Makefile.in || die
-	fi
-
-	sed -e 's/ -Werror/ /' -i tests/Makefile.am tests/Makefile.in || die
-
-	gnome2_src_prepare
-}
-
-src_configure() {
-	gnome2_src_configure \
-		 --disable-plugins-bad \
-		$(use_enable doc documentation) \
-		$(use_enable test unittests)
-}
-
-src_test() {
-	# running tests in parallel fails
-	virtx emake -j1 check
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gstreamermm/files/, dev-cpp/gstreamermm/
@ 2017-12-17  1:04 Mart Raudsepp
  0 siblings, 0 replies; 5+ messages in thread
From: Mart Raudsepp @ 2017-12-17  1:04 UTC (permalink / raw
  To: gentoo-commits

commit:     ec7eea076291e15e5dcae42b4bd13f4c6a2a76b8
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 18:03:52 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 01:01:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec7eea07

dev-cpp/gstreamermm: remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-cpp/gstreamermm/Manifest                      |  1 -
 dev-cpp/gstreamermm/files/1.4.3-fix-compile.patch | 23 ---------
 dev-cpp/gstreamermm/gstreamermm-1.4.3.ebuild      | 62 -----------------------
 3 files changed, 86 deletions(-)

diff --git a/dev-cpp/gstreamermm/Manifest b/dev-cpp/gstreamermm/Manifest
index 696bb9b06b0..a4da95af337 100644
--- a/dev-cpp/gstreamermm/Manifest
+++ b/dev-cpp/gstreamermm/Manifest
@@ -1,3 +1,2 @@
 DIST gstreamermm-0.10.11.tar.xz 5840552 BLAKE2B 99e9e934b2885ae02256acb5b5f2ba0b63d99b81c41fa2f7fe47b0a3a60a8178f0727c0c0b1609dc10c53d9b00052e3f16b92ffa4b55c820606bf9f37ab667ff SHA512 2ad370f6902dcb4663ea801bdbbf744a98de9e24fc04f27b5044a4a95337168e2bb195761a07ac9c1011f9ed4936287fcc5f4c2b984f0a362b429d05be7d3909
 DIST gstreamermm-1.10.0.tar.xz 3529640 BLAKE2B 29b99928cd1b21fd295683b4a1ad0a1b0f8ae959237fcbfef7d5a9296a70a140a04fa390fbbcb8d3151d28239f281e72feb30a0466478e38dfb4e172beaf21f1 SHA512 34eeb9eec5958c96acf7c7791eef80138e5d55fea6ddf1bf9ace6b1ec7f052da2abf04d87089e4c9ead51c631ef7afceaf9fceb946ec3d105da522187c69e429
-DIST gstreamermm-1.4.3.tar.xz 5886048 BLAKE2B 3cb582b4ee08f21d4fa8ad9c4149a5f4188c53cfc2eb8879a51be2a7347b03266cefabec177f4e30c2baff6fe16c9e1d8fdb6a6602b657e927e5237bc4bbb73d SHA512 ea4d281a4f3b79113fc3a0474e23d82442facac6eaf66215de412310b9c306aa5d586ee5570087d94d90acbfc09c5766edba1414b50f0fd9a3111cda610f5671

diff --git a/dev-cpp/gstreamermm/files/1.4.3-fix-compile.patch b/dev-cpp/gstreamermm/files/1.4.3-fix-compile.patch
deleted file mode 100644
index 6ccf0e13ce0..00000000000
--- a/dev-cpp/gstreamermm/files/1.4.3-fix-compile.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From c5006faf05bc4b46767d30f42bcb6157836b7540 Mon Sep 17 00:00:00 2001
-From: Marcin Kolny <marcin.kolny@gmail.com>
-Date: Sat, 17 Sep 2016 22:49:34 +0200
-Subject: Fix warnings
-
----
- gstreamer/gstreamermm/check.cc   |  2 +-
-
-leio: Trimmed patch down to only ThrowIf that makes compilation fail with newer gcc, not just warn
-
-diff --git a/gstreamer/gstreamermm/check.cc b/gstreamer/gstreamermm/check.cc
-index d620435..a0d323d 100644
---- a/gstreamer/gstreamermm/check.cc
-+++ b/gstreamer/gstreamermm/check.cc
-@@ -54,7 +54,7 @@ RefPtr<Element> Check::_Check::setup_element (const ustring& factory)
- 
-     element = ElementFactory::create_element (factory, factory);
- 
--    ThrowIf (element, "Could not create a '" + factory + "' element");
-+    ThrowIf (!!element, "Could not create a '" + factory + "' element");
-     CheckRefCount (element->gobj(), factory, 1);
- 
-     return element;

diff --git a/dev-cpp/gstreamermm/gstreamermm-1.4.3.ebuild b/dev-cpp/gstreamermm/gstreamermm-1.4.3.ebuild
deleted file mode 100644
index 4f8e13d9c73..00000000000
--- a/dev-cpp/gstreamermm/gstreamermm-1.4.3.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-inherit flag-o-matic gnome2
-
-DESCRIPTION="C++ interface for GStreamer"
-HOMEPAGE="https://gstreamer.freedesktop.org/bindings/cplusplus.html"
-
-LICENSE="LGPL-2.1"
-SLOT="1.0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="doc examples test"
-
-RDEPEND="
-	>=media-libs/gstreamer-${PV}:1.0
-	>=media-libs/gst-plugins-base-${PV}:1.0
-	>=dev-cpp/glibmm-2.36:2
-	>=dev-cpp/libxmlpp-2.14:2.6
-	>=dev-libs/libsigc++-2:2
-"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? (
-		app-doc/doxygen
-		dev-libs/libxslt
-		media-gfx/graphviz )
-	test? (
-		dev-cpp/gtest
-		>=media-libs/gst-plugins-base-${PV}:1.0[X,ogg,theora,vorbis]
-		>=media-libs/gst-plugins-good-${PV}:1.0
-		>=media-plugins/gst-plugins-jpeg-${PV}:1.0 )
-"
-#   dev-cpp/mm-common"
-# eautoreconf needs mm-common
-
-# Installs reference docs into /usr/share/doc/gstreamermm-1.0/
-# but that's okay, because the rest of dev-cpp/*mm stuff does the same
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PV}-fix-compile.patch
-
-	if ! use examples; then
-		# don't waste time building examples
-		sed -e 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
-			-i Makefile.am Makefile.in || die
-	fi
-
-	sed -e 's/ -Werror/ /' -i tests/Makefile.am tests/Makefile.in || die
-
-	gnome2_src_prepare
-	append-cxxflags -std=c++11 #568254 , fixed in master
-}
-
-src_configure() {
-	gnome2_src_configure $(use_enable doc documentation)
-}
-
-src_test() {
-	# running tests in parallel fails
-	emake -j1 check
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gstreamermm/files/, dev-cpp/gstreamermm/
@ 2021-08-04 22:28 Matt Turner
  0 siblings, 0 replies; 5+ messages in thread
From: Matt Turner @ 2021-08-04 22:28 UTC (permalink / raw
  To: gentoo-commits

commit:     139cd7a38152835009c149085aad04e53ddc4e1c
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  4 22:25:36 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Aug  4 22:28:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=139cd7a3

dev-cpp/gstreamermm: Add patch to build with gcc-11

Closes: https://bugs.gentoo.org/786444
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .../files/gstreamermm-1.10.0-no-volatile.patch          | 17 +++++++++++++++++
 dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild           |  4 ++++
 2 files changed, 21 insertions(+)

diff --git a/dev-cpp/gstreamermm/files/gstreamermm-1.10.0-no-volatile.patch b/dev-cpp/gstreamermm/files/gstreamermm-1.10.0-no-volatile.patch
new file mode 100644
index 00000000000..ede9f910ae1
--- /dev/null
+++ b/dev-cpp/gstreamermm/files/gstreamermm-1.10.0-no-volatile.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/786444
+
+g_once_init_enter(void*) should NOT be passed a volatile argument:
+https://developer.gnome.org/glib/stable/glib-Threads.html#g-once-init-enter
+"While location has a volatile qualifier, this is a historical
+artifact and the pointer passed to it should not be volatile."
+--- gstreamermm-1.10.0/gstreamer/gstreamermm/register.h.orig	2017-10-20 12:26:46.000000000 +0300
++++ gstreamermm-1.10.0/gstreamer/gstreamermm/register.h	2021-05-25 17:52:13.031337753 +0300
+@@ -110,7 +110,7 @@
+     /* The typedef for GType may be gulong or gsize, depending on the
+      * system and whether the compiler is c++ or not. The g_once_init_*
+      * functions always take a gsize * though ... */
+-    static volatile gsize gonce_data = 0;
++    static gsize gonce_data = 0;
+     if (g_once_init_enter (&gonce_data)) {
+         GTypeInfo info;
+ 

diff --git a/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild b/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild
index 6fdef7109be..fced073bba0 100644
--- a/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild
+++ b/dev-cpp/gstreamermm/gstreamermm-1.10.0.ebuild
@@ -40,6 +40,10 @@ DEPEND="${RDEPEND}
 # Installs reference docs into /usr/share/doc/gstreamermm-1.0/
 # but that's okay, because the rest of dev-cpp/*mm stuff does the same
 
+PATCHES=(
+	"${FILESDIR}"/${P}-no-volatile.patch
+)
+
 src_prepare() {
 	if ! use examples; then
 		# don't waste time building examples


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

end of thread, other threads:[~2021-08-04 22:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-01 15:41 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gstreamermm/files/, dev-cpp/gstreamermm/ Mart Raudsepp
  -- strict thread matches above, loose matches on Subject: below --
2021-08-04 22:28 Matt Turner
2017-12-17  1:04 Mart Raudsepp
2017-08-20 22:47 Gilles Dartiguelongue
2017-04-12  4:37 Mart Raudsepp

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