[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947286: libkate: Please omit libkate-tools on Ubuntu/i386



Package: libkate
Version: 0.4.1-10
Severity: minor
Tags: patch
User: ubuntu-devel@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 libkate on i386 because
it's a build-dependency of vlc, but the libkate-tools package built from
this source has dependencies on other packages that are not being kept as
part of the compatibility library set (python-pythoncard).

We would like to drop this 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 these binary
packages 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/
slangasek@ubuntu.com                                     vorlon@debian.org
5~
diff -Nru libkate-0.4.1/debian/rules libkate-0.4.1/debian/rules
--- libkate-0.4.1/debian/rules	2019-11-26 16:03:42.000000000 -0600
+++ libkate-0.4.1/debian/rules	2019-12-23 17:02:56.000000000 -0600
@@ -5,5 +5,9 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+   BUILD_PACKAGES += -Nlibkate-tools
+endif
+
 %:
-	dh $@
+	dh $@ $(BUILD_PACKAGES)

Reply to: