19 Commits

Author SHA1 Message Date
Enrico Tröger
ee0df54d93 Windows: Bundle xz in installer
Xz is needed for librsvg.
2022-01-10 23:22:37 +01:00
Enrico Tröger
0601c73f7a
Windows: Bundle librsvg in installer (#3082)
While not strictly needed to run Geany, librsvg enables SVG support
which might used by GTK themes.

See also #3063 for GTK theme discussion.
2022-01-04 23:34:06 +01:00
Enrico Tröger
ad4f474783 Windows: Update indirect dependencies for bundle creation 2021-10-09 12:05:59 +02:00
Enrico Tröger
0f856a4a0e Windows: Compile and include GSettings schemas on bundle creation
Without these schemas, Geany crashes when the file open dialog is shown.
2021-10-09 12:05:59 +02:00
Enrico Tröger
8395267fc9 Windows: Ignore Pacman cache on bundle creation
Also use long command line arguments for curl to fix a typo in -L.
2021-10-09 12:05:59 +02:00
Enrico Tröger
999e918b6c Windows: Ignore package signatures on bundle creation 2021-10-09 12:05:59 +02:00
Enrico Tröger
b15aa208fa Windows: Replace GTK2 by (upcoming) GTK4 in bundle script 2021-10-09 12:05:59 +02:00
Enrico Tröger
d452994a75 Windows: Create GTK bundle for x86_64 and suppt non-native execution
Changes in the bundle creation script:
- the GTK (and other dependencies) bundle is now created for the x86_64
platform
- the new parameter "-x" allows to run script on a Linux system using
Wine, therefore it is necessary to run the post-install scripts after
all packages have been extracted.
- use "-Sdd" for Pacman to ignore dependencies as we resolve them
manually
- do not use "tar -x --xz" as Pacman nowadays also downloads .zst
packages, instead just download the file and let tar choose the format
automatically based on the filename
- install grep with Pacman as the build and target platform are now
identical
- update GTK dependencies to match current packages
2021-10-09 12:05:59 +02:00
Thomas Martitz
b524a58e12 Merge branch 'gh-codebrainz/remove-gtk2' into master
This merge removes GTK2 support entirely only GTK3 is left.

Closes #2602
2021-05-29 14:17:42 +02:00
Colomban Wendling
9c2b7da3f5 Remove some more GTK2 occurrences and adjust a few comments 2020-11-02 14:45:44 +01:00
Enrico Tröger
9f79f801f4 Windows: Update indirect dependencies for bundle creation 2020-10-24 11:33:24 +02:00
Enrico Tröger
ea649d8024 Windows: bundle the GLib GSpawn helper binaries with the installer
We do not need those anymore in Geany directly. But there are still some
plugins using this API instead of Geany's spawn API.
So to support those plugins, provide the GLib helper binaries.
2020-04-29 23:48:18 +02:00
Enrico Tröger
ffc47cbcbd Windows: Add new Pango dependencies to bundle creation script 2018-12-16 10:35:18 +01:00
Enrico Tröger
60621434c9 Windows: Update indirect dependencies for bundle creation
Pango now requires fribidi, so we need to install it.
Update the download URL for UnxUtils.
Remove unnecessary cmake files after installation.
2018-08-19 23:32:02 +02:00
Enrico Tröger
973a721574 Use pre-compiled 'grep' binary from MSYS2 on Windows
This drops the self-compiled 'grep' version which caused issues
with recursive searches on Windows as well as with non-ASCII
characters in paths.
The pre-compiled 'grep' binary from MSYS2 (matching the target ABI)
seems to solve probably all of the known problems on Windows.
The only drawback is that we need to ship a few additional MSYS2
libraries on which the 'grep' binary depends.

Closes #1229 and #1260.
2016-11-13 14:24:17 +01:00
Enrico Troeger
b28d14bb2b Windows: Add new indirect dependencies to the bundle 2016-06-17 20:42:49 +02:00
Enrico Tröger
bd8caf2a85 GTK bundle creation: don't delete necessary GLib schema files
The files in share/glib-2.0/schemas are necessary for GTK3,
so don't delete them but everything else on the same directory level.
2016-03-21 23:16:12 +01:00
Enrico Tröger
479cf3dc53 Improve Windows GTK runtime bundle creation script
Update the list of dependencies, include sort.exe and grep.exe,
create a information file with all download links of included
binaries and re-structure the script for better readability.
See #560 for details.
2016-03-12 16:54:42 +01:00
Thomas Martitz
9224c3c391 win32: run geany.nsi.in through automake to replace @GTK_VERSION@ variable
This automatically keeps the installer's idea of Gtk version with the one
used to compile geany in sync.

Traditionally we use the bundles from gtk.org to compile geany, and this
is also used for the installer. With msys2, we can use precompiled
msys2 binaries. These exist for GTK3 as well so we can actually provide a
GTK3 based installer. The installer naturually should reflect this.
Msys2's GTK2 is also newer.

Use the new script gtk-bundle-from-msys2.sh to extract the precompiled
GTK binaries from msys2 / pacman for packing the installer (can also be
used to make a zip for sharing).

mkdir gtk; cd gtk; ../scripts/gtk-bundle-from-msys.sh [-c] [-z] [-2 | -3]

waf is also adapted to process geany.nsi.in. This implies geany.nsi is now
under _build_, not in the root anymore.
2015-07-05 18:28:09 +02:00