GtkSharp/sources/Makefile.am

30 lines
1.3 KiB
Makefile
Raw Normal View History

EXTRA_DIST = \
README \
sources.xml \
gtk_tree_model_signal_fix.patch
2015-09-04 09:15:29 +00:00
TARGET_GTK_VERSION=3.16.6
TARGET_GTK_API=3.16
GTK_DOWNLOADS = \
2015-09-04 09:15:29 +00:00
http://ftp.gnome.org/pub/GNOME/sources/glib/2.44/glib-2.44.1.tar.xz \
2015-01-20 09:26:02 +00:00
http://ftp.gnome.org/pub/GNOME/sources/pango/1.36/pango-1.36.8.tar.xz \
2015-09-04 09:15:29 +00:00
http://ftp.gnome.org/pub/GNOME/sources/atk/2.16/atk-2.16.0.tar.xz \
http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.30/gdk-pixbuf-2.30.8.tar.xz \
2014-11-03 14:52:55 +00:00
http://ftp.gnome.org/pub/GNOME/sources/gtk+/$(TARGET_GTK_API)/gtk+-$(TARGET_GTK_VERSION).tar.xz
api:
PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe sources.xml
get-source-code:
for i in $(GTK_DOWNLOADS); do \
2014-11-03 14:52:55 +00:00
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
2014-11-03 14:52:55 +00:00
patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtkselectionprivate.h < gtkselectionprivate-space.patch
patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtktextattributes.h < gtktextattributes-gi-scanner.patch