Add patch to fix build with latest meson
authorJeremy Bicha <jeremy.bicha@canonical.com>
Thu, 24 Mar 2022 19:14:54 +0000 (15:14 -0400)
committerJeremy Bicha <jeremy.bicha@canonical.com>
Thu, 24 Mar 2022 19:21:15 +0000 (15:21 -0400)
debian/patches/build-fix-description-case.patch [new file with mode: 0644]
debian/patches/series
debian/patches/tests-increase-timeout.patch

diff --git a/debian/patches/build-fix-description-case.patch b/debian/patches/build-fix-description-case.patch
new file mode 100644 (file)
index 0000000..eba9023
--- /dev/null
@@ -0,0 +1,22 @@
+From: Jeremy Bicha <jeremy.bicha@canonical.com>
+Date: Thu, 24 Mar 2022 15:14:33 -0400
+Subject: build: fix description case
+
+https://gitlab.gnome.org/GNOME/babl/-/merge_requests/46
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 487e470..2623e93 100644
+--- a/meson.build
++++ b/meson.build
+@@ -55,7 +55,7 @@ lib_name    = meson.project_name() + '-' + api_version
+ stability_version_number = (major_version != 0 ? minor_version : micro_version)
+ stable = (stability_version_number % 2 == 0)
+-conf.set10('BABL_UNSTABLE', not stable, Description:
++conf.set10('BABL_UNSTABLE', not stable, description:
+   'Define to 1 if this is an unstable version of BABL.')
+ conf.set       ('BABL_MAJOR_VERSION',    '@0@'.format(major_version))
index b805e74c04313d6051e5307e4eec332e01485023..665260ff75501509b5b4ce5b2293bce8186998fd 100644 (file)
@@ -1 +1,2 @@
 tests-increase-timeout.patch
+build-fix-description-case.patch
index fa29ce1e8eb00c6cb77b656611b880d70ae09d34..5ba85d7208d87b15d20e7336fe131f2de29f760b 100644 (file)
@@ -12,10 +12,10 @@ https://buildd.debian.org/status/logs.php?pkg=babl&arch=armel
  1 file changed, 1 insertion(+)
 
 diff --git a/tests/meson.build b/tests/meson.build
-index dfe7d45..c03e1a4 100644
+index eee8895..e131c14 100644
 --- a/tests/meson.build
 +++ b/tests/meson.build
-@@ -50,5 +50,6 @@ foreach test_name : test_names
+@@ -51,5 +51,6 @@ foreach test_name : test_names
      test,
      env: test_env,
      workdir: meson.current_build_dir(),