[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/libei][debian-unstable] 4 commits: Improve cross building



Title: GitLab

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:

Changes:

  • debian/changelog
    1
    +libei (1.5.0-3) unstable; urgency=medium
    
    2
    +
    
    3
    +  [ Helmut Grohne ]
    
    4
    +  * Improve cross building (Closes: #1124485)
    
    5
    +    - Remove unused black dependency
    
    6
    +    - Support skipping tests
    
    7
    +    - Annotate jinja dependency :native
    
    8
    +
    
    9
    +  [ Jeremy Bícha ]
    
    10
    +  * Bump Standards Version to 4.7.3
    
    11
    +
    
    12
    + -- Jeremy Bícha <jbicha@ubuntu.com>  Sat, 03 Jan 2026 08:52:10 -0500
    
    13
    +
    
    1 14
     libei (1.5.0-2) unstable; urgency=medium
    
    2 15
     
    
    3 16
       * debian/watch: convert to Version: 5
    

  • debian/control
    1 1
     Source: libei
    
    2 2
     Section: x11
    
    3
    -Priority: optional
    
    4 3
     Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
    
    5 4
     Uploaders: Jeremy Bícha <jbicha@ubuntu.com>
    
    6 5
     Build-Depends:
    
    7 6
      debhelper-compat (= 13),
    
    8
    - black,
    
    9 7
      libevdev-dev,
    
    10 8
      libsystemd-dev,
    
    11 9
      libxkbcommon-dev,
    
    12 10
      meson,
    
    13 11
      pkgconf,
    
    14
    - python3-attr,
    
    15
    - python3-dbusmock,
    
    16
    - python3-jinja2,
    
    17
    - python3-pytest,
    
    18
    - python3-structlog,
    
    19
    - python3-yaml
    
    20
    -Standards-Version: 4.7.2
    
    12
    + python3-attr <!nocheck> <!noinsttest>,
    
    13
    + python3-dbusmock <!nocheck> <!noinsttest>,
    
    14
    + python3-jinja2:native,
    
    15
    + python3-pytest <!nocheck> <!noinsttest>,
    
    16
    + python3-structlog <!nocheck> <!noinsttest>,
    
    17
    + python3-yaml <!nocheck> <!noinsttest>
    
    18
    +Standards-Version: 4.7.3
    
    21 19
     Homepage: https://gitlab.freedesktop.org/libinput/libei
    
    22 20
     Vcs-Git: https://salsa.debian.org/xorg-team/lib/libei.git
    
    23 21
     Vcs-Browser: https://salsa.debian.org/xorg-team/lib/libei
    
    ... ... @@ -124,6 +122,7 @@ Description: RemoteDesktop portal DBus helper library (development headers)
    124 122
     
    
    125 123
     Package: libei-tests
    
    126 124
     Architecture: any
    
    125
    +Build-Profiles: <!noinsttest>
    
    127 126
     Depends:
    
    128 127
      ${misc:Depends},
    
    129 128
      ${shlibs:Depends}
    

  • debian/rules
    ... ... @@ -4,7 +4,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
    4 4
     export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
    
    5 5
     export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
    
    6 6
     
    
    7
    -built_binaries := $(shell dh_listpackages)
    
    7
    +ifneq (,$(filter nocheck,$(DEB_BUILD_PROFILES) $(DEB_BUILD_OPTIONS)))
    
    8
    +ifneq (,$(filter noinsttest,$(DEB_BUILD_PROFILES)))
    
    9
    +TESTS = -Dtests=disabled
    
    10
    +endif
    
    11
    +endif
    
    8 12
     
    
    9 13
     %:
    
    10 14
     	dh $@
    
    ... ... @@ -12,15 +16,16 @@ built_binaries := $(shell dh_listpackages)
    12 16
     override_dh_auto_clean:
    
    13 17
     	rm -f subprojects/munit
    
    14 18
     
    
    15
    -override_dh_auto_test:
    
    16
    -	dh_auto_test -- \
    
    17
    -		--timeout-multiplier 2
    
    18
    -
    
    19 19
     override_dh_auto_configure:
    
    20 20
     	ln -s ../munit subprojects/
    
    21 21
     	dh_auto_configure -- \
    
    22 22
     		-Dauto_features=enabled \
    
    23
    -		-Dsd-bus-provider=libsystemd
    
    23
    +		-Dsd-bus-provider=libsystemd \
    
    24
    +		$(TESTS)
    
    25
    +
    
    26
    +override_dh_auto_test:
    
    27
    +	dh_auto_test -- \
    
    28
    +		--timeout-multiplier 2
    
    24 29
     
    
    25 30
     override_dh_missing:
    
    26 31
     	dh_missing -Xusr/bin/ei-debug-events
    
    ... ... @@ -28,6 +33,6 @@ override_dh_missing:
    28 33
     # debhelper >= 13.4 makes all of /usr/libexec executable, which is not
    
    29 34
     # quite right for installed-tests
    
    30 35
     execute_after_dh_fixperms:
    
    31
    -ifneq ($(filter %-tests,$(built_binaries)),)
    
    36
    +ifneq ($(filter %-tests,$(shell dh_listpackages)),)
    
    32 37
     	chmod --changes a+r,a-x,u+w,og-w debian/*-tests/usr/libexec/libei/*.so
    
    33 38
     endif


  • Reply to: