[Gtk-sharp-list] Rsvg.NET submission

Charles Iliya Krempeaux charles@reptile.ca
22 Feb 2003 17:02:31 -0800


--=-mNWMyGVj2Rb2WrG8nECH
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

(I hope I did the patch correctly.  But anyways....)

Here is a patch and a tarball for adding .NET bindings to
librsvg -- Rsvg.NET.  Also, there is a tarball containing
the new "rsvg" directory (and its contents).


See ya

-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting & Services    604-REPTILE    http://www.reptile.ca/

--=-mNWMyGVj2Rb2WrG8nECH
Content-Disposition: attachment; filename=PATCH.diff
Content-Type: text/x-diff; name=PATCH.diff; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

? PATCH.diff
? rsvg
? gconf/Makefile
? gconf/GConf/Makefile
? gconf/GConf.PropertyEditors/Makefile
? gconf/tools/Makefile
Index: ChangeLog
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /mono/gtk-sharp/ChangeLog,v
retrieving revision 1.328
diff -u -r1.328 ChangeLog
--- ChangeLog	22 Feb 2003 19:19:15 -0000	1.328
+++ ChangeLog	23 Feb 2003 00:52:28 -0000
@@ -1,3 +1,22 @@
+2003-02-22  Charles Iliya Krempeaux <charles@reptile.ca>
+
+	* configure.in : Added support for Rsvg.NET -- librsvg
+	  .NET bindings.  (Made a check for the library.  And
+	  made it so "rsvg/Makefile" would be generated.  Also
+	  made it so it will display if rsvg-sharp.dll will
+	  be generated or not.)
+	* makefile :  Added support for Rsvg.NET -- librsvg
+          .NET bindings.  (Added an entry for Rsvg.NET.)
+        * sources/gtk-sharp.sources : Added an entry for
+	  Rsvg.NET -- librsvg .NET bindings.
+        * rsvg/ : Created "rsvg/" directory.  (To hold stuff
+	  for Rsvg.NET.)
+        * rsvg/Tool.cs : Created Rsvg.Tool class to hold
+	  various procedures (which were not automatically
+	  wrapped).
+	* rsvg/Makefile.in : Created "rsvg/Makefile.in".
+	* api/Makefile.in : Added and entry for Rsvg.NET.
+
 2003-02-22  Mike Kestner  <mkestner@speakeasy.net>
=20
 	* sources/makefile : patch from Charles Krempeaux to add
Index: configure.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /mono/gtk-sharp/configure.in,v
retrieving revision 1.26
diff -u -r1.26 configure.in
--- configure.in	28 Jan 2003 17:59:35 -0000	1.26
+++ configure.in	23 Feb 2003 00:52:28 -0000
@@ -88,6 +88,14 @@
 	fi
 fi
=20
+RSVG_REQUIRED_VERSION=3D2.0.1
+PKG_CHECK_MODULES(RSVG_DEPENDENCIES, librsvg-2.0 >=3D $RSVG_REQUIRED_VERSI=
ON, enable_rsvg=3Dyes, enable_rsvg=3Dno)
+if test "x$enable_rsvg" =3D "xyes"; then
+	BASE_DEPENDENCIES_CFLAGS=3D"$BASE_DEPENDENCIES_CFLAGS $RSVG_DEPENDENCIES_=
CFLAGS"
+	BASE_DEPENDENCIES_LIBS=3D"$BASE_DEPENDENCIES_LIBS $RSVG_DEPENDENCIES_LIBS=
"
+fi
+
+
 AC_SUBST(BASE_DEPENDENCIES_CFLAGS)
 AC_SUBST(BASE_DEPENDENCIES_LIBS)
=20
@@ -95,6 +103,7 @@
 AM_CONDITIONAL(ENABLE_GLADE, test "x$enable_glade" =3D "xyes")
 AM_CONDITIONAL(ENABLE_GDA, test "x$enable_gda" =3D "xyes")
 AM_CONDITIONAL(ENABLE_GNOMEDB, test "x$enable_gnomedb" =3D "xyes")
+AM_CONDITIONAL(ENABLE_RSVG, test "x$enable_rsvg" =3D "xyes")
=20
 AC_SUBST(CFLAGS)
=20
@@ -118,6 +127,7 @@
 gconf/GConf.PropertyEditors/Makefile
 gconf/tools/Makefile
 gst/Makefile
+rsvg/Makefile
 sample/Makefile
 ])
=20
@@ -132,6 +142,7 @@
 echo "      * glade-sharp.dll: $enable_glade"
 echo "      * gda-sharp.dll: $enable_gda"
 echo "      * gnomedb-sharp.dll: $enable_gnomedb"
+echo "      * rsvg-sharp.dll: $enable_rsvg "
 echo ""
 echo "      NOTE: if any of the above say 'no' you may install the"
 echo "            corresponding development packages for them, rerun"
Index: makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /mono/gtk-sharp/makefile,v
retrieving revision 1.34
diff -u -r1.34 makefile
--- makefile	9 Jan 2003 22:54:36 -0000	1.34
+++ makefile	23 Feb 2003 00:52:28 -0000
@@ -1,6 +1,6 @@
 NATIVE_DIRS =3D glue parser
=20
-DIRS=3Dgenerator api glib pango atk gdk gtk glade art gnome gda gnomedb gc=
onf sample
+DIRS=3Dgenerator api glib pango atk gdk gtk glade art gnome gda gnomedb gc=
onf rsvg sample
 ROOT=3D/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
 CSC=3D$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
 MCS=3Dmcs
Index: api/Makefile.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /mono/gtk-sharp/api/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- api/Makefile.in	9 Jan 2003 22:54:36 -0000	1.7
+++ api/Makefile.in	23 Feb 2003 00:52:28 -0000
@@ -10,7 +10,9 @@
 	gnome-api.xml \
 	gda-api.xml \
 	gst-api.xml \
-	gnomedb-api.xml
+	gnomedb-api.xml \
+	rsvg-api.xml \
+
=20
 RUNTIME=3Dmono=20
=20
Index: sources/gtk-sharp.sources
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /mono/gtk-sharp/sources/gtk-sharp.sources,v
retrieving revision 1.10
diff -u -r1.10 gtk-sharp.sources
--- sources/gtk-sharp.sources	22 Feb 2003 04:34:56 -0000	1.10
+++ sources/gtk-sharp.sources	23 Feb 2003 00:52:34 -0000
@@ -12,3 +12,4 @@
 libgda-0.10.0/libgda Gda gda-2
 libgnomedb-0.10.0/libgnomedb GnomeDb gnomedb-2
 gstreamer-0.4.2/gst Gst gstreamer
+librsvg-2.0.1 Rsvg rsvg-2

--=-mNWMyGVj2Rb2WrG8nECH
Content-Disposition: attachment; filename=rsvg.tar.gz
Content-Type: application/x-gzip; name=rsvg.tar.gz
Content-Transfer-Encoding: base64

H4sICFYdWD4AA3JzdmcudGFyAO1ZbW/iRhDmK/srpqdTDqpgTA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