rpms/gtksourceview-sharp/devel gtksourceview-sharp2-gnome-print.patch, NONE, 1.1 gtksourceview-sharp.spec, 1.23, 1.24

Tom Callaway spot at fedoraproject.org
Mon Oct 27 17:34:29 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/gtksourceview-sharp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1503

Modified Files:
	gtksourceview-sharp.spec 
Added Files:
	gtksourceview-sharp2-gnome-print.patch 
Log Message:
rebuild for new gnome-sharp

gtksourceview-sharp2-gnome-print.patch:

--- NEW FILE 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:@libdir@/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)
 


Index: gtksourceview-sharp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtksourceview-sharp/devel/gtksourceview-sharp.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- gtksourceview-sharp.spec	29 Jul 2008 21:42:28 -0000	1.23
+++ gtksourceview-sharp.spec	27 Oct 2008 17:33:59 -0000	1.24
@@ -4,15 +4,16 @@
 Summary: A C sharp binder for gtksourceview
 Name: gtksourceview-sharp
 Version: 2.0.12
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source0: http://go-mono.com/sources-latest/%{name}-%{extra}.tar.bz2
 Patch0: gtksourceview-sharp-libdir.patch
+Patch1: gtksourceview-sharp2-gnome-print.patch
 URL: http://go-mono.com/sources-latest/
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: mono-data, mono-devel, gtk-sharp2-devel, gtksourceview-devel, gtk-sharp2-gapi, gecko-sharp2, pkgconfig, monodoc-devel
-BuildRequires: gtk-sharp2-devel gnome-sharp-devel autoconf libtool automake
+BuildRequires: gtk-sharp2-devel gnome-sharp-devel gnome-desktop-sharp-devel autoconf libtool automake
 Requires: gtksourceview
 ExclusiveArch: %ix86 x86_64 ia64 armv4l sparc alpha
 
@@ -31,6 +32,7 @@
 rm -rf %
 %setup -q -n %{name}-%{extra}
 %patch0 -p1
+%patch1 -p0
 autoreconf
 
 %build
@@ -59,6 +61,9 @@
 %{__rm} -rf %{buildroot}
 
 %changelog
+* Mon Oct 27 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.0-0.12-6
+- rebuild for new gnome-sharp
+
 * Tue Jul 29 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.0-0.12-5
 - fix license tag
 




More information about the scm-commits mailing list