aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-05-03 12:46:30 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-05-03 12:46:30 +0000
commit24987efd51655ec13ad4878fda2faddb5b6de2a8 (patch)
tree71ea6d91139259fd057ebd8080a0e6a254362311
parentf2114f7abf3e9faed1fc3e37260200d2daf3f068 (diff)
downloadports-24987efd51655ec13ad4878fda2faddb5b6de2a8.tar.gz
ports-24987efd51655ec13ad4878fda2faddb5b6de2a8.zip
Notes
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/iccexamin/Makefile32
-rw-r--r--graphics/iccexamin/distinfo2
-rw-r--r--graphics/iccexamin/files/patch-configure_tests.sh11
-rw-r--r--graphics/iccexamin/files/patch-icc_gl.cpp11
-rw-r--r--graphics/iccexamin/files/patch-icc_helfer.cpp10
-rw-r--r--graphics/iccexamin/files/patch-icc_helfer.h10
-rw-r--r--graphics/iccexamin/pkg-descr6
-rw-r--r--graphics/iccexamin/pkg-plist14
9 files changed, 97 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index a47058ad8709..297786bd00bc 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -369,6 +369,7 @@
SUBDIR += icat
SUBDIR += icc-profiles-basiccolor
SUBDIR += icc-profiles-openicc
+ SUBDIR += iccexamin
SUBDIR += iccxml
SUBDIR += icoconvert
SUBDIR += icon-slicer
diff --git a/graphics/iccexamin/Makefile b/graphics/iccexamin/Makefile
new file mode 100644
index 000000000000..e9f3c8916d0f
--- /dev/null
+++ b/graphics/iccexamin/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= iccexamin
+PORTVERSION= 0.54
+CATEGORIES= graphics
+MASTER_SITES= SF/oyranos/ICC%20Examin/ICC%20Examin%20${PORTVERSION}
+DISTNAME= icc_examin-${PORTVERSION}
+
+MAINTAINER= bsam@FreeBSD.org
+COMMENT= ICC profile viewer and colour visualisation
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/xdg-desktop-menu:${PORTSDIR}/devel/xdg-utils
+LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk \
+ ftgl:${PORTSDIR}/graphics/ftgl \
+ lcms:${PORTSDIR}/graphics/lcms \
+ png15:${PORTSDIR}/graphics/png \
+ tiff:${PORTSDIR}/graphics/tiff \
+ jpeg:${PORTSDIR}/graphics/jpeg \
+ oyranos:${PORTSDIR}/graphics/oyranos
+
+USES= gettext iconv pkgconfig
+USE_BZIP2= yes
+HAS_CONFIGURE= yes
+INSTALLS_ICONS= yes
+USE_XORG= #
+CONFIGURE_ARGS+=--mandir=${PREFIX}/man --prefix=${PREFIX}
+
+MAN1= iccexamin.1
+
+.include <bsd.port.mk>
diff --git a/graphics/iccexamin/distinfo b/graphics/iccexamin/distinfo
new file mode 100644
index 000000000000..2ccdb31215db
--- /dev/null
+++ b/graphics/iccexamin/distinfo
@@ -0,0 +1,2 @@
+SHA256 (icc_examin-0.54.tar.bz2) = d5bb5c21ee0390b56b75865e3023e6465aa39daa3f22e26cf55d8cdd37638f64
+SIZE (icc_examin-0.54.tar.bz2) = 593684
diff --git a/graphics/iccexamin/files/patch-configure_tests.sh b/graphics/iccexamin/files/patch-configure_tests.sh
new file mode 100644
index 000000000000..a5ae3ed7deb4
--- /dev/null
+++ b/graphics/iccexamin/files/patch-configure_tests.sh
@@ -0,0 +1,11 @@
+--- configure_tests.sh.orig 2013-05-02 12:43:23.000000000 +0400
++++ configure_tests.sh 2013-05-02 12:44:18.000000000 +0400
+@@ -1111,7 +1111,7 @@ fi
+ if [ -n "$PO" ] && [ $PO -gt 0 ]; then
+ pos_dir="`ls $ROOT_DIR/po/*.po 2> /dev/null`"
+ LING="`echo $pos_dir | sed s%$ROOT_DIR/%%g`"
+- LINGUAS="`echo $pos_dir | sed s%\.po%%g | sed s%$ROOT_DIR/%%g`"
++ LINGUAS="`echo $pos_dir | sed s%$ROOT_DIR/po/%%g | sed s%\.po%%g`"
+ echo "LINGUAS = $LINGUAS" >> $CONF
+ echo_="translations available: $LINGUAS"; echo "$echo_" >> $CONF_LOG; test -n "$ECHO" && $ECHO "$echo_"
+ echo "LING = $LING" >> $CONF
diff --git a/graphics/iccexamin/files/patch-icc_gl.cpp b/graphics/iccexamin/files/patch-icc_gl.cpp
new file mode 100644
index 000000000000..0a028fb1bea7
--- /dev/null
+++ b/graphics/iccexamin/files/patch-icc_gl.cpp
@@ -0,0 +1,11 @@
+--- icc_gl.cpp.orig 2013-05-01 21:38:55.000000000 +0400
++++ icc_gl.cpp 2013-05-01 21:39:28.000000000 +0400
+@@ -191,7 +191,7 @@ void drawText( FTFont * f, const char *
+ ttmp = txt = strdup(in_txt);
+
+ iconv_t cd = iconv_open( "WCHAR_T", oy_domain_codeset );
+- iconv( cd, &ttmp, &in_left, (char**)&wtmp, &out_left);
++ iconv( cd, (const char**)&ttmp, &in_left, (char**)&wtmp, &out_left);
+ iconv_close( cd );
+
+ drawTEXT( f, wchar );
diff --git a/graphics/iccexamin/files/patch-icc_helfer.cpp b/graphics/iccexamin/files/patch-icc_helfer.cpp
new file mode 100644
index 000000000000..4b8ebbbbd3a4
--- /dev/null
+++ b/graphics/iccexamin/files/patch-icc_helfer.cpp
@@ -0,0 +1,10 @@
+--- icc_helfer.cpp.orig 2013-05-01 21:42:51.000000000 +0400
++++ icc_helfer.cpp 2013-05-01 21:43:35.000000000 +0400
+@@ -34,6 +34,7 @@
+ # define DEBUG_ICCFUNKT
+ #endif
+
++#include <inttypes.h>
+ #include <icc34.h>
+ #include "icc_utils.h"
+ #include "icc_formeln.h"
diff --git a/graphics/iccexamin/files/patch-icc_helfer.h b/graphics/iccexamin/files/patch-icc_helfer.h
new file mode 100644
index 000000000000..4b9bb191a40f
--- /dev/null
+++ b/graphics/iccexamin/files/patch-icc_helfer.h
@@ -0,0 +1,10 @@
+--- icc_helfer.h.orig 2013-05-01 21:39:58.000000000 +0400
++++ icc_helfer.h 2013-05-01 21:40:51.000000000 +0400
+@@ -30,6 +30,7 @@
+ #ifndef ICC_HELFER_H
+ #define ICC_HELFER_H
+
++#include <inttypes.h>
+ #include <icc34.h>
+
+ #include "icc_utils.h"
diff --git a/graphics/iccexamin/pkg-descr b/graphics/iccexamin/pkg-descr
new file mode 100644
index 000000000000..b4060d394130
--- /dev/null
+++ b/graphics/iccexamin/pkg-descr
@@ -0,0 +1,6 @@
+ICC Examin is a small utility (unix name: iccexamin) for the purpose
+of watching the internals of ICC profiles, measurement data (CGATS),
+colour samples (named colour profiles), gamut visualisations (vrml),
+video card gamma tables (Xorg/XFree86/osX).
+
+WWW: http://www.oyranos.org/icc-examin/
diff --git a/graphics/iccexamin/pkg-plist b/graphics/iccexamin/pkg-plist
new file mode 100644
index 000000000000..6cfcd454da7f
--- /dev/null
+++ b/graphics/iccexamin/pkg-plist
@@ -0,0 +1,14 @@
+bin/iccexamin
+share/applications/iccexamin.desktop
+share/fonts/FreeSans.ttf
+share/icons/hicolor/128x128/apps/iccexamin.png
+share/pixmaps/hicolor/scalable/iccexamin.svg
+share/pixmaps/iccexamin.png
+share/locale/cs/LC_MESSAGES/icc_examin.mo
+share/locale/de/LC_MESSAGES/icc_examin.mo
+share/locale/eo/LC_MESSAGES/icc_examin.mo
+share/locale/eu/LC_MESSAGES/icc_examin.mo
+share/locale/fr/LC_MESSAGES/icc_examin.mo
+@dirrmtry share/pixmaps/hicolor/scalable
+@dirrmtry share/pixmaps/hicolor
+@dirrmtry share/fonts