Source: rofi
Version: 2.0.0-0.2
Tags: patch
User: [email protected]
Usertags: ftcbfs

rofi fails to cross build from source, because it fails locating 
glib-2.0.pc as a build-time dependency while building libnkutils. The 
build-time part tends to translate to a :native dependency, but rofi 
currently has none. Since the glib2.0 packaging was reorganized a bit, 
the package to depend upon to obtain glib-2.0.pc now is libgio-2.0-dev. 
Once adding it, rofi cross builds successfully. I'm attching a patch for 
your convenience.

Helmut
diff -Nru rofi-2.0.0/debian/changelog rofi-2.0.0/debian/changelog
--- rofi-2.0.0/debian/changelog 2025-10-25 10:58:46.000000000 +0200
+++ rofi-2.0.0/debian/changelog 2025-11-15 00:15:39.000000000 +0100
@@ -1,3 +1,10 @@
+rofi (2.0.0-0.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Add dependency on libgio-2.0-dev:native. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 15 Nov 2025 00:15:39 +0100
+
 rofi (2.0.0-0.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru rofi-2.0.0/debian/control rofi-2.0.0/debian/control
--- rofi-2.0.0/debian/control   2025-10-25 10:58:46.000000000 +0200
+++ rofi-2.0.0/debian/control   2025-11-15 00:15:39.000000000 +0100
@@ -7,6 +7,7 @@
  debhelper-compat (= 13),
  bison,
  flex,
+ libgio-2.0-dev:native,
  libpango1.0-dev,
  libstartup-notification0-dev,
  libxkbcommon-dev,

Reply via email to