Control: retitle -1 libopenjpip-viewer is basically empty

On 2023-05-23 Mathieu Malaterre <ma...@debian.org> wrote:
> On Tue, May 23, 2023 at 10:46 AM Mathieu Malaterre <ma...@debian.org> wrote:
> >
> > Control: retitle -1 No java compiler found. Won't be able to build java 
> > viewer
> >
> > openjpeg2/java compilation appears to be broken:
[...]

> default-jdk is defined in B-D-I which looks wrong IMHO:

> * 
> https://salsa.debian.org/debian-phototools-team/openjpeg2/-/blob/master/debian/control#L16

> [...]
> Build-Depends-Indep: default-jdk,
> [...]

Why does this look wrong? libopenjpip-viewer is arch-all.

Correct patch attached. Stuff was built but the respective dh_install
call was shadowed and therefore content was not shipped in the package.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
diff -Nru openjpeg2-2.5.0/debian/changelog openjpeg2-2.5.0/debian/changelog
--- openjpeg2-2.5.0/debian/changelog	2022-06-20 16:05:24.000000000 +0200
+++ openjpeg2-2.5.0/debian/changelog	2023-05-24 12:45:48.000000000 +0200
@@ -1,3 +1,10 @@
+openjpeg2 (2.5.0-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fix broken symlink. Closes: #1036584
+
+ -- Andreas Metzler <ametz...@debian.org>  Wed, 24 May 2023 12:45:48 +0200
+
 openjpeg2 (2.5.0-1) unstable; urgency=medium
 
   * New upstream version 2.5.0
diff -Nru openjpeg2-2.5.0/debian/openjpeg-doc.install openjpeg2-2.5.0/debian/openjpeg-doc.install
--- openjpeg2-2.5.0/debian/openjpeg-doc.install	1970-01-01 01:00:00.000000000 +0100
+++ openjpeg2-2.5.0/debian/openjpeg-doc.install	2023-05-24 12:45:48.000000000 +0200
@@ -0,0 +1 @@
+usr/share/doc
diff -Nru openjpeg2-2.5.0/debian/rules openjpeg2-2.5.0/debian/rules
--- openjpeg2-2.5.0/debian/rules	2022-06-20 16:01:30.000000000 +0200
+++ openjpeg2-2.5.0/debian/rules	2023-05-24 12:45:48.000000000 +0200
@@ -50,9 +50,6 @@
 pkg_vwr = libopenjpip-viewer
 pkg_dsrv = libopenjpip-dec-server
 
-override_dh_install-indep:
-	dh_install -p$(pkg_doc) debian/tmp/usr/share/doc
-
 override_dh_install-arch:
 	# annoying cmake-fatal-error export stuff:
 	sed -i -e "s/FATAL_ERROR/STATUS/g" debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/openjpeg-2.5/OpenJPEGTargets*.cmake

Reply via email to