mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 00:45:35 +00:00
3ed7e0901e
* configure.ac: require gtk+-3.0.0 and glib-2.28.0 * gdk/gdk-api.raw: reparse * gdk/gdk-symbols.xml: add alias for Window (XID) to gulong * gtk/Plug.custom: update custom ctors to ulong XID versions. * gtk/gtk-api.raw: reparse * gtk/gtk-sharp.dll.config.in: change dllname remap to match 3.0.0 so. * sources/.gitignore: fix glib and gtk+ dirs * sources/Makefile.am: update to gtk+ 3.0.0 * sources/sources.xml: update to gtk+ 3.0.0
27 lines
1.1 KiB
Makefile
27 lines
1.1 KiB
Makefile
EXTRA_DIST = \
|
|
README \
|
|
sources.xml \
|
|
gtk_tree_model_signal_fix.patch
|
|
|
|
TARGET_GTK_VERSION=3.0.0
|
|
|
|
GTK_DOWNLOADS = \
|
|
http://ftp.gnome.org/pub/GNOME/sources/glib/2.28/glib-2.28.0.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+/3.0/gtk+-$(TARGET_GTK_VERSION).tar.bz2
|
|
|
|
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
|
|
|