From owner-freebsd-ports Thu May 23 11:50:34 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A655337B41A for ; Thu, 23 May 2002 11:50:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4NIo6X74716; Thu, 23 May 2002 11:50:06 -0700 (PDT) (envelope-from gnats) Received: from tl.kom.tuwien.ac.at (tl.kom.tuwien.ac.at [128.130.34.35]) by hub.freebsd.org (Postfix) with ESMTP id AB96537B411 for ; Thu, 23 May 2002 11:42:17 -0700 (PDT) Received: from tl.kom.tuwien.ac.at (localhost [127.0.0.1]) by tl.kom.tuwien.ac.at (8.12.2/8.12.2) with ESMTP id g4NIlHTc084024; Thu, 23 May 2002 20:47:18 +0200 (CEST) (envelope-from tilman@tl.kom.tuwien.ac.at) Received: (from tilman@localhost) by tl.kom.tuwien.ac.at (8.12.2/8.12.2/Submit) id g4NIlHjY084023; Thu, 23 May 2002 20:47:17 +0200 (CEST) Message-Id: <200205231847.g4NIlHjY084023@tl.kom.tuwien.ac.at> Date: Thu, 23 May 2002 20:47:17 +0200 (CEST) From: Tilman Linneweh Reply-To: Tilman Linneweh To: FreeBSD-gnats-submit@FreeBSD.org Cc: tilman@arved.de X-Send-Pr-Version: 3.113 Subject: ports/38464: New Port graphics/metapixel: a photomosaic generator Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38464 >Category: ports >Synopsis: New Port graphics/metapixel: a photomosaic generator >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 23 11:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Tilman Linneweh >Release: FreeBSD 4.6-PRERELEASE i386 >Organization: Vienna University of Technology >Environment: System: FreeBSD tl.kom.tuwien.ac.at 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #1: Fri May 3 16:38:54 CEST 2002 tilman@tl.kom.tuwien.ac.at:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: Metapixel is a program for generating photomosaics. It can generate classical photomosaics, in which the source image is viewed as a matrix of equally sized rectangles for each of which a matching image is substitued, as well as collage-style photomosaics, in which rectangular parts of the source image at arbitrary positions (i.e. not aligned to a matrix) are substituted by matching images. >How-To-Repeat: >Fix: # 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: # # . # ./Makefile # ./files # ./files/patch-Makefile # ./files/patch-metapixel.c # ./pkg-plist # ./pkg-comment # ./distinfo # ./pkg-descr # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# Ports collection makefile for: metapixel X# Date created: 2002-05-23 X# Whom: Tilman Linneweh X# X# $FreeBSD$ X XPORTNAME= metapixel XPORTVERSION= 0.7 XCATEGORIES= graphics XMASTER_SITES= http://www.complang.tuwien.ac.at/~schani/metapixel/ X XMAINTAINER= freebsdports@arved.de X XLIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ X jpeg.9:${PORTSDIR}/graphics/jpeg \ X gnugetopt.1:${PORTSDIR}/devel/libgnugetopt X XUSE_GMAKE= yes X Xpost-patch: X @${RM} ${WRKSRC}/getopt.h X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/metapixel ${LOCALBASE}/bin X @${INSTALL_SCRIPT} ${WRKSRC}/metapixel-prepare ${LOCALBASE}/bin X X.include END-of-./Makefile echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-Makefile sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile' X--- Makefile.orig Fri Jan 21 23:32:17 2000 X+++ Makefile Thu May 23 19:33:16 2002 X@@ -1,15 +1,17 @@ X-PREFIX = /usr/local X-INSTALL = install X+#PREFIX = /usr/local X+#INSTALL = install X X BINDIR = $(PREFIX)/bin X X VERSION = 0.7 X X #PROFILE = -pg X+CFLAGS+= -I/usr/local/include X+LDFLAGS+= -L/usr/local/lib X X-LDOPTS = -L/usr/X11R6/lib $(PROFILE) X-CCOPTS = -I/usr/X11R6/include -I/usr/X11R6/include/X11 -Wall -O9 $(PROFILE) -DMETAPIXEL_VERSION=\"$(VERSION)\" X-CC = gcc X+LDOPTS = $(LDFLAGS) -L/usr/X11R6/lib $(PROFILE) X+CCOPTS = $(CFLAGS) -I/usr/X11R6/include -I/usr/X11R6/include/X11 -Wall -O9 $(PROFILE) -DMETAPIXEL_VERSION=\"$(VERSION)\" X+#CC = gcc X #LIBFFM = -lffm X X OBJS = metapixel.o vector.o rwpng.o rwjpeg.o readimage.o writeimage.o getopt.o getopt1.o END-of-./files/patch-Makefile echo x - ./files/patch-metapixel.c sed 's/^X//' >./files/patch-metapixel.c << 'END-of-./files/patch-metapixel.c' X--- metapixel.c.orig Thu May 23 19:25:52 2002 X+++ metapixel.c Thu May 23 19:26:41 2002 X@@ -1127,7 +1127,7 @@ X break; X X case 256 : X- printf("metapixel " METAPIXEL_VERSION "\n" X+ printf("metapixel \n" X "\n" X "Copyright (C) 1997-2000 Mark Probst\n" X "\n" END-of-./files/patch-metapixel.c echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xbin/metapixel Xbin/metapixel-prepare END-of-./pkg-plist echo x - ./pkg-comment sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment' XMetapixel is a program for generating photomosaics END-of-./pkg-comment echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (metapixel-0.7.tar.gz) = ffb60f432e8a4c85432f572cbd265aff END-of-./distinfo echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XMetapixel is a program for generating photomosaics. It can Xgenerate classical photomosaics, in which the source image is Xviewed as a matrix of equally sized rectangles for each of which Xa matching image is substitued, as well as collage-style Xphotomosaics, in which rectangular parts of the source image at Xarbitrary positions (i.e. not aligned to a matrix) are Xsubstituted by matching images. X XAuthor: Mark Propst XWWW: http://www.complang.tuwien.ac.at/~schani/metapixel/ X X- Tilman Linneweh Xfreebsdports@arved.de END-of-./pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message