Compare commits
7 Commits
2019-08-05
...
2020-05-19
Author | SHA1 | Date | |
---|---|---|---|
9f0fa6355f | |||
0992fd1fc7 | |||
7ff7e676d0 | |||
651af13435 | |||
f97fa61ab3 | |||
29f9d477bc | |||
07fe7dbe80 |
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1 +1 @@
|
||||
custom: https://www.paypal.me/tomschoonjans/10
|
||||
custom: https://www.paypal.me/tomschoonjansUK/10
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ gtk2-runtime*-ts-win64*exe
|
||||
gtk3-runtime*-ts-win64*exe
|
||||
*.swp
|
||||
/.vscode
|
||||
hello-world-gtkmm3.exe
|
||||
|
48
README.md
48
README.md
@ -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 current releases ([gtk2-runtime-2.24.32-2019-08-05-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-08-05/gtk2-runtime-2.24.32-2019-08-05-ts-win64.exe) and [gtk3-runtime-3.24.10-2019-08-05-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-08-05/gtk3-runtime-3.24.10-2019-08-05-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
|
||||
|
||||
* [adwaita icon theme](http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/) (3.32.0)
|
||||
* [atk](http://ftp.gnome.org/pub/GNOME/sources/atk/) (2.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.36.0)
|
||||
* [atkmm](http://ftp.gnome.org/pub/GNOME/sources/atkmm/) (2.28.0)
|
||||
* [cairo](http://cairographics.org/releases/) (1.16.0)
|
||||
* [cairomm](http://cairographics.org/releases/) (1.12.2)
|
||||
* [fontconfig](http://www.freedesktop.org/software/fontconfig/release/) (2.13.1)
|
||||
* [freetype](http://www.freetype.org/download.html) (2.10.1)
|
||||
* [gdk-pixbuf](http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/) (2.38.1)
|
||||
* [freetype](http://www.freetype.org/download.html) (2.10.2)
|
||||
* [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)
|
||||
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.60.4)
|
||||
* [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.60.3)
|
||||
* [glibmm](http://ftp.gnome.org/pub/GNOME/sources/glibmm/) (2.60.0)
|
||||
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.64.2)
|
||||
* [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.64.2)
|
||||
* [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)
|
||||
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.24.10)
|
||||
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.24.18)
|
||||
* [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)
|
||||
* [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)
|
||||
* [gtksourceviewmm3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (3.21.3)
|
||||
* [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (2.5.3)
|
||||
* [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (2.6.6)
|
||||
* [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)
|
||||
* [libepoxy](https://github.com/anholt/libepoxy) (1.5.3)
|
||||
* [libffi](http://sourceware.org/libffi/) (3.2.1)
|
||||
* [libepoxy](https://github.com/anholt/libepoxy) (1.5.4)
|
||||
* [libffi](http://sourceware.org/libffi/) (3.3)
|
||||
* [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)
|
||||
* [librsvg](http://ftp.gnome.org/pub/GNOME/sources/librsvg/) (2.44.14)
|
||||
* [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.2)
|
||||
* [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.66.2)
|
||||
* [libxml2](http://xmlsoft.org/sources/) (2.9.9)
|
||||
* [librsvg](http://ftp.gnome.org/pub/GNOME/sources/librsvg/) (2.48.4)
|
||||
* [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.3)
|
||||
* [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.70.0)
|
||||
* [libxml2](http://xmlsoft.org/sources/) (2.9.10)
|
||||
* [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)
|
||||
* [libxslt](http://xmlsoft.org/sources/) (1.1.33)
|
||||
* [libxml++3](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (3.2.0)
|
||||
* [libxslt](http://xmlsoft.org/sources/) (1.1.34)
|
||||
* [pango](http://ftp.gnome.org/pub/GNOME/sources/pango/) (1.43.0)
|
||||
* [pangomm](http://ftp.gnome.org/pub/GNOME/sources/pangomm/) (2.42.0)
|
||||
* [pcre](ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/) (8.43)
|
||||
* [pixman](http://cairographics.org/releases/) (0.38.4)
|
||||
* [sqlite](https://www.sqlite.org) (3.29.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.44)
|
||||
* [pixman](http://cairographics.org/releases/) (0.40.0)
|
||||
* [sqlite](https://www.sqlite.org) (3.31.1)
|
||||
* [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.
|
||||
|
BIN
gtk-nsis-pack/bin/gdbus.exe
Normal file
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.
BIN
gtk-nsis-pack/bin/libbrotlicommon.dll
Normal file
BIN
gtk-nsis-pack/bin/libbrotlicommon.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libbrotlidec.dll
Normal file
BIN
gtk-nsis-pack/bin/libbrotlidec.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
gtk-nsis-pack/bin/libffi-7.dll
Normal file
BIN
gtk-nsis-pack/bin/libffi-7.dll
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.
BIN
gtk-nsis-pack/bin/libgirepository-1.0-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libgirepository-1.0-1.dll
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.
BIN
gtk-nsis-pack/bin/libhogweed-6.dll
Normal file
BIN
gtk-nsis-pack/bin/libhogweed-6.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
gtk-nsis-pack/bin/libnettle-8.dll
Normal file
BIN
gtk-nsis-pack/bin/libnettle-8.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpeas-1.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libpeas-1.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpeas-gtk-1.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libpeas-gtk-1.0-0.dll
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.
@ -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/libepoxy-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/libfreetype-6.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
|
||||
|
||||
# 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-gnome-2.4-1.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/libgmp-10.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libhogweed-5.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libnettle-7.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libhogweed-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/libp11-kit-0.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/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
|
||||
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/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-cat.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
|
||||
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
|
||||
rm -r $INSTALL_SRC_DIR/share/locale
|
||||
cp -r $INSTALL_SRC_MSYS2/share/locale $INSTALL_SRC_DIR/share/
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
!define GTK_VERSION "2.24.32"
|
||||
!define GTK_BIN_VERSION "2.10.0"
|
||||
!define PRODUCT_VERSION "${GTK_VERSION}-2019-08-05-ts-win64"
|
||||
!define PRODUCT_VERSION "${GTK_VERSION}-2020-05-19-ts-win64"
|
||||
!define PRODUCT_NAME "GTK2-Runtime Win64"
|
||||
!define PRODUCT_PUBLISHER "Tom Schoonjans"
|
||||
!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
|
||||
!define ALL_USERS
|
||||
|
||||
!include nsi_env_var_update.nsh ; EnvVar* functions
|
||||
!include "FileFunc.nsh" ; GetOptions
|
||||
!include "x64.nsh"
|
||||
!include "LogicLib.nsh"
|
||||
@ -54,6 +53,7 @@ Name "${PRODUCT_NAME}" ; ${PRODUCT_VERSION}
|
||||
; Output File Name
|
||||
OutFile "${INSTALLER_OUTPUT_FILE}"
|
||||
|
||||
Unicode true
|
||||
|
||||
; The Default Installation Directory
|
||||
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\libcairomm-1.0-1.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\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\libgailutil-18.dll ; from gtk
|
||||
File bin\libgdk_pixbuf-2.0-0.dll ; from gtk
|
||||
@ -474,9 +476,8 @@ Section -post
|
||||
StrCpy $ADD_TO_PATH "1"
|
||||
; Push $LIB_INSTDIR
|
||||
; Call AddToPath ; add $LIB_INSTDIR to system $PATH
|
||||
Push $0 ; result PATH
|
||||
${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$LIB_INSTDIR" ; Append
|
||||
Pop $0
|
||||
EnVar::SetHKLM
|
||||
EnVar::AddValue "PATH" "$LIB_INSTDIR"
|
||||
; MessageBox MB_ICONINFORMATION|MB_OK "$LIB_INSTDIR added to path"
|
||||
goto goto_set_path_exit
|
||||
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\libcairomm-1.0-1.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\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\libgailutil-18.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
|
||||
; Push $LIB_INSTDIR
|
||||
; Call un.RemoveFromPath
|
||||
Push $0 ; result PATH
|
||||
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$LIB_INSTDIR" ; remove
|
||||
Pop $0
|
||||
; MessageBox MB_OK "$LIB_INSTDIR removed from PATH" /SD IDOK
|
||||
EnVar::SetHKLM
|
||||
EnVar::DeleteValue "PATH" "$LIB_INSTDIR"
|
||||
un_nopath:
|
||||
|
||||
; $DLL_DIR_NAME is from the registry here
|
||||
|
@ -11,9 +11,9 @@
|
||||
; Directory and package names: gtk3-runtime.
|
||||
|
||||
|
||||
!define GTK_VERSION "3.24.10"
|
||||
!define GTK_VERSION "3.24.18"
|
||||
!define GTK_BIN_VERSION "3.0.0"
|
||||
!define PRODUCT_VERSION "${GTK_VERSION}-2019-08-05-ts-win64"
|
||||
!define PRODUCT_VERSION "${GTK_VERSION}-2020-05-19-ts-win64"
|
||||
!define PRODUCT_NAME "GTK3-Runtime Win64"
|
||||
!define PRODUCT_PUBLISHER "Tom Schoonjans"
|
||||
!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
|
||||
!define ALL_USERS
|
||||
|
||||
!include nsi_env_var_update.nsh ; EnvVar* functions
|
||||
!include "FileFunc.nsh" ; GetOptions
|
||||
!include "x64.nsh"
|
||||
!include "LogicLib.nsh"
|
||||
@ -53,6 +52,7 @@ Name "${PRODUCT_NAME}" ; ${PRODUCT_VERSION}
|
||||
; Output File Name
|
||||
OutFile "${INSTALLER_OUTPUT_FILE}"
|
||||
|
||||
Unicode true
|
||||
|
||||
; The Default Installation Directory
|
||||
InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}"
|
||||
@ -239,7 +239,7 @@ SectionIn 1 2 RO
|
||||
File bin\libcairomm-1.0-1.dll
|
||||
File bin\libepoxy-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\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
||||
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\libsqlite3-0.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\libgmp-10.dll ; glib-networking dependency
|
||||
File bin\libhogweed-5.dll ; glib-networking dependency
|
||||
File bin\libnettle-7.dll ; glib-networking dependency
|
||||
File bin\libhogweed-6.dll ; glib-networking dependency
|
||||
File bin\libnettle-8.dll ; glib-networking dependency
|
||||
File bin\libidn2-0.dll ; glib-networking dependency
|
||||
File bin\libp11-kit-0.dll ; glib-networking dependency
|
||||
File bin\libtasn1-6.dll ; glib-networking dependency
|
||||
File bin\libunistring-2.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.
|
||||
SetOutPath "$LIB_INSTDIR"
|
||||
File bin\gdbus.exe
|
||||
File bin\fc-cache.exe
|
||||
File bin\fc-cat.exe
|
||||
File bin\fc-list.exe
|
||||
@ -340,6 +346,12 @@ SectionIn 1 2 RO
|
||||
File lib\gio\modules\libgiognomeproxy.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"
|
||||
File ssl\certs\ca-bundle.crt
|
||||
File ssl\certs\ca-bundle.trust.crt
|
||||
@ -497,10 +509,8 @@ Section -post
|
||||
StrCpy $ADD_TO_PATH "1"
|
||||
; Push $LIB_INSTDIR
|
||||
; Call AddToPath ; add $LIB_INSTDIR to system $PATH
|
||||
Push $0 ; result PATH
|
||||
${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$LIB_INSTDIR" ; Append
|
||||
Pop $0
|
||||
; MessageBox MB_ICONINFORMATION|MB_OK "$LIB_INSTDIR added to path"
|
||||
EnVar::SetHKLM
|
||||
EnVar::AddValue "PATH" "$LIB_INSTDIR"
|
||||
goto goto_set_path_exit
|
||||
goto_set_path_no:
|
||||
StrCpy $ADD_TO_PATH "0"
|
||||
@ -604,6 +614,7 @@ Function un.DeleteDlls
|
||||
un_no_dll_append:
|
||||
|
||||
; bin stuff (they are in the same directory)
|
||||
Delete $LIB_INSTDIR\gdbus.exe
|
||||
Delete $LIB_INSTDIR\fc-cache.exe
|
||||
Delete $LIB_INSTDIR\fc-cat.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\libepoxy-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\libfreetype-6.dll ; freetype is needed for ft2 pango backend
|
||||
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\libsqlite3-0.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\libgmp-10.dll ; glib-networking dependency
|
||||
Delete $LIB_INSTDIR\libhogweed-5.dll ; glib-networking dependency
|
||||
Delete $LIB_INSTDIR\libnettle-7.dll ; glib-networking dependency
|
||||
Delete $LIB_INSTDIR\libhogweed-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\libp11-kit-0.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\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
|
||||
@ -736,10 +752,8 @@ Section Uninstall
|
||||
StrCmp $ADD_TO_PATH "0" un_nopath ; Setting $PATH was not requested during installation
|
||||
; Push $LIB_INSTDIR
|
||||
; Call un.RemoveFromPath
|
||||
Push $0 ; result PATH
|
||||
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$LIB_INSTDIR" ; remove
|
||||
Pop $0
|
||||
; MessageBox MB_OK "$LIB_INSTDIR removed from PATH" /SD IDOK
|
||||
EnVar::SetHKLM
|
||||
EnVar::DeleteValue "PATH" "$LIB_INSTDIR"
|
||||
un_nopath:
|
||||
|
||||
; $DLL_DIR_NAME is from the registry here
|
||||
@ -832,6 +846,12 @@ Section Uninstall
|
||||
RMDir "$INSTDIR\lib\gio\modules"
|
||||
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.trust.crt"
|
||||
RMDir "$INSTDIR\ssl\certs"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# GdkPixbuf Image Loader Modules file
|
||||
# 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
|
||||
#
|
||||
|
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.
BIN
gtk-nsis-pack/lib/gio/modules/libgioopenssl.dll
Normal file
BIN
gtk-nsis-pack/lib/gio/modules/libgioopenssl.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/AppStreamGlib-1.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/AppStreamGlib-1.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/Atk-1.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/Atk-1.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/DBus-1.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/DBus-1.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/DBusGLib-1.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/DBusGLib-1.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/Dazzle-1.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/Dazzle-1.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/GDesktopEnums-3.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/GDesktopEnums-3.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/GIRepository-2.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/GIRepository-2.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/GL-1.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/GL-1.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/GLib-2.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/GLib-2.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/GModule-2.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/GModule-2.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/GObject-2.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/GObject-2.0.typelib
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/lib/girepository-1.0/Gdk-2.0.typelib
Normal file
BIN
gtk-nsis-pack/lib/girepository-1.0/Gdk-2.0.typelib
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user