Package: bluez
Version: 5.50-1
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Dear maintainers,

In Ubuntu, we are in the process of moving the i386 architecture to a
compatibility-only layer on amd64.  We are keeping bluez on i386 because it
is a build-dependency of python3.8, but bluez-cups is built from this source
package and depends on the cups daemon package which we otherwise have no
reason to keep around.

We would like to drop the bluez-cups binary package rather than keeping it
around in the Ubuntu archive and uninstallable.  Would you please consider
applying the attached patch, or something like it, to omit building this
binary package on Ubuntu?

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru bluez-5.50/debian/rules bluez-5.50/debian/rules
--- bluez-5.50/debian/rules     2018-07-28 21:46:24.000000000 -0500
+++ bluez-5.50/debian/rules     2019-12-20 11:47:34.000000000 -0600
@@ -31,6 +31,10 @@
        --enable-health \
        --enable-experimental
 
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+   skip_packages = -Nbluez-cups
+endif
+
 %:
        dh $@ --with systemd,autoreconf
 
@@ -54,3 +58,9 @@
 
 override_dh_auto_test:
        # disable
+
+override_dh_builddeb:
+       dh_builddeb ${skip_packages}
+
+override_dh_gencontrol:
+       dh_gencontrol ${skip_packages}

Reply via email to