Control: tags 1135493 + patch
Control: tags 1135493 + pending

Dear maintainer,

I've prepared an NMU for xraylib (versioned as 4.2.1+dfsg-2.1) and 
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian
diffstat for xraylib-4.2.1+dfsg xraylib-4.2.1+dfsg

 changelog                        |    7 +++++++
 patches/0001-Fix-meson-bug.patch |   34 ++++++++++++++++++++++++++++++++++
 patches/series                   |    1 +
 3 files changed, 42 insertions(+)

diff -Nru xraylib-4.2.1+dfsg/debian/changelog xraylib-4.2.1+dfsg/debian/changelog
--- xraylib-4.2.1+dfsg/debian/changelog	2026-01-19 03:17:17.000000000 +0200
+++ xraylib-4.2.1+dfsg/debian/changelog	2026-06-15 14:39:05.000000000 +0300
@@ -1,3 +1,10 @@
+xraylib (4.2.1+dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with meson 1.11.1. (Closes: #1135493)
+
+ -- Adrian Bunk <[email protected]>  Mon, 15 Jun 2026 14:39:05 +0300
+
 xraylib (4.2.1+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru xraylib-4.2.1+dfsg/debian/patches/0001-Fix-meson-bug.patch xraylib-4.2.1+dfsg/debian/patches/0001-Fix-meson-bug.patch
--- xraylib-4.2.1+dfsg/debian/patches/0001-Fix-meson-bug.patch	1970-01-01 02:00:00.000000000 +0200
+++ xraylib-4.2.1+dfsg/debian/patches/0001-Fix-meson-bug.patch	2026-06-15 14:35:27.000000000 +0300
@@ -0,0 +1,34 @@
+From 6503f0633b208c1e717a340bce589b5c696b454f Mon Sep 17 00:00:00 2001
+From: Tom Schoonjans <[email protected]>
+Date: Sat, 6 Jun 2026 21:45:23 +0100
+Subject: Fix meson bug
+
+---
+ python/meson.build | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/python/meson.build b/python/meson.build
+index 04f37aa..131f330 100644
+--- a/python/meson.build
++++ b/python/meson.build
+@@ -54,7 +54,7 @@ if swig.found()
+         install: true,
+         install_dir: python.get_install_dir(pure: false),
+         c_args: core_c_args + ['-I' + numpy_header_location] + python_error_flags,
+-        install_tag: ['python-runtime']
++        install_tag: 'python-runtime'
+     )
+     python_enabled = true
+ endif
+@@ -86,7 +86,7 @@ if cython.found()
+         install: true,
+         install_dir: python.get_install_dir(pure: false),
+         c_args: core_c_args + ['-I' + numpy_header_location] + python_error_flags,
+-        install_tag: ['python-runtime'],
++        install_tag: 'python-runtime',
+     )
+     python_numpy_enabled = true
+ endif
+-- 
+2.47.3
+
diff -Nru xraylib-4.2.1+dfsg/debian/patches/series xraylib-4.2.1+dfsg/debian/patches/series
--- xraylib-4.2.1+dfsg/debian/patches/series	2026-01-19 03:17:17.000000000 +0200
+++ xraylib-4.2.1+dfsg/debian/patches/series	2026-06-15 14:38:18.000000000 +0300
@@ -1,2 +1,3 @@
 0001-Add-back-option-to-select-correct-python-interpreter.patch
 0002-Explicitly-use-int64-to-fix-test-failures-on-32-bit-.patch
+0001-Fix-meson-bug.patch

Reply via email to