Package: fbreader
Version: 0.12.10dfsg2-4
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu focal ubuntu-patch
Hi Eugene,
In Ubuntu, we are in the process of moving the i386 architecture to a
compatibility-only layer on amd64. We are keeping fbreader on i386 because
it is a build-dependency of carla, but the fbreader and libzltext* binary
packages built from this source have dependencies on other packages that are
not being kept as part of the compatibility library set (libunibreak).
We would like to drop the fbreader and libzltext* packages rather than
keeping them 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/
[email protected] [email protected]
diff -u fbreader-0.12.10dfsg2/debian/rules fbreader-0.12.10dfsg2/debian/rules
--- fbreader-0.12.10dfsg2/debian/rules
+++ fbreader-0.12.10dfsg2/debian/rules
@@ -9,6 +9,10 @@
include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+ skip_packages = -Nfbreader -Nlibzltext-dev -Nlibzltext0.13
+endif
+
DEB_DIR = $(CURDIR)/debian
export PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config
@@ -47,0 +52,5 @@
+override_dh_builddeb:
+ dh_builddeb ${skip_packages}
+
+override_dh_gencontrol:
+ dh_gencontrol ${skip_packages}