Control: tags -1 +patch

Patch attached.

Thank you,
Jeremy Bícha
From 73f9c797f8d47f8ca8def3e2410582c9786ce7c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jeremy=20B=C3=ADcha?= <jeremy.bi...@canonical.com>
Date: Mon, 18 Nov 2024 11:29:29 -0500
Subject: [PATCH] Remove unnecessary complicated handling of glib dependency

Closes: #1087778
---
 debian/control | 6 ++----
 debian/rules   | 5 -----
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index 1ee1242..e480ec7 100644
--- a/debian/control
+++ b/debian/control
@@ -27,8 +27,7 @@ Vcs-Browser: https://github.com/ukui/qt5-ukui-platformtheme
 
 Package: qt5-ukui-platformtheme
 Architecture: any
-Depends: ${lib:Depends},
-         ${misc:Depends},
+Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: Qt5 QPA platform theme of UKUI
  qt5-ukui-platformtheme is official platform theme of UKUI desktop
@@ -56,8 +55,7 @@ Description: QStyle plugins provided by ukui
 
 Package: libqt5-ukui-style1
 Architecture: any
-Depends: ${lib:Depends},
-         ${misc:Depends},
+Depends: ${misc:Depends},
          ${shlibs:Depends}
 Provides: libqt5-ukui-style
 Description: UKUI platform theme and styles' shared library
diff --git a/debian/rules b/debian/rules
index d7f1605..5a45fe2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,3 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
 	dh $@ --with pkgkde_symbolshelper
-
-override_dh_gencontrol:
-	dh_gencontrol -- \
-	  -Vlib:Depends="$(shell dpkg-query -W -f '$${Depends}' libglib2.0-dev \
-		| sed -E 's/.*(libglib2.0-[[:digit:]][[:alnum:].-]+).*/\1/')"
-- 
2.45.2

Reply via email to