summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/changelog933
-rw-r--r--debian/control107
-rw-r--r--debian/copyright22
-rwxr-xr-xdebian/debcrossgen154
-rwxr-xr-xdebian/install4
-rw-r--r--debian/meson.bash-completion1
-rw-r--r--debian/patches/1-disable-openmpi.patch13
-rw-r--r--debian/patches/2-disable-rootdir-test.patch27
-rw-r--r--debian/patches/3-debian-sysconfig-layout.patch60
-rw-r--r--debian/patches/5-fputc.patch24
-rw-r--r--debian/patches/series4
-rwxr-xr-xdebian/rules20
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides5
-rwxr-xr-xdebian/tests/basicmeson25
-rwxr-xr-xdebian/tests/clangmeson20
-rw-r--r--debian/tests/control16
-rwxr-xr-xdebian/tests/crossbuild23
-rwxr-xr-xdebian/tests/exhaustive12
-rw-r--r--debian/upstream/metadata8
-rw-r--r--debian/upstream/signing-key.asc102
-rw-r--r--debian/watch4
22 files changed, 1585 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..177796e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,933 @@
+meson (1.0.1-5) unstable; urgency=medium
+
+ * Fix incorrect usage of fgetc/fputc. Closes: #1032168.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 11 Mar 2023 23:06:44 +0200
+
+meson (1.0.1-4) unstable; urgency=medium
+
+ * Reupload to unstable.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 28 Feb 2023 20:22:54 +0200
+
+meson (1.0.1-3) experimental; urgency=medium
+
+ * Remove env2mfile test patch.
+ * Fix ppcle64 cpu detection. Closes: #1019413.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 27 Feb 2023 02:17:42 +0200
+
+meson (1.0.1-2) experimental; urgency=medium
+
+ * Testing fixes for env2mfile in package builds.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 25 Feb 2023 03:21:17 +0200
+
+meson (1.0.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #1029250.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 24 Feb 2023 00:09:22 +0200
+
+meson (1.0.0-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Patch: Correctly select the Debian python scheme with modern distutils.
+ Closes: #1026312.
+
+ -- Stefano Rivera <stefanor@debian.org> Sat, 24 Dec 2022 11:22:03 -0400
+
+meson (1.0.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 23 Dec 2022 18:24:54 +0200
+
+meson (1.0.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 17 Dec 2022 00:28:50 +0200
+
+meson (1.0.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 10 Dec 2022 19:22:43 +0200
+
+meson (0.64.1-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Revert debcrossgen to internal implementation as it does not work at all.
+
+ -- Helmut Grohne <helmut@subdivi.de> Wed, 23 Nov 2022 07:03:27 +0100
+
+meson (0.64.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Made debcrossgen use meson env2mfile.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 22 Nov 2022 23:04:28 +0200
+
+meson (0.64.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 06 Nov 2022 16:17:12 +0200
+
+meson (0.64.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 01 Nov 2022 21:02:35 +0200
+
+meson (0.64.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 25 Oct 2022 19:37:09 +0300
+
+meson (0.63.3-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #1020567.
+ * Update wxwisgets dependency. Closes: #1019803.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Thu, 06 Oct 2022 00:24:00 +0300
+
+meson (0.63.2-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #1017087.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 03 Sep 2022 19:33:44 +0300
+
+meson (0.63.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #1014417, #1015132.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 13 Aug 2022 12:07:43 +0300
+
+meson (0.63.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 03 Jul 2022 17:46:02 +0300
+
+meson (0.63.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 27 Jun 2022 18:15:21 +0300
+
+meson (0.63.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 19 Jun 2022 22:25:40 +0300
+
+meson (0.62.2-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Thu, 02 Jun 2022 19:30:27 +0300
+
+meson (0.62.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #1008189, #1009097, #1008382.
+ * Add dep to setuptools as distutils has been removed.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 23 Apr 2022 12:56:37 +0300
+
+meson (0.62.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 21 Mar 2022 23:25:44 +0200
+
+meson (0.62.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 15 Mar 2022 11:33:08 +0200
+
+meson (0.62.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Thu, 10 Mar 2022 11:43:53 +0200
+
+meson (0.61.2-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 14 Feb 2022 21:27:54 +0200
+
+meson (0.61.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes #1003535.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 17 Jan 2022 12:52:58 +0200
+
+meson (0.61.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Add clang-format to build dependencies.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 10 Jan 2022 18:32:10 +0200
+
+meson (0.61.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 02 Jan 2022 22:24:46 +0200
+
+meson (0.60.3-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 22 Dec 2021 19:56:29 +0200
+
+meson (0.60.2-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Update copyright info. Closes: #1000328.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Thu, 25 Nov 2021 23:26:26 +0200
+
+meson (0.60.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #998124.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 02 Nov 2021 22:55:38 +0200
+
+meson (0.60.0-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #997121.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 24 Oct 2021 18:15:26 +0300
+
+meson (0.60.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 11 Oct 2021 19:52:11 +0300
+
+meson (0.59.2-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 28 Sep 2021 20:15:15 +0300
+
+meson (0.59.1-2) unstable; urgency=medium
+
+ * Add dep to python3-distutils. Closes: #994483.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 18 Sep 2021 14:33:52 +0300
+
+meson (0.59.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 18 Aug 2021 14:26:41 +0300
+
+meson (0.59.0-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 18 Jul 2021 13:04:17 +0300
+
+meson (0.59.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 12 Jul 2021 01:07:24 +0300
+
+meson (0.59.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+ * Cross test fix from Helmut Grohne. Closes: #989823.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 05 Jul 2021 22:12:20 +0300
+
+meson (0.58.1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 07 Jun 2021 20:36:31 +0300
+
+meson (0.58.0-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 02 May 2021 12:43:46 +0300
+
+meson (0.58.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 27 Apr 2021 09:53:20 +0300
+
+meson (0.57.2-1) experimental; urgency=medium
+
+ * New upstream release
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 10 Apr 2021 12:30:11 +0300
+
+meson (0.57.1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 20 Feb 2021 15:22:59 +0200
+
+meson (0.57.0+really0.56.2-0.1) unstable; urgency=medium
+
+ * Revert to 0.56.2 (Closes: #982865)
+ 0.57.0 no longer honors CPPFLAGS and therefore silently drops
+ -D_FORTIFY_SOURCE=2 during package builds.
+
+ -- Sebastian Ramacher <sramacher@debian.org> Mon, 15 Feb 2021 21:17:44 +0100
+
+meson (0.57.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 14 Feb 2021 21:29:36 +0200
+
+meson (0.57.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+ * Add recommends to dpkg-dev. Closes: #977051.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 09 Feb 2021 01:21:53 +0200
+
+meson (0.56.2-1) unstable; urgency=medium
+
+ * New upstream release
+ * Updated standards version.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 10 Jan 2021 14:51:13 +0200
+
+meson (0.56.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Add cups-config to debcrossgen. Closes: #977633.
+ * Remove aarch64 patch as the underlying issue has been fixed.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 06 Jan 2021 12:43:02 +0200
+
+meson (0.56.0-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Skip unimplmented test on arm64. Closes: #975411.
+
+ -- Matthias Klose <doko@debian.org> Sat, 28 Nov 2020 15:30:07 +0100
+
+meson (0.56.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 30 Oct 2020 10:28:21 +0200
+
+meson (0.56.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 26 Oct 2020 20:20:13 +0200
+
+meson (0.56.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 19 Oct 2020 00:35:48 +0300
+
+meson (0.55.3-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 11 Sep 2020 18:38:53 +0300
+
+meson (0.55.2-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Install Bash completion files. Closes: #968462.
+ * Remove TAP test distro patch that is now upstream.
+ * Do not install openmpi packages as the tests don't run under pbuilder.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Thu, 10 Sep 2020 19:44:56 +0300
+
+meson (0.55.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Remove patches no longer needed in 0.55.1.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 21 Aug 2020 00:08:05 +0300
+
+meson (0.55.0-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Don't consider skipped tests as failures. Closes: #966923
+ * Fix test with setuptools 49. Closes: #968704
+
+ -- Marco Trevisan (TreviƱo) <marco@ubuntu.com> Thu, 20 Aug 2020 18:10:34 +0100
+
+meson (0.55.0-2) unstable; urgency=medium
+
+ * Fix crossbuild test from Gianfranco Costamagna. Closes: #963546
+ * Add dep to Python pkg resources from Kunal Mehta. Closes: #965033.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Thu, 16 Jul 2020 22:15:06 +0300
+
+meson (0.55.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 12 Jul 2020 17:29:15 +0300
+
+meson (0.55.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release.
+ * Fix test dependency setup to work on all arches. Closes: #963546.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 08 Jul 2020 10:51:14 +0300
+
+meson (0.54.3-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #960877.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 15 Jun 2020 19:48:23 +0300
+
+meson (0.54.2-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 15 May 2020 10:26:05 +0300
+
+meson (0.54.1-2) unstable; urgency=medium
+
+ * Add libdir regression fix. Closes: #959708.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 06 May 2020 23:25:28 +0300
+
+meson (0.54.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 26 Apr 2020 12:10:21 +0300
+
+meson (0.54.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 29 Mar 2020 20:03:27 +0300
+
+meson (0.54.0~rc1-1) experimental; urgency=medium
+
+ * New upstream rc release.
+ * Updated debcrossgen to not write to stderr. Closes: #952610.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 24 Mar 2020 11:32:25 +0200
+
+meson (0.53.2-2) unstable; urgency=medium
+
+ * Fix autopkgtest dependencies. Closes: #952610
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 29 Feb 2020 00:20:11 +0200
+
+meson (0.53.2-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #950020, #951487
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 25 Feb 2020 18:02:37 +0200
+
+meson (0.53.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #948611.
+ * Add cross build autopkgtest from Helmut Grohne. Closes: #948608
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 24 Jan 2020 00:35:16 +0200
+
+meson (0.53.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Disable tests that check home directory because it does
+ not seem to work under pbuilder.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 07 Jan 2020 22:13:25 +0200
+
+meson (0.52.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #945277.
+ * Packaging fixes from Lasse Kantola. Closes: #870314.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 29 Nov 2019 15:52:29 +0200
+
+meson (0.52.0-2) unstable; urgency=medium
+
+ * Update wxwidgets build dependency. Closes: #943437.
+ * Disable FPGA tests temporarily to work around Yosys upstream
+ bug #1467.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 29 Oct 2019 23:48:25 +0200
+
+meson (0.52.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Removed python2 build dep to prepare for Python 2 removal.
+ Added boost-python explicitly to build-deps.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 06 Oct 2019 20:05:53 +0300
+
+meson (0.51.2-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Updated standards and compat versions.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 26 Aug 2019 19:39:22 +0300
+
+meson (0.51.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Fix debcrossgen on i386.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 09 Jul 2019 19:40:49 +0300
+
+meson (0.51.0-1) experimental; urgency=medium
+
+ * New upstream release.
+ * Add build-dep to CMake needed by new tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 16 Jun 2019 22:04:22 +0300
+
+meson (0.50.1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 17 Apr 2019 01:12:02 +0300
+
+meson (0.50.0-1) experimental; urgency=medium
+
+ * New upstream release.
+ * Install zsh completion files. Closes: #920154.
+ * Add python2-dev to build deps as needed by new tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 10 Mar 2019 19:27:10 +0200
+
+meson (0.49.2-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 04 Feb 2019 21:20:09 +0200
+
+meson (0.49.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 23 Jan 2019 18:49:53 +0200
+
+meson (0.49.0-2) unstable; urgency=medium
+
+ * Debcrossgen CPU fix from Helmut Grohne. Closes: #919065.
+ * Add system compiler flags to cross files. Closes: #919117.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 13 Jan 2019 00:59:08 +0200
+
+meson (0.49.0-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #894774, #914543, #913263.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 09 Dec 2018 19:56:53 +0200
+
+meson (0.48.2-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #911879, #911697.
+ * Backport split-merge patch from trunk. Closes: #913320.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 15 Nov 2018 21:30:25 +0200
+
+meson (0.48.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #909851, #910443.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 17 Oct 2018 18:57:16 +0300
+
+meson (0.48.0-2) unstable; urgency=medium
+
+ * Add dependency to python3-pkg-resources temporarily. Closes: #909440.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 24 Sep 2018 18:51:11 +0300
+
+meson (0.48.0-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #907324.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 22 Sep 2018 23:13:11 +0300
+
+meson (0.47.2-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 25 Aug 2018 11:15:05 +0300
+
+meson (0.47.1-2) unstable; urgency=medium
+
+ * Fix debcrossgen install properly. Closes: #903279.
+ * Re-enable Valgrind tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 3 Aug 2018 22:56:19 +0300
+
+meson (0.47.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #903414.
+ * Install depfixer again, it got lost accidentally. Closes: #903279.
+ * Disable all Valgrind tests because of #903404.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 11 Jul 2018 00:05:14 +0300
+
+meson (0.47.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Switch to using standard Python install because trying to keep the
+ library private is just too damn hard and annoying.
+ * Updated Google test dependencies. Closes: #897174.
+ * Added build deps to test new functionality.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 02 Jul 2018 20:54:05 +0300
+
+meson (0.46.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #896876.
+ * Use an UTF-8 locale because ASCII breaks tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 16 May 2018 19:28:58 +0300
+
+meson (0.46.0-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #892515.
+ * Updated debcrossgen.
+ * Old command names now only print errors. Closes: #886882.
+ * Marked pytho3 dependency with :any as recommended by multiarch hinter.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 22 Apr 2018 19:42:22 +0300
+
+meson (0.45.1-2) unstable; urgency=medium
+
+ * Added cross fix to enable RISC-V bootstrap. Closes: #894505.
+ * Added patch to fix autopkgtests. Closes: #894594.
+ * Fixed Java detection logic and dependency. Closes: #894200.
+ * Fixed cross dependencies. Closes: #894199.
+ * Updated debcrossgen tool. Closes: #893502.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 02 Apr 2018 12:54:53 +0300
+
+meson (0.45.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #892956.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Thu, 22 Mar 2018 00:04:38 +0200
+
+meson (0.45.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Updated debhelper requirement.
+ * New build deps for FPGA tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 04 Mar 2018 20:27:57 +0200
+
+meson (0.44.1-1) unstable; urgency=medium
+
+ * New upstream version. Closes: #884627.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 21 Feb 2018 00:02:07 +0200
+
+meson (0.44.0-3) unstable; urgency=medium
+
+ * Forward autopkgtest stderr to stdout because the test executor
+ interprets any text in stderr as a test failure.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 23 Dec 2017 15:42:17 +0200
+
+meson (0.44.0-2) unstable; urgency=medium
+
+ * Add meson package as a dependency of all autopkgtests.
+ * Add build deps to enable a few optional tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 17 Dec 2017 13:49:31 +0200
+
+meson (0.44.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Do not run D library tests, because GDC has problems
+ with them. Closes: #879976.
+ * Fixed dependency declarations so a nocheck build
+ no longer requires Rust. Closes: #879704.
+ * Converted thorough autopkgtest to run the full test
+ suite including all dependency tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 10 Dec 2017 15:41:49 +0200
+
+meson (0.43.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Updated debcrossgen script. Closes: #875703.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 08 Oct 2017 22:36:43 +0300
+
+meson (0.42.1-1) unstable; urgency=medium
+
+ * New upstream version.
+ * Marked the package multi-arch foreign
+ * Ship non-public helper script to generate cross files
+ from architecture info to aid in cross builds. Closes: #859177.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 12 Sep 2017 19:37:59 +0300
+
+meson (0.42.0-2) unstable; urgency=medium
+
+ * Fix autopkgtests to use the meson command rather than mesonconf,
+ mesonintrospect et al, because the latter write a warning to
+ stderr which causes autopkg to mark the test as failed.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Thu, 24 Aug 2017 01:08:48 +0300
+
+meson (0.42.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Disabled openmpi test because the generated binaries do not run
+ in pbuilder for an unknown reason.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 15 Aug 2017 00:45:25 +0300
+
+meson (0.41.2-2) unstable; urgency=medium
+
+ * Cherry picked asm tagging patch to fix Ubuntu CI breakage.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 25 Jul 2017 18:59:58 +0300
+
+meson (0.41.2-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 19 Jul 2017 12:41:18 +0300
+
+meson (0.41.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 19 Jun 2017 23:48:01 +0300
+
+meson (0.41.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Added build dep to sdl2 and llvm for new tests.
+ * Added a new, more exhaustive Debian test.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 12 Jun 2017 21:49:13 +0300
+
+meson (0.40.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Backport helper fix from Martin Pitt. Closes: #861055.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 28 Apr 2017 21:13:15 +0300
+
+meson (0.40.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 23 Apr 2017 02:01:34 +0300
+
+meson (0.39.1-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 15 Mar 2017 22:58:47 +0200
+
+meson (0.39.0-1) unstable; urgency=medium
+
+ * New upstream release
+ * Added build-dep to Valgrind which some tests use if available
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 05 Mar 2017 23:10:04 +0200
+
+meson (0.38.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 07 Feb 2017 22:03:30 +0200
+
+meson (0.38.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Versioned Ninja dependency. Closes: #850078.
+ * Install mesontest properly. Closes: #851601.
+ * Build-dep on arm cross compiler to run cross build tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 29 Jan 2017 21:17:38 +0200
+
+meson (0.37.1-1) unstable; urgency=medium
+
+ * New upstream bugfix release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 20 Dec 2016 22:09:22 +0200
+
+meson (0.37.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Added build dep to libgtk-3-dev needed by new tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 18 Dec 2016 21:17:38 +0200
+
+meson (0.36.0-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #841846.
+ * Added build dep to itstool, which is needed by new tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 14 Nov 2016 20:12:41 +0200
+
+meson (0.35.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 17 Oct 2016 21:02:42 +0300
+
+meson (0.35.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 03 Oct 2016 22:53:31 +0300
+
+meson (0.34.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Added build dep to D compiler to run new tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 05 Sep 2016 22:33:07 +0300
+
+meson (0.33.0-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 30 Jul 2016 22:36:07 +0300
+
+meson (0.32.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Removed meson-gui package because upstream removed it.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 05 Jun 2016 20:51:37 +0300
+
+meson (0.31.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 13 Apr 2016 19:39:02 +0300
+
+meson (0.30.0-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #815253.
+ * New build deps to test building of Python3 extension modules.
+ * Add Lintian override for build-depping on python-dev
+ even though the package is arch-all.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 12 Mar 2016 19:04:33 +0200
+
+meson (0.29.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Upstream moved to distutils so rewrote packaging.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 24 Jan 2016 18:57:59 +0200
+
+meson (0.28.0-2) unstable; urgency=medium
+
+ * Change Rust dependency so the package builds
+ on Debian and Ubuntu without changes.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 06 Jan 2016 15:23:56 +0200
+
+meson (0.28.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Only build-dep on Rust on platforms that provide it.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 29 Dec 2015 00:01:46 +0200
+
+meson (0.27.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Build-dep on rustc to run Rust tests.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 25 Nov 2015 19:58:44 +0200
+
+meson (0.26.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 12 Sep 2015 22:31:28 +0300
+
+meson (0.25.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 12 Jul 2015 20:52:27 +0300
+
+meson (0.24.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 23 May 2015 21:31:15 +0300
+
+meson (0.23.0-2) unstable; urgency=medium
+
+ * Reupload to unstable.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sun, 26 Apr 2015 13:43:52 +0300
+
+meson (0.23.0-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Tue, 31 Mar 2015 01:02:33 +0300
+
+meson (0.22.0-1) experimental; urgency=medium
+
+ * New upstream release
+ * Use QT_SELECT instead of build-depending on
+ qt5-default to fix Lintian error
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 19 Jan 2015 21:49:17 +0200
+
+meson (0.21.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Added autopkgtest for Clang
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Fri, 24 Oct 2014 05:01:08 +0300
+
+meson (0.20.0-1) unstable; urgency=medium
+
+ * New upstream version
+ * Added build-deps to Mono, Flex and Bison as
+ required by new unit tests
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Sat, 13 Sep 2014 00:46:56 +0300
+
+meson (0.19.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Meson now supports Fortran compilation,
+ so build-depend on gfortran to test that it's working.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 11 Aug 2014 00:24:16 +0300
+
+meson (0.18.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Made compilation and test output more verbose.
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Mon, 14 Jul 2014 18:26:28 +0300
+
+meson (0.17.0-1) unstable; urgency=medium
+
+ * Initial release. Closes: #712605, #712610
+
+ -- Jussi Pakkanen <jpakkane@gmail.com> Wed, 04 Jun 2014 22:33:44 +0300
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..034a215
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,107 @@
+Source: meson
+Maintainer: Jussi Pakkanen <jpakkane@gmail.com>
+Section: devel
+Priority: optional
+Standards-Version: 4.6.1
+Homepage: https://mesonbuild.com
+X-Python3-Version: >= 3.7
+Rules-Requires-Root: no
+Build-Depends: debhelper-compat (= 13),
+ python3:any (>= 3.5),
+ dh-exec,
+ dh-python,
+ python3-setuptools,
+ ninja-build (>= 1.6),
+ bash-completion,
+# The following are needed for the unit test suite
+ zlib1g-dev <!nocheck>,
+ pkg-config <!nocheck>,
+ libboost-dev <!nocheck>,
+ libboost-thread-dev <!nocheck>,
+ libboost-test-dev <!nocheck>,
+ libboost-log-dev <!nocheck>,
+ libboost-python-dev <!nocheck>,
+ libboost-regex-dev <!nocheck>,
+ gobjc <!nocheck>,
+ gobjc++ <!nocheck>,
+ gnustep-make <!nocheck>,
+ libgnustep-base-dev <!nocheck>,
+ googletest <!nocheck>,
+ qtbase5-dev <!nocheck>,
+ qtbase5-private-dev <!nocheck>,
+ qtbase5-dev-tools <!nocheck>,
+ qttools5-dev-tools <!nocheck>,
+ protobuf-compiler <!nocheck>,
+ libprotobuf-dev <!nocheck>,
+# OpenJDK does not work on Hurd, so skip the tests.
+ default-jdk-headless [!hurd-i386] <!nocheck>,
+ valac <!nocheck>,
+ gobject-introspection <!nocheck>,
+ libgirepository1.0-dev <!nocheck>,
+ gfortran <!nocheck>,
+ flex <!nocheck>,
+ bison <!nocheck>,
+ mono-mcs <!nocheck>,
+ mono-devel <!nocheck>,
+ libwxgtk3.2-dev <!nocheck>,
+ python3-gi <!nocheck>,
+ gtk-doc-tools <!nocheck>,
+# Rust is not needed to build Meson, only to run a part of its test
+# suite. Rust tests will be skipped if rustc is not available. This
+# stanza makes dep dep solver install rustc whenever it is available
+# and when not it installs a harmless filler package.
+ rustc [i386 amd64 arm64 armhf] <!nocheck> | bash-doc <!nocheck>,
+ python3-dev <!nocheck>,
+ cython3 <!nocheck>,
+# GDC is available on all platforms but it only
+# works when libgphobos-dev is available
+# and it only exists on a few architectures.
+ gdc [amd64 armhf i386] <!nocheck>,
+ itstool <!nocheck>,
+ libgtk-3-dev <!nocheck>,
+# Not available on older releases and only needed for tests
+ g++-arm-linux-gnueabihf [!armhf] <!nocheck> | bash-doc <!nocheck>,
+ valgrind [amd64 i386] <!nocheck>,
+ llvm-dev <!nocheck>,
+ libsdl2-dev <!nocheck>,
+# OpenMPI tests do not run under pbuilder and the packages are currently
+# (2020-09-10) broken and uninstallable so disable this.
+ openmpi-bin <!nocheck>,
+# libopenmpi-dev <!nocheck>,
+# Running OpenMPI executables requires openssh. Yes, really.
+ openssh-client <!nocheck>,
+ libvulkan-dev <!nocheck>,
+ libpcap-dev <!nocheck>,
+ libcups2-dev <!nocheck>,
+ gtk-sharp2 <!nocheck>,
+ gtk-sharp2-gapi <!nocheck>,
+ libglib2.0-cil-dev <!nocheck>,
+ libwmf-dev <!nocheck>,
+ git <!nocheck>,
+ mercurial <!nocheck>,
+ gcovr <!nocheck>,
+ lcov <!nocheck>,
+# Disabled temporarily as this has an upstream bug.
+# fpga-icestorm <!nocheck>,
+# arachne-pnr <!nocheck>,
+# yosys <!nocheck>,
+ doxygen <!nocheck>,
+ nasm <!nocheck>,
+ cmake <!nocheck>,
+ clang-format <!nocheck>,
+
+Package: meson
+Architecture: all
+Multi-Arch: foreign
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ ninja-build(>=1.6),
+ python3-pkg-resources,
+ python3-setuptools
+Recommends:
+ dpkg-dev,
+Description: high-productivity build system
+ Meson is a build system designed to increase programmer
+ productivity. It does this by providing a fast, simple and easy to
+ use interface for modern software development tools and practices.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..90844b1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,22 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: meson
+Upstream-Contact: jpakkane@gmail.com
+Source: https://github.com/mesonbuild/meson
+
+Files: *
+Copyright: 2012-2021 The Meson development team
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems the full text of the Apache 2.0 license can be found
+ in /usr/share/common-licenses/Apache-2.0.
diff --git a/debian/debcrossgen b/debian/debcrossgen
new file mode 100755
index 0000000..d9e80d0
--- /dev/null
+++ b/debian/debcrossgen
@@ -0,0 +1,154 @@
+#!/usr/bin/env python3
+
+# Copyright 2017-2023 Jussi Pakkanen
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+import sys, os, subprocess
+
+import argparse
+
+parser = argparse.ArgumentParser(description='''Generate cross compilation definition file for the Meson build system.
+
+If you do not specify the --arch argument, Meson assumes that running
+plain 'dpkg-architecture' will return correct information for the
+host system.
+
+This script must be run in an environment where CPPFLAGS et al are set to the
+same values used in the actual compilation.
+'''
+)
+
+parser.add_argument('--arch', default=None,
+ help='The dpkg architecture to generate.')
+parser.add_argument('--gccsuffix', default="",
+ help='A particular gcc version suffix if necessary.')
+parser.add_argument('-o', required=True, dest='outfile',
+ help='The output file.')
+
+def locate_path(program):
+ if os.path.isabs(program):
+ return program
+ for d in os.get_exec_path():
+ f = os.path.join(d, program)
+ if os.access(f, os.X_OK):
+ return f
+ raise ValueError("%s not found on $PATH" % program)
+
+def write_args_line(ofile, name, args):
+ if len(args) == 0:
+ return
+ ostr = name + ' = ['
+ ostr += ', '.join("'" + i + "'" for i in args)
+ ostr += ']\n'
+ ofile.write(ostr)
+
+def write_args_from_envvars(ofile):
+ import shlex
+ cppflags = shlex.split(os.environ.get('CPPFLAGS', ''))
+ cflags = shlex.split(os.environ.get('CFLAGS', ''))
+ cxxflags = shlex.split(os.environ.get('CXXFLAGS', ''))
+ ldflags = shlex.split(os.environ.get('LDFLAGS', ''))
+
+ c_args = cppflags + cflags
+ cpp_args = cppflags + cxxflags
+ c_link_args = cflags + ldflags
+ cpp_link_args = cxxflags + ldflags
+
+ write_args_line(ofile, 'c_args', c_args)
+ write_args_line(ofile, 'cpp_args', cpp_args)
+ write_args_line(ofile, 'c_link_args', c_link_args)
+ write_args_line(ofile, 'cpp_link_args', cpp_link_args)
+
+cpu_family_map = dict(mips64el="mips64",
+ i686='x86')
+cpu_map = dict(armhf="arm7hlf",
+ mips64el="mips64",
+ powerpc64le="ppc64",
+ )
+
+def run(options):
+ if options.arch is None:
+ cmd = ['dpkg-architecture']
+ else:
+ cmd = ['dpkg-architecture', '-a' + options.arch]
+ output = subprocess.check_output(cmd, universal_newlines=True,
+ stderr=subprocess.DEVNULL)
+ data = {}
+ for line in output.split('\n'):
+ line = line.strip()
+ if line == '':
+ continue
+ k, v = line.split('=', 1)
+ data[k] = v
+ host_arch = data['DEB_HOST_GNU_TYPE']
+ host_os = data['DEB_HOST_ARCH_OS']
+ host_cpu_family = cpu_family_map.get(data['DEB_HOST_GNU_CPU'],
+ data['DEB_HOST_GNU_CPU'])
+ host_cpu = cpu_map.get(data['DEB_HOST_ARCH'],
+ data['DEB_HOST_ARCH'])
+ host_endian = data['DEB_HOST_ARCH_ENDIAN']
+ with open(options.outfile, "w") as ofile:
+ ofile.write('[binaries]\n')
+ c = "%s-gcc%s" % (host_arch, options.gccsuffix)
+ ofile.write("c = '%s'\n" % locate_path(c))
+ cpp = "%s-g++%s" % (host_arch, options.gccsuffix)
+ ofile.write("cpp = '%s'\n" % locate_path(cpp))
+ ofile.write("ar = '%s'\n" % locate_path("%s-ar" % host_arch))
+ ofile.write("strip = '%s'\n" % locate_path("%s-strip" % host_arch))
+ ofile.write("objcopy = '%s'\n" % locate_path("%s-objcopy" % host_arch))
+ ofile.write("ld= '%s'\n" % locate_path("%s-ld" % host_arch))
+ try:
+ ofile.write("pkgconfig = '%s'\n" % locate_path("%s-pkg-config" % host_arch))
+ except ValueError:
+ pass # pkg-config is optional
+ try:
+ ofile.write("cups-config = '%s'\n" % locate_path("cups-config"))
+ except ValueError:
+ pass # cups-config is optional
+ ofile.write('\n[properties]\n')
+ write_args_from_envvars(ofile)
+ ofile.write('\n[host_machine]\n')
+ ofile.write("system = '%s'\n" % host_os)
+ ofile.write("cpu_family = '%s'\n" % host_cpu_family)
+ ofile.write("cpu = '%s'\n" % host_cpu)
+ ofile.write("endian = '%s'\n" % host_endian)
+
+def internal_impl():
+ print('WARNING: this tool is deprecated, use "meson env2mfile" instead.')
+ options = parser.parse_args()
+ run(options)
+ print('Remember to add the correct --libdir arg to Meson invocation.')
+
+def external_impl():
+ print('NOTE: Using Meson env2mfile, you should update build scripts to use that instead.')
+ cmd = ['meson', 'env2mfile', '--cross']
+ had_arch = False
+ for c in sys.argv[1:]:
+ if c.startswith('--arch'):
+ c = c.replace('--arch', '--debarch')
+ had_arch = True
+ cmd.append(c)
+ if not had_arch:
+ cmd.append('--debarch=auto')
+ try:
+ subprocess.check_call(cmd, shell=False)
+ except Exception as e:
+ sys.exit(str(e))
+
+if __name__ == '__main__':
+ revert_to_internal = True
+ if revert_to_internal:
+ internal_impl()
+ else:
+ external_impl()
diff --git a/debian/install b/debian/install
new file mode 100755
index 0000000..880ff0f
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+#!/usr/bin/dh-exec
+meson.py => /usr/bin/meson
+debian/debcrossgen /usr/share/meson
+data/shell-completions/zsh/_meson /usr/share/zsh/vendor-completions
diff --git a/debian/meson.bash-completion b/debian/meson.bash-completion
new file mode 100644
index 0000000..e334948
--- /dev/null
+++ b/debian/meson.bash-completion
@@ -0,0 +1 @@
+data/shell-completions/bash/meson
diff --git a/debian/patches/1-disable-openmpi.patch b/debian/patches/1-disable-openmpi.patch
new file mode 100644
index 0000000..cda883b
--- /dev/null
+++ b/debian/patches/1-disable-openmpi.patch
@@ -0,0 +1,13 @@
+diff --git a/test cases/frameworks/17 mpi/meson.build b/test cases/frameworks/17 mpi/meson.build
+index 75b463cc..7bf4e7ae 100644
+--- a/test cases/frameworks/17 mpi/meson.build
++++ b/test cases/frameworks/17 mpi/meson.build
+@@ -2,6 +2,8 @@ project('mpi', 'c', 'cpp', default_options: ['b_asneeded=false'])
+
+ method = get_option('method')
+
++error('MESON_SKIP_TEST openmpi binaries do not work when run in pbuilder for some reason.')
++
+ cc = meson.get_compiler('c')
+ mpic = dependency('mpi', language : 'c', required : false, method : method)
+ if not mpic.found()
diff --git a/debian/patches/2-disable-rootdir-test.patch b/debian/patches/2-disable-rootdir-test.patch
new file mode 100644
index 0000000..3efb9ee
--- /dev/null
+++ b/debian/patches/2-disable-rootdir-test.patch
@@ -0,0 +1,27 @@
+diff --git a/test cases/common/221 fs module/meson.build b/test cases/common/221 fs module/meson.build
+index a7327682..c5f90bbb 100644
+--- a/test cases/common/220 fs module/meson.build
++++ b/test cases/common/220 fs module/meson.build
+@@ -30,12 +30,16 @@ assert(fs.is_dir('subprojects'), 'Dir not detected correctly.')
+ assert(not fs.is_dir('meson.build'), 'File detected as a dir.')
+ assert(not fs.is_dir('nonexisting'), 'Bad path detected as a dir.')
+
+-assert(fs.is_dir('~'), 'home directory not detected')
+-assert(not fs.is_file('~'), 'home directory detected as file')
+-
+-# -- expanduser
+-assert(fs.expanduser('~') != '~','expanduser failed')
+-assert(fs.expanduser('~/foo').endswith('foo'), 'expanduser with tail failed')
++# These do not work with pbuilder for some reason.
++# I have not been able to replicate this manually,
++# even with 'pbuilder login'.
++#
++#assert(fs.is_dir('~'), 'home directory not detected')
++#assert(not fs.is_file('~'), 'home directory detected as file')
++#
++## -- expanduser
++#assert(fs.expanduser('~') != '~','expanduser failed')
++#assert(fs.expanduser('~/foo').endswith('foo'), 'expanduser with tail failed')
+
+ # -- as_posix
+ assert(fs.as_posix('/') == '/', 'as_posix idempotent')
diff --git a/debian/patches/3-debian-sysconfig-layout.patch b/debian/patches/3-debian-sysconfig-layout.patch
new file mode 100644
index 0000000..5a75a91
--- /dev/null
+++ b/debian/patches/3-debian-sysconfig-layout.patch
@@ -0,0 +1,60 @@
+From 9cea9e351d20d58f447b06baa7bb9a3f5cc40ea4 Mon Sep 17 00:00:00 2001
+From: Stefano Rivera <stefano@rivera.za.net>
+Date: Mon, 19 Dec 2022 19:56:32 -0400
+Subject: [PATCH] Update the Debian Python path detection for setuptools >= 60
+
+Debian now (since Python 3.10.2-6) adds the deb_system scheme to
+sysconfig. Newer distutils (such as bundled with setuptools >= 60) adds
+fetch schemes from sysconfig, rather than duplicating the sysconfig
+schemes statically in distutils.command.install.
+
+This change broke meson's deb_system check.
+
+This patch replaces that mechanism (for newer Debian releases) with
+explicit scheme selection, which is far simpler.
+But it also retains the old mechanism, for older Debian releases that
+require it (Debian <= 11).
+
+Fixes: #8739 (for python module, and makes similar minimal changes to the python3 module)
+
+Fixes: https://bugs.debian.org/1026312
+
+Forwarded: https://github.com/mesonbuild/meson/pull/11211
+---
+ mesonbuild/modules/python.py | 14 +++++++++++---
+ 1 file changed, 11 insertions(+), 3 deletions(-)
+
+diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
+index f74d10e4c..68632af2d 100644
+--- a/mesonbuild/modules/python.py
++++ b/mesonbuild/modules/python.py
+@@ -363,15 +363,23 @@ def get_distutils_paths(scheme=None, prefix=None):
+ # default scheme to a custom one pointing to /usr/local and replacing
+ # site-packages with dist-packages.
+ # See https://github.com/mesonbuild/meson/issues/8739.
+-# XXX: We should be using sysconfig, but Debian only patches distutils.
++# Until version 3.10.2-6, Debian only patched distutils, not sysconfig.
+
+ if 'deb_system' in distutils.command.install.INSTALL_SCHEMES:
++ # Debian systems before setuptools-bundled distutils was used by default
+ paths = get_distutils_paths(scheme='deb_system')
+ install_paths = get_distutils_paths(scheme='deb_system', prefix='')
+ else:
+- paths = sysconfig.get_paths()
++ if 'deb_system' in sysconfig.get_scheme_names():
++ # Use Debian's custom deb_system scheme (with our prefix)
++ scheme = 'deb_system'
++ elif sys.version_info >= (3, 10):
++ scheme = sysconfig.get_default_scheme()
++ else:
++ scheme = sysconfig._get_default_scheme()
++ paths = sysconfig.get_paths(scheme=scheme)
+ empty_vars = {'base': '', 'platbase': '', 'installed_base': ''}
+- install_paths = sysconfig.get_paths(vars=empty_vars)
++ install_paths = sysconfig.get_paths(vars=empty_vars, scheme=scheme)
+
+ def links_against_libpython():
+ from distutils.core import Distribution, Extension
+--
+2.35.1
+
diff --git a/debian/patches/5-fputc.patch b/debian/patches/5-fputc.patch
new file mode 100644
index 0000000..26e9f21
--- /dev/null
+++ b/debian/patches/5-fputc.patch
@@ -0,0 +1,24 @@
+diff --git a/test cases/common/105 generatorcustom/gen.c b/test cases/common/105 generatorcustom/gen.c
+index 59518c0ef..964ae7e9c 100644
+--- a/test cases/common/105 generatorcustom/gen.c
++++ b/test cases/common/105 generatorcustom/gen.c
+@@ -22,9 +22,17 @@ int main(int argc, const char ** argv) {
+ fprintf(output, "#pragma once\n");
+ fprintf(output, "#define ");
+
+- char c;
++ int bytes_copied = 0;
++ int c;
+ while((c = fgetc(input)) != EOF) {
+- fputc(c, output);
++ if(fputc(c, output) == EOF) {
++ fprintf(stderr, "Writing to output file failed.\n");
++ return 1;
++ }
++ if(++bytes_copied > 10000) {
++ fprintf(stderr, "File copy stuck in an eternal loop!\n");
++ return 1;
++ }
+ }
+ fputc('\n', output);
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6bfa825
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,4 @@
+1-disable-openmpi.patch
+2-disable-rootdir-test.patch
+3-debian-sysconfig-layout.patch
+5-fputc.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..38d4334
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+# Print all logging info to stdout so it
+# shows up in build logs.
+export MESON_PRINT_TEST_OUTPUT=1
+
+export QT_SELECT=qt5
+
+# We're not in 1963 anymore, Toto!
+export LC_ALL=C.UTF-8
+
+export PYBUILD_NAME=meson
+
+%:
+ dh $@ --with python3 --buildsystem=pybuild --with bash-completion
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+ ./run_tests.py
+endif
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..0ea3e45
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,5 @@
+# We build a Python extension module in the test suite
+# but never install it.
+meson source: build-depends-on-python-dev-with-no-arch-any
+# This is only used for cross compilation unit tests.
+meson source: virtual-package-depends-without-real-package-depends
diff --git a/debian/tests/basicmeson b/debian/tests/basicmeson
new file mode 100755
index 0000000..1dd3a7f
--- /dev/null
+++ b/debian/tests/basicmeson
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -eu
+
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+cd $WORKDIR
+cat <<EOF > meson.build
+project('debian package test', 'c')
+e = executable('prog', 'prog.c')
+test('debtest', e)
+EOF
+cat <<EOF > prog.c
+int main(int argc, char **argv) {
+ return 0;
+}
+EOF
+mkdir build
+CC=gcc meson build
+cd build
+ninja test
+# Test that conf tools and build regeneration works.
+meson introspect . --tests > /dev/null
+meson configure -Dbuildtype=debugoptimized
+ninja test
diff --git a/debian/tests/clangmeson b/debian/tests/clangmeson
new file mode 100755
index 0000000..a5f1348
--- /dev/null
+++ b/debian/tests/clangmeson
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -eu
+
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+cd $WORKDIR
+cat <<EOF > meson.build
+project('debian clang package test', 'c')
+e = executable('prog', 'prog.c')
+test('debtest', e)
+EOF
+cat <<EOF > prog.c
+int main(int argc, char **argv) {
+ return 0;
+}
+EOF
+mkdir build
+CC=clang meson build
+ninja -C build test
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..9d5c596
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,16 @@
+Tests: basicmeson
+Depends: meson, g++
+
+Tests: clangmeson
+Depends: meson, clang
+
+# At the time of writing the packaging machinery does not put @builddeps@ into
+# autopkg deps. The tests are only automatically run when packages explicitly
+# listed as Depends are uploaded. List a few major ones to make sure those
+# tests are run and thus block broken uploads.
+Tests: exhaustive
+Depends: meson, @builddeps@, valac, rustc, ldc [!s390x !ppc64el]
+
+Tests: crossbuild
+Depends: meson, g++, g++-arm-linux-gnueabihf
+Restrictions: skip-not-installable
diff --git a/debian/tests/crossbuild b/debian/tests/crossbuild
new file mode 100755
index 0000000..e2796b6
--- /dev/null
+++ b/debian/tests/crossbuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+cd "${AUTOPKGTEST_TMP:-/tmp}"
+mkdir testproject
+cd testproject
+cat >meson.build <<EOF
+project('crosstest', 'c')
+executable('demo', 'main.c')
+EOF
+cat >main.c <<EOF
+#include<stdio.h>
+int main(int argc, char **argv) {
+ printf("Hello there.\n");
+ return 0;
+}
+EOF
+mkdir build
+cd build
+/usr/share/meson/debcrossgen --arch armhf -o cross-file.txt
+meson --cross-file cross-file.txt ..
+ninja
diff --git a/debian/tests/exhaustive b/debian/tests/exhaustive
new file mode 100755
index 0000000..541ff2a
--- /dev/null
+++ b/debian/tests/exhaustive
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# Autopkgtests will raise an error if any
+# text is written to stderr by the test.
+#
+# This is stupid, because many test frameworks
+# such as Python's unittest, write status
+# information to stderr. The only thing we can
+# do is to forward it all to stdout, since
+# the test runner will return a non zero
+# exit code if any actual errors happened.
+MESON_EXE=/usr/bin/meson ./run_tests.py 2>&1
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..afd1ffe
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,8 @@
+Bug-Database: https://github.com/mesonbuild/meson/issues
+Documentation: https://mesonbuild.com
+FAQ: https://mesonbuild.com/FAQ.html
+Registry:
+ - Name: PyPI
+ Entry: meson
+Repository: https://github.com/mesonbuild/meson.git
+Repository-Browse: https://github.com/mesonbuild/meson
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644
index 0000000..2223013
--- /dev/null
+++ b/debian/upstream/signing-key.asc
@@ -0,0 +1,102 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1
+
+mQINBE2yi3MBEAC6UrOhoJHxBIap8eGT/ZNSSwvmAqX9hjoE6oOptwKFWkXDRIXr
+2p5uVTCmiRmlo3y7ikBr0uim/eJDurtghhsqQsODhlSry7rBOqB9eTK9eh1MM+QO
+wVtlC2a+OzBhWIuBAoVCRWDK7v0hvJNtN5MHcoX1XJXHkClH2XGad3VvRH4IZmYT
+stxOz3o91WJ/1pwy5bm1vUYmtdWWu1oBIw2Xqe2AySc9yoL1i2c+QiYKXIaS6QjS
+ZzByxg1LVN/Z3QnssaV8ELX8iw/gJKiCTurTAOzYgsopbYEIN27hbE8yXkESvfZs
+FSbhrpD1XxYz8gzvCyHumXuGs8l7ZGsucBquGBjE+bBks5FyMsPtHG+KvNGxu1+o
+LQxpMMSIbGhOHvVV0YeR5WQONl1Mvccq0O+yvk1HURX+oB7qkHCTzmhZigkMjfFo
+dyodvGLcM0YgyCrcjL8VbKsbFTrN49z4McMgeINrZnjQ/tzYuiTkY+AEbisp8FBZ
+QApcHyAYfSC0e1awYJIOct4LbTyDlQvWjO5gKsPWbLaGu4XinnPEMP9Eu2oykuuk
+3mjmY66QIZN0qXQy9/Rsj/G7U8deqpLW19QE7adVMn0Soucjo5IBLbD7MHfhWzzO
+y6BqDRwZ4clinndRyEatgNPObv1t7vXeV1MQDjbJfIR1E17oLthnjA8SKwARAQAB
+tCpKdXNzaSBQYWtrYW5lbiA8anVzc2kucGFra2FuZW5AdWJ1bnR1LmNvbT6JAj4E
+EwECACgFAk55n4QCGwMFCRLMAwAGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJ
+EDv0aTv+65Qoj/gP/1wIA4cnCefdCqfJuddhjgkhRTL975sykGPW7gVKbku8niFj
+0Q2i8cC66gS32TSAd1thB9YUbQQsp+w/5Y7HJ07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
+cjaUkwNEwPvTEtq3fjwKoisLbg==
+=EE8x
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f126156
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version = 4
+
+opts=pgpsigurlmangle=s/$/.asc/ https://github.com/mesonbuild/meson/releases \
+ (?:.*/)meson.(\d[\d\.]*)\.tar\.gz