summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@gmx.de>2014-03-28 11:34:10 +0100
committerSven Eden <sven.eden@gmx.de>2014-03-28 11:34:10 +0100
commita4615a6f2f7f86d6226d0e449acadb8ed3ec9799 (patch)
tree905d0e8b6f743ff2255d835a223368d02311f59b /media-libs
parentdev-games/ogre-1.9.0-r1 fixed ebuild; Masked ogre-1.9.0-r1 (Breaks consumers ... (diff)
downloadseden-a4615a6f2f7f86d6226d0e449acadb8ed3ec9799.tar.gz
seden-a4615a6f2f7f86d6226d0e449acadb8ed3ec9799.tar.bz2
seden-a4615a6f2f7f86d6226d0e449acadb8ed3ec9799.zip
media-libs/oyranos-0.9.4-r2.ebuild : fix doc install bug
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/oyranos/ChangeLog9
-rw-r--r--media-libs/oyranos/Manifest15
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-be-more-verbose.patch51
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-buildsystem-r1.patch162
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-fix-array-access.patch27
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-fix-double-object-release.patch35
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-fix-oyRankMap-helper-functions-crashes.patch53
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-fix-oyStringSegment-crash.patch25
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-fix-runpaths.patch121
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-fix-typos-and-grammar.patch968
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-omit-profile-with-error.patch54
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-set-xcalib-to-screen-if-ge-xrandr-12.patch131
-rw-r--r--media-libs/oyranos/files/oyranos-0.9.4-use-more-internal-xrandr-info.patch35
-rw-r--r--media-libs/oyranos/metadata.xml10
-rw-r--r--media-libs/oyranos/oyranos-0.9.4-r2.ebuild130
15 files changed, 1826 insertions, 0 deletions
diff --git a/media-libs/oyranos/ChangeLog b/media-libs/oyranos/ChangeLog
new file mode 100644
index 0000000..7f806c3
--- /dev/null
+++ b/media-libs/oyranos/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-libs/oyranos
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*oyranos-0.9.4-r2.ebuild (28 Mar 2014)
+
+ 28 Mar 2014; Sven Eden <yamakuzure@gmx.net> +oyranos-0.9.4-r2.ebuild :
+ Fixed install bug.
+
diff --git a/media-libs/oyranos/Manifest b/media-libs/oyranos/Manifest
new file mode 100644
index 0000000..09fee72
--- /dev/null
+++ b/media-libs/oyranos/Manifest
@@ -0,0 +1,15 @@
+AUX oyranos-0.9.4-be-more-verbose.patch 1370 SHA256 6ac0800ce76a0ced9fdd895ec348408064c43299f2718d0571c9f28d71df1f43 SHA512 0e4170fee30865b7e9b2b1ac35df27cdaa3e67f7df9abffe9d8eb437a85461e32f77baba3daa498c6afc83d390d945e1ee7e49722dbbe89de971f3ca79260010 WHIRLPOOL 3d887ca62b4e0d0bc75a706e6b6b1ecfb615ac652e8a4d63544e5118d31ec07fe5b59cf9cca3de5ce1ffd1bc844f655620ee8d75d48717e9c4f465c9dac215db
+AUX oyranos-0.9.4-buildsystem-r1.patch 6065 SHA256 b64462269c67b8791f786cbd4b8037a54571c4dff85650256558a0d988819029 SHA512 50d810da9c1dc2f5487ea96a8acf03845c45824d6bab2c90631f60b542edf9d68be547e08c8203ffba2cd31cc56815606f194574b36e0ee0812886a180cf1408 WHIRLPOOL 45b32d38c72db66904ccf794679fb3410f88ab88d6b1962f6a0764b374d5cd9813ce130520d67c9afa3557681290846c6630064d1c55cb492a0bf5579cde8021
+AUX oyranos-0.9.4-fix-array-access.patch 1082 SHA256 541475585dad65a2d30f7d306d9ca4b8a310615e3e60a4909d2686c8716a3bb0 SHA512 64870430eb014d759daf3e0c7e0ada13bf39a874efac9072ce49f409d747b13820f869320e9eb6be97435335b22741f2c43b849d493d50dd1cc2386a85597161 WHIRLPOOL 35f06ded0df8e481e9802b08eb91bf8a61bf3c2571729ef3c1cff6900b9477e7463b21968cd54352c09a00a6536e18009993483d98a6fb5f38e24cf2b162e651
+AUX oyranos-0.9.4-fix-double-object-release.patch 1183 SHA256 29bc34e193b21265bb07cc1b4296bbb6ed03d25b55f20f9a943e0f0554d3623d SHA512 9f61d1d41dcad0e6fbda2385c934f942f76c74bc93f2ceb1dee91a0346cff498e6db4ffd15a00e40a6468ff3bd528964326da99dbc73524f6f04738a9adeda10 WHIRLPOOL bd655a8edb011075359abe9f1246331d004a37eed9f1424bd21535f24b92058ec87c033052e1e04d6f5083132acbc3e2753e28918e5570526996dda8579c2fac
+AUX oyranos-0.9.4-fix-oyRankMap-helper-functions-crashes.patch 1589 SHA256 041acaa59ef572b7a2604ffbde235ea52bbbe7b11949fa3661d1e00c92441529 SHA512 304a7ec1adf7be2cd18b1e33a52da8ef1153e68078a20bf4d5d2a5be9a98cda756061dd00a675f1b9eedee90b2e753a8583e2c6aacb6309fa647bf2ccebeae13 WHIRLPOOL 3f07dbf78d7513280947870d09e315d8100dbf066a54d60fec73289f5dc2585fcbc7125b6a51e7cd0a8bc451baf192db425c6000c1a571effb014d421faf7199
+AUX oyranos-0.9.4-fix-oyStringSegment-crash.patch 822 SHA256 f12a80e4959759b187847a6ed573bf8972fe098cf3c84e6a0416478d5602efde SHA512 482c8157608c6f9032a3642756155bc495fa3b75586a06ff34377c01fbf5bceb4e5761783d86a1b189bd2d879df6811ed420c58d902dc369ddc8546520f09de3 WHIRLPOOL 80f2e4e07797fd6b28ec0586cc2b1ff9796b858ce932c6853d2efdd27a8da7439f34b84c6b928fbd95dbad9ae0bb79e942abdebf08df63d922c28ddb0d02edfd
+AUX oyranos-0.9.4-fix-runpaths.patch 5200 SHA256 03e1591c85cf59c272b0a415b6c33d4f3fe3f0f7cfb507cad9ec40cd51ee9e16 SHA512 770d8ebeaa2eadf7420ddbd2625a24b80766f5d2d472ad51a3d8736620b16d71033f680ce7d0ac356eea82734dac35a2b124c114b3350c3761d4777356b7f091 WHIRLPOOL 5bd64bcc4e4e192a65193f70b82a9bcc50b8ec50d7f05f1429e5a8f7844a476c507d98460fc220bb6f1bbf3749b7142aa5b3d9be2195a826687446428553c2e3
+AUX oyranos-0.9.4-fix-typos-and-grammar.patch 43847 SHA256 cea8976e827b168bb474a66692351bd9cb346b97c5fc3675bce9a8337c5c7db9 SHA512 06b17498ff4c4cac7b906af8fa912f25e36f294c143dbd3db9ba0ae7ee665af9cf6e1f4fa41b198a284a722962da2ae177cfcc66353030c9ab0ba9ac76c3ef4d WHIRLPOOL afeeb29fe45f1003c076b8f5ad32244b4924e2c709e6c87581b51f51eadd5a43174639b8d50022b7eca12c9d70b983b866d74120d618f1f950846e009de821bb
+AUX oyranos-0.9.4-omit-profile-with-error.patch 1606 SHA256 06ce34d10e2cb9ca5722cb58f624b7041a8f388b53f9298200ae5a9845b7c825 SHA512 594923ae6dcac9aa8430ea3ccb9c7662c421eb2a99a27cfbf46a1083a0217a0c45aae663a1fc30fc6cf13cd2d7f0e4d63e7456180f623c19487b383f0c5a0c2f WHIRLPOOL 94675dd721df309cc10ace447b613b5eae05c8b2e5242f3443c2dd922d62dd253e308bd72e7eac03b735358b47a5c053f142ce9ac75392be99cd981a024f858a
+AUX oyranos-0.9.4-set-xcalib-to-screen-if-ge-xrandr-12.patch 5370 SHA256 3d2f260eb37bee4bbcd65677099076626147f22f17fdc938d26a3b86ceb986b4 SHA512 da7a3c05e161945bab4b8336e6848d06353482351aed45febedcd66f0f1b70276ab42f4a6cbcaff7708fc9ef42d135ec2110550ca66f94aef5c3915a7cf5e176 WHIRLPOOL 89b8264aab7026718694a8f84dfefe5b49af1a912c720165305b6d2d483943c83f5c43d109ffddb90ebfe2133731b87a6fc71ec2f6f4b02c4f705785d68bc2a7
+AUX oyranos-0.9.4-use-more-internal-xrandr-info.patch 1615 SHA256 78d1c45cc18ad555a97d2a6cd50c9ad40cd12c02048f351afc0a3893772c309a SHA512 cf4b42b8e794d19dbbbeab12c97fc80b897bcda26271c943c537f827946ca4a021e818c9fa6971b101aecc10d63e4d12b5781a549b6db62977884fa67134ecbc WHIRLPOOL af3992853631a3464b3ac625628031f63c80cc2da6b0d9b0cbd9f75bc460c4213f6fef5485e55eda8784d1b74c5cc9e7722ed07db10a175654df2b85cabd86ac
+DIST oyranos-0.9.4.tar.bz2 1632276 SHA256 6dcf7f8bef0720077ee55484a5b507ba5f049094f21fbbd2752f2ed120c0768a SHA512 23ded5bac4c16aba8a2d4266981e6ad53cfa2ce720d03751625552a873de8311dda721eb8dd732860ae0a0fcdfc7346f92aaeb8bde281ceeb4895f154d6e6c59 WHIRLPOOL 7ec535e326bf102eb0d154ac995b42b4a8b23a606c35417727b54653424807c47c5a4cf7ece6411627dcffd7ca5d8b1ddc588d97d1a02fb079d27d3d20efd2a5
+EBUILD oyranos-0.9.4-r2.ebuild 3885 SHA256 76da4fb50eca0615df1c42f00c6d3cce7c9494ec1957cc69277073217891b5fe SHA512 875573725b1a789edd4ea3e80800373d7bca494b88490c16356d4d16164d989799164e7e5b904d3394b4ad1a1d56d1d6837299a599b9cbdc506badc2bb398e31 WHIRLPOOL 49cc7d4ca928a6fda3135e3f195e88fb79b9d6836b483b98aaf41c9c1daa463a061d3c4021f711ce08472c613bfd45444dcfaecc52a20875d7e6bdba6f5bdf7b
+MISC ChangeLog 254 SHA256 2eab75d62692c6e9fb09a7eac36cc5dcb4b71b1b4773256f1ba6dc78d7cc0994 SHA512 f2c4717362cfc61f994f8428439261a5b1912d23790617a29b3325de32556e0c530355905da7b44ca16cc6c32451240beece3be21f4bc820861c22a0b74cdf86 WHIRLPOOL d0786925d9e5b38ea2a94d2e116e874bde3a3b330142cd2c4e57651ac7df95ec7d3addf547aed8527dca2b7cce494f4f2a88cda68efea530b2601b2f6842a459
+MISC metadata.xml 298 SHA256 3a28ce89dfc48817905b249d8984974bc6ead41dc6f4982005417d68b9760af7 SHA512 fab9927a1eb83cc6dc719846ad7824c7003e9c1d8deef44fe343856d6b5b4e7e036f2d069fc3044507a289b014be3b67ebc2f5bebccefa1dbaf4995144d58ae2 WHIRLPOOL 2c1ebf12df5203e1b7dd18f5da116ba3f8095787c3036573b8a30b6c6d95ca41c38f220077935c1715c48acd76aac0a62dcae30a2544373b1881b17363325de0
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-be-more-verbose.patch b/media-libs/oyranos/files/oyranos-0.9.4-be-more-verbose.patch
new file mode 100644
index 0000000..66ed023
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-be-more-verbose.patch
@@ -0,0 +1,51 @@
+From 80fd8efab3f56c698b4182846d8707916849cad9 Mon Sep 17 00:00:00 2001
+From: Kai-Uwe Behrmann <ku.b@gmx.de>
+Date: Sat, 9 Feb 2013 18:21:47 +0100
+Subject: [PATCH] * [tools]: add more verbosity to oy-monitor -v
+
+Here to the profile assignment part.
+---
+ src/tools/oyranos_gamma.c | 16 ++++++++++++++++
+ 1 files changed, 16 insertions(+), 0 deletions(-)
+
+diff --git a/src/tools/oyranos_gamma.c b/src/tools/oyranos_gamma.c
+index f2206a5..005bdd2 100644
+--- a/src/tools/oyranos_gamma.c
++++ b/src/tools/oyranos_gamma.c
+@@ -747,16 +747,32 @@ int main( int argc , char** argv )
+
+ if(monitor_profile)
+ {
++ if(verbose)
++ fprintf( stdout, "oyDeviceSetProfile()\n" );
+ oyDeviceSetProfile( device, monitor_profile );
++ if(verbose)
++ fprintf( stdout, "oyDeviceUnset()\n" );
+ oyDeviceUnset( device );
+ } else
+ if(erase || unset)
++ {
++ if(verbose)
++ fprintf( stdout, "oyDeviceUnset()\n" );
+ oyDeviceUnset( device );
++ }
+ if(erase)
++ {
++ if(verbose)
++ fprintf( stdout, "oyConfig_EraseFromDB()\n" );
+ oyConfig_EraseFromDB( device );
++ }
+
+ if(setup)
++ {
++ if(verbose)
++ fprintf( stdout, "oyDeviceSetup()\n" );
+ oyDeviceSetup( device );
++ }
+
+ oyConfig_Release( &device );
+ }
+--
+1.5.6.5
+
+
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-buildsystem-r1.patch b/media-libs/oyranos/files/oyranos-0.9.4-buildsystem-r1.patch
new file mode 100644
index 0000000..a4516a2
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-buildsystem-r1.patch
@@ -0,0 +1,162 @@
+--- oyranos-0.9.4/src/CMakeLists.txt
++++ oyranos-0.9.4/src/CMakeLists.txt
+@@ -100,7 +100,9 @@
+ INCLUDE_DIRECTORIES( ${XCM_INCLUDE_DIRS} )
+ LINK_DIRECTORIES( ${XCM_LIBRARY_DIRS} )
+
+-FIND_PACKAGE( X11 )
++IF(WANT_X11)
++FIND_PACKAGE( X11 REQUIRED )
++ENDIF(WANT_X11)
+ IF(X11_FOUND)
+ INCLUDE_DIRECTORIES( ${X11_INCLUDE_DIRS} )
+ LINK_DIRECTORIES( ${X11_LIBRARY_DIRS} )
+@@ -123,27 +125,35 @@
+ LINK_DIRECTORIES( ${XXF86VM_LIBRARY_DIRS} )
+ ENDIF(X11_FOUND)
+
+-FIND_PACKAGE( CUPS )
++IF(WANT_CUPS)
++FIND_PACKAGE( Cups REQUIRED )
++SET( HAVE_CUPS 1 )
++ENDIF(WANT_CUPS)
+ IF(HAVE_CUPS)
+- INCLUDE_DIRECTORIES( ${CUPS_INCLUDE_DIRS} )
+- LINK_DIRECTORIES( ${CUPS_LIBRARY_DIRS} )
++ INCLUDE_DIRECTORIES( ${CUPS_INCLUDE_DIR} )
+ ENDIF(HAVE_CUPS)
+
+-FIND_PACKAGE( Cairo )
++IF(WANT_CAIRO)
++FIND_PACKAGE( Cairo REQUIRED)
++ENDIF(WANT_CAIRO)
+ IF(HAVE_CAIRO)
+ INCLUDE_DIRECTORIES( ${CAIRO_INCLUDE_DIR}/cairo )
+ INCLUDE_DIRECTORIES( ${CAIRO_INCLUDE_DIR} )
+ LINK_DIRECTORIES( ${CAIRO_LIBRARY_DIRS} )
+ ENDIF(HAVE_CAIRO)
+
+-FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui)
++IF(WANT_QT4)
++FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED)
++ENDIF(WANT_QT4)
+ IF(QT_FOUND)
+ SET( HAVE_QT 1 )
+ INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIRS} )
+ LINK_DIRECTORIES( ${QT_LIBRARY_DIRS} )
+ ENDIF(QT_FOUND)
+
+-FIND_PACKAGE( Fltk )
++IF(WANT_FLTK)
++FIND_PACKAGE( FLTK REQUIRED)
++ENDIF(WANT_FLTK)
+ IF(FLTK_FOUND)
+ SET( HAVE_FLTK 1 )
+ INCLUDE_DIRECTORIES( ${FLTK_INCLUDE_DIRS} )
+@@ -159,7 +169,9 @@
+ SET( LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} PARENT_SCOPE)
+ ENDIF(LIBXML2_FOUND)
+
+-FIND_PACKAGE( LibRaw )
++IF(WANT_LIBRAW)
++FIND_PACKAGE( LibRaw REQUIRED )
++ENDIF(WANT_LIBRAW)
+ IF( HAVE_LIBRAW )
+ # TRY_COMPILE(
+ # HAVE_LIBRAW_REALLY
+@@ -182,7 +194,9 @@
+ MESSAGE( "HAVE_LIBRAW_PLUGIN: ${HAVE_LIBRAW_PLUGIN}" )
+ ENDIF()
+
+-FIND_PACKAGE( Exif2 )
++IF(WANT_EXIV2)
++FIND_PACKAGE( Exif2 REQUIRED )
++ENDIF(WANT_EXIV2)
+ IF(HAVE_EXIV2)
+ INCLUDE_DIRECTORIES( ${EXIV2_INCLUDE_DIRS} )
+ LINK_DIRECTORIES( ${EXIV2_LIBRARY_DIRS} )
+--- oyranos-0.9.4/CMakeLists.txt
++++ oyranos-0.9.4/CMakeLists.txt
+@@ -41,7 +41,7 @@
+
+
+ # detect top level projects
+-FIND_PACKAGE( Yajl )
++FIND_PACKAGE( Yajl REQUIRED )
+ IF( HAVE_YAJL )
+ INCLUDE_DIRECTORIES( ${YAJL_INCLUDE_DIRS} )
+ LINK_DIRECTORIES( ${YAJL_LIBRARY_DIRS} )
+@@ -51,71 +51,15 @@
+ IF( NOT HAVE_YAJL_VERSION_H )
+ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/yajl/ )
+ ENDIF( NOT HAVE_YAJL_VERSION_H )
+-ELSE( HAVE_YAJL )
+- IF(CMAKE_VERSION VERSION_GREATER 2.8.0)
+- include(ExternalProject)
+- ExternalProject_Add( yajl
+- SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/yajl
+- CONFIGURE_COMMAND cmake ${CMAKE_CURRENT_SOURCE_DIR}/yajl
+- BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/yajl
+- BUILD_COMMAND ${MAKE}
+- # skip installation
+- INSTALL_COMMAND echo )
+- INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/yajl )
+- LINK_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR}/yajl )
+- SET( YAJL_LIBRARIES yajl-static )
+- ENDIF()
+-
+ ENDIF( HAVE_YAJL )
+
+-FIND_PACKAGE( Elektra )
++FIND_PACKAGE( Elektra REQUIRED )
++SET( HAVE_ELEKTRA 1 )
+ IF(HAVE_ELEKTRA)
+ SET( ELEKTRA_SPEC "Requires: elektra 0.7
+ BuildRequires: elektra-devel" )
+ INCLUDE_DIRECTORIES( ${ELEKTRA_INCLUDE_DIRS} )
+ LINK_DIRECTORIES( ${ELEKTRA_LIBRARY_DIRS} )
+-ELSE(HAVE_ELEKTRA)
+- SET( ELEKTRA_VERSION elektra-0.7.1 )
+- MESSAGE( "-- Using internal Elektra: ${ELEKTRA_VERSION}" )
+- INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/${ELEKTRA_VERSION}/src/include
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/include )
+- SET( ELEKTRA_LIBRARIES_STATIC
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-kdb.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-kdbhandle.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-key.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-keyset.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-trie.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-kdbhighlevel.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-kdbcapability.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-keyhelpers.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-keymeta.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-keyname.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-keytest.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-keyvalue.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-serialize.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-split.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektra/libelektra_a-exported_symbols.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libloader/libloader_static_a-kdbLibLoader.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libhelper/libhelper_static_a-internal.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libhelper/libhelper_static_a-helper.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/backends/filesys/libelektra_filesys_a-filesys.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektratools/libelektratools_a-kdbtools.o
+- ${CMAKE_BINARY_DIR}/${ELEKTRA_VERSION}/src/libelektratools/libelektratools_a-stream.o
+- )
+- SET( ELEKTRA_LIBRARIES
+- ${LIBXML2_LIBRARIES}
+- )
+- IF(CMAKE_VERSION VERSION_GREATER 2.8.0)
+- include(ExternalProject)
+- ExternalProject_Add( ${ELEKTRA_VERSION}
+- SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/${ELEKTRA_VERSION}
+- # GCC flags (-fPIC) will fail on Windows, without we get relocation R_X86_64_32 errors
+- CONFIGURE_COMMAND CFLAGS=-fPIC ${CMAKE_CURRENT_SOURCE_DIR}/${ELEKTRA_VERSION}/configure --enable-static --enable-shared=false
+- BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${ELEKTRA_VERSION}
+- BUILD_COMMAND ${MAKE}
+- # skip installation
+- INSTALL_COMMAND echo )
+- ENDIF()
+ ENDIF(HAVE_ELEKTRA)
+
+ #now add all directories
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-fix-array-access.patch b/media-libs/oyranos/files/oyranos-0.9.4-fix-array-access.patch
new file mode 100644
index 0000000..0c5ca3c
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-fix-array-access.patch
@@ -0,0 +1,27 @@
+From: Kai-Uwe Behrmann <ku.b@gmx.de>
+Date: Mon, 18 Mar 2013 18:07:16 +0000 (+0100)
+Subject: * [oyX1]: fix array access
+X-Git-Url: http://www.oyranos.org/scm?p=oyranos.git;a=commitdiff_plain;h=11d848a38608deeeca61288d46cfca55c6916788
+
+* [oyX1]: fix array access
+---
+
+diff --git a/src/modules/devices/oyranos_monitor_x11.c b/src/modules/devices/oyranos_monitor_x11.c
+index a530a81..bac09c1 100644
+--- a/src/modules/devices/oyranos_monitor_x11.c
++++ b/src/modules/devices/oyranos_monitor_x11.c
+@@ -1329,6 +1329,13 @@ oyX1Monitor_s* oyX1Monitor_newFrom_ ( const char * display_name,
+ int n_scr_info = 0;
+ XineramaScreenInfo *scr_info = XineramaQueryScreens( display,
+ &n_scr_info );
++ if(n_scr_info <= selected_screen)
++ {
++ XFree( scr_info );
++ oyX1Monitor_release_( &disp );
++ return 0;
++ }
++
+ geo[0] = scr_info[selected_screen].x_org;
+ geo[1] = scr_info[selected_screen].y_org;
+ geo[2] = scr_info[selected_screen].width;
+
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-fix-double-object-release.patch b/media-libs/oyranos/files/oyranos-0.9.4-fix-double-object-release.patch
new file mode 100644
index 0000000..1cbdf47
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-fix-double-object-release.patch
@@ -0,0 +1,35 @@
+From: Kai-Uwe Behrmann <ku.b@gmx.de>
+Date: Wed, 20 Mar 2013 17:15:17 +0000 (+0100)
+Subject: * [core]: fix double object release
+X-Git-Url: http://www.oyranos.org/scm?p=oyranos.git;a=commitdiff_plain;h=6214cf15fafae52d67233d27462488487091d8d6
+
+* [core]: fix double object release
+
+... which was revealed by valgrind
+---
+
+diff --git a/src/API_generated/oyranos_devices.c b/src/API_generated/oyranos_devices.c
+index 4ed5138..8cee0c8 100644
+--- a/src/API_generated/oyranos_devices.c
++++ b/src/API_generated/oyranos_devices.c
+@@ -1896,7 +1896,6 @@ OYAPI int OYEXPORT
+ oyConfigs_MoveIn( taxi_devices, &taxi_dev, -1 );
+ }
+ oyConfigs_Release( &configs_ );
+- oyOptions_Release( &options );
+ oyFree_m_(ranks);
+ }
+
+diff --git a/src/templates/oyranos_devices.template.c b/src/templates/oyranos_devices.template.c
+index 586ba36..ff555e3 100644
+--- a/src/templates/oyranos_devices.template.c
++++ b/src/templates/oyranos_devices.template.c
+@@ -1881,7 +1881,6 @@ OYAPI int OYEXPORT
+ oyConfigs_MoveIn( taxi_devices, &taxi_dev, -1 );
+ }
+ oyConfigs_Release( &configs_ );
+- oyOptions_Release( &options );
+ oyFree_m_(ranks);
+ }
+
+
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-fix-oyRankMap-helper-functions-crashes.patch b/media-libs/oyranos/files/oyranos-0.9.4-fix-oyRankMap-helper-functions-crashes.patch
new file mode 100644
index 0000000..27c06cd
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-fix-oyRankMap-helper-functions-crashes.patch
@@ -0,0 +1,53 @@
+From: Kai-Uwe Behrmann <ku.b@gmx.de>
+Date: Fri, 22 Feb 2013 18:42:23 +0000 (+0100)
+Subject: * [sources]: fix counting in oyRankMap data
+X-Git-Url: http://www.oyranos.org/scm?p=oyranos.git;a=commitdiff_plain;h=c2feb3e1f1ab45702f98c8728898eab1ee849cd4
+
+* [sources]: fix counting in oyRankMap data
+
+2013-04-21: backport to oyranos-0.9.4, remove (duplicate) patch for nonexistent file
+
+This fixes crashes in several oyRankMap helper functions.
+---
+
+diff --git a/src/API_generated/oyConfig_s.c b/src/API_generated/oyConfig_s.c
+index 8ec0ff6..7ea1f3b 100644
+--- a/src/API_generated/oyConfig_s.c
++++ b/src/API_generated/oyConfig_s.c
+@@ -983,14 +983,14 @@ oyRankMap * oyRankMapCopy ( const oyRankMap * rank_map,
+ {
+ oyRankMap * map = 0;
+ int error = !rank_map;
+- int n = 0, i;
++ int n = 0, i = 0;
+
+ if(!allocateFunc)
+ allocateFunc = oyAllocateFunc_;
+
+ if(error <= 0)
+ {
+- while( rank_map[n++].key ) {}
++ while( rank_map[i++].key ) ++n;
+
+ oyAllocHelper_m_( map, oyRankMap, n + 1, allocateFunc, error = 1 );
+ }
+@@ -1025,7 +1025,7 @@ OYAPI void OYEXPORT
+ oyDeAlloc_f deAllocateFunc )
+ {
+ int error = !rank_map || !*rank_map;
+- int n = 0, i;
++ int n = 0, i = 0;
+
+ if(!deAllocateFunc)
+ deAllocateFunc = oyDeAllocateFunc_;
+@@ -1033,7 +1033,7 @@ OYAPI void OYEXPORT
+ if(error <= 0)
+ {
+ oyRankMap * map = *rank_map;
+- while( (*rank_map)[n++].key ) {}
++ while( (*rank_map)[i++].key ) ++n;
+ for(i = 0; i < n; ++i)
+ {
+ deAllocateFunc( map[i].key ); map[i].key = 0;
+--
+1.5.6.5
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-fix-oyStringSegment-crash.patch b/media-libs/oyranos/files/oyranos-0.9.4-fix-oyStringSegment-crash.patch
new file mode 100644
index 0000000..7de609b
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-fix-oyStringSegment-crash.patch
@@ -0,0 +1,25 @@
+From: Kai-Uwe Behrmann <ku.b@gmx.de>
+Date: Wed, 13 Mar 2013 13:59:19 +0000 (+0100)
+Subject: * [core]: fix oyStringSegment_() crash
+X-Git-Url: http://www.oyranos.org/scm?p=oyranos.git;a=commitdiff_plain;h=cf495d5ede29f7211e498217c4d06428f944bac3
+
+2013-04-21: backport to oyranos-0.9.1, remove unrelated oyStringReplace_ hunk
+
+* [core]: fix oyStringSegment_() crash
+---
+
+diff --git a/src/liboyranos_core/oyranos_string.c b/src/liboyranos_core/oyranos_string.c
+index 525ce7e..1d214c0 100644
+--- a/src/liboyranos_core/oyranos_string.c
++++ b/src/liboyranos_core/oyranos_string.c
+@@ -499,7 +499,7 @@ char * oyStringSegment_ ( char * text,
+ for(; i < segment; ++i)
+ {
+ t = oyStrchr_( t, delimiter );
+- ++t;
++ if(t) ++t;
+ }
+
+ end_pos = (uintptr_t) oyStrchr_(t, delimiter);
+--
+1.5.6.5
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-fix-runpaths.patch b/media-libs/oyranos/files/oyranos-0.9.4-fix-runpaths.patch
new file mode 100644
index 0000000..0287c11
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-fix-runpaths.patch
@@ -0,0 +1,121 @@
+From b8f4a5fe0cea02878de106f5d02751e922438275 Mon Sep 17 00:00:00 2001
+From: Kai-Uwe Behrmann <ku.b@gmx.de>
+Date: Wed, 3 Apr 2013 10:01:04 +0200
+Subject: [PATCH 1/1] * [build]: fix has insecure RUNPATHs
+
+https://sourceforge.net/tracker/?func=detail&atid=879553&aid=3609840&group_id=177017
+
+2013-04-03: backport to oyranos-0.9.4:
+ merged 1-line change from commit 5b63d318e53ae8b8f3a0ccb166c97acf6103caac
+
+---
+ CMakeLists.txt | 2 +-
+ src/examples/CMakeLists.txt | 26 ++++++++++++++++++++++++++
+ src/examples/oforms/CMakeLists.txt | 28 ++++------------------------
+ src/tools/CMakeLists.txt | 2 +-
+ 4 files changed, 32 insertions(+), 26 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f24965c..6e9c8fb 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -10,7 +10,7 @@ SET (OYRANOS_DEVEL_MONTH 01)
+ SET (OYRANOS_DEVEL_YEAR 2013)
+
+ SET (PACKAGE_NAME "oyranos")
+-set (PACKAGE_DESCRIPTION "Oyranos is a Colour Management System (CMS) on operating system level. It allows to match predictably input device colours to output device colours across supporting applications. One goal is to make colour management useful for all users in a automated fashion and regardless of any technical knowledge.")
++SET (PACKAGE_DESCRIPTION "Oyranos is a Colour Management System (CMS) on operating system level. It allows to match predictably input device colours to output device colours across supporting applications. One goal is to make colour management useful for all users in a automated fashion and regardless of any technical knowledge.")
+
+ SET( OY_CMMSUBPATH "colour/modules" )
+ SET( OY_METASUBPATH "${PACKAGE_NAME}" )
+diff --git a/src/examples/CMakeLists.txt b/src/examples/CMakeLists.txt
+index dfe807c..4adfdc9 100644
+--- a/src/examples/CMakeLists.txt
++++ b/src/examples/CMakeLists.txt
+@@ -60,4 +60,30 @@ IF( FLTK_FOUND )
+ INSTALL (TARGETS oyranos-config-fltk DESTINATION bin)
+ ENDIF()
+
++
+ ADD_SUBDIRECTORY( oforms )
++
++# oFORMS for a Oyranos CLI renderer and parser
++ADD_EXECUTABLE( oyranos-xforms oforms/oyranos_xforms.c )
++TARGET_LINK_LIBRARIES( oyranos-xforms
++ ${OY_OFORMS_LIB} oyranos ${EXTRA_LIBS} )
++#INSTALL (TARGETS oyranos-xforms DESTINATION bin)
++
++# oFORMS for a Oyranos FLTK renderer and parser
++IF( FLTK_FOUND )
++ ADD_EXECUTABLE( oyranos-xforms-fltk
++ oforms/oyranos_forms_fltk.cxx
++ oforms/oyranos_widgets_fltk.cxx
++ oforms/oyranos_xforms_fltk.cxx
++ )
++ TARGET_LINK_LIBRARIES ( oyranos-xforms-fltk oyranos ${EXTRA_LIBS}
++ ${OY_OFORMS_LIB} ${FLTK_LIBRARIES} )
++ #INSTALL (TARGETS oyranos-xforms-fltk DESTINATION bin)
++ENDIF()
++
++# oFORMS for a Oyranos module generation
++ADD_EXECUTABLE( oyranos-xforms-modules oforms/oyranos_xforms_modules.c )
++TARGET_LINK_LIBRARIES( oyranos-xforms-modules
++ oyranos ${OY_OFORMS_LIB} ${EXTRA_LIBS} )
++INSTALL (TARGETS oyranos-xforms-modules DESTINATION bin)
++
+diff --git a/src/examples/oforms/CMakeLists.txt b/src/examples/oforms/CMakeLists.txt
+index 4d248ec..c0ff965 100644
+--- a/src/examples/oforms/CMakeLists.txt
++++ b/src/examples/oforms/CMakeLists.txt
+@@ -1,31 +1,11 @@
+ #oFORMS basics
+-SET( OY_OFORMS_LIB ${PACKAGE_NAME}_forms_cmd_line )
++SET( OY_OFORMS_LIB ${PACKAGE_NAME}_forms_cmd_line-static )
++SET( OY_OFORMS_LIB ${OY_OFORMS_LIB} PARENT_SCOPE )
+ ADD_LIBRARY( ${OY_OFORMS_LIB}
+- STATIC ${OY_OFORMS_LIB}.c )
++ STATIC ${PACKAGE_NAME}_forms_cmd_line.c )
+ TARGET_LINK_LIBRARIES ( ${OY_OFORMS_LIB} oyranos ${EXTRA_LIBS} )
+
+-# oFORMS for a Oyranos CML renderer and parser
+-ADD_EXECUTABLE( ../oyranos-xforms oyranos_xforms.c )
+-TARGET_LINK_LIBRARIES( ../oyranos-xforms
+- oyranos ${OY_OFORMS_LIB} ${EXTRA_LIBS} )
+-#INSTALL (TARGETS oyranos-xforms DESTINATION bin)
++MESSAGE( "-- OY_OFORMS_LIB: ${OY_OFORMS_LIB}" )
+
+-# oFORMS for a Oyranos FLTK renderer and parser
+-IF( FLTK_FOUND )
+- ADD_EXECUTABLE( ../oyranos-xforms-fltk
+- oyranos_forms_fltk.cxx
+- oyranos_widgets_fltk.cxx
+- oyranos_xforms_fltk.cxx
+- )
+- TARGET_LINK_LIBRARIES ( ../oyranos-xforms-fltk oyranos ${EXTRA_LIBS}
+- ${FLTK_LIBRARIES} )
+- #INSTALL (TARGETS oyranos-xforms-fltk DESTINATION bin)
+-ENDIF()
+-
+-# oFORMS for a Oyranos module generation
+-ADD_EXECUTABLE( ../oyranos-xforms-modules oyranos_xforms_modules.c )
+-TARGET_LINK_LIBRARIES( ../oyranos-xforms-modules
+- oyranos ${OY_OFORMS_LIB} ${EXTRA_LIBS} )
+-INSTALL (TARGETS ../oyranos-xforms-modules DESTINATION bin)
+ INSTALL (FILES ./oyranos-xforms-modules.1 DESTINATION share/man/man1 )
+
+diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
+index cb23ace..3b2572a 100644
+--- a/src/tools/CMakeLists.txt
++++ b/src/tools/CMakeLists.txt
+@@ -30,7 +30,7 @@ ENDIF()
+
+ # colour conversion
+ ADD_EXECUTABLE( oyranos-icc "${CMAKE_CURRENT_SOURCE_DIR}/oyranos_convert.c" )
+-TARGET_LINK_LIBRARIES( oyranos-icc oyranos ${EXTRA_LIBS} )
++TARGET_LINK_LIBRARIES( oyranos-icc oyranos ${EXTRA_LIBS} oyranos_forms_cmd_line-static )
+ INSTALL (TARGETS oyranos-icc DESTINATION bin)
+
+ ADD_SUBDIRECTORY (qcmsevents)
+--
+1.5.6.5
+
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-fix-typos-and-grammar.patch b/media-libs/oyranos/files/oyranos-0.9.4-fix-typos-and-grammar.patch
new file mode 100644
index 0000000..790c424
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-fix-typos-and-grammar.patch
@@ -0,0 +1,968 @@
+commit bf50dbd47ddef1ccb49bb44cbf893ae7844240d6
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Wed Apr 3 02:14:21 2013 +0200
+
+ more typo and grammar fixes
+
+diff --git a/po/cs.po b/po/cs.po
+index 9440519..a99974e 100644
+--- a/po/cs.po
++++ b/po/cs.po
+@@ -290,7 +290,7 @@ msgstr "Již aktivováno"
+
+ #: liboyranos_config/oyranos_texts.c:273
+ #, fuzzy
+-msgid "Anylyze ICC profile information on your system."
++msgid "Analyze ICC profile information on your system."
+ msgstr "umí zobrazit informace o profilu ICC"
+
+ #: modules/oyranos_cmm_oyra_image.c:1065
+@@ -417,7 +417,7 @@ msgid ""
+ "Behaviour of color space transformation for proofing. Most people want a "
+ "preview on screen only. The Relative Colorimetric intent is right for that. "
+ "The Absolute Colorimetric intent needs a very careful profiling and non-"
+-"trivial setup, but allowes for side-by-side comparisions."
++"trivial setup, but allows for side-by-side comparisons."
+ msgstr ""
+ "Způsob transformace barev pro simulaci. Většina uživatelů použije funkci "
+ "simulace pouze na obrazovce, pro což se hodí relativní kolorimetrický záměr. "
+@@ -670,7 +670,7 @@ msgstr "Transformace barev mohou být interně uloženy různými způsoby"
+ #: liboyranos_config/oyranos_texts.c:174
+ msgid ""
+ "Color content can sometimes have no ICC profile assigned. This is a critical "
+-"situation as the system can not properly convert these colors. Therefor the "
++"situation as the system can not properly convert these colors. Therefore the "
+ "color processing parts need to pick some profile as a guess. These settings "
+ "allow to change the picked ICC profile to guide the processing components "
+ "and allow proper conversion and compositing."
+@@ -1024,7 +1024,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:236
+ msgid ""
+-"Decide what to do when the default color spaces dont match the current ones."
++"Decide what to do when the default color spaces don't match the current ones."
+ msgstr ""
+ "Rozhodnout co dělat, když se výchozí barvový prostor nerovná aktuálnímu."
+
+@@ -2179,7 +2179,7 @@ msgstr "Oyranos X11"
+ #. HTML
+ #: liboyranos_config/oyranos_xml.c:1036
+ msgid ""
+-"Oyranos allowes detailed settings like preferred editing color spaces and "
++"Oyranos allows detailed settings like preferred editing color spaces and "
+ "the behaviour of color conversions or simulation. Oyranos reduces the work "
+ "involved in all color management related decisions through automation, "
+ "useful defaults and grouping of settings in selectable policies."
+@@ -2372,27 +2372,27 @@ msgid "Postscript CRD Information"
+ msgstr "Náhled, saturace"
+
+ #: liboyranos_config/oyranos_texts.c:336
+-msgid "Prefered CIE*Lab Editing Color Space"
++msgid "Preferred CIE*Lab Editing Color Space"
+ msgstr "Preferovaný CIE*Lab barvový prostor pro editaci"
+
+ #: API_generated/oyranos_profile.c:66
+-msgid "Prefered CMM"
++msgid "Preferred CMM"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:316
+-msgid "Prefered Cmyk Editing Color Space"
++msgid "Preferred Cmyk Editing Color Space"
+ msgstr "Preferovaný barvový prostor CMYK pro editaci"
+
+ #: liboyranos_config/oyranos_texts.c:346
+-msgid "Prefered Gray Editing Color Space"
++msgid "Preferred Gray Editing Color Space"
+ msgstr "Preferovaný barvový prostor pro editaci v šedi."
+
+ #: liboyranos_config/oyranos_texts.c:306
+-msgid "Prefered Rgb Editing Color Space"
++msgid "Preferred Rgb Editing Color Space"
+ msgstr "Preferovaný barvový prostor RGB pro editaci"
+
+ #: liboyranos_config/oyranos_texts.c:326
+-msgid "Prefered XYZ Editing Color Space"
++msgid "Preferred XYZ Editing Color Space"
+ msgstr "Preferovaný barvový prostor XYZ pro editaci"
+
+ #. choices
+@@ -2622,7 +2622,7 @@ msgstr "Záměr transformace"
+
+ #: liboyranos_config/oyranos_texts.c:479
+ msgid ""
+-"Rendering intent for color space transformations is typical the Relative "
++"Rendering intent for color space transformations is typically the Relative "
+ "Colorimetric intent plus Black Point Compensation or the Perceptual intent."
+ msgstr ""
+ "Záměr pro transformace mezi různými barvovými prostory se obvykle volí "
+@@ -2932,7 +2932,7 @@ msgstr "The client side window data handler of Oyranos."
+ #: liboyranos_config/oyranos_texts.c:219
+ msgid ""
+ "The conversion between color spaces of different shape and size can happen "
+-"in various ways. The Perceptual rendering intent is usual the best choice "
++"in various ways. The Perceptual rendering intent is usually the best choice "
+ "for photographs and artistic imagery. It is used in many automatic systems. "
+ "The Relative Colorimetric rendering intent provides a well-defined standard, "
+ "one-to-one color mapping, but without applying white point adaption. This "
+@@ -3268,7 +3268,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:347
+ msgid ""
+-"The preferred Gray Editing Color Space shall describe a single lighness "
++"The preferred Gray Editing Color Space shall describe a single lightness "
+ "channel color space for grayscale images."
+ msgstr ""
+ "Preferovaný barvový prostor editace v šedi by měl popisovat barvový prostor "
+@@ -3283,13 +3283,13 @@ msgstr ""
+ "barvový prostor jako např. sRGB."
+
+ #: liboyranos_config/oyranos_texts.c:327
+-msgid "The preferred XYZ Editing Color Space shall decribe CIE*XYZ."
++msgid "The preferred XYZ Editing Color Space shall describe CIE*XYZ."
+ msgstr "Preferovaný barvový prostor editace XYZ by měl popisovat CIE*XYZ."
+
+ #: liboyranos_config/oyranos_texts.c:183
+ msgid ""
+ "The proofing color space represents a real color device for simulation. "
+-"Possible uses cases are to simulate a print machine, a viewing environment "
++"Possible use cases are to simulate a print machine, a viewing environment "
+ "in a theater or a expected small monitor gamut."
+ msgstr ""
+ "Barvový prostor pro simulaci zastupuje skutečné zařízení, jež má být "
+@@ -3387,7 +3387,7 @@ msgstr "Tepelná vosková tiskárna"
+ #: liboyranos_config/oyranos_texts.c:429
+ msgid ""
+ "This setting decides what to do in the case that colors have no color space "
+-"assigned. Typical the according assumed ICC profile should be assigned."
++"assigned. Typically the according assumed ICC profile should be assigned."
+ msgstr ""
+ "Toto nastavení rozhoduje, co se má dělat v případě, že barvy nemají přiřazen "
+ "žádný barvový prostor. Obvykle by měl být přiřazen příslušný předpokládaný "
+diff --git a/po/de.po b/po/de.po
+index 80a106a..80869df 100644
+--- a/po/de.po
++++ b/po/de.po
+@@ -292,7 +292,7 @@ msgid "Already enabled"
+ msgstr "Bereits eingeschalten"
+
+ #: liboyranos_config/oyranos_texts.c:273
+-msgid "Anylyze ICC profile information on your system."
++msgid "Analyze ICC profile information on your system."
+ msgstr "Details zu ICC Profilen in Ihrem System"
+
+ #: modules/oyranos_cmm_oyra_image.c:1065
+@@ -415,7 +415,7 @@ msgid ""
+ "Behaviour of color space transformation for proofing. Most people want a "
+ "preview on screen only. The Relative Colorimetric intent is right for that. "
+ "The Absolute Colorimetric intent needs a very careful profiling and non-"
+-"trivial setup, but allowes for side-by-side comparisions."
++"trivial setup, but allows for side-by-side comparisons."
+ msgstr ""
+ "Verhalten der Farbübertragung bei der Simulation. Die meisten Nutzer "
+ "wünschen eine Simulation nur an einem Bildschirm. Die relativ farbmetrische "
+@@ -652,7 +652,7 @@ msgstr "Farbumwandlung können intern unterschiedlich gespeichert werden"
+ #: liboyranos_config/oyranos_texts.c:174
+ msgid ""
+ "Color content can sometimes have no ICC profile assigned. This is a critical "
+-"situation as the system can not properly convert these colors. Therefor the "
++"situation as the system can not properly convert these colors. Therefore the "
+ "color processing parts need to pick some profile as a guess. These settings "
+ "allow to change the picked ICC profile to guide the processing components "
+ "and allow proper conversion and compositing."
+@@ -1000,7 +1000,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:236
+ msgid ""
+-"Decide what to do when the default color spaces dont match the current ones."
++"Decide what to do when the default color spaces don't match the current ones."
+ msgstr ""
+ "Was ist zu tuen falls Standardfarbräume nicht mit den Eingestellten "
+ "übereinstimmen."
+@@ -2100,7 +2100,7 @@ msgstr "Oyranos X11"
+ #. HTML
+ #: liboyranos_config/oyranos_xml.c:1036
+ msgid ""
+-"Oyranos allowes detailed settings like preferred editing color spaces and "
++"Oyranos allows detailed settings like preferred editing color spaces and "
+ "the behaviour of color conversions or simulation. Oyranos reduces the work "
+ "involved in all color management related decisions through automation, "
+ "useful defaults and grouping of settings in selectable policies."
+@@ -2283,27 +2283,27 @@ msgid "Postscript CRD Information"
+ msgstr "Postscript CRD Information"
+
+ #: liboyranos_config/oyranos_texts.c:336
+-msgid "Prefered CIE*Lab Editing Color Space"
++msgid "Preferred CIE*Lab Editing Color Space"
+ msgstr "Bevorzugter CIE*Lab Editierfarbraum"
+
+ #: API_generated/oyranos_profile.c:66
+-msgid "Prefered CMM"
++msgid "Preferred CMM"
+ msgstr "Bevorzugte CMM"
+
+ #: liboyranos_config/oyranos_texts.c:316
+-msgid "Prefered Cmyk Editing Color Space"
++msgid "Preferred Cmyk Editing Color Space"
+ msgstr "Bevorzugter Cmyk Editierfarbraum"
+
+ #: liboyranos_config/oyranos_texts.c:346
+-msgid "Prefered Gray Editing Color Space"
++msgid "Preferred Gray Editing Color Space"
+ msgstr "Bevorzugter Grau Editierfarbraum"
+
+ #: liboyranos_config/oyranos_texts.c:306
+-msgid "Prefered Rgb Editing Color Space"
++msgid "Preferred Rgb Editing Color Space"
+ msgstr "Bevorzugter Rgb Editierfarbraum"
+
+ #: liboyranos_config/oyranos_texts.c:326
+-msgid "Prefered XYZ Editing Color Space"
++msgid "Preferred XYZ Editing Color Space"
+ msgstr "Bevorzugter XYZ Editierfarbraum"
+
+ #. choices
+@@ -2520,7 +2520,7 @@ msgstr "Übertragungsart: "
+
+ #: liboyranos_config/oyranos_texts.c:479
+ msgid ""
+-"Rendering intent for color space transformations is typical the Relative "
++"Rendering intent for color space transformations is typically the Relative "
+ "Colorimetric intent plus Black Point Compensation or the Perceptual intent."
+ msgstr ""
+
+@@ -2817,7 +2817,7 @@ msgstr "Die benutzerseitige Fensterdatenagent von Oyranos."
+ #: liboyranos_config/oyranos_texts.c:219
+ msgid ""
+ "The conversion between color spaces of different shape and size can happen "
+-"in various ways. The Perceptual rendering intent is usual the best choice "
++"in various ways. The Perceptual rendering intent is usually the best choice "
+ "for photographs and artistic imagery. It is used in many automatic systems. "
+ "The Relative Colorimetric rendering intent provides a well-defined standard, "
+ "one-to-one color mapping, but without applying white point adaption. This "
+@@ -3146,7 +3146,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:347
+ msgid ""
+-"The preferred Gray Editing Color Space shall describe a single lighness "
++"The preferred Gray Editing Color Space shall describe a single lightness "
+ "channel color space for grayscale images."
+ msgstr ""
+ "Der bevorzugte Grautonfarbraum soll Farben mit einem einzigen "
+@@ -3159,13 +3159,13 @@ msgid ""
+ msgstr "Der bevorzugte Rgb Editierfarbraum sollte wohlgeformt sein."
+
+ #: liboyranos_config/oyranos_texts.c:327
+-msgid "The preferred XYZ Editing Color Space shall decribe CIE*XYZ."
++msgid "The preferred XYZ Editing Color Space shall describe CIE*XYZ."
+ msgstr "Der bevorzugter XYZ Editierfarbraum soll CIE*XYZ definieren."
+
+ #: liboyranos_config/oyranos_texts.c:183
+ msgid ""
+ "The proofing color space represents a real color device for simulation. "
+-"Possible uses cases are to simulate a print machine, a viewing environment "
++"Possible use cases are to simulate a print machine, a viewing environment "
+ "in a theater or a expected small monitor gamut."
+ msgstr ""
+ "Der Simulationsfarbraum stellt das Farbverhalten eines realen Gerätes dar. "
+@@ -3257,7 +3257,7 @@ msgstr "Thermischer Wachsdrucker"
+ #: liboyranos_config/oyranos_texts.c:429
+ msgid ""
+ "This setting decides what to do in the case that colors have no color space "
+-"assigned. Typical the according assumed ICC profile should be assigned."
++"assigned. Typically the according assumed ICC profile should be assigned."
+ msgstr ""
+ "Die Einstellung entscheidet was mit Farben ohne Farbprofil geschehen soll. "
+ "Typischerweise wird das vermutete Farbprofil automatisch zugewiesen."
+diff --git a/po/eo.po b/po/eo.po
+index 787905a..bcf0dfc 100644
+--- a/po/eo.po
++++ b/po/eo.po
+@@ -308,7 +308,7 @@ msgid "Already enabled"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:273
+-msgid "Anylyze ICC profile information on your system."
++msgid "Analyze ICC profile information on your system."
+ msgstr ""
+
+ #: modules/oyranos_cmm_oyra_image.c:1065
+@@ -435,7 +435,7 @@ msgid ""
+ "Behaviour of color space transformation for proofing. Most people want a "
+ "preview on screen only. The Relative Colorimetric intent is right for that. "
+ "The Absolute Colorimetric intent needs a very careful profiling and non-"
+-"trivial setup, but allowes for side-by-side comparisions."
++"trivial setup, but allows for side-by-side comparisons."
+ msgstr ""
+
+ #: modules/oyranos_cmm_lraw.cpp:1041
+@@ -665,7 +665,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:174
+ msgid ""
+ "Color content can sometimes have no ICC profile assigned. This is a critical "
+-"situation as the system can not properly convert these colors. Therefor the "
++"situation as the system can not properly convert these colors. Therefore the "
+ "color processing parts need to pick some profile as a guess. These settings "
+ "allow to change the picked ICC profile to guide the processing components "
+ "and allow proper conversion and compositing."
+@@ -992,7 +992,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:236
+ msgid ""
+-"Decide what to do when the default color spaces dont match the current ones."
++"Decide what to do when the default color spaces don't match the current ones."
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:154
+@@ -2067,7 +2067,7 @@ msgstr ""
+ #. HTML
+ #: liboyranos_config/oyranos_xml.c:1036
+ msgid ""
+-"Oyranos allowes detailed settings like preferred editing color spaces and "
++"Oyranos allows detailed settings like preferred editing color spaces and "
+ "the behaviour of color conversions or simulation. Oyranos reduces the work "
+ "involved in all color management related decisions through automation, "
+ "useful defaults and grouping of settings in selectable policies."
+@@ -2235,31 +2235,31 @@ msgstr "kolora"
+
+ #: liboyranos_config/oyranos_texts.c:336
+ #, fuzzy
+-msgid "Prefered CIE*Lab Editing Color Space"
++msgid "Preferred CIE*Lab Editing Color Space"
+ msgstr "kolora"
+
+ #: API_generated/oyranos_profile.c:66
+-msgid "Prefered CMM"
++msgid "Preferred CMM"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:316
+ #, fuzzy
+-msgid "Prefered Cmyk Editing Color Space"
++msgid "Preferred Cmyk Editing Color Space"
+ msgstr "kolora"
+
+ #: liboyranos_config/oyranos_texts.c:346
+ #, fuzzy
+-msgid "Prefered Gray Editing Color Space"
++msgid "Preferred Gray Editing Color Space"
+ msgstr "kolora"
+
+ #: liboyranos_config/oyranos_texts.c:306
+ #, fuzzy
+-msgid "Prefered Rgb Editing Color Space"
++msgid "Preferred Rgb Editing Color Space"
+ msgstr "kolora"
+
+ #: liboyranos_config/oyranos_texts.c:326
+ #, fuzzy
+-msgid "Prefered XYZ Editing Color Space"
++msgid "Preferred XYZ Editing Color Space"
+ msgstr "kolora"
+
+ #. choices
+@@ -2478,7 +2478,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:479
+ msgid ""
+-"Rendering intent for color space transformations is typical the Relative "
++"Rendering intent for color space transformations is typically the Relative "
+ "Colorimetric intent plus Black Point Compensation or the Perceptual intent."
+ msgstr ""
+
+@@ -2748,7 +2748,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:219
+ msgid ""
+ "The conversion between color spaces of different shape and size can happen "
+-"in various ways. The Perceptual rendering intent is usual the best choice "
++"in various ways. The Perceptual rendering intent is usually the best choice "
+ "for photographs and artistic imagery. It is used in many automatic systems. "
+ "The Relative Colorimetric rendering intent provides a well-defined standard, "
+ "one-to-one color mapping, but without applying white point adaption. This "
+@@ -2962,7 +2962,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:347
+ msgid ""
+-"The preferred Gray Editing Color Space shall describe a single lighness "
++"The preferred Gray Editing Color Space shall describe a single lightness "
+ "channel color space for grayscale images."
+ msgstr ""
+
+@@ -2973,13 +2973,13 @@ msgid ""
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:327
+-msgid "The preferred XYZ Editing Color Space shall decribe CIE*XYZ."
++msgid "The preferred XYZ Editing Color Space shall describe CIE*XYZ."
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:183
+ msgid ""
+ "The proofing color space represents a real color device for simulation. "
+-"Possible uses cases are to simulate a print machine, a viewing environment "
++"Possible use cases are to simulate a print machine, a viewing environment "
+ "in a theater or a expected small monitor gamut."
+ msgstr ""
+
+@@ -3055,7 +3055,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:429
+ msgid ""
+ "This setting decides what to do in the case that colors have no color space "
+-"assigned. Typical the according assumed ICC profile should be assigned."
++"assigned. Typically the according assumed ICC profile should be assigned."
+ msgstr ""
+
+ #: modules/oyranos_cmm_oyIM_profile.c:1167
+diff --git a/po/eu.po b/po/eu.po
+index f86f417..277b42d 100644
+--- a/po/eu.po
++++ b/po/eu.po
+@@ -315,7 +315,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:273
+ #, fuzzy
+-msgid "Anylyze ICC profile information on your system."
++msgid "Analyze ICC profile information on your system."
+ msgstr "Oyranos-en ezarpenak"
+
+ #: modules/oyranos_cmm_oyra_image.c:1065
+@@ -447,7 +447,7 @@ msgid ""
+ "Behaviour of color space transformation for proofing. Most people want a "
+ "preview on screen only. The Relative Colorimetric intent is right for that. "
+ "The Absolute Colorimetric intent needs a very careful profiling and non-"
+-"trivial setup, but allowes for side-by-side comparisions."
++"trivial setup, but allows for side-by-side comparisons."
+ msgstr ""
+
+ #: modules/oyranos_cmm_lraw.cpp:1041
+@@ -679,7 +679,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:174
+ msgid ""
+ "Color content can sometimes have no ICC profile assigned. This is a critical "
+-"situation as the system can not properly convert these colors. Therefor the "
++"situation as the system can not properly convert these colors. Therefore the "
+ "color processing parts need to pick some profile as a guess. These settings "
+ "allow to change the picked ICC profile to guide the processing components "
+ "and allow proper conversion and compositing."
+@@ -1031,7 +1031,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:236
+ msgid ""
+-"Decide what to do when the default color spaces dont match the current ones."
++"Decide what to do when the default color spaces don't match the current ones."
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:154
+@@ -2167,7 +2167,7 @@ msgstr "Oyranos-en ezarpenak"
+ #. HTML
+ #: liboyranos_config/oyranos_xml.c:1036
+ msgid ""
+-"Oyranos allowes detailed settings like preferred editing color spaces and "
++"Oyranos allows detailed settings like preferred editing color spaces and "
+ "the behaviour of color conversions or simulation. Oyranos reduces the work "
+ "involved in all color management related decisions through automation, "
+ "useful defaults and grouping of settings in selectable policies."
+@@ -2349,31 +2349,31 @@ msgstr "Aurrebista, saturatua"
+
+ #: liboyranos_config/oyranos_texts.c:336
+ #, fuzzy
+-msgid "Prefered CIE*Lab Editing Color Space"
++msgid "Preferred CIE*Lab Editing Color Space"
+ msgstr "Kolore-espazioa"
+
+ #: API_generated/oyranos_profile.c:66
+-msgid "Prefered CMM"
++msgid "Preferred CMM"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:316
+ #, fuzzy
+-msgid "Prefered Cmyk Editing Color Space"
++msgid "Preferred Cmyk Editing Color Space"
+ msgstr "Kolore-espazioa"
+
+ #: liboyranos_config/oyranos_texts.c:346
+ #, fuzzy
+-msgid "Prefered Gray Editing Color Space"
++msgid "Preferred Gray Editing Color Space"
+ msgstr "Kolore-espazioa"
+
+ #: liboyranos_config/oyranos_texts.c:306
+ #, fuzzy
+-msgid "Prefered Rgb Editing Color Space"
++msgid "Preferred Rgb Editing Color Space"
+ msgstr "Kolore-espazioa"
+
+ #: liboyranos_config/oyranos_texts.c:326
+ #, fuzzy
+-msgid "Prefered XYZ Editing Color Space"
++msgid "Preferred XYZ Editing Color Space"
+ msgstr "Kolore-espazioa"
+
+ #. choices
+@@ -2610,7 +2610,7 @@ msgstr "Oyranos-en ezarpenak"
+
+ #: liboyranos_config/oyranos_texts.c:479
+ msgid ""
+-"Rendering intent for color space transformations is typical the Relative "
++"Rendering intent for color space transformations is typically the Relative "
+ "Colorimetric intent plus Black Point Compensation or the Perceptual intent."
+ msgstr ""
+
+@@ -2896,7 +2896,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:219
+ msgid ""
+ "The conversion between color spaces of different shape and size can happen "
+-"in various ways. The Perceptual rendering intent is usual the best choice "
++"in various ways. The Perceptual rendering intent is usually the best choice "
+ "for photographs and artistic imagery. It is used in many automatic systems. "
+ "The Relative Colorimetric rendering intent provides a well-defined standard, "
+ "one-to-one color mapping, but without applying white point adaption. This "
+@@ -3113,7 +3113,7 @@ msgstr "Kolore-espazioa"
+ #: liboyranos_config/oyranos_texts.c:347
+ #, fuzzy
+ msgid ""
+-"The preferred Gray Editing Color Space shall describe a single lighness "
++"The preferred Gray Editing Color Space shall describe a single lightness "
+ "channel color space for grayscale images."
+ msgstr "Kolore-espazioa"
+
+@@ -3126,13 +3126,13 @@ msgstr "Kolore-espazioa"
+
+ #: liboyranos_config/oyranos_texts.c:327
+ #, fuzzy
+-msgid "The preferred XYZ Editing Color Space shall decribe CIE*XYZ."
++msgid "The preferred XYZ Editing Color Space shall describe CIE*XYZ."
+ msgstr "Kolore-espazioa"
+
+ #: liboyranos_config/oyranos_texts.c:183
+ msgid ""
+ "The proofing color space represents a real color device for simulation. "
+-"Possible uses cases are to simulate a print machine, a viewing environment "
++"Possible use cases are to simulate a print machine, a viewing environment "
+ "in a theater or a expected small monitor gamut."
+ msgstr ""
+
+@@ -3208,7 +3208,7 @@ msgstr "Inprimagailu ezko-termala"
+ #: liboyranos_config/oyranos_texts.c:429
+ msgid ""
+ "This setting decides what to do in the case that colors have no color space "
+-"assigned. Typical the according assumed ICC profile should be assigned."
++"assigned. Typically the according assumed ICC profile should be assigned."
+ msgstr ""
+
+ #: modules/oyranos_cmm_oyIM_profile.c:1167
+diff --git a/po/fr.po b/po/fr.po
+index f02e45c..737dc28 100644
+--- a/po/fr.po
++++ b/po/fr.po
+@@ -309,7 +309,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:273
+ #, fuzzy
+-msgid "Anylyze ICC profile information on your system."
++msgid "Analyze ICC profile information on your system."
+ msgstr "Oyranos Préférences"
+
+ #: modules/oyranos_cmm_oyra_image.c:1065
+@@ -441,7 +441,7 @@ msgid ""
+ "Behaviour of color space transformation for proofing. Most people want a "
+ "preview on screen only. The Relative Colorimetric intent is right for that. "
+ "The Absolute Colorimetric intent needs a very careful profiling and non-"
+-"trivial setup, but allowes for side-by-side comparisions."
++"trivial setup, but allows for side-by-side comparisons."
+ msgstr ""
+
+ #: modules/oyranos_cmm_lraw.cpp:1041
+@@ -673,7 +673,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:174
+ msgid ""
+ "Color content can sometimes have no ICC profile assigned. This is a critical "
+-"situation as the system can not properly convert these colors. Therefor the "
++"situation as the system can not properly convert these colors. Therefore the "
+ "color processing parts need to pick some profile as a guess. These settings "
+ "allow to change the picked ICC profile to guide the processing components "
+ "and allow proper conversion and compositing."
+@@ -1020,7 +1020,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:236
+ msgid ""
+-"Decide what to do when the default color spaces dont match the current ones."
++"Decide what to do when the default color spaces don't match the current ones."
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:154
+@@ -2156,7 +2156,7 @@ msgstr "Oyranos Préférences"
+ #. HTML
+ #: liboyranos_config/oyranos_xml.c:1036
+ msgid ""
+-"Oyranos allowes detailed settings like preferred editing color spaces and "
++"Oyranos allows detailed settings like preferred editing color spaces and "
+ "the behaviour of color conversions or simulation. Oyranos reduces the work "
+ "involved in all color management related decisions through automation, "
+ "useful defaults and grouping of settings in selectable policies."
+@@ -2335,31 +2335,31 @@ msgstr "Aperçu, saturation"
+
+ #: liboyranos_config/oyranos_texts.c:336
+ #, fuzzy
+-msgid "Prefered CIE*Lab Editing Color Space"
++msgid "Preferred CIE*Lab Editing Color Space"
+ msgstr "Espace colorimétrique"
+
+ #: API_generated/oyranos_profile.c:66
+-msgid "Prefered CMM"
++msgid "Preferred CMM"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:316
+ #, fuzzy
+-msgid "Prefered Cmyk Editing Color Space"
++msgid "Preferred Cmyk Editing Color Space"
+ msgstr "Espace colorimétrique"
+
+ #: liboyranos_config/oyranos_texts.c:346
+ #, fuzzy
+-msgid "Prefered Gray Editing Color Space"
++msgid "Preferred Gray Editing Color Space"
+ msgstr "Espace colorimétrique"
+
+ #: liboyranos_config/oyranos_texts.c:306
+ #, fuzzy
+-msgid "Prefered Rgb Editing Color Space"
++msgid "Preferred Rgb Editing Color Space"
+ msgstr "Espace colorimétrique"
+
+ #: liboyranos_config/oyranos_texts.c:326
+ #, fuzzy
+-msgid "Prefered XYZ Editing Color Space"
++msgid "Preferred XYZ Editing Color Space"
+ msgstr "Espace colorimétrique"
+
+ #. choices
+@@ -2589,7 +2589,7 @@ msgstr "Oyranos Préférences"
+
+ #: liboyranos_config/oyranos_texts.c:479
+ msgid ""
+-"Rendering intent for color space transformations is typical the Relative "
++"Rendering intent for color space transformations is typically the Relative "
+ "Colorimetric intent plus Black Point Compensation or the Perceptual intent."
+ msgstr ""
+
+@@ -2870,7 +2870,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:219
+ msgid ""
+ "The conversion between color spaces of different shape and size can happen "
+-"in various ways. The Perceptual rendering intent is usual the best choice "
++"in various ways. The Perceptual rendering intent is usually the best choice "
+ "for photographs and artistic imagery. It is used in many automatic systems. "
+ "The Relative Colorimetric rendering intent provides a well-defined standard, "
+ "one-to-one color mapping, but without applying white point adaption. This "
+@@ -3087,7 +3087,7 @@ msgstr "Espace colorimétrique"
+ #: liboyranos_config/oyranos_texts.c:347
+ #, fuzzy
+ msgid ""
+-"The preferred Gray Editing Color Space shall describe a single lighness "
++"The preferred Gray Editing Color Space shall describe a single lightness "
+ "channel color space for grayscale images."
+ msgstr "Espace colorimétrique"
+
+@@ -3100,13 +3100,13 @@ msgstr "Espace colorimétrique"
+
+ #: liboyranos_config/oyranos_texts.c:327
+ #, fuzzy
+-msgid "The preferred XYZ Editing Color Space shall decribe CIE*XYZ."
++msgid "The preferred XYZ Editing Color Space shall describe CIE*XYZ."
+ msgstr "Espace colorimétrique"
+
+ #: liboyranos_config/oyranos_texts.c:183
+ msgid ""
+ "The proofing color space represents a real color device for simulation. "
+-"Possible uses cases are to simulate a print machine, a viewing environment "
++"Possible use cases are to simulate a print machine, a viewing environment "
+ "in a theater or a expected small monitor gamut."
+ msgstr ""
+
+@@ -3182,7 +3182,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:429
+ msgid ""
+ "This setting decides what to do in the case that colors have no color space "
+-"assigned. Typical the according assumed ICC profile should be assigned."
++"assigned. Typically the according assumed ICC profile should be assigned."
+ msgstr ""
+
+ #: modules/oyranos_cmm_oyIM_profile.c:1167
+diff --git a/po/oyranos.pot b/po/oyranos.pot
+index c5f064d..d4eb1f8 100644
+--- a/po/oyranos.pot
++++ b/po/oyranos.pot
+@@ -139,7 +139,7 @@ msgid "Internal stored Size"
+ msgstr ""
+
+ #: API_generated/oyranos_profile.c:66
+-msgid "Prefered CMM"
++msgid "Preferred CMM"
+ msgstr ""
+
+ #: API_generated/oyranos_profile.c:67
+@@ -552,7 +552,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:174
+ msgid ""
+ "Color content can sometimes have no ICC profile assigned. This is a critical "
+-"situation as the system can not properly convert these colors. Therefor the "
++"situation as the system can not properly convert these colors. Therefore the "
+ "color processing parts need to pick some profile as a guess. These settings "
+ "allow to change the picked ICC profile to guide the processing components "
+ "and allow proper conversion and compositing."
+@@ -569,7 +569,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:183
+ msgid ""
+ "The proofing color space represents a real color device for simulation. "
+-"Possible uses cases are to simulate a print machine, a viewing environment "
++"Possible use cases are to simulate a print machine, a viewing environment "
+ "in a theater or a expected small monitor gamut."
+ msgstr ""
+
+@@ -631,7 +631,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:219
+ msgid ""
+ "The conversion between color spaces of different shape and size can happen "
+-"in various ways. The Perceptual rendering intent is usual the best choice "
++"in various ways. The Perceptual rendering intent is usually the best choice "
+ "for photographs and artistic imagery. It is used in many automatic systems. "
+ "The Relative Colorimetric rendering intent provides a well-defined standard, "
+ "one-to-one color mapping, but without applying white point adaption. This "
+@@ -666,7 +666,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:236
+ msgid ""
+-"Decide what to do when the default color spaces dont match the current ones."
++"Decide what to do when the default color spaces don't match the current ones."
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:237
+@@ -720,7 +720,7 @@ msgid "Profile Information"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:273
+-msgid "Anylyze ICC profile information on your system."
++msgid "Analyze ICC profile information on your system."
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:284
+@@ -743,7 +743,7 @@ msgid "Editing Rgb"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:306
+-msgid "Prefered Rgb Editing Color Space"
++msgid "Preferred Rgb Editing Color Space"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:307
+@@ -757,7 +757,7 @@ msgid "Editing Cmyk"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:316
+-msgid "Prefered Cmyk Editing Color Space"
++msgid "Preferred Cmyk Editing Color Space"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:317
+@@ -771,11 +771,11 @@ msgid "Editing XYZ"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:326
+-msgid "Prefered XYZ Editing Color Space"
++msgid "Preferred XYZ Editing Color Space"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:327
+-msgid "The preferred XYZ Editing Color Space shall decribe CIE*XYZ."
++msgid "The preferred XYZ Editing Color Space shall describe CIE*XYZ."
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:335
+@@ -783,7 +783,7 @@ msgid "Editing Lab"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:336
+-msgid "Prefered CIE*Lab Editing Color Space"
++msgid "Preferred CIE*Lab Editing Color Space"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:337
+@@ -795,12 +795,12 @@ msgid "Editing Gray"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:346
+-msgid "Prefered Gray Editing Color Space"
++msgid "Preferred Gray Editing Color Space"
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:347
+ msgid ""
+-"The preferred Gray Editing Color Space shall describe a single lighness "
++"The preferred Gray Editing Color Space shall describe a single lightness "
+ "channel color space for grayscale images."
+ msgstr ""
+
+@@ -910,7 +910,7 @@ msgstr ""
+ #: liboyranos_config/oyranos_texts.c:429
+ msgid ""
+ "This setting decides what to do in the case that colors have no color space "
+-"assigned. Typical the according assumed ICC profile should be assigned."
++"assigned. Typically the according assumed ICC profile should be assigned."
+ msgstr ""
+
+ #. choices
+@@ -1012,7 +1012,7 @@ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:479
+ msgid ""
+-"Rendering intent for color space transformations is typical the Relative "
++"Rendering intent for color space transformations is typically the Relative "
+ "Colorimetric intent plus Black Point Compensation or the Perceptual intent."
+ msgstr ""
+
+@@ -1067,7 +1067,7 @@ msgid ""
+ "Behaviour of color space transformation for proofing. Most people want a "
+ "preview on screen only. The Relative Colorimetric intent is right for that. "
+ "The Absolute Colorimetric intent needs a very careful profiling and non-"
+-"trivial setup, but allowes for side-by-side comparisions."
++"trivial setup, but allows for side-by-side comparisons."
+ msgstr ""
+
+ #: liboyranos_config/oyranos_texts.c:507
+@@ -1168,7 +1168,7 @@ msgstr ""
+ #. HTML
+ #: liboyranos_config/oyranos_xml.c:1036
+ msgid ""
+-"Oyranos allowes detailed settings like preferred editing color spaces and "
++"Oyranos allows detailed settings like preferred editing color spaces and "
+ "the behaviour of color conversions or simulation. Oyranos reduces the work "
+ "involved in all color management related decisions through automation, "
+ "useful defaults and grouping of settings in selectable policies."
+diff --git a/src/liboyranos_config/oyranos_texts.c b/src/liboyranos_config/oyranos_texts.c
+index f7a7244..7a86a42 100644
+--- a/src/liboyranos_config/oyranos_texts.c
++++ b/src/liboyranos_config/oyranos_texts.c
+@@ -171,7 +171,7 @@ oyOptionStringsTranslate_ ()
+ oyGROUP_DEFAULT_PROFILES, 0, 0,
+ _("Assumed Color Space"),
+ _("Assumed Color Space for untagged colors"),
+- _("Color content can sometimes have no ICC profile assigned. This is a critical situation as the system can not properly convert these colors. Therefor the color processing parts need to pick some profile as a guess. These settings allow to change the picked ICC profile to guide the processing components and allow proper conversion and compositing."),
++ _("Color content can sometimes have no ICC profile assigned. This is a critical situation as the system can not properly convert these colors. Therefore the color processing parts need to pick some profile as a guess. These settings allow to change the picked ICC profile to guide the processing components and allow proper conversion and compositing."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+ NULL,
+@@ -180,7 +180,7 @@ oyOptionStringsTranslate_ ()
+ 0, 0, 0,
+ _("Proofing Color Space"),
+ _("Color Space for Simulating real devices"),
+- _("The proofing color space represents a real color device for simulation. Possible uses cases are to simulate a print machine, a viewing environment in a theater or a expected small monitor gamut."),
++ _("The proofing color space represents a real color device for simulation. Possible use cases are to simulate a print machine, a viewing environment in a theater or a expected small monitor gamut."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+ NULL,
+@@ -216,7 +216,7 @@ oyOptionStringsTranslate_ ()
+ oyGROUP_BEHAVIOUR, 0, 0,
+ _("Rendering"),
+ _("The kind of ICC gamut mapping for transforming colors between differently sized color spaces"),
+- _("The conversion between color spaces of different shape and size can happen in various ways. The Perceptual rendering intent is usual the best choice for photographs and artistic imagery. It is used in many automatic systems. The Relative Colorimetric rendering intent provides a well-defined standard, one-to-one color mapping, but without applying white point adaption. This can lead to color clipping in case of colors falling outside the target gamut as a price for the otherwise colorimetric correctness. The Relative Colorimetric intent is often used in combination with Black Point Compensation. The Saturation rendering intent shall provide an optimal use of saturated device colors. The Absolute Colorimetric rendering intent works like the relative colorimetric one except the white point is adapted. All rendering intents beside the colorimetric ones rely on the color tables designed by the profile vendor."),
++ _("The conversion between color spaces of different shape and size can happen in various ways. The Perceptual rendering intent is usually the best choice for photographs and artistic imagery. It is used in many automatic systems. The Relative Colorimetric rendering intent provides a well-defined standard, one-to-one color mapping, but without applying white point adaption. This can lead to color clipping in case of colors falling outside the target gamut as a price for the otherwise colorimetric correctness. The Relative Colorimetric intent is often used in combination with Black Point Compensation. The Saturation rendering intent shall provide an optimal use of saturated device colors. The Absolute Colorimetric rendering intent works like the relative colorimetric one except the white point is adapted. All rendering intents beside the colorimetric ones rely on the color tables designed by the profile vendor."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+ NULL,
+@@ -233,7 +233,7 @@ oyOptionStringsTranslate_ ()
+ oySET_OPTIONS_M_( oyWIDGETTYPE_GROUP_TREE, oyWIDGET_GROUP_BEHAVIOUR_MISSMATCH, 1,
+ oyGROUP_BEHAVIOUR, 0, 0,
+ _("Mismatching"),
+- _("Decide what to do when the default color spaces dont match the current ones."),
++ _("Decide what to do when the default color spaces don't match the current ones."),
+ _("Decide how to resolve conflicts with input color spaces and current settings."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+@@ -270,7 +270,7 @@ oyOptionStringsTranslate_ ()
+ 0, 0, 0,
+ _("Information"),
+ _("Profile Information"),
+- _("Anylyze ICC profile information on your system."),
++ _("Analyze ICC profile information on your system."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+ NULL,
+@@ -303,7 +303,7 @@ oyOptionStringsTranslate_ ()
+ oySET_OPTIONS_M_( oyWIDGETTYPE_DEFAULT_PROFILE, oyWIDGET_EDITING_RGB, 2,
+ oyGROUP_DEFAULT_PROFILES, oyGROUP_DEFAULT_PROFILES_EDIT, 0,
+ _("Editing Rgb"),
+- _("Prefered Rgb Editing Color Space"),
++ _("Preferred Rgb Editing Color Space"),
+ _("The preferred Rgb Editing Color Space should represent a well behaving color space like sRGB."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+@@ -313,7 +313,7 @@ oyOptionStringsTranslate_ ()
+ oySET_OPTIONS_M_( oyWIDGETTYPE_DEFAULT_PROFILE, oyWIDGET_EDITING_CMYK, 2,
+ oyGROUP_DEFAULT_PROFILES, oyGROUP_DEFAULT_PROFILES_EDIT, 0,
+ _("Editing Cmyk"),
+- _("Prefered Cmyk Editing Color Space"),
++ _("Preferred Cmyk Editing Color Space"),
+ _("The preferred Cmyk Editing Color Space should represent a color space that complies to well defined printing conditions like FOGRA or SWOP."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+@@ -323,8 +323,8 @@ oyOptionStringsTranslate_ ()
+ oySET_OPTIONS_M_( oyWIDGETTYPE_DEFAULT_PROFILE, oyWIDGET_EDITING_XYZ, 2,
+ oyGROUP_DEFAULT_PROFILES, oyGROUP_DEFAULT_PROFILES_EDIT, 0,
+ _("Editing XYZ"),
+- _("Prefered XYZ Editing Color Space"),
+- _("The preferred XYZ Editing Color Space shall decribe CIE*XYZ."),
++ _("Preferred XYZ Editing Color Space"),
++ _("The preferred XYZ Editing Color Space shall describe CIE*XYZ."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+ OY_DEFAULT_EDITING_XYZ_PROFILE,
+@@ -333,7 +333,7 @@ oyOptionStringsTranslate_ ()
+ oySET_OPTIONS_M_( oyWIDGETTYPE_DEFAULT_PROFILE, oyWIDGET_EDITING_LAB, 2,
+ oyGROUP_DEFAULT_PROFILES, oyGROUP_DEFAULT_PROFILES_EDIT, 0,
+ _("Editing Lab"),
+- _("Prefered CIE*Lab Editing Color Space"),
++ _("Preferred CIE*Lab Editing Color Space"),
+ _("The preferred CIE*Lab Editing Color Space shall describe the CIE*Lab."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+@@ -343,8 +343,8 @@ oyOptionStringsTranslate_ ()
+ oySET_OPTIONS_M_( oyWIDGETTYPE_DEFAULT_PROFILE, oyWIDGET_EDITING_GRAY, 2,
+ oyGROUP_DEFAULT_PROFILES, oyGROUP_DEFAULT_PROFILES_EDIT, 0,
+ _("Editing Gray"),
+- _("Prefered Gray Editing Color Space"),
+- _("The preferred Gray Editing Color Space shall describe a single lighness channel color space for grayscale images."),
++ _("Preferred Gray Editing Color Space"),
++ _("The preferred Gray Editing Color Space shall describe a single lightness channel color space for grayscale images."),
+ 0, /* choices */
+ NULL, NULL, NULL, NULL,
+ OY_DEFAULT_EDITING_GRAY_PROFILE,
+@@ -426,7 +426,7 @@ oyOptionStringsTranslate_ ()
+ oyGROUP_BEHAVIOUR, oyGROUP_BEHAVIOUR_MISSMATCH, 0,
+ _("No Image profile"),
+ _("Image has no color space embedded. What default action shall be performed?"),
+- _("This setting decides what to do in the case that colors have no color space assigned. Typical the according assumed ICC profile should be assigned."),
++ _("This setting decides what to do in the case that colors have no color space assigned. Typically the according assumed ICC profile should be assigned."),
+ 3, /* choices */
+ _("Assign No Profile"),_("Assign Assumed Profile"),_("Prompt"), NULL,
+ OY_ACTION_UNTAGGED_ASSIGN,
+@@ -476,7 +476,7 @@ oyOptionStringsTranslate_ ()
+ oyGROUP_BEHAVIOUR, oyGROUP_BEHAVIOUR_RENDERING, 0,
+ _("Rendering Intent"),
+ _("Rendering intent for color space transformations."),
+- _("Rendering intent for color space transformations is typical the Relative Colorimetric intent plus Black Point Compensation or the Perceptual intent."),
++ _("Rendering intent for color space transformations is typically the Relative Colorimetric intent plus Black Point Compensation or the Perceptual intent."),
+ 4, /* choices */
+ _("Perceptual"),_("Relative Colorimetric"),_("Saturation"),_("Absolute Colorimetric"),
+ OY_DEFAULT_RENDERING_INTENT,
+@@ -496,7 +496,7 @@ oyOptionStringsTranslate_ ()
+ oyGROUP_BEHAVIOUR, oyGROUP_BEHAVIOUR_PROOF, 0,
+ _("Proofing Rendering Intent"),
+ _("Behaviour of color space transformation for proofing"),
+- _("Behaviour of color space transformation for proofing. Most people want a preview on screen only. The Relative Colorimetric intent is right for that. The Absolute Colorimetric intent needs a very careful profiling and non-trivial setup, but allowes for side-by-side comparisions."),
++ _("Behaviour of color space transformation for proofing. Most people want a preview on screen only. The Relative Colorimetric intent is right for that. The Absolute Colorimetric intent needs a very careful profiling and non-trivial setup, but allows for side-by-side comparisons."),
+ 2, /* choices */
+ _("Relative Colorimetric"),_("Absolute Colorimetric"),NULL,NULL,
+ OY_DEFAULT_RENDERING_INTENT_PROOF,
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-omit-profile-with-error.patch b/media-libs/oyranos/files/oyranos-0.9.4-omit-profile-with-error.patch
new file mode 100644
index 0000000..f87f004
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-omit-profile-with-error.patch
@@ -0,0 +1,54 @@
+From: Kai-Uwe Behrmann <ku.b@gmx.de>
+Date: Tue, 26 Mar 2013 11:09:01 +0000 (+0100)
+Subject: * [source]: omit profile with error
+X-Git-Url: http://www.oyranos.org/scm?p=oyranos.git;a=commitdiff_plain;h=ecbfe88cf77863c7c925f61d0e69d11474059cb8
+
+* [source]: omit profile with error
+
+a proper return value would be more helpful
+---
+
+diff --git a/src/API_generated/oyProfile_s_.c b/src/API_generated/oyProfile_s_.c
+index 83629fe..338ed08 100644
+--- a/src/API_generated/oyProfile_s_.c
++++ b/src/API_generated/oyProfile_s_.c
+@@ -8,12 +8,12 @@
+ * Oyranos is an open source Colour Management System
+ *
+ * @par Copyright:
+- * 2004-2012 (C) Kai-Uwe Behrmann
++ * 2004-2013 (C) Kai-Uwe Behrmann
+ *
+ * @author Kai-Uwe Behrmann <ku.b@gmx.de>
+ * @par License:
+ * new BSD - see: http://www.opensource.org/licenses/bsd-license.php
+- * @date 2012/10/31
++ * @date 2013/03/26
+ */
+
+
+@@ -724,6 +724,9 @@ oyProfile_s_ * oyProfile_FromFile_ ( const char * name,
+ }
+ }
+
++ if(error >= 1 && s)
++ oyProfile_Release( (oyProfile_s**)&s );
++
+ oyHash_Release_( &entry );
+
+ return s;
+diff --git a/src/sources/Profile.private_methods_definitions.c b/src/sources/Profile.private_methods_definitions.c
+index 7b49ca6..e131893 100644
+--- a/src/sources/Profile.private_methods_definitions.c
++++ b/src/sources/Profile.private_methods_definitions.c
+@@ -311,6 +311,9 @@ oyProfile_s_ * oyProfile_FromFile_ ( const char * name,
+ }
+ }
+
++ if(error >= 1 && s)
++ oyProfile_Release( (oyProfile_s**)&s );
++
+ oyHash_Release_( &entry );
+
+ return s;
+
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-set-xcalib-to-screen-if-ge-xrandr-12.patch b/media-libs/oyranos/files/oyranos-0.9.4-set-xcalib-to-screen-if-ge-xrandr-12.patch
new file mode 100644
index 0000000..6acfcdd
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-set-xcalib-to-screen-if-ge-xrandr-12.patch
@@ -0,0 +1,131 @@
+From: Kai-Uwe Behrmann <ku.b@gmx.de>
+Date: Sun, 17 Feb 2013 19:28:06 +0000 (+0100)
+Subject: * [oyX1]: set xcalib to screen if XRandR >= 1.2
+X-Git-Url: http://www.oyranos.org/scm?p=oyranos.git;a=commitdiff_plain;h=505b3931d9de6c667566278c5b3a1713d43212a8
+
+* [oyX1]: set xcalib to screen if XRandR >= 1.2
+---
+
+diff --git a/src/modules/devices/oyranos_monitor_x11.c b/src/modules/devices/oyranos_monitor_x11.c
+index a090b14..a530a81 100644
+--- a/src/modules/devices/oyranos_monitor_x11.c
++++ b/src/modules/devices/oyranos_monitor_x11.c
+@@ -90,6 +90,8 @@ RROutput
+ XRROutputInfo *
+ oyX1Monitor_xrrOutputInfo_( oyX1Monitor_s * disp ) { return disp->output_info; }
+ int oyX1Monitor_activeOutputs_( oyX1Monitor_s * disp ) { return disp->active_outputs; }
++int oyX1Monitor_rrVersion_ ( oyX1Monitor_s * disp ) { return disp->rr_version; }
++int oyX1Monitor_rrScreen_ ( oyX1Monitor_s * disp ) { return disp->rr_screen; }
+
+
+ #endif
+@@ -680,7 +682,8 @@ int oyX1MonitorProfileSetup ( const char * display_name,
+ char *text = 0;
+
+ DBG_PROG_START
+- disp = oyX1Monitor_newFrom_( display_name, 0 );
++ /* XRandR needs a expensive initialisation */
++ disp = oyX1Monitor_newFrom_( display_name, 1 );
+ if(!disp)
+ return 1;
+
+@@ -721,6 +724,13 @@ int oyX1MonitorProfileSetup ( const char * display_name,
+ */
+ sprintf(text,"xcalib -d %s -s %d %s \'%s\'", dpy_name, disp->geo[1],
+ oy_debug?"-v":"", profile_fullname);
++ if(oyX1Monitor_infoSource_( disp ) == oyX11INFO_SOURCE_XRANDR)
++ sprintf(text,"xcalib -d %s -s %d %s \'%s\'", dpy_name, oyX1Monitor_rrScreen_(disp),
++ oy_debug?"-v":"", profile_fullname);
++ else
++ sprintf(text,"xcalib -d %s -s %d %s \'%s\'", dpy_name, disp->geo[1],
++ oy_debug?"-v":"", profile_fullname);
++
+ {
+ Display * display = oyX1Monitor_device_( disp );
+ int effective_screen = oyX1Monitor_screen_( disp );
+@@ -751,17 +761,21 @@ int oyX1MonitorProfileSetup ( const char * display_name,
+ #endif
+
+ /* Check for incapabilities of X gamma table access */
+- if(can_gamma || oyX1Monitor_screen_( disp ) == 0)
++ if(can_gamma || oyX1Monitor_screen_( disp ) == 0 || oyX1Monitor_infoSource_( disp ) == oyX11INFO_SOURCE_XRANDR )
+ error = system(text);
+ if(error &&
+ error != 65280)
+ { /* hack */
+- WARNc2_S("%s %s", _("No monitor gamma curves by profile:"),
+- oyNoEmptyName_m_(profil_basename) )
++ WARNc3_S("%s %s %d", _("No monitor gamma curves by profile:"),
++ oyNoEmptyName_m_(profil_basename), error )
+ error = -1;
+ } else
++ {
+ /* take xcalib error not serious, turn into a issue */
++ if(oy_debug)
++ DBG1_S("xcalib returned %d", error)
+ error = -1;
++ }
+ }
+
+ if(oy_debug)
+@@ -873,7 +887,8 @@ int oyX1MonitorProfileUnset ( const char * display_name )
+
+ DBG_PROG_START
+
+- disp = oyX1Monitor_newFrom_( display_name, 0 );
++ /* XRandR needs a expensive initialisation */
++ disp = oyX1Monitor_newFrom_( display_name, 1 );
+ if(!disp)
+ {
+ DBG_PROG_ENDE
+@@ -926,10 +941,16 @@ int oyX1MonitorProfileUnset ( const char * display_name )
+ if( (ptr = strchr(ptr,'.')) != 0 )
+ ptr[0] = '\000';
+
+- oySnprintf2_(command, 1024, "xgamma -gamma 1.0 -screen %d -display %s",
++ if(oyX1Monitor_infoSource_( disp ) == oyX11INFO_SOURCE_XRANDR)
++ oySnprintf2_(command, 1024, "xrandr -display %s --output %s --gamma .999999:.999999:.999999",
++ dpy_name, oyX1Monitor_systemPort_(disp));
++ else
++ oySnprintf2_(command, 1024, "xgamma -gamma 1.0 -screen %d -display %s",
+ disp->geo[1], dpy_name);
+
+- if(screen == disp->geo[1])
++ if(oy_debug)
++ DBG3_S( "%d %d system: %s", screen, disp->geo[1], command )
++ if(screen == disp->geo[1] || oyX1Monitor_infoSource_( disp ) == oyX11INFO_SOURCE_XRANDR)
+ r = system( command );
+ if(r) WARNc2_S("%s %d", _("found issues"),r);
+
+@@ -1347,17 +1368,16 @@ oyX1Monitor_s* oyX1Monitor_newFrom_ ( const char * display_name,
+
+ if(monitors == 0)
+ {
+- if(strcmp("default", output_info->name) != 0)
+- {
+- disp->info_source = oyX11INFO_SOURCE_XRANDR;
+-
+- } else
++ if(!XRRGetCrtcGammaSize( display, output_info->crtc ))
+ {
+ XRRFreeOutputInfo( output_info );
+ break;
+ }
+ }
+
++ if(XRRGetCrtcGammaSize( display, output_info->crtc ))
++ disp->info_source = oyX11INFO_SOURCE_XRANDR;
++
+ crtc_info = XRRGetCrtcInfo( disp->display, res_temp,
+ output_info->crtc );
+ if(crtc_info)
+@@ -1390,6 +1410,8 @@ oyX1Monitor_s* oyX1Monitor_newFrom_ ( const char * display_name,
+ if(disp->output_info->name && oyStrlen_(disp->output_info->name))
+ disp->system_port = oyStringCopy_( disp->output_info->name,
+ oyAllocateFunc_ );
++ disp->rr_version = major_versionp*100 + minor_versionp;
++ disp->rr_screen = xrand_screen;
+ }
+
+ ++ monitors;
+
diff --git a/media-libs/oyranos/files/oyranos-0.9.4-use-more-internal-xrandr-info.patch b/media-libs/oyranos/files/oyranos-0.9.4-use-more-internal-xrandr-info.patch
new file mode 100644
index 0000000..d2a58ea
--- /dev/null
+++ b/media-libs/oyranos/files/oyranos-0.9.4-use-more-internal-xrandr-info.patch
@@ -0,0 +1,35 @@
+From 5c9b4a85213e5f63d716655b6c61a7efce07223c Mon Sep 17 00:00:00 2001
+From: Kai-Uwe Behrmann <ku.b@gmx.de>
+Date: Sun, 17 Feb 2013 20:27:04 +0100
+Subject: [PATCH] * [oyX1]: use more internal XRandR information
+
+---
+ src/include_private/oyranos_monitor_internal_x11.h | 4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/src/include_private/oyranos_monitor_internal_x11.h b/src/include_private/oyranos_monitor_internal_x11.h
+index c41aa3a..363b759 100644
+--- a/src/include_private/oyranos_monitor_internal_x11.h
++++ b/src/include_private/oyranos_monitor_internal_x11.h
+@@ -60,6 +60,8 @@ typedef struct {
+ RROutput output; /**< XRandR output */
+ XRROutputInfo * output_info; /**< XRandR output info */
+ int active_outputs; /**< outputs with crtc and gamma size */
++ int rr_version; /**< XRandR version */
++ int rr_screen; /**< nth XRandR output */
+ # endif
+ char * system_port; /**< the operating systems port name */
+ oyBlob_s * edid; /**< edid for the device */
+@@ -95,6 +97,8 @@ RROutput oyX1Monitor_xrrOutput_ ( oyX1Monitor_s * disp );
+ XRROutputInfo *
+ oyX1Monitor_xrrOutputInfo_( oyX1Monitor_s * disp );
+ int oyX1Monitor_activeOutputs_( oyX1Monitor_s * disp );
++int oyX1Monitor_rrVersion_ ( oyX1Monitor_s * disp );
++int oyX1Monitor_rrScreen_ ( oyX1Monitor_s * disp );
+ # endif
+
+ int oyX1MonitorProfileSetup ( const char * display_name,
+--
+1.5.6.5
+
+
diff --git a/media-libs/oyranos/metadata.xml b/media-libs/oyranos/metadata.xml
new file mode 100644
index 0000000..07777d5
--- /dev/null
+++ b/media-libs/oyranos/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd />
+<maintainer>
+ <email>yamakuzure@gmx.net</email>
+ <description>Only through my private overlay - STRICTLY EXPERIMENTAL!</description>
+</maintainer>
+</pkgmetadata>
+
diff --git a/media-libs/oyranos/oyranos-0.9.4-r2.ebuild b/media-libs/oyranos/oyranos-0.9.4-r2.ebuild
new file mode 100644
index 0000000..51de1bb
--- /dev/null
+++ b/media-libs/oyranos/oyranos-0.9.4-r2.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/oyranos/oyranos-0.9.4-r1.ebuild,v 1.5 2013/08/15 03:38:17 patrick Exp $
+
+EAPI=5
+
+inherit eutils flag-o-matic cmake-utils cmake-multilib versionator
+
+DESCRIPTION="colour management system allowing to share various settings across applications and services"
+HOMEPAGE="http://www.oyranos.org/"
+SRC_URI="mirror://sourceforge/oyranos/Oyranos/Oyranos%200.4/${P}.tar.bz2"
+
+MY_PV=$(get_version_component_range 1-3)
+MY_P=${PN}-${MY_PV}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X cairo cups doc exif fltk qt4 raw test"
+
+RDEPEND="=app-admin/elektra-0.7*[${MULTILIB_USEDEP}]
+ dev-libs/yajl[${MULTILIB_USEDEP}]
+ media-libs/icc-profiles-basiccolor-printing2009
+ media-libs/icc-profiles-basiccolor-printing2009
+ >=media-libs/libXcm-0.5.2[${MULTILIB_USEDEP}]
+ X? ( x11-libs/libXfixes[${MULTILIB_USEDEP}]
+ x11-libs/libXrandr[${MULTILIB_USEDEP}]
+ x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
+ x11-libs/libXinerama[${MULTILIB_USEDEP}] )
+ !amd64? (
+ dev-libs/libxml2
+ cairo? ( x11-libs/cairo )
+ cups? ( net-print/cups )
+ qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 )
+ raw? ( media-libs/libraw )
+ )
+ amd64? (
+ abi_x86_64? (
+ dev-libs/libxml2
+ || ( media-libs/lcms:0 media-libs/lcms:2 )
+ media-libs/libpng:0
+ cairo? ( x11-libs/cairo )
+ cups? ( net-print/cups )
+ qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 )
+ raw? ( media-libs/libraw )
+ )
+ abi_x86_32? (
+ app-emulation/emul-linux-x86-baselibs
+ cairo? ( app-emulation/emul-linux-x86-gtklibs )
+ cups? ( app-emulation/emul-linux-x86-baselibs )
+ qt4? ( app-emulation/emul-linux-x86-qtlibs )
+ )
+ )
+ media-gfx/graphviz
+ exif? ( media-gfx/exiv2 )
+ fltk? ( x11-libs/fltk:1 )"
+DEPEND="${RDEPEND}
+ app-doc/doxygen"
+
+RESTRICT="test"
+REQUIRED_USE="amd64? ( exif? ( !abi_x86_32 )
+ raw? ( !abi_x86_32 ) )"
+CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindFltk FindXcm FindCUPS"
+
+src_prepare() {
+ einfo remove bundled libs
+ rm -rf elektra* yajl || die
+
+ epatch "${FILESDIR}/${P}"-buildsystem-r1.patch
+
+ #upstream(ed) fixes, be more verbose, better xrandr handling
+ epatch "${FILESDIR}/${P}"-fix-array-access.patch \
+ "${FILESDIR}/${P}"-fix-oyRankMap-helper-functions-crashes.patch \
+ "${FILESDIR}/${P}"-fix-oyStringSegment-crash.patch \
+ "${FILESDIR}/${P}"-be-more-verbose.patch \
+ "${FILESDIR}/${P}"-use-more-internal-xrandr-info.patch \
+ "${FILESDIR}/${P}"-set-xcalib-to-screen-if-ge-xrandr-12.patch \
+ "${FILESDIR}/${P}"-fix-double-object-release.patch \
+ "${FILESDIR}/${P}"-omit-profile-with-error.patch \
+ "${FILESDIR}/${P}"-fix-typos-and-grammar.patch
+
+ #upstream fix for QA notice, gentoo bug 464254
+ epatch "${FILESDIR}/${P}"-fix-runpaths.patch
+
+ #fix really ugly and prominently visible typo (solved in 0.9.5)
+ sed -e 's/Promt/Prompt/' \
+ -i src/liboyranos_config/oyranos_texts.c po/*.{po,pot} settings/*xml || die
+
+ if use fltk ; then
+ #src/examples does not include fltk flags
+ append-cflags $(fltk-config --cflags)
+ append-cxxflags $(fltk-confiag --cxxflags)
+ fi
+
+ cmake-utils_src_prepare
+
+ mycmakeargs=(
+ $(usex X -DWANT_X11=1 "")
+ $(usex cairo -DWANT_CAIRO=1 "")
+ $(usex cups -DWANT_CUPS=1 "")
+ $(usex exif -DWANT_EXIV2=1 "")
+ $(usex fltk -DWANT_FLTK=1 "")
+ $(usex qt4 -DWANT_QT4=1 "")
+ $(usex raw -DWANT_LIBRAW=1 "")
+ )
+}
+
+src_configure() {
+ cmake-multilib_src_configure
+
+ if use abi_x86_32 && use abi_x86_64 ; then
+ sed -e 's:lib64:lib32:g' \
+ -i "${S}"-x86/CMakeCache.txt || die
+ fi
+}
+
+src_install() {
+ if use abi_x86_32 && use abi_x86_64 ; then
+ sed -e '/OY_LIBDIR/s:lib32:lib64:'\
+ -i "${S}"-x86/src/include/oyranos_version.h || die
+ fi
+
+ cmake-multilib_src_install
+
+ dodoc AUTHORS ChangeLog README
+ if use doc ; then
+ mv "${D}usr/share/doc/${PN}/html" "${D}usr/share/doc/${PF}" || die
+ fi
+ rm -rf "${D}usr/share/doc/${PN}" || die
+}