[Gtk-sharp-list] [Patch] sources/makefile

Charles Iliya Krempeaux charles@reptile.ca
22 Feb 2003 02:43:46 -0800


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

Hello,

Sorry, that was the wrong Patch.  Here's the proper one.


See ya

On Sat, 2003-02-22 at 02:39, Charles Iliya Krempeaux wrote:
> Hello,
> 
> This is a patch for "sources/makefile".  This patch adds a new
> rule called "get-source-code".
> 
> When the user runs:
> 
>     make get-source-code
> 
> It will download and unpack (almost) all the source code (currently)
> used by Gtk#.  (The exception being gtkhtml-3.0 for now.)
> 
> This was added so that you don't have to go and find all the
> source code packages needed by gapi.pl (to generate the
> ???-api.xml files).
> 
> 
> This could potentially be used to get rid of all ???-api.xml
> files in api/ in the CVS.  And just generate everything from
> the source code.  (I.e., the main makefile would do a
> "make -C sources get-source-code" first, and then do everything
> else.  (I have NOT added this ability though.  I didn't know
> if other would want it.)
> 
> Anyways, this is a useful Patch for those who want to make their
> own ???-api.xml files.
> 
> 
> See ya
-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

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

--=-6fD9Bor3MyhiMntrl9vk
Content-Disposition: attachment; filename=makefile.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=makefile.diff; charset=ISO-8859-1

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/sources/makefile,v
retrieving revision 1.1
diff -u -r1.1 makefile
--- makefile	20 Aug 2002 19:56:18 -0000	1.1
+++ makefile	22 Feb 2003 10:23:12 -0000
@@ -1,2 +1,25 @@
+# TODO: Need to add gtkhtml-3.0 to DOWNLOADS.
+DOWNLOADS =3D \
+	http://ftp.gnome.org/pub/GNOME/desktop/2.0/2.0.0/sources/atk-1.0.2.tar.gz=
            \
+	http://ftp.gnome.org/pub/GNOME/desktop/2.0/2.0.0/sources/pango-1.0.3.tar.=
gz          \
+	http://ftp.gnome.org/pub/GNOME/desktop/2.0/2.0.0/sources/gtk+-2.0.5.tar.g=
z           \
+	http://ftp.gnome.org/pub/GNOME/desktop/2.0/2.0.0/sources/libgnome-2.0.1.t=
ar.gz       \
+	http://ftp.gnome.org/pub/GNOME/desktop/2.0/2.0.0/sources/libgnomecanvas-2=
.0.1.tar.gz \
+	http://ftp.gnome.org/pub/GNOME/desktop/2.0/2.0.0/sources/libgnomeui-2.0.1=
.tar.gz     \
+	http://ftp.gnome.org/pub/GNOME/desktop/2.0/2.0.0/sources/libglade-2.0.0.t=
ar.gz       \
+	http://ftp.gnome.org/pub/GNOME/desktop/2.0/2.0.3/sources/libart_lgpl-2.3.=
10.tar.gz   \
+	ftp://ftp.gnome-db.org/pub/gnome-db/sources/v0.10.0/libgda-0.10.0.tar.gz =
            \
+	ftp://ftp.gnome-db.org/pub/gnome-db/sources/v0.10.0/libgnomedb-0.10.0.tar=
.gz         \
+	http://unc.dl.sourceforge.net/sourceforge/gstreamer/gstreamer-0.4.2.tar.g=
z           \
+	http://ftp.gnome.org/pub/gnome/sources/librsvg/2.0/librsvg-2.0.1.tar.gz  =
            \
+
+
 all:
 	PERLLIB=3D../parser PATH=3D../parser:$$PATH ../parser/gapi.pl gtk-sharp.s=
ources ../api
+
+get-source-code:
+	for i in $(DOWNLOADS); do                          \
+		wget $$i --output-document=3D- | tar -xz ;   \
+	done;
+
+

--=-6fD9Bor3MyhiMntrl9vk--