Package: gnome-online-accounts
Version: 3.34.1-1
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu focal ubuntu-patch
Hi Jeremy,
In Ubuntu, we are in the process of moving the i386 architecture to a
compatibility-only layer on amd64. We are keeping libgoa on i386 because it
is a dependency of libgdata but the gnome-online-accounts binary package
built from this source has dependencies on other packages that are not being
kept as part of the compatibility library set (python3-macaroonbakery).
We would like to drop the gnome-online-accounts 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/
[email protected] [email protected]
diff -Nru gnome-online-accounts-3.34.1/debian/rules
gnome-online-accounts-3.34.1/debian/rules
--- gnome-online-accounts-3.34.1/debian/rules 2019-11-05 09:26:14.000000000
-0600
+++ gnome-online-accounts-3.34.1/debian/rules 2019-12-23 10:42:08.000000000
-0600
@@ -3,6 +3,12 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+ skip_packages = -Ngnome-online-accounts
+endif
+
%:
dh $@
@@ -48,3 +54,9 @@
mv po/gnome-online-accounts.pot.bak
po/gnome-online-accounts.pot; \
fi
dh_clean
+
+override_dh_builddeb:
+ dh_builddeb ${skip_packages}
+
+override_dh_gencontrol:
+ dh_gencontrol ${skip_packages}