Package: gir1.2-ayatanaido3-0.4
Version: 0.10.4-1
Severity: important
Tags: patch

To reproduce:

$ podman run --rm -it debian:sid-slim
# apt update && apt full-upgrade
# apt install --no-install-recommends gir1.2-ayatanaido3-0.4 python3-gi
# python3
>>> from gi.repository import AyatanaIdo3

(Or use your favourite minimal environment, if not podman; and use your
favourite language with GObject-Introspection bindings, if not Python)

Expected result:
Imports successfully

Actual result:
ImportError: Typelib file for namespace 'Gtk', version '3.0' not found

This appears to be because src:ayatana-ido doesn't run dh_girepository, 
so the ${gir:Depends} substvar isn't populated.

I'll send a merge request soon with this and other GObject-Introspection 
improvements.

Thanks,
    smcv
>From da73995e9cc2e540ff67f2497b447bf6ca6896f4 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[email protected]>
Date: Tue, 31 Mar 2026 12:51:53 +0100
Subject: [PATCH] d/control: Build-depend on dh-sequence-gir

Without this (or its imperative equivalent, `dh --with gir` or
`dh_girepository`), ${gir:Depends} and similar substvars won't be
populated.

Closes: #-1
---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index 86362ce..2e4b684 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Mike Gabriel <[email protected]>,
 Build-Depends: cmake,
                cmake-extras,
                debhelper-compat (= 13),
+               dh-sequence-gir,
                gobject-introspection,
                gtk-doc-tools,
                xauth,
-- 
2.53.0

Reply via email to