[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/gtherm][debian/sid] 6 commits: d/control: Use ${gir:Depends} for -dev package

Guido Günther (@agx) gitlab at salsa.debian.org
Wed Aug 19 21:17:34 BST 2026



Guido Günther pushed to branch debian/sid at Debian On Mobile / gtherm


Commits:
02fcef23 by Simon McVittie at 2026-08-18T20:19:41+01:00
d/control: Use ${gir:Depends} for -dev package

This avoids needing to hard-code the name of the typelib, and also
adds dependencies on the packages containing required GIR XML.

- - - - -
1d716b70 by Simon McVittie at 2026-08-18T20:20:15+01:00
d/control: Use ${gir:Provides} in -dev package

This adds the systematic virtual package name gir1.2-gtherm-0.0-dev
for the provided GIR XML.

- - - - -
c55fbf52 by Simon McVittie at 2026-08-18T23:26:32+01:00
d/control: Build-Depend on required GIR XML

As diagnosed by build-time warnings from dh_girepository.

- - - - -
6b908057 by Simon McVittie at 2026-08-18T23:27:21+01:00
d/control: Replace deprecated libgirepository1.0-dev B-D

Closes: #1118838

- - - - -
5c9a6168 by Simon McVittie at 2026-08-18T23:28:39+01:00
d/control, d/tests: Depend on pkgconf instead of pkg-config

- - - - -
9473108d by Guido Günther at 2026-08-19T20:17:32+00:00
Merge branch 'wip/smcv/gir' into 'debian/sid'

Improve GObject-Introspection handling

See merge request DebianOnMobile-team/gtherm!3
- - - - -


3 changed files:

- debian/control
- debian/tests/build-test
- debian/tests/control


Changes:

=====================================
debian/control
=====================================
@@ -7,11 +7,12 @@ Uploaders:
 Build-Depends:
  debhelper-compat (= 13),
  dh-sequence-gir,
+ gir1.2-gio-2.0-dev,
+ gobject-introspection (>= 1.80),
  gtk-doc-tools,
- libgirepository1.0-dev,
  libglib2.0-dev,
  meson,
- pkg-config,
+ pkgconf,
  valac,
 Standards-Version: 4.6.0
 Homepage: https://source.puri.sm/Librem5/gtherm
@@ -48,11 +49,13 @@ Package: libgtherm-dev
 Architecture: any
 Section: libdevel
 Depends:
- gir1.2-gtherm-0.0 (= ${binary:Version}),
  libglib2.0-dev,
  libgtherm-0.0-0 (= ${binary:Version}),
+ ${gir:Depends},
  ${misc:Depends},
  ${shlibs:Depends},
+Provides:
+ ${gir:Provides},
 Description: DBus service to monitor thermal information - development files
  GThd is a DBus activated daemon that provides information
  about thermal zones, cooling cells and trip points.


=====================================
debian/tests/build-test
=====================================
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
-CFLAGS=$(shell pkg-config --cflags libgtherm-0.0)
-LIBS=$(shell pkg-config --libs libgtherm-0.0)
+CFLAGS=$(shell pkgconf --cflags libgtherm-0.0)
+LIBS=$(shell pkgconf --libs libgtherm-0.0)
 
 a.out: debian/tests/build-test.c
 	gcc $(CFLAGS) $< $(LIBS)


=====================================
debian/tests/control
=====================================
@@ -2,7 +2,7 @@ Tests: build-test
 Depends:
  build-essential,
  libgtherm-dev,
- pkg-config,
+ pkgconf,
 Restrictions: allow-stderr
 
 Test-Command: dbus-run-session examples/example.py



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/gtherm/-/compare/f3f6e98421aa7bf33f20dae21ce49a5273a8cdcc...9473108d8d83a0c3f650d8de397ba3fa3ffa0c86

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/gtherm/-/compare/f3f6e98421aa7bf33f20dae21ce49a5273a8cdcc...9473108d8d83a0c3f650d8de397ba3fa3ffa0c86
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20260819/2f4fb620/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list