Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#2588 - libpng: please add pnm conversion tools
Attached to Project:
Arch Linux
Opened by Xavier de Labouret (zezaz) - Saturday, 16 April 2005, 10:02 GMT
Last edited by Judd Vinet (judd) - Monday, 18 April 2005, 00:06 GMT
Opened by Xavier de Labouret (zezaz) - Saturday, 16 April 2005, 10:02 GMT
Last edited by Judd Vinet (judd) - Monday, 18 April 2005, 00:06 GMT
|
DetailsHi,
The libpng source package includes contrib utilities. Among them are PNM conversion tools (png2pnm, pnm2png). Could you compile them in the libpng package? The modified PKGBUILD to compile these tools follows. Best thanks! ------------8<------------- # $Id: PKGBUILD,v 1.18 2005/02/22 18:59:13 dorphell Exp $ # Maintainer: dorphell <dorphell@archlinux.org> force=y pkgname=libpng pkgver=1.2.8 pkgrel=2 pkgdesc="A collection of routines used to create PNG format graphics files" url="http://www.libpng.org/pub/png/libpng.html" depends=('zlib' 'glibc') source=(http://dl.sourceforge.net/sourceforge/libpng/libpng-$pkgver.tar.bz2) md5sums=('00cea4539bea4bd34cbf8b82ff9589cd') build() { cd $startdir/src/$pkgname-$pkgver sed -e "s:ZLIBLIB=.*:ZLIBLIB=/usr/lib:" \ -e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \ -e "s:-O3:${CFLAGS}:" \ -e "s:prefix=/usr/local:prefix=/usr:" \ -e "s:OBJSDLL = :OBJSDLL = -lz -lm :" scripts/makefile.linux > Makefile make || return 1 mkdir -p $startdir/pkg/usr/{include,lib,man/man3} make prefix=/usr DESTDIR=$startdir/pkg install # begin add pnm conversion tools cd contrib/pngminus make -f makefile.std ZLIBS=/usr/lib/libz.a cp png2pnm pnm2png $startdir/pkg/usr/bin # end add pnm conversion tools } |
This task depends upon
Closed by dorphell (dorphell)
Monday, 25 April 2005, 19:13 GMT
Reason for closing: Implemented
Additional comments about closing: added feature, it will surface upon next release.
Monday, 25 April 2005, 19:13 GMT
Reason for closing: Implemented
Additional comments about closing: added feature, it will surface upon next release.