Hello community,
here is the log from the commit of package gtk-sharp2 for openSUSE:Factory checked in at 2012-02-16 16:16:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtk-sharp2 (Old)
and /work/SRC/openSUSE:Factory/.gtk-sharp2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gtk-sharp2", Maintainer is "mono-maintainers@suse.de"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gtk-sharp2/gtk-sharp2.changes 2011-09-23 02:02:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gtk-sharp2.new/gtk-sharp2.changes 2012-02-16 16:16:18.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 9 21:17:36 UTC 2012 - dimstar@opensuse.org
+
+- Add gtk-sharp2-glib-2_31.patch: Only glib.h can be #include'd
+ with glib 2.31.
+
+-------------------------------------------------------------------
New:
----
gtk-sharp2-glib-2_31.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gtk-sharp2.spec ++++++
--- /var/tmp/diff_new_pack.27q54W/_old 2012-02-16 16:16:19.000000000 +0100
+++ /var/tmp/diff_new_pack.27q54W/_new 2012-02-16 16:16:19.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package gtk-sharp2 (Version 2.12.10)
+# spec file for package gtk-sharp2
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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,15 +15,13 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
%define _name gtk-sharp
Name: gtk-sharp2
Url: http://www.mono-project.com/GtkSharp
+Summary: .Net Language Bindings for GTK+
License: GPL-2.0
Group: System/GUI/GNOME
-Summary: .Net Language Bindings for GTK+
# bug437293
%ifarch ppc64
Obsoletes: gtk-sharp2-64bit
@@ -32,25 +30,26 @@
Obsoletes: gtk-sharp2-32bit
%endif
BuildRequires: gtkhtml2-devel
+BuildRequires: libglade2-devel
BuildRequires: librsvg-devel
BuildRequires: mono-devel
BuildRequires: monodoc-core
BuildRequires: pkg-config
BuildRequires: update-desktop-files
BuildRequires: vte-devel
-BuildRequires: libglade2-devel
Version: 2.12.10
-Release: 27
+Release: 0
Source: %{_name}-%{version}.tar.bz2
+Patch0: gtk-sharp2-glib-2_31.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains Mono bindings for gtk+, gdk, atk, and pango.
%package gapi
+Summary: C Source Parser and C Generator
License: GPL-2.0
Group: System/GUI/GNOME
-Summary: C Source Parser and C Generator
Requires: perl-XML-LibXML-Common perl-XML-LibXML perl-XML-SAX
%description gapi
@@ -59,33 +58,33 @@
compile a project that uses it to bind such a library.
%package -n gtk-sharp2-doc
-License: LGPL-2.1
Summary: Monodoc documentation for gtk-sharp2
+License: LGPL-2.1
Group: System/GUI/GNOME
%description -n gtk-sharp2-doc
This package contains the gtk-sharp2 documentation for monodoc.
%package -n glib-sharp2
-License: LGPL-2.1
Summary: Mono bindings for glib
+License: LGPL-2.1
Group: System/GUI/GNOME
%description -n glib-sharp2
This package contains Mono bindings for glib.
%package -n glade-sharp2
+Summary: Mono bindings for glade
License: LGPL-2.1
Group: System/GUI/GNOME
-Summary: Mono bindings for glade
%description -n glade-sharp2
This package contains Mono bindings for glade.
%package -n gtk-sharp2-complete
+Summary: GTK+ and GNOME bindings for Mono (virtual package)
License: LGPL-2.1
Group: System/GUI/GNOME
-Summary: GTK+ and GNOME bindings for Mono (virtual package)
Requires: glade-sharp2 = %{version}-%{release}
Requires: glib-sharp2 = %{version}-%{release}
Requires: gtk-sharp2 = %{version}-%{release}
@@ -101,6 +100,7 @@
%prep
%setup -q -n %{_name}-%{version}
+%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
++++++ gtk-sharp2-glib-2_31.patch ++++++
Index: gtk-sharp-2.12.10/glib/glue/list.c
===================================================================
--- gtk-sharp-2.12.10.orig/glib/glue/list.c
+++ gtk-sharp-2.12.10/glib/glue/list.c
@@ -20,7 +20,7 @@
*/
-#include