From owner-freebsd-ports Sun Oct 17 13:30:27 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 163E81511C for ; Sun, 17 Oct 1999 13:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA38315; Sun, 17 Oct 1999 13:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mayn.de (airbus.mayn.de [194.145.150.13]) by hub.freebsd.org (Postfix) with SMTP id 4A57B1511C for ; Sun, 17 Oct 1999 13:22:38 -0700 (PDT) (envelope-from treif@mayn.de) Received: (qmail 13240 invoked from network); 17 Oct 1999 20:22:19 -0000 Received: from comppp-049.wuerzburg.dialin.mayn.de (HELO mayn.de) (194.145.151.113) by airbus.mayn.de with SMTP; 17 Oct 1999 20:22:19 -0000 Message-Id: <380A0CBF.F4691146@mayn.de> Date: Sun, 17 Oct 1999 19:51:59 +0200 From: Tobias Reifenberger To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14379: New Port: graphics/xmrm Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14379 >Category: ports >Synopsis: New Port: graphics/xmrm >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: Sun Oct 17 13:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Tobias Reifenberger >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: This is a port for XMRM (X Multi Resolution image Metamorphosis) - a morphing/warping program like xmorph. It's easy to use and has some nice features (e.g. MPEG Video creation). >Description: >How-To-Repeat: >Fix: --------------8648393257C86D7DE634566B Content-Type: application/x-shar; name="port.xmrm-171099.shar" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="port.xmrm-171099.shar" # 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: # # xmrm # xmrm/Makefile # xmrm/patches # xmrm/patches/patch-aa # xmrm/patches/patch-ab # xmrm/patches/patch-ac # xmrm/patches/patch-ad # xmrm/files # xmrm/files/md5 # xmrm/pkg # xmrm/pkg/PLIST # xmrm/pkg/COMMENT # xmrm/pkg/DESCR # echo c - xmrm mkdir -p xmrm > /dev/null 2>&1 echo x - xmrm/Makefile sed 's/^X//' >xmrm/Makefile << 'END-of-xmrm/Makefile' X# New ports collection makefile for: xmrm X# Version required: 2.0 X# Date created: Sa 01 May 1999 15:00:00 MET X# Whom: Tobias Reifenberger X# X# $FreeBSD$ X# X XDISTNAME= xmrm20_sources XPKGNAME= xmrm-2.0 XCATEGORIES= graphics XMASTER_SITES= ftp://ftp.cg.tuwien.ac.at/pub/linux/xmrm \ X ftp://ftp.uni-passau.de/mount/common.lib.archive.unix/Graphic/xmrm XEXTRACT_SUFX= .tgz X XMAINTAINER= treif@mayn.de X XRUN_DEPENDS= mpeg:${PORTSDIR}/graphics/mpeg XLIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms \ X Xpm.4:${PORTSDIR}/graphics/xpm X XWRKSRC= ${WRKDIR} X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/xmrm ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/xmrm_mpeg ${PREFIX}/bin X X.include END-of-xmrm/Makefile echo c - xmrm/patches mkdir -p xmrm/patches > /dev/null 2>&1 echo x - xmrm/patches/patch-aa sed 's/^X//' >xmrm/patches/patch-aa << 'END-of-xmrm/patches/patch-aa' Xdiff -u ../xmrm.orig/Makefile ./Makefile X--- ../xmrm.orig/Makefile Tue Mar 10 00:00:00 1998 X+++ ./Makefile Sat Sep 11 13:28:02 1999 X@@ -16,8 +16,8 @@ X # X ############################################################################## X X-CPP = g++ X-CC = gcc X+CPP = c++ X+CC = cc X X # -c: don't link yet X # -g: produce debugging-information, don't use together with link_flag -s X@@ -29,14 +29,14 @@ X #COMPILE_FLAGS = -O3 -m486 -c X X # -O: normal optimization level -c: don't link yet X-COMPILE_FLAGS = -O -c X+COMPILE_FLAGS = ${CFLAGS} -I${PREFIX}/include -I${X11BASE}/include -c X X # -s: DESTROYS symbol-table X-LINK_FLAGS = -s X+#LINK_FLAGS = -s X X X-SYSLIB = -L/usr/X11R6/lib -lX11 -lm X-LIBS = -L/usr/lib -ltiff -ljpeg -lgz -lforms -lXpm $(SYSLIB) X+SYSLIB = -L${X11BASE}/lib -lX11 -lm X+LIBS = -L${PREFIX}/lib -ltiff -ljpeg -lz -lxforms -lXpm $(SYSLIB) X X OBJECTS = xmrm.o xmrm_cb.o io.o morphvec.o init.o wavemorph.o wave_rts.o wave.o\ X areas.o xmrm_main.o END-of-xmrm/patches/patch-aa echo x - xmrm/patches/patch-ab sed 's/^X//' >xmrm/patches/patch-ab << 'END-of-xmrm/patches/patch-ab' Xdiff -u ../xmrm.orig/const.h ./const.h X--- ../xmrm.orig/const.h Tue Mar 10 00:00:00 1998 X+++ ./const.h Fri Apr 23 15:46:03 1999 X@@ -3,7 +3,7 @@ X // Programming: Gerhard Waldh^vr, Andreas Artmann X X #include X-#include X+#include X #include X #include X END-of-xmrm/patches/patch-ab echo x - xmrm/patches/patch-ac sed 's/^X//' >xmrm/patches/patch-ac << 'END-of-xmrm/patches/patch-ac' Xdiff -u ../xmrm.orig/io.cc ./io.cc X--- ../xmrm.orig/io.cc Tue Mar 10 00:00:00 1998 X+++ ./io.cc Sat Sep 11 13:26:28 1999 X@@ -87,7 +87,7 @@ X extern ControlClass control; X X /* Constructor: */ X-ControlClass::ControlClass() X+ControlClass::ControlClassInit() X { X int i; X Xdiff -u ../xmrm.orig/io.h ./io.h X--- ../xmrm.orig/io.h Tue Mar 10 00:00:00 1998 X+++ ./io.h Sat Sep 11 13:26:42 1999 X@@ -39,7 +39,7 @@ X char *URL_CG_Home; X char *URL_TU_Vienna; X X- ControlClass(); X+ ControlClassInit(); X int GetDraw(); X void SetDraw(int d); X void SetCursor(int Active, Window win); Xdiff -u ../xmrm.orig/xmrm_main.cc ./xmrm_main.cc X--- ../xmrm.orig/xmrm_main.cc Tue Mar 10 00:00:00 1998 X+++ ./xmrm_main.cc Sat Sep 11 13:27:07 1999 X@@ -6,7 +6,6 @@ X #include X #include X #include X-#include //**************** X #include "xmrm.h" X #include "io.h" X #include "const.h" X@@ -308,7 +307,7 @@ X control.debug = 0; X X /* Init control: */ X- control.ControlClass(); // call constructor X+ control.ControlClassInit(); // call constructor X temp = control.URL_manual; X X while( (c=getopt(argc, argv, "hdm:p:")) != -1) END-of-xmrm/patches/patch-ac echo x - xmrm/patches/patch-ad sed 's/^X//' >xmrm/patches/patch-ad << 'END-of-xmrm/patches/patch-ad' Xdiff -u ../xmrm.orig/morphvec.cc ./morphvec.cc X--- ../xmrm.orig/morphvec.cc Tue Mar 10 00:00:00 1998 X+++ ./morphvec.cc Sat May 8 15:21:25 1999 X@@ -9,6 +9,7 @@ X #include "io.h" X #include "xmrm.h" X //#include "areas.h" X+#include X X //static int oneliner = 1; X X@@ -433,6 +434,10 @@ X void MorphVecClass::DrawVectorScal(FL_OBJECT *obj, int item, int mode, FL_COLOR col) X { X double sc_x,sc_y; X+ X+ /* don't exit on FPE */ X+ fpsetmask(0); X+ X sc_x = (double) obj->w / max_x; sc_y = (double) obj->h / max_y; X X if (item > nr_vec) END-of-xmrm/patches/patch-ad echo c - xmrm/files mkdir -p xmrm/files > /dev/null 2>&1 echo x - xmrm/files/md5 sed 's/^X//' >xmrm/files/md5 << 'END-of-xmrm/files/md5' XMD5 (xmrm20_sources.tgz) = 9deddfdf42a016edd36a9c0b7c1d94b3 END-of-xmrm/files/md5 echo c - xmrm/pkg mkdir -p xmrm/pkg > /dev/null 2>&1 echo x - xmrm/pkg/PLIST sed 's/^X//' >xmrm/pkg/PLIST << 'END-of-xmrm/pkg/PLIST' Xbin/xmrm Xbin/xmrm_mpeg END-of-xmrm/pkg/PLIST echo x - xmrm/pkg/COMMENT sed 's/^X//' >xmrm/pkg/COMMENT << 'END-of-xmrm/pkg/COMMENT' Xa image morphing/warping program END-of-xmrm/pkg/COMMENT echo x - xmrm/pkg/DESCR sed 's/^X//' >xmrm/pkg/DESCR << 'END-of-xmrm/pkg/DESCR' XFrom the manual... X XXMRM is an image morphing program written for XWindows. A special feature Xof this program, which is not found in other morphing packages, is the Xability to control the morphing speed of details in relation to the Xmorphing speed of big features. X Xxmrm supports all Direct-Color-modes (Hi-Color, Real-Color: 15bpp,16bpp Xand True-Color: 24bpp,32bpp), but it doesn't run with any Color- XLookUpTable-mode (8bpp modes) ! X XONLINE-MANUAL: http://www.cg.tuwien.ac.at/~xmrm/ XThe XMRM-Homepage: http://www.cg.tuwien.ac.at/research/ca/mrm/xmrm.html END-of-xmrm/pkg/DESCR exit --------------8648393257C86D7DE634566B-- >Release-Note: >Audit-Trail: >Unformatted: This is a multi-part message in MIME format. --------------8648393257C86D7DE634566B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message