Hello community,

here is the log from the commit of package goocanvas for openSUSE:Factory 
checked in at 2013-03-30 14:56:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/goocanvas (Old)
 and      /work/SRC/openSUSE:Factory/.goocanvas.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "goocanvas", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/goocanvas/goocanvas.changes      2012-01-09 
15:17:06.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.goocanvas.new/goocanvas.changes 2013-03-30 
14:56:50.000000000 +0100
@@ -1,0 +2,15 @@
+Wed Mar 27 21:15:46 UTC 2013 - [email protected]
+
+- Introduce with_introspection defines to conditionally:
+  + Add gobject-introspection-devel BuildRequires.
+  + Pass --enable-introspection/--disable-introspection to
+    configure.
+  + Create typelib-1_0-GooCanvas-2_0 subpackage (and require it
+    from the -devel package).
+
+-------------------------------------------------------------------
+Fri Mar  1 12:43:31 UTC 2013 - [email protected]
+
+- Spec-cleanup using format_spec_file service.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ goocanvas.spec ++++++
--- /var/tmp/diff_new_pack.N8QUCD/_old  2013-03-30 14:56:51.000000000 +0100
+++ /var/tmp/diff_new_pack.N8QUCD/_new  2013-03-30 14:56:51.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package goocanvas
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+# introspection fails with gobject-introspection 1.36.0 (bgo#696736).
+%define with_introspection 0
+
 Name:           goocanvas
 Version:        2.0.1
 Release:        0
@@ -23,7 +27,9 @@
 Group:          Development/Libraries/GNOME
 Url:            http://sourceforge.net/projects/goocanvas
 Source0:        
http://download.gnome.org/sources/goocanvas/2.0/%{name}-%{version}.tar.bz2
+%if %{with_introspection}
 BuildRequires:  gobject-introspection-devel
+%endif
 BuildRequires:  translation-update-upstream
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(gtk+-3.0)
@@ -39,7 +45,9 @@
 Summary:        A cairo-based canvas widget for GTK+
 Group:          Development/Libraries/GNOME
 Requires:       libgoocanvas-2_0-9 = %{version}
+%if %{with_introspection}
 Requires:       typelib-1_0-GooCanvas-2_0 = %{version}
+%endif
 
 %description devel
 GooCanvas is similar in many ways to GnomeCanvas and FooCanvas. But it
@@ -60,6 +68,7 @@
 interfaces for items & models (so you can easily turn any application
 object into a canvas item or model).
 
+%if %{with_introspection}
 %package -n typelib-1_0-GooCanvas-2_0
 Summary:        A cairo-based canvas widget for GTK+ -- Introspection bindings
 Group:          System/Libraries
@@ -71,6 +80,7 @@
 object into a canvas item or model).
 
 This package provides the GObject Introspection bindings for GooCanvas.
+%endif
 
 %lang_package
 %prep
@@ -78,7 +88,13 @@
 translation-update-upstream
 
 %build
-%configure --disable-static
+%configure \
+    --disable-static \
+%if %{with_introspection}
+    --enable-introspection
+%else
+    --disable-introspection
+%endif
 make %{?_smp_mflags}
 
 %install
@@ -98,16 +114,20 @@
 %doc AUTHORS NEWS README TODO
 %{_libdir}/*.so.*
 
+%if %{with_introspection}
 %files -n typelib-1_0-GooCanvas-2_0
 %defattr(-,root,root)
 %{_libdir}/girepository-1.0/GooCanvas-2.0.typelib
+%endif
 
 %files devel
 %defattr(-, root, root)
 %{_includedir}/%{name}-2.0/
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/*.so
+%if %{with_introspection}
 %{_datadir}/gir-1.0/GooCanvas-2.0.gir
+%endif
 %doc %{_datadir}/gtk-doc/html/goocanvas2/
 
 %files lang -f goocanvas2.lang

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

Reply via email to