Hello community,

here is the log from the commit of package clutter-gtk for openSUSE:Factory
checked in at Fri Sep 9 12:00:00 CEST 2011.



--------
--- GNOME/clutter-gtk/clutter-gtk.changes       2011-07-27 16:28:02.000000000 
+0200
+++ /mounts/work_src_done/STABLE/clutter-gtk/clutter-gtk.changes        
2011-09-02 12:40:48.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep  2 10:35:47 UTC 2011 - [email protected]
+
+- Add clutter-gtk-link-libm.patch: fix build by linking to libm.
+- Add call to autoreconf, needed by the patch.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  clutter-gtk-link-libm.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clutter-gtk.spec ++++++
--- /var/tmp/diff_new_pack.SOl5Mt/_old  2011-09-09 11:59:55.000000000 +0200
+++ /var/tmp/diff_new_pack.SOl5Mt/_new  2011-09-09 11:59:55.000000000 +0200
@@ -20,12 +20,14 @@
 
 Name:           clutter-gtk
 Version:        1.0.2
-Release:        1
+Release:        2
 License:        LGPLv2.1+
 Group:          System/Libraries
 Url:            http://clutter-project.org/
 Source0:        
http://download.gnome.org/sources/clutter-gtk/1.0/%{name}-%{version}.tar.bz2
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM clutter-gtk-link-libm.patch [email protected] -- Taken 
from git, link to libm
+Patch0:         clutter-gtk-link-libm.patch
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  gtk-doc
 BuildRequires:  pkgconfig(clutter-x11-1.0)
@@ -69,8 +71,11 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+# needed for patch0
+autoreconf -fi
 %configure --disable-static \
            --enable-gtk-doc
 make %{?jobs:-j%jobs}

++++++ clutter-gtk-link-libm.patch ++++++
>From 496aa0c97672ee1e84f0be6d339c559b1d74ce50 Mon Sep 17 00:00:00 2001
From: Andre Klapper <[email protected]>
Date: Fri, 02 Sep 2011 09:06:12 +0000
Subject: Explicitly link gtk-clutter-test against libm. Fixes bug #657952

---
diff --git a/configure.ac b/configure.ac
index 66ac9b8..444900e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,6 +79,9 @@ LT_INIT([disable-static])
 # Checks for header files.
 AC_HEADER_STDC
 
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
 m4_define([clutter_req_version], [1.4.0])
 m4_define([gtk_req_version], [3.0.0])
 m4_define([flavour_default], [x11])
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 5d0eca1..3e98e8a 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -25,11 +25,11 @@ common_ldadd = \
 
 gtk_clutter_test_SOURCES = gtk-clutter-test.c
 gtk_clutter_test_DEPENDENCIES = $(common_deps)
-gtk_clutter_test_LDADD = $(common_ldadd)
+gtk_clutter_test_LDADD = $(common_ldadd) $(LIBM)
 
 gtk_clutter_test_actor_SOURCES = gtk-clutter-test-actor.c
 gtk_clutter_test_actor_DEPENDENCIES = $(common_deps)
-gtk_clutter_test_actor_LDADD = $(common_ldadd)
+gtk_clutter_test_actor_LDADD = $(common_ldadd) $(LIBM)
 
 gtk_clutter_events_SOURCES = gtk-clutter-events.c
 gtk_clutter_events_DEPENDENCIES = $(common_deps)
@@ -49,7 +49,7 @@ gtk_clutter_window_test2_LDADD = $(common_ldadd)
 
 gtk_clutter_test_scroll_SOURCES = gtk-clutter-test-scroll.c
 gtk_clutter_test_scroll_DEPENDENCIES = $(common_deps)
-gtk_clutter_test_scroll_LDADD = $(common_ldadd)
+gtk_clutter_test_scroll_LDADD = $(common_ldadd) $(LIBM)
 
 EXTRA_DIST = \
        redhand.png
--
cgit v0.9.0.2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to