Compare commits

..

8 Commits

Author SHA1 Message Date
27bc126a0d New installers: 2020-11-22 2020-11-22 11:42:24 +00:00
d401405d87 New installers: 2020-07-15 2020-07-15 09:14:15 +01:00
d5e9dc5286 Add Github sponsorship to funding 2020-05-31 10:01:58 +01:00
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
3046 changed files with 120217 additions and 6987 deletions

3
.github/FUNDING.yml vendored
View File

@ -1 +1,2 @@
custom: https://www.paypal.me/tomschoonjans/10
custom: https://www.paypal.me/tomschoonjansUK/10
github: tschoonj

1
.gitignore vendored
View File

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

View File

@ -10,51 +10,52 @@ 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-11-07-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-11-07/gtk2-runtime-2.24.32-2019-11-07-ts-win64.exe) and [gtk3-runtime-3.24.12-2019-11-07-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-11-07/gtk3-runtime-3.24.12-2019-11-07-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-11-22-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2020-11-22/gtk2-runtime-2.24.32-2020-11-22-ts-win64.exe) and [gtk3-runtime-3.24.23-2020-11-22-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2020-11-22/gtk3-runtime-3.24.23-2020-11-22-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.34.1)
* [adwaita icon theme](http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/) (3.38.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)
* [cairo](http://cairographics.org/releases/) (1.17.2)
* [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.40.0)
* [fontconfig](http://www.freedesktop.org/software/fontconfig/release/) (2.13.92)
* [freetype](http://www.freetype.org/download.html) (2.10.4)
* [gdk-pixbuf](http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/) (2.42.0)
* [gettext](http://ftp.gnu.org/pub/gnu/gettext/) (0.19.8.1)
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.62.2)
* [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.62.1)
* [glibmm](http://ftp.gnome.org/pub/GNOME/sources/glibmm/) (2.62.0)
* [gobject-introspection](http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/) (1.62.0)
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.66.2)
* [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.66.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.66.1)
* [gtk2](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (2.24.32)
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.24.12)
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.24.23)
* [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)
* [gtksourceview4](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (4.6.0)
* ~~[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.6.2)
* [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (2.7.2)
* [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)
* [json-glib](http://ftp.gnome.org/pub/gnome/sources/json-glib/) (1.6.0)
* [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.22.0)
* [libpeas](http://ftp.gnome.org/pub/gnome/sources/libpeas/) (1.28.0)
* [libpng](http://sourceforge.net/project/showfiles.php?group_id=5624) (1.6.37)
* [librsvg](http://ftp.gnome.org/pub/GNOME/sources/librsvg/) (2.46.3)
* [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.2)
* [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.68.2)
* [libxml2](http://xmlsoft.org/sources/) (2.9.9)
* [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)
* [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.30.1)
* [librsvg](http://ftp.gnome.org/pub/GNOME/sources/librsvg/) (2.50.1)
* [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.4)
* [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.72.0)
* [libxml2](http://xmlsoft.org/sources/) (2.9.10)
* [libxml++2](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (2.42.0)
* [libxml++3](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (3.2.2)
* [libxslt](http://xmlsoft.org/sources/) (1.1.34)
* [pango](http://ftp.gnome.org/pub/GNOME/sources/pango/) (1.48.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.33.0)
* [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.

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.

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

@ -43,9 +43,10 @@ cp $INSTALL_SRC_MSYS2_BIN/libcairo-2.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libcairo-gobject-2.dll $INSTALL_SRC_BIN
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/libssp-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/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
@ -70,6 +71,7 @@ cp $INSTALL_SRC_MSYS2_BIN/libgthread-2.0-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgtk-3-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgtk-win32-2.0-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgtksourceview-3.0-1.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgtksourceview-4-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgtksourceview-2.0-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgtksourceviewmm-3.0-0.dll $INSTALL_SRC_BIN
cp $INSTALL_SRC_MSYS2_BIN/libgtkmm-3.0-1.dll $INSTALL_SRC_BIN
@ -118,8 +120,8 @@ 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
@ -131,6 +133,8 @@ cp $INSTALL_SRC_MSYS2_BIN/libpsl-5.dll $INSTALL_SRC_BIN
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
@ -178,6 +182,12 @@ 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 gtksourceview data files
rm -rf $INSTALL_SRC_DIR/share/gtksourceview-3.0
rm -rf $INSTALL_SRC_DIR/share/gtksourceview-4
cp -r $INSTALL_SRC_MSYS2/share/gtksourceview-3.0 $INSTALL_SRC_DIR/share/
cp -r $INSTALL_SRC_MSYS2/share/gtksourceview-4 $INSTALL_SRC_DIR/share/
# Copy /share/locale/locale.alias
rm -r $INSTALL_SRC_DIR/share/locale
cp -r $INSTALL_SRC_MSYS2/share/locale $INSTALL_SRC_DIR/share/

View File

@ -233,4 +233,104 @@
<default><family>cursive</family></default>
</alias>
<!--
system-ui
-->
<alias>
<family>Noto Sans Arabic UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Bengali UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Devanagari UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Gujarati UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Gurmukhi UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Kannada UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Khmer UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Lao UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Malayalam UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Myanmar UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Oriya UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Sinhala UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Tamil UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Telugu UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans Thai UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Leelawadee UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Nirmala UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Yu Gothic UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Meiryo UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>MS UI Gothic</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Khmer UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Lao UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Microsoft JhengHei UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Microsoft YaHei UI</family>
<default><family>system-ui</family></default>
</alias>
</fontconfig>

View File

@ -274,5 +274,28 @@
<family>Zapfino</family>
<default><family>cursive</family></default>
</alias>
<!--
system-ui
-->
<alias>
<family>Cantarell</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Noto Sans UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Segoe UI</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Segoe UI Historic</family>
<default><family>system-ui</family></default>
</alias>
<alias>
<family>Segoe UI Symbol</family>
<default><family>system-ui</family></default>
</alias>
</fontconfig>

View File

@ -75,5 +75,18 @@
<family>Comic Sans MS</family>
</prefer>
</alias>
<!--
system-ui
-->
<alias>
<family>system-ui</family>
<prefer>
<family>Cantarell</family>
<family>Noto Sans UI</family>
<family>Segoe UI</family>
<family>Segoe UI Historic</family>
<family>Segoe UI Symbol</family>
</prefer>
</alias>
</fontconfig>

View File

@ -63,7 +63,7 @@
<family>Lohit Sindhi</family>
<family>Lohit Punjabi</family>
<family>Lohit Tamil</family>
<family>Meera</family>
<family>Rachana</family>
<family>Lohit Malayalam</family>
<family>Lohit Kannada</family>
<family>Lohit Telugu</family>
@ -175,7 +175,6 @@
<family>TlwgTypewriter</family> <!-- thai -->
<family>TlwgMono</family> <!-- thai -->
<family>Hasida</family> <!-- hebrew -->
<family>Mitra Mono</family> <!-- bengali -->
<family>GF Zemen Unicode</family> <!-- ethiopic -->
<family>Hapax Berbère</family> <!-- tifinagh -->
<family>Lohit Bengali</family>
@ -197,4 +196,37 @@
<family>LKLUG</family>
</prefer>
</alias>
<!--
system-ui
-->
<alias>
<family>system-ui</family>
<prefer>
<family>Noto Sans Arabic UI</family><!-- ar -->
<family>Noto Sans Bengali UI</family><!-- bn -->
<family>Noto Sans Devanagari UI</family><!-- hi, mai, mr -->
<family>Noto Sans Gujarati UI</family><!-- gu -->
<family>Noto Sans Gurmukhi UI</family><!-- pa -->
<family>Noto Sans Kannada UI</family><!-- kn -->
<family>Noto Sans Khmer UI</family><!-- km -->
<family>Noto Sans Lao UI</family><!-- lo -->
<family>Noto Sans Malayalam UI</family><!-- ml -->
<family>Noto Sans Myanmar UI</family><!-- my -->
<family>Noto Sans Oriya UI</family><!-- or -->
<family>Noto Sans Sinhala UI</family><!-- si -->
<family>Noto Sans Tamil UI</family><!-- ta -->
<family>Noto Sans Telugu UI</family><!-- te -->
<family>Noto Sans Thai UI</family><!-- th -->
<family>Leelawadee UI</family><!-- bug, th, jv, km, lo -->
<family>Nirmala UI</family><!-- Indic -->
<family>Yu Gothic UI</family><!-- han (ja) -->
<family>Meiryo UI</family><!-- han (ja) -->
<family>MS UI Gothic</family><!-- han (ja) -->
<family>Khmer UI</family><!-- km -->
<family>Lao UI</family><!-- lo -->
<family>Microsoft YaHei UI</family><!-- han (zh-cn) -->
<family>Microsoft JhengHei UI</family><!-- han (zh-tw) -->
</prefer>
</alias>
</fontconfig>

View File

@ -69,6 +69,17 @@
<string>sans-serif</string>
</edit>
</match>
<!--
Accept alternate 'system ui' spelling, replacing it with 'system-ui'
-->
<match target="pattern">
<test qual="any" name="family">
<string>system ui</string>
</test>
<edit name="family" mode="assign" binding="same">
<string>system-ui</string>
</edit>
</match>
<!--
Load local system customization file

View File

@ -14,7 +14,7 @@
!define GTK_VERSION "2.24.32"
!define GTK_BIN_VERSION "2.10.0"
!define PRODUCT_VERSION "${GTK_VERSION}-2019-11-07-ts-win64"
!define PRODUCT_VERSION "${GTK_VERSION}-2020-11-22-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}"
@ -234,14 +234,17 @@ SectionIn 1 2 RO
File bin\libatk-1.0-0.dll ; atk
File bin\libatkmm-1.6-1.dll ; atk
File bin\libssp-0.dll ; needed by cairo
File bin\libcairo-2.dll ; cairo, needed by gtk
File bin\libcairo-gobject-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\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 +477,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:
@ -602,10 +604,13 @@ Function un.DeleteDlls
Delete $LIB_INSTDIR\libcairo-gobject-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\libssp-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\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 +704,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

View File

@ -11,9 +11,9 @@
; Directory and package names: gtk3-runtime.
!define GTK_VERSION "3.24.12"
!define GTK_VERSION "3.24.23"
!define GTK_BIN_VERSION "3.0.0"
!define PRODUCT_VERSION "${GTK_VERSION}-2019-11-07-ts-win64"
!define PRODUCT_VERSION "${GTK_VERSION}-2020-11-22-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}"
@ -233,13 +233,14 @@ SectionIn 1 2 RO
File bin\libatk-1.0-0.dll ; atk
File bin\libatkmm-1.6-1.dll ; atk
File bin\libssp-0.dll ; needed by cairo
File bin\libcairo-2.dll ; cairo, needed by gtk
File bin\libcairo-gobject-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\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
@ -260,6 +261,7 @@ SectionIn 1 2 RO
File bin\libgthread-2.0-0.dll ; from glib
File bin\libgtk-3-0.dll ; gtk
File bin\libgtksourceview-3.0-1.dll
File bin\libgtksourceview-4-0.dll
File bin\libgtksourceviewmm-3.0-0.dll
File bin\libgtkmm-3.0-1.dll
File bin\libharfbuzz-0.dll ; required by pango
@ -299,8 +301,8 @@ SectionIn 1 2 RO
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
@ -346,6 +348,9 @@ 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
@ -379,6 +384,12 @@ SectionIn 1 2 RO
SetOutPath "$INSTDIR\share"
File /r share\icons
SetOutPath "$INSTDIR\share"
File /r share\gtksourceview-3.0
SetOutPath "$INSTDIR\share"
File /r share\gtksourceview-4
SetOutPath "$INSTDIR\gtk3-runtime"
; File gtk-postinstall.bat ; this file is generated now
File license.txt
@ -506,10 +517,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"
@ -635,9 +644,10 @@ Function un.DeleteDlls
Delete $LIB_INSTDIR\libcairo-gobject-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\libssp-0.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
@ -658,6 +668,7 @@ Function un.DeleteDlls
Delete $LIB_INSTDIR\libgthread-2.0-0.dll ; from glib
Delete $LIB_INSTDIR\libgtk-3-0.dll ; gtk
Delete $LIB_INSTDIR\libgtksourceview-3.0-1.dll ; gtk
Delete $LIB_INSTDIR\libgtksourceview-4-0.dll ; gtk
Delete $LIB_INSTDIR\libgtksourceviewmm-3.0-0.dll ; gtk
Delete $LIB_INSTDIR\libgtkmm-3.0-1.dll
Delete $LIB_INSTDIR\libharfbuzz-0.dll
@ -697,8 +708,8 @@ Function un.DeleteDlls
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
@ -751,10 +762,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
@ -847,6 +856,10 @@ 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"
@ -909,6 +922,8 @@ Section Uninstall
RMDir /r "$INSTDIR\share\themes\Emacs"
RMDir /r "$INSTDIR\share\glib-2.0"
RMDir /r "$INSTDIR\share\icons"
RMDir /r "$INSTDIR\share\gtksourceview-3.0"
RMDir /r "$INSTDIR\share\gtksourceview-4"
RMDir "$INSTDIR\share\themes" ; not forced
RMDir "$INSTDIR\share" ; not forced

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