Source: ibus
Version: 1.5.34~alpha1-1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

ibus Build-Depends on python-is-python3. The package description says:

| No packages may declare dependencies on this package.

I'm attaching a patch to remove the dependency.

Note that the removal of the dependency fixes a cross build dependency
problem.

Helmut
diff -Nru ibus-1.5.34~alpha1/debian/changelog 
ibus-1.5.34~alpha1/debian/changelog
--- ibus-1.5.34~alpha1/debian/changelog 2025-12-25 13:02:02.000000000 +0100
+++ ibus-1.5.34~alpha1/debian/changelog 2025-12-31 14:42:15.000000000 +0100
@@ -1,3 +1,10 @@
+ibus (1.5.34~alpha1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not depend on python-is-python3. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 31 Dec 2025 14:42:15 +0100
+
 ibus (1.5.34~alpha1-1) unstable; urgency=medium
 
   [ Changwoo Ryu ]
diff -Nru ibus-1.5.34~alpha1/debian/control ibus-1.5.34~alpha1/debian/control
--- ibus-1.5.34~alpha1/debian/control   2025-12-25 13:02:02.000000000 +0100
+++ ibus-1.5.34~alpha1/debian/control   2025-12-31 14:42:12.000000000 +0100
@@ -33,7 +33,6 @@
                libwayland-dev [linux-any],
                pkgconf,
                python-gi-dev,
-               python-is-python3,
                python3-all,
                systemd-dev [linux-any],
                unicode-cldr-core (>= 44),
diff -Nru ibus-1.5.34~alpha1/debian/patches/python3.patch 
ibus-1.5.34~alpha1/debian/patches/python3.patch
--- ibus-1.5.34~alpha1/debian/patches/python3.patch     1970-01-01 
01:00:00.000000000 +0100
+++ ibus-1.5.34~alpha1/debian/patches/python3.patch     2025-12-31 
14:42:04.000000000 +0100
@@ -0,0 +1,24 @@
+--- ibus-1.5.34~alpha1.orig/engine/gensimple.py
++++ ibus-1.5.34~alpha1/engine/gensimple.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # vim:set fileencoding=utf-8 et sts=4 sw=4:
+ #
+ # ibus - Intelligent Input Bus for Linux / Unix OS
+--- ibus-1.5.34~alpha1.orig/engine/iso639converter.py
++++ ibus-1.5.34~alpha1/engine/iso639converter.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # vim:set fileencoding=utf-8 et sts=4 sw=4:
+ #
+ # ibus - Intelligent Input Bus for Linux / Unix OS
+--- ibus-1.5.34~alpha1.orig/engine/test-gnome.py
++++ ibus-1.5.34~alpha1/engine/test-gnome.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # vim:set fileencoding=utf-8 et sts=4 sw=4:
+ #
+ # ibus - Intelligent Input Bus for Linux / Unix OS
diff -Nru ibus-1.5.34~alpha1/debian/patches/series 
ibus-1.5.34~alpha1/debian/patches/series
--- ibus-1.5.34~alpha1/debian/patches/series    2025-12-25 13:02:02.000000000 
+0100
+++ ibus-1.5.34~alpha1/debian/patches/series    2025-12-31 14:41:03.000000000 
+0100
@@ -2,3 +2,4 @@
 0003-dconf-Use-dbus-run-session-to-set-up-dconf-overrides.patch
 dconf-Create-a-temporary-XDG_RUNTIME_DIR.patch
 ubuntu-forward-panel-properties.patch
+python3.patch

Reply via email to