Hello community, here is the log from the commit of package gtksourceview-sharp2 checked in at Wed Sep 10 01:41:38 CEST 2008. -------- --- GNOME/gtksourceview-sharp2/gtksourceview-sharp2.changes 2008-03-26 18:43:06.000000000 +0100 +++ gtksourceview-sharp2/gtksourceview-sharp2.changes 2008-09-10 01:31:22.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Sep 8 14:19:35 MDT 2008 - ajorgensen@novell.com + +- Patched to build against new gnome-sharp (gnome-print-sharp got + moved to it's own assembly) + +------------------------------------------------------------------- New: ---- gtksourceview-sharp2-gnome-print.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtksourceview-sharp2.spec ++++++ --- /var/tmp/diff_new_pack.e29567/_old 2008-09-10 01:40:56.000000000 +0200 +++ /var/tmp/diff_new_pack.e29567/_new 2008-09-10 01:40:56.000000000 +0200 @@ -2,9 +2,16 @@ # spec file for package gtksourceview-sharp2 (Version 0.12) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -13,13 +20,15 @@ Name: gtksourceview-sharp2 BuildRequires: gnome-sharp2 gtk-sharp2-gapi gtksourceview-devel mono-devel monodoc-core +Requires: gnome-sharp2 Version: 0.12 -Release: 1 +Release: 92 License: GPL v2 or later BuildArch: noarch Url: http://www.go-mono.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: gtksourceview-sharp-2.0-%{version}.tar.bz2 +Patch0: %{name}-gnome-print.patch Summary: GtkSourceView bindings for Mono Group: Development/Libraries/Other # Not needed with auto deps @@ -30,12 +39,16 @@ # suse's gnome went from /opt/gnome to /usr, act accordingly %define gtksourceview_prefix %(pkg-config --variable=prefix gtksourceview-1.0) %if 0%{?suse_version} +%if %suse_version > 1100 +BuildRequires: gnome-print-sharp +Requires: gnome-print-sharp +%endif %if %suse_version >= 1030 BuildRequires: -gtksourceview-devel gtksourceview18-devel %endif %endif # Fedora options (Bug in fedora images where 'abuild' user is the same id as 'nobody') -%if 0%{?fedora_version} +%if 0%{?fedora_version} || 0%{?rhel_version} %define env_options export MONO_SHARED_DIR=/tmp %endif @@ -56,8 +69,10 @@ %prep %setup -n gtksourceview-sharp-2.0-%{version} -q +%patch0 %build +autoreconf %{?env_options} ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var make @@ -89,6 +104,9 @@ %define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-requires ; } | sort | uniq' %changelog +* Mon Sep 08 2008 ajorgensen@novell.com +- Patched to build against new gnome-sharp (gnome-print-sharp got + moved to it's own assembly) * Tue Feb 26 2008 wberrier@novell.com - Update to 0.12 (new gtk# requires this version) * Thu Aug 16 2007 wberrier@suse.de ++++++ gtksourceview-sharp2-gnome-print.patch ++++++ --- configure.in 2008-02-26 16:30:05.000000000 -0700 +++ configure.in 2008-09-05 13:36:30.000000000 -0600 @@ -69,6 +69,16 @@ gtksharp_prefix=`pkg-config --variable=prefix gtk-sharp-2.0` AC_SUBST(gtksharp_prefix) +PKG_CHECK_MODULES(GNOMEPRINT_SHARP, gnome-print-sharp-2.18, use_gnomeprint=yes, use_gnomeprint=no) +if test "x$use_gnomeprint" = "xyes" ; then +GNOMEPRINT_SHARP_REQUIRES=gnome-print-sharp-2.18 +else +GNOMEPRINT_SHARP_REQUIRES= +fi +AC_SUBST(GNOMEPRINT_SHARP_CFLAGS) +AC_SUBST(GNOMEPRINT_SHARP_LIBS) +AC_SUBST(GNOMEPRINT_SHARP_REQUIRES) + PKG_CHECK_MODULES(GTKSOURCEVIEW, gtksourceview-1.0 >= 1.0.0) AC_SUBST(GTKSOURCEVIEW_LIBS) gtksourceview_prefix=`pkg-config --variable=prefix gtksourceview-1.0` --- gtksourceview/Makefile.am 2008-02-26 16:30:05.000000000 -0700 +++ gtksourceview/Makefile.am 2008-09-05 13:14:53.000000000 -0600 @@ -2,7 +2,7 @@ LIBRARY= $(LIBRARY_NAME).dll APIS= gtksourceview-api.xml -ASSEMBLIES= /pkg:gnome-sharp-2.0 +ASSEMBLIES= $(GTK_SHARP_LIBS) $(GNOMEPRINT_SHARP_LIBS) EXTRA_DIST = $(sources) $(customs) Gtk.metadata gtksourceview-api.raw AssemblyInfo.cs.in @@ -21,7 +21,7 @@ $(GAPI_FIXUP) --api=gtksourceview-api.xml --metadata=$(srcdir)/Gtk.metadata generated-stamp: $(APIS) $(customs) $(sources) Gtk.metadata - $(GAPI_CODEGEN) $(GTK_SHARP_CFLAGS) --generate $(APIS) \ + $(GAPI_CODEGEN) $(GTK_SHARP_CFLAGS) $(GNOMEPRINT_SHARP_CFLAGS) --generate $(APIS) \ --outdir=generated --customdir=. --assembly-name=gtksourceview-sharp && touch generated-stamp sources = \ --- gtksourceview-sharp-2.0.pc.in 2008-02-26 16:30:05.000000000 -0700 +++ gtksourceview-sharp-2.0.pc.in 2008-09-05 13:22:33.000000000 -0600 @@ -6,5 +6,5 @@ Name: GtkSourceView# Description: GtkSourceView# - gtksourceview .NET Binding Version: @VERSION@ -Requires: gnome-sharp-2.0 +Requires: gnome-sharp-2.0 @GNOMEPRINT_SHARP_REQUIRES@ Libs: -r:${prefix}/lib/mono/gtksourceview-sharp-2.0/gtksourceview-sharp.dll --- sample/Makefile.am 2008-02-26 16:30:05.000000000 -0700 +++ sample/Makefile.am 2008-09-05 13:35:34.000000000 -0600 @@ -10,5 +10,5 @@ $(CSC) -out:$@ $(srcdir)/SourceViewTest.cs -r:../gtksourceview/gtksourceview-sharp.dll -pkg:gtk-sharp-2.0 $(PRINT): $(srcdir)/PrintSample.cs - $(CSC) -out:$@ $(srcdir)/PrintSample.cs -r:../gtksourceview/gtksourceview-sharp.dll -pkg:gtk-sharp-2.0 -pkg:gnome-sharp-2.0 + $(CSC) -out:$@ $(srcdir)/PrintSample.cs -r:../gtksourceview/gtksourceview-sharp.dll -pkg:gtk-sharp-2.0 -pkg:gnome-sharp-2.0 $(GNOMEPRINT_SHARP_LIBS) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org