Compare commits
50 Commits
2014-09-28
...
2019-03-26
Author | SHA1 | Date | |
---|---|---|---|
ac734e8d8b | |||
257df8f277 | |||
0d74248592 | |||
e80938e197 | |||
fd197d4ef0 | |||
fdb647da0c | |||
918b26dbeb | |||
1595c18695 | |||
a8bb24b6e0 | |||
de8599e01b | |||
0f30a324a0 | |||
c1da5644ed | |||
ad04f9b483 | |||
953f1c8042 | |||
029f5282aa | |||
ddb38897c5 | |||
80cfd7dcfe | |||
6e6eb9e3a0 | |||
fb54d5067c | |||
50fcafdd3f | |||
d6371c1945 | |||
c933bc263f | |||
bf4fdc02c0 | |||
293d234c78 | |||
be6831f938 | |||
32534d4daf | |||
065daeaa7c | |||
62bc95e7ba | |||
0d5724262f | |||
e4c1944e2d | |||
cc82f4c746 | |||
939e50d7c7 | |||
5f5fbc5a12 | |||
fb293f2b79 | |||
eb4d5b4717 | |||
9ee00261c1 | |||
1c9141a50b | |||
d55963d2a7 | |||
7e9191ba33 | |||
9adcfe1399 | |||
5ccd4e14ef | |||
842e785b0a | |||
a8d71d9e8f | |||
ed9543055c | |||
beb82a20c4 | |||
6913ebb81a | |||
9099de89b6 | |||
684f71904c | |||
97c43bccc7 | |||
61163067dd |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
*~
|
||||
gtk2-runtime*-ts-win64*exe
|
||||
gtk3-runtime*-ts-win64*exe
|
||||
*.swp
|
||||
/.vscode
|
||||
|
74
README.md
74
README.md
@ -1,39 +1,65 @@
|
||||
GTK+ for Windows Runtime Environment Installer: 64-bit
|
||||
======================================================
|
||||
|
||||
[](https://www.paypal.me/tomschoonjans/10) [](http://amzn.eu/8ml3d0c)
|
||||
|
||||
This repository is a fork of the [GTK+ for Windows Runtime Environment Installer](http://gtk-win.sourceforge.net) that was originally created
|
||||
by Alexander Shaduri.
|
||||
My efforts here will focus on creating a **64-bit version** of the runtime that he has been providing so far, using up to date versions of GTK+ and its dependencies.
|
||||
My efforts here will focus on creating a **64-bit version** of the GTK+-2 runtime that he has been providing so far, using up to date versions of GTK+ and its dependencies. Recently I have also created a 64-bit **GTK+-3 runtime package**. All packages now contain **Gtkmm** and its dependencies too. Since the GTK+ developers recently dropped support for stock icons (a mistake of epic proportions IMHO...), I added the Adwaita icon theme to the GTK+-3 runtime, so you can still enjoy pretty filechooserdialogs etc! I have also added a couple of commonly used libraries such as libxml++, libxslt, gtksourceview, libsoup and sqlite.
|
||||
|
||||
The installers can be found [here](http://lvserver.ugent.be/gtk-win64/).
|
||||
The installers can be found in the [releases section](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases).
|
||||
|
||||
**[Keep in mind though that these packages are experimental. Binary compatibility between versions is not guaranteed!!!.](http://www.gtk.org/download/win64.php)**
|
||||
The current releases ([gtk2-runtime-2.24.32-2019-03-26-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-03-26/gtk2-runtime-2.24.32-2019-03-26-ts-win64.exe) and [gtk3-runtime-3.24.5-2019-03-26-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-03-26/gtk3-runtime-3.24.5-2019-03-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!!!).
|
||||
|
||||
Both for convencience as well as for increased reliability across installations, it is recommended for developers to compile and link against the GTK+ SDK that I used to create the installers. This SDK can also be obtained at the aforementioned url.
|
||||
The following packages are included in the current GTK+-2/3 installers
|
||||
|
||||
The current release (gtk2-runtime-2.24.24-2014-09-28-ts-win64.exe) has been compiled using GCC 4.8.1 (MinGW-w64 installed from TDM-GCC).
|
||||
The included GTK+ dependencies were selected according to the flowchart used by [Hexchat](http://hexchat.github.io/gtk-win32/). The source tarballs can be obtained by clicking on the names of the dependencies in the following list:
|
||||
* [adwaita icon theme](http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/) (3.30.1)
|
||||
* [atk](http://ftp.gnome.org/pub/GNOME/sources/atk/) (2.30.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.0)
|
||||
* [gdk-pixbuf](http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/) (2.38.1)
|
||||
* [gettext](http://ftp.gnu.org/pub/gnu/gettext/) (0.19.8.1)
|
||||
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.58.3)
|
||||
* [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.58.0)
|
||||
* [glibmm](http://ftp.gnome.org/pub/GNOME/sources/glibmm/) (2.58.0)
|
||||
* [gtk2](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (2.24.32)
|
||||
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.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.0)
|
||||
* [gtksourceview2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (2.10.5)
|
||||
* [gtksourceview3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (3.24.10)
|
||||
* ~~[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.3.1)
|
||||
* [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)
|
||||
* [libiconv](https://ftp.gnu.org/pub/gnu/libiconv/) (1.15)
|
||||
* [libpng](http://sourceforge.net/project/showfiles.php?group_id=5624) (1.6.36)
|
||||
* [librsvg](http://ftp.gnome.org/pub/GNOME/sources/librsvg/) (2.40.20)
|
||||
* [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.1)
|
||||
* [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.64.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.36.0)
|
||||
* [sqlite](https://www.sqlite.org) (3.27.2)
|
||||
* [zlib](http://www.zlib.net) (1.2.11)
|
||||
|
||||
* [atk](http://ftp.gnome.org/pub/GNOME/sources/atk/) (2.14.0)
|
||||
* [cairo](http://cairographics.org/releases/) (1.12.16)
|
||||
* [fontconfig](http://www.freedesktop.org/software/fontconfig/release/) (2.11.1)
|
||||
* [freetype](http://www.freetype.org/download.html) (2.5.3)
|
||||
* [gdk-pixbuf](http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/) (2.31.1)
|
||||
* [gettext](http://ftp.gnu.org/pub/gnu/gettext/) (0.19.2)
|
||||
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.42.0)
|
||||
* [gtk](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (2.24.24)
|
||||
* [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (0.9.35)
|
||||
* [libffi](http://sourceware.org/libffi/) (3.1)
|
||||
* [libpng](http://sourceforge.net/project/showfiles.php?group_id=5624) (1.6.13)
|
||||
* [libxml2](http://xmlsoft.org/sources/) (2.9.1)
|
||||
* [pango](http://ftp.gnome.org/pub/GNOME/sources/pango/) (1.36.8)
|
||||
* [pixman](http://cairographics.org/releases/) (0.32.6)
|
||||
* [win-iconv](http://code.google.com/p/win-iconv/downloads/list) (0.0.6)
|
||||
* [zlib](http://www.zlib.net) (1.2.8)
|
||||
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 the [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 this website is that mine DO NOT have the `compatdlls` option, but this should present no problems to any user.
|
||||
Personally I use this installer in my [XMI-MSIM project](http://github.com/tschoonj/xmimsim). You may want to have a look at my Inno Setup ([new](https://github.com/tschoonj/xmimsim/blob/master/windows/xmimsim.iss)) and NSIS ([old](https://github.com/tschoonj/xmimsim/blob/XMI-MSIM-4.0/nsis/xmimsim-win64.nsi.in)) based installers.
|
||||
|
||||
Personally I use this installer in my [XMI-MSIM project](http://github.com/xmimsim). You may want to have a look at my Inno Setup ([new](https://github.com/tschoonj/xmimsim/blob/master/nsis/xmimsim.iss)) and NSIS ([old](https://github.com/tschoonj/xmimsim/blob/XMI-MSIM-4.0/nsis/xmimsim-win64.nsi.in)) based installers.
|
||||
Those interested in scientific plotting using Gtkmm3 may want to have a look at my project [Gtkmm-PLplot](https://github.com/tschoonj/gtkmm-plplot). Documentation and examples can be found [here](http://tschoonj.github.io/gtkmm-plplot)
|
||||
|
||||
If you have enjoyed using this project, please consider making a donation or buying something off my Amazon Wish list.
|
||||
|
||||
Tom Schoonjans
|
||||
|
BIN
gtk-nsis-pack/bin/fc-cache.exe
Normal file
BIN
gtk-nsis-pack/bin/fc-cache.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/fc-cat.exe
Normal file
BIN
gtk-nsis-pack/bin/fc-cat.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/fc-list.exe
Normal file
BIN
gtk-nsis-pack/bin/fc-list.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/fc-match.exe
Normal file
BIN
gtk-nsis-pack/bin/fc-match.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/fc-pattern.exe
Normal file
BIN
gtk-nsis-pack/bin/fc-pattern.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/fc-query.exe
Normal file
BIN
gtk-nsis-pack/bin/fc-query.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/fc-scan.exe
Normal file
BIN
gtk-nsis-pack/bin/fc-scan.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/fc-validate.exe
Normal file
BIN
gtk-nsis-pack/bin/fc-validate.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/gdk-pixbuf-query-loaders.exe
Normal file
BIN
gtk-nsis-pack/bin/gdk-pixbuf-query-loaders.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/gspawn-win64-helper-console.exe
Normal file
BIN
gtk-nsis-pack/bin/gspawn-win64-helper-console.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/gspawn-win64-helper.exe
Normal file
BIN
gtk-nsis-pack/bin/gspawn-win64-helper.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/gtk-query-immodules-2.0.exe
Normal file
BIN
gtk-nsis-pack/bin/gtk-query-immodules-2.0.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/gtk-query-immodules-3.0.exe
Normal file
BIN
gtk-nsis-pack/bin/gtk-query-immodules-3.0.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/gtk-update-icon-cache.exe
Normal file
BIN
gtk-nsis-pack/bin/gtk-update-icon-cache.exe
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libatk-1.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libatk-1.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libatkmm-1.6-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libatkmm-1.6-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libbz2-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libbz2-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libcairo-2.dll
Normal file
BIN
gtk-nsis-pack/bin/libcairo-2.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libcairo-gobject-2.dll
Normal file
BIN
gtk-nsis-pack/bin/libcairo-gobject-2.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libcairo-script-interpreter-2.dll
Normal file
BIN
gtk-nsis-pack/bin/libcairo-script-interpreter-2.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libcairomm-1.0-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libcairomm-1.0-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libcroco-0.6-3.dll
Normal file
BIN
gtk-nsis-pack/bin/libcroco-0.6-3.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libdatrie-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libdatrie-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libepoxy-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libepoxy-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libexpat-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libexpat-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libexslt-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libexslt-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libffi-6.dll
Normal file
BIN
gtk-nsis-pack/bin/libffi-6.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libfontconfig-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libfontconfig-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libfreetype-6.dll
Normal file
BIN
gtk-nsis-pack/bin/libfreetype-6.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libfribidi-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libfribidi-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgailutil-18.dll
Normal file
BIN
gtk-nsis-pack/bin/libgailutil-18.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgailutil-3-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgailutil-3-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgcc_s_seh-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libgcc_s_seh-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgdk-3-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgdk-3-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgdk-win32-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgdk-win32-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgdk_pixbuf-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgdk_pixbuf-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgdkmm-2.4-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libgdkmm-2.4-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgdkmm-3.0-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libgdkmm-3.0-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgio-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgio-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgiomm-2.4-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libgiomm-2.4-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libglib-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libglib-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libglibmm-2.4-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libglibmm-2.4-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libglibmm_generate_extra_defs-2.4-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libglibmm_generate_extra_defs-2.4-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgmodule-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgmodule-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgmp-10.dll
Normal file
BIN
gtk-nsis-pack/bin/libgmp-10.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgnutls-30.dll
Normal file
BIN
gtk-nsis-pack/bin/libgnutls-30.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgobject-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgobject-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgraphite2.dll
Normal file
BIN
gtk-nsis-pack/bin/libgraphite2.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgthread-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgthread-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgtk-3-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgtk-3-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgtk-win32-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgtk-win32-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgtkmm-2.4-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libgtkmm-2.4-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgtkmm-3.0-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libgtkmm-3.0-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgtksourceview-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgtksourceview-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgtksourceview-3.0-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libgtksourceview-3.0-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libgtksourceviewmm-3.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libgtksourceviewmm-3.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libharfbuzz-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libharfbuzz-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libhogweed-4.dll
Normal file
BIN
gtk-nsis-pack/bin/libhogweed-4.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libiconv-2.dll
Normal file
BIN
gtk-nsis-pack/bin/libiconv-2.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libidn2-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libidn2-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libintl-8.dll
Normal file
BIN
gtk-nsis-pack/bin/libintl-8.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libjasper-4.dll
Normal file
BIN
gtk-nsis-pack/bin/libjasper-4.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libjpeg-8.dll
Normal file
BIN
gtk-nsis-pack/bin/libjpeg-8.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libjson-glib-1.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libjson-glib-1.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/liblzma-5.dll
Normal file
BIN
gtk-nsis-pack/bin/liblzma-5.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libnettle-6.dll
Normal file
BIN
gtk-nsis-pack/bin/libnettle-6.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libp11-kit-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libp11-kit-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpango-1.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libpango-1.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpangocairo-1.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libpangocairo-1.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpangoft2-1.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libpangoft2-1.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpangomm-1.4-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libpangomm-1.4-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpangowin32-1.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libpangowin32-1.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpcre-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libpcre-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpixman-1-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libpixman-1-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpng16-16.dll
Normal file
BIN
gtk-nsis-pack/bin/libpng16-16.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libproxy-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libproxy-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libpsl-5.dll
Normal file
BIN
gtk-nsis-pack/bin/libpsl-5.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/librsvg-2-2.dll
Normal file
BIN
gtk-nsis-pack/bin/librsvg-2-2.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libsigc-2.0-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libsigc-2.0-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libsoup-2.4-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libsoup-2.4-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libsoup-gnome-2.4-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libsoup-gnome-2.4-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libsqlite3-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libsqlite3-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libstdc++-6.dll
Normal file
BIN
gtk-nsis-pack/bin/libstdc++-6.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libtasn1-6.dll
Normal file
BIN
gtk-nsis-pack/bin/libtasn1-6.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libthai-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libthai-0.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libtiff-5.dll
Normal file
BIN
gtk-nsis-pack/bin/libtiff-5.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libunistring-2.dll
Normal file
BIN
gtk-nsis-pack/bin/libunistring-2.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libwinpthread-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libwinpthread-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libxml++-2.6-2.dll
Normal file
BIN
gtk-nsis-pack/bin/libxml++-2.6-2.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libxml++-3.0-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libxml++-3.0-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libxml2-2.dll
Normal file
BIN
gtk-nsis-pack/bin/libxml2-2.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/libxslt-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libxslt-1.dll
Normal file
Binary file not shown.
BIN
gtk-nsis-pack/bin/zlib1.dll
Normal file
BIN
gtk-nsis-pack/bin/zlib1.dll
Normal file
Binary file not shown.
203
gtk-nsis-pack/copy-msys2-files.sh
Normal file
203
gtk-nsis-pack/copy-msys2-files.sh
Normal file
@ -0,0 +1,203 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Set default values to option vars
|
||||
# ---------------------------------------------------------------------------
|
||||
set -e
|
||||
set -x
|
||||
INSTALL_SRC_DIR=$(dirname "$0")
|
||||
INSTALL_SRC_MSYS2="/mingw64/"
|
||||
_DATE=$(date +'%Y-%m-%d')
|
||||
_VERSION="3.20.2"
|
||||
_ARCH="win64"
|
||||
# ---------------------------------------------------------------------------
|
||||
# Check source directory and prepare binary and lib destination directory
|
||||
# in the NSIS source tree
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
test "${INSTALL_SRC_DIR}" = "." && INSTALL_SRC_DIR=${PWD}
|
||||
INSTALL_SRC_BIN="${INSTALL_SRC_DIR}"/bin
|
||||
INSTALL_SRC_LIB="${INSTALL_SRC_DIR}"/lib
|
||||
INSTALL_SRC_MSYS2_BIN=${INSTALL_SRC_MSYS2}/bin
|
||||
INSTALL_SRC_MSYS2_LIB=${INSTALL_SRC_MSYS2}/lib
|
||||
INSTALL_SRC_SSL="${INSTALL_SRC_DIR}"/ssl
|
||||
INSTALL_SRC_MSYS2_SSL=${INSTALL_SRC_MSYS2}/ssl
|
||||
INSTALL_SRC_ETC="${INSTALL_SRC_DIR}"/etc
|
||||
INSTALL_SRC_MSYS2_ETC=${INSTALL_SRC_MSYS2}/etc
|
||||
|
||||
# Create installer file name
|
||||
INSTALLER_FILENAME=gtk3-runtime-${_VERSION}-${_DATE}-${_ARCH}.msi
|
||||
|
||||
echo $INSTALLER_FILENAME
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Copy relevant GTK files to the binary destination directory
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
echo "Copying all GTK files from : " $INSTALL_SRC_MSYS2
|
||||
echo " to NSIS source directory: " $INSTALL_SRC_BIN
|
||||
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libatk-1.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libatkmm-1.6-1.dll $INSTALL_SRC_BIN
|
||||
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/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/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
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgailutil-3-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgailutil-18.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgdk_pixbuf-2.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/liblzma-5.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libcroco-0.6-3.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgdk-win32-2.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgdk-3-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgdkmm-3.0-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgdkmm-2.4-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgio-2.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libglib-2.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libglibmm-2.4-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgiomm-2.4-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libsigc-2.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libglibmm_generate_extra_defs-2.4-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgmodule-2.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgobject-2.0-0.dll $INSTALL_SRC_BIN
|
||||
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-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
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgtkmm-2.4-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libharfbuzz-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libintl-8.dll $INSTALL_SRC_BIN
|
||||
|
||||
# I'm not sure that this is needed...:
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libiconv-2.dll $INSTALL_SRC_BIN
|
||||
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libjson-glib-1.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libpango-1.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libpangocairo-1.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libpangowin32-1.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libpangoft2-1.0-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libpangomm-1.4-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libpixman-1-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libpng16-16.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libthai-0.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libdatrie-1.dll $INSTALL_SRC_BIN
|
||||
|
||||
# No need for this IMHO, at least fontconfig is not dependent on these
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libxml++-2.6-2.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libxml++-3.0-1.dll $INSTALL_SRC_BIN
|
||||
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libxml2-2.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libxslt-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libpcre-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/zlib1.dll $INSTALL_SRC_BIN
|
||||
|
||||
# These six additional one seems to me that is needed for my test GTK app,
|
||||
# as I see mainly needed for fontconfig package and dlls
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libexpat-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libbz2-1.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libgraphite2.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/librsvg-2-2.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libtiff-5.dll $INSTALL_SRC_BIN
|
||||
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/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-4.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libnettle-6.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
|
||||
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
|
||||
|
||||
# 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/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
|
||||
cp $INSTALL_SRC_MSYS2_BIN/fc-match.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/fc-pattern.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/fc-query.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/fc-scan.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/fc-validate.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/gdk-pixbuf-query-loaders.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/gspawn-win64-helper.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/gspawn-win64-helper-console.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/gtk-query-immodules-2.0.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/gtk-query-immodules-3.0.exe $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/gtk-update-icon-cache.exe $INSTALL_SRC_BIN
|
||||
|
||||
# Copy lib/gtk-2.0 folder
|
||||
cd $INSTALL_SRC_MSYS2_LIB/gtk-2.0
|
||||
cp -r ./ $INSTALL_SRC_LIB/gtk-2.0
|
||||
# Delete static libraries
|
||||
find $INSTALL_SRC_LIB/gtk-2.0 -name *.a -type f -delete
|
||||
|
||||
# Copy lib/gdk-pixbuf-2.0 folder
|
||||
cd $INSTALL_SRC_MSYS2_LIB/gdk-pixbuf-2.0
|
||||
cp -r ./ $INSTALL_SRC_LIB/gdk-pixbuf-2.0
|
||||
# Delete static libraries
|
||||
find $INSTALL_SRC_LIB/gdk-pixbuf-2.0 -name *.a -type f -delete
|
||||
|
||||
# Copy lib/gio/modules folder
|
||||
cd $INSTALL_SRC_MSYS2_LIB/gio
|
||||
mkdir -p $INSTALL_SRC_LIB/gio
|
||||
cp -r modules $INSTALL_SRC_LIB/gio/
|
||||
# Delete static libraries
|
||||
find $INSTALL_SRC_LIB/gio/modules -name *.a -type f -delete
|
||||
|
||||
# Copy /share/locale/locale.alias
|
||||
rm -r $INSTALL_SRC_DIR/share/locale
|
||||
cp -r $INSTALL_SRC_MSYS2/share/locale $INSTALL_SRC_DIR/share/
|
||||
|
||||
# Copy /share/themes/default
|
||||
cp -r $INSTALL_SRC_MSYS2/share/themes/default/gtk-3.0 $INSTALL_SRC_DIR/share/themes/default/
|
||||
|
||||
# Copy /share/themes/emacs
|
||||
cp -r $INSTALL_SRC_MSYS2/share/themes/emacs/gtk-3.0 $INSTALL_SRC_DIR/share/themes/emacs/
|
||||
|
||||
# Copy /share/glib-2.0/schemas
|
||||
cp -r $INSTALL_SRC_MSYS2/share/glib-2.0/schemas $INSTALL_SRC_DIR/share/glib-2.0/
|
||||
|
||||
# Copy /share/icons
|
||||
cp -r $INSTALL_SRC_MSYS2/share/icons $INSTALL_SRC_DIR/share/
|
||||
|
||||
# Copy SSL certificate bundle
|
||||
mkdir -p $INSTALL_SRC_SSL/certs
|
||||
cd $INSTALL_SRC_MSYS2_SSL/certs
|
||||
cp ca-bundle.crt ca-bundle.trust.crt $INSTALL_SRC_SSL/certs/
|
||||
|
||||
# Copy fontconfig stuff (see issue #14)
|
||||
mkdir -p $INSTALL_SRC_ETC/fonts
|
||||
cd $INSTALL_SRC_MSYS2_ETC/fonts
|
||||
cp -a * $INSTALL_SRC_ETC/fonts/
|
||||
|
||||
|
||||
# librsvg depends on:
|
||||
# gdk-pixbuf2 pango libcroco
|
||||
|
||||
# gdk-pixbuf2 package depends on the following:
|
||||
# glib2>=2.37.2 jasper libjpeg-turbo libpng libtiff
|
||||
|
||||
|
||||
echo "Done with copying all binary relevant GTK files to the binary destination directory"
|
||||
echo "Now you can initiate the creation of the installer package with NSIS"
|
19
gtk-nsis-pack/etc/fonts/conf.d/10-hinting-slight.conf
Normal file
19
gtk-nsis-pack/etc/fonts/conf.d/10-hinting-slight.conf
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||
</its:rules>
|
||||
|
||||
<description>Set hintslight to hintstyle</description>
|
||||
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
Most clients may picks up the first value only. so using "append"
|
||||
may simply works to avoid it.
|
||||
-->
|
||||
<edit name="hintstyle" mode="append"><const>hintslight</const></edit>
|
||||
</match>
|
||||
</fontconfig>
|
87
gtk-nsis-pack/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
Normal file
87
gtk-nsis-pack/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
Normal file
@ -0,0 +1,87 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||
</its:rules>
|
||||
|
||||
<description>Bitmap scaling</description>
|
||||
<!--
|
||||
If font is bitmap, calculate scale factor.
|
||||
Note that color bitmap fonts have scalable=true, while
|
||||
non-color ones have scalable=false. Both groups have outline=false.
|
||||
-->
|
||||
<match target="font">
|
||||
<test name="outline" compare="eq">
|
||||
<bool>false</bool>
|
||||
</test>
|
||||
<edit name="pixelsizefixupfactor" mode="assign">
|
||||
<divide>
|
||||
<name target="pattern">pixelsize</name>
|
||||
<name target="font" >pixelsize</name>
|
||||
</divide>
|
||||
</edit>
|
||||
</match>
|
||||
<!--
|
||||
For non-scalable bitmap fonts (ie. non-color), skip
|
||||
minor scaling if hinting is enabled.
|
||||
-->
|
||||
<match target="font">
|
||||
<test name="outline" compare="eq">
|
||||
<bool>false</bool>
|
||||
</test>
|
||||
<test name="scalable" compare="eq">
|
||||
<bool>false</bool>
|
||||
</test>
|
||||
<test name="hinting" compare="eq">
|
||||
<bool>true</bool>
|
||||
</test>
|
||||
<edit name="scalingnotneeded" mode="assign">
|
||||
<and>
|
||||
<less>
|
||||
<name>pixelsizefixupfactor</name>
|
||||
<double>1.2</double>
|
||||
</less>
|
||||
<more>
|
||||
<name>pixelsizefixupfactor</name>
|
||||
<double>0.8</double>
|
||||
</more>
|
||||
</and>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="font">
|
||||
<test name="scalingnotneeded" compare="eq">
|
||||
<bool>true</bool>
|
||||
</test>
|
||||
<edit name="pixelsizefixupfactor" mode="assign">
|
||||
<double>1.0</double>
|
||||
</edit>
|
||||
</match>
|
||||
<!--
|
||||
If we *are* going to scale, go ahead and do it.
|
||||
-->
|
||||
<match target="font">
|
||||
<test name="outline" compare="eq">
|
||||
<bool>false</bool>
|
||||
</test>
|
||||
<test name="pixelsizefixupfactor" compare="not_eq">
|
||||
<double>1.0</double>
|
||||
</test>
|
||||
<edit name="matrix" mode="assign">
|
||||
<times>
|
||||
<name>matrix</name>
|
||||
<matrix>
|
||||
<name>pixelsizefixupfactor</name> <double>0</double>
|
||||
<double>0</double> <name>pixelsizefixupfactor</name>
|
||||
</matrix>
|
||||
</times>
|
||||
</edit>
|
||||
<edit name="size" mode="assign">
|
||||
<divide>
|
||||
<name>size</name>
|
||||
<name>pixelsizefixupfactor</name>
|
||||
</divide>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
</fontconfig>
|
53
gtk-nsis-pack/etc/fonts/conf.d/20-unhint-small-vera.conf
Normal file
53
gtk-nsis-pack/etc/fonts/conf.d/20-unhint-small-vera.conf
Normal file
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
||||
</its:rules>
|
||||
|
||||
<description>Disable hinting for Bitstream Vera fonts when the size is less than 8ppem</description>
|
||||
<!--
|
||||
The Bitstream Vera fonts have GASP entries suggesting that hinting be
|
||||
disabled below 8 ppem, but FreeType ignores those, preferring to use
|
||||
the data found in the instructed hints. The initial Vera release
|
||||
didn't include the right instructions in the 'prep' table. Fix this
|
||||
by disabling hinting manually at smaller sizes (< 8ppem)
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<test name="family" compare="eq" ignore-blanks="true">
|
||||
<string>Bitstream Vera Sans</string>
|
||||
</test>
|
||||
<test name="pixelsize" compare="less">
|
||||
<double>7.5</double>
|
||||
</test>
|
||||
<edit name="hinting">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family" compare="eq" ignore-blanks="true">
|
||||
<string>Bitstream Vera Serif</string>
|
||||
</test>
|
||||
<test name="pixelsize" compare="less">
|
||||
<double>7.5</double>
|
||||
</test>
|
||||
<edit name="hinting">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family" compare="eq" ignore-blanks="true">
|
||||
<string>Bitstream Vera Sans Mono</string>
|
||||
</test>
|
||||
<test name="pixelsize" compare="less">
|
||||
<double>7.5</double>
|
||||
</test>
|
||||
<edit name="hinting">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
</fontconfig>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user