summaryrefslogtreecommitdiff
path: root/graphics/png
AgeCommit message (Collapse)AuthorFilesLines
2007-01-06Update to 1.2.15:wiz3-45/+6
version 1.2.15beta1 [December 3, 2006] Generated configure with autoconf-2.61 instead of 2.60 Revised configure.ac to update libpng.pc and libpng-config. version 1.2.15beta2 [December 3, 2006] Always export MMX asm functions, just stubs if not building pnggccrd.c version 1.2.15beta3 [December 4, 2006] Add "png_bytep" typecast to profile while calculating length in pngwutil.c version 1.2.15beta4 [December 7, 2006] Added scripts/CMakeLists.txt Changed PNG_NO_ASSEMBLER_CODE to PNG_NO_MMX_CODE in scripts, like 1.4.0beta version 1.2.15beta5 [December 7, 2006] Changed some instances of PNG_ASSEMBLER_* to PNG_MMX_* in pnggccrd.c Revised scripts/CMakeLists.txt version 1.2.15beta6 [December 13, 2006] Revised scripts/CMakeLists.txt and configure.ac version 1.2.15rc1 [December 18, 2006] Revised scripts/CMakeLists.txt version 1.2.15rc2 [December 21, 2006] Added conditional #undef jmpbuf in pngtest.c to undo #define in AIX headers. Added scripts/makefile.nommx version 1.2.15rc3 [December 25, 2006] Fixed shared library numbering error that was intruduced in 1.2.15beta6. version 1.2.15rc4 [December 27, 2006] Fixed handling of rgb_to_gray when png_ptr->color.gray isn't set. version 1.2.15rc5 [December 31, 2006] Revised handling of rgb_to_gray. version 1.2.15 [January 5, 2007] Added some (unsigned long) typecasts in pngtest.c to avoid printing errors.
2007-01-03Fixed pkglint warnings.rillig2-9/+8
2007-01-03Include bsd.fast.prefs.mk before accessing OPSYS.joerg1-1/+2
2007-01-03Don't allow "ld --version-script" on Interix. Fixes PR pkg/35210.tv4-4/+24
Based on patch idea from Aleksey Cheusov <cheusov@tut.by>. (Sanity tested for breakage on a non-Interix platform, NetBSD.)
2006-12-12Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.joerg1-2/+2
The redundant parsing of bsd.prefs.mk is mostly avoided now and parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-11-30put the distfile into a subdir to avoid conflicts with the old version,drochner2-5/+7
from Joerg Sonnenberger
2006-11-29distfile was changed after release; the only change is a little Makefiledrochner1-4/+4
fix which doesn't affect pkgsrc closes PR pkg/35152 by Ryo HAYASAKA
2006-11-28update to 1.2.14drochner3-13/+11
changes: -Relocated three misplaced tests for NULL png_ptr -build fixes
2006-11-18Update png to 1.2.13 (it fixes CVE-2006-5793).taca2-6/+6
version 1.2.13beta1 [October 2, 2006] Removed AC_FUNC_MALLOC from configure.ac Work around Intel-Mac compiler bug by setting PNG_NO_MMX_CODE in pngconf.h Change "logical" to "bitwise" throughout documentation. Detect and fix attempt to write wrong iCCP profile length. version 1.0.21, 1.2.13 [November 15, 2006] Fix potential buffer overflow in sPLT chunk handler. Fix Makefile.am to not try to link to noexistent files. Check all exported functions for NULL png_ptr.
2006-11-02DESTDIR support.joerg1-1/+2
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
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-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-07-07The TEST_TARGET "test" does not exist anymore. It is called "check" now.rillig1-2/+2
2006-06-29Update png to 1.2.12, for security fixes. ok schmonz@, jlam@.wiz2-6/+6
version 1.2.11beta1 [May 31, 2006] scripts/libpng.pc.in contained "configure" style version info and would not work with makefiles. The shared-library makefiles were linking to libpng.so.0 instead of libpng.so.3 compatibility as the library. version 1.2.11beta2 [June 2, 2006] Increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid buffer overflow. Fixed bug in example.c (png_set_palette_rgb -> png_set_palette_to_rgb) version 1.2.11beta3 [June 5, 2006] Prepended "#! /bin/sh" to ltmail.sh and contrib/pngminus/*.sh (Cosmin). Removed the accidental leftover Makefile.in~ (Cosmin). Avoided potential buffer overflow and optimized buffer in png_write_sCAL(), png_write_sCAL_s() (Cosmin). Removed the include directories and libraries from CFLAGS and LDFLAGS in scripts/makefile.gcc (Nelson A. de Oliveira, Cosmin). version 1.2.11beta4 [June 6, 2006] Allow zero-length IDAT chunks after the entire zlib datastream, but not after another intervening chunk type.
2006-05-17Update to 1.2.10:wiz5-34/+28
Package change: install old compat library as libpngcompat (pkgsrc specific, will probably be changed in the future). Makes package handling quite a bit easier. version 1.2.10beta1 [April 15, 2006] Renamed "config.h" to "png_conf.h" and revised Makefile.am to add -DPNG_BUILDING_LIBPNG to compile directive, and modified pngconf.h to include png_conf.h only when PNG_BUILDING_LIBPNG is defined. version 1.2.10beta2 [April 15, 2006] Manually updated Makefile.in and configure. Changed png_conf.h.in back to config.h. version 1.2.10beta3 [April 15, 2006] Change png_conf.h back to config.h in pngconf.h. version 1.2.10beta4 [April 16, 2006] Change PNG_BUILDING_LIBPNG to PNG_CONFIGURE_LIBPNG in config/Makefile*. version 1.2.10beta5 [April 16, 2006] Added a configure check for compiling assembler code in pnggccrd.c version 1.2.10beta6 [April 17, 2006] Revised the configure check for pnggccrd.c Moved -DPNG_CONFIGURE_LIBPNG into @LIBPNG_DEFINES@ Added @LIBPNG_DEFINES@ to arguments when building libpng.sym version 1.2.10beta7 [April 18, 2006] Change "exec_prefix=$prefix" to "exec_prefix=$(prefix)" in makefiles. version 1.2.10rc1 [April 19, 2006] Ensure pngconf.h doesn't define both PNG_USE_PNGGCCRD and PNG_USE_PNGVCRD Fixed "LN_FS" typo in makefile.sco and makefile.solaris. version 1.2.10rc2 [April 20, 2006] Added a backslash between -DPNG_CONFIGURE_LIBPNG and -DPNG_NO_ASSEMBLER_CODE in configure.ac and configure Made the configure warning about versioned symbols less arrogant. version 1.2.10rc3 [April 21, 2006] Added a note in libpng.txt that png_set_sig_bytes(8) can be used when writing an embedded PNG without the 8-byte signature. Revised makefiles and configure to avoid making links to libpng.so.* version 1.2.10 [April 23, 2006] Reverted configure to "rc2" state.
2006-05-09Propagate PNG_NO_ASSEMBLER_CODE to dependencies.wiz2-3/+9
This should fix PR 33325 (ImageMagick not building on amd64).
2006-04-22Only use assembler code on i386. Fixes amd64 build and PR 33331 by Ben Collver.wiz1-1/+7
2006-04-17Update to 1.2.9nb2 (hopefully final update for this weekend):wiz4-17/+11
. add rpath to libpng-config output . link against libpng12 (instead of libpng) in all cases. The latter causes shlib dependency changes, so update BUILDLINK_ABI_DEPENDS.png.
2006-04-17Extend ".la" file hack to make it work under Mac OS X (Darwin), too.tron1-1/+2
2006-04-16Update to 1.2.9nb1:wiz6-113/+38
. pngconf.h included "config.h" if HAVE_CONFIG_H is defined -- really not a good idea, patch it out. broke at least libwmf, reported by veego@ . install some libpng12 files -- IIUC, libpng12* is the future and libpng* is becoming obsolete -- at least according to the wishes of the authors. Don't follow this completely yet, but still patch the pkg-config file to link against -lpng instead of -lpng12, which would require a recursive PKGREVISION bump. We should probably do this at some future time. . switch pkgconfig file to look for headers in include/libpng12 -- the headers still exist in include/ for backwards compatibility. . switch to using GNU_CONFIGURE and the included libtool handling instead of patching in our own into a Makefile. Gets rid of patches and pkgsrc Makefile code.
2006-04-16Update to 1.2.9:wiz6-49/+59
Changes since the last public release (1.2.8): version 1.2.9 [April 14, 2006] Initialized some structure members in pngwutil.c to avoid gcc-4.0.0 complaints Fixed an incorrect typecast in pngrutil.c Added PNG_NO_READ_SUPPORTED conditionals for making a write-only library. Added PNG_NO_WRITE_INTERLACING_SUPPORTED conditional. Optimized alpha-inversion loops in pngwtran.c Moved test for nonzero gamma outside of png_build_gamma_table() in pngrtran.c Make sure num_trans is <= 256 before copying data in png_set_tRNS(). Make sure num_palette is <= 256 before copying data in png_set_PLTE(). Interchanged order of write_swap_alpha and write_invert_alpha transforms. Added parentheses in the definition of PNG_LIBPNG_BUILD_TYPE (Cosmin). Exported png_get_uint_32, png_save_uint_32, png_get_uint_16, png_save_uint_16, png_get_int_32, png_save_int_32, png_get_uint_31 (Cosmin). Added parentheses in the definition of PNG_LIBPNG_BUILD_TYPE (Cosmin). Added type cast (png_byte) in png_write_sCAL() (Cosmin). Fixed scripts/makefile.cygwin (Cosmin). Updated scripts/makefile.bc32 for Borland C++ 5.6 (Cosmin). Updated scripts/pngos2.def, scripts/pngw32.def (Cosmin). Updated references to png-mng-implement mailing list. Revised man page and libpng.txt to make it clear that one should not call png_read_end or png_write_end after png_read_png or png_write_png. Optimized zlib window flag (CINFO) in contrib/pngsuite/*.png (Cosmin). Check for png_rgb_to_gray and png_gray_to_rgb read transformations before checking for png_read_dither in pngrtran.c Revise checking of chromaticity limits to accommodate extended RGB colorspace (John Denker). Changed line endings in some of the project files to CRLF, even in the "Unix" tar distributions (Cosmin). Make png_get_int_32 and png_save_int_32 always available (Cosmin). Updated scripts/pngos2.def, scripts/pngw32.def and projects/wince/png32ce.def with the newly exported functions. Eliminated distributions without the "configure" script. Updated INSTALL instructions. Make libpng.pc respect EXEC_PREFIX (D.P.Kreil) Remove reference to pngasmrd.h from Makefile.am Change definition of PKGCONFIG from $prefix/lib to $libdir in configure.ac Removed newline from the end of some error and warning messages. Removed test for sqrt() from configure.ac and configure. Made swap tables in pngtrans.c PNG_CONST (Carlo Bramix). Added "OS2" to list of systems that don't need underscores, in pnggccrd.c Removed libpng version and date from *.c files. Removed trailing blanks from source files. Put version and date of latest change in each source file, and changed copyright year accordingly. Restored scripts/makefile.elf which was inadvertently deleted. Removed libpng.vers and libpng.sym from libpng12_la_SOURCES in Makefile.am Fixed inconsistent #ifdef's around png_sig_bytes() and png_set_sCAL_s() in png.h. Updated makefile.elf as suggested by debian. Added LN_SF, MKDIR_P, and other macros to some of the makefiles. Made some makefiles accept "exec_prefix". Simplified some makefiles by using LIBSO, LIBSOMAJ, and LIBSOVER macros. Fixed some "#ifdef defined (..." which should be "#ifdef defined(..." Bug introduced in libpng-1.2.8. Fixed inconsistency in definition of png_default_read_data() Revised calculation of "current" and "major" for irix in ltmain.sh Separated PNG_EXPAND and PNG_EXPAND_tRNS. Added png_set_expand_gray_1_2_4_to_8() and deprecated png_set_gray_1_2_4_to_8() which also expands tRNS to alpha. Include "config.h" in pngconf.h when available. Added some checks for NULL png_ptr or NULL info_ptr (Coverity) Made pnggccrd.c PIC-compliant (Christian Aichinger). Added makefile.mingw (Wolfgang Glas) Revised pngconf.h MMX checking. Defined PNG_USER_PRIVATEBUILD when including "pngusr.h" (Cosmin). Removed nonsensical assertion check from pngtest.c (Cosmin). Revised makefile.beos and added "none" selector in ltmain.sh
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
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).
2005-12-27Honor PKGMANDIR.reed1-5/+5
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-5/+5
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-11-04Replaced the "!" in the sed expression with a ",". This might have beenrillig1-2/+2
the cause for PR 31953, but I'm not sure. At least, "!" is some special character for the shell whereas "," is not.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digestsagc1-1/+2
2004-12-05Update to 1.2.8:wiz4-13/+13
Changes since the last public release (1.2.7): Fixed bug in png_text_compress() that would fail to complete a large block. Fixed bug, introduced in libpng-1.2.7, that overruns a buffer during strip alpha operation in png_do_strip_filler(). Added PNG_1_2_X definition in pngconf.h #ifdef out png_info_init in png.c and png_read_init in pngread.c (as of 1.3.0) Reduce color_type to a nonalpha type after strip alpha operation in png_do_strip_filler(). Revised definitions of PNG_MAX_UINT_32, PNG_MAX_SIZE, and PNG_MAXSUM Fixed (again) definition of PNG_LIBPNG_VER_DLLNUM in png.h (Cosmin). Added PNG_LIBPNG_BUILD_PRIVATE in png.h (Cosmin). Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection of data type in deflate (Cosmin). Deprecated but continue to support SPECIALBUILD and PRIVATEBUILD in favor of PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING. Despammed mailing addresses by masking "@" with "at". Added scripts/makefile.elf with supporting code in pngconf.h for symbol versioning (John Bowler). Added projects/visualc71 (Simon-pierre).
2004-10-15Changes 1.2.7:adam3-11/+10
* Removed unused pngasmrd.h file. * Removed references to uu.net for archived files. Added references to PNG Spec (second edition) and the PNG ISO/IEC Standard. * Added "test-dd" target in 15 makefiles, to run pngtest in DESTDIR. * Fixed bug with "optimized window size" in the IDAT datastream, that causes libpng to write PNG files with incorrect zlib header bytes. * Fixed bug with sCAL chunk and big-endian machines (David Munro). * Undid new code added in 1.2.6rc2 to update the color_type in png_set_filler(). * Added png_set_add_alpha() that updates color type. * Revised png_set_strip_filler() to not remove alpha if color_type has alpha. * Added makefile.hp64 * Changed projects/msvc/png32ms.def to scripts/png32ms.def in makefile.cygwin
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-3/+4
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-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam2-8/+2
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-08-24Revert the BUILDLINK_DEPENDS.png back to previous value (1.2.4)reed1-2/+2
because no ABI change or soname changes. It is important to note that because of the fixed *_RECOMMENDED mechanism, that 1.2.6rc2 will be the default version required.
2004-08-17update to 1.2.6 (first official release after the recentdrochner4-31/+20
security fixes) changes: version 1.2.6rc3 [August 9, 2004] Eliminated use of "abs()" in testing cHRM and gAMA values, to avoid trouble with some 64-bit compilers. Created PNG_OUT_OF_RANGE() macro. Revised documentation of png_set_keep_unknown_chunks(). Check handle_as_unknown status in pngpread.c, as in pngread.c previously. Moved "PNG_HANDLE_CHUNK_*" macros out of PNG_INTERNAL section of png.h Added "rim" definitions for CONST4 and CONST6 in pnggccrd.c version 1.2.6rc4 [August 10, 2004] Fixed mistake in pngtest.c introduced in 1.2.6rc2 (declaration of "pinfo" was out of place). version 1.2.6rc5 [August 10, 2004] Moved "PNG_HANDLE_CHUNK_*" macros out of PNG_ASSEMBLER_CODE_SUPPORTED section of png.h where they were inadvertently placed in version rc3. version 1.2.6rc6 [August 15, 2004] Revised pngtest so memory allocation testing is only done when PNG_DEBUG==1.
2004-08-13Drop whitespace at EOL.wiz1-2/+2
2004-08-09Convert a C99-ism to C89 to make this build with gcc 2.95.kristerw2-8/+19
This fixes PR 26602 submitted by Hauke Fath.
2004-08-09update to libpng-1.2.6rc2recht5-20/+22
changes: version 1.2.6rc2 [August 8, 2004] Revised makefile.darwin and makefile.solaris. Removed makefile.macosx. Revised pngtest's png_debug_malloc() to use png_malloc() instead of png_malloc_default() which is not supposed to be exported. Fixed off-by-one error in one of the conversions to PNG_ROWBYTES() in pngpread.c. Bug was introduced in 1.2.6rc1. Fixed bug in RGB to RGBX transformation introduced in 1.2.6rc1. Fixed old bug in RGB to Gray transformation. Fixed problem with 64-bit compilers by casting arguments to abs() to png_int_32. Changed "ln -sf" to "ln -f -s" in three makefiles (solaris, sco, so9). Changed "HANDLE_CHUNK_*" to "PNG_HANDLE_CHUNK_*" (Cosmin) Added "-@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGMAJ)" to 15 *NIX makefiles. Added code to update the row_info->colortype in png_do_read_filler() (MSB).
2004-08-06require >=1.2.6rc1 to force updatesdrochner1-2/+2
2004-08-06update to 1.2.6rc1,drochner6-100/+20
fixes some security issues, see http://scary.beasts.org/security/CESA-2004-001.txt
2004-07-10Fix path to pkgconfig file in PKGCONFIG_OVERRIDE.wiz1-3/+3
Bump PKGREVISION, since now the pkgconfig file contains the right rpath.
2004-07-06Unused.wiz1-22/+0
2004-05-10Don't read past the end of the error message string. This patch wasfredb4-6/+36
posted to png-implement by Glenn Randers-Pherson, libpng's maintainer. This error was widely reported as "security issue", http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0421 even though there is no security issue. The most the error could do is SIGSEGV, and that only with some fairly uncommon circumstances. The patch posted with the advisory is in fact flawed, in that it calls strlen() on presumably arbitrary data. Bump PKGREVISION.
2004-04-27Convert INSTALL_SCRIPT to INSTALL_LIB.tv2-4/+4
2004-04-27Shared objects must be installed as executable on some platforms. Converttv3-6/+6
BSD_INSTALL_DATA to BSD_INSTALL_SCRIPT.
2004-03-30Create pkgconfig directory before installing libpng12.pc. Noted byminskim1-2/+2
Cesar Catrian C. in PR pkg/24974.
2004-03-30Fix pngconf.h on Linux systems. From Michal Pasternak in PR 24581.wiz2-1/+17
Ride yesterday's PKGREVISION bump for this one.
2004-03-29Bump PKGREVISION for pkgconfig file addition.wiz1-2/+2
2004-03-29Install lib/pkgconfig/libpng12.pc, otherwise "pkg-config --list-all" willben4-3/+27
fail with an error if imlib2 is installed.
2004-03-19Backing out PNG patch that installed lib/pkgconfig/libpng12.pc because itben2-8/+2
was done incorrectly and because it was disruptive to the pkgsrc freeze. Will fix this correctly after the freeze is finished.
2004-03-18Install lib/pkgconfig/libpng12.pc, otherwise "pkgconfig --list-all" willben2-2/+8
fail with an error if imlib2 is installed.
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam1-3/+2
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.