[Pkg-phototools-devel] Bug#948377: openjpeg2: Please omit libopenjpip-server on Ubuntu/i386

Steve Langasek steve.langasek at canonical.com
Tue Jan 7 22:56:46 GMT 2020


Package: openjpeg2
Version: 2.3.1-1
Severity: minor
Tags: patch
User: ubuntu-devel at 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 openjpeg2 on i386 because
it's a build-dependency of ffmpeg, but the libopenjpip-server package built
from this source has dependencies on other packages that are not being kept
as part of the compatibility library set (spawn-fcgi).

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 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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru openjpeg2-2.3.1/debian/rules openjpeg2-2.3.1/debian/rules
--- openjpeg2-2.3.1/debian/rules	2019-10-07 04:46:43.000000000 -0700
+++ openjpeg2-2.3.1/debian/rules	2020-01-07 14:52:50.000000000 -0800
@@ -6,8 +6,12 @@
 # as per upstream request:
 export DEB_CFLAGS_MAINT_APPEND = -fvisibility=hidden
 
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+   BUILD_PACKAGES += -Nlibkate-tools
+endif
+
 %:
-	dh $@ --parallel --with apache2 $(DH_ADDONS)
+	dh $@ --parallel --with apache2 $(DH_ADDONS) $(BUILD_PACKAGES)
 build binary %-indep: DH_ADDONS=--with=javahelper
 
 CMAKE_EXTRA_FLAGS += -DCMAKE_SKIP_RPATH=ON \


More information about the Pkg-phototools-devel mailing list