[gimp/wip/Jehan/native-win64-build: 3/3] TEST: build babl with verbose g-ir-scanner.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/native-win64-build: 3/3] TEST: build babl with verbose g-ir-scanner.
- Date: Mon, 3 May 2021 18:43:18 +0000 (UTC)
commit 2050db857f45aea68c69bbce434a06fbdf09b5cb
Author: Jehan <jehan girinstud io>
Date: Mon May 3 20:01:29 2021 +0200
TEST: build babl with verbose g-ir-scanner.
Trying to debug why g-ir-scanner call ends in error, yet with neither
stdout nor stderr output whatsoever.
build/windows/build-msys2.sh | 5 +++++
.../0001-Introspection-in-verbose-mode.patch | 25 ++++++++++++++++++++++
2 files changed, 30 insertions(+)
---
diff --git a/build/windows/build-msys2.sh b/build/windows/build-msys2.sh
index 68bbe9183e..bfba35f182 100644
--- a/build/windows/build-msys2.sh
+++ b/build/windows/build-msys2.sh
@@ -90,10 +90,15 @@ export PKG_CONFIG_PATH="${GIMP_PREFIX}/share/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="${GIMP_PREFIX}/lib:${LD_LIBRARY_PATH}"
export ACLOCAL_FLAGS="-I/c/msys64/mingw64/share/aclocal"
+# export XDG_DATA_DIRS="$XDG_DATA_DIRS:${GIMP_PREFIX}/share:/usr/local/share:/usr/share:/mingw64/share/"
+# export XDG_DATA_DIRS="$XDG_DATA_DIRS:${GIMP_PREFIX}/share:/mingw64/share/"
+export XDG_DATA_DIRS="${GIMP_PREFIX}/share:/mingw64/share/"
+
git clone --depth=${GIT_DEPTH} https://gitlab.gnome.org/GNOME/babl.git _babl
git clone --depth=${GIT_DEPTH} https://gitlab.gnome.org/GNOME/gegl.git _gegl
cd _babl
+git apply ../build/windows/patches/0001-Introspection-in-verbose-mode.patch
meson -Dprefix="${GIMP_PREFIX}" -Dwith-docs=false _build
ninja -v -C _build
ninja -C _build install
diff --git a/build/windows/patches/0001-Introspection-in-verbose-mode.patch
b/build/windows/patches/0001-Introspection-in-verbose-mode.patch
new file mode 100644
index 0000000000..60fd5bcae8
--- /dev/null
+++ b/build/windows/patches/0001-Introspection-in-verbose-mode.patch
@@ -0,0 +1,25 @@
+From eadf7d61294002e49566a5cad207a0418d5d5e51 Mon Sep 17 00:00:00 2001
+From: Jehan <jehan girinstud io>
+Date: Mon, 3 May 2021 19:57:54 +0200
+Subject: [PATCH] Introspection in verbose mode.
+
+DO NOT PUSH!
+---
+ babl/meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/babl/meson.build b/babl/meson.build
+index d19210a..c0f0e76 100644
+--- a/babl/meson.build
++++ b/babl/meson.build
+@@ -141,6 +141,7 @@ if build_gir
+ babl_gir = gnome.generate_gir(babl,
+ sources: babl_headers,
+ extra_args: [
++ '--verbose',
+ '--identifier-filter-cmd=@0@ @1@'.format(python.path(),
+ meson.current_source_dir() / 'identfilter.py'),
+ '-DBABL_IS_BEING_COMPILED',
+--
+2.30.2
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]