Hello community,

here is the log from the commit of package gtk-sharp2 for openSUSE:Factory 
checked in at 2013-01-30 11:16:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtk-sharp2 (Old)
 and      /work/SRC/openSUSE:Factory/.gtk-sharp2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtk-sharp2", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtk-sharp2/gtk-sharp2.changes    2012-02-16 
16:16:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gtk-sharp2.new/gtk-sharp2.changes       
2013-01-30 11:16:36.000000000 +0100
@@ -1,0 +2,9 @@
+Mon Jan 28 22:52:06 UTC 2013 - [email protected]
+
+- Add gtk-sharp2-gmcs-as-compiler.patch: Choose gmcs as the
+  prefered compiler. This will build gtk sharp2 with .Net runtime
+  4.0.
+- Add libtool BuildRequires and call to autoreconf, as above patch
+  touches the build system.
+
+-------------------------------------------------------------------

New:
----
  gtk-sharp2-gmcs-as-compiler.patch

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

Other differences:
------------------
++++++ gtk-sharp2.spec ++++++
--- /var/tmp/diff_new_pack.XKmxeM/_old  2013-01-30 11:16:37.000000000 +0100
+++ /var/tmp/diff_new_pack.XKmxeM/_new  2013-01-30 11:16:37.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gtk-sharp2
 #
-# Copyright (c) 2012 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,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define _name gtk-sharp
 
 Name:           gtk-sharp2
@@ -32,6 +33,7 @@
 BuildRequires:  gtkhtml2-devel
 BuildRequires:  libglade2-devel
 BuildRequires:  librsvg-devel
+BuildRequires:  libtool
 BuildRequires:  mono-devel
 BuildRequires:  monodoc-core
 BuildRequires:  pkg-config
@@ -41,6 +43,8 @@
 Release:        0
 Source:         %{_name}-%{version}.tar.bz2
 Patch0:         gtk-sharp2-glib-2_31.patch
+# PATCH-FIX-UPSTREAM gtk-sharp2-gmcs-as-compiler.patch [email protected] -- 
Use gmcs as prefered mono compiler.
+Patch1:         gtk-sharp2-gmcs-as-compiler.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -50,7 +54,9 @@
 Summary:        C Source Parser and C Generator
 License:        GPL-2.0
 Group:          System/GUI/GNOME
-Requires:       perl-XML-LibXML-Common perl-XML-LibXML perl-XML-SAX
+Requires:       perl-XML-LibXML
+Requires:       perl-XML-LibXML-Common
+Requires:       perl-XML-SAX
 
 %description gapi
 The gtk-sharp-gapi package includes the parser and code generator used
@@ -101,9 +107,13 @@
 %prep
 %setup -q -n %{_name}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
+autoreconf -fiv
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+# That should come frmo mono-core now
+#export MONO_CAIRO_LIBS=$(pkg-config --libs mono-cairo | sed 's:2.0:4.5:')
 %configure --libexecdir=%{_prefix}/lib --enable-debug
 make
 

++++++ gtk-sharp2-gmcs-as-compiler.patch ++++++
Index: gtk-sharp-2.12.10/configure.in
===================================================================
--- gtk-sharp-2.12.10.orig/configure.in
+++ gtk-sharp-2.12.10/configure.in
@@ -136,7 +136,7 @@ if test "x$RUNTIME" != "no" ; then
        RUNTIME=mono
 fi
 
-AC_PATH_PROG(CSC, mcs, no)
+AC_PATH_PROG(CSC, gmcs, no)
 if test `uname -s` = "Darwin"; then
        LIB_PREFIX=
        LIB_SUFFIX=.dylib
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to