Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1280279

Bug#1119105: transmission-remote-gtk: Please don't build-depend on appstream-util (use appstream instead)

From Petter Reinholdtsen <pere@hungry.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1119105: transmission-remote-gtk: Please don't build-depend on appstream-util (use appstream instead)
Date 2026-01-31 10:10 +0100
Message-ID <Mjf9n-eFm2-3@gated-at.bofh.it> (permalink)
References <LKiY9-8dul-15@gated-at.bofh.it> <LKiY9-8dul-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Control: tags -1 + patch

Here is a proposed debian/patches/1020-appstreamcli.patch solving the problem,
alongside a patch for d/control:

debian/patches/1020-appstreamcli.patch:

Description: Switch appstream metadata check to use appstreamcli.
 The appstream-util tool is intended for removal from Debian, while
 appstreamcli is maintained both upstream and in Debian.
Author: Petter Reinholdtsen <pere@hungry.com>
Bug-Debian: https://bugs.debian.org/1119105
Forwarded: no

diff --git a/data/meson.build b/data/meson.build
index 68412a7..e78c744 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -35,8 +35,8 @@ appdata_file = i18n.merge_file(input: '@0@.appdata.xml.in'.format(app_id),
                                install_dir: datadir / 'metainfo',
                                po_dir: po_dir)
 
-appstream_util = find_program('appstream-util', required: false)
-if appstream_util.found()
-  test('Validate appdata.xml', appstream_util, args: ['--nonet', 'validate-relax', appdata_file])
+appstreamcli = find_program('appstreamcli', required: false)
+if appstreamcli.found()
+  test('Validate appdata.xml', appstreamcli, args: ['validate', appdata_file])
 endif
 


diff --git a/debian/control b/debian/control
index c1d9368..8f800a9 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Build-Depends: debhelper-compat (= 13),
-               appstream-util (>= 0.7.2),
+               appstream,
                gettext (>= 0.19.6),
                libappstream-glib-dev,
                libcurl4-openssl-dev | libcurl-ssl-dev,

-- 
Happy hacking
Petter Reinholdtsen

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1119105: transmission-remote-gtk: Please don't build-depend on appstream-util (use appstream instead) Petter Reinholdtsen <pere@hungry.com> - 2026-01-31 10:10 +0100

csiph-web