a8d9a119d8
Had to change gapi2xml.pl to use the new properties method/macro in gtkwindow.c - Issue, "invisible-chars" and "inner-border" is generated twice in gtkentry.c Made patch to gwin32registrykey to use little endian by default. So Windows om ARM may fail.
31 lines
1.5 KiB
Makefile
31 lines
1.5 KiB
Makefile
EXTRA_DIST = \
|
|
README \
|
|
sources.xml \
|
|
gtk_tree_model_signal_fix.patch
|
|
|
|
TARGET_GTK_VERSION=3.18.2
|
|
TARGET_GTK_API=3.18
|
|
|
|
GTK_DOWNLOADS = \
|
|
http://ftp.gnome.org/pub/GNOME/sources/glib/2.46/glib-2.46.1.tar.xz \
|
|
http://ftp.gnome.org/pub/GNOME/sources/pango/1.38/pango-1.38.1.tar.xz \
|
|
http://ftp.gnome.org/pub/GNOME/sources/atk/2.18/atk-2.18.0.tar.xz \
|
|
http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.32/gdk-pixbuf-2.32.1.tar.xz \
|
|
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 \
|
|
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
|
|
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
|
|
patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtktextview.h < gtk_text_view_public.patch
|
|
patch -p0 glib/2.46/gio/gwin32registrykey.h < gwin32registrykey-little-endian.patch
|
|
|