Jeremy Bícha pushed to branch debian-unstable at X Strike Force / lib / libei


Commits:
0d9d7cbd by Helmut Grohne at 2026-01-03T08:51:54-05:00
Improve cross building

- Drop unused black dependency
- Support skipping tests
- Annotate jinja dependency :native

Closes: #1124485

Gbp-Dch: Full

- - - - -
65ca80f7 by Jeremy Bícha at 2026-01-03T08:52:03-05:00
Simplify debian/rules a bit

- - - - -
635496ac by Jeremy Bícha at 2026-01-03T08:52:05-05:00
Bump Standards Version to 4.7.3

- - - - -
8908454b by Jeremy Bícha at 2026-01-03T08:52:34-05:00
releasing package libei version 1.5.0-3

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+libei (1.5.0-3) unstable; urgency=medium
+
+  [ Helmut Grohne ]
+  * Improve cross building (Closes: #1124485)
+    - Remove unused black dependency
+    - Support skipping tests
+    - Annotate jinja dependency :native
+
+  [ Jeremy Bícha ]
+  * Bump Standards Version to 4.7.3
+
+ -- Jeremy Bícha <[email protected]>  Sat, 03 Jan 2026 08:52:10 -0500
+
 libei (1.5.0-2) unstable; urgency=medium
 
   * debian/watch: convert to Version: 5


=====================================
debian/control
=====================================
@@ -1,23 +1,21 @@
 Source: libei
 Section: x11
-Priority: optional
 Maintainer: Debian X Strike Force <[email protected]>
 Uploaders: Jeremy Bícha <[email protected]>
 Build-Depends:
  debhelper-compat (= 13),
- black,
  libevdev-dev,
  libsystemd-dev,
  libxkbcommon-dev,
  meson,
  pkgconf,
- python3-attr,
- python3-dbusmock,
- python3-jinja2,
- python3-pytest,
- python3-structlog,
- python3-yaml
-Standards-Version: 4.7.2
+ python3-attr <!nocheck> <!noinsttest>,
+ python3-dbusmock <!nocheck> <!noinsttest>,
+ python3-jinja2:native,
+ python3-pytest <!nocheck> <!noinsttest>,
+ python3-structlog <!nocheck> <!noinsttest>,
+ python3-yaml <!nocheck> <!noinsttest>
+Standards-Version: 4.7.3
 Homepage: https://gitlab.freedesktop.org/libinput/libei
 Vcs-Git: https://salsa.debian.org/xorg-team/lib/libei.git
 Vcs-Browser: https://salsa.debian.org/xorg-team/lib/libei
@@ -124,6 +122,7 @@ Description: RemoteDesktop portal DBus helper library 
(development headers)
 
 Package: libei-tests
 Architecture: any
+Build-Profiles: <!noinsttest>
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}


=====================================
debian/rules
=====================================
@@ -4,7 +4,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
 export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
 
-built_binaries := $(shell dh_listpackages)
+ifneq (,$(filter nocheck,$(DEB_BUILD_PROFILES) $(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter noinsttest,$(DEB_BUILD_PROFILES)))
+TESTS = -Dtests=disabled
+endif
+endif
 
 %:
        dh $@
@@ -12,15 +16,16 @@ built_binaries := $(shell dh_listpackages)
 override_dh_auto_clean:
        rm -f subprojects/munit
 
-override_dh_auto_test:
-       dh_auto_test -- \
-               --timeout-multiplier 2
-
 override_dh_auto_configure:
        ln -s ../munit subprojects/
        dh_auto_configure -- \
                -Dauto_features=enabled \
-               -Dsd-bus-provider=libsystemd
+               -Dsd-bus-provider=libsystemd \
+               $(TESTS)
+
+override_dh_auto_test:
+       dh_auto_test -- \
+               --timeout-multiplier 2
 
 override_dh_missing:
        dh_missing -Xusr/bin/ei-debug-events
@@ -28,6 +33,6 @@ override_dh_missing:
 # debhelper >= 13.4 makes all of /usr/libexec executable, which is not
 # quite right for installed-tests
 execute_after_dh_fixperms:
-ifneq ($(filter %-tests,$(built_binaries)),)
+ifneq ($(filter %-tests,$(shell dh_listpackages)),)
        chmod --changes a+r,a-x,u+w,og-w debian/*-tests/usr/libexec/libei/*.so
 endif



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/libei/-/compare/1bf25c5b37d25d07d9f80ddaf811b3bf4212c5c0...8908454b4048585b02290aab6cef33f48dd78ada

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/libei/-/compare/1bf25c5b37d25d07d9f80ddaf811b3bf4212c5c0...8908454b4048585b02290aab6cef33f48dd78ada
You're receiving this email because of your account on salsa.debian.org.


Reply via email to