summaryrefslogtreecommitdiff
path: root/graphics/panomatic
diff options
context:
space:
mode:
authoradam <adam>2010-05-16 10:22:37 +0000
committeradam <adam>2010-05-16 10:22:37 +0000
commitd45c3ddce29713ef64baeb2d2cf11ca5de680dd8 (patch)
treec3093b4369a92861dadfb622a053a7ab6528973d /graphics/panomatic
parent3bf2134989aecb5324651bd4746d5641a25f873e (diff)
downloadpkgsrc-d45c3ddce29713ef64baeb2d2cf11ca5de680dd8.tar.gz
Pan-o-matic is a tool that automates the creation of control points in Hugin
written by Anael Orlinski.
Diffstat (limited to 'graphics/panomatic')
-rw-r--r--graphics/panomatic/DESCR7
-rw-r--r--graphics/panomatic/Makefile27
-rw-r--r--graphics/panomatic/PLIST2
-rw-r--r--graphics/panomatic/distinfo9
-rw-r--r--graphics/panomatic/patches/patch-aa13
-rw-r--r--graphics/panomatic/patches/patch-ab26
-rw-r--r--graphics/panomatic/patches/patch-ac13
-rw-r--r--graphics/panomatic/patches/patch-ba14
8 files changed, 111 insertions, 0 deletions
diff --git a/graphics/panomatic/DESCR b/graphics/panomatic/DESCR
new file mode 100644
index 00000000000..65be8c317e5
--- /dev/null
+++ b/graphics/panomatic/DESCR
@@ -0,0 +1,7 @@
+Most of the time pan-o-matic is called from Hugin.
+Here are the instructions to use it:
+In Preferences > Autopano
+1. Select Autopano-SIFT
+2. Tick "Use alternative autopano-SIFT program"
+3. Choose path to the binary
+4. In Arguments, put: -o %o %i
diff --git a/graphics/panomatic/Makefile b/graphics/panomatic/Makefile
new file mode 100644
index 00000000000..9cee9bf647e
--- /dev/null
+++ b/graphics/panomatic/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/16 10:22:37 adam Exp $
+
+DISTNAME= panomatic-0.9.4-src
+PKGNAME= panomatic-0.9.4
+CATEGORIES= graphics
+MASTER_SITES= http://aorlinsk2.free.fr/panomatic/bin/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://aorlinsk2.free.fr/panomatic/
+COMMENT= Tool that automates the creation of control points in Hugin
+
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/panomatic/PLIST b/graphics/panomatic/PLIST
new file mode 100644
index 00000000000..37a5bec0c23
--- /dev/null
+++ b/graphics/panomatic/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/16 10:22:37 adam Exp $
+bin/panomatic
diff --git a/graphics/panomatic/distinfo b/graphics/panomatic/distinfo
new file mode 100644
index 00000000000..d691d26ab25
--- /dev/null
+++ b/graphics/panomatic/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/16 10:22:37 adam Exp $
+
+SHA1 (panomatic-0.9.4-src.tar.bz2) = cc0a48d81d090ec90e134afba4b9e700a5843f09
+RMD160 (panomatic-0.9.4-src.tar.bz2) = 14ad37420733f950b8f7640c2e7f0b3fe593af89
+Size (panomatic-0.9.4-src.tar.bz2) = 1598683 bytes
+SHA1 (patch-aa) = 0c30ac34a9f678083c0bc3353f0171c0d3f5bdfa
+SHA1 (patch-ab) = 316d23c740ee23e35b7b2f4ae8c0cc1b87c47ccb
+SHA1 (patch-ac) = 2fa2168a257b60ae194675e3b0abd00bf6c7799b
+SHA1 (patch-ba) = 65fd25c9ae6fd22046a050687154940ab41849b7
diff --git a/graphics/panomatic/patches/patch-aa b/graphics/panomatic/patches/patch-aa
new file mode 100644
index 00000000000..1c40b766838
--- /dev/null
+++ b/graphics/panomatic/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/05/16 10:22:37 adam Exp $
+
+--- Makefile.in.orig 2010-01-19 04:55:01.000000000 +0000
++++ Makefile.in
+@@ -178,7 +178,7 @@ target_os = @target_os@
+ target_vendor = @target_vendor@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = zlib/src libpng/src libtiff/src libjpeg/src vigra/src/impex zthread/src libsurf panomatic
++SUBDIRS = vigra/src/impex zthread/src libsurf panomatic
+ all: all-recursive
+
+ .SUFFIXES:
diff --git a/graphics/panomatic/patches/patch-ab b/graphics/panomatic/patches/patch-ab
new file mode 100644
index 00000000000..269ca5d3bb3
--- /dev/null
+++ b/graphics/panomatic/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/05/16 10:22:37 adam Exp $
+
+--- panomatic/Makefile.in.orig 2010-01-19 04:56:01.000000000 +0000
++++ panomatic/Makefile.in
+@@ -54,8 +54,7 @@ am_panomatic_OBJECTS = Homography.$(OBJE
+ TestCode.$(OBJEXT) Utils.$(OBJEXT) main.$(OBJEXT)
+ panomatic_OBJECTS = $(am_panomatic_OBJECTS)
+ panomatic_DEPENDENCIES = ../vigra/src/impex/libvigra_impex.a \
+- ../libtiff/src/libtiff.a ../libjpeg/src/libjpeg.a \
+- ../libpng/src/libpng.a ../zlib/src/libz.a ../libsurf/libsurf.a \
++ ../libsurf/libsurf.a \
+ ../zthread/src/libZThread.a
+ DEFAULT_INCLUDES = -I.@am__isrc@
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+@@ -183,10 +182,7 @@ panomatic_SOURCES = \
+
+ panomatic_LDADD = \
+ ../vigra/src/impex/libvigra_impex.a \
+- ../libtiff/src/libtiff.a \
+- ../libjpeg/src/libjpeg.a \
+- ../libpng/src/libpng.a \
+- ../zlib/src/libz.a \
++ -ltiff -ljpeg -lpng -lz \
+ ../libsurf/libsurf.a \
+ ../zthread/src/libZThread.a \
+ @LINKER_OPTIONS@
diff --git a/graphics/panomatic/patches/patch-ac b/graphics/panomatic/patches/patch-ac
new file mode 100644
index 00000000000..c848c2140aa
--- /dev/null
+++ b/graphics/panomatic/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2010/05/16 10:22:37 adam Exp $
+
+--- vigra/src/impex/Makefile.in.orig 2010-05-16 09:03:31.000000000 +0000
++++ vigra/src/impex/Makefile.in
+@@ -184,7 +184,7 @@ target_os = @target_os@
+ target_vendor = @target_vendor@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-INCLUDES = -I../../include -I../../../libtiff/include -I../../../libpng/include -I../../../libjpeg/include
++INCLUDES = -I../../include -I${PREFIX}/include
+ libvigra_impex_sources = \
+ auto_file.hxx \
+ bmp.cxx \
diff --git a/graphics/panomatic/patches/patch-ba b/graphics/panomatic/patches/patch-ba
new file mode 100644
index 00000000000..639513ef426
--- /dev/null
+++ b/graphics/panomatic/patches/patch-ba
@@ -0,0 +1,14 @@
+$NetBSD: patch-ba,v 1.1.1.1 2010/05/16 10:22:37 adam Exp $
+
+--- panomatic/tclap/ValueArg.h.orig 2009-06-20 12:28:28.912422729 +0200
++++ panomatic/tclap/ValueArg.h 2009-06-20 12:28:35.615429069 +0200
+@@ -28,6 +28,9 @@
+
+ #include <tclap/Arg.h>
+ #include <tclap/Constraint.h>
++#if __GNUC__ == 4 && __GNUC_MINOR__ > 3
++#include <cstdio>
++#endif
+
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>