2009-01-04 22:29:56 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
README \
|
|
|
|
sources.xml \
|
|
|
|
gtk_tree_model_signal_fix.patch
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2011-01-22 19:04:05 +00:00
|
|
|
TARGET_GTK_VERSION=2.99.0
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2009-01-04 22:29:56 +00:00
|
|
|
GTK_DOWNLOADS = \
|
2011-01-22 19:04:05 +00:00
|
|
|
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
|
2005-05-06 17:10:48 +00:00
|
|
|
|
2009-01-04 22:29:56 +00:00
|
|
|
api:
|
|
|
|
PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe sources.xml
|
2005-07-28 21:24:55 +00:00
|
|
|
|
2009-01-04 22:29:56 +00:00
|
|
|
get-source-code:
|
|
|
|
for i in $(GTK_DOWNLOADS); do \
|
2006-05-10 17:13:30 +00:00
|
|
|
wget $$i --output-document=- | tar -xj ; \
|
|
|
|
done;
|
2009-01-04 22:29:56 +00:00
|
|
|
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
|
2006-05-10 17:13:30 +00:00
|
|
|
|