Bug#928803: keyman-keyboardprocessor FTCBFS: runs meson without a cross file
Source: keyman-keyboardprocessor
Version: 11.0.101-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
keyman-keyboardprocessor fails to cross build from source, because it
does not pass a cross file to meson. debhelper has a meson build system
since 10.3 and later handles cross building. Removing all the overrides
makes keyman-keyboardprocessor cross buildable. Please consider applying
the attached patch.
Helmut
diff --minimal -Nru keyman-keyboardprocessor-11.0.101/debian/changelog keyman-keyboardprocessor-11.0.101/debian/changelog
--- keyman-keyboardprocessor-11.0.101/debian/changelog 2019-01-14 03:52:25.000000000 +0100
+++ keyman-keyboardprocessor-11.0.101/debian/changelog 2019-05-11 14:36:59.000000000 +0200
@@ -1,3 +1,10 @@
+keyman-keyboardprocessor (11.0.101-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Let debhelper (>= 10.3) handle the meson build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 11 May 2019 14:36:59 +0200
+
keyman-keyboardprocessor (11.0.101-2) unstable; urgency=medium
* add 0001-Newer-compilers-are-complaining-about-catching-std-e.patch
diff --minimal -Nru keyman-keyboardprocessor-11.0.101/debian/rules keyman-keyboardprocessor-11.0.101/debian/rules
--- keyman-keyboardprocessor-11.0.101/debian/rules 2019-01-14 03:52:25.000000000 +0100
+++ keyman-keyboardprocessor-11.0.101/debian/rules 2019-05-11 14:36:02.000000000 +0200
@@ -8,24 +8,3 @@
%:
dh $@
-
-override_dh_auto_clean:
- rm -fr debian/build
-
-override_dh_auto_configure:
- mkdir -p debian/build
- cd debian/build && meson \
- --prefix=/usr \
- ../..
-
-override_dh_auto_build:
- cd debian/build && ninja -v
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- cd debian/build && ninja test
-endif
-
-override_dh_auto_install:
- cd debian/build && DESTDIR=${CURDIR}/debian/tmp ninja install
-
Reply to: