[gimp/wip/Jehan/native-win64-build] Try to run the g-ir-scanner command directly.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/native-win64-build] Try to run the g-ir-scanner command directly.
- Date: Tue, 4 May 2021 16:41:46 +0000 (UTC)
commit ca7dde63ae336a23fa5cdfa8dd2aa1526fbfc8cd
Author: Jehan <jehan girinstud io>
Date: Tue May 4 18:41:17 2021 +0200
Try to run the g-ir-scanner command directly.
build/windows/build-msys2.sh | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/build/windows/build-msys2.sh b/build/windows/build-msys2.sh
index fb4eb74b25..3c2a9d9d79 100644
--- a/build/windows/build-msys2.sh
+++ b/build/windows/build-msys2.sh
@@ -105,7 +105,28 @@ printf "BablTest" | python3 ../babl/identfilter.py
git apply ../../build/windows/patches/0001-Introspection-in-verbose-mode.patch
git apply ../../build/windows/patches/0001-Add-some-quotes.patch
meson -Dprefix="${GIMP_PREFIX}" -Denable-vapi=false -Dwith-docs=false --buildtype=plain -Dwith-lcms=true
-Denable-gir=true ..
-ninja
+ninja || \
+C:/msys64/mingw64/bin/g-ir-scanner.exe --no-libtool --namespace=Babl \
+--nsversion=0.1 --warn-all --output babl/Babl-0.1.gir --c-include=babl.h \
+--identifier-filter-cmd="C:/msys64/mingw64/bin/python.exe ~/_babl/babl/identfilter.py" \
+-DBABL_IS_BEING_COMPILED -I~/_babl/babl -I~/_babl/_build/babl -I./. \
+-I../. -I./babl/base/. -I../babl/base/. \
+--filelist=~/_babl/_build/babl/libbabl-0.1-0.dll.p/Babl_0.1_gir_filelist \
+--cflags-begin -fno-unsafe-math-optimizations \
+-Wdeclaration-after-statement -Winit-self -Wmissing-declarations \
+-Wmissing-prototypes -Wold-style-definition -Wpointer-arith -mmmx -msse \
+-mfpmath=sse -mstackrealign -I./. -I../. -I./babl/base/. \
+-I../babl/base/. -IC:/msys64/mingw64/include \
+-IC:/msys64/mingw64/include/gobject-introspection-1.0 \
+-IC:/msys64/mingw64/include/glib-2.0 \
+-IC:/msys64/mingw64/lib/glib-2.0/include --cflags-end \
+--add-include-path=C:/msys64/mingw64/share/gir-1.0 -L./babl --library \
+babl-0.1 --extra-library=m -LC:/msys64/mingw64/lib --extra-library=lcms2 \
+--extra-library=girepository-1.0 --extra-library=gobject-2.0 \
+--extra-library=glib-2.0 --extra-library=intl --sources-top-dirs \
+~/_babl/subprojects/ \
+--sources-top-dirs ~/_babl/_build/subprojects/
+
ninja install
mkdir ../../_gegl/_build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]