Compare commits
21 Commits
2017-09-25
...
2019-10-04
Author | SHA1 | Date | |
---|---|---|---|
07fe7dbe80 | |||
b5299b2e9e | |||
e20195cfbf | |||
12ed7c624f | |||
ed18ffc0ee | |||
9310da3a8c | |||
ac734e8d8b | |||
257df8f277 | |||
0d74248592 | |||
e80938e197 | |||
fd197d4ef0 | |||
fdb647da0c | |||
918b26dbeb | |||
1595c18695 | |||
a8bb24b6e0 | |||
de8599e01b | |||
0f30a324a0 | |||
c1da5644ed | |||
ad04f9b483 | |||
953f1c8042 | |||
029f5282aa |
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1 @@
|
||||
custom: https://www.paypal.me/tomschoonjans/10
|
82
README.md
82
README.md
@ -1,66 +1,68 @@
|
||||
GTK+ for Windows Runtime Environment Installer: 64-bit
|
||||
======================================================
|
||||
|
||||
[](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases)
|
||||
[](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 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 in the [releases section](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases).
|
||||
|
||||
The current releases ([gtk2-runtime-2.24.31-2017-09-25-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2017-09-25/gtk2-runtime-2.24.31-2017-09-25-ts-win64.exe) and [gtk3-runtime-3.22.19-2017-09-25-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2017-09-25/gtk3-runtime-3.22.21-2017-09-25-ts-win64.exe)) were obtained entirely from the excellent [MSYS2 project](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-2019-10-04-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-10-04/gtk2-runtime-2.24.32-2019-10-04-ts-win64.exe) and [gtk3-runtime-3.24.11-2019-10-04-ts-win64.exe](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2019-10-04/gtk3-runtime-3.24.11-2019-10-04-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.26.0)
|
||||
* [atk](http://ftp.gnome.org/pub/GNOME/sources/atk/) (2.24.0)
|
||||
* [atkmm](http://ftp.gnome.org/pub/GNOME/sources/atkmm/) (2.26.0)
|
||||
* [cairo](http://cairographics.org/releases/) (1.15.6)
|
||||
* [cairomm](http://cairographics.org/releases/) (1.12.0)
|
||||
* [fontconfig](http://www.freedesktop.org/software/fontconfig/release/) (2.12.5)
|
||||
* [freetype](http://www.freetype.org/download.html) (2.8.1)
|
||||
* [gdk-pixbuf](http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/) (2.36.10)
|
||||
* [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)
|
||||
* [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.2)
|
||||
* [gettext](http://ftp.gnu.org/pub/gnu/gettext/) (0.19.8.1)
|
||||
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.54.0)
|
||||
* [glib-networking](http://ftp.gnome.org/pub/GNOME/sources/glib-networking/) (2.54.0)
|
||||
* [glibmm](http://ftp.gnome.org/pub/GNOME/sources/glibmm/) (2.50.0)
|
||||
* [gtk2](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (2.24.31)
|
||||
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.22.21)
|
||||
* [gtkmm2](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (2.24.4)
|
||||
* [gtkmm3](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (3.22.0)
|
||||
* [glib](http://ftp.gnome.org/pub/GNOME/sources/glib/) (2.62.0)
|
||||
* [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)
|
||||
* [gobject-introspection](http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/) (1.60.2)
|
||||
* [gtk2](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (2.24.32)
|
||||
* [gtk3](http://ftp.gnome.org/pub/GNOME/sources/gtk+/) (3.24.11)
|
||||
* [gtkmm2](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (2.24.5)
|
||||
* [gtkmm3](http://ftp.gnome.org/pub/GNOME/sources/gtkmm) (3.24.1)
|
||||
* [gtksourceview2](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (2.10.5)
|
||||
* [gtksourceview3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/) (3.24.3)
|
||||
* [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.18.0)
|
||||
* [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (1.5.1)
|
||||
* [hicolor-icon-theme](http://icon-theme.freedesktop.org/releases/) (0.15)
|
||||
* [json-glib](http://ftp.gnome.org/pub/gnome/sources/json-glib/) (1.4.2)
|
||||
* [libepoxy](https://github.com/anholt/libepoxy) (1.4.3)
|
||||
* [gtksourceviewmm3](http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/) (3.21.3)
|
||||
* [harfbuzz](http://www.freedesktop.org/software/harfbuzz/release/) (2.6.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)
|
||||
* [libiconv](https://ftp.gnu.org/pub/gnu/libiconv/) (1.15)
|
||||
* [libpng](http://sourceforge.net/project/showfiles.php?group_id=5624) (1.6.32)
|
||||
* [libsigc++](http://ftp.gnome.org/pub/GNOME/sources/libsigc++/) (2.10.0)
|
||||
* [libsoup](http://ftp.gnome.org/pub/GNOME/sources/libsoup/) (2.58.2)
|
||||
* [libxml2](http://xmlsoft.org/sources/) (2.9.4)
|
||||
* [libxml++2](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (2.40.0)
|
||||
* [libxml++3](http://ftp.gnome.org/pub/GNOME/sources/libxml++/) (3.0.0)
|
||||
* [libxslt](http://xmlsoft.org/sources/) (1.1.29)
|
||||
* [pango](http://ftp.gnome.org/pub/GNOME/sources/pango/) (1.40.11)
|
||||
* [pangomm](http://ftp.gnome.org/pub/GNOME/sources/pangomm/) (2.40.0)
|
||||
* [pcre](ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/) (8.41)
|
||||
* [pixman](http://cairographics.org/releases/) (0.34.0)
|
||||
* [sqlite](https://www.sqlite.org) (3.20.0)
|
||||
* [libiconv](https://ftp.gnu.org/pub/gnu/libiconv/) (1.16)
|
||||
* [libpeas](http://ftp.gnome.org/pub/gnome/sources/libpeas/) (1.22.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.68.1)
|
||||
* [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.29.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.
|
||||
|
||||
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/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/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.
|
||||
|
||||
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.
|
||||
|
||||
[](https://www.paypal.me/tomschoonjans/10)
|
||||
|
||||
[](http://amzn.eu/8ml3d0c)
|
||||
|
||||
Tom Schoonjans
|
||||
|
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.
BIN
gtk-nsis-pack/bin/libdatrie-1.dll
Normal file
BIN
gtk-nsis-pack/bin/libdatrie-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.
BIN
gtk-nsis-pack/bin/libfribidi-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libfribidi-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.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
gtk-nsis-pack/bin/libhogweed-5.dll
Normal file
BIN
gtk-nsis-pack/bin/libhogweed-5.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
gtk-nsis-pack/bin/libnettle-7.dll
Normal file
BIN
gtk-nsis-pack/bin/libnettle-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.
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.
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.
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/libthai-0.dll
Normal file
BIN
gtk-nsis-pack/bin/libthai-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.
@ -22,6 +22,8 @@ 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
|
||||
@ -46,6 +48,7 @@ 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
|
||||
@ -85,6 +88,8 @@ 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
|
||||
@ -102,6 +107,8 @@ 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
|
||||
@ -109,12 +116,19 @@ 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/libhogweed-5.dll $INSTALL_SRC_BIN
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libnettle-7.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
|
||||
|
||||
# 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
|
||||
|
||||
# Standard MSYS2 libraries
|
||||
cp $INSTALL_SRC_MSYS2_BIN/libstdc++-6.dll $INSTALL_SRC_BIN
|
||||
@ -156,6 +170,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/
|
||||
@ -177,6 +196,11 @@ 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
|
||||
|
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>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user