5cfcaf5a7f
Add cjpeg -rgb1 option to create an RGB JPEG file, and insert a simple reversible color transform into the processing which significantly improves the compression. The recommended command for lossless coding of RGB images is now cjpeg -rgb1 -block 1 -arithmetic. As said, this option improves the compression significantly, but the files are not compatible with JPEG decoders prior to IJG v9 due to the included color transform. The used color transform and marker signaling is compatible with other JPEG standards (e.g., JPEG-LS part 2). Remove the automatic de-ANSI-fication support (Automake 1.12). Add remark for jpeg_mem_dest() in jdatadst.c. Support files with invalid component identifiers (created by Adobe PDF). Adapt full buffer case in jcmainct.c for use with scaled DCT. Add type identifier for declaration of noreturn functions. Correct argument type in format string, avoid compiler warnings. Add missing #include directives in configuration checks, avoid configuration errors.
33 lines
857 B
Makefile
33 lines
857 B
Makefile
# $NetBSD: Makefile,v 1.47 2013/01/24 21:49:18 adam Exp $
|
|
|
|
DISTNAME= jpegsrc.v9
|
|
PKGNAME= ${DISTNAME:S/src.v/-/}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.ijg.org/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.ijg.org/
|
|
COMMENT= IJG's jpeg compression utilities
|
|
|
|
CONFLICTS= libjpeg-turbo-[0-9]*
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-ld-version-script
|
|
|
|
INSTALLATION_DIRS= bin include share/doc/jpeg
|
|
|
|
TEST_TARGET= test
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/jpegexiforient.c ${WRKSRC}
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${FILESDIR}/exifautotran ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/jpegint.h ${DESTDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/jpeg
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|