pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/55495: xfig dependency on netpbm
The following reply was made to PR pkg/55495; it has been noted by GNATS.
From: Stefan Schaeckeler <schaecsn%gmx.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/55495: xfig dependency on netpbm
Date: Sat, 18 Jul 2020 12:21:41 -0700 (PDT)
I was wrong. The xfig build calls fig2dev which in turn calls pgmtopbm, pb=
mtoxbm and ppmtopgm.
$ fig2dev -L xbm -S 4 xfig-3.2.7b/splash-image/spl_bckgnd.fig
Error in ghostcript or netpbm command
command was: gs -q -dSAFER -r80 -g631x211 -dTextAlphaBits=3D4 -dGraphicsAl=
phaBits=3D4 -sDEVICE=3Dppmraw -o - - | { ppmtopgm | pgmtopbm | pbmtoxbm; }=
2>/var/tmp//f2derrorx8Ote1
Messages resulting:
sh: pgmtopbm: not found
sh: pbmtoxbm: not found
sh: ppmtopgm: not found
So, there should be a patch against fig2dev only
Index: print/fig2dev/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/print/fig2dev/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
=2D-- print/fig2dev/Makefile 16 May 2020 02:15:06 -0000 1.6
+++ print/fig2dev/Makefile 18 Jul 2020 19:08:41 -0000
@@ -16,6 +16,7 @@ LDFLAGS.SunOS+=3D -liconv
USE_TOOLS+=3D gs:run
+.include "../../graphics/netpbm/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
Note, xfig's src/Makefile needs pgmtopbm, pbmtoxbm and ppmtopgm for target=
version.xbm. version.xbm is already bundled with xfig and is not (re-)gen=
erated during a pkgsrc build. So, xfig does not need a dependency on netpb=
m.
Home |
Main Index |
Thread Index |
Old Index