Skip to content

Commit

Permalink
debian: Amend rules file
Browse files Browse the repository at this point in the history
- Migrate to dh-sequence-gir and dh-sequence-python3.
- Drop libxapp-dbg in favour of automatically built *-dbgsym packages.
  • Loading branch information
uhle committed Nov 22, 2022
1 parent 43add0a commit 024087f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
13 changes: 2 additions & 11 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Priority: optional
Maintainer: Clement Lefebvre <[email protected]>
Build-Depends:
debhelper-compat (= 12),
dh-python,
dh-sequence-gir,
dh-sequence-python3,
dpkg-dev (>= 1.15.1),
gobject-introspection (>= 0.10.2-1~),
gtk-doc-tools (>= 1.4),
Expand Down Expand Up @@ -35,16 +36,6 @@ Depends:
Description: Introspection data for XApp
This package contains the introspection data for XApp.

Package: libxapp-dbg
Section: debug
Priority: extra
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: libxapp1 (= ${binary:Version}), ${misc:Depends}
Description: XApp library - debug symbols
This package contains the symbols files needed to debug the XApp library.

Package: libxapp-dev
Section: libdevel
Architecture: any
Expand Down
4 changes: 2 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,now

%:
dh $@ --with=gir,python3
dh $@

override_dh_auto_configure:
dh_auto_configure -- \
Expand All @@ -13,4 +13,4 @@ override_dh_auto_configure:
--buildtype=debugoptimized

override_dh_strip:
dh_strip --dbg-package=libxapp-dbg
dh_strip --dbgsym-migration="libxapp-dbg (<< 2.4.2~)"

0 comments on commit 024087f

Please sign in to comment.