summaryrefslogtreecommitdiff
path: root/graphics/enblend-enfuse
diff options
context:
space:
mode:
authoradam <adam>2009-09-01 14:39:28 +0000
committeradam <adam>2009-09-01 14:39:28 +0000
commit529c83f732706ee3a50d15afd5e8d3fd3f0bc2a0 (patch)
treed219997883032cdde4186560fd501bd6144b24df /graphics/enblend-enfuse
parent4c01feeff62b49200f88af69d1f5a0a85d2a8ccc (diff)
downloadpkgsrc-529c83f732706ee3a50d15afd5e8d3fd3f0bc2a0.tar.gz
Enblend combines images that overlap like this into a single large image without
seams. Enfuse combines images that overlap like this into a single image with good exposure and good focus. Both programs assume that your images are already lined up. To make panoramas with Enblend and/or Enfuse, use Hugin.
Diffstat (limited to 'graphics/enblend-enfuse')
-rw-r--r--graphics/enblend-enfuse/DESCR4
-rw-r--r--graphics/enblend-enfuse/Makefile37
-rw-r--r--graphics/enblend-enfuse/PLIST8
-rw-r--r--graphics/enblend-enfuse/distinfo8
-rw-r--r--graphics/enblend-enfuse/patches/patch-aa13
-rw-r--r--graphics/enblend-enfuse/patches/patch-ab30
-rw-r--r--graphics/enblend-enfuse/patches/patch-ac30
7 files changed, 130 insertions, 0 deletions
diff --git a/graphics/enblend-enfuse/DESCR b/graphics/enblend-enfuse/DESCR
new file mode 100644
index 00000000000..d6a83a2e56a
--- /dev/null
+++ b/graphics/enblend-enfuse/DESCR
@@ -0,0 +1,4 @@
+Enblend combines images that overlap like this into a single large image without
+seams. Enfuse combines images that overlap like this into a single image with
+good exposure and good focus. Both programs assume that your images are already
+lined up. To make panoramas with Enblend and/or Enfuse, use Hugin.
diff --git a/graphics/enblend-enfuse/Makefile b/graphics/enblend-enfuse/Makefile
new file mode 100644
index 00000000000..250dfcf93e9
--- /dev/null
+++ b/graphics/enblend-enfuse/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/01 14:39:28 adam Exp $
+
+DISTNAME= enblend-enfuse-3.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enblend/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://enblend.sourceforge.net/
+COMMENT= Combines overlapping images without seams, with good exposure
+
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+INFO_FILES= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --with-apple-opengl-framework
+.else
+CONFIGURE_ARGS+= --with-x
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/glut/buildlink3.mk"
+.endif
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/lcms/buildlink3.mk"
+.include "../../graphics/libxmi/buildlink3.mk"
+.include "../../graphics/openexr/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/enblend-enfuse/PLIST b/graphics/enblend-enfuse/PLIST
new file mode 100644
index 00000000000..aac3446797c
--- /dev/null
+++ b/graphics/enblend-enfuse/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/01 14:39:28 adam Exp $
+bin/enblend
+bin/enfuse
+info/enblend.info
+info/enfuse-focus-stacking.info
+info/enfuse.info
+man/man1/enblend.1
+man/man1/enfuse.1
diff --git a/graphics/enblend-enfuse/distinfo b/graphics/enblend-enfuse/distinfo
new file mode 100644
index 00000000000..00d68f81cc0
--- /dev/null
+++ b/graphics/enblend-enfuse/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/09/01 14:39:28 adam Exp $
+
+SHA1 (enblend-enfuse-3.2.tar.gz) = e44226ec6759dd3e6dcf46bb34848b64536ad495
+RMD160 (enblend-enfuse-3.2.tar.gz) = 7a9b0037b821ac287327477d52665372d0850dbb
+Size (enblend-enfuse-3.2.tar.gz) = 831504 bytes
+SHA1 (patch-aa) = 54429e564118e0c4e18b39d2ba27e30f09f375e7
+SHA1 (patch-ab) = 762f14337372df061619b856e328c61501ba431c
+SHA1 (patch-ac) = 1be5b32578934f540d53dec8eeaa4da2d4e2144a
diff --git a/graphics/enblend-enfuse/patches/patch-aa b/graphics/enblend-enfuse/patches/patch-aa
new file mode 100644
index 00000000000..08c959a657d
--- /dev/null
+++ b/graphics/enblend-enfuse/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/09/01 14:39:28 adam Exp $
+
+--- configure.orig 2009-08-31 18:11:36.000000000 +0200
++++ configure
+@@ -11378,7 +11378,7 @@ if test "x$enable_debug" = "xyes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6; }
+ else
+- CXXFLAGS="$CXXFLAGS -O3 -ffast-math -DNDEBUG -Wall"
++ CXXFLAGS="$CXXFLAGS -ffast-math -DNDEBUG -Wall"
+ { echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6; }
+ fi
diff --git a/graphics/enblend-enfuse/patches/patch-ab b/graphics/enblend-enfuse/patches/patch-ab
new file mode 100644
index 00000000000..37b014f396f
--- /dev/null
+++ b/graphics/enblend-enfuse/patches/patch-ab
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/09/01 14:39:28 adam Exp $
+
+--- src/enfuse.cc.orig 2009-08-31 18:38:09.000000000 +0200
++++ src/enfuse.cc
+@@ -62,8 +62,12 @@ extern "C" char *optarg;
+ extern "C" int optind;
+
+ #ifndef _MSC_VER
++#ifdef __NetBSD__
++//#include <ieeefp.h>
++#else
+ #include <fenv.h>
+ #endif
++#endif
+
+ #include <signal.h>
+ #include <stdlib.h>
+@@ -279,8 +283,12 @@ int main(int argc, char** argv) {
+ // See changes in vigra numerictraits.hxx
+ _controlfp( _RC_NEAR, _MCW_RC );
+ #else
++#ifdef __NetBSD__
++// fpsetround(FE_TONEAREST);
++#else
+ fesetround(FE_TONEAREST);
+ #endif
++#endif
+
+ #ifndef _WIN32
+ sigemptyset(&SigintMask);
diff --git a/graphics/enblend-enfuse/patches/patch-ac b/graphics/enblend-enfuse/patches/patch-ac
new file mode 100644
index 00000000000..25c776b7293
--- /dev/null
+++ b/graphics/enblend-enfuse/patches/patch-ac
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1.1.1 2009/09/01 14:39:29 adam Exp $
+
+--- src/enblend.cc.orig 2009-08-31 18:39:19.000000000 +0200
++++ src/enblend.cc
+@@ -62,8 +62,12 @@ extern "C" char *optarg;
+ extern "C" int optind;
+
+ #ifndef _MSC_VER
++#ifdef __NetBSD__
++//#include <ieeefp.h>
++#else
+ #include <fenv.h>
+ #endif
++#endif
+
+ #include <signal.h>
+ #include <stdlib.h>
+@@ -230,8 +234,12 @@ int main(int argc, char** argv) {
+ // See changes in vigra numerictraits.hxx
+ _controlfp( _RC_NEAR, _MCW_RC );
+ #else
++#ifdef __NetBSD__
++// fpsetround(FE_TONEAREST);
++#else
+ fesetround(FE_TONEAREST);
+ #endif
++#endif
+
+ #ifndef _WIN32
+ sigemptyset(&SigintMask);