[Pkg-phototools-devel] Bug#870644: openjpeg2: Make source package bootstrappable
Helmut Grohne
helmut at subdivi.de
Mon May 6 21:48:59 BST 2019
Source: openjpeg2
Version: 2.3.0-2
Followup-For: Bug #870644
Tags: patch
Here is a patch to demote the java stuff to Build-Depends-Indep. There
is no build profile necessary for these dependencies as one can simply
perform an arch-only build first and a full build later.
Helmut
-------------- next part --------------
diff --minimal -Nru openjpeg2-2.3.0/debian/changelog openjpeg2-2.3.0/debian/changelog
--- openjpeg2-2.3.0/debian/changelog 2019-03-10 18:34:51.000000000 +0100
+++ openjpeg2-2.3.0/debian/changelog 2019-05-06 22:36:49.000000000 +0200
@@ -1,3 +1,10 @@
+openjpeg2 (2.3.0-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Demote java dependencies to Build-Depends-Indep. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Mon, 06 May 2019 22:36:49 +0200
+
openjpeg2 (2.3.0-2) unstable; urgency=high
[ Hugo Lefeuvre ]
diff --minimal -Nru openjpeg2-2.3.0/debian/control openjpeg2-2.3.0/debian/control
--- openjpeg2-2.3.0/debian/control 2019-03-10 18:34:29.000000000 +0100
+++ openjpeg2-2.3.0/debian/control 2019-05-06 22:36:49.000000000 +0200
@@ -5,17 +5,18 @@
Homepage: http://www.openjpeg.org
Build-Depends: cmake (>= 2.8.2),
debhelper (>= 9),
- default-jdk,
dh-apache2,
help2man,
- javahelper (>= 0.37~),
libcurl4-gnutls-dev | libcurl-ssl-dev,
libfcgi-dev,
liblcms2-dev,
libpng-dev,
libtiff-dev,
- libxerces2-java,
zlib1g-dev
+Build-Depends-Indep:
+ default-jdk,
+ javahelper (>= 0.37~),
+ libxerces2-java,
Standards-Version: 4.1.0
Section: libs
Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/openjpeg2/trunk/
diff --minimal -Nru openjpeg2-2.3.0/debian/rules openjpeg2-2.3.0/debian/rules
--- openjpeg2-2.3.0/debian/rules 2017-10-16 07:43:41.000000000 +0200
+++ openjpeg2-2.3.0/debian/rules 2019-05-06 22:36:49.000000000 +0200
@@ -7,7 +7,8 @@
export DEB_CFLAGS_MAINT_APPEND = -fvisibility=hidden
%:
- dh $@ --parallel --with apache2,javahelper
+ dh $@ --parallel --with apache2 $(DH_ADDONS)
+build binary %-indep: DH_ADDONS=--with=javahelper
CMAKE_EXTRA_FLAGS += -DCMAKE_SKIP_RPATH=ON \
-DCMAKE_BUILD_TYPE:STRING=None \
More information about the Pkg-phototools-devel
mailing list