[clutter-gst] use dolt on all Linuxes, workarounds issue with internal libtool

Dan Horák sharkcz at fedoraproject.org
Wed Jun 29 11:51:19 UTC 2011


commit 70bb63484d169598fd0d591f763f9a65d5e7d87b
Author: Dan Horák <dan at danny.cz>
Date:   Wed Jun 29 13:51:00 2011 +0200

    use dolt on all Linuxes, workarounds issue with internal libtool

 clutter-gst-1.3.12-dolt.patch |   12 ++++++++++++
 clutter-gst.spec              |    9 ++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gst-1.3.12-dolt.patch b/clutter-gst-1.3.12-dolt.patch
new file mode 100644
index 0000000..5036f95
--- /dev/null
+++ b/clutter-gst-1.3.12-dolt.patch
@@ -0,0 +1,12 @@
+diff -up clutter-gst-1.3.12/configure.dolt clutter-gst-1.3.12/configure
+--- clutter-gst-1.3.12/configure.dolt	2011-06-29 12:40:11.000000000 +0200
++++ clutter-gst-1.3.12/configure	2011-06-29 12:40:45.000000000 +0200
+@@ -11009,7 +11009,7 @@ if test x$GCC != xyes; then
+     dolt_supported=no
+ fi
+ case $host in
+-i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
++*-*-linux* \
+ |amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
+     pic_options='-fPIC'
+     ;;
diff --git a/clutter-gst.spec b/clutter-gst.spec
index 6d0f415..b5cdb7d 100644
--- a/clutter-gst.spec
+++ b/clutter-gst.spec
@@ -1,12 +1,15 @@
 Name:           clutter-gst
 Version:        1.3.12
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        ClutterMedia interface to GStreamer
 
 Group:          Development/Languages
 License:        LGPLv2+
 URL:            http://www.clutter-project.org
 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.3/%{name}-%{version}.tar.bz2
+# http://cgit.freedesktop.org/dolt/commit/?id=b6a7ccd13501ee2099c9819af4b36587f21ca1e0
+# Support Linux on any architecture, and assume -fPIC
+Patch0:         %{name}-1.3.12-dolt.patch
 
 BuildRequires:  clutter-devel
 BuildRequires:  gobject-introspection-devel
@@ -32,6 +35,7 @@ clutter-gst
 
 %prep
 %setup -q
+%patch0 -p1 -b .dolt
 
 %build
 %configure
@@ -62,6 +66,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
 %{_datadir}/gir-1.0/ClutterGst-1.0.gir
 
 %changelog
+* Wed Jun 29 2011 Dan Horák <dan[at]danny.cz> 1.3.12-2
+- use dolt on all Linuxes, workarounds issue with internal libtool
+
 * Thu Jun  9 2011 Peter Robinson <pbrobinson at gmail.com> 1.3.12-1
 - Update to 1.3.12
 


More information about the scm-commits mailing list