Package: gst-plugins-ugly0.10
Version: 0.10.19-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer,
For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary instead of just config.{sub,guess} updates with
autotools-dev. This is because we need new libtool macros for ppc64el.
In Ubuntu, the attached patch was applied to achieve the following:
* Actually use dh-autoreconf to fix FTBFS on ppc64el.
* Drop 99_ltmain_as-needed.patch (use --as-needed in d/rules instead).
* Drop LIBTOOLIZE boolean in debian/rules, as we now want to run it with dh-
autoreconf.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12.0-7-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru gst-plugins-ugly0.10-0.10.19/debian/patches/99_ltmain_as-needed.patch gst-plugins-ugly0.10-0.10.19/debian/patches/99_ltmain_as-needed.patch
--- gst-plugins-ugly0.10-0.10.19/debian/patches/99_ltmain_as-needed.patch 2012-02-21 04:50:39.000000000 -0500
+++ gst-plugins-ugly0.10-0.10.19/debian/patches/99_ltmain_as-needed.patch 1969-12-31 19:00:00.000000000 -0500
@@ -1,32 +0,0 @@
-diff --git a/ltmain.sh b/ltmain.sh
-index c7d06c3..7bc27f2 100644
---- a/ltmain.sh
-+++ b/ltmain.sh
-@@ -5800,6 +5800,11 @@ func_mode_link ()
- arg=$func_stripname_result
- ;;
-
-+ -Wl,--as-needed)
-+ deplibs="$deplibs $arg"
-+ continue
-+ ;;
-+
- -Wl,*)
- func_stripname '-Wl,' '' "$arg"
- args=$func_stripname_result
-@@ -6163,6 +6168,15 @@ func_mode_link ()
- lib=
- found=no
- case $deplib in
-+ -Wl,--as-needed)
-+ if test "$linkmode,$pass" = "prog,link"; then
-+ compile_deplibs="$deplib $compile_deplibs"
-+ finalize_deplibs="$deplib $finalize_deplibs"
-+ else
-+ deplibs="$deplib $deplibs"
-+ fi
-+ continue
-+ ;;
- -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
- |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
- if test "$linkmode,$pass" = "prog,link"; then
diff -Nru gst-plugins-ugly0.10-0.10.19/debian/patches/series gst-plugins-ugly0.10-0.10.19/debian/patches/series
--- gst-plugins-ugly0.10-0.10.19/debian/patches/series 2012-04-23 02:52:15.000000000 -0400
+++ gst-plugins-ugly0.10-0.10.19/debian/patches/series 2014-01-03 21:41:22.000000000 -0500
@@ -1,2 +1 @@
01_opencore-amr-0.1.3.patch
-99_ltmain_as-needed.patch
diff -Nru gst-plugins-ugly0.10-0.10.19/debian/rules gst-plugins-ugly0.10-0.10.19/debian/rules
--- gst-plugins-ugly0.10-0.10.19/debian/rules 2012-04-23 02:52:32.000000000 -0400
+++ gst-plugins-ugly0.10-0.10.19/debian/rules 2014-01-06 00:07:50.000000000 -0500
@@ -3,13 +3,13 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk
--include /usr/share/cdbs/1/rules/autoreconf.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
-# make autoreconf not call libtoolize since we ship a patch for ltmain.sh
-export LIBTOOLIZE=true
# make autoreconf not call autopoint since we ship a patch for po/Makefile.in.in
export AUTOPOINT=true
+DEB_DH_AUTORECONF_ARGS=--as-needed
+
CFLAGS += -Wno-error
CXXFLAGS += -Wno-error
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
_______________________________________________
pkg-gstreamer-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-gstreamer-maintainers