summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2016-10-19 18:39:36 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2016-10-19 18:39:36 +0800
commit8b8f378050c1baef1b25448ff95d1b1171cb8401 (patch)
tree400f31bec98a949484f0a25fb29675005f5edefb /gtk
parent51b71461383864cec7987971369549dd0ac2fd93 (diff)
downloadgtk+-8b8f378050c1baef1b25448ff95d1b1171cb8401.tar.gz
Visual Studio builds: Update from [gdk|gtk]-3 to [gdk|gtk]-4
This updates all the projects files to be be named appropriately as we move from GTK-3.x to 4.x, and updates the autotools files so that things are distributed and generated properly. Also remove deprecated/gtkstatusicon-quartz.c from gtk/Makefile.am, as that was causing 'make dist' to fail as that file has been removed. This fixes 'make dist' with the updated existing project files in proper order. Note that this does not include the new GSK, which will be added later, so the project files do not yet build the whole stack on Visual Studio at this point.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/Makefile.am21
-rw-r--r--gtk/libgtk4.manifest.in (renamed from gtk/libgtk3.manifest.in)0
2 files changed, 10 insertions, 11 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 94f3103cb7..8277b3339c 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -43,13 +43,13 @@ gtk_win32_symbols = -export-symbols $(srcdir)/gtk.def
gtk_win32_res = gtk-win32-res.o
gtk_win32_res_ldflag = -Wl,gtk-win32-res.o
-gtk-win32-res.o : gtk-win32.rc libgtk3.manifest
+gtk-win32-res.o : gtk-win32.rc libgtk4.manifest
$(WINDRES) gtk-win32.rc $@
gtk-win32.rc: gtk-win32.rc.body
echo "#include <winuser.h>" >>$@
cat $< >>$@
- echo "ISOLATIONAWARE_MANIFEST_RESOURCE_ID RT_MANIFEST libgtk3.manifest" >>$@
+ echo "ISOLATIONAWARE_MANIFEST_RESOURCE_ID RT_MANIFEST libgtk4.manifest" >>$@
gtk.def: libgtk-4.la
echo "LIBRARY libgtk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@" >$@
@@ -57,9 +57,9 @@ gtk.def: libgtk-4.la
objdump -p .libs/libgtk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@.dll | sed -n -e 's/\t\[\s\+\([0-9]\+\)\]\s\([A-Za-z_][A-Za-z0-9_]\)/\2/p' >>$@
install-def-file: gtk.def
- $(INSTALL) gtk.def $(DESTDIR)$(libdir)/gtk-win32-3.0.def
+ $(INSTALL) gtk.def $(DESTDIR)$(libdir)/gtk-win32-4.0.def
uninstall-def-file:
- -rm $(DESTDIR)$(libdir)/gtk-win32-3.0.def
+ -rm $(DESTDIR)$(libdir)/gtk-win32-4.0.def
else
install-def-file:
uninstall-def-file:
@@ -68,7 +68,7 @@ endif
if MS_LIB_AVAILABLE
noinst_DATA = gtk-win32-$(GTK_API_VERSION).lib
-gtk-win32-$(GTK_API_VERSION).lib: libgtk-3.la gtk.def
+gtk-win32-$(GTK_API_VERSION).lib: libgtk-4.la gtk.def
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgtk-win32-$(GTK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gtk.def -out:$@
install-ms-lib:
@@ -1115,7 +1115,6 @@ gtk_extra_sources = \
paper_names.c \
paper_names_offsets.c \
gen-paper-names.c \
- deprecated/gtkstatusicon-quartz.c \
gtkversion.h.in \
gtkmarshalers.list \
fallback-c89.c
@@ -1411,7 +1410,7 @@ uninstall-mac-key-theme:
endif
# ------------------- MSVC Build Items ----------------
-MSVCPROJS = gtk-3
+MSVCPROJS = gtk-4
gtk_4_FILES = \
$(gtk_base_c_sources) \
@@ -1459,7 +1458,7 @@ GTK_MSVC_GIR_CFLAGS = \
INTROSPECTION_INTERMEDIATE_ITEMS = \
$(top_builddir)/build/win32/Gtk-4.0.gir.msvc.introspect \
- $(top_builddir)/build/win32/Gtk-4_0_gir_list
+ $(top_builddir)/build/win32/Gtk_4_0_gir_list
Gtk_4_0_gir_MSVC_FILES = \
$(introspected_pub_headers) \
@@ -1482,8 +1481,8 @@ INTROSPECTION_INTERMEDIATE_ITEMS =
endif
dist-hook: \
- $(top_builddir)/build/win32/vs9/gtk-3.vcproj \
- $(top_builddir)/build/win32/vs9/gtk-3.headers \
+ $(top_builddir)/build/win32/vs9/gtk-4.vcproj \
+ $(top_builddir)/build/win32/vs9/gtk-4.headers \
$(INTROSPECTION_INTERMEDIATE_ITEMS)
# Install a RC file for the default GTK+ theme, and key themes
@@ -1660,7 +1659,7 @@ EXTRA_DIST += \
a11y/Makefile.inc \
deprecated/Makefile.inc \
inspector/Makefile.inc \
- libgtk3.manifest.in \
+ libgtk4.manifest.in \
gtk-win32.rc.body.in \
gtk-win32.rc.body \
gtkprint-win32.h \
diff --git a/gtk/libgtk3.manifest.in b/gtk/libgtk4.manifest.in
index 6e1677eb1f..6e1677eb1f 100644
--- a/gtk/libgtk3.manifest.in
+++ b/gtk/libgtk4.manifest.in