Commit graph

76 commits

Author SHA1 Message Date
agc
7f810a359f Add SHA512 digests for distfiles for graphics category
Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 21:33:50 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
drochner
6bd260e766 fix possible buffer overflows in cmd line tools found by Pedro Ribeiro
(see Debian bug #718682)
bump PKGREV
2013-08-07 16:46:23 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
wiz
833922aab2 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:49 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
drochner
f2823e819d update to 1.19
changes:
-fixed minor vulnerabilities
-removed cosmetic comparation with zero in floating point

approved by gdt
2010-06-16 15:17:58 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
wiz
662a258e1b Remove workaround for compiler bug in gcc2 on sparc64. 2010-01-16 17:57:36 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
rillig
79a38fed91 cleanup: replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-05-16 07:22:01 +00:00
dsainty
526ed82900 patch-aa is gone, but not forgotten. Update distinfo to forget about it too. 2009-04-26 05:52:08 +00:00
gdt
4d3157ae2d Update to 1.18a released by Marti Maria. Call it 1.18.0.1 in pkgsrc
so that it sorts correctly, and leave 1.18.1 available for a possible
future upstream bugfix point release.

Changes since 1.18:

  incorporate the fix in our patch-aa

(No need to pull to pkgsrc-stable; this is the same as 1.18nb2)
2009-04-19 16:58:29 +00:00
tron
a6ca85049f Fix typo in comment. 2009-04-14 19:24:30 +00:00
tron
6c41d87ebe Add patch for the security vulnerability reported in SA34634/CVE-2009-0793
taken from Redhat's Bugzilla.
2009-04-14 18:54:38 +00:00
gdt
979c847ab2 upstream updated distfile after release, essentially incorporating patch-aa 2009-03-22 18:17:15 +00:00
gdt
d80bfc170c Update to 1.18, a security/maintenance release.
From NEWS:

 New in ver 1.18
 ===============

Changes in API
----------------------
*none*

Implementation
----------------------
All errors moved to fatal, since there is no easy recovery strategy
Vulnerability fixes on cmsio1.c
Status check, many functions now check the status when calling other functions. Improved robustness against ill-formed profiles.
_cmsSaveProfile didn't copy tags from a file based profile, fixed.

Utilities
----------
icctrans: CMYKcm support wrongly implemented, fixed.
icclink: linking 3 to 7 channels didn't work in some cases, fixed.
2009-03-22 14:50:48 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
gdt
0d5748b6b6 Fix COMMENT, DESCR. 2008-11-01 13:40:34 +00:00
wiz
36b35411fd Update to 1.17:
Changes in API
----------------------

WIN64 support
_vsnprintf wrap
BOOL replaced by LCMSBOOL
cmsSetLanguage parameters changed to match ICC spec
removed support for extended gamut descriptor (was never fully implemented)
cmsFLAGS_NODEFAULTRESOURCEDEF moved to 0x01000000
_cmsMalloc wrapper for malloc
_cmsFree wrapper for free

Implementation
----------------------
All errors moved to fatal, since there is no easy recovery strategy
Vulnerability fixes on cmsio1.c
Status check, many functions now check the status when calling other functions. Improved robustness against ill-formed profiles.
_cmsSaveProfile didn't copy tags from a file based profile, fixed.

Utilities
----------
icctrans: CMYKcm support wrongly implemented, fixed.
icclink: linking 3 to 7 channels didn't work in some cases, fixed.
2008-01-15 23:42:25 +00:00
wiz
a73293016c Remove ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 00:01:08 +00:00
wiz
ca0fb05796 Update to 1.16:
New in ver 1.16
 ===============

New features

  two different types of black preservation on CMYK-> CMYK transforms
  Ability to set adaptation state of observer on absolute colorimetric transforms.
  A rather advanced feature. Actually it only allows No adaptation (d=0) and observer fully adapted (d=1)
  lcms can now "fix" some broken 8-bit profiles that have gray axes misplaced.
  icctrans can now read CGATS/IT8 files.
  improved tifficc with tiff Lab8 support
  icclink now supports colorant table tag.


 New functions

double        cmsSetAdaptationState(cmsHTRANSFORM hTransform, double d);

void           cmsSetHeaderAttributes(cmsHPROFILE hProfile, DWORD Flags);
DWORD          cmsTakeHeaderAttributes(cmsHPROFILE hProfile);

icInt32Number  cmsGetTagCount(cmsHPROFILE hProfile);
icTagSignature cmsGetTagSignature(cmsHPROFILE hProfile, icInt32Number n);

int            cmsSetCMYKPreservationStrategy(int n)

BOOL           cmsIT8SaveToMem(LCMSHANDLE hIT8, void *MemPtr, size_t* BytesNeeded);

BOOL          _cmsIsMatrixShaper(cmsHPROFILE hProfile);
BOOL          _cmsAddDateTimeTag(cmsHPROFILE hProfile, icTagSignature sig, struct tm *DateTime);
BOOL          _cmsAddColorantTableTag(cmsHPROFILE hProfile, icTagSignature sig, LPcmsNAMEDCOLORLIST nc);

double       cmsEvalLUTreverse(LPLUT Lut, WORD Target[], WORD Result[], LPWORD Hint);

LPcmsNAMEDCOLORLIST  cmsReadColorantTable(cmsHPROFILE hProfile, icTagSignature sig)

LPcmsGAMUTEX cmsReadExtendedGamut(cmsHPROFILE hProfile, int index);
void         cmsFreeExtendedGamut(LPcmsGAMUTEX gex);


New tags supported

       icSigColorantTableTag		    LPcmsNAMEDCOLORLIST
       icSigColorantTableOutTag         LPcmsNAMEDCOLORLIST
       icSigCalibrationDateTimeTag	    const struct tm*


New flags:

cmsFLAGS_PRESERVEBLACK
cmsFLAGS_GRIDPOINTS(n)


And of course some bug fixing.
2007-01-06 21:52:14 +00:00
joerg
6e82078eef DESTDIR support. 2006-11-05 17:17:04 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
gdt
c3e7a14ae5 Don't tell lcms to refrain from linking with zlib, so that tifficc
includes -lz on the link line if -lz is present in bl environment
(which it is because libtiff bls it).  PKGREVISION++

Take maintainership.
2006-02-21 14:00:42 +00:00
gdt
edb2b07bf8 Depend on tiff and jpeg, thus adding tifficc and jpegicc. PKGREVISION++.
(gdt's judgement is that anyone paying attention to color management
will surely have jpeg and tiff libraries installed anyway, so this
isn't bloat.  If it is thought to be bloat, a better fix is to
PKG_OPTIONS other programs to refrain from using lcms.)
2006-02-20 15:02:22 +00:00
wiz
18c20e996f Update to 1.15. patch-ab has been sent upstream.
New features

  Black preservation on CMYK-> CMYK transforms
  Ability to set adaptation state of observer on absolute colorimetric transforms.
  A rather advanced feature. Actually it only allows No adaptation (d=0) and observer fully adapted (d=1)
  lcms can now "fix" some broken 8-bit profiles that have gray axes misplaced.
  icctrans can now read CGATS/IT8 files.
  improved tifficc with tiff Lab8 support


 New functions

LCMSAPI double       LCMSEXPORT cmsSetAdaptationState(cmsHTRANSFORM hTransform, double d);

LCMSAPI void          LCMSEXPORT cmsSetHeaderAttributes(cmsHPROFILE hProfile, DWORD Flags);
LCMSAPI DWORD         LCMSEXPORT cmsTakeHeaderAttributes(cmsHPROFILE hProfile);

LCMSAPI icInt32Number           LCMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile);
LCMSAPI icTagSignature          LCMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, icInt32Number n);


LCMSAPI BOOL            LCMSEXPORT cmsIT8SaveToMem(LCMSHANDLE hIT8, void *MemPtr, size_t* BytesNeeded);

  BOOL  _cmsIsMatrixShaper(cmsHPROFILE hProfile);
  BOOL  _cmsAddDateTimeTag(cmsHPROFILE hProfile, icTagSignature sig, struct tm *DateTime);
  BOOL  _cmsAddColorantTableTag(cmsHPROFILE hProfile, icTagSignature sig, LPcmsNAMEDCOLORLIST nc);

  double cmsEvalLUTreverse(LPLUT Lut, WORD Target[], WORD Result[], LPWORD Hint);

LPcmsNAMEDCOLORLIST LCMSEXPORT cmsReadColorantTable(cmsHPROFILE hProfile, icTagSignature sig)


LPcmsGAMUTEX cmsReadExtendedGamut(cmsHPROFILE hProfile, int index);
void         cmsFreeExtendedGamut(LPcmsGAMUTEX gex);


New tags supported

       icSigColorantTableTag		    LPcmsNAMEDCOLORLIST
       icSigColorantTableOutTag         LPcmsNAMEDCOLORLIST
       icSigCalibrationDateTimeTag	    const struct tm*


New flags:

cmsFLAGS_PRESERVEBLACK
cmsFLAGS_GRIDPOINTS(n)


And of course some bug fixing.
2005-12-07 17:47:06 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
adam
c968fdaf4e Fix building on DragonFly; courtesy of Joerg Sonnenberger 2005-06-02 15:03:39 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
adam
7a6ea88575 Changes 1.14:
* linux & windows packages are now joined into a single package.
* Improved (and now fast!) gamut checking.
* New virtual NULL profile for building gamut check transforms.
* CGATS.13/IT8 parser now supports multiple tables and other goodies like
  specifying flot format.
* More python support.
* New Matlab wrapper
* Revamped icctrans
* Improved jpegicc
* jpegicc and tifficc now can save (grab) embedded profiles.
* tifficc now supports up to 15 channels.
* Improved Lab prelinearization.
* Fixed absolute intent on PostScript CRD
* Man pages for utilities.
* Access to creation & calibration date time.
* Lots of bug fixes
2005-01-17 12:11:46 +00:00
minskim
b97bd2264d Update lcms to 1.13.
Changes:
	Overall speedup
	Full ICC v4 support
	New CGATS.13/IT8 parser
	8-bit transforms optimization
	Improved named color -- lcms can now write such profiles as well
	lcms can now write 8 bit profiles as well as 16 bit
	softproof now honors proofing intent
	Absolute colorimetric works fine on mixed v2/v4 transforms
	Improved black point compensation
	Several new utility functions
	Black point compensation on PostScript CRD
	Added support for HiFi (> 4 inks) on tifficc
	Improved icclink
	Add lcms.pc pkg-config file
		(http://www.freedesktop.org/Software/pkgconfig).
	USE_TETRAHEDRAL and USE_TRILINEAR no longer used -- engine now
		chooses between interpolation methods
	on depending on several heuristics.
2004-10-25 21:43:20 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
wiz
4237d54a34 Unused. 2004-07-06 22:41:15 +00:00
dmcmahill
a72f18f657 bump pkgrevision after last fix. Reminded by snj@ 2004-04-11 17:32:13 +00:00
dmcmahill
93148bfacf fix a header file bug which caused problems when compiling kdegraphics3. 2004-04-11 04:35:22 +00:00
snj
66d5bab289 Fix build with gcc2 on sparc64. 2004-03-22 22:46:10 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
seb
1427fcb2de Use plain MKDIR instead of INSTALL_DATA_DIR to allow build as non-root. 2004-02-11 19:11:32 +00:00
seb
0101f787f6 Update to version 1.12.
Package changes:
	The include files moved from $PREFIX/include/lcms to
	$PREFIX/include. Support added to buildlink*.mk to provide
	compatibility symlinks include/lcms/*.h in BUILDLINK_DIR.

No list of changes since the previously packaged version (1.06), I do not
even know if there was any versions in between... Anyway changes
in version 1.12 are (from the homepage):

- Brightness/Contrast/Hue/Saturation/WhitePoint modification across abstract
profile
- License changed to MIT
- pseq tag handling: cmsReadProfileSequenceDescription and cmsSEQ,
cmsPSEQDESC structures
- CRD generation now supports black point compensation, see
cmsGetPostScriptCRDEx
- cmsTakeManufacturer and cmsTakeModel for uncooked info on these tags
- Writing 8 bit profiles is now supported
- Named color profiles support. This turns lcms from a "wide subset" into
a "full implementation" of ICC 3.4, with some ICC 4.0 support.
- PostScript CSA, CRD generation
- Ink-Limiting capabilities for CMYK
- Devicelink profile generation.
- Gray scale virtual profiles
- Linearization virtual device link profiles
- New ICCLINK and ICC2PS utilities
- SWIG wrapper. This enables lcms from Python.
- Floating-point formats are now accepted as well.
- More ICC 4.0 compatibility. Some 4.0 profiles are now are fully understood
(still experimental)
- Profiles can now be saved to memory (thanks to Steven Greaves for providing
the code)
- Char Target data are now handled. Some profiles does store the data
profiler has used. This is all information needed to rebuild the profile
from scratch.
- New low-resolution flag cmsFLAGS_LOWRESPRECALC to save memory.
- User-defined encodings are now supported.
- cmsChangeBuffersFormat() to change the encoding of buffers on runtime
allows reuse of existing transforms.
- Gamma estimation routines cmsEstimateGamma() and cmsEstimateGammaEx()
- multilocalized unicode is now supported. Language and codepage is
selected via cmsSetLanguage() (ICC 4.0 only)
- LUT handling has been enhanced with enumerators. (SAMPLER_INSPECT)
- Improved TIFFICC, JPEGICC and ICCTRANS utilities.
- cmsOpenProfileFromMem() no longer creates temporary files.
- Transforms does accept now a maximum of 8 channels on input and 16 on
output. (last version did accept 6 on input)
- 8 <-> 16 bits per sample are now always computed accurately.
- Some minor bugs fixed
2004-02-09 12:03:27 +00:00