[gimp/wip/Jehan/native-win64-build] TEST: rebuild 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] TEST: rebuild babl with verbose g-ir-scanner.
- Date: Mon, 3 May 2021 18:11:50 +0000 (UTC)
commit be194c6db5ba4f11694513da65b31eee49e9a689
Author: Jehan <jehan girinstud io>
Date: Mon May 3 20:01:29 2021 +0200
TEST: rebuild babl with verbose g-ir-scanner.
build/windows/build-msys2.sh | 13 +++++++----
.../0001-Introspection-in-verbose-mode.patch | 25 ++++++++++++++++++++++
2 files changed, 34 insertions(+), 4 deletions(-)
---
diff --git a/build/windows/build-msys2.sh b/build/windows/build-msys2.sh
index ad1c32c37d..324b28fa0e 100644
--- a/build/windows/build-msys2.sh
+++ b/build/windows/build-msys2.sh
@@ -90,12 +90,17 @@ 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"
-git clone --depth=${GIT_DEPTH} --branch BABL_0_1_78 https://gitlab.gnome.org/GNOME/babl.git _babl
+# 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
-#meson -Dprefix="${GIMP_PREFIX}" -Dwith-docs=false _build
-#ninja -v -C _build
+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
#cd ../_gegl
#meson --prefix="${GIMP_PREFIX}" -Ddocs=false _build
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]