* [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/, media-libs/gstreamer/files/
@ 2016-05-10 22:38 Anthony G. Basile
0 siblings, 0 replies; 7+ messages in thread
From: Anthony G. Basile @ 2016-05-10 22:38 UTC (permalink / raw
To: gentoo-commits
commit: f59f39fb234fe5ce1c2a4c1c63be575fa494302c
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue May 10 22:38:45 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue May 10 22:39:03 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f59f39fb
media-libs/gstreamer: fix bug #577312
Package-Manager: portage-2.2.26
.../files/gstreamer-1.6.3-fix-strsignal.patch | 29 ++++++++++++++++++++++
media-libs/gstreamer/gstreamer-1.6.3.ebuild | 4 +++
2 files changed, 33 insertions(+)
diff --git a/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch b/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch
new file mode 100644
index 0000000..e237f9b
--- /dev/null
+++ b/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch
@@ -0,0 +1,29 @@
+From c9da8b0e7f53005ab125e48165dae39fbfee2352 Mon Sep 17 00:00:00 2001
+From: "Anthony G. Basile" <blueness@gentoo.org>
+Date: Sun, 13 Mar 2016 11:05:29 -0400
+Subject: libcompat.h: strsignal() should be not be decleared const
+
+POSIX standards requires strsignal() to return a pointer to a char,
+not a const pointer to a char. [1] On uClibc, and possibly other
+libc's, that do not HAVE_DECL_STRSIGNAL, libcompat.h declares
+const char *strsignal (int sig) which causes a type error.
+
+[1] man 3 strsignal
+
+https://bugzilla.gnome.org/show_bug.cgi?id=763567
+
+diff --git a/libs/gst/check/libcheck/strsignal.c b/libs/gst/check/libcheck/strsignal.c
+index b79409b..57e71cd 100644
+--- a/libs/gst/check/libcheck/strsignal.c
++++ b/libs/gst/check/libcheck/strsignal.c
+@@ -1,6 +1,6 @@
+ #include "libcompat.h"
+
+-const char *
++char *
+ strsignal (int sig)
+ {
+ static char signame[40];
+--
+cgit v0.10.2
+
diff --git a/media-libs/gstreamer/gstreamer-1.6.3.ebuild b/media-libs/gstreamer/gstreamer-1.6.3.ebuild
index 3b77847..63ff72f 100644
--- a/media-libs/gstreamer/gstreamer-1.6.3.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.6.3.ebuild
@@ -30,6 +30,10 @@ DEPEND="${RDEPEND}
"
# gtk-doc-am to install API docs
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-strsignal.patch #577312
+}
+
src_configure() {
if [[ ${CHOST} == *-interix* ]] ; then
export ac_cv_lib_dl_dladdr=no
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/, media-libs/gstreamer/files/
@ 2016-05-11 0:27 Anthony G. Basile
0 siblings, 0 replies; 7+ messages in thread
From: Anthony G. Basile @ 2016-05-11 0:27 UTC (permalink / raw
To: gentoo-commits
commit: 13861e7374c9de155fd685ae432a16cf62ab148a
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 00:27:45 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed May 11 00:27:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13861e73
media-libs/gstreamer: correctly fix bug #577312
Package-Manager: portage-2.2.26
.../files/gstreamer-1.6.3-fix-strsignal.patch | 32 ++++++++++++++++++++++
media-libs/gstreamer/gstreamer-1.6.3.ebuild | 4 +++
2 files changed, 36 insertions(+)
diff --git a/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch b/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch
new file mode 100644
index 0000000..9d717e8
--- /dev/null
+++ b/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch
@@ -0,0 +1,32 @@
+Upstream split this one commit into two: c9da8b0 and d6e25dd because
+of some confusion. I've recombined it here. See:
+
+https://bugzilla.gnome.org/show_bug.cgi?id=763567
+https://bugs.gentoo.org/show_bug.cgi?id=577312
+
+diff --git a/libs/gst/check/libcheck/strsignal.c b/libs/gst/check/libcheck/strsignal.c
+index b79409b..57e71cd 100644
+--- a/libs/gst/check/libcheck/strsignal.c
++++ b/libs/gst/check/libcheck/strsignal.c
+@@ -1,6 +1,6 @@
+ #include "libcompat.h"
+
+-const char *
++char *
+ strsignal (int sig)
+ {
+ static char signame[40];
+
+diff --git a/libs/gst/check/libcheck/libcompat.h b/libs/gst/check/libcheck/libcompat.h
+index 32f944c..f09289b 100644
+--- a/libs/gst/check/libcheck/libcompat.h
++++ b/libs/gst/check/libcheck/libcompat.h
+@@ -101,7 +101,7 @@ CK_DLL_EXP char *strdup (const char *str);
+ #endif /* !HAVE_DECL_STRDUP && HAVE__STRDUP */
+
+ #if !HAVE_DECL_STRSIGNAL
+-CK_DLL_EXP const char *strsignal (int sig);
++CK_DLL_EXP char *strsignal (int sig);
+ #endif /* !HAVE_DECL_STRSIGNAL */
+
+ /*
diff --git a/media-libs/gstreamer/gstreamer-1.6.3.ebuild b/media-libs/gstreamer/gstreamer-1.6.3.ebuild
index 3b77847..63ff72f 100644
--- a/media-libs/gstreamer/gstreamer-1.6.3.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.6.3.ebuild
@@ -30,6 +30,10 @@ DEPEND="${RDEPEND}
"
# gtk-doc-am to install API docs
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-strsignal.patch #577312
+}
+
src_configure() {
if [[ ${CHOST} == *-interix* ]] ; then
export ac_cv_lib_dl_dladdr=no
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/, media-libs/gstreamer/files/
@ 2018-01-06 14:15 Mart Raudsepp
0 siblings, 0 replies; 7+ messages in thread
From: Mart Raudsepp @ 2018-01-06 14:15 UTC (permalink / raw
To: gentoo-commits
commit: 7ea08811f6a62123f768905908d4fd9457bf1366
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 5 19:36:19 2018 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Jan 6 14:15:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea08811
media-libs/gstreamer: remove old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
media-libs/gstreamer/Manifest | 1 -
.../gstreamer-1.10.3-automagic-libunwind.patch | 54 ----------
media-libs/gstreamer/gstreamer-1.10.5.ebuild | 111 ---------------------
3 files changed, 166 deletions(-)
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
index 36a426f6199..d92ae718d7c 100644
--- a/media-libs/gstreamer/Manifest
+++ b/media-libs/gstreamer/Manifest
@@ -1,3 +1,2 @@
DIST gstreamer-0.10.36.tar.xz 3025876 BLAKE2B f0f70f483e8ccb2a294fb3bc8b51aac089f5e76522249b64e3e60e7b488a9e03b9300617e2c137bdcc0e3e61668b7b203e899f270f004e2dfcee0927fa7dfc3c SHA512 7468abb578398681d2adb0e9bbc9ee8ae25aaef72369d45a66ada6c67d1759afdce606cb32e68d9e30ae813196bdfef3d4d33202bc77839cc1fbf5fc436c1bd8
-DIST gstreamer-1.10.5.tar.xz 3798304 BLAKE2B 37be838d5cfb7299bc9ba2a475cc8e5f339fd991150297843d238ba2d79345d90ee420ab31c78fd2b1fec7bccf1b5b7f90712e23c4474272fc8295812188cf8a SHA512 c138d672966232a4eb0fb4c49dbb39a7942d06b6474c9ee2c884eed2d470674dcbc4a3e2c7338472ac25b710788078241217391e7e5bc076ef21216cbaf0bc31
DIST gstreamer-1.12.3.tar.xz 3175480 BLAKE2B e42b908b6fef2be5d4a0ad435cab5760a5e73e6f09afa0fd0993dd84d01f956b6437beb367082002e875307970f3b4b3fcb8735f7f69836da0ba76ed186e42db SHA512 fceeeca4314aead7ff358db3474bd6fe1eef70f745a6ba20505da6c0caaea6ea6317246dc66c23edab396ca811a610c52fa930f8f99c701241ae7f15857aa2b0
diff --git a/media-libs/gstreamer/files/gstreamer-1.10.3-automagic-libunwind.patch b/media-libs/gstreamer/files/gstreamer-1.10.3-automagic-libunwind.patch
deleted file mode 100644
index 472726f5610..00000000000
--- a/media-libs/gstreamer/files/gstreamer-1.10.3-automagic-libunwind.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 930fc152babda61d2eab05f0c9cc1a1928ead731 Mon Sep 17 00:00:00 2001
-From: Mart Raudsepp <leio@gentoo.org>
-Date: Sun, 5 Feb 2017 09:03:46 +0200
-Subject: [PATCH] configure: Allow specifying libunwind usage explicitly
-
-https://bugzilla.gnome.org/show_bug.cgi?id=778193
----
- configure.ac | 23 ++++++++++++++++++-----
- 1 file changed, 18 insertions(+), 5 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 5081a75..5905430 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -827,7 +827,24 @@ fi
- AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
-
- dnl libunwind is optionally used by the leaks tracer
--PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no)
-+AC_ARG_ENABLE(libunwind,
-+ AS_HELP_STRING([--disable-libunwind],[disable using libunwind inside leaks tracer @<:@default=auto@:>@]),
-+ [LIBUNWIND="$enableval"], [LIBUNWIND="auto"])
-+
-+if test "x$LIBUNWIND" != "xno"; then
-+ PKG_CHECK_MODULES(UNWIND, libunwind, [
-+ HAVE_UNWIND=yes
-+ AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])
-+ ], [
-+ HAVE_UNWIND=no
-+ if test "x$LIBUNWIND" = "xyes"; then
-+ AC_MSG_ERROR([libunwind requested but not installed.])
-+ fi
-+ ])
-+else
-+ HAVE_UNWIND=no
-+fi
-+AM_CONDITIONAL(HAVE_UNWIND, [test "x$HAVE_UNWIND" = "xyes"])
-
- dnl Check for backtrace() from libc
- AC_CHECK_FUNC(backtrace, [
-@@ -836,10 +853,6 @@ AC_CHECK_FUNC(backtrace, [
- ], [], [])
- ])
-
--if test "x$HAVE_UNWIND" = "xyes"; then
-- AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])
--fi
--
- dnl building of unit test libraries
- AC_ARG_ENABLE(check,
- AS_HELP_STRING([--disable-check],[disable building unit test libraries]),
---
-2.10.1
-
diff --git a/media-libs/gstreamer/gstreamer-1.10.5.ebuild b/media-libs/gstreamer/gstreamer-1.10.5.ebuild
deleted file mode 100644
index 385bf7a3dca..00000000000
--- a/media-libs/gstreamer/gstreamer-1.10.5.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 eutils multilib-minimal pax-utils autotools
-
-DESCRIPTION="Open source multimedia framework"
-HOMEPAGE="https://gstreamer.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
-
-LICENSE="LGPL-2+"
-SLOT="1.0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="+caps +introspection nls +orc test unwind"
-
-RDEPEND="
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
- caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
- unwind? ( >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
- >=dev-util/gtk-doc-am-1.12
- sys-devel/bison
- sys-devel/flex
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
- nls? ( sys-devel/gettext )
-"
-# gtk-doc-am to install API docs
-
-# https://bugzilla.gnome.org/show_bug.cgi?id=778193 (remove src_prepare/eautoreconf once not needed on bump)
-PATCHES=( "${FILESDIR}"/${PN}-1.10.3-automagic-libunwind.patch )
-
-src_prepare() {
- default
- eautoreconf # Due to automagic libunwind fix
-}
-
-src_configure() {
- if [[ ${CHOST} == *-interix* ]] ; then
- export ac_cv_lib_dl_dladdr=no
- export ac_cv_func_poll=no
- fi
- if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
- # GCC groks this, but then refers to an implementation (___multi3,
- # ___udivti3) that don't exist (at least I can't find it), so force
- # this one to be off, such that we use 2x64bit emulation code.
- export gst_cv_uint128_t=no
- fi
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- # Set 'libexecdir' to ABI-specific location for the library spawns
- # helpers from there.
- # Disable static archives and examples to speed up build time
- # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
- local myconf=(
- --libexecdir="${EPREFIX}"/usr/$(get_libdir)
- --disable-debug
- --disable-examples
- --disable-static
- --disable-valgrind
- --enable-check
- $(use_enable unwind libunwind)
- $(multilib_native_use_enable introspection)
- $(use_enable nls)
- $(use_enable test tests)
- --with-bash-completion-dir="$(get_bashcompdir)"
- --with-package-name="GStreamer ebuild for Gentoo"
- --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
- )
-
- if use caps ; then
- myconf+=( --with-ptp-helper-permissions=capabilities )
- else
- myconf+=(
- --with-ptp-helper-permissions=setuid-root
- --with-ptp-helper-setuid-user=nobody
- --with-ptp-helper-setuid-group=nobody
- )
- fi
-
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-
- if multilib_is_native_abi; then
- local x
- for x in gst libs plugins; do
- ln -s "${S}"/docs/${x}/html docs/${x}/html || die
- done
- fi
-}
-
-multilib_src_install() {
- # can't do "default", we want to install docs in multilib_src_install_all
- emake DESTDIR="${D}" install
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
-}
-
-multilib_src_install_all() {
- DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
- einstalldocs
- prune_libtool_files --modules
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/, media-libs/gstreamer/files/
@ 2018-09-17 21:06 Mart Raudsepp
0 siblings, 0 replies; 7+ messages in thread
From: Mart Raudsepp @ 2018-09-17 21:06 UTC (permalink / raw
To: gentoo-commits
commit: c07c57e0160764c61989510dd2ac3a6d67f3ec7f
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 17 20:16:13 2018 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 17 21:02:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07c57e0
media-libs/gstreamer: bump to 1.14.3 for upstream bug fixes
Package-Manager: Portage-2.3.49, Repoman-2.3.10
media-libs/gstreamer/Manifest | 1 +
.../files/1.14.3-fix-gstsegment-test.patch | 46 +++++++++
media-libs/gstreamer/gstreamer-1.14.3.ebuild | 115 +++++++++++++++++++++
3 files changed, 162 insertions(+)
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
index 6d32992eabb..61a56aace43 100644
--- a/media-libs/gstreamer/Manifest
+++ b/media-libs/gstreamer/Manifest
@@ -2,3 +2,4 @@ DIST gstreamer-0.10.36.tar.xz 3025876 BLAKE2B f0f70f483e8ccb2a294fb3bc8b51aac089
DIST gstreamer-1.12.4.tar.xz 3177208 BLAKE2B cb859503edbe09cebbbfa70cb4edc5d433bbaa5b299e05921d30e6096f8765e17d449c45bd7d5ea3e4603ae46d337d4e3291b1d0456c7b72a7ebb41faad9e73a SHA512 849aa4ddf8ef465f2915e05d36fc0c31c2e31ae28be2fa38f8069a64a91b7347020fac5b881b7f3ee54c2198c3596138d49f27b09f258303834164a5d68b38a2
DIST gstreamer-1.14.1.tar.xz 3252440 BLAKE2B c2142621b126926dd9ec886f0478154b3f0d9b7adebc6169200b8bc7e4cd089dfe77cab2b436bf3c74cbcae5f84c95afbd05ba282d0afe3e8e226e6bc0f33e33 SHA512 9cf16d79774293dd7fa10c08f6628b83f4e77f0386bebbfd47ded0498e4abd48eee1aee164af53d59fbea2d395e42eb5a12ef4b8f631bc4fd5d4f69545191f9b
DIST gstreamer-1.14.2.tar.xz 3255404 BLAKE2B 290e8fec3eb6629a0e6e8f01c7c027fcc085f632afeac1ffe7bd4f1d8a9a3d3b78145334a11c91fcabea40b9f202a3b451ca55db13fd23be66c7167c76614932 SHA512 270dba318d15b54fff6e09d09d77dea13be55bbf82a5bb510efb43f954e234230505366cc6f19f5431e2dd24f5a7734daf5a89d9bd94de8302ed722df0e1eb84
+DIST gstreamer-1.14.3.tar.xz 3263036 BLAKE2B 20170b831064ea49565d7a4529563e4e9273def28d33eda779c7e3f4a60989b64844c271da529bdbbaebf80a8a86c37b97af4a18c4d0aae6182be608f3dcf345 SHA512 bfbf76219b5275b00253797323c4fc7b4edb8513d5441c80a8f778b418837c68e9ff37a72a78ac2431a051e813397fb01464bebddd1522b9e4a225ed505342b7
diff --git a/media-libs/gstreamer/files/1.14.3-fix-gstsegment-test.patch b/media-libs/gstreamer/files/1.14.3-fix-gstsegment-test.patch
new file mode 100644
index 00000000000..9b2fb2402e1
--- /dev/null
+++ b/media-libs/gstreamer/files/1.14.3-fix-gstsegment-test.patch
@@ -0,0 +1,46 @@
+From 0a479c3cdc5d5745b6cc5084d5faf3b0ab8e604a Mon Sep 17 00:00:00 2001
+From: Jan Schmidt <jan@centricular.com>
+Date: Mon, 17 Sep 2018 22:13:22 +1000
+Subject: [PATCH] tests: Use a different rate in a segment test.
+
+Using a rate of 1.1 in the test is causing the test to
+fail on 32-bit because ceil(1.1 * 10) can round to 12.
+
+Instead use a rate 2.0 that can be expressed as floating
+point number and doesn't trigger the problem.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=797154
+---
+ tests/check/gst/gstsegment.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/tests/check/gst/gstsegment.c b/tests/check/gst/gstsegment.c
+index 17ad18c2f..751469d76 100644
+--- a/tests/check/gst/gstsegment.c
++++ b/tests/check/gst/gstsegment.c
+@@ -888,7 +888,7 @@ GST_START_TEST (segment_full)
+ fail_unless_equals_int (pos, 190);
+
+ /* Test a non-1.0 rate that lands right before the segment, but still +ve */
+- segment.rate = 1.1;
++ segment.rate = 2.0;
+ segment.start = 100;
+ segment.offset = 0;
+ segment.stop = 500;
+@@ -897,11 +897,11 @@ GST_START_TEST (segment_full)
+ segment.time = 10000;
+ fail_unless (gst_segment_position_from_running_time_full (&segment,
+ GST_FORMAT_TIME, 140, &pos) == 1);
+- fail_unless (pos == 89);
++ fail_unless (pos == 80);
+ /* And now one that should give a position < 0 */
+ fail_unless (gst_segment_position_from_running_time_full (&segment,
+ GST_FORMAT_TIME, 0, &pos) == -1);
+- fail_unless (pos == 65);
++ fail_unless (pos == 200);
+
+ /* Test a non-1.0 negative rate that lands right after the (reversed) segment, but still +ve position */
+ segment.rate = -2.0;
+--
+2.17.0
+
diff --git a/media-libs/gstreamer/gstreamer-1.14.3.ebuild b/media-libs/gstreamer/gstreamer-1.14.3.ebuild
new file mode 100644
index 00000000000..ff1a74c70a2
--- /dev/null
+++ b/media-libs/gstreamer/gstreamer-1.14.3.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1 multilib-minimal pax-utils
+
+DESCRIPTION="Open source multimedia framework"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2+"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+caps +introspection nls +orc test unwind"
+
+RDEPEND="
+ >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
+ caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+ unwind? (
+ >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
+ dev-libs/elfutils[${MULTILIB_USEDEP}]
+ )
+ !<media-libs/gst-plugins-bad-1.13.1:1.0
+"
+DEPEND="${RDEPEND}
+ dev-util/glib-utils
+ >=dev-util/gtk-doc-am-1.12
+ sys-devel/bison
+ sys-devel/flex
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
+ nls? ( sys-devel/gettext )
+"
+# gtk-doc-am to install API docs
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-fix-gstsegment-test.patch
+)
+
+src_configure() {
+ if [[ ${CHOST} == *-interix* ]] ; then
+ export ac_cv_lib_dl_dladdr=no
+ export ac_cv_func_poll=no
+ fi
+ if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
+ # GCC groks this, but then refers to an implementation (___multi3,
+ # ___udivti3) that don't exist (at least I can't find it), so force
+ # this one to be off, such that we use 2x64bit emulation code.
+ export gst_cv_uint128_t=no
+ fi
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local completiondir=$(get_bashcompdir)
+ # Set 'libexecdir' to ABI-specific location for the library spawns
+ # helpers from there.
+ # Disable static archives and examples to speed up build time
+ # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
+ local myconf=(
+ --libexecdir="${EPREFIX}"/usr/$(get_libdir)
+ --disable-benchmarks
+ --disable-debug
+ --disable-examples
+ --disable-static
+ --disable-valgrind
+ --enable-check
+ $(use_with unwind)
+ $(use_with unwind dw)
+ $(multilib_native_use_enable introspection)
+ $(use_enable nls)
+ $(use_enable test tests)
+ --with-bash-completion-dir="${completiondir%/*}"
+ --with-package-name="GStreamer ebuild for Gentoo"
+ --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
+ )
+
+ if use caps ; then
+ myconf+=( --with-ptp-helper-permissions=capabilities )
+ else
+ myconf+=(
+ --with-ptp-helper-permissions=setuid-root
+ --with-ptp-helper-setuid-user=nobody
+ --with-ptp-helper-setuid-group=nobody
+ )
+ fi
+
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+
+ if multilib_is_native_abi; then
+ local x
+ for x in gst libs plugins; do
+ ln -s "${S}"/docs/${x}/html docs/${x}/html || die
+ done
+ fi
+}
+
+multilib_src_install() {
+ # can't do "default", we want to install docs in multilib_src_install_all
+ emake DESTDIR="${D}" install
+
+ # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
+ use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
+}
+
+multilib_src_install_all() {
+ DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+
+ # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
+ use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/, media-libs/gstreamer/files/
@ 2019-01-15 23:38 Mart Raudsepp
0 siblings, 0 replies; 7+ messages in thread
From: Mart Raudsepp @ 2019-01-15 23:38 UTC (permalink / raw
To: gentoo-commits
commit: 1ce74bd7f557ddfa7b3f7fe0345f86dad4cc6a11
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 15 23:35:42 2019 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Jan 15 23:35:42 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce74bd7
media-libs/gstreamer: remove old
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
media-libs/gstreamer/Manifest | 2 -
.../files/1.14.3-fix-gstsegment-test.patch | 46 ---------
media-libs/gstreamer/gstreamer-1.14.2.ebuild | 111 --------------------
media-libs/gstreamer/gstreamer-1.14.3.ebuild | 115 ---------------------
4 files changed, 274 deletions(-)
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
index a0a6a3781b0..c2ba6ccfc53 100644
--- a/media-libs/gstreamer/Manifest
+++ b/media-libs/gstreamer/Manifest
@@ -1,5 +1,3 @@
DIST gstreamer-0.10.36.tar.xz 3025876 BLAKE2B f0f70f483e8ccb2a294fb3bc8b51aac089f5e76522249b64e3e60e7b488a9e03b9300617e2c137bdcc0e3e61668b7b203e899f270f004e2dfcee0927fa7dfc3c SHA512 7468abb578398681d2adb0e9bbc9ee8ae25aaef72369d45a66ada6c67d1759afdce606cb32e68d9e30ae813196bdfef3d4d33202bc77839cc1fbf5fc436c1bd8
DIST gstreamer-1.14.1.tar.xz 3252440 BLAKE2B c2142621b126926dd9ec886f0478154b3f0d9b7adebc6169200b8bc7e4cd089dfe77cab2b436bf3c74cbcae5f84c95afbd05ba282d0afe3e8e226e6bc0f33e33 SHA512 9cf16d79774293dd7fa10c08f6628b83f4e77f0386bebbfd47ded0498e4abd48eee1aee164af53d59fbea2d395e42eb5a12ef4b8f631bc4fd5d4f69545191f9b
-DIST gstreamer-1.14.2.tar.xz 3255404 BLAKE2B 290e8fec3eb6629a0e6e8f01c7c027fcc085f632afeac1ffe7bd4f1d8a9a3d3b78145334a11c91fcabea40b9f202a3b451ca55db13fd23be66c7167c76614932 SHA512 270dba318d15b54fff6e09d09d77dea13be55bbf82a5bb510efb43f954e234230505366cc6f19f5431e2dd24f5a7734daf5a89d9bd94de8302ed722df0e1eb84
-DIST gstreamer-1.14.3.tar.xz 3263036 BLAKE2B 20170b831064ea49565d7a4529563e4e9273def28d33eda779c7e3f4a60989b64844c271da529bdbbaebf80a8a86c37b97af4a18c4d0aae6182be608f3dcf345 SHA512 bfbf76219b5275b00253797323c4fc7b4edb8513d5441c80a8f778b418837c68e9ff37a72a78ac2431a051e813397fb01464bebddd1522b9e4a225ed505342b7
DIST gstreamer-1.14.4.tar.xz 3264324 BLAKE2B d51febcd7c317964a09dadb4d3bd3ee7a60ac38bef28cdd7d42f49a7b710d6f6180ca7edee1765c8d146f7e3e852e93d0d5f69962089a653cfc3e6bd4ab42f89 SHA512 7ece9f01d40df7c8358482eac94536c5e15261e9568962008e2029e1ee1b3ebb220d2e4802ed1c81c40d897576fafe52234065e273724bfb4df3a3ddf2711abe
diff --git a/media-libs/gstreamer/files/1.14.3-fix-gstsegment-test.patch b/media-libs/gstreamer/files/1.14.3-fix-gstsegment-test.patch
deleted file mode 100644
index 9b2fb2402e1..00000000000
--- a/media-libs/gstreamer/files/1.14.3-fix-gstsegment-test.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 0a479c3cdc5d5745b6cc5084d5faf3b0ab8e604a Mon Sep 17 00:00:00 2001
-From: Jan Schmidt <jan@centricular.com>
-Date: Mon, 17 Sep 2018 22:13:22 +1000
-Subject: [PATCH] tests: Use a different rate in a segment test.
-
-Using a rate of 1.1 in the test is causing the test to
-fail on 32-bit because ceil(1.1 * 10) can round to 12.
-
-Instead use a rate 2.0 that can be expressed as floating
-point number and doesn't trigger the problem.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=797154
----
- tests/check/gst/gstsegment.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tests/check/gst/gstsegment.c b/tests/check/gst/gstsegment.c
-index 17ad18c2f..751469d76 100644
---- a/tests/check/gst/gstsegment.c
-+++ b/tests/check/gst/gstsegment.c
-@@ -888,7 +888,7 @@ GST_START_TEST (segment_full)
- fail_unless_equals_int (pos, 190);
-
- /* Test a non-1.0 rate that lands right before the segment, but still +ve */
-- segment.rate = 1.1;
-+ segment.rate = 2.0;
- segment.start = 100;
- segment.offset = 0;
- segment.stop = 500;
-@@ -897,11 +897,11 @@ GST_START_TEST (segment_full)
- segment.time = 10000;
- fail_unless (gst_segment_position_from_running_time_full (&segment,
- GST_FORMAT_TIME, 140, &pos) == 1);
-- fail_unless (pos == 89);
-+ fail_unless (pos == 80);
- /* And now one that should give a position < 0 */
- fail_unless (gst_segment_position_from_running_time_full (&segment,
- GST_FORMAT_TIME, 0, &pos) == -1);
-- fail_unless (pos == 65);
-+ fail_unless (pos == 200);
-
- /* Test a non-1.0 negative rate that lands right after the (reversed) segment, but still +ve position */
- segment.rate = -2.0;
---
-2.17.0
-
diff --git a/media-libs/gstreamer/gstreamer-1.14.2.ebuild b/media-libs/gstreamer/gstreamer-1.14.2.ebuild
deleted file mode 100644
index fcdb78c174d..00000000000
--- a/media-libs/gstreamer/gstreamer-1.14.2.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 multilib-minimal pax-utils
-
-DESCRIPTION="Open source multimedia framework"
-HOMEPAGE="https://gstreamer.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
-
-LICENSE="LGPL-2+"
-SLOT="1.0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="+caps +introspection nls +orc test unwind"
-
-RDEPEND="
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
- caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
- unwind? (
- >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
- dev-libs/elfutils[${MULTILIB_USEDEP}]
- )
- !<media-libs/gst-plugins-bad-1.13.1:1.0
-"
-DEPEND="${RDEPEND}
- dev-util/glib-utils
- >=dev-util/gtk-doc-am-1.12
- sys-devel/bison
- sys-devel/flex
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
- nls? ( sys-devel/gettext )
-"
-# gtk-doc-am to install API docs
-
-src_configure() {
- if [[ ${CHOST} == *-interix* ]] ; then
- export ac_cv_lib_dl_dladdr=no
- export ac_cv_func_poll=no
- fi
- if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
- # GCC groks this, but then refers to an implementation (___multi3,
- # ___udivti3) that don't exist (at least I can't find it), so force
- # this one to be off, such that we use 2x64bit emulation code.
- export gst_cv_uint128_t=no
- fi
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local completiondir=$(get_bashcompdir)
- # Set 'libexecdir' to ABI-specific location for the library spawns
- # helpers from there.
- # Disable static archives and examples to speed up build time
- # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
- local myconf=(
- --libexecdir="${EPREFIX}"/usr/$(get_libdir)
- --disable-benchmarks
- --disable-debug
- --disable-examples
- --disable-static
- --disable-valgrind
- --enable-check
- $(use_with unwind)
- $(use_with unwind dw)
- $(multilib_native_use_enable introspection)
- $(use_enable nls)
- $(use_enable test tests)
- --with-bash-completion-dir="${completiondir%/*}"
- --with-package-name="GStreamer ebuild for Gentoo"
- --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
- )
-
- if use caps ; then
- myconf+=( --with-ptp-helper-permissions=capabilities )
- else
- myconf+=(
- --with-ptp-helper-permissions=setuid-root
- --with-ptp-helper-setuid-user=nobody
- --with-ptp-helper-setuid-group=nobody
- )
- fi
-
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-
- if multilib_is_native_abi; then
- local x
- for x in gst libs plugins; do
- ln -s "${S}"/docs/${x}/html docs/${x}/html || die
- done
- fi
-}
-
-multilib_src_install() {
- # can't do "default", we want to install docs in multilib_src_install_all
- emake DESTDIR="${D}" install
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
-}
-
-multilib_src_install_all() {
- DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
- einstalldocs
- find "${ED}" -name '*.la' -delete || die
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
-}
diff --git a/media-libs/gstreamer/gstreamer-1.14.3.ebuild b/media-libs/gstreamer/gstreamer-1.14.3.ebuild
deleted file mode 100644
index ff1a74c70a2..00000000000
--- a/media-libs/gstreamer/gstreamer-1.14.3.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 multilib-minimal pax-utils
-
-DESCRIPTION="Open source multimedia framework"
-HOMEPAGE="https://gstreamer.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
-
-LICENSE="LGPL-2+"
-SLOT="1.0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="+caps +introspection nls +orc test unwind"
-
-RDEPEND="
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
- caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
- unwind? (
- >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
- dev-libs/elfutils[${MULTILIB_USEDEP}]
- )
- !<media-libs/gst-plugins-bad-1.13.1:1.0
-"
-DEPEND="${RDEPEND}
- dev-util/glib-utils
- >=dev-util/gtk-doc-am-1.12
- sys-devel/bison
- sys-devel/flex
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
- nls? ( sys-devel/gettext )
-"
-# gtk-doc-am to install API docs
-
-PATCHES=(
- "${FILESDIR}"/${PV}-fix-gstsegment-test.patch
-)
-
-src_configure() {
- if [[ ${CHOST} == *-interix* ]] ; then
- export ac_cv_lib_dl_dladdr=no
- export ac_cv_func_poll=no
- fi
- if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
- # GCC groks this, but then refers to an implementation (___multi3,
- # ___udivti3) that don't exist (at least I can't find it), so force
- # this one to be off, such that we use 2x64bit emulation code.
- export gst_cv_uint128_t=no
- fi
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local completiondir=$(get_bashcompdir)
- # Set 'libexecdir' to ABI-specific location for the library spawns
- # helpers from there.
- # Disable static archives and examples to speed up build time
- # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
- local myconf=(
- --libexecdir="${EPREFIX}"/usr/$(get_libdir)
- --disable-benchmarks
- --disable-debug
- --disable-examples
- --disable-static
- --disable-valgrind
- --enable-check
- $(use_with unwind)
- $(use_with unwind dw)
- $(multilib_native_use_enable introspection)
- $(use_enable nls)
- $(use_enable test tests)
- --with-bash-completion-dir="${completiondir%/*}"
- --with-package-name="GStreamer ebuild for Gentoo"
- --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
- )
-
- if use caps ; then
- myconf+=( --with-ptp-helper-permissions=capabilities )
- else
- myconf+=(
- --with-ptp-helper-permissions=setuid-root
- --with-ptp-helper-setuid-user=nobody
- --with-ptp-helper-setuid-group=nobody
- )
- fi
-
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-
- if multilib_is_native_abi; then
- local x
- for x in gst libs plugins; do
- ln -s "${S}"/docs/${x}/html docs/${x}/html || die
- done
- fi
-}
-
-multilib_src_install() {
- # can't do "default", we want to install docs in multilib_src_install_all
- emake DESTDIR="${D}" install
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
-}
-
-multilib_src_install_all() {
- DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
- einstalldocs
- find "${ED}" -name '*.la' -delete || die
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/, media-libs/gstreamer/files/
@ 2021-02-20 9:42 Mart Raudsepp
0 siblings, 0 replies; 7+ messages in thread
From: Mart Raudsepp @ 2021-02-20 9:42 UTC (permalink / raw
To: gentoo-commits
commit: c0c8b719e6fe6bdb4f7b2cf19b7db96ae94f011f
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 20 09:41:33 2021 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Feb 20 09:41:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c8b719
media-libs/gstreamer: remove old
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
media-libs/gstreamer/Manifest | 2 -
.../files/1.14-glib-2.60-tests-compat.patch | 56 -----------
.../gstreamer/files/gstreamer-1.14.5-make43.patch | 84 ----------------
media-libs/gstreamer/gstreamer-1.14.5.ebuild | 106 ---------------------
media-libs/gstreamer/gstreamer-1.16.2.ebuild | 104 --------------------
5 files changed, 352 deletions(-)
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
index ca5cea23af7..fd1723b3512 100644
--- a/media-libs/gstreamer/Manifest
+++ b/media-libs/gstreamer/Manifest
@@ -1,3 +1 @@
-DIST gstreamer-1.14.5.tar.xz 3268756 BLAKE2B 6ef5bdcb103b4d8fd581ae7342d6d467f4c6919610bdd620e4a531755347d8e3276a50f2e637045b9b97cbf7726495608437c180d37a1019ec8a79ab1bc4e4d6 SHA512 1a97ae17f8fff041db5e24d712d33c7116e408be1fabc2abd7b652b067b6ebe6c0943845a33a21335a5b4fa0a1ba178873158659f761f1e3aab04a969029c5d8
-DIST gstreamer-1.16.2.tar.xz 3328600 BLAKE2B 9bc12330fc5a7fa3a65e2c03f9d06172d787e9aadb4c2cb7d98f8f7c5850e05535cf23f747bf89514a609447f3894942bcb2fa4a6d3d3406e129e1eb67b49158 SHA512 a8dcdb452a88f411676e54016fcf83149068b2f0b60422bebdbc81220078c61c415512006010ba0299df81ffb59853695c3ce00580f8fc46a079f6aaaa42609f
DIST gstreamer-1.16.3.tar.xz 3338692 BLAKE2B 79eb08bc446073fadf881adea0f60a2caf6384836df975f80ce0e57db6469e6a016cab38413d3de00d11b491a0281f95dcbcd1f782b31f2d1a07b866c1ed7dd5 SHA512 4a879e71f65c89609c2e106dc79222853e6f37830638d5b9624c436fc9d8974cc6474d399eff02cdc13ff7189fcd13e9450450d36c3a6092aa53cb97056f5854
diff --git a/media-libs/gstreamer/files/1.14-glib-2.60-tests-compat.patch b/media-libs/gstreamer/files/1.14-glib-2.60-tests-compat.patch
deleted file mode 100644
index ca74bf0cc2e..00000000000
--- a/media-libs/gstreamer/files/1.14-glib-2.60-tests-compat.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 4a7739f4b6442814696bbd0706ab9a1ce1462d80 Mon Sep 17 00:00:00 2001
-From: Havard Graff <havard.graff@gmail.com>
-Date: Wed, 31 Oct 2018 10:27:23 +0100
-Subject: [PATCH] tests/uri: fix test after GHashTable changes in GLib 2.59
-
-Maybe the implementation should not be dependent on a "random" hash-table
-ordering, but at least this shows the problem clearly.
----
- tests/check/gst/gsturi.c | 16 +++++++++++++++-
- 1 file changed, 15 insertions(+), 1 deletion(-)
-
-diff --git a/tests/check/gst/gsturi.c b/tests/check/gst/gsturi.c
-index ee623dbcf..fa87c7c77 100644
---- a/tests/check/gst/gsturi.c
-+++ b/tests/check/gst/gsturi.c
-@@ -414,7 +414,11 @@ static const struct URITest url_presenting_tests[] = {
- {.uri = {"scheme", "user:pass", "host", 1234, "/path/to/dir",
- {{"query", NULL}, {"key", "value"}}, "fragment"},
- .str =
-+#if GLIB_CHECK_VERSION(2, 59, 0)
-+ "scheme://user:pass@host:1234/path/to/dir?key=value&query#fragment"},
-+#else
- "scheme://user:pass@host:1234/path/to/dir?query&key=value#fragment"},
-+#endif
-
- /* IPv6 literal should render in square brackets */
- {.uri = {"scheme", "user:pass", "12:34:56:78:9a:bc:de:f0", 1234,
-@@ -977,14 +981,24 @@ GST_START_TEST (test_url_get_set)
-
- fail_unless (gst_uri_set_query_value (url, "key", "value"));
- tmp_str = gst_uri_to_string (url);
-+#if GLIB_CHECK_VERSION(2, 59, 0)
-+ fail_unless_equals_string (tmp_str,
-+ "//example.com/path/to/file/there/segment?key=value&query#fragment");
-+#else
- fail_unless_equals_string (tmp_str,
-- "//example.com/path/to/file/there/segment?query&key=value#fragment");
-+ "//example.com/path/to/file/there/segment?query&key=value#fragment");
-+#endif
- g_free (tmp_str);
-
- fail_unless (gst_uri_set_query_value (url, "key", NULL));
- tmp_str = gst_uri_to_string (url);
-+#if GLIB_CHECK_VERSION(2, 59, 0)
-+ fail_unless_equals_string (tmp_str,
-+ "//example.com/path/to/file/there/segment?key&query#fragment");
-+#else
- fail_unless_equals_string (tmp_str,
- "//example.com/path/to/file/there/segment?query&key#fragment");
-+#endif
- g_free (tmp_str);
-
- fail_unless (!gst_uri_set_query_value (NULL, "key", "value"));
---
-2.20.1
-
diff --git a/media-libs/gstreamer/files/gstreamer-1.14.5-make43.patch b/media-libs/gstreamer/files/gstreamer-1.14.5-make43.patch
deleted file mode 100644
index e22cc9f8b45..00000000000
--- a/media-libs/gstreamer/files/gstreamer-1.14.5-make43.patch
+++ /dev/null
@@ -1,84 +0,0 @@
---- a/common/glib-gen.mak
-+++ b/common/glib-gen.mak
-@@ -1,11 +1,13 @@
- # these are the variables your Makefile.am should set
- # the example is based on the colorbalance interface
-
-+H := \#
-+
- #glib_enum_headers=$(colorbalance_headers)
- #glib_enum_define=GST_COLOR_BALANCE
- #glib_enum_prefix=gst_color_balance
-
--enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
-+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
-
- # these are all the rules generating the relevant files
- %-marshal.h: %-marshal.list
---- a/common/gst-glib-gen.mak
-+++ b/common/gst-glib-gen.mak
-@@ -1,14 +1,16 @@
- # these are the variables your Makefile.am should set
- # the example is based on the colorbalance interface
-
-+H := \#
-+
- #glib_enum_headers=$(colorbalance_headers)
- #glib_enum_define=GST_COLOR_BALANCE
- #glib_gen_prefix=gst_color_balance
- #glib_gen_basename=colorbalance
- #glib_gen_decl_banner=GST_EXPORT
--#glib_gen_decl_include=\#include <gst/foo/foo-prelude.h>
-+#glib_gen_decl_include=$(H)include <gst/foo/foo-prelude.h>
-
--enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
-+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
-
- # these are all the rules generating the relevant files
- $(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list
---- a/libs/gst/controller/Makefile.in
-+++ b/libs/gst/controller/Makefile.in
-@@ -17,13 +17,6 @@
- # these are the variables your Makefile.am should set
- # the example is based on the colorbalance interface
-
--#glib_enum_headers=$(colorbalance_headers)
--#glib_enum_define=GST_COLOR_BALANCE
--#glib_gen_prefix=gst_color_balance
--#glib_gen_basename=colorbalance
--#glib_gen_decl_banner=GST_EXPORT
--#glib_gen_decl_include=\#include <gst/foo/foo-prelude.h>
--
-
-
- VPATH = @srcdir@
-@@ -550,11 +543,12 @@
- gstinterpolationcontrolsource.h \
- gstlfocontrolsource.h
-
-+H := \#
- glib_enum_define = GST_CONTROLLER
- glib_gen_prefix = gst
- glib_gen_basename = controller
- glib_gen_decl_banner = GST_CONTROLLER_API
--glib_gen_decl_include = \#include <gst/controller/controller-prelude.h>
-+glib_gen_decl_include = $(H)include <gst/controller/controller-prelude.h>
- built_sources = controller-enumtypes.c
- built_headers = controller-enumtypes.h
- BUILT_SOURCES = $(built_sources) $(built_headers)
-@@ -587,7 +581,14 @@
- libgstcontroller_@GST_API_VERSION@_la_LIBADD = $(GST_OBJ_LIBS) $(LIBM)
- libgstcontroller_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
- CLEANFILES = *.gcno *.gcda *.gcov $(BUILT_SOURCES) $(am__append_1)
--enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
-+
-+#glib_enum_headers=$(colorbalance_headers)
-+#glib_enum_define=GST_COLOR_BALANCE
-+#glib_gen_prefix=gst_color_balance
-+#glib_gen_basename=colorbalance
-+#glib_gen_decl_banner=GST_EXPORT
-+#glib_gen_decl_include=$(H)include <gst/foo/foo-prelude.h>
-+enum_headers = $(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
- @HAVE_INTROSPECTION_TRUE@BUILT_GIRSOURCES = GstController-@GST_API_VERSION@.gir
- @HAVE_INTROSPECTION_TRUE@gir_headers = $(patsubst %,$(srcdir)/%, \
- @HAVE_INTROSPECTION_TRUE@ $(libgstcontroller_@GST_API_VERSION@_include_HEADERS)) \
diff --git a/media-libs/gstreamer/gstreamer-1.14.5.ebuild b/media-libs/gstreamer/gstreamer-1.14.5.ebuild
deleted file mode 100644
index 0610aeed9ce..00000000000
--- a/media-libs/gstreamer/gstreamer-1.14.5.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 multilib-minimal pax-utils
-
-DESCRIPTION="Open source multimedia framework"
-HOMEPAGE="https://gstreamer.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
-
-LICENSE="LGPL-2+"
-SLOT="1.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
-IUSE="+caps +introspection nls +orc test unwind"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
- caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
- unwind? (
- >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
- dev-libs/elfutils[${MULTILIB_USEDEP}]
- )
- !<media-libs/gst-plugins-bad-1.13.1:1.0
-"
-DEPEND="${RDEPEND}
- dev-util/glib-utils
- >=dev-util/gtk-doc-am-1.12
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-# gtk-doc-am to install API docs
-
-PATCHES=(
- "${FILESDIR}"/1.14-glib-2.60-tests-compat.patch
- "${FILESDIR}"/${PN}-1.14.5-make43.patch # remove when bumping and switching to Meson
-)
-
-src_configure() {
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local completiondir=$(get_bashcompdir)
- # Set 'libexecdir' to ABI-specific location for the library spawns
- # helpers from there.
- # Disable static archives and examples to speed up build time
- # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
- local myconf=(
- --libexecdir="${EPREFIX}"/usr/$(get_libdir)
- --disable-benchmarks
- --disable-debug
- --disable-examples
- --disable-static
- --disable-valgrind
- --enable-check
- $(use_with unwind)
- $(use_with unwind dw)
- $(multilib_native_use_enable introspection)
- $(use_enable nls)
- $(use_enable test tests)
- --with-bash-completion-dir="${completiondir%/*}"
- --with-package-name="GStreamer ebuild for Gentoo"
- --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
- )
-
- if use caps ; then
- myconf+=( --with-ptp-helper-permissions=capabilities )
- else
- myconf+=(
- --with-ptp-helper-permissions=setuid-root
- --with-ptp-helper-setuid-user=nobody
- --with-ptp-helper-setuid-group=nobody
- )
- fi
-
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-
- if multilib_is_native_abi; then
- local x
- for x in gst libs plugins; do
- ln -s "${S}"/docs/${x}/html docs/${x}/html || die
- done
- fi
-}
-
-multilib_src_install() {
- # can't do "default", we want to install docs in multilib_src_install_all
- emake DESTDIR="${D}" install
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
-}
-
-multilib_src_install_all() {
- DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
- einstalldocs
- find "${ED}" -name '*.la' -delete || die
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
-}
diff --git a/media-libs/gstreamer/gstreamer-1.16.2.ebuild b/media-libs/gstreamer/gstreamer-1.16.2.ebuild
deleted file mode 100644
index d2ffca1d69d..00000000000
--- a/media-libs/gstreamer/gstreamer-1.16.2.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 multilib-minimal pax-utils
-
-DESCRIPTION="Open source multimedia framework"
-HOMEPAGE="https://gstreamer.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
-
-LICENSE="LGPL-2+"
-SLOT="1.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
-IUSE="+caps +introspection nls +orc test unwind"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
- caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
- unwind? (
- >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
- dev-libs/elfutils[${MULTILIB_USEDEP}]
- )
- !<media-libs/gst-plugins-bad-1.13.1:1.0
-"
-DEPEND="${RDEPEND}
- dev-util/glib-utils
- >=dev-util/gtk-doc-am-1.12
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.14.5-make43.patch # remove when bumping and switching to Meson
-)
-
-src_configure() {
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local completiondir=$(get_bashcompdir)
- # Set 'libexecdir' to ABI-specific location for the library spawns
- # helpers from there.
- # Disable static archives and examples to speed up build time
- # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
- local myconf=(
- --libexecdir="${EPREFIX}"/usr/$(get_libdir)
- --disable-benchmarks
- --disable-debug
- --disable-examples
- --disable-static
- --disable-valgrind
- --enable-check
- $(use_with unwind)
- $(use_with unwind dw)
- $(multilib_native_use_enable introspection)
- $(use_enable nls)
- $(use_enable test tests)
- --with-bash-completion-dir="${completiondir%/*}"
- --with-package-name="GStreamer ebuild for Gentoo"
- --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
- )
-
- if use caps ; then
- myconf+=( --with-ptp-helper-permissions=capabilities )
- else
- myconf+=(
- --with-ptp-helper-permissions=setuid-root
- --with-ptp-helper-setuid-user=nobody
- --with-ptp-helper-setuid-group=nobody
- )
- fi
-
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-
- if multilib_is_native_abi; then
- local x
- for x in gst libs plugins; do
- ln -s "${S}"/docs/${x}/html docs/${x}/html || die
- done
- fi
-}
-
-multilib_src_install() {
- # can't do "default", we want to install docs in multilib_src_install_all
- emake DESTDIR="${D}" install
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
-}
-
-multilib_src_install_all() {
- DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
- einstalldocs
- find "${ED}" -name '*.la' -delete || die
-
- # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
- use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/, media-libs/gstreamer/files/
@ 2022-05-18 5:53 WANG Xuerui
0 siblings, 0 replies; 7+ messages in thread
From: WANG Xuerui @ 2022-05-18 5:53 UTC (permalink / raw
To: gentoo-commits
commit: 3a9e9e241e735eb9cd1a8bfe1340e8665ccd3680
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 05:50:26 2022 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Wed May 18 05:50:44 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9e9e24
media-libs/gstreamer: fix build on loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
.../gstreamer/files/gstreamer-1.20-loong.patch | 28 ++++++++++++++++++++++
media-libs/gstreamer/gstreamer-1.20.2.ebuild | 4 ++++
2 files changed, 32 insertions(+)
diff --git a/media-libs/gstreamer/files/gstreamer-1.20-loong.patch b/media-libs/gstreamer/files/gstreamer-1.20-loong.patch
new file mode 100644
index 000000000000..833c217ca829
--- /dev/null
+++ b/media-libs/gstreamer/files/gstreamer-1.20-loong.patch
@@ -0,0 +1,28 @@
+https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2443,
+with file path tweaked to suit dist tarball layout.
+
+From: WANG Xuerui <xen0n@gentoo.org>
+Date: Wed, 18 May 2022 10:04:08 +0800
+Subject: [PATCH] gstreamer/gst/gstconfig.h.in: Add support for LoongArch
+
+While current and future LoongArch machines that are supposed to run
+GStreamer all support unaligned accesses, there might be future
+lower-end cores (e.g. the embedded product line) without such support,
+and we may not want to penalize these use cases.
+
+So, mark LoongArch as not supporting unaligned accesses for now, and
+hope the compilers do a good job optimizing them. We can always flip
+switch later.
+
+Suggested-by: CHEN Tao <redeast_cn@outlook.com>
+--- a/gst/gstconfig.h.in
++++ b/gst/gstconfig.h.in
+@@ -124,7 +124,7 @@
+ * http://docs.oracle.com/cd/E19205-01/820-4155/c++_faq.html#Vers6
+ * https://software.intel.com/en-us/node/583402
+ */
+-#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) || defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || defined(_M_ARM) || defined(_M_ARM64) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__) || defined(__riscv) || defined(__ARC64__)
++#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) || defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || defined(_M_ARM) || defined(_M_ARM64) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__) || defined(__riscv) || defined(__ARC64__) || defined(__loongarch__)
+ # define GST_HAVE_UNALIGNED_ACCESS 0
+ #elif defined(__i386__) || defined(__i386) || defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__ppc__) || defined(__ppc64__) || defined(__powerpc__) || defined(__powerpc64__) || defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || defined(__s390__) || defined(__s390x__) || defined(__zarch__)
+ # define GST_HAVE_UNALIGNED_ACCESS 1
diff --git a/media-libs/gstreamer/gstreamer-1.20.2.ebuild b/media-libs/gstreamer/gstreamer-1.20.2.ebuild
index ef777a56fe5a..9372a822f7e7 100644
--- a/media-libs/gstreamer/gstreamer-1.20.2.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.20.2.ebuild
@@ -33,6 +33,10 @@ BDEPEND="
DOCS=( AUTHORS ChangeLog NEWS MAINTAINERS README.md RELEASE )
+PATCHES=(
+ "${FILESDIR}/${PN}-1.20-loong.patch"
+)
+
multilib_src_configure() {
local emesonargs=(
-Dbenchmarks=disabled
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-05-18 5:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-18 5:53 [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/, media-libs/gstreamer/files/ WANG Xuerui
-- strict thread matches above, loose matches on Subject: below --
2021-02-20 9:42 Mart Raudsepp
2019-01-15 23:38 Mart Raudsepp
2018-09-17 21:06 Mart Raudsepp
2018-01-06 14:15 Mart Raudsepp
2016-05-11 0:27 Anthony G. Basile
2016-05-10 22:38 Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox