Compare commits

...

10 Commits

Author SHA1 Message Date
9f0fa6355f New installers: 2020-05-19 2020-05-19 13:58:40 +01:00
0992fd1fc7 Update FUNDING.yml 2020-04-07 10:50:41 +01:00
7ff7e676d0 New installers: 2020-02-21 2020-02-21 12:57:00 +00:00
651af13435 New installers: 2019-12-19 2019-12-19 13:06:45 +00:00
f97fa61ab3 Add code to test runtime 2019-12-19 13:03:31 +00:00
29f9d477bc New installers: 2019-11-07
Closes #24
2019-11-07 16:03:51 +00:00
07fe7dbe80 New installers: 2019-10-04 2019-10-04 14:45:59 +01:00
b5299b2e9e New installers: 2019-08-05 2019-08-05 09:12:34 +01:00
e20195cfbf New installers: 2019-07-02 2019-07-02 10:12:26 +01:00
12ed7c624f Create FUNDING.yml 2019-05-23 19:38:26 +01:00
3384 changed files with 2360 additions and 4903 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1 @@
custom: https://www.paypal.me/tomschoonjansUK/10

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ gtk2-runtime*-ts-win64*exe
gtk3-runtime*-ts-win64*exe gtk3-runtime*-ts-win64*exe
*.swp *.swp
/.vscode /.vscode
hello-world-gtkmm3.exe

View File

@ -10,49 +10,51 @@ My efforts here will focus on creating a **64-bit version** of the GTK+-2 runtim
The installers can be found in the [releases section](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases). The installers can be found in the [releases section](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases).
The current releases ([gtk2-runtime-2.24.32-2019-04-26-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-04-26/gtk2-runtime-2.24.32-2019-04-26-ts-win64.exe) and [gtk3-runtime-3.24.8-2019-04-26-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-04-26/gtk3-runtime-3.24.8-2019-04-26-ts-win64.exe)) were obtained entirely from the excellent [MSYS2 project](https://www.msys2.org), and were **not** compiled by myself, as was the case for releases made before 2017. Users who want to compile against this runtime are strongly encouraged to set up a MSYS2 installation themselves, and install the required packages (compiled with the mingw-w64-x86\_64 toolchain!!!). The current releases ([gtk2-runtime-2.24.32-2020-05-19-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2020-05-19/gtk2-runtime-2.24.32-2020-05-19-ts-win64.exe) and [gtk3-runtime-3.24.18-2020-05-19-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2020-05-19/gtk3-runtime-3.24.18-2020-05-19-ts-win64.exe)) were obtained entirely from the excellent [MSYS2 project](https://www.msys2.org), and were **not** compiled by myself, as was the case for releases made before 2017. Users who want to compile against this runtime are strongly encouraged to set up a MSYS2 installation themselves, and install the required packages (compiled with the mingw-w64-x86\_64 toolchain!!!).
The following packages are included in the current GTK+-2/3 installers The following packages are included in the current GTK+-2/3 installers
* [adwaita icon theme](http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/) (3.32.0) * [adwaita icon theme](http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/) (3.36.0)
* [atk](http://ftp.gnome.org/pub/GNOME/sources/atk/) (2.32.0) * [atk](http://ftp.gnome.org/pub/GNOME/sources/atk/) (2.36.0)
* [atkmm](http://ftp.gnome.org/pub/GNOME/sources/atkmm/) (2.28.0) * [atkmm](http://ftp.gnome.org/pub/GNOME/sources/atkmm/) (2.28.0)
* [cairo](http://cairographics.org/releases/) (1.16.0) * [cairo](http://cairographics.org/releases/) (1.16.0)
* [cairomm](http://cairographics.org/releases/) (1.12.2) * [cairomm](http://cairographics.org/releases/) (1.12.2)
* [fontconfig](http://www.freedesktop.org/software/fontconfig/release/) (2.13.1) * [fontconfig](http://www.freedesktop.org/software/fontconfig/release/) (2.13.1)
* [freetype](http://www.freetype.org/download.html) (2.10.0) * [freetype](http://www.freetype.org/download.html) (2.10.2)
* [gdk-pixbuf](http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/) (2.38.1) * [gdk-pixbuf](http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/) (2.40.0)
* [gettext](http://ftp.gnu.org/pub/gnu/gettext/) (0.19.8.1) * [gettext](http://ftp.gnu.org/pub/gnu/gettext/) (0.19.8.1)
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.60.1) * [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.64.2)
* [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.60.1) * [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.64.2)
* [glibmm](http://ftp.gnome.org/pub/GNOME/sources/glibmm/) (2.60.0) * [glibmm](http://ftp.gnome.org/pub/GNOME/sources/glibmm/) (2.64.2)
* [gobject-introspection](http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/) (1.64.1)
* [gtk2](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (2.24.32) * [gtk2](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (2.24.32)
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.24.8) * [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.24.18)
* [gtkmm2](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (2.24.5) * [gtkmm2](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (2.24.5)
* [gtkmm3](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (3.24.1) * [gtkmm3](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (3.24.2)
* [gtksourceview2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (2.10.5) * [gtksourceview2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (2.10.5)
* [gtksourceview3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (3.24.10) * [gtksourceview3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (3.24.11)
* ~~[gtksourceviewmm2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (2.10.3)~~ (currently unavailable) * ~~[gtksourceviewmm2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (2.10.3)~~ (currently unavailable)
* [gtksourceviewmm3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (3.21.3) * [gtksourceviewmm3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (3.21.3)
* [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (2.4.0) * [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (2.6.6)
* [hicolor-icon-theme](http://icon-theme.freedesktop.org/releases/) (0.17) * [hicolor-icon-theme](http://icon-theme.freedesktop.org/releases/) (0.17)
* [json-glib](http://ftp.gnome.org/pub/gnome/sources/json-glib/) (1.4.4) * [json-glib](http://ftp.gnome.org/pub/gnome/sources/json-glib/) (1.4.4)
* [libepoxy](https://github.com/anholt/libepoxy) (1.5.3) * [libepoxy](https://github.com/anholt/libepoxy) (1.5.4)
* [libffi](http://sourceware.org/libffi/) (3.2.1) * [libffi](http://sourceware.org/libffi/) (3.3)
* [libiconv](https://ftp.gnu.org/pub/gnu/libiconv/) (1.15) * [libiconv](https://ftp.gnu.org/pub/gnu/libiconv/) (1.16)
* [libpeas](http://ftp.gnome.org/pub/gnome/sources/libpeas/) (1.26.0)
* [libpng](http://sourceforge.net/project/showfiles.php?group_id=5624) (1.6.37) * [libpng](http://sourceforge.net/project/showfiles.php?group_id=5624) (1.6.37)
* [librsvg](http://ftp.gnome.org/pub/GNOME/sources/librsvg/) (2.40.20) * [librsvg](http://ftp.gnome.org/pub/GNOME/sources/librsvg/) (2.48.4)
* [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.1) * [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.3)
* [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.66.1) * [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.70.0)
* [libxml2](http://xmlsoft.org/sources/) (2.9.9) * [libxml2](http://xmlsoft.org/sources/) (2.9.10)
* [libxml++2](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (2.40.1) * [libxml++2](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (2.40.1)
* [libxml++3](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (3.0.1) * [libxml++3](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (3.2.0)
* [libxslt](http://xmlsoft.org/sources/) (1.1.33) * [libxslt](http://xmlsoft.org/sources/) (1.1.34)
* [pango](http://ftp.gnome.org/pub/GNOME/sources/pango/) (1.43.0) * [pango](http://ftp.gnome.org/pub/GNOME/sources/pango/) (1.43.0)
* [pangomm](http://ftp.gnome.org/pub/GNOME/sources/pangomm/) (2.42.0) * [pangomm](http://ftp.gnome.org/pub/GNOME/sources/pangomm/) (2.42.1)
* [pcre](ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/) (8.43) * [pcre](ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/) (8.44)
* [pixman](http://cairographics.org/releases/) (0.38.2) * [pixman](http://cairographics.org/releases/) (0.40.0)
* [sqlite](https://www.sqlite.org) (3.28.0) * [sqlite](https://www.sqlite.org) (3.31.1)
* [zlib](http://www.zlib.net) (1.2.11) * [zlib](http://www.zlib.net) (1.2.11)
For all other information regarding how to use the installer, the reader is kindly referred to [Alexander Shaduri's website](http://gtk-win.sourceforge.net) of the GTK for Windows runtime environment installer. The only difference with the installers found at his website is that mine DO NOT have the `compatdlls` option, but this should present no problems to any user. For all other information regarding how to use the installer, the reader is kindly referred to [Alexander Shaduri's website](http://gtk-win.sourceforge.net) of the GTK for Windows runtime environment installer. The only difference with the installers found at his website is that mine DO NOT have the `compatdlls` option, but this should present no problems to any user.

BIN
gtk-nsis-pack/bin/gdbus.exe Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -45,7 +45,7 @@ cp $INSTALL_SRC_MSYS2_BIN/libcairo-script-interpreter-2.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libcairomm-1.0-1.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libcairomm-1.0-1.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libepoxy-0.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libepoxy-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libexslt-0.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libexslt-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libffi-6.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libffi-7.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libfontconfig-1.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libfontconfig-1.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libfreetype-6.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libfreetype-6.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libfribidi-0.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libfribidi-0.dll $INSTALL_SRC_BIN
@ -111,13 +111,15 @@ cp $INSTALL_SRC_MSYS2_BIN/libjasper-4.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libjpeg-8.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libjpeg-8.dll $INSTALL_SRC_BIN
# libsoup and its dependencies # libsoup and its dependencies
cp $INSTALL_SRC_MSYS2_BIN/libbrotlidec.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libbrotlicommon.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libsoup-2.4-1.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libsoup-2.4-1.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libsoup-gnome-2.4-1.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libsoup-gnome-2.4-1.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libsqlite3-0.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libsqlite3-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgnutls-30.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libgnutls-30.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgmp-10.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libgmp-10.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libhogweed-4.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libhogweed-6.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libnettle-6.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libnettle-8.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libidn2-0.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libidn2-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libp11-kit-0.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libp11-kit-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libtasn1-6.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libtasn1-6.dll $INSTALL_SRC_BIN
@ -125,12 +127,20 @@ cp $INSTALL_SRC_MSYS2_BIN/libunistring-2.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libproxy-1.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libproxy-1.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libpsl-5.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libpsl-5.dll $INSTALL_SRC_BIN
# libpeas
cp $INSTALL_SRC_MSYS2_BIN/libpeas-1.0-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libpeas-gtk-1.0-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgirepository-1.0-1.dll $INSTALL_SRC_BIN
mkdir -p $INSTALL_SRC_LIB/libpeas-1.0/loaders
cp $INSTALL_SRC_MSYS2_LIB/libpeas-1.0/loaders/libpython3loader.dll $INSTALL_SRC_LIB/libpeas-1.0/loaders
# Standard MSYS2 libraries # Standard MSYS2 libraries
cp $INSTALL_SRC_MSYS2_BIN/libstdc++-6.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libstdc++-6.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgcc_s_seh-1.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libgcc_s_seh-1.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libwinpthread-1.dll $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/libwinpthread-1.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/gdbus.exe $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/fc-cache.exe $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/fc-cache.exe $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/fc-cat.exe $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/fc-cat.exe $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/fc-list.exe $INSTALL_SRC_BIN cp $INSTALL_SRC_MSYS2_BIN/fc-list.exe $INSTALL_SRC_BIN
@ -165,6 +175,11 @@ cp -r modules $INSTALL_SRC_LIB/gio/
# Delete static libraries # Delete static libraries
find $INSTALL_SRC_LIB/gio/modules -name *.a -type f -delete find $INSTALL_SRC_LIB/gio/modules -name *.a -type f -delete
# Copy lib/girepository-1.0 folder
cd $INSTALL_SRC_MSYS2_LIB/girepository-1.0
mkdir -p $INSTALL_SRC_LIB/girepository-1.0
cp -r *typelib $INSTALL_SRC_LIB/girepository-1.0/
# Copy /share/locale/locale.alias # Copy /share/locale/locale.alias
rm -r $INSTALL_SRC_DIR/share/locale rm -r $INSTALL_SRC_DIR/share/locale
cp -r $INSTALL_SRC_MSYS2/share/locale $INSTALL_SRC_DIR/share/ cp -r $INSTALL_SRC_MSYS2/share/locale $INSTALL_SRC_DIR/share/

View File

@ -14,7 +14,7 @@
!define GTK_VERSION "2.24.32" !define GTK_VERSION "2.24.32"
!define GTK_BIN_VERSION "2.10.0" !define GTK_BIN_VERSION "2.10.0"
!define PRODUCT_VERSION "${GTK_VERSION}-2019-04-26-ts-win64" !define PRODUCT_VERSION "${GTK_VERSION}-2020-05-19-ts-win64"
!define PRODUCT_NAME "GTK2-Runtime Win64" !define PRODUCT_NAME "GTK2-Runtime Win64"
!define PRODUCT_PUBLISHER "Tom Schoonjans" !define PRODUCT_PUBLISHER "Tom Schoonjans"
!define PRODUCT_WEB_SITE "https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer" !define PRODUCT_WEB_SITE "https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer"
@ -30,7 +30,6 @@
; AddToPath and friends should work with all users ; AddToPath and friends should work with all users
!define ALL_USERS !define ALL_USERS
!include nsi_env_var_update.nsh ; EnvVar* functions
!include "FileFunc.nsh" ; GetOptions !include "FileFunc.nsh" ; GetOptions
!include "x64.nsh" !include "x64.nsh"
!include "LogicLib.nsh" !include "LogicLib.nsh"
@ -54,6 +53,7 @@ Name "${PRODUCT_NAME}" ; ${PRODUCT_VERSION}
; Output File Name ; Output File Name
OutFile "${INSTALLER_OUTPUT_FILE}" OutFile "${INSTALLER_OUTPUT_FILE}"
Unicode true
; The Default Installation Directory ; The Default Installation Directory
InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}" InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}"
@ -239,9 +239,11 @@ SectionIn 1 2 RO
File bin\libcairo-script-interpreter-2.dll ; cairo. Doesn't seem to be required, but since we're distributing cairo... File bin\libcairo-script-interpreter-2.dll ; cairo. Doesn't seem to be required, but since we're distributing cairo...
File bin\libcairomm-1.0-1.dll File bin\libcairomm-1.0-1.dll
File bin\libexslt-0.dll File bin\libexslt-0.dll
File bin\libffi-6.dll ; libffi is required by glib File bin\libffi-7.dll ; libffi is required by glib
File bin\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend File bin\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
File bin\libfreetype-6.dll ; freetype is needed for ft2 pango backend File bin\libfreetype-6.dll ; freetype is needed for ft2 pango backend
File bin\libbrotlidec.dll ; brotli is needed for freetype
File bin\libbrotlicommon.dll ; brotli is needed for freetype
File bin\libfribidi-0.dll ; fribidi is needed for pango File bin\libfribidi-0.dll ; fribidi is needed for pango
File bin\libgailutil-18.dll ; from gtk File bin\libgailutil-18.dll ; from gtk
File bin\libgdk_pixbuf-2.0-0.dll ; from gtk File bin\libgdk_pixbuf-2.0-0.dll ; from gtk
@ -474,9 +476,8 @@ Section -post
StrCpy $ADD_TO_PATH "1" StrCpy $ADD_TO_PATH "1"
; Push $LIB_INSTDIR ; Push $LIB_INSTDIR
; Call AddToPath ; add $LIB_INSTDIR to system $PATH ; Call AddToPath ; add $LIB_INSTDIR to system $PATH
Push $0 ; result PATH EnVar::SetHKLM
${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$LIB_INSTDIR" ; Append EnVar::AddValue "PATH" "$LIB_INSTDIR"
Pop $0
; MessageBox MB_ICONINFORMATION|MB_OK "$LIB_INSTDIR added to path" ; MessageBox MB_ICONINFORMATION|MB_OK "$LIB_INSTDIR added to path"
goto goto_set_path_exit goto goto_set_path_exit
goto_set_path_no: goto_set_path_no:
@ -603,9 +604,11 @@ Function un.DeleteDlls
Delete $LIB_INSTDIR\libcairo-script-interpreter-2.dll ; cairo. Doesn't seem to be required, but since we're distributing cairo... Delete $LIB_INSTDIR\libcairo-script-interpreter-2.dll ; cairo. Doesn't seem to be required, but since we're distributing cairo...
Delete $LIB_INSTDIR\libcairomm-1.0-1.dll Delete $LIB_INSTDIR\libcairomm-1.0-1.dll
Delete $LIB_INSTDIR\libexslt-0.dll Delete $LIB_INSTDIR\libexslt-0.dll
Delete $LIB_INSTDIR\libffi-6.dll ; libffi is required by glib Delete $LIB_INSTDIR\libffi-7.dll ; libffi is required by glib
Delete $LIB_INSTDIR\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend Delete $LIB_INSTDIR\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
Delete $LIB_INSTDIR\libfreetype-6.dll ; freetype is needed for ft2 pango backend Delete $LIB_INSTDIR\libfreetype-6.dll ; freetype is needed for ft2 pango backend
Delete $LIB_INSTDIR\libbrotlidec.dll
Delete $LIB_INSTDIR\libbrotlicommon.dll
Delete $LIB_INSTDIR\libfribidi-0.dll Delete $LIB_INSTDIR\libfribidi-0.dll
Delete $LIB_INSTDIR\libgailutil-18.dll ; from gtk Delete $LIB_INSTDIR\libgailutil-18.dll ; from gtk
Delete $LIB_INSTDIR\libgdk_pixbuf-2.0-0.dll ; from gtk Delete $LIB_INSTDIR\libgdk_pixbuf-2.0-0.dll ; from gtk
@ -699,10 +702,8 @@ Section Uninstall
StrCmp $ADD_TO_PATH "0" un_nopath ; Setting $PATH was not requested during installation StrCmp $ADD_TO_PATH "0" un_nopath ; Setting $PATH was not requested during installation
; Push $LIB_INSTDIR ; Push $LIB_INSTDIR
; Call un.RemoveFromPath ; Call un.RemoveFromPath
Push $0 ; result PATH EnVar::SetHKLM
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$LIB_INSTDIR" ; remove EnVar::DeleteValue "PATH" "$LIB_INSTDIR"
Pop $0
; MessageBox MB_OK "$LIB_INSTDIR removed from PATH" /SD IDOK
un_nopath: un_nopath:
; $DLL_DIR_NAME is from the registry here ; $DLL_DIR_NAME is from the registry here

View File

@ -11,9 +11,9 @@
; Directory and package names: gtk3-runtime. ; Directory and package names: gtk3-runtime.
!define GTK_VERSION "3.24.8" !define GTK_VERSION "3.24.18"
!define GTK_BIN_VERSION "3.0.0" !define GTK_BIN_VERSION "3.0.0"
!define PRODUCT_VERSION "${GTK_VERSION}-2019-04-26-ts-win64" !define PRODUCT_VERSION "${GTK_VERSION}-2020-05-19-ts-win64"
!define PRODUCT_NAME "GTK3-Runtime Win64" !define PRODUCT_NAME "GTK3-Runtime Win64"
!define PRODUCT_PUBLISHER "Tom Schoonjans" !define PRODUCT_PUBLISHER "Tom Schoonjans"
!define PRODUCT_WEB_SITE "https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer" !define PRODUCT_WEB_SITE "https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer"
@ -29,7 +29,6 @@
; AddToPath and friends should work with all users ; AddToPath and friends should work with all users
!define ALL_USERS !define ALL_USERS
!include nsi_env_var_update.nsh ; EnvVar* functions
!include "FileFunc.nsh" ; GetOptions !include "FileFunc.nsh" ; GetOptions
!include "x64.nsh" !include "x64.nsh"
!include "LogicLib.nsh" !include "LogicLib.nsh"
@ -53,6 +52,7 @@ Name "${PRODUCT_NAME}" ; ${PRODUCT_VERSION}
; Output File Name ; Output File Name
OutFile "${INSTALLER_OUTPUT_FILE}" OutFile "${INSTALLER_OUTPUT_FILE}"
Unicode true
; The Default Installation Directory ; The Default Installation Directory
InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}" InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}"
@ -239,7 +239,7 @@ SectionIn 1 2 RO
File bin\libcairomm-1.0-1.dll File bin\libcairomm-1.0-1.dll
File bin\libepoxy-0.dll File bin\libepoxy-0.dll
File bin\libexslt-0.dll File bin\libexslt-0.dll
File bin\libffi-6.dll ; libffi is required by glib2 File bin\libffi-7.dll ; libffi is required by glib2
File bin\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend File bin\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
File bin\libfreetype-6.dll ; freetype is needed for ft2 pango backend File bin\libfreetype-6.dll ; freetype is needed for ft2 pango backend
File bin\libfribidi-0.dll ; fribidi is needed for pango File bin\libfribidi-0.dll ; fribidi is needed for pango
@ -295,18 +295,24 @@ SectionIn 1 2 RO
File bin\libsoup-gnome-2.4-1.dll ; libsoup File bin\libsoup-gnome-2.4-1.dll ; libsoup
File bin\libsqlite3-0.dll ; libsoup dependency File bin\libsqlite3-0.dll ; libsoup dependency
File bin\libpsl-5.dll ; libsoup dependency File bin\libpsl-5.dll ; libsoup dependency
File bin\libbrotlidec.dll ; libsoup dependency
File bin\libbrotlicommon.dll ; libsoup dependency
File bin\libgnutls-30.dll ; glib-networking dependency File bin\libgnutls-30.dll ; glib-networking dependency
File bin\libgmp-10.dll ; glib-networking dependency File bin\libgmp-10.dll ; glib-networking dependency
File bin\libhogweed-4.dll ; glib-networking dependency File bin\libhogweed-6.dll ; glib-networking dependency
File bin\libnettle-6.dll ; glib-networking dependency File bin\libnettle-8.dll ; glib-networking dependency
File bin\libidn2-0.dll ; glib-networking dependency File bin\libidn2-0.dll ; glib-networking dependency
File bin\libp11-kit-0.dll ; glib-networking dependency File bin\libp11-kit-0.dll ; glib-networking dependency
File bin\libtasn1-6.dll ; glib-networking dependency File bin\libtasn1-6.dll ; glib-networking dependency
File bin\libunistring-2.dll ; glib-networking dependency File bin\libunistring-2.dll ; glib-networking dependency
File bin\libproxy-1.dll ; glib-networking dependency File bin\libproxy-1.dll ; glib-networking dependency
File bin\libpeas-1.0-0.dll ; libpeas
File bin\libpeas-gtk-1.0-0.dll ; libpeas
File bin\libgirepository-1.0-1.dll ; gobject-introspection
; We install this into the same place as the DLLs to avoid any PATH manipulation. ; We install this into the same place as the DLLs to avoid any PATH manipulation.
SetOutPath "$LIB_INSTDIR" SetOutPath "$LIB_INSTDIR"
File bin\gdbus.exe
File bin\fc-cache.exe File bin\fc-cache.exe
File bin\fc-cat.exe File bin\fc-cat.exe
File bin\fc-list.exe File bin\fc-list.exe
@ -340,6 +346,12 @@ SectionIn 1 2 RO
File lib\gio\modules\libgiognomeproxy.dll File lib\gio\modules\libgiognomeproxy.dll
File lib\gio\modules\libgiolibproxy.dll File lib\gio\modules\libgiolibproxy.dll
SetOutPath "$INSTDIR\lib\libpeas-1.0\loaders"
File lib\libpeas-1.0\loaders\libpython3loader.dll
SetOutPath "$INSTDIR\lib"
File /r lib\girepository-1.0
SetOutPath "$INSTDIR\ssl\certs" SetOutPath "$INSTDIR\ssl\certs"
File ssl\certs\ca-bundle.crt File ssl\certs\ca-bundle.crt
File ssl\certs\ca-bundle.trust.crt File ssl\certs\ca-bundle.trust.crt
@ -497,10 +509,8 @@ Section -post
StrCpy $ADD_TO_PATH "1" StrCpy $ADD_TO_PATH "1"
; Push $LIB_INSTDIR ; Push $LIB_INSTDIR
; Call AddToPath ; add $LIB_INSTDIR to system $PATH ; Call AddToPath ; add $LIB_INSTDIR to system $PATH
Push $0 ; result PATH EnVar::SetHKLM
${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$LIB_INSTDIR" ; Append EnVar::AddValue "PATH" "$LIB_INSTDIR"
Pop $0
; MessageBox MB_ICONINFORMATION|MB_OK "$LIB_INSTDIR added to path"
goto goto_set_path_exit goto goto_set_path_exit
goto_set_path_no: goto_set_path_no:
StrCpy $ADD_TO_PATH "0" StrCpy $ADD_TO_PATH "0"
@ -604,6 +614,7 @@ Function un.DeleteDlls
un_no_dll_append: un_no_dll_append:
; bin stuff (they are in the same directory) ; bin stuff (they are in the same directory)
Delete $LIB_INSTDIR\gdbus.exe
Delete $LIB_INSTDIR\fc-cache.exe Delete $LIB_INSTDIR\fc-cache.exe
Delete $LIB_INSTDIR\fc-cat.exe Delete $LIB_INSTDIR\fc-cat.exe
Delete $LIB_INSTDIR\fc-list.exe Delete $LIB_INSTDIR\fc-list.exe
@ -627,7 +638,7 @@ Function un.DeleteDlls
Delete $LIB_INSTDIR\libcairomm-1.0-1.dll Delete $LIB_INSTDIR\libcairomm-1.0-1.dll
Delete $LIB_INSTDIR\libepoxy-0.dll Delete $LIB_INSTDIR\libepoxy-0.dll
Delete $LIB_INSTDIR\libexslt-0.dll Delete $LIB_INSTDIR\libexslt-0.dll
Delete $LIB_INSTDIR\libffi-6.dll ; libffi is required by glib Delete $LIB_INSTDIR\libffi-7.dll ; libffi is required by glib
Delete $LIB_INSTDIR\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend Delete $LIB_INSTDIR\libfontconfig-1.dll ; fontconfig is needed for ft2 pango backend
Delete $LIB_INSTDIR\libfreetype-6.dll ; freetype is needed for ft2 pango backend Delete $LIB_INSTDIR\libfreetype-6.dll ; freetype is needed for ft2 pango backend
Delete $LIB_INSTDIR\libfribidi-0.dll Delete $LIB_INSTDIR\libfribidi-0.dll
@ -683,15 +694,20 @@ Function un.DeleteDlls
Delete $LIB_INSTDIR\libsoup-gnome-2.4-1.dll ; libsoup Delete $LIB_INSTDIR\libsoup-gnome-2.4-1.dll ; libsoup
Delete $LIB_INSTDIR\libsqlite3-0.dll ; libsoup dependency Delete $LIB_INSTDIR\libsqlite3-0.dll ; libsoup dependency
Delete $LIB_INSTDIR\libpsl-5.dll ; libsoup dependency Delete $LIB_INSTDIR\libpsl-5.dll ; libsoup dependency
Delete $LIB_INSTDIR\libbrotlidec.dll ; libsoup dependency
Delete $LIB_INSTDIR\libbrotlicommon.dll ; libsoup dependency
Delete $LIB_INSTDIR\libgnutls-30.dll ; glib-networking dependency Delete $LIB_INSTDIR\libgnutls-30.dll ; glib-networking dependency
Delete $LIB_INSTDIR\libgmp-10.dll ; glib-networking dependency Delete $LIB_INSTDIR\libgmp-10.dll ; glib-networking dependency
Delete $LIB_INSTDIR\libhogweed-4.dll ; glib-networking dependency Delete $LIB_INSTDIR\libhogweed-6.dll ; glib-networking dependency
Delete $LIB_INSTDIR\libnettle-6.dll ; glib-networking dependency Delete $LIB_INSTDIR\libnettle-8.dll ; glib-networking dependency
Delete $LIB_INSTDIR\libidn2-0.dll ; glib-networking dependency Delete $LIB_INSTDIR\libidn2-0.dll ; glib-networking dependency
Delete $LIB_INSTDIR\libp11-kit-0.dll ; glib-networking dependency Delete $LIB_INSTDIR\libp11-kit-0.dll ; glib-networking dependency
Delete $LIB_INSTDIR\libtasn1-6.dll ; glib-networking dependency Delete $LIB_INSTDIR\libtasn1-6.dll ; glib-networking dependency
Delete $LIB_INSTDIR\libunistring-2.dll ; glib-networking dependency Delete $LIB_INSTDIR\libunistring-2.dll ; glib-networking dependency
Delete $LIB_INSTDIR\libproxy-1.dll ; glib-networking dependency Delete $LIB_INSTDIR\libproxy-1.dll ; glib-networking dependency
Delete $LIB_INSTDIR\libpeas-1.0-0.dll
Delete $LIB_INSTDIR\libpeas-gtk-1.0-0.dll
Delete $LIB_INSTDIR\libgirepository-1.0-1.dll
FunctionEnd FunctionEnd
@ -736,10 +752,8 @@ Section Uninstall
StrCmp $ADD_TO_PATH "0" un_nopath ; Setting $PATH was not requested during installation StrCmp $ADD_TO_PATH "0" un_nopath ; Setting $PATH was not requested during installation
; Push $LIB_INSTDIR ; Push $LIB_INSTDIR
; Call un.RemoveFromPath ; Call un.RemoveFromPath
Push $0 ; result PATH EnVar::SetHKLM
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$LIB_INSTDIR" ; remove EnVar::DeleteValue "PATH" "$LIB_INSTDIR"
Pop $0
; MessageBox MB_OK "$LIB_INSTDIR removed from PATH" /SD IDOK
un_nopath: un_nopath:
; $DLL_DIR_NAME is from the registry here ; $DLL_DIR_NAME is from the registry here
@ -832,6 +846,12 @@ Section Uninstall
RMDir "$INSTDIR\lib\gio\modules" RMDir "$INSTDIR\lib\gio\modules"
RMDir "$INSTDIR\lib\gio" RMDir "$INSTDIR\lib\gio"
Delete "$INSTDIR\lib\libpeas-1.0\loaders\libpython3loader.dll"
RMDir "$INSTDIR\lib\libpeas-1.0\loaders"
RMDir "$INSTDIR\lib\libpeas-1.0"
RMDir /r "$INSTDIR\lib\girepository-1.0"
Delete "$INSTDIR\ssl\certs\ca-bundle.crt" Delete "$INSTDIR\ssl\certs\ca-bundle.crt"
Delete "$INSTDIR\ssl\certs\ca-bundle.trust.crt" Delete "$INSTDIR\ssl\certs\ca-bundle.trust.crt"
RMDir "$INSTDIR\ssl\certs" RMDir "$INSTDIR\ssl\certs"

View File

@ -1,6 +1,6 @@
# GdkPixbuf Image Loader Modules file # GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit # Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders.exe from gdk-pixbuf-2.38.1 # Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.40.0
# #
# LoaderDir = C:\msys64\mingw64\lib\gdk-pixbuf-2.0\2.10.0\loaders # LoaderDir = C:\msys64\mingw64\lib\gdk-pixbuf-2.0\2.10.0\loaders
# #

Some files were not shown because too many files have changed in this diff Show More