[Gtk-sharp-list] [Patch, etc] Pkgconfig

Charles Iliya Krempeaux charles@reptile.ca
15 Apr 2003 22:44:46 -0700


--=-HLk5yhIuFe+Xd2rsaEs5
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

Here's yet another try at pkgconfig support for Gtk#.

It is even more minimal than the last patch.  All this
does it make it so you can detect the presence and
version of Gtk#. And detect the presence and version
of GAPI.

A Patch and Tarball are attached to this message.

Let me know if anything needs to be modified.

(If everything in this is OK... I'll then
submit a new "make uninstall" Patch.  And
then the GnomeVFS# Patch.)

One thing to note... "makefile" needs to be deleted, and
instead replaced by "Makefile.in".  This was necessary to
configure it on where to install "gtk-sharp.pc".



See ya

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

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

--=-HLk5yhIuFe+Xd2rsaEs5
Content-Disposition: attachment; filename=gtk-sharp-PkgConfig-2003.04.15.diff
Content-Type: text/x-diff; name=gtk-sharp-PkgConfig-2003.04.15.diff; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

? Makefile.in
? gtk-sharp.pc.in
? parser/gapi.pc.in
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: /cvs/public/gtk-sharp/ChangeLog,v
retrieving revision 1.379
diff -u -r1.379 ChangeLog
--- ChangeLog	14 Apr 2003 18:01:27 -0000	1.379
+++ ChangeLog	16 Apr 2003 05:39:31 -0000
@@ -1,3 +1,17 @@
+2003-04-14  Charles Iliya Krempeaux  <charles@reptile.ca>
+
+	* gtk-sharp.pc.in : Created to be used for the detection of
+	  Gtk#.
+	* parser/gapi.pc.in : Created to be used for the detection
+	  of gapi.pl.
+	* makefile : Deleted it.  (Actually, renamed it to Makefile.in.)
+	* Makefile.in : Created it from the old makefile, and modified it
+	  to account for gtk-sharp.pc.
+	* configure.in : Made it so it will generate gtk-sharp.pc
+	  from gtk-sharp.pc.in,  parser/gapi.pc from
+	  parser/gapi.pc.in, and Makefile from Makefile.in.
+	* parser/Makefile.in : Modified it to account for parser/gapi.pc.
+
 2003-04-14  Lee Mallabone  <gnome@fonicmonkey.net>
=20
 	* api/gtk-api.xml, sources/Gtk.metadata, gtk/ColorSelection.custom:
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: /cvs/public/gtk-sharp/configure.in,v
retrieving revision 1.29
diff -u -r1.29 configure.in
--- configure.in	14 Mar 2003 11:45:18 -0000	1.29
+++ configure.in	16 Apr 2003 05:39:31 -0000
@@ -130,6 +130,9 @@
 rsvg/Makefile
 sample/Makefile
 sample/rsvg/Makefile
+gtk-sharp.pc
+parser/gapi.pc
+Makefile
 ])
=20
 echo "---"
Index: parser/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: /cvs/public/gtk-sharp/parser/Makefile.in,v
retrieving revision 1.4
diff -u -r1.4 Makefile.in
--- parser/Makefile.in	11 Dec 2002 23:10:31 -0000	1.4
+++ parser/Makefile.in	16 Apr 2003 05:39:38 -0000
@@ -20,6 +20,7 @@
=20
 distclean:
 	rm -f Makefile gapi_format_xml
+	rm -f gapi.pc
=20
 prefix=3D@prefix@
 DESTDIR=3D
@@ -33,3 +34,5 @@
 		../mkinstalldirs $(DESTDIR)$(prefix)/share/perl5/GAPI && \
 		cp $$i $(DESTDIR)$(prefix)/share/perl5/GAPI; \
 	done
+	../mkinstalldirs $(DESTDIR)$(prefix)/lib/pkgconfig && \
+	cp gapi.pc $(DESTDIR)$(prefix)/lib/pkgconfig

--=-HLk5yhIuFe+Xd2rsaEs5
Content-Disposition: attachment; filename=gtk-sharp-PkgConfig-2003.04.15.tar.gz
Content-Type: application/x-gzip; name=gtk-sharp-PkgConfig-2003.04.15.tar.gz
Content-Transfer-Encoding: base64

H4sIAH7tnD4AA+2WbYviMBDHfWs+xSDCrrC29RkUYRfPF8vhLaxycLBwxDbWYJuUpN31YD/8TbSt
67LP4MFBfqDNw2Tmn3SSdEY3bMUj5nBRORVey/P63W7FQwb94yfSHnRaFdMw8Nr9dqeP9u3BYFAB
72SKnpDplCqAir+mKmL6Vbv3+v9Tflwtrn9Of3+7vp3DGMIoY5BQpZkixLSNQyaYoqlUQBOO/XyJ
/SKUQNMNhAH+zDOiAQOqUgiFjBm2030pWELoS7ECpe9D0DROIkZub24WY9f/EwaK3zO3fq6zpU7h
7sK9KMrDfWX+a76Yzox9o9Egk/lkXD/f1dyY+0pquUodwVJ3pWjMHqTauPctx3M6A6/n+tp32JaR
2WQ+jn1NCI2iIURcZFtCHrgI5IMekuoKZ8aBC6ifm/k2RhDIquGOVKv7iPjfwO7Z1fdpA5oTqNc5
5A7g8RHYlqfQGpkBgRRsREgm+BZdXzJ/LaF2FuMWA9N2BlzDUskNE2DiCvng1AjZaRqCoCkuByzR
MxchIXnhDY1GopleDcVN5o3ac5EHcQdt+yjHTp/kQOHbuH7VW7WYKyF+xKh43dux4hec7sa/5Bql
Blyne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