1 --- cinepaint/plug-ins/icc_examin/icc_examin/configure.sh.orig 2008-10-24 21:05:23.000000000 +0200
2 +++ cinepaint/plug-ins/icc_examin/icc_examin/configure.sh 2013-03-29 21:35:26.036257910 +0100
4 # test -n "$ECHO" && $ECHO "Oyranos `pkg-config --modversion oyranos` detected"
5 echo "#define HAVE_OY 1" >> $CONF_H
7 - echo "OYRANOS_H = `oyranos-config --cflags`" >> $CONF
8 + echo "OYRANOS_H = `oyranos-config --cflags` `oyranos-config --cflags`/alpha" >> $CONF
9 # echo "OYRANOS_H = `pkg-config --cflags oyranos_monitor`" >> $CONF
10 if [ -f /usr/X11R6/include/X11/extensions/xf86vmode.h ]; then
11 pkg-config --exists oyranos_monitor
12 --- cinepaint/plug-ins/icc_examin/icc_examin/icc_oyranos_extern.h.orig 2008-08-22 20:11:18.000000000 +0200
13 +++ cinepaint/plug-ins/icc_examin/icc_examin/icc_oyranos_extern.h 2013-03-29 21:50:48.619572400 +0100
16 #if OYRANOS_VERSION > 107
17 # include <oyranos/oyranos_icc.h>
18 -# include <oyranos/oyranos_alpha.h>
19 +# include <oyranos/alpha/oyranos_alpha.h>
23 --- cinepaint/plug-ins/icc_examin/icc_examin/icc_oyranos.cpp.orig 2008-10-24 22:15:51.000000000 +0200
24 +++ cinepaint/plug-ins/icc_examin/icc_examin/icc_oyranos.cpp 2013-03-29 21:57:46.776229932 +0100
26 Speicher *v_block = &lab_;
27 if( !v_block->size() )
28 { DBG_PROG_V( v_block->size() )
29 - char* profil_name = oyGetDefaultProfileName( oyranos::oyASSUMED_LAB, myAllocFunc );
30 + char* profil_name = oyGetDefaultProfileName( oyASSUMED_LAB, myAllocFunc );
32 DBG_PROG_V( (int*)profil_name << profil_name );
35 Speicher *v_block = &rgb_;
36 if( !v_block->size() )
37 { DBG_PROG_V( v_block->size() )
38 - const char* profil_name = oyGetDefaultProfileName( oyranos::oyASSUMED_RGB, myAllocFunc );
39 + const char* profil_name = oyGetDefaultProfileName( oyASSUMED_RGB, myAllocFunc );
41 DBG_PROG_V( (intptr_t)profil_name << profil_name );
44 Speicher *v_block = &cmyk_;
45 if( !v_block->size() )
46 { DBG_PROG_V( v_block->size() )
47 - char* profil_name = oyGetDefaultProfileName( oyranos::oyASSUMED_CMYK, myAllocFunc );
48 + char* profil_name = oyGetDefaultProfileName( oyASSUMED_CMYK, myAllocFunc );
49 if(profil_name) {DBG_PROG_V( profil_name );
50 } else { DBG_PROG_V( (intptr_t)profil_name );}
53 Speicher *v_block = &proof_;
54 char* profil_name = NULL;
56 - profil_name = oyGetDefaultProfileName( oyranos::oyPROFILE_PROOF, myAllocFunc);
57 + profil_name = oyGetDefaultProfileName( oyPROFILE_PROOF, myAllocFunc);
59 if( !v_block->size() )
60 { DBG_PROG_V( v_block->size() )
63 int screen = oyGetScreenFromPosition( display_name, x,y );
64 char *new_display_name = changeScreenName_( display_name, screen );
65 + char *dummy_geom, *dummy_port;
66 + oyBlob_s *dummy_edit;
68 oyGetMonitorInfo( new_display_name,
69 - &manufacturer, &model, &serial,
70 + &manufacturer, &model, &serial, &dummy_geom, &dummy_port, &dummy_edit,
73 if( manufacturer && strlen( manufacturer ) )
74 --- cinepaint/plug-ins/pdf/pdf.cpp.orig 2008-10-10 07:44:15.000000000 +0200
75 +++ cinepaint/plug-ins/pdf/pdf.cpp 2013-03-29 22:08:45.282882724 +0100
77 #include "lib/wire/libtile.h"
78 #include "plugin_pdb.h"
79 #include "libgimp/stdplugins-intl.h"
82 #include <oyranos/oyranos.h>
86 #define WARN_S(text) cout <<__FILE__<<":"<<__LINE__<<" "<< text << endl;
89 // set a default profile for cmyk
92 - using namespace oyranos;
94 if( vals.colourspace == PDF_CMYK )
95 profile_name = oyGetDefaultProfileName (oyEDITING_CMYK, myAllocFunc);
96 --- cinepaint/app/cms.c.orig 2009-01-01 00:14:53.000000000 +0100
97 +++ cinepaint/app/cms.c 2013-03-29 22:37:04.432847455 +0100
99 #include <arpa/inet.h> /* ntohl */
100 #include <oyranos/oyranos_monitor.h>
102 -#include <oyranos/oyranos_alpha.h>
103 +#include <oyranos/oyProfiles_s.h>
104 +#include <oyranos/alpha/oyranos_alpha.h>
108 --- cinepaint/plug-ins/icc_examin/icc_examin/icc_oyranos_extern.c.orig 2008-08-22 20:11:18.000000000 +0200
109 +++ cinepaint/plug-ins/icc_examin/icc_examin/icc_oyranos_extern.c 2023-08-30 20:46:24.305406394 +0200
110 @@ -219,10 +219,12 @@ oyStringCopy_ ( const char * te
115 +# elif OYRANOS_VERSION < 906
117 oyStringCopy_ ( const char * text,
118 oyAllocFunc_t allocateFunc );
120 +#define oyStringCopy_ oyStringCopy
123 /** @brief manage complex oyNamedColour_s_ inside Oyranos
124 --- cinepaint/app/cms.c.orig 2023-08-30 21:26:19.255765168 +0200
125 +++ cinepaint/app/cms.c 2023-08-30 22:15:12.389875016 +0200
126 @@ -946,7 +946,15 @@ cms_read_standard_profile_dirs(icColorSp
127 oyProfile_s * temp_prof = 0;
128 oyProfiles_s * iccs = 0;
130 +#if OYRANOS_VERSION > 905
132 + uint32_t icc_profile_flags =oyICCProfileSelectionFlagsFromOptions(
133 + OY_CMM_STD, "//" OY_TYPE_STD "/icc_color", NULL, 0 );
134 + iccs = oyProfiles_ForStd( type, icc_profile_flags, 0, 0 );
137 iccs = oyProfiles_ForStd( type, 0, 0 );
140 size = oyProfiles_Count( iccs );
141 for( i = 0; i < size; ++i)
142 --- cinepaint/app/main.c.orig 2023-08-30 22:17:15.649207263 +0200
143 +++ cinepaint/app/main.c 2023-08-31 06:21:44.881244644 +0200
144 @@ -55,8 +55,10 @@ extern int _fmode;
147 #include <oyranos/oyranos.h>
148 -#include <oyranos/oyranos_config.h>
149 #include <oyranos/oyranos_version.h>
150 +#if OYRANOS_VERSION < 906
151 +#include <oyranos/oyranos_config.h>
153 char *oyranos_temp_path = NULL;
154 void *myAlloc(size_t n) { return calloc(sizeof(char), n); }