[Pkg-gmagick-im-team] Bug#1020358: libmagickcore-6.q16-7: transition gsfonts/gsfonts-x11 --> fonts-urw-base35

Vincent Lefevre vincent at vinc17.net
Wed Oct 25 22:55:23 BST 2023


On 2023-10-23 14:07:36 +0200, Bastien ROUCARIES wrote:
> Le lun. 23 oct. 2023 à 11:45, Vincent Lefevre <vincent at vinc17.net> a écrit :
> 
> > Control: found -1 8:6.9.12.98+dfsg1-2
> >
> > On 2022-09-20 18:18:23 +0200, fabian at debian.org wrote:
> > > you are receiving this bug report, because your package declares a
> > > relationship with the gsfonts and/or gsfonts-x11 packages. Both
> > > packages have been replaced by fonts-urw-base35 since version
> > > 20200910-2 and are now merely transitional dummy packages. In order
> > > to make it possible to remove these transitional packages, please
> > > adjust the relationships for your package accordingly.
> >
> > Any news?
> >
> > This is annoying, because on imagemagick upgrade, aptitude wants
> > to reinstall gsfonts, which I had removed.
> 
> Patch welcome hère. Will apply asap

I've attached a patch.

First, the change of gsfonts to a transitional package is bogus as
it potentially breaks (silently or not) the build of packages that
expect a normal gsfonts package. The current imagemagick version
has

        --with-gs-font-dir=/usr/share/fonts/type1/gsfonts \

in its debian/rules file while the fonts were replaced by those in
the /usr/share/fonts/type1/urw-base35 directory.

That said, I don't know the consequences in practice. Apparently,
this affects the ghostscript_font_dir variable, which is used only
by config/type-ghostscript.xml.in (a typemap file).

Anyway, in the attached patch, I've replaced this line by

       --with-urw-base35-font-dir=/usr/share/fonts/type1/urw-base35 \

The other changes are the replacement of the gsfonts package by
fonts-urw-base35 in control and the control.d directory.

I don't know what to do with the tests and tests.d directories,
as rebuilding the package with this patch doesn't fail.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagemagick.patch
Type: text/x-diff
Size: 3379 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gmagick-im-team/attachments/20231025/b3de46fa/attachment.patch>


More information about the Pkg-gmagick-im-team mailing list