aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2010-01-11 13:04:14 +0800
committerstas <stas@FreeBSD.org>2010-01-11 13:04:14 +0800
commit025bf95661deab551b7560db0cf38506b7af5048 (patch)
treec7aca12d7ffc87a2ca0f0eb56c2dd471e48af34b /graphics
parent681cce60e57aa2b108f543db8d52141c90e6eeb6 (diff)
downloadfreebsd-ports-gnome-025bf95661deab551b7560db0cf38506b7af5048.tar.gz
freebsd-ports-gnome-025bf95661deab551b7560db0cf38506b7af5048.tar.zst
freebsd-ports-gnome-025bf95661deab551b7560db0cf38506b7af5048.zip
- Add graphics/rawtherapee, a powerful RAW image processing appliction.
WWW: http://www.rawtherapee.com
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/rawtherapee/Makefile55
-rw-r--r--graphics/rawtherapee/distinfo3
-rw-r--r--graphics/rawtherapee/files/patch-rtengine_CMakeLists.txt28
-rw-r--r--graphics/rawtherapee/files/patch-rtengine_imagedata.cc12
-rw-r--r--graphics/rawtherapee/files/patch-rtengine_myfile.cc12
-rw-r--r--graphics/rawtherapee/files/patch-rtengine_myfile.h12
-rw-r--r--graphics/rawtherapee/files/patch-rtexif_CMakeLists.txt12
-rw-r--r--graphics/rawtherapee/files/patch-rtgui_CMakeLists.txt12
-rw-r--r--graphics/rawtherapee/files/rawtherapee.in8
-rw-r--r--graphics/rawtherapee/pkg-descr45
-rw-r--r--graphics/rawtherapee/pkg-plist125
12 files changed, 325 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index bfd974defd34..960e9ebac0b5 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -791,6 +791,7 @@
SUBDIR += qvplay
SUBDIR += raster3d
SUBDIR += rawstudio
+ SUBDIR += rawtherapee
SUBDIR += ray++
SUBDIR += rayshade
SUBDIR += reallyslick
diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile
new file mode 100644
index 000000000000..cf635024220d
--- /dev/null
+++ b/graphics/rawtherapee/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: rawtherapee
+# Date created: 01/10/2010
+# Whom: stas
+#
+# $FreeBSD$
+#
+
+PORTNAME= rawtherapee
+PORTVERSION= 3.0
+CATEGORIES= graphics
+MASTER_SITES= http://www.rawtherapee.com/
+DISTNAME= ${PORTNAME}${PORTVERSION:S,.,,g}src
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= stas@FreeBSD.org
+COMMENT= A powerful RAW image processing application
+
+LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
+ iptcdata.3:${PORTSDIR}/graphics/libiptcdata \
+ jpeg.10:${PORTSDIR}/graphics/jpeg \
+ lcms.1:${PORTSDIR}/graphics/lcms \
+ png:${PORTSDIR}/graphics/png \
+ tiff.4:${PORTSDIR}/graphics/tiff
+
+USE_CMAKE= yes
+USE_GNOME= gtk20 glib20
+USE_LDCONFIG= yes
+CFLAGS+= -I${LOCALBASE}/include -fPIC
+LDFLAGS+= -L${LOCALBASE}/lib
+CMAKE_ENV= CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+SUB_FILES= rawtherapee
+SUB_LIST= RTDIR="${RTDIR}"
+
+WRKSRC= ${WRKDIR}/RawTherapee${PORTVERSION:S,.,,g}
+RTDIR= ${PREFIX}/libdata/${PORTNAME}
+
+OPTIONS= OPTIMIZED_CFLAGS "Use optimized CFLAGS" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
+CFLAGS+= -O3 -ffast-math -fexpensive-optimizations \
+ -funroll-loops -msse
+.endif
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/rtengine/librtengine.so ${PREFIX}/lib
+ ${MKDIR} ${RTDIR}/
+ ${INSTALL_PROGRAM} ${WRKSRC}/rtgui/rth ${RTDIR}/
+ (cd ${WRKSRC}/release && ${COPYTREE_SHARE} \* ${RTDIR}/)
+ ${INSTALL_DATA} ${WRKSRC}/options.lin ${RTDIR}/options
+ ${INSTALL_SCRIPT} ${WRKDIR}/rawtherapee ${PREFIX}/bin/
+
+.include <bsd.port.post.mk>
diff --git a/graphics/rawtherapee/distinfo b/graphics/rawtherapee/distinfo
new file mode 100644
index 000000000000..abb61cd63d18
--- /dev/null
+++ b/graphics/rawtherapee/distinfo
@@ -0,0 +1,3 @@
+MD5 (rawtherapee30src.tgz) = 0af312c1d62f475b73911e3da0f7fa95
+SHA256 (rawtherapee30src.tgz) = 1cc7dcf8a0f6087035b39d6c4b01c22d035e75118d0fcc0200198d63720961df
+SIZE (rawtherapee30src.tgz) = 3003436
diff --git a/graphics/rawtherapee/files/patch-rtengine_CMakeLists.txt b/graphics/rawtherapee/files/patch-rtengine_CMakeLists.txt
new file mode 100644
index 000000000000..76e3b2a4a552
--- /dev/null
+++ b/graphics/rawtherapee/files/patch-rtengine_CMakeLists.txt
@@ -0,0 +1,28 @@
+--- rtengine/CMakeLists.txt.orig 2010-01-10 18:56:15.000000000 -0800
++++ rtengine/CMakeLists.txt 2010-01-10 19:02:25.000000000 -0800
+@@ -11,15 +11,7 @@
+ SET (EXTRA_LIB "ws2_32 ../lib/libiptcdata.a ../lib/libjpeg.a ../lib/libpng.a ../lib/libtiff.a ../lib/libz.a ../rawzor_win/rwz_sdk_s.a")
+ ADD_DEFINITIONS (-DRAWZOR_SUPPORT)
+ ELSE (WIN32)
+- IF (CMAKE_SIZEOF_VOID_P EQUAL 4)
+- SET (EXTRA_INCDIR "../rawzor_lin32")
+- SET (EXTRA_LIBDIR "../rawzor_lin32")
+- ELSEIF (CMAKE_SIZEOF_VOID_P EQUAL 8)
+- SET (EXTRA_INCDIR "../rawzor_lin64")
+- SET (EXTRA_LIBDIR "../rawzor_lin64")
+- ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 4)
+- SET (EXTRA_LIB "iptcdata -lrwz_sdk")
+- ADD_DEFINITIONS (-DRAWZOR_SUPPORT)
++ SET (EXTRA_LIB "iptcdata")
+ ENDIF (WIN32)
+
+ include_directories (. ../rtexif ${EXTRA_INCDIR} ${GLIB2_INCLUDE_DIRS} ${GLIBMM_INCLUDE_DIRS})
+@@ -31,8 +23,6 @@
+ stdimagesource.cc myfile.cc iccjpeg.c hlmultipliers.cc improccoordinator.cc
+ helpers.cc processingjob.cc rtthumbnail.cc utils.cc hlmultipliers.cc bilateral2.cc)
+
+-set_target_properties (rtengine PROPERTIES COMPILE_FLAGS "-O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse")
+-
+ #add_executable (rtcmd rtetest.cc)
+ #add_executable (ppmap pparamsmap.cc)
+
diff --git a/graphics/rawtherapee/files/patch-rtengine_imagedata.cc b/graphics/rawtherapee/files/patch-rtengine_imagedata.cc
new file mode 100644
index 000000000000..1b923b7fcd93
--- /dev/null
+++ b/graphics/rawtherapee/files/patch-rtengine_imagedata.cc
@@ -0,0 +1,12 @@
+--- rtengine/imagedata.cc.orig 2010-01-10 18:54:02.000000000 -0800
++++ rtengine/imagedata.cc 2010-01-10 18:59:50.000000000 -0800
+@@ -19,7 +19,9 @@
+ #include <imagedata.h>
+ #include <iptcpairs.h>
+ #include <glib/gstdio.h>
++#ifdef RAWZOR_SUPPORT
+ #include <rwz_sdk.h>
++#endif
+
+ using namespace rtengine;
+
diff --git a/graphics/rawtherapee/files/patch-rtengine_myfile.cc b/graphics/rawtherapee/files/patch-rtengine_myfile.cc
new file mode 100644
index 000000000000..2aaded0f3997
--- /dev/null
+++ b/graphics/rawtherapee/files/patch-rtengine_myfile.cc
@@ -0,0 +1,12 @@
+--- rtengine/myfile.cc.orig 2010-01-10 19:00:52.000000000 -0800
++++ rtengine/myfile.cc 2010-01-10 19:01:08.000000000 -0800
+@@ -19,7 +19,9 @@
+ #include <myfile.h>
+ #include <cstdarg>
+ #include <glibmm.h>
++#ifdef RAWZOR_SUPPORT
+ #include <rwz_sdk.h>
++#endif
+
+ IMFILE* fopen (const char* fname) {
+
diff --git a/graphics/rawtherapee/files/patch-rtengine_myfile.h b/graphics/rawtherapee/files/patch-rtengine_myfile.h
new file mode 100644
index 000000000000..0b0a4dc081ef
--- /dev/null
+++ b/graphics/rawtherapee/files/patch-rtengine_myfile.h
@@ -0,0 +1,12 @@
+--- rtengine/myfile.h.orig 2010-01-10 18:33:11.000000000 -0800
++++ rtengine/myfile.h 2010-01-10 18:33:35.000000000 -0800
+@@ -22,6 +22,9 @@
+ #include <glib/gstdio.h>
+ #include <stdio.h>
+ #include <string.h>
++
++#undef feof
++#undef getc
+ struct IMFILE {
+
+ int pos;
diff --git a/graphics/rawtherapee/files/patch-rtexif_CMakeLists.txt b/graphics/rawtherapee/files/patch-rtexif_CMakeLists.txt
new file mode 100644
index 000000000000..4ad7fc8ef99a
--- /dev/null
+++ b/graphics/rawtherapee/files/patch-rtexif_CMakeLists.txt
@@ -0,0 +1,12 @@
+--- rtexif/CMakeLists.txt.orig 2010-01-10 19:02:49.000000000 -0800
++++ rtexif/CMakeLists.txt 2010-01-10 19:03:09.000000000 -0800
+@@ -4,7 +4,5 @@
+
+ IF (WIN32)
+ set_target_properties (rtexif PROPERTIES COMPILE_FLAGS "-O3 -ffast-math -fexpensive-optimizations")
+-ELSE (WIN32)
+- set_target_properties (rtexif PROPERTIES COMPILE_FLAGS "-O3 -ffast-math -fexpensive-optimizations -fPIC")
+ ENDIF (WIN32)
+-
+\ No newline at end of file
++
diff --git a/graphics/rawtherapee/files/patch-rtgui_CMakeLists.txt b/graphics/rawtherapee/files/patch-rtgui_CMakeLists.txt
new file mode 100644
index 000000000000..1b44966062fe
--- /dev/null
+++ b/graphics/rawtherapee/files/patch-rtgui_CMakeLists.txt
@@ -0,0 +1,12 @@
+--- rtgui/CMakeLists.txt.orig 2010-01-10 18:48:29.000000000 -0800
++++ rtgui/CMakeLists.txt 2010-01-10 19:02:44.000000000 -0800
+@@ -66,8 +66,7 @@
+ ENDIF (WIN32)
+
+
+-set_target_properties (rth PROPERTIES COMPILE_FLAGS "-O3")
+-target_link_libraries (rth rtengine liblcms.a iptcdata libjpeg.a libpng.a libz.a libtiff.a ${EXTRA_LIB} gthread-2.0 gobject-2.0
++target_link_libraries (rth rtengine lcms iptcdata jpeg png z tiff ${EXTRA_LIB} gthread-2.0 gobject-2.0
+ ${GLIB2_LIBRARIES} ${GLIBMM_LIBRARIES} ${GTK_LIBRARIES} ${GTKMM_LIBRARIES} ${GIO_LIBRARIES} ${GIOMM_LIBRARIES})
+
+ IF (WIN32)
diff --git a/graphics/rawtherapee/files/rawtherapee.in b/graphics/rawtherapee/files/rawtherapee.in
new file mode 100644
index 000000000000..3e625f01ab39
--- /dev/null
+++ b/graphics/rawtherapee/files/rawtherapee.in
@@ -0,0 +1,8 @@
+#!/bin/csh
+#
+# $FreeBSD$
+
+set RTH = "%%RTDIR%%/rth"
+set CONFDIR = "%%RTDIR%%"
+
+exec "${RTH}" ${CONFDIR}
diff --git a/graphics/rawtherapee/pkg-descr b/graphics/rawtherapee/pkg-descr
new file mode 100644
index 000000000000..a23bd9d234a8
--- /dev/null
+++ b/graphics/rawtherapee/pkg-descr
@@ -0,0 +1,45 @@
+ RawTherapee is a powerful RAW image processing appliction.
+Main features :
+ * Selectable high performance demosaicing algorithms
+ (EAHD and HPHD and VNG-4).
+ * Image post processing in 16 bit / channel mode
+ * Exposure control in RGB space
+ * Auto exposure with adjustable clipping point / Exposure compensation /
+ Shadow and highight compression / Contrast adjustment, curve editor
+ * White balance adjustment in RGB space
+ * With in-camera, automatic and spot white balance options /
+ Temperature/Green tint fine tuning
+ * Highlight Recovery
+ * Shadows/Highlights control in RGB space
+ * Basic Luminance curve tool to modify the luminance channel
+ in CIELab color space
+ * Brightness / Contrast adjustment, curve editor
+ * USM sharpening applied on the CIELab luminance channel
+ * Classical USM parameters (Radius, Amount, Threshold) / Option to avoid
+ noise amplification / Sharpening halo control
+ * Optional RL Deconvolution based sharpening for even better sharpening results
+ * Color shift control in CIELab color space
+ * Allows color shift by shifting the CIELab "a" and "b" channels
+ * Color booster applied on the CIELab "a" and "b" channels
+ * Amplifies color channels "a" and "b" together or separately /
+ Avoids color overamplification in high chrominance areas /
+ Option to avoid clipping caused by too high color boosting
+ * Luminance denoising algorithm applied on the CIELab luminance channel
+ * Edge sensitive method to preserve as much details as possible
+ * Color denoising tool applied on the CIELab "a" and "b" channels
+ * Classical gaussian blur or edge sensitive bluring of the color channels
+ * Fast switching between different postprocessing profiles
+ * Image flipping horizontally or vertically, rotation by 90 degrees clockwise
+ or counter clockwise
+ * Arbitrary image rotation (straightening tool) with fill function or
+ automatic crop
+ * Simple lens distortion correction
+ * Crop tool
+ * Chromatic Aberration correction tool
+ * Channel Mixer for Red, Green and Blue channels
+ * C/A Correction
+ * Vignetting Correction
+ * ICC based color management
+ * Change History with bookmarks to support before/after checking
+
+WWW: http://www.rawtherapee.com
diff --git a/graphics/rawtherapee/pkg-plist b/graphics/rawtherapee/pkg-plist
new file mode 100644
index 000000000000..a03c45d27d24
--- /dev/null
+++ b/graphics/rawtherapee/pkg-plist
@@ -0,0 +1,125 @@
+bin/rawtherapee
+libdata/rawtherapee/rth
+lib/librtengine.so
+libdata/rawtherapee/images/gtk-zoom-fit.png
+libdata/rawtherapee/images/gtk-zoom-100.png
+libdata/rawtherapee/images/head.png
+libdata/rawtherapee/images/horizontals.png
+libdata/rawtherapee/images/folder_orange.png
+libdata/rawtherapee/images/fileopen.png
+libdata/rawtherapee/images/stock-color-picker-gray-18.png
+libdata/rawtherapee/images/cdrom.png
+libdata/rawtherapee/images/list-add.png
+libdata/rawtherapee/images/gtk-close.png
+libdata/rawtherapee/images/straighten16.png
+libdata/rawtherapee/images/wbpicker22.png
+libdata/rawtherapee/images/stock-tool-crop-16.png
+libdata/rawtherapee/images/gtk-undo-ltr-big.png
+libdata/rawtherapee/images/wbpicker16.png
+libdata/rawtherapee/images/icon-gears.png
+libdata/rawtherapee/images/filter.png
+libdata/rawtherapee/images/stock_down_arrow_24.png
+libdata/rawtherapee/images/crop16.png
+libdata/rawtherapee/images/list-remove12r.png
+libdata/rawtherapee/images/logoicon16b.png
+libdata/rawtherapee/images/stock-rotate-90-16.png
+libdata/rawtherapee/images/openhand22.png
+libdata/rawtherapee/images/trash.png
+libdata/rawtherapee/images/closedhand22.png
+libdata/rawtherapee/images/stock_right_arrow_24.png
+libdata/rawtherapee/images/verticals.png
+libdata/rawtherapee/images/stock-resize-16.png
+libdata/rawtherapee/images/deltags.pp2
+libdata/rawtherapee/images/folder_open.png
+libdata/rawtherapee/images/gimp.png
+libdata/rawtherapee/images/left.png
+libdata/rawtherapee/images/stock-flip-vertical-16.png
+libdata/rawtherapee/images/saved.png
+libdata/rawtherapee/images/horizontal.png
+libdata/rawtherapee/images/straighten22.png
+libdata/rawtherapee/images/folder_orange_open.png
+libdata/rawtherapee/images/gtk-zoom-in.png
+libdata/rawtherapee/images/stock-tool-crop-22.png
+libdata/rawtherapee/images/stock_clear_24.png
+libdata/rawtherapee/images/deltags.png
+libdata/rawtherapee/images/stock-tool-color-picker-22.png
+libdata/rawtherapee/images/stock-flip-horizontal-16.png
+libdata/rawtherapee/images/warnhl.png
+libdata/rawtherapee/images/splash.png
+libdata/rawtherapee/images/network.png
+libdata/rawtherapee/images/green.png
+libdata/rawtherapee/images/deltagl.png
+libdata/rawtherapee/images/gtk-undo-ltr.png
+libdata/rawtherapee/images/folder_open_r.png
+libdata/rawtherapee/images/usbpendrive.png
+libdata/rawtherapee/images/grayrated.png
+libdata/rawtherapee/images/stock-rotate-270-16.png
+libdata/rawtherapee/images/list-remove.png
+libdata/rawtherapee/images/info.png
+libdata/rawtherapee/images/logoicon16.png
+libdata/rawtherapee/images/stock_left_arrow_24.png
+libdata/rawtherapee/images/hdd.png
+libdata/rawtherapee/images/vertical.png
+libdata/rawtherapee/images/folder_r.png
+libdata/rawtherapee/images/wb22.png
+libdata/rawtherapee/images/list-add12.png
+libdata/rawtherapee/images/red.png
+libdata/rawtherapee/images/logoicon32.png
+libdata/rawtherapee/images/down.png
+libdata/rawtherapee/images/notrated.png
+libdata/rawtherapee/images/addtagl.png
+libdata/rawtherapee/images/tail.png
+libdata/rawtherapee/images/processing.png
+libdata/rawtherapee/images/warnsh.png
+libdata/rawtherapee/images/crop22.png
+libdata/rawtherapee/images/undelete.png
+libdata/rawtherapee/images/resize.png
+libdata/rawtherapee/images/gtk-zoom-out.png
+libdata/rawtherapee/images/floppy.png
+libdata/rawtherapee/images/openhand.png
+libdata/rawtherapee/images/stock_up_arrow_24.png
+libdata/rawtherapee/images/filesave.png
+libdata/rawtherapee/images/undo.png
+libdata/rawtherapee/images/rated.png
+libdata/rawtherapee/images/edited.png
+libdata/rawtherapee/images/addtags.png
+libdata/rawtherapee/images/folder.png
+libdata/rawtherapee/images/unrated.png
+libdata/rawtherapee/images/flame22.png
+libdata/rawtherapee/languages/english-us
+libdata/rawtherapee/languages/swedish
+libdata/rawtherapee/languages/japanese
+libdata/rawtherapee/languages/greek
+libdata/rawtherapee/languages/magyar
+libdata/rawtherapee/languages/czech
+libdata/rawtherapee/languages/latvian
+libdata/rawtherapee/languages/espanol
+libdata/rawtherapee/languages/english-uk
+libdata/rawtherapee/languages/polish
+libdata/rawtherapee/languages/chinese simplified
+libdata/rawtherapee/languages/russian
+libdata/rawtherapee/languages/suomi
+libdata/rawtherapee/languages/nederlands
+libdata/rawtherapee/languages/hebrew
+libdata/rawtherapee/languages/francais
+libdata/rawtherapee/languages/deutsch
+libdata/rawtherapee/languages/dansk
+libdata/rawtherapee/languages/turkish
+libdata/rawtherapee/languages/italian
+libdata/rawtherapee/languages/chinese traditional
+libdata/rawtherapee/languages/euskara
+libdata/rawtherapee/languages/slovak
+libdata/rawtherapee/profiles/crisp.pp2
+libdata/rawtherapee/profiles/neutral.pp2
+libdata/rawtherapee/profiles/default.pp2
+libdata/rawtherapee/themes/dark
+libdata/rawtherapee/themes/gray
+libdata/rawtherapee/themes/default
+libdata/rawtherapee/themes/test
+libdata/rawtherapee/themes/light
+libdata/rawtherapee/options
+@dirrm libdata/rawtherapee/themes
+@dirrm libdata/rawtherapee/profiles
+@dirrm libdata/rawtherapee/languages
+@dirrm libdata/rawtherapee/images
+@dirrm libdata/rawtherapee