From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 2 11:50:06 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08C20106566B for ; Sun, 2 May 2010 11:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id C0E518FC17 for ; Sun, 2 May 2010 11:50:05 +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 o42Bo57A001100 for ; Sun, 2 May 2010 11:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o42Bo5i4001099; Sun, 2 May 2010 11:50:05 GMT (envelope-from gnats) Resent-Date: Sun, 2 May 2010 11:50:05 GMT Resent-Message-Id: <201005021150.o42Bo5i4001099@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, Anonymous Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBA1A1065674 for ; Sun, 2 May 2010 11:47:22 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 2F8018FC08 for ; Sun, 2 May 2010 11:47:21 +0000 (UTC) Received: by bwz8 with SMTP id 8so922592bwz.3 for ; Sun, 02 May 2010 04:47:12 -0700 (PDT) Received: by 10.204.45.207 with SMTP id g15mr3721164bkf.210.1272800829908; Sun, 02 May 2010 04:47:09 -0700 (PDT) Received: from localhost (95-26-245-70.broadband.corbina.ru [95.26.245.70]) by mx.google.com with ESMTPS id 14sm1285373bwz.14.2010.05.02.04.47.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 02 May 2010 04:47:09 -0700 (PDT) Message-Id: <86sk6awms1.fsf@gmail.com> Date: Sun, 02 May 2010 15:44:46 +0400 From: Anonymous To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/146233: [new port] graphics/apngasm 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: Sun, 02 May 2010 11:50:06 -0000 >Number: 146233 >Category: ports >Synopsis: [new port] graphics/apngasm >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: Sun May 02 11:50:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: Lightweight tool for creating APNG files. >How-To-Repeat: >Fix: --- a.diff begins here --- Index: graphics/Makefile =================================================================== RCS file: /a/.cvsup/ports/graphics/Makefile,v retrieving revision 1.1322 diff -u -p -r1.1322 Makefile --- graphics/Makefile 26 Apr 2010 19:27:01 -0000 1.1322 +++ graphics/Makefile 2 May 2010 11:39:36 -0000 @@ -31,6 +31,7 @@ SUBDIR += animorph SUBDIR += aoi SUBDIR += aolserver-nsgd + SUBDIR += apngasm SUBDIR += aqsis SUBDIR += asciio SUBDIR += autopano-sift Index: graphics/apngasm/Makefile =================================================================== RCS file: graphics/apngasm/Makefile diff -N graphics/apngasm/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ graphics/apngasm/Makefile 2 May 2010 11:37:24 -0000 @@ -0,0 +1,31 @@ +# New ports collection makefile for: apngasm +# Date created: 02 May 2010 +# Whom: Anonymous +# +# $FreeBSD$ +# + +PORTNAME= apngasm +PORTVERSION= 2.0 +DISTVERSIONSUFFIX=-src +CATEGORIES= graphics +MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} + +MAINTAINER= swell.k@gmail.com +COMMENT= Create Animated PNG from a sequence of files + +LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png + +USE_ZIP= yes +EXTRACT_AFTER_ARGS=-d ${WRKSRC} +USE_DOS2UNIX= yes +PLIST_FILES= bin/${PORTNAME} + +ALL_TARGET= ${PORTNAME} +MAKEFILE= /dev/null +CFLAGS+= -I${LOCALBASE}/include -lpng -lz -L${LOCALBASE}/lib + +do-install: .SILENT + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + +.include Index: graphics/apngasm/distinfo =================================================================== RCS file: graphics/apngasm/distinfo diff -N graphics/apngasm/distinfo --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ graphics/apngasm/distinfo 2 May 2010 10:41:22 -0000 @@ -0,0 +1,3 @@ +MD5 (apngasm-2.0-src.zip) = eacbeb064219c6e7fe490abe788ab385 +SHA256 (apngasm-2.0-src.zip) = cc8c33c42115273dc63b7763f8c0b3ab5ec891420fb3ad794b44ade104118c19 +SIZE (apngasm-2.0-src.zip) = 6807 Index: graphics/apngasm/pkg-descr =================================================================== RCS file: graphics/apngasm/pkg-descr diff -N graphics/apngasm/pkg-descr --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ graphics/apngasm/pkg-descr 2 May 2010 11:28:48 -0000 @@ -0,0 +1,4 @@ +Standalone version of the popular APNG Assembler. Simple command-line +interface. No size limits. + +WWW: http://sourceforge.net/projects/apngasm/ Index: graphics/apngasm/files/patch-bswap =================================================================== RCS file: graphics/apngasm/files/patch-bswap diff -N graphics/apngasm/files/patch-bswap --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ graphics/apngasm/files/patch-bswap 2 May 2010 11:38:21 -0000 @@ -0,0 +1,13 @@ +--- apngasm.c~ ++++ apngasm.c +@@ -39,6 +39,10 @@ inline unsigned int swap32(unsigned int + #include + inline unsigned short swap16(unsigned short data) {return(bswap_16(data));} + inline unsigned int swap32(unsigned int data) {return(bswap_32(data));} ++#elif defined(__FreeBSD__) ++#include ++inline unsigned short swap16(unsigned short data) {return(bswap16(data));} ++inline unsigned int swap32(unsigned int data) {return(bswap32(data));} + #else + inline unsigned short swap16(unsigned short data) {return((data >> 8) | (data << 8));} + inline unsigned int swap32(unsigned int data) {return((swap16(data) << 16) | swap16(data >> 16));} --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: