public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/gst-plugins-good/, media-libs/gst-plugins-good/files/
@ 2016-06-02  5:59 Austin English
  0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2016-06-02  5:59 UTC (permalink / raw
  To: gentoo-commits

commit:     4231143b2a29252a293bdac1fcfb90d08dd3fb86
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 05:57:07 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Jun  2 05:57:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4231143b

media-libs/gst-plugins-good: fix building gst-plugins-good-0.10.31 with clang

Gentoo-Bug: https://bugs.gentoo.org/558080

Package-Manager: portage-2.2.26

 .../files/gst-plugins-good-0.10-clang.patch        | 18 +++++++
 .../gst-plugins-good-0.10.31-r2.ebuild             | 61 ++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/media-libs/gst-plugins-good/files/gst-plugins-good-0.10-clang.patch b/media-libs/gst-plugins-good/files/gst-plugins-good-0.10-clang.patch
new file mode 100644
index 0000000..3016bfb
--- /dev/null
+++ b/media-libs/gst-plugins-good/files/gst-plugins-good-0.10-clang.patch
@@ -0,0 +1,18 @@
+--- gst/goom/mmx.h.orig	2011-12-11 19:48:11.000000000 +0100
++++ gst/goom/mmx.h	2013-02-08 00:54:14.000000000 +0100
+@@ -715,13 +715,13 @@ void zoom_filter_xmmx (int prevX, int pr
+ 	{ \
+ 		printf("emms()\n"); \
+ 		__asm__ __volatile__ ("emms" \
+-                        "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \
++                        "st", "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \
+ 	}
+ 
+ #else
+ 
+ #define	emms() __asm__ __volatile__ ("emms"::: \
+-                      "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
++                      "st", "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
+ 
+ #endif
+ 

diff --git a/media-libs/gst-plugins-good/gst-plugins-good-0.10.31-r2.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-0.10.31-r2.ebuild
new file mode 100644
index 0000000..7cc4221
--- /dev/null
+++ b/media-libs/gst-plugins-good/gst-plugins-good-0.10.31-r2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+GST_ORG_MODULE="gst-plugins-good"
+inherit eutils flag-o-matic gstreamer
+
+DESCRIPTION="Basepack of plugins for gstreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="LGPL-2.1+"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="+orc"
+
+RDEPEND="
+	>=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
+	>=media-libs/gstreamer-0.10.36:${SLOT}[${MULTILIB_USEDEP}]
+	>=media-libs/gst-plugins-base-0.10.36:${SLOT}[${MULTILIB_USEDEP}]
+	>=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}]
+	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+	orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+	>=dev-util/gtk-doc-am-1.12
+	!<media-libs/gst-plugins-bad-0.10.22:${SLOT}
+"
+# audioparsers and qtmux moves
+
+src_configure() {
+	# gst doesnt handle optimisations well
+	strip-flags
+	replace-flags "-O3" "-O2"
+	filter-flags "-fprefetch-loop-arrays" # see bug 22249
+
+	multilib-minimal_src_configure
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/${PN}-0.10-clang.patch"
+}
+
+multilib_src_configure() {
+	# Always enable optional bz2 support for matroska
+	# Always enable optional zlib support for qtdemux and matroska
+	# Many media files require these to work, as some container headers are often
+	# compressed, bug #291154
+	gstreamer_multilib_src_configure \
+		--enable-bz2 \
+		--enable-zlib \
+		--disable-examples \
+		--with-default-audiosink=autoaudiosink \
+		--with-default-visualizer=goom
+}
+
+multilib_src_install_all() {
+	DOCS="AUTHORS ChangeLog NEWS README RELEASE"
+	einstalldocs
+	prune_libtool_files --modules
+}


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

* [gentoo-commits] repo/gentoo:master commit in: media-libs/gst-plugins-good/, media-libs/gst-plugins-good/files/
@ 2018-07-30  6:10 Mart Raudsepp
  0 siblings, 0 replies; 3+ messages in thread
From: Mart Raudsepp @ 2018-07-30  6:10 UTC (permalink / raw
  To: gentoo-commits

commit:     98cf3f1b82c3d75d75c11458d1d8fb25aa148ae3
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 30 06:09:36 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Jul 30 06:09:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98cf3f1b

media-libs/gst-plugins-good: fix potential 32bit test failures

Closes: https://bugs.gentoo.org/661528
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../files/1.14.1-fix-32bit-rtpstorage-test.patch   | 112 +++++++++++++++++++++
 .../gst-plugins-good-1.14.1.ebuild                 |   2 +
 2 files changed, 114 insertions(+)

diff --git a/media-libs/gst-plugins-good/files/1.14.1-fix-32bit-rtpstorage-test.patch b/media-libs/gst-plugins-good/files/1.14.1-fix-32bit-rtpstorage-test.patch
new file mode 100644
index 00000000000..3bca4f6cd6e
--- /dev/null
+++ b/media-libs/gst-plugins-good/files/1.14.1-fix-32bit-rtpstorage-test.patch
@@ -0,0 +1,112 @@
+From 48dd93662d6c16fc5967ef4386a63db41683142d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?=
+Date: Sun, 27 May 2018 20:29:47 +0100
+Subject: tests: rtpstorage: fix potential crashes / test failures on 32-bit
+
+Pass 64 bits to g_object_set() for 64-bit integer properties like
+rtpstorage's "size-time" property.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=796429
+---
+ tests/check/elements/rtpstorage.c | 21 +++++++++++----------
+ tests/check/elements/rtpulpfec.c  |  3 ++-
+ 2 files changed, 13 insertions(+), 11 deletions(-)
+
+diff --git a/tests/check/elements/rtpstorage.c b/tests/check/elements/rtpstorage.c
+index 4a1d60f..e80b212 100644
+--- a/tests/check/elements/rtpstorage.c
++++ b/tests/check/elements/rtpstorage.c
+@@ -98,16 +98,17 @@ GST_START_TEST (rtpstorage_resize)
+   guint i, j;
+   GstBuffer *bufin, *bufout, *bufs[10];
+   GstHarness *h = gst_harness_new ("rtpstorage");
++
+   gst_harness_set_src_caps_str (h, "application/x-rtp");
+ 
+-  g_object_set (h->element, "size-time", 0, NULL);
++  g_object_set (h->element, "size-time", (guint64) 0, NULL);
+   bufin = create_rtp_packet (96, 0xabe2b0b, 0x111111, 0);
+   bufout = gst_harness_push_and_pull (h, bufin);
+   fail_unless (bufin == bufout);
+   fail_unless (gst_buffer_is_writable (bufout));
+ 
+-  g_object_set (h->element, "size-time",
+-      (G_N_ELEMENTS (bufs) - 1) * RTP_PACKET_DUR, NULL);
++  g_object_set (h->element,
++      "size-time", (guint64) (G_N_ELEMENTS (bufs) - 1) * RTP_PACKET_DUR, NULL);
+ 
+   // Pushing 10 buffers all of them should have ref. count =2
+   for (i = 0; i < G_N_ELEMENTS (bufs); ++i) {
+@@ -139,7 +140,7 @@ GST_START_TEST (rtpstorage_stop_redundant_packets)
+   GstHarness *h = gst_harness_new ("rtpstorage");
+   GstBuffer *bufinp;
+ 
+-  g_object_set (h->element, "size-time", 2 * RTP_PACKET_DUR, NULL);
++  g_object_set (h->element, "size-time", (guint64) 2 * RTP_PACKET_DUR, NULL);
+   gst_harness_set_src_caps_str (h, "application/x-rtp");
+ 
+   bufinp = create_rtp_packet (96, 0xabe2b0b, 0x111111, 0);
+@@ -159,7 +160,7 @@ GST_START_TEST (rtpstorage_unknown_ssrc)
+ {
+   GstBufferList *bufs_out;
+   GstHarness *h = gst_harness_new ("rtpstorage");
+-  g_object_set (h->element, "size-time", RTP_PACKET_DUR, NULL);
++  g_object_set (h->element, "size-time", (guint64) RTP_PACKET_DUR, NULL);
+   gst_harness_set_src_caps_str (h, "application/x-rtp");
+ 
+   /* No packets has been pushed through yet */
+@@ -182,7 +183,7 @@ GST_START_TEST (rtpstorage_packet_not_lost)
+   GstBuffer *buf;
+   GstBufferList *bufs_out;
+   GstHarness *h = gst_harness_new ("rtpstorage");
+-  g_object_set (h->element, "size-time", 10 * RTP_PACKET_DUR, NULL);
++  g_object_set (h->element, "size-time", (guint64) 10 * RTP_PACKET_DUR, NULL);
+   gst_harness_set_src_caps_str (h, "application/x-rtp");
+ 
+   /* Pushing through 2 frames + 2 FEC */
+@@ -212,7 +213,7 @@ GST_START_TEST (test_rtpstorage_put_recovered_packet)
+   GstBuffer *bufs_in[4];
+   GstBufferList *bufs_out;
+   GstHarness *h = gst_harness_new ("rtpstorage");
+-  g_object_set (h->element, "size-time", 10 * RTP_PACKET_DUR, NULL);
++  g_object_set (h->element, "size-time", (guint64) 10 * RTP_PACKET_DUR, NULL);
+   gst_harness_set_src_caps_str (h, "application/x-rtp");
+ 
+   /* Pushing through 2 frames + 2 FEC
+@@ -331,7 +332,7 @@ _multiple_ssrcs_test (guint16 nth_to_loose,
+   guint16 stream0_seq_start = 200;
+   guint16 stream1_seq_start = 65529;
+   GstHarness *h = gst_harness_new ("rtpstorage");
+-  g_object_set (h->element, "size-time", 12 * RTP_PACKET_DUR, NULL);
++  g_object_set (h->element, "size-time", (guint64) 12 * RTP_PACKET_DUR, NULL);
+   gst_harness_set_src_caps_str (h, "application/x-rtp");
+ 
+   _single_ssrc_test (h, 0x0abe2b0b, stream0_seq_start,
+@@ -453,8 +454,8 @@ GST_START_TEST (rtpstorage_stress)
+   StressTestData test_data;
+   guint seed, i, total, requested;
+   GstHarness *h = gst_harness_new ("rtpstorage");
+-  g_object_set (h->element, "size-time",
+-      STRESS_TEST_STORAGE_DEPTH * RTP_PACKET_DUR, NULL);
++  g_object_set (h->element,
++      "size-time", (guint64) STRESS_TEST_STORAGE_DEPTH * RTP_PACKET_DUR, NULL);
+ 
+   /* The stress test pushes buffers with STRESS_TEST_SSRCS different
+    * ssrcs from one thread and requests packets for FEC recovery from
+diff --git a/tests/check/elements/rtpulpfec.c b/tests/check/elements/rtpulpfec.c
+index e0fa972..57de5cd 100644
+--- a/tests/check/elements/rtpulpfec.c
++++ b/tests/check/elements/rtpulpfec.c
+@@ -154,7 +154,8 @@ harness_rtpulpfecdec (guint32 ssrc, guint8 lost_pt, guint8 fec_pt)
+       g_strdup_printf ("application/x-rtp,ssrc=(uint)%u,payload=(int)%u",
+       ssrc, lost_pt);
+ 
+-  gst_harness_set (h, "rtpstorage", "size-time", 200 * RTP_PACKET_DUR, NULL);
++  gst_harness_set (h, "rtpstorage", "size-time", (guint64) 200 * RTP_PACKET_DUR,
++      NULL);
+   gst_harness_get (h, "rtpstorage", "internal-storage", &internal_storage,
+       NULL);
+   gst_harness_set (h, "rtpulpfecdec", "storage", internal_storage, "pt", fec_pt,
+-- 
+cgit v1.1
+

diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.14.1.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.14.1.ebuild
index 8cb61b85005..23cb4d95b30 100644
--- a/media-libs/gst-plugins-good/gst-plugins-good-1.14.1.ebuild
+++ b/media-libs/gst-plugins-good/gst-plugins-good-1.14.1.ebuild
@@ -25,6 +25,8 @@ DEPEND="${RDEPEND}
 	>=dev-util/gtk-doc-am-1.12
 "
 
+PATCHES=( "${FILESDIR}"/${PV}-fix-32bit-rtpstorage-test.patch )
+
 multilib_src_configure() {
 	# Always enable optional bz2 support for matroska
 	# Always enable optional zlib support for qtdemux and matroska


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

* [gentoo-commits] repo/gentoo:master commit in: media-libs/gst-plugins-good/, media-libs/gst-plugins-good/files/
@ 2019-06-20 21:28 Mart Raudsepp
  0 siblings, 0 replies; 3+ messages in thread
From: Mart Raudsepp @ 2019-06-20 21:28 UTC (permalink / raw
  To: gentoo-commits

commit:     25b7db7f2eb73a5ce85f0240dc53749198a42324
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 20 21:22:51 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Thu Jun 20 21:28:33 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b7db7f

media-libs/gst-plugins-good: remove gstreamer 0.10

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 media-libs/gst-plugins-good/Manifest               |  1 -
 .../files/gst-plugins-good-0.10-clang.patch        | 18 -------
 .../gst-plugins-good-0.10.31-r2.ebuild             | 60 ----------------------
 3 files changed, 79 deletions(-)

diff --git a/media-libs/gst-plugins-good/Manifest b/media-libs/gst-plugins-good/Manifest
index d7514e282b5..b2f2e81d2f9 100644
--- a/media-libs/gst-plugins-good/Manifest
+++ b/media-libs/gst-plugins-good/Manifest
@@ -1,2 +1 @@
-DIST gst-plugins-good-0.10.31.tar.xz 2738016 BLAKE2B a015ef6993078f1c699badcc9911a835fe1d129b4e0dccb3937d49768d9202549204bbfb0d7ad575bcb77c75f73662a83912936b2664a2b1cd7c331e4d203c4f SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809
 DIST gst-plugins-good-1.14.4.tar.xz 3792524 BLAKE2B 4c7faac73d33bebe1fd53dc4cfed1a5d27b103f9c4cd801672ad52e385f09addb07cd4a0f511dff23815e3421e5202fb3d7866b7dd58fdaf101d0357c4fdc13f SHA512 30aeb3bb74571287cad1598973da38e7a43a0128d35480ded6d280c1373dc4ecd4ea76caaa04a71cdfba2e1850aee5f1b72d96be86ae92d66633e7d32081c504

diff --git a/media-libs/gst-plugins-good/files/gst-plugins-good-0.10-clang.patch b/media-libs/gst-plugins-good/files/gst-plugins-good-0.10-clang.patch
deleted file mode 100644
index 3016bfb23d3..00000000000
--- a/media-libs/gst-plugins-good/files/gst-plugins-good-0.10-clang.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- gst/goom/mmx.h.orig	2011-12-11 19:48:11.000000000 +0100
-+++ gst/goom/mmx.h	2013-02-08 00:54:14.000000000 +0100
-@@ -715,13 +715,13 @@ void zoom_filter_xmmx (int prevX, int pr
- 	{ \
- 		printf("emms()\n"); \
- 		__asm__ __volatile__ ("emms" \
--                        "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \
-+                        "st", "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \
- 	}
- 
- #else
- 
- #define	emms() __asm__ __volatile__ ("emms"::: \
--                      "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
-+                      "st", "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
- 
- #endif
- 

diff --git a/media-libs/gst-plugins-good/gst-plugins-good-0.10.31-r2.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-0.10.31-r2.ebuild
deleted file mode 100644
index 9d8e18088f2..00000000000
--- a/media-libs/gst-plugins-good/gst-plugins-good-0.10.31-r2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-GST_ORG_MODULE="gst-plugins-good"
-inherit eutils flag-o-matic gstreamer
-
-DESCRIPTION="Basepack of plugins for gstreamer"
-HOMEPAGE="https://gstreamer.freedesktop.org/"
-
-LICENSE="LGPL-2.1+"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
-IUSE="+orc"
-
-RDEPEND="
-	>=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
-	>=media-libs/gstreamer-0.10.36:${SLOT}[${MULTILIB_USEDEP}]
-	>=media-libs/gst-plugins-base-0.10.36:${SLOT}[${MULTILIB_USEDEP}]
-	>=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}]
-	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-	orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
-	>=dev-util/gtk-doc-am-1.12
-	!<media-libs/gst-plugins-bad-0.10.22:${SLOT}
-"
-# audioparsers and qtmux moves
-
-src_configure() {
-	# gst doesnt handle optimisations well
-	strip-flags
-	replace-flags "-O3" "-O2"
-	filter-flags "-fprefetch-loop-arrays" # see bug 22249
-
-	multilib-minimal_src_configure
-}
-
-src_prepare() {
-	epatch "${FILESDIR}/${PN}-0.10-clang.patch"
-}
-
-multilib_src_configure() {
-	# Always enable optional bz2 support for matroska
-	# Always enable optional zlib support for qtdemux and matroska
-	# Many media files require these to work, as some container headers are often
-	# compressed, bug #291154
-	gstreamer_multilib_src_configure \
-		--enable-bz2 \
-		--enable-zlib \
-		--disable-examples \
-		--with-default-audiosink=autoaudiosink \
-		--with-default-visualizer=goom
-}
-
-multilib_src_install_all() {
-	DOCS="AUTHORS ChangeLog NEWS README RELEASE"
-	einstalldocs
-	prune_libtool_files --modules
-}


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

end of thread, other threads:[~2019-06-20 21:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-02  5:59 [gentoo-commits] repo/gentoo:master commit in: media-libs/gst-plugins-good/, media-libs/gst-plugins-good/files/ Austin English
  -- strict thread matches above, loose matches on Subject: below --
2018-07-30  6:10 Mart Raudsepp
2019-06-20 21:28 Mart Raudsepp

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