Bug#926059: libgudev: please include a udeb, needed for libinput support in d-i

Cyril Brulebois kibi at debian.org
Sun Mar 31 02:29:10 BST 2019


Source: libgudev
Version: 232-2
Severity: important
Tags: d-i

Hi,

While this is very late in the release cycle to request a new binary,
the installer team (and you!) might get a free pass on this one. A while
ago, I've tested this successfully on stretch, and I've just refreshed
this on top of sid; tested on some Dell Latitude laptop.

The attached patch (against current git) adds the needed udeb so that
libwacom2 can be rebuilt against the patched libgudev, fixing the buggy
dependencies in the libwacom2-udeb package (see #815717).

Thanks for considering!


And thanks to Mozilla for hosting this BSP.


>From Paris with bugs,
-- 
Cyril Brulebois (kibi at debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
-------------- next part --------------
>From b37f75201fc578feb6e3ce674c01560b28cac21a Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <kibi at debian.org>
Date: Thu, 10 Aug 2017 21:21:28 +0000
Subject: [PATCH] Add libgudev-1.0-0-udeb udeb.

It is needed by libwacom2-udeb in a Debian Installer context, for the
libinput X driver.
---
 debian/changelog                   |  7 +++++++
 debian/control                     | 10 ++++++++++
 debian/control.in                  | 10 ++++++++++
 debian/libgudev-1.0-0-udeb.install |  1 +
 debian/rules                       |  2 +-
 5 files changed, 29 insertions(+), 1 deletion(-)
 create mode 100644 debian/libgudev-1.0-0-udeb.install

diff --git a/debian/changelog b/debian/changelog
index 89b151a..a4f524b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libgudev (232-3) UNRELEASED; urgency=medium
+
+  * Add libgudev-1.0-0-udeb, needed by libwacom2-udeb in a Debian
+    Installer context, for the libinput X driver.
+
+ -- Cyril Brulebois <kibi at debian.org>  Thu, 10 Aug 2017 21:13:43 +0000
+
 libgudev (232-2) unstable; urgency=medium
 
   * Update Vcs fields and debian/gbp.conf for Debian GNOME conventions
diff --git a/debian/control b/debian/control
index 80faef8..390b61c 100644
--- a/debian/control
+++ b/debian/control
@@ -35,6 +35,16 @@ Description: GObject-based wrapper library for libudev
  programming languages, such as Javascript, because of GObject introspection
  support.
 
+Package: libgudev-1.0-0-udeb
+Section: debian-installer
+Priority: optional
+Architecture: linux-any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Package-Type: udeb
+Description: GObject-based wrapper library for libudev -- udeb
+ This is a udeb version of libgudev-1.0-0
+
 Package: gir1.2-gudev-1.0
 Section: introspection
 Priority: optional
diff --git a/debian/control.in b/debian/control.in
index 3d2dc02..7aa0f73 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -30,6 +30,16 @@ Description: GObject-based wrapper library for libudev
  programming languages, such as Javascript, because of GObject introspection
  support.
 
+Package: libgudev-1.0-0-udeb
+Section: debian-installer
+Priority: optional
+Architecture: linux-any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Package-Type: udeb
+Description: GObject-based wrapper library for libudev -- udeb
+ This is a udeb version of libgudev-1.0-0
+
 Package: gir1.2-gudev-1.0
 Section: introspection
 Architecture: linux-any
diff --git a/debian/libgudev-1.0-0-udeb.install b/debian/libgudev-1.0-0-udeb.install
new file mode 100644
index 0000000..9ba9c91
--- /dev/null
+++ b/debian/libgudev-1.0-0-udeb.install
@@ -0,0 +1 @@
+usr/lib/*/libgudev*.so.* usr/lib
diff --git a/debian/rules b/debian/rules
index ae2265f..aef3e8d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,7 +34,7 @@ override_dh_missing:
 	dh_missing --fail-missing
 
 override_dh_makeshlibs:
-	dh_makeshlibs -- -c4
+	dh_makeshlibs -V --add-udeb=libgudev-1.0-0-udeb -- -c4
 
 override_dh_gencontrol:
 	# Ubuntu has an epoch on gudev
-- 
2.11.0



More information about the pkg-gnome-maintainers mailing list