out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.
+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt
With many thanks to Thomas Klausner for keeping me honest with this.
Fixes pkg/8949.
Changes:
o Extend formats to allow multiple images per file. Add -allimages
option to pnmfile. Add pnmsplit. Extend pnmtops.
o Add pbmtowbmp, wbmptopbm. Thanks Terje Sannum.
o ppmtobmp: Add 24 bit (truecolor) capability.
o pnmcut: easier, more expressive syntax for specifying what to cut.
o pnminterp: handle maxval != 255, convert to use Netpbm libraries.
o Translate pstopnm from Csh to C, eliminate dependency on the 'bc'
program.
o Fix bug in tiff library build which caused null soname.
o Add optParseopt2() to shhopt.a so you can use long options with one
hyphen instead of two.
o giftopnm: fix bug with variable used before set. Fix bug (coding
error -- 0=>i). Unknown impact.
o bmptoppm: fix bug with 24 bit (truecolor) Windows BMPs.
o xwdtopnm: fix one more bug with bits_per_item <> bits_per_pixel.
o Fix ppmtompeg build bug with static libraries.
o Make build clean with gcc -ansi (albeit with some files that need
extensions declaring the _BSD_SOURCE etc.).
o Rebase pnmtopng, pngtopnm on Pnmtopng 2.37.4.
o pbmtolj: fix bug where blank lines get discarded. Thanks Charles
Howes.
o ppmtompeg: fix bug with "PNM" format files with maxval != 255. Get
rid of built-in PPM file parsing.
o Fix 'make install' where mkinstalldirs is not found.
o Fix bug where rle_global.c would not compile with GNU C Library 2.
Use USE_LIBTOOL instead of USE_PKGLIBTOOL.
Changes since 9.2:
o pnmfile: check for file size error.
o ppmhist: handle larger maxvals, image sizes
o xwdtopnm: Use color map with DirectColor to fix wrong color bug on
some DirectColor xwds.
o xwdtopnm: Correct bug with 24/32 DirectColor LSBfirst xwds.
o Add pXmcheck() library function.
o Add leaftoppm and ppmtoleaf. Thanks Bill O'Donnell.
o Add winicontoppm and ppmtowinicon. Thanks Lee Benfield.
o Add pgmslice. Thanks to Jos Dingjan.
o Include subset of RLE library in the package.
o stamp-date doesn't rely on whoami.
o Make file fixes to accomodate more install programs.
o Replace tmpnam() with mkstemp().
o Add pXm_init() into all programs that didn't have it.
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
(everything but ImageMagick, gs5, and xemacs20). The API hasn't changed
much, say the install instructions, but it isn't binary compatible--bump
shlib version to 1.0.
Implement a new DEPENDS definition, which looks for an installed
package, building it if not present, and use it in preference to
LIB_DEPENDS. This should make the package collection more useful on
NetBSD ELF ports.