Package: release.debian.org
Severity: normal
Tags: bullseye
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-Cc: vlf...@packages.debian.org, sanv...@debian.org
Control: affects -1 + src:vlfeat

[ Reason ]
This release fixes Bug #991066: FTBFS with new imagemagick.
The bug was bullseye-ignored to avoid the package being removed,
but this upload for bullseye was still missing.

[ Impact ]
Anybody trying to build the package from source will get a build error.

[ Tests ]
I've checked that the package builds again after the fix.

[ Risks ]
Low risk. The patch was already tested in the unstable of the time.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
Minor change to debian/rules so that the package builds again.

[ Other info ]
I've already made the upload.
diff -Nru vlfeat-0.9.21+dfsg0/debian/changelog 
vlfeat-0.9.21+dfsg0/debian/changelog
--- vlfeat-0.9.21+dfsg0/debian/changelog        2020-02-08 06:39:32.000000000 
+0100
+++ vlfeat-0.9.21+dfsg0/debian/changelog        2023-12-12 21:30:00.000000000 
+0100
@@ -1,3 +1,10 @@
+vlfeat (0.9.21+dfsg0-6+deb11u1) bullseye; urgency=medium
+
+  * Team upload.
+  * Apply patch by Dennis Filder to fix build error. Closes: #991066.
+
+ -- Santiago Vila <sanv...@debian.org>  Tue, 12 Dec 2023 21:30:00 +0100
+
 vlfeat (0.9.21+dfsg0-6) unstable; urgency=medium
 
   * Team upload.
diff -Nru vlfeat-0.9.21+dfsg0/debian/rules vlfeat-0.9.21+dfsg0/debian/rules
--- vlfeat-0.9.21+dfsg0/debian/rules    2020-02-08 06:39:32.000000000 +0100
+++ vlfeat-0.9.21+dfsg0/debian/rules    2023-12-12 21:26:17.000000000 +0100
@@ -10,12 +10,16 @@
 # grab the API version from the library SONAME
 API_VERSION = $(shell objdump -p bin/*/libvl.so | perl -ne 
'if(/^\s+SONAME\s+libvl.so./p) {print $${^POSTMATCH}; exit;}')
 
+IMAGEMAGICK_POLICY := /etc/$(shell convert -version|sed -n '/^Version: 
/s@Version: ImageMagick \([[:digit:]]\+\)\..*@ImageMagick-\1@p')/policy.xml
+
 %:
        dh $@
 
 override_dh_auto_build:
-       make PYTHON=python3 MKOCTFILE=`which mkoctfile` VERB=1 CFLAGS+=-g all 
doc
-
+       mkdir -p debian/tmp/ImageMagick
+       sed -e '/<policy domain="coder" rights="none" pattern="PDF" 
.>/s@"none"@"read|write"@' "$(IMAGEMAGICK_POLICY)" > 
debian/tmp/ImageMagick/policy.xml
+       make XDG_CONFIG_HOME="$(shell pwd)/debian/tmp" PYTHON=python3 
MKOCTFILE=`which mkoctfile` VERB=1 CFLAGS+=-g all doc
+       rm -Rf debian/tmp/ImageMagick
 
 override_dh_auto_install: $(addprefix install/,data $(wildcard toolbox/*))
        cp bin/*/libvl.so libvl.so.$(VERSION)

Reply via email to