[neon/backports-jammy/libsignon-glib/Neon/unstable] debian: switch to meson

Pino Toscano null at kde.org
Thu Jun 22 01:30:35 BST 2023


Git commit 0f48a3f0b187e4f4bdb7078abac02a1b236df9b8 by Pino Toscano.
Committed on 31/12/2020 at 14:05.
Pushed by carlosdem into branch 'Neon/unstable'.

switch to meson

M  +7    -0    debian/changelog
M  +2    -0    debian/control
M  +2    -11   debian/rules

https://invent.kde.org/neon/backports-jammy/libsignon-glib/-/commit/0f48a3f0b187e4f4bdb7078abac02a1b236df9b8

diff --git a/debian/changelog b/debian/changelog
index 9f16725..cd82bbc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,13 @@ libsignon-glib (2.1-0r1) UNRELEASED; urgency=medium
     - signon-dbus-specification-interfaces.diff: drop, the files are shipped
       now
     - fix-gtkdoc-comments.diff: drop, fixed upstream
+  * Upstream switched buildsystem to meson, so:
+    - add the meson, and python3-gi build dependencies
+    - pass -Dtests=false to meson to keep the tests disabled for now
+    - pass -Ddocumentation=false to meson to continue not building the
+      documentation for now
+    - drop the custom autoreconf, and clean steps
+    - drop removal of the libtool .la file, as it does not exist anymore
 
  -- Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 31 Dec 2020 14:37:44 +0100
 
diff --git a/debian/control b/debian/control
index f644530..2f1b0ae 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,9 @@ Build-Depends: debhelper-compat (= 13),
                gobject-introspection,
                libgirepository1.0-dev,
                libglib2.0-dev (>= 2.36~),
+               meson,
                pkg-config,
+               python3-gi,
                valac,
 Standards-Version: 4.5.1
 Rules-Requires-Root: no
diff --git a/debian/rules b/debian/rules
index 04e42df..fb00463 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,17 +9,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
 	dh $@ --with gir
 
-override_dh_autoreconf:
-	gtkdocize
-	NOCONFIGURE=1 dh_autoreconf ./autogen.sh
-
-override_dh_install:
-	rm debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/libsignon-glib.la
-	dh_install
+override_dh_auto_configure:
+	dh_auto_configure -- -Dtests=false -Ddocumentation=false
 
 override_dh_strip:
 	dh_strip --dbgsym-migration='libsignon-glib-dbg (<< 1.15-1~)'
-
-override_dh_clean:
-	[ ! -f Makefile ] || $(MAKE) distclean
-	dh_clean



More information about the Neon-commits mailing list