Hi Julien, On Thu, 5 Jun 2014 22:53:34 +0200, Julien Cristau <[email protected]> wrote: > recent versions of xf86-input-evdev require libevdev, which means we're > going to need a libevdev2-udeb package to include in debian-installer > builds. I can prepare a patch if needed, just let me know.
This is new territory for me... Could you take a look at the attached patch and see if it does the right thing? In particular I'm not sure if the "Provides: libevdev2" is required given that the shlibs file is generated with the added udeb line. Thanks, Stephen
diff --git a/debian/control b/debian/control
index 6228b5b..f81451a 100644
--- a/debian/control
+++ b/debian/control
@@ -45,6 +45,25 @@ Description: wrapper library for evdev devices
This package contains the files required to run software using
libevdev.
+Package: libevdev2-udeb
+Package-Type: udeb
+Architecture: linux-any
+Section: debian-installer
+Provides:
+ libevdev2
+Pre-Depends:
+ ${misc:Pre-Depends}
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: wrapper library for evdev devices - udeb
+ libevdev is a wrapper library for evdev devices. It provides
+ functions covering the common tasks when dealing with evdev devices,
+ thus avoiding erroneous ioctls and other errors.
+ .
+ This package contains the files required for the Debian Installer.
+ Do not install it on a normal system.
+
Package: libevdev-tools
Section: utils
Architecture: linux-any
diff --git a/debian/libevdev2-udeb.install b/debian/libevdev2-udeb.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libevdev2-udeb.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/rules b/debian/rules
index d5ed1e4..eabe135 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,3 +21,6 @@ override_dh_auto_configure:
override_dh_gencontrol:
dh_gencontrol -- -Vdoxygen:Version=$(doxygen_version)
+
+override_dh_makeshlibs:
+ dh_makeshlibs --add-udeb=libevdev2-udeb
signature.asc
Description: PGP signature

