aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2022-12-03 08:52:31 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2022-12-03 08:52:31 +0300
commit351d07a7f79049a92a35feb588f13a571d6d1c89 (patch)
tree4ea3da38e5d37dbf0f79418bfe64a986170c11ec /.github/workflows
parent28fc81255a6d5f35b3464e1361cb5051010b6118 (diff)
downloadsciteco-351d07a7f79049a92a35feb588f13a571d6d1c89.tar.gz
fixup: bundle Gtk+ Win32 pixbuf loader DLLs into the package root
* mingw-bundledlls apparently does not output MinGW-friendly filenames, so we cannot use it to bundle files into a directory differing from the executable's directory.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nightly.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 39865ed..14635c6 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -304,14 +304,12 @@ jobs:
# FIXME: It's possible to change the location of loaders.cache via $GDK_PIXBUF_MODULE_FILE.
# If we did that, we could avoid "reusing" the lib/ directory.
# This is important when somebody changes $SCITECOPATH.
+ cp /mingw32/lib/gdk-pixbuf-2.0/2.10.0/loaders/{libpixbufloader-svg.dll,libpixbufloader-png.dll} .
+ # Collect DLLs for all pixbuf loaders into the root directory
+ for f in libpixbufloader-*.dll; do ../contrib/mingw-bundledlls --copy $f; done
mkdir -p lib/gdk-pixbuf-2.0/2.10.0/loaders/
- cp /mingw32/lib/gdk-pixbuf-2.0/2.10.0/loaders/{libpixbufloader-svg.dll,libpixbufloader-png.dll} \
- lib/gdk-pixbuf-2.0/2.10.0/loaders/
+ mv libpixbufloader-*.dll lib/gdk-pixbuf-2.0/2.10.0/loaders/
cp ../win32/loaders.cache lib/gdk-pixbuf-2.0/2.10.0/
- # Collect DLLs for all pixbuf loaders into the root directory
- for f in lib/gdk-pixbuf-2.0/2.10.0/loaders/*.dll; do
- cp `../contrib/mingw-bundledlls $f` .
- done
zip -9 -r ../sciteco-gtk3_nightly_win32.zip .
- name: Archive Windows Distribution (GTK+ 3)
uses: pyTooling/Actions/releaser/composite@v0.4.5