GtkSharp/sources/Makefile.am
Mike Kestner 6772dc9e67 Update the parse setup to 2.99
* sources/Makefile.am: new download urls
* sources/sources.xml: point to the new version dirs.
2011-01-22 13:04:05 -06:00

27 lines
1.1 KiB
Makefile

EXTRA_DIST = \
README \
sources.xml \
gtk_tree_model_signal_fix.patch
TARGET_GTK_VERSION=2.99.0
GTK_DOWNLOADS = \
http://ftp.gnome.org/pub/GNOME/sources/glib/2.27/glib-2.27.90.tar.bz2 \
http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.3.tar.bz2 \
http://ftp.gnome.org/pub/GNOME/sources/atk/1.32/atk-1.32.0.tar.bz2 \
http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.22/gdk-pixbuf-2.22.1.tar.bz2 \
http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.99/gtk+-$(TARGET_GTK_VERSION).tar.bz2
api:
PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe sources.xml
get-source-code:
for i in $(GTK_DOWNLOADS); do \
wget $$i --output-document=- | tar -xj ; \
done;
ln -f -s gtkfilechooserprivate.h gtk+-$(TARGET_GTK_VERSION)/gtk/gtkfilechooserpriv.h
patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtktreemodel.c < gtk_tree_model_signal_fix.patch
echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-$(TARGET_GTK_VERSION)/gtk/gtkclipboard.h
echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-$(TARGET_GTK_VERSION)/gtk/gtkclipboard.h