GtkSharp/sources/Makefile.am
Mike Kestner 65f4a916d8 kill the old api and gnome api parsing-fu
svn path=/trunk/gtk-sharp/; revision=63128
2006-07-28 22:21:48 +00:00

31 lines
1.1 KiB
Makefile

EXTRA_DIST = \
README \
gtk-sharp-2.10-sources.xml \
gtkclipboard.patch \
gtk_tree_model_signal_fix.patch \
gtk_tree_model_signal_fix-2.10.patch
GTK_2_10_DOWNLOADS = \
ftp://ftp.gtk.org/pub/gtk/v2.11/pango-1.13.3.tar.bz2 \
ftp://ftp.gtk.org/pub/gtk/v2.8/atk-1.10.3.tar.bz2 \
ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.0.tar.bz2 \
http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libglade-2.3.6.tar.bz2
api: api-2.10
api-2.10:
PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe gtk-sharp-2.10-sources.xml
get-source-code: get-2.10-sources
get-2.10-sources:
for i in $(GTK_2_10_DOWNLOADS); do \
wget $$i --output-document=- | tar -xj ; \
done;
ln -f -s gtkfilechooserprivate.h gtk+-2.10.0/gtk/gtkfilechooserpriv.h
patch -p0 gtk+-2.10.0/gtk/gtktreemodel.c < gtk_tree_model_signal_fix-2.10.patch
echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-2.10.0/gtk/gtkclipboard.h
echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-2.10.0/gtk/gtkclipboard.h