2009-01-04 23:29:56 +01:00
|
|
|
EXTRA_DIST = \
|
|
|
|
README \
|
|
|
|
sources.xml \
|
|
|
|
gtk_tree_model_signal_fix.patch
|
2004-03-12 22:18:11 +01:00
|
|
|
|
2017-01-20 13:10:48 +01:00
|
|
|
TARGET_GTK_VERSION=3.22.6
|
2016-10-17 21:20:23 +02:00
|
|
|
TARGET_GTK_API=3.22
|
2004-03-12 22:18:11 +01:00
|
|
|
|
2009-01-04 23:29:56 +01:00
|
|
|
GTK_DOWNLOADS = \
|
2017-01-20 13:10:48 +01:00
|
|
|
http://ftp.gnome.org/pub/GNOME/sources/glib/2.50/glib-2.50.2.tar.xz \
|
2016-10-17 21:20:23 +02:00
|
|
|
http://ftp.gnome.org/pub/GNOME/sources/pango/1.40/pango-1.40.3.tar.xz \
|
|
|
|
http://ftp.gnome.org/pub/GNOME/sources/atk/2.22/atk-2.22.0.tar.xz \
|
2017-01-20 13:10:48 +01:00
|
|
|
http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.36/gdk-pixbuf-2.36.2.tar.xz \
|
2014-11-03 15:52:55 +01:00
|
|
|
http://ftp.gnome.org/pub/GNOME/sources/gtk+/$(TARGET_GTK_API)/gtk+-$(TARGET_GTK_VERSION).tar.xz
|
2005-05-06 19:10:48 +02:00
|
|
|
|
2009-01-04 23:29:56 +01:00
|
|
|
api:
|
|
|
|
PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe sources.xml
|
2005-07-28 23:24:55 +02:00
|
|
|
|
2009-01-04 23:29:56 +01:00
|
|
|
get-source-code:
|
|
|
|
for i in $(GTK_DOWNLOADS); do \
|
2014-11-03 15:52:55 +01:00
|
|
|
wget $$i --output-document=- | tar -xJ ; \
|
2006-05-10 19:13:30 +02:00
|
|
|
done;
|
2009-01-04 23:29:56 +01:00
|
|
|
ln -f -s gtkfilechooserprivate.h gtk+-$(TARGET_GTK_VERSION)/gtk/gtkfilechooserpriv.h
|
2016-10-17 21:20:23 +02:00
|
|
|
patch -p1 -d gtk+-$(TARGET_GTK_VERSION) < patches/gtk_tree_model_signal_fix.patch
|
2009-01-04 23:29:56 +01:00
|
|
|
echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-$(TARGET_GTK_VERSION)/gtk/gtkclipboard.h
|
|
|
|
echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-$(TARGET_GTK_VERSION)/gtk/gtkclipboard.h
|
2016-10-17 21:20:23 +02:00
|
|
|
patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtktextattributes.h < patches/gtktextattributes-gi-scanner.patch
|
2017-01-20 13:10:48 +01:00
|
|
|
patch -p0 glib-2.50.2/gio/gwin32registrykey.h < patches/gwin32registrykey-little-endian.patch
|