Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2002 20:47:17 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tilman@arved.de
Subject:   ports/38464: New Port graphics/metapixel: a photomosaic generator 
Message-ID:  <200205231847.g4NIlHjY084023@tl.kom.tuwien.ac.at>

next in thread | raw e-mail | index | archive | help

>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 <freebsdports@arved.de>
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 <bsd.port.mk>
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 <schani@complang.tuwien.ac.at>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205231847.g4NIlHjY084023>