Date: Fri, 14 Apr 2006 10:27:08 -0400 (EDT) From: "J.R. Oldroyd" <fbsd@opal.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: cartola@openit.com.br Subject: ports/95746: new port: graphics/autopano-sift Message-ID: <200604141427.k3EER8q2067232@linwhf.opal.com> Resent-Message-ID: <200604141430.k3EEUGpf057494@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95746 >Category: ports >Synopsis: new port: graphics/autopano-sift >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 Apr 14 14:30:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: J.R. Oldroyd >Release: FreeBSD 6.1-RC i386 >Organization: >Environment: System: FreeBSD linwhf.opal.com 6.1-RC FreeBSD 6.1-RC #108: Thu Apr 13 13:31:31 EDT 2006 xxx@linwhf.opal.com:/usr/src-6.1/sys/i386/compile/LINWHF i386 >Description: New port: graphics/autopano-sift Automatic panorama control point generation tool for use with hugin. Note to committer: It is intentional that I am using a different MAINTAINER email address as it is unlikely I will have much time to continue to work on this. He has offered to do so, instead. >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: # # graphics/autopano-sift/ # graphics/autopano-sift/Makefile # graphics/autopano-sift/pkg-plist # graphics/autopano-sift/files # graphics/autopano-sift/files/patch-Makefile # graphics/autopano-sift/files/patch-util-Makefile # graphics/autopano-sift/files/autopano.in # graphics/autopano-sift/files/patch-bin-autopano-complete.sh # graphics/autopano-sift/pkg-descr # graphics/autopano-sift/distinfo # echo c - graphics/autopano-sift/ mkdir -p graphics/autopano-sift/ > /dev/null 2>&1 echo x - graphics/autopano-sift/Makefile sed 's/^X//' >graphics/autopano-sift/Makefile << 'END-of-graphics/autopano-sift/Makefile' X# New ports collection makefile for: autopano-sift X# Date created: 11 April 2006 X# Whom: J.R. Oldroyd <fbsd@opal.com> X# X# $FreeBSD$ X# X XPORTNAME= autopano-sift XPORTVERSION= 2.4 X#PORTREVISION= 0 XCATEGORIES= graphics XMASTER_SITES= http://user.cs.tu-berlin.de/~nowozin/autopano-sift/ X#DISTNAME= autopano-sift-${PORTVERSION} X XMAINTAINER= cartola@openit.com.br XCOMMENT= Automatic panorama control point generation tool X X.include <bsd.port.pre.mk> X XBUILD_DEPENDS+= mcs:${PORTSDIR}/lang/mono \ X ${X11BASE}/libdata/pkgconfig/gtk-sharp.pc:${PORTSDIR}/x11-toolkits/gtk-sharp10 XLIB_DEPENDS+= gdiplus:${PORTSDIR}/x11-toolkits/libgdiplus XRUN_DEPENDS+= mono:${PORTSDIR}/lang/mono \ X ${X11BASE}/lib/mono/gtk-sharp/gtk-sharp.dll:${PORTSDIR}/x11-toolkits/gtk-sharp10 XUSE_XLIBS= yes XUSE_GMAKE= yes X XWRKSRC= ${WRKDIR}/${DISTNAME}/src X XSUB_FILES= autopano X X#if !defined(NOPORTDOCS) XMAN1= autopano-complete.1 \ X autopano-complete.old.1 \ X autopano.1 \ X autopanog.1 \ X generatekeys.1 \ X showone.1 \ X showtwo.1 XMAN7= autopano-sift.7 X#endif X Xdo-install: X ${MKDIR} ${DATADIR} X ${INSTALL} ${WRKSRC}/bin/ICSharpCode.SharpZipLib.dll ${DATADIR}/ X ${INSTALL_SCRIPT} ${WRKSRC}/bin/autopano-complete.sh ${DATADIR}/ X ${INSTALL_SCRIPT} ${WRKSRC}/bin/autopano-complete.old.sh ${DATADIR}/ X ${INSTALL} ${WRKSRC}/bin/autopano.exe ${DATADIR}/ X ${INSTALL} ${WRKSRC}/bin/autopanog.exe ${DATADIR}/ X ${INSTALL} ${WRKSRC}/bin/generatekeys-sd.exe ${DATADIR}/ X ${INSTALL} ${WRKSRC}/bin/generatekeys.exe ${DATADIR}/ X ${INSTALL} ${WRKSRC}/bin/libsift.dll ${DATADIR}/ X ${INSTALL} ${WRKSRC}/bin/showone.exe ${DATADIR}/ X ${INSTALL} ${WRKSRC}/bin/showtwo.exe ${DATADIR}/ X ${INSTALL_SCRIPT} ${WRKDIR}/autopano ${PREFIX}/bin/autopano X ${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/autopanog X ${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/generatekeys-sd X ${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/generatekeys X ${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/showone X ${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/showtwo X ${LN} -s ${DATADIR}/autopano-complete.sh ${PREFIX}/bin/autopano-complete X ${LN} -s ${DATADIR}/autopano-complete.old.sh ${PREFIX}/bin/autopano-complete.old X#if !defined(NOPORTDOCS) X ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopano-complete.1 ${PREFIX}/man/man1/ X ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopano-complete.old.1 ${PREFIX}/man/man1/ X ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopano.1 ${PREFIX}/man/man1/ X ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopanog.1 ${PREFIX}/man/man1/ X ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/generatekeys.1 ${PREFIX}/man/man1/ X ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/showone.1 ${PREFIX}/man/man1/ X ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/showtwo.1 ${PREFIX}/man/man1/ X ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopano-sift.7 ${PREFIX}/man/man7/ X#endif X X.include <bsd.port.post.mk> END-of-graphics/autopano-sift/Makefile echo x - graphics/autopano-sift/pkg-plist sed 's/^X//' >graphics/autopano-sift/pkg-plist << 'END-of-graphics/autopano-sift/pkg-plist' Xbin/autopano-complete Xbin/autopano-complete.old Xbin/autopano Xbin/autopanog Xbin/generatekeys-sd Xbin/generatekeys Xbin/showone Xbin/showtwo X%%DATADIR%%/ICSharpCode.SharpZipLib.dll X%%DATADIR%%/autopano-complete.sh X%%DATADIR%%/autopano-complete.old.sh X%%DATADIR%%/autopano.exe X%%DATADIR%%/autopanog.exe X%%DATADIR%%/generatekeys-sd.exe X%%DATADIR%%/generatekeys.exe X%%DATADIR%%/libsift.dll X%%DATADIR%%/showone.exe X%%DATADIR%%/showtwo.exe X@dirrm share/autopano-sift END-of-graphics/autopano-sift/pkg-plist echo c - graphics/autopano-sift/files mkdir -p graphics/autopano-sift/files > /dev/null 2>&1 echo x - graphics/autopano-sift/files/patch-Makefile sed 's/^X//' >graphics/autopano-sift/files/patch-Makefile << 'END-of-graphics/autopano-sift/files/patch-Makefile' X--- Makefile.orig Mon Oct 31 07:45:20 2005 X+++ Makefile Tue Apr 11 14:12:32 2006 X@@ -72,15 +72,15 @@ X X distclean: X rm -f libsift.dll X- make $(MAKE_OPTIONS) -C util clean X+ $(MAKE) $(MAKE_OPTIONS) -C util clean X X utils: X- make $(MAKE_OPTIONS) -C util all X+ $(MAKE) $(MAKE_OPTIONS) -C util all X X release: clean releasetempclean releasetempsetup all bin_install X # autopano-sift X svn export . /tmp/$(APSVER)/src X- make -C util/man/ X+ $(MAKE) -C util/man/ X mkdir /tmp/$(APSVER)/doc X cp util/man/*.[17] util/man/*.pdf util/man/*.txt /tmp/$(APSVER)/doc X mkdir /tmp/$(APSVER)/bin END-of-graphics/autopano-sift/files/patch-Makefile echo x - graphics/autopano-sift/files/patch-util-Makefile sed 's/^X//' >graphics/autopano-sift/files/patch-util-Makefile << 'END-of-graphics/autopano-sift/files/patch-util-Makefile' X--- util/Makefile.orig Sat Jan 15 11:33:38 2005 X+++ util/Makefile Tue Apr 11 14:14:54 2006 X@@ -36,8 +36,8 @@ X #SOURCES=GUIImage.cs DrawingPrimitives.cs BasicImagingInterface.cs X X all: autopano.exe showone.exe showtwo.exe generatekeys.exe generatekeys-sd.exe X- make $(MAKE_OPTIONS) -C autopanog all X- make $(MAKE_OPTIONS) -C autopano-win32 all X+ $(MAKE) $(MAKE_OPTIONS) -C autopanog all X+ $(MAKE) $(MAKE_OPTIONS) -C autopano-win32 all X X autopano.exe: Autopano.cs DrawingPrimitives.cs BasicImagingInterface.cs GUIImage-Drawing.cs X $(CSC) $(CSCFLAGS) /out:autopano.exe Autopano.cs \ X@@ -50,7 +50,7 @@ X X generatekeys-sd.exe: X mv generatekeys.exe generatekeys-gtk.exe X- make -C . systemdrawing=yes generatekeys.exe X+ $(MAKE) -C . systemdrawing=yes generatekeys.exe X mv generatekeys.exe generatekeys-sd.exe X mv generatekeys-gtk.exe generatekeys.exe X X@@ -65,6 +65,6 @@ X X clean: X rm -f *.exe X- make $(MAKE_OPTIONS) -C autopanog/ clean X- make $(MAKE_OPTIONS) -C autopano-win32/ clean X+ $(MAKE) $(MAKE_OPTIONS) -C autopanog/ clean X+ $(MAKE) $(MAKE_OPTIONS) -C autopano-win32/ clean X END-of-graphics/autopano-sift/files/patch-util-Makefile echo x - graphics/autopano-sift/files/autopano.in sed 's/^X//' >graphics/autopano-sift/files/autopano.in << 'END-of-graphics/autopano-sift/files/autopano.in' X#!/bin/sh X# X# wrapper script to invoke mono X# X# this same script is used for: X# autopano X# autopanog X# generatekeys-sd X# generatekeys X# showone X# showtwo X Xexec mono %%DATADIR%%/`basename $0`.exe ${@+"$@"} END-of-graphics/autopano-sift/files/autopano.in echo x - graphics/autopano-sift/files/patch-bin-autopano-complete.sh sed 's/^X//' >graphics/autopano-sift/files/patch-bin-autopano-complete.sh << 'END-AAAA' X--- bin/autopano-complete.sh.orig Sat Apr 9 05:40:12 2005 X+++ bin/autopano-complete.sh Wed Apr 12 12:14:10 2006 X@@ -7,10 +7,10 @@ X MONO=$(which mono) X X # Set this to the directory you installed autopano-sift into, for example X-#AUTOPANO_PATH=/usr/local/autopano-sift/bin X+AUTOPANO_PATH=/usr/local/share/autopano-sift X # Do not use a trailing backslash. If the executeables are within your path X # (recommended, you can leave the line below). X-AUTOPANO_PATH=$(dirname $(which generatekeys.exe)) X+#AUTOPANO_PATH=$(dirname $(which generatekeys.exe)) X X usage() X { END-AAAA echo x - graphics/autopano-sift/pkg-descr sed 's/^X//' >graphics/autopano-sift/pkg-descr << 'END-of-graphics/autopano-sift/pkg-descr' XAutomatic panorama control point generation tool for use with hugin. X XAutopano analyses two or more images and automatically generates Xcontrol points - coordinates in the images where the views overlap. XThis can be fed to hugin which then stitches the files together and Xenblend which combines the colors to remove seam lines. X X=============================================================================== XThe use of this software is restricted by certain conditions. XSee the "LICENSE" file distributed with the program for details. X XThe University of British Columbia has applied for a patent on the SIFT Xalgorithm in the United States. Commercial applications of this software may Xrequire a license from the University of British Columbia. X=============================================================================== X XWWW: http://user.cs.tu-berlin.de/~nowozin/autopano-sift/ END-of-graphics/autopano-sift/pkg-descr echo x - graphics/autopano-sift/distinfo sed 's/^X//' >graphics/autopano-sift/distinfo << 'END-of-graphics/autopano-sift/distinfo' XMD5 (autopano-sift-2.4.tar.gz) = e497074d0cb5586cdc66506d782ccbd7 XSHA256 (autopano-sift-2.4.tar.gz) = 0f2ee8887550f77ca77be9ba7ff1888099c316de03362cb324ed32fd6ffeea35 XSIZE (autopano-sift-2.4.tar.gz) = 640117 END-of-graphics/autopano-sift/distinfo exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604141427.k3EER8q2067232>