From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 12 02:50:05 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 098621065678 for ; Fri, 12 Mar 2010 02:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BA73D8FC24 for ; Fri, 12 Mar 2010 02:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2C2o4NX003975 for ; Fri, 12 Mar 2010 02:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2C2o4YL003974; Fri, 12 Mar 2010 02:50:04 GMT (envelope-from gnats) Resent-Date: Fri, 12 Mar 2010 02:50:04 GMT Resent-Message-Id: <201003120250.o2C2o4YL003974@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EB4F106566B for ; Fri, 12 Mar 2010 02:43:30 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 0586C8FC08 for ; Fri, 12 Mar 2010 02:43:29 +0000 (UTC) Received: by bwz8 with SMTP id 8so686445bwz.3 for ; Thu, 11 Mar 2010 18:43:29 -0800 (PST) Received: by 10.204.48.214 with SMTP id s22mr3425012bkf.117.1268361808539; Thu, 11 Mar 2010 18:43:28 -0800 (PST) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id a11sm2866767bkc.21.2010.03.11.18.43.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Mar 2010 18:43:27 -0800 (PST) Received: by sunpoet.net (Postfix, from userid 1000) id A2E3B2AEC658; Fri, 12 Mar 2010 10:42:40 +0800 (CST) Message-Id: <20100312024240.A2E3B2AEC658@sunpoet.net> Date: Fri, 12 Mar 2010 10:42:40 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/144674: [NEW PORT] graphics/libpng: Official PNG reference library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2010 02:50:05 -0000 >Number: 144674 >Category: ports >Synopsis: [NEW PORT] graphics/libpng: Official PNG reference library >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 12 02:50:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 8.0-STABLE amd64 >Organization: SUNPOET.net >Environment: System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Feb 12 20:20:34 CST 2010 >Description: libpng is the official PNG reference library. It supports almost all PNG features, is extensible, and has been extensively tested for over 14 years. The home site for development versions (i.e., may be buggy or subject to change or include experimental features) is http://libpng.sourceforge.net/, and the place to go for questions about the library is the png-mng-implement mailing list. libpng is available as ANSI C (C89) source code and requires zlib 1.0.4 or later (1.2.3 recommended for performance and security reasons). The current public release, libpng 1.4.1, supports the PNG iTXt chunk, includes a new memory-limiting function to help protect against malicious images, fixes a small memory leak, and has significantly better performance when decoding highly compressed chunks. WWW: http://www.libpng.org/pub/png/libpng.html http://libpng.sourceforge.net/ Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- libpng-1.4.1.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libpng # libpng/files # libpng/files/patch-scripts-libpng.pc.in # libpng/files/patch-scripts-makefile.freebsd # libpng/files/patch-scripts-libpng-config-body.in # libpng/pkg-descr # libpng/Makefile # libpng/distinfo # libpng/pkg-plist # libpng/pkg-message # echo c - libpng mkdir -p libpng > /dev/null 2>&1 echo c - libpng/files mkdir -p libpng/files > /dev/null 2>&1 echo x - libpng/files/patch-scripts-libpng.pc.in sed 's/^X//' >libpng/files/patch-scripts-libpng.pc.in << 'd8285b84f80b20a3b654fd735c82d053' X--- scripts/libpng.pc.in.orig 2010-02-25 19:38:32.000000000 +0800 X+++ scripts/libpng.pc.in 2010-03-12 08:45:23.000000000 +0800 X@@ -1,10 +1,10 @@ X-prefix=@prefix@ X-exec_prefix=@exec_prefix@ X-libdir=@libdir@ X-includedir=@includedir@/libpng14 X+prefix=@PREFIX@ X+exec_prefix=${prefix} X+libdir=${prefix}/lib X+includedir=${prefix}/libpng14 X X Name: libpng X Description: Loads and saves PNG files X Version: 1.4.1 X-Libs: -L${libdir} -lpng14 X+Libs: -L${libdir} -lpng -lz -lm X Cflags: -I${includedir} d8285b84f80b20a3b654fd735c82d053 echo x - libpng/files/patch-scripts-makefile.freebsd sed 's/^X//' >libpng/files/patch-scripts-makefile.freebsd << 'd23d39327b1d8eabb6200aa09c0e3a42' X--- scripts/makefile.freebsd.orig 2010-02-25 19:38:32.000000000 +0800 X+++ scripts/makefile.freebsd 2010-03-12 08:45:23.000000000 +0800 X@@ -11,17 +11,21 @@ X LIB= png X SHLIB_MAJOR= ${SHLIB_VER} X SHLIB_MINOR= 0 X+.if (${OSVERSION} > 600007) X+NO_PROFILE= YES X+NO_OBJ= YES X+.else X NOPROFILE= YES X NOOBJ= YES X+.endif X X # where make install puts libpng.a and png.h X-DESTDIR= ${PREFIX} X-LIBDIR= /lib X+LIBDIR= ${PREFIX}/lib X INCS= png.h pngconf.h pngpriv.h X-INCSDIR= /include/libpng X+INCSDIR= ${PREFIX}/include/libpng X INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk X MAN= libpng.3 libpngpf.3 png.5 X-MANDIR= /man/man X+MANDIR= ${PREFIX}/man/man X SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \ X libpng/pngconf.h ${INCSDIR}/../pngconf.h X LDADD+= -lm -lz X@@ -45,4 +49,22 @@ X writelock: X chmod a-w *.[ch35] $(DOCS) scripts/* X X+libpng-config: X+ ( cat scripts/libpng-config-head.in; \ X+ echo prefix=\"${PREFIX}\"; \ X+ echo libdir=\"${LIBDIR}\"; \ X+ echo ccopts=\"${ccopts}\"; \ X+ echo cppflags=\"${cppflags}\"; \ X+ echo I_opts=\"-I${INCSDIR}\"; \ X+ echo L_opts=\"-L${LIBDIR}\"; \ X+ echo libs=\"-lpng -lz -lm\"; \ X+ echo ldopts=\"${ldopts}\"; \ X+ cat scripts/libpng-config-body.in ) > libpng-config X+ chmod +x libpng-config X+ X+beforeinstall: libpng-config X+ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ X+ libpng-config ${PREFIX}/bin X+ ln -fs libpng-config ${PREFIX}/bin/libpng14-config X+ X .include d23d39327b1d8eabb6200aa09c0e3a42 echo x - libpng/files/patch-scripts-libpng-config-body.in sed 's/^X//' >libpng/files/patch-scripts-libpng-config-body.in << '74339189a0284ba5bcd0230b41b87dd2' X--- scripts/libpng-config-body.in.orig 2002-09-18 12:05:43.000000000 +0800 X+++ scripts/libpng-config-body.in 2010-03-12 08:45:23.000000000 +0800 X@@ -77,8 +77,12 @@ X echo ${R_opts} X ;; X X+ --ldopts) X+ echo ${ldopts} X+ ;; X+ X --ldflags) X- echo ${ldflags} ${L_opts} ${R_opts} ${libs} X+ echo ${ldopts} ${L_opts} ${R_opts} ${libs} X ;; X X --static) 74339189a0284ba5bcd0230b41b87dd2 echo x - libpng/pkg-descr sed 's/^X//' >libpng/pkg-descr << 'ddda398383db611bf980d78a616fc3ce' Xlibpng is the official PNG reference library. It supports almost all PNG Xfeatures, is extensible, and has been extensively tested for over 14 years. XThe home site for development versions (i.e., may be buggy or subject to Xchange or include experimental features) is http://libpng.sourceforge.net/, Xand the place to go for questions about the library is the png-mng-implement Xmailing list. X Xlibpng is available as ANSI C (C89) source code and requires zlib 1.0.4 or Xlater (1.2.3 recommended for performance and security reasons). The current Xpublic release, libpng 1.4.1, supports the PNG iTXt chunk, includes a new Xmemory-limiting function to help protect against malicious images, fixes a Xsmall memory leak, and has significantly better performance when decoding Xhighly compressed chunks. X XWWW: http://www.libpng.org/pub/png/libpng.html X http://libpng.sourceforge.net/ ddda398383db611bf980d78a616fc3ce echo x - libpng/Makefile sed 's/^X//' >libpng/Makefile << '08757598f586b660c6566ef4728524c4' X# ex:ts=8 X# New ports collection makefile for: libpng 1.4.x X# Date created: 2010-03-10 X# Whom: Sunpoet Po-Chuan Hsieh X# X# $FreeBSD$ X# X XPORTNAME= libpng XPORTVERSION= 1.4.1 XCATEGORIES= graphics XMASTER_SITES= SF/${PORTNAME}/01-${PORTNAME}-master/${PORTVERSION} X XMAINTAINER= sunpoet@sunpoet.net XCOMMENT= Official PNG reference library X XALL_TARGET= all libpng-config test XCONFLICTS= libpng-1.[0-35-9]* png-1.2.* XMAKEFILE= ${WRKSRC}/scripts/makefile.freebsd XMAKE_FLAGS= ccopts="${CFLAGS}" ldopts="${LDFLAGS}" -f XMAKE_JOBS_SAFE= yes XUSE_BZIP2= yes XUSE_LDCONFIG= yes X XPNG_VER= 14 XSHLIB_VER= 14 XMAKE_ENV= SHLIB_VER="${SHLIB_VER}" XPLIST_SUB= PNG_VER="${PNG_VER}" SHLIB_VER="${SHLIB_VER}" X XMAN3= libpng.3 libpngpf.3 XMAN5= png.5 XMANCOMPRESSED= maybe X X.include X Xpost-extract: X# Please don't delete the following line - this link used by ghostscript* ports X @${LN} -fs ${WRKSRC} ${WRKDIR}/libpng X Xpre-su-install: X @${MKDIR} ${PREFIX}/include/libpng X @${MKDIR} ${PREFIX}/libdata/pkgconfig X Xpost-install: X @${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/scripts/libpng.pc.in \ X > ${WRKSRC}/scripts/libpng.pc X @${INSTALL_DATA} ${WRKSRC}/scripts/libpng.pc \ X ${PREFIX}/libdata/pkgconfig/libpng${PNG_VER}.pc X @${LN} -fs libpng${PNG_VER}.pc ${PREFIX}/libdata/pkgconfig/libpng.pc X @${CAT} ${PKGMESSAGE} X X.include 08757598f586b660c6566ef4728524c4 echo x - libpng/distinfo sed 's/^X//' >libpng/distinfo << 'ffbebe04fa8c37f865b34d5c300f27d4' XMD5 (libpng-1.4.1.tar.bz2) = e1767bf290ded9fda9ee05bd23ae4cff XSHA256 (libpng-1.4.1.tar.bz2) = bc03009c62c07fc08d1d91ba130c39dc99bef68b533cad4e846835d0bfc4ee5e XSIZE (libpng-1.4.1.tar.bz2) = 643261 ffbebe04fa8c37f865b34d5c300f27d4 echo x - libpng/pkg-plist sed 's/^X//' >libpng/pkg-plist << '4dbb013dcefff139ad1654c2ce8e844c' Xbin/libpng-config X@exec ln -fs %f %D/bin/libpng%%PNG_VER%%-config X@unexec rm -f %D/bin/libpng%%PNG_VER%%-config Xinclude/libpng/png.h X@exec ln -fs libpng/%f %D/include/%f X@unexec rm -f %D/include/%f Xinclude/libpng/pngconf.h X@exec ln -fs libpng/%f %D/include/%f X@unexec rm -f %D/include/%f Xinclude/libpng/pngpriv.h Xlib/libpng.a Xlib/libpng.so Xlib/libpng.so.%%SHLIB_VER%% Xlibdata/pkgconfig/libpng%%PNG_VER%%.pc X@exec ln -fs %f %D/libdata/pkgconfig/libpng.pc X@unexec rm -f %D/libdata/pkgconfig/libpng.pc X@dirrm include/libpng 4dbb013dcefff139ad1654c2ce8e844c echo x - libpng/pkg-message sed 's/^X//' >libpng/pkg-message << '01de370fc9342a0068849ae53f80f636' X----------------------------------------------------------------------------- XRegarding the differences between libpng 1.2.x and libpng 1.4.x, please read Xthe announcement at http://libpng.sourceforge.net/ANNOUNCE-1.4.1.txt. X----------------------------------------------------------------------------- 01de370fc9342a0068849ae53f80f636 exit --- libpng-1.4.1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: