View | Details | Raw Unified | Return to bug 178595
Collapse All | Expand All

(-)graphics/cinepaint/Makefile (-48 / +55 lines)
Lines 1-76 Link Here
1
# New ports collection makefile for:	cinepaint
1
# Created by: David Yeske <dyeske@gmail.com>
2
# Date created:				11 Oct 2003
3
# Whom:					David Yeske <dyeske@gmail.com>
4
#
5
# $FreeBSD: head/graphics/cinepaint/Makefile 316464 2013-04-24 18:10:30Z ak $
2
# $FreeBSD: head/graphics/cinepaint/Makefile 316464 2013-04-24 18:10:30Z ak $
6
#
7
3
8
PORTNAME=	cinepaint
4
PORTNAME=	cinepaint
9
PORTVERSION=	0.22
5
DISTVERSION=	1.0-4
10
PORTREVISION=	10
11
CATEGORIES=	graphics
6
CATEGORIES=	graphics
12
MASTER_SITES=	SF/${PORTNAME}/CinePaint/CinePaint-${PORTVERSION}-1
7
MASTER_SITES=	SF/${PORTNAME}/CinePaint/CinePaint-${DISTVERSION}
13
DISTNAME=	${PORTNAME}-${PORTVERSION}-1
14
8
15
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	An editing tool used for painting and retouching of movies
10
COMMENT=	Editing tool used for painting and retouching of movies
17
11
18
LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
12
LICENSE=	GPLv2 LGPL21 MIT
13
LICENSE_COMB=	multi
14
15
LIB_DEPENDS=	IlmImf:${PORTSDIR}/graphics/OpenEXR \
16
		ftgl:${PORTSDIR}/graphics/ftgl \
17
		jpeg:${PORTSDIR}/graphics/jpeg \
18
		lcms:${PORTSDIR}/graphics/lcms \
19
		png15:${PORTSDIR}/graphics/png \
19
		png15:${PORTSDIR}/graphics/png \
20
		lcms.1:${PORTSDIR}/graphics/lcms \
20
		tiff:${PORTSDIR}/graphics/tiff \
21
		tiff.4:${PORTSDIR}/graphics/tiff \
21
    		fltk:${PORTSDIR}/x11-toolkits/fltk
22
		ftgl.2:${PORTSDIR}/graphics/ftgl
23
22
24
USE_AUTOTOOLS=	libtool
23
OPTIONS_DEFINE=	OYRANOS PRINT
25
GNU_CONFIGURE=	yes
24
OYRANOS_DESC=	ICC profile support via Oyranos
25
PRINT_DESC=	Gutenprint (gimp-print) plugin
26
27
USES=		gettext pkgconfig
28
USE_XORG=	xmu
29
USE_GNOME=	gtk20
30
USE_GHOSTSCRIPT_RUN=yes
26
USE_PYTHON=	yes
31
USE_PYTHON=	yes
27
USE_GNOME=	gtk12
32
USE_GMAKE=	yes
28
USES=		gettext
33
USE_AUTOTOOLS=	libtoolize aclocal automake autoconf
34
LIBTOOLIZE_ARGS=--force
35
ACLOCAL_ARGS=	-I aclocal
36
AUTOMAKE_ARGS=	--copy --force-missing --foreign
29
USE_LDCONFIG=	yes
37
USE_LDCONFIG=	yes
30
USE_XORG=	xpm xi xext xft xinerama
38
MAKE_JOBS_SAFE=	yes
31
32
MAN1=		cinepaint.1 cinepainttool.1
33
34
PLIST_SUB=	VER=${PORTVERSION}-1
35
39
36
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-1
40
CPPFLAGS+=	-I${LOCALBASE}/include
41
LDFLAGS+=	-L${LOCALBASE}/lib
37
42
38
OPTIONS_DEFINE=	OPENEXR
43
PLIST_SUB=	VER="${DISTVERSION}"
39
OPTIONS_DEFAULT=	OPENEXR
40
OPENEXR_DESC=	Use OpenEXR
41
44
42
CFLAGS+=	-I${LOCALBASE}/include
45
MAN1=		cinepaint.1 cinepainttool.1
43
LDFLAGS+=	-L${LOCALBASE}/lib -lintl
44
46
45
.include <bsd.port.options.mk>
47
.include <bsd.port.options.mk>
46
48
47
.if ${PORT_OPTIONS:MOPENEXR}
49
.if ${PORT_OPTIONS:MOYRANOS}
48
LIB_DEPENDS+=	IlmImf:${PORTSDIR}/graphics/OpenEXR \
50
LIB_DEPENDS+=	oyranos:${PORTSDIR}/graphics/oyranos
49
    		fltk.1:${PORTSDIR}/x11-toolkits/fltk
50
CONFIGURE_ARGS+=	--with-openexr-prefix=${LOCALBASE}
51
CFLAGS+=	-I${LOCALBASE}/include/openEXR
52
PLIST_SUB+=	OPENEXR:=""
53
.else
51
.else
54
PLIST_SUB+=	OPENEXR:="@comment "
52
CONFIGURE_ENV+=	ac_cv_path_OY_CONFIG=no
55
.endif
53
.endif
56
54
57
CPPFLAGS+=	${CFLAGS}
55
.if ${PORT_OPTIONS:MPRINT}
56
LIB_DEPENDS+=	gutenprint:${PORTSDIR}/print/gutenprint-base
57
PLIST_SUB+=	PRINT=""
58
.else
59
CONFIGURE_ARGS+=	--disable-print
60
PLIST_SUB+=	PRINT="@comment "
61
.endif
62
63
post-extract:
64
	@${LN} -sf gimprc.in ${WRKSRC}/cinepaintrc.in
65
	@${LN} -sf gimprc_user.in ${WRKSRC}/cinepaintrc_user.in
58
66
59
post-patch:
67
post-patch:
60
	@${REINPLACE_CMD} -e \
68
	@${REINPLACE_CMD} -e \
61
		's| -Wall||' \
69
		'/^pkgconfigdir/s|$$(libdir)|$$(prefix)/libdata| ; \
62
		${WRKSRC}/configure
70
		 s|gimprc|cinepaintrc|g' \
63
71
		${WRKSRC}/Makefile.am
64
	@${REINPLACE_CMD} -E -e \
72
	@${REINPLACE_CMD} -e \
65
		's|-LINUX.+$$|| ; s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
73
		'/cms-profile-path/s|".*"|"${LOCALBASE}/share/color/icc"| ; \
66
		${WRKSRC}/Makefile.in
74
		 s|/usr/share|${LOCALBASE}/share|' \
67
75
		${WRKSRC}/cinepaintrc.in
76
	@${REINPLACE_CMD} -e \
77
		's|gimprc|cinepaintrc|g' \
78
		${WRKSRC}/user_install.in
68
	@${REINPLACE_CMD} -e \
79
	@${REINPLACE_CMD} -e \
69
		's|static GDrawableType|static GImageType|' \
80
		's|static GDrawableType|static GImageType|' \
70
		${WRKSRC}/plug-ins/psd/psd.c
81
		${WRKSRC}/plug-ins/psd/psd.c
71
82
72
	@${FIND} ${WRKSRC} -type f -name "*.c" -o -name "*.cpp" -o -name "*.cxx" -o -name "*.h" | ${XARGS} \
73
	   ${REINPLACE_CMD} -e '/^#include <FL/s|.h>$$|.H>|; /^#include "FL/s|.h"$$|.H"|; \
74
	   s|fl_file_chooser.H|Fl_File_Chooser.H|g; s|#include <Fl|#include <FL|g; s|<FL/gl.H>|<FL/gl.h>|'
75
76
.include <bsd.port.mk>
83
.include <bsd.port.mk>
(-)graphics/cinepaint/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (cinepaint-0.22-1.tar.gz) = bb08a9210658959772df12408769d660999ede168b7431514e1f3cead07c0fea
1
SHA256 (cinepaint-1.0-4.tar.gz) = 57a748ed4b9ce93ace379a5476f815e741a863425a6d5181646b49e7cba2578e
2
SIZE (cinepaint-0.22-1.tar.gz) = 12380745
2
SIZE (cinepaint-1.0-4.tar.gz) = 12167016
(-)graphics/cinepaint/files/patch-app__Makefile.am (+12 lines)
Line 0 Link Here
1
--- app/Makefile.am.orig
2
+++ app/Makefile.am
3
@@ -420,7 +420,8 @@
4
 	$(GTK_LIBS) \
5
 	$(X_LIBS) \
6
 	$(OYRANOS_LIBS) \
7
-	$(LCMS_LIB)
8
+	$(LCMS_LIB) \
9
+	-lm
10
 
11
 cinepaint_remote_LDADD = \
12
 	$(GTK_LIBS) \
(-)graphics/cinepaint/files/patch-app__cms.c (+263 lines)
Line 0 Link Here
1
--- app/cms.c.orig
2
+++ app/cms.c
3
@@ -37,16 +37,9 @@
4
 #endif
5
 
6
 #ifdef HAVE_OY
7
-#include <oyranos/oyranos.h>
8
-#ifndef OYRANOS_VERSION
9
-#define OYRANOS_VERSION 0
10
-#endif
11
-#if OYRANOS_VERSION < 108
12
-#include <arpa/inet.h>  /* ntohl */
13
-#include <oyranos/oyranos_monitor.h>
14
-#else
15
-#include <oyranos/oyranos_alpha.h>
16
-#endif
17
+#include <oyranos_devices.h>
18
+#include <oyObject_s.h>
19
+#include <oyProfiles_s.h>
20
 #endif
21
 
22
 #include "config.h"
23
@@ -114,7 +107,7 @@
24
     cmsHPROFILE handle;
25
     char       *data;                   /* save original data for profile i/o */
26
     size_t      size;
27
-    char        cspace[8];
28
+    const char *cspace;
29
 };
30
 
31
 /* same for transform */
32
@@ -348,7 +341,7 @@
33
 
34
 #ifdef HAVE_OY
35
 # if OYRANOS_VERSION > 107
36
-int iccMessageFunc( int code, const oyStruct_s * context, const char * format, ... )
37
+int iccMessageFunc( int code, const oyPointer * context, const char * format, ... )
38
 {
39
   char* text = 0, *pos = 0;
40
   va_list list;
41
@@ -359,10 +352,10 @@
42
     return 0;
43
 
44
 
45
-  if(context && oyOBJECT_NONE < context->type_)
46
+  if(context && oyOBJECT_NONE < ((oyStruct_s*)context)->type_)
47
   {
48
-    type_name = oyStruct_TypeToText( context );
49
-    id = oyObject_GetId( context->oy_ );
50
+    type_name = oyStruct_TypeToText( (oyStruct_s*)context );
51
+    id = oyObject_GetId( ((oyStruct_s*)context)->oy_ );
52
   }
53
 
54
   text = (char*)calloc(sizeof(char), 4096);
55
@@ -463,7 +456,7 @@
56
       const char *display_name = gdk_get_display ();
57
 
58
       test = oyGetMonitorProfile( display_name, &test_size, my_alloc_func );
59
-      printf("%s:%d %s() monitor profile size: %d\n",__FILE__,__LINE__,__func__,
60
+      printf("%s:%d %s() monitor profile size: %lu\n",__FILE__,__LINE__,__func__,
61
               test_size );
62
 
63
       if (test == NULL || !test_size)
64
@@ -566,36 +559,36 @@
65
 
66
 const char* 
67
 cms_get_color_space_name (cmsHPROFILE hProfile)
68
-{   static gchar name[10];
69
+{   static char *name = 10;
70
 
71
     switch (cmsGetColorSpace (hProfile))
72
     {
73
-        case icSigXYZData: sprintf(name, _("XYZ")); break;
74
-        case icSigLabData: sprintf(name, _("Lab")); break;
75
-        case icSigLuvData: sprintf(name, _("Luv")); break;
76
-        case icSigYCbCrData: sprintf(name, _("YCbCr")); break;
77
-        case icSigYxyData: sprintf(name, _("Yxy")); break;
78
-        case icSigRgbData: sprintf(name, _("Rgb")); break;
79
-        case icSigGrayData: sprintf(name, _("Gray")); break;
80
-        case icSigHsvData: sprintf(name, _("Hsv")); break;
81
-        case icSigHlsData: sprintf(name, _("Hls")); break;
82
-        case icSigCmykData: sprintf(name, _("Cmyk")); break;
83
-        case icSigCmyData: sprintf(name, _("Cmy")); break;
84
-        case icSig2colorData: sprintf(name, _("2color")); break;
85
-        case icSig3colorData: sprintf(name, _("3color")); break;
86
-        case icSig4colorData: sprintf(name, _("4color")); break;
87
-        case icSig5colorData: sprintf(name, _("5color")); break;
88
-        case icSig6colorData: sprintf(name, _("6color")); break;
89
-        case icSig7colorData: sprintf(name, _("7color")); break;
90
-        case icSig8colorData: sprintf(name, _("8color")); break;
91
-        case icSig9colorData: sprintf(name, _("9color")); break;
92
-        case icSig10colorData: sprintf(name, _("10color")); break;
93
-        case icSig11colorData: sprintf(name, _("11color")); break;
94
-        case icSig12colorData: sprintf(name, _("12color")); break;
95
-        case icSig13colorData: sprintf(name, _("13color")); break;
96
-        case icSig14colorData: sprintf(name, _("14color")); break;
97
-        case icSig15colorData: sprintf(name, _("15color")); break;
98
-        default: name[0] = '\0';
99
+        case icSigXYZData: name = _("XYZ"); break;
100
+        case icSigLabData: name = _("Lab"); break;
101
+        case icSigLuvData: name = _("Luv"); break;
102
+        case icSigYCbCrData: name = _("YCbCr"); break;
103
+        case icSigYxyData: name = _("Yxy"); break;
104
+        case icSigRgbData: name = _("Rgb"); break;
105
+        case icSigGrayData: name = _("Gray"); break;
106
+        case icSigHsvData: name = _("Hsv"); break;
107
+        case icSigHlsData: name = _("Hls"); break;
108
+        case icSigCmykData: name = _("Cmyk"); break;
109
+        case icSigCmyData: name = _("Cmy"); break;
110
+        case icSig2colorData: name = _("2color"); break;
111
+        case icSig3colorData: name = _("3color"); break;
112
+        case icSig4colorData: name = _("4color"); break;
113
+        case icSig5colorData: name = _("5color"); break;
114
+        case icSig6colorData: name = _("6color"); break;
115
+        case icSig7colorData: name = _("7color"); break;
116
+        case icSig8colorData: name = _("8color"); break;
117
+        case icSig9colorData: name = _("9color"); break;
118
+        case icSig10colorData: name = _("10color"); break;
119
+        case icSig11colorData: name = _("11color"); break;
120
+        case icSig12colorData: name = _("12color"); break;
121
+        case icSig13colorData: name = _("13color"); break;
122
+        case icSig14colorData: name = _("14color"); break;
123
+        case icSig15colorData: name = _("15color"); break;
124
+        default: name = "";
125
     }
126
 
127
     return name;
128
@@ -603,17 +596,16 @@
129
 
130
 const char**
131
 cms_get_color_space_channel_names (cmsHPROFILE hProfile)
132
-{   static char** name = 0;
133
+{   static char* name[5] = {0,0,0,0,0};
134
     const char** ret = 0;
135
-    if(!name)
136
+    if(!name[0])
137
     { int i;
138
-      name=(char**)calloc(sizeof(char**),4);
139
       for(i = 0; i < 4; ++i)
140
-        name[i] = (char*)calloc(sizeof(char*),36);
141
+        name[i] = (char*)calloc(sizeof(char),128);
142
     }
143
+    sprintf(name[0], "---");
144
     sprintf(name[1], "---");
145
     sprintf(name[2], "---");
146
-    sprintf(name[3], "---");
147
 
148
     ret = (const char**) name;
149
     sprintf( name[3],_("Alpha"));
150
@@ -683,7 +675,7 @@
151
 
152
 const char*
153
 cms_get_device_class_name (cmsHPROFILE hProfile)
154
-{   static char class[15];
155
+{   static char class[128];
156
 
157
     switch (cmsGetDeviceClass (hProfile))
158
     {
159
@@ -1193,6 +1185,8 @@
160
  */
161
 const char * cms_get_profile_cspace ( CMSProfile         * profile )
162
 {
163
+  if(!profile->cspace)
164
+    return "";
165
   return profile->cspace;
166
 }
167
 
168
@@ -1222,22 +1216,21 @@
169
 #ifdef HAVE_OY
170
     if ( profile == NULL )
171
     {
172
+      char *pp_name = NULL;
173
       /* add path to non pathnamed file names */
174
       if(file_name && !strchr(file_name, OY_SLASH_C))
175
       {
176
-        char *pp_name = oyGetPathFromProfileName( file_name, my_alloc_func );
177
+        pp_name = oyGetPathFromProfileName( file_name, my_alloc_func );
178
 
179
         if(pp_name && strlen(pp_name))
180
         {
181
           fullFileName = (char*) calloc (MAX_PATH, sizeof(char));;
182
           sprintf(fullFileName, "%s%s%s", pp_name, OY_SLASH, file_name);;
183
         }
184
-        if(pp_name) free(pp_name);
185
       } else
186
       /* catch non correct paths */
187
       if(file_name && strchr(file_name, OY_SLASH_C))
188
       {
189
-        char *pp_name = NULL;
190
         char *ptr = NULL;
191
 
192
         ptr = strrchr(file_name, OY_SLASH_C);
193
@@ -1251,12 +1244,13 @@
194
             fullFileName = (char*) calloc (MAX_PATH, sizeof(char));;
195
             sprintf(fullFileName, "%s%s%s", pp_name, OY_SLASH, ptr);;
196
           }
197
-          if(pp_name) free(pp_name);
198
         }
199
       }
200
 
201
       /* give lcms */
202
-      profile = cmsOpenProfileFromFile (fullFileName, "r");
203
+      if (pp_name);
204
+        profile = cmsOpenProfileFromFile (fullFileName, "r");
205
+      if (pp_name) free(pp_name);
206
     }
207
 #endif
208
 
209
@@ -1282,8 +1276,7 @@
210
     return_value = g_new(CMSProfile, 1);
211
     return_value->cache_key = strdup(cms_get_profile_keyname(profile,mem));
212
     return_value->handle = profile;
213
-    sprintf( return_value->cspace,
214
-             cms_get_color_space_name( return_value->handle ) );
215
+    return_value->cspace = cms_get_color_space_name( return_value->handle );
216
 
217
     /* save an copy of the original icc profile to mem */
218
     return_value->size = 0;
219
@@ -1336,8 +1329,7 @@
220
     return_value = g_new(CMSProfile, 1);
221
     return_value->cache_key = strdup(cms_get_profile_keyname(profile,mem_pointer));
222
     return_value->handle = profile;
223
-    sprintf( return_value->cspace,
224
-             cms_get_color_space_name( return_value->handle ) );
225
+    return_value->cspace = cms_get_color_space_name( return_value->handle );
226
 
227
     cache_entry = g_new(ProfileCacheEntry, 1);
228
     cache_entry->ref_count = 1;
229
@@ -2689,7 +2681,7 @@
230
 
231
     GSList *profile_file_names = 0;
232
     GSList *iterator = 0;
233
-    gchar *current_filename;
234
+    gchar *current_long_fname;
235
     CMSProfile *current_profile;
236
     CMSProfileInfo *current_profile_info;      
237
     int pos = can_select_none ? 1 : 0, select_pos = -1;
238
@@ -2720,16 +2712,20 @@
239
 
240
     while (iterator != NULL)
241
     {
242
-        current_filename = iterator->data;
243
-        current_profile = cms_get_profile_from_file(current_filename);
244
+        const char *file_name;
245
+        current_long_fname = iterator->data;
246
+        file_name = current_long_fname;
247
+        if(strrchr(file_name,'/'))
248
+          file_name = strrchr(file_name,'/') + 1;
249
+        current_profile = cms_get_profile_from_file(current_long_fname);
250
 	current_profile_info = cms_get_profile_info(current_profile);
251
         if(prefered_name && strlen(prefered_name) &&
252
-           strcmp( current_filename, prefered_name ) == 0 )
253
+           strcmp( file_name, prefered_name ) == 0 )
254
           select_pos = pos;
255
-        sprintf(label_text, "%s (%s)", current_profile_info->description, current_filename);
256
+        sprintf(label_text, "%s (%s)", current_profile_info->description, current_long_fname);
257
         menuitem = gtk_menu_item_new_with_label (label_text);
258
 	gtk_menu_append (GTK_MENU (menu), menuitem);
259
-	gtk_object_set_data_full(GTK_OBJECT(menuitem), "value", (gpointer)current_filename, g_free);
260
+	gtk_object_set_data_full(GTK_OBJECT(menuitem), "value", (gpointer)current_long_fname, g_free);
261
 
262
 	cms_return_profile(current_profile);
263
 
(-)graphics/cinepaint/files/patch-app__depth__Makefile.am (+12 lines)
Line 0 Link Here
1
--- app/depth/Makefile.am.orig
2
+++ app/depth/Makefile.am
3
@@ -11,7 +11,8 @@
4
 
5
 libdepth_la_LIBADD = \
6
 	$(top_builddir)/lib/libcinepaint.la \
7
-	$(GTK_LIBS)
8
+	$(GTK_LIBS) \
9
+	-lm
10
 
11
 libdepth_la_SOURCES = \
12
 	bezier_select.c \
(-)graphics/cinepaint/files/patch-app__gradient.c (+11 lines)
Line 0 Link Here
1
--- app/gradient.c.orig
2
+++ app/gradient.c
3
@@ -5452,7 +5452,7 @@
4
           g_message (_("Corrupt segment %d in gradient file '%s'."),
5
                      i, filename);
6
           fclose (file);
7
-          return NULL;
8
+          return;
9
         }
10
 #else
11
 		if (sscanf(line, "%lf%lf%lf%lf%lf%lf%lf%lf%lf%lf%lf%d%d",
(-)graphics/cinepaint/files/patch-app__install.c (+11 lines)
Line 0 Link Here
1
--- app/install.c.orig
2
+++ app/install.c
3
@@ -475,7 +475,7 @@
4
 
5
   CP_TEXT_INSERT( font_strong, _("User Installation Log\n\n") );
6
 
7
-#if 1
8
+#if 0
9
 	{	const char* msg = UserInstall(gimp_directory());
10
 		if(msg)
11
 		{
(-)graphics/cinepaint/files/patch-app__layers_dialog.c (+11 lines)
Line 0 Link Here
1
--- app/layers_dialog.c.orig
2
+++ app/layers_dialog.c
3
@@ -2773,7 +2773,7 @@
4
 # ifdef DEBUG
5
     printf("%s:%d %s() wrong data or widget\n", __FILE__,__LINE__,__func__);
6
 # endif
7
-    return FALSE;
8
+    return;
9
   }
10
 
11
 
(-)graphics/cinepaint/files/patch-app__main.c (+21 lines)
Line 0 Link Here
1
--- app/main.c.orig
2
+++ app/main.c
3
@@ -448,7 +448,8 @@
4
 #ifdef WIN32
5
 
6
 #else
7
-# ifndef DEBUG_
8
+  if (use_debug_handler)
9
+  {
10
   /* Handle some signals */
11
   signal (SIGHUP, on_signal);
12
   signal (SIGINT, on_signal);
13
@@ -466,7 +467,7 @@
14
   /* Handle shmem reload */
15
   signal( SIGUSR2, on_sig_refresh);
16
 # endif
17
-# endif /* DEBUG */
18
+  }
19
 #endif
20
   /* Keep the command line arguments--for use in gimp_init */
21
   gimp_argc = argc - 1;
(-)graphics/cinepaint/files/patch-app__menus.c (+25 lines)
Line 0 Link Here
1
--- app/menus.c.orig
2
+++ app/menus.c
3
@@ -1597,7 +1597,7 @@
4
 char*
5
 menu_entry_translate (const char* entry)
6
 {
7
-  char *text = (char*) calloc (1024, sizeof(char)),
8
+  char *text = (char*) calloc (sizeof(char), 1024),
9
        *word = 0;
10
   const char *tmp = 0;
11
 
12
@@ -1647,11 +1647,11 @@
13
   // resize memory
14
   if(strlen(text))
15
   {
16
-    word = (char*) calloc( strlen(text) + 1, sizeof(char) );
17
+    word = (char*) calloc( sizeof(char), strlen(text) + 4 );
18
     memcpy( word, text, strlen( text ) + 1 );
19
     free (text);
20
     return word;
21
   }
22
   else
23
-    return (char*) calloc(1,sizeof(char));
24
+    return (char*) calloc(sizeof(char),1);
25
 }
(-)graphics/cinepaint/files/patch-cinepaint-gtk.pc.in (+12 lines)
Line 0 Link Here
1
--- cinepaint-gtk.pc.in.orig
2
+++ cinepaint-gtk.pc.in
3
@@ -11,6 +11,7 @@
4
 Name: cinepaint-gtk
5
 Description: Cinepaint Plug-In Library Using GTK+
6
 Version: @MAJOR_VERSION@.@MINOR_VERSION@
7
-Libs: -L${libdir} -lcinepaint @GTK_LIBS@
8
-Cflags: -I${includedir} @GTK_CFLAGS@
9
+Requires: gtk+-2.0
10
+Libs: -L${libdir} -lcinepaint 
11
+Cflags: -I${includedir} 
12
 
(-)graphics/cinepaint/files/patch-cinepainttool.in (+23 lines)
Line 0 Link Here
1
--- cinepainttool.in.orig
2
+++ cinepainttool.in
3
@@ -166,7 +166,7 @@
4
       ;;
5
     --cflags-local)
6
       my_gtk_cflags=$gtk_cflags
7
-      echo -I@abs_top_srcdir@ -I@abs_top_srcdir@/lib $my_gtk_cflags
8
+      echo $my_gtk_cflags
9
       ;;
10
     --libs | --libs-nocinepaintui)
11
       my_gtk_libs=
12
@@ -198,8 +198,9 @@
13
           my_gtk_libs="$my_gtk_libs $i"
14
         fi
15
       done
16
-      export `cat @abs_top_srcdir@/lib/libcinepaint.la | grep dlname | sed s/\'//g`
17
-      echo @abs_top_srcdir@/lib/.libs/$dlname $my_gtk_libs
18
+      export `cat @libdir@/libcinepaint.la | grep dlname | sed -e s/\'//g -e s/dlname/dlname1/`
19
+      export `cat @libdir@/libcinepainthalf.la | grep dlname | sed -e s/\'//g -e s/dlname/dlname2/`
20
+      echo @libdir@/$dlname1 @libdir@/$dlname2 $my_gtk_libs
21
       ;;
22
     --libs-noui)
23
       glib_ldflags=`echo $gtk_libs | sed -e 's/^.*-lgdk[^ ]* *\(-L[^ ]*\).*$/\1/' -e 's/^.* -lgdk[^ ]* .*$//'`
(-)graphics/cinepaint/files/patch-configure.in (+43 lines)
Line 0 Link Here
1
--- configure.in.orig	2013-05-06 05:19:29.000000000 +0900
2
+++ configure.in	2013-05-09 01:25:06.000000000 +0900
3
@@ -2,7 +2,7 @@
4
 
5
 prefix=/usr/bin
6
 
7
-AC_INIT(gimprc.in)
8
+AC_INIT(cinepaintrc.in)
9
 AM_CONFIG_HEADER(lib/config.h)
10
 
11
 dnl Initialize automake stuff
12
@@ -109,7 +109,7 @@
13
 dnl check for pkg-config
14
 export PKG_CONFIG_PATH
15
 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
16
-if test "x$PKG_CONFIG" == "xno"; then
17
+if test "x$PKG_CONFIG" = "xno"; then
18
   AC_MSG_WARN([
19
 *** Check for pkg-config failed. Many packages requires it.
20
 *** You can download it from http://pkgconfig.sourceforge.net/  .])
21
@@ -517,9 +517,9 @@
22
     if test "x$FLTK_CONFIG" != "xno"; then
23
       FLTK_CONFIG="$FLTK_CONFIG"
24
         FLTK_LDFLAGS="`$FLTK_CONFIG --use-images --ldflags | sed \"$STRIPOPT\"`"
25
-        FLTK_LIBS_PURE="`echo $FLTK_LDFLAGS | sed  's/-O.// ; s/-isysroot /-L/ ; s/-arch ppc// ; s/-arch i386//'`"
26
+        FLTK_LIBS_PURE="`echo $FLTK_LDFLAGS | sed  's/ -O. // ; s/-isysroot /-L/ ; s/-arch ppc// ; s/-arch i386//'`"
27
         FLTK_LIBS="\$(top_builddir)/lib/fl_i18n/libcinepaint_fl_i18n.la $FLTK_LIBS_PURE"
28
-        FLTK_CFLAGS=`$FLTK_CONFIG --cxxflags | sed  's/-O.// ; s/-isysroot /-L/ ; s/-arch ppc// ; s/-arch i386//'`
29
+        FLTK_CFLAGS=`$FLTK_CONFIG --cxxflags | sed  's/ -O. // ; s/-isysroot /-L/ ; s/-arch ppc// ; s/-arch i386//'`
30
     else
31
       AC_MSG_WARN([
32
 *** Check for fltk-config failed. Depending plug-ins may not compile.
33
@@ -818,8 +818,8 @@
34
 AC_OUTPUT(
35
 Makefile
36
 user_install
37
-gimprc
38
-gimprc_user
39
+cinepaintrc
40
+cinepaintrc_user
41
 cinepainttool
42
 cinepaint-gtk.pc
43
 cinepaint.spec
(-)graphics/cinepaint/files/patch-lib__fl_i18n__Makefile.am (+12 lines)
Line 0 Link Here
1
--- lib/fl_i18n/Makefile.am.orig
2
+++ lib/fl_i18n/Makefile.am
3
@@ -26,8 +26,7 @@
4
 	-I$(top_srcdir) -I$(includedir)
5
 
6
 libcinepaint_fl_i18n_la_LIBADD = \
7
-	$(FLTK_LIBS_PURE) \
8
-	-lc
9
+	$(FLTK_LIBS_PURE)
10
 
11
 .PHONY: files
12
 
(-)graphics/cinepaint/files/patch-plug-ins-icc_examin-icc_examin_icc_helfer_fltk.cpp (-11 lines)
Lines 1-11 Link Here
1
--- plug-ins/icc_examin/icc_examin/icc_helfer_fltk.cpp.orig	2008-09-03 02:07:08.000000000 +0200
2
+++ plug-ins/icc_examin/icc_examin/icc_helfer_fltk.cpp	2008-09-03 02:08:02.000000000 +0200
3
@@ -226,7 +226,7 @@
4
 
5
   int  awake(void)
6
   {
7
-    Fl::awake(0);
8
+    Fl::awake((void *)0);
9
     return 0;
10
   }
11
   int  leerWait(void) { return 0; }
(-)graphics/cinepaint/files/patch-plug-ins-png-png.c (-28 lines)
Lines 1-28 Link Here
1
--- plug-ins/png/png.c.orig	2006-11-24 21:52:55.000000000 +0100
2
+++ plug-ins/png/png.c	2012-04-27 19:08:52.000000000 +0200
3
@@ -59,6 +59,7 @@
4
 #include "libgimp/stdplugins-intl.h"
5
 
6
 #include <png.h>		/* PNG library definitions */
7
+#include <pngpriv.h>
8
 
9
 /*
10
  * Constants...
11
@@ -405,7 +406,7 @@
12
   info = (png_infop)calloc(sizeof(png_info), 1);
13
 #endif /* PNG_LIBPNG_VER > 88 */
14
 
15
-  if (setjmp (pp->jmpbuf))
16
+  if (setjmp (png_jmpbuf(pp)))
17
   {
18
     g_message ("%s\nPNG error. File corrupted?", filename);
19
     return image;
20
@@ -824,7 +825,7 @@
21
   info = (png_infop)calloc(sizeof(png_info), 1);
22
 #endif /* PNG_LIBPNG_VER > 88 */
23
 
24
-  if (setjmp (pp->jmpbuf))
25
+  if (setjmp (png_jmpbuf(pp)))
26
   {
27
     g_message ("%s\nPNG error. Couldn't save image", filename);
28
     return 0;
(-)graphics/cinepaint/files/patch-plug-ins__blur__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/blur/Makefile.am.orig
2
+++ plug-ins/blur/Makefile.am
3
@@ -18,8 +18,7 @@
4
 	$(top_builddir)/lib/libcinepaint.la	\
5
 	$(X_LIBS)				\
6
 	$(top_builddir)/libhalf/cinepaint_half.lo	\
7
-	$(OPENEXR_LIBS) \
8
-	-lc
9
+	$(OPENEXR_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__bracketing_to_hdr__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/bracketing_to_hdr/Makefile.am.orig
2
+++ plug-ins/bracketing_to_hdr/Makefile.am
3
@@ -51,8 +51,7 @@
4
 	./FL_adds/libfl_adds.la \
5
 	./gui/libgui.la \
6
 	$(FLTK_LIBS) \
7
-	$(GTK_LIBS) \
8
-	-lc
9
+	$(GTK_LIBS)
10
 
11
 DEPS = \
12
 	./br_core/libbr_core.la \
(-)graphics/cinepaint/files/patch-plug-ins__bracketing_to_hdr__jhead__Makefile.am (+11 lines)
Line 0 Link Here
1
--- plug-ins/bracketing_to_hdr/jhead/Makefile.am.orig
2
+++ plug-ins/bracketing_to_hdr/jhead/Makefile.am
3
@@ -31,7 +31,7 @@
4
 	-I$(includedir)
5
 
6
 LDADD = \
7
-	-lc -lm
8
+	-lm
9
 
10
 .PHONY: files
11
 
(-)graphics/cinepaint/files/patch-plug-ins__cineon__Makefile.am (+11 lines)
Line 0 Link Here
1
--- plug-ins/cineon/Makefile.am.orig
2
+++ plug-ins/cineon/Makefile.am
3
@@ -27,7 +27,7 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-	-lc
8
+	-lm
9
 
10
 DEPS = $(top_builddir)/lib/libcinepaint.la
11
 
(-)graphics/cinepaint/files/patch-plug-ins__collect__Makefile.am (+11 lines)
Line 0 Link Here
1
--- plug-ins/collect/Makefile.am.orig
2
+++ plug-ins/collect/Makefile.am
3
@@ -23,7 +23,7 @@
4
 	$(top_builddir)/lib/libcinepaint.la \
5
 	$(X_LIBS) \
6
 	$(FLTK_LIBS) \
7
-	-lc
8
+	-lm
9
 
10
 DEPS = $(top_builddir)/lib/libcinepaint.la \
11
 	$(top_builddir)/lib/fl_i18n/libcinepaint_fl_i18n.la
(-)graphics/cinepaint/files/patch-plug-ins__compose__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/compose/Makefile.am.orig
2
+++ plug-ins/compose/Makefile.am
3
@@ -14,8 +14,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__dbbrowser__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/dbbrowser/Makefile.am.orig
2
+++ plug-ins/dbbrowser/Makefile.am
3
@@ -19,8 +19,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__decompose__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/decompose/Makefile.am.orig
2
+++ plug-ins/decompose/Makefile.am
3
@@ -14,9 +14,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-					\
9
-	-lc
10
+	$(X_LIBS)
11
 
12
 DEPS = $(top_builddir)/lib/libcinepaint.la
13
 
(-)graphics/cinepaint/files/patch-plug-ins__dicom__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/dicom/Makefile.am.orig
2
+++ plug-ins/dicom/Makefile.am
3
@@ -14,8 +14,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__edge__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/edge/Makefile.am.orig
2
+++ plug-ins/edge/Makefile.am
3
@@ -15,9 +15,8 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-	$(top_builddir)/libhalf/cinepaint_half.lo       \
8
         $(OPENEXR_LIBS) \
9
-	-lc
10
+	-lm
11
 
12
 DEPS = $(top_builddir)/lib/libcinepaint.la
13
 
(-)graphics/cinepaint/files/patch-plug-ins__fits__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/fits/Makefile.am.orig
2
+++ plug-ins/fits/Makefile.am
3
@@ -16,8 +16,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__gauss_rle__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/gauss_rle/Makefile.am.orig
2
+++ plug-ins/gauss_rle/Makefile.am
3
@@ -15,8 +15,7 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-					\
8
-	-lc
9
+	-lm
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__gbr__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/gbr/Makefile.am.orig
2
+++ plug-ins/gbr/Makefile.am
3
@@ -16,8 +16,7 @@
4
 	$(top_builddir)/lib/libcinepaint.la	\
5
 	$(X_LIBS)				\
6
 	$(top_builddir)/libhalf/cinepaint_half.lo       \
7
-        $(OPENEXR_LIBS) \
8
-	-lc
9
+        $(OPENEXR_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__hdr__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/hdr/Makefile.am.orig
2
+++ plug-ins/hdr/Makefile.am
3
@@ -20,8 +20,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__iff__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/iff/Makefile.am.orig
2
+++ plug-ins/iff/Makefile.am
3
@@ -14,9 +14,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-					\
9
-	-lc
10
+	$(X_LIBS)
11
 
12
 DEPS = $(top_builddir)/lib/libcinepaint.la
13
 
(-)graphics/cinepaint/files/patch-plug-ins__iol__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/iol/Makefile.am.orig
2
+++ plug-ins/iol/Makefile.am
3
@@ -35,9 +35,7 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-        $(top_builddir)/libhalf/cinepaint_half.lo       \
8
         $(OPENEXR_LIBS) \
9
-	-lc					\
10
 	-lm					\
11
 	-lfl
12
 
(-)graphics/cinepaint/files/patch-plug-ins__jpeg__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/jpeg/Makefile.am.orig
2
+++ plug-ins/jpeg/Makefile.am
3
@@ -22,8 +22,7 @@
4
 	@LCMS_LIB@				\
5
 	@LIBJPEG_LIB@				\
6
         $(top_builddir)/libhalf/cinepaint_half.lo       \
7
-        $(OPENEXR_LIBS) \
8
-	-lc
9
+        $(OPENEXR_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__mblur__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/mblur/Makefile.am.orig
2
+++ plug-ins/mblur/Makefile.am
3
@@ -15,9 +15,8 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-        $(top_builddir)/libhalf/cinepaint_half.lo       \
8
         $(OPENEXR_LIBS) \
9
-	-lc
10
+	-lm
11
 
12
 DEPS = $(top_builddir)/lib/libcinepaint.la
13
 
(-)graphics/cinepaint/files/patch-plug-ins__median__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/median/Makefile.am.orig
2
+++ plug-ins/median/Makefile.am
3
@@ -16,8 +16,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__minimum__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/minimum/Makefile.am.orig
2
+++ plug-ins/minimum/Makefile.am
3
@@ -16,8 +16,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__noisify__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/noisify/Makefile.am.orig
2
+++ plug-ins/noisify/Makefile.am
3
@@ -16,8 +16,7 @@
4
 	$(top_builddir)/lib/libcinepaint.la	\
5
 	$(X_LIBS)				\
6
         $(top_builddir)/libhalf/cinepaint_half.lo       \
7
-        $(OPENEXR_LIBS) \
8
-	-lc
9
+        $(OPENEXR_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__openexr__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/openexr/Makefile.am.orig
2
+++ plug-ins/openexr/Makefile.am
3
@@ -27,8 +27,7 @@
4
 	$(top_builddir)/lib/libcinepaint.la \
5
 	$(X_LIBS) \
6
 	$(OPENEXR_LIBS) \
7
-	@LCMS_LIB@ \
8
-	-lc
9
+	@LCMS_LIB@
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__pdf__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/pdf/Makefile.am.orig
2
+++ plug-ins/pdf/Makefile.am
3
@@ -31,8 +31,7 @@
4
 	$(top_builddir)/lib/libcinepaint.la \
5
 	$(X_LIBS) \
6
 	$(FLTK_LIBS) \
7
-	$(OYRANOS_LIBS) \
8
-	-lc
9
+	$(OYRANOS_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__pdf__pdf.cpp (+24 lines)
Line 0 Link Here
1
--- plug-ins/pdf/pdf.cpp.orig
2
+++ plug-ins/pdf/pdf.cpp
3
@@ -47,10 +47,10 @@
4
 #include "lib/wire/libtile.h"
5
 #include "plugin_pdb.h"
6
 #include "libgimp/stdplugins-intl.h"
7
+}
8
 #ifdef HAVE_OY
9
-#include <oyranos/oyranos.h>
10
+#include <oyranos.h>
11
 #endif
12
-}
13
 
14
 #define WARN_S(text) cout <<__FILE__<<":"<<__LINE__<<" "<< text << endl;
15
 
16
@@ -377,8 +377,6 @@
17
     // set a default profile for cmyk
18
 #ifdef OYRANOS_H
19
 # if OYRANOS_API > 12
20
-    using namespace oyranos;
21
-
22
     if( vals.colourspace == PDF_CMYK )
23
       profile_name = oyGetDefaultProfileName (oyEDITING_CMYK, myAllocFunc);
24
     else
(-)graphics/cinepaint/files/patch-plug-ins__pic__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/pic/Makefile.am.orig
2
+++ plug-ins/pic/Makefile.am
3
@@ -21,8 +21,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__png__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/png/Makefile.am.orig
2
+++ plug-ins/png/Makefile.am
3
@@ -17,8 +17,7 @@
4
 	$(top_builddir)/lib/libcinepaint.la	\
5
 	$(LIBPNG)				\
6
 	$(GTK_LIBS)				\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__png__png.c (+451 lines)
Line 0 Link Here
1
--- plug-ins/png/png.c.orig
2
+++ plug-ins/png/png.c
3
@@ -390,6 +390,16 @@
4
   gchar		*progress;	/* Title for progress display... */
5
   guchar	alpha[256],	/* Index -> Alpha */
6
   		*alpha_ptr;	/* Temporary pointer */
7
+  png_byte     color_type;
8
+  png_byte     bit_depth;
9
+  png_colorp palette;
10
+  int num_palette;
11
+  png_charpp iccp_name;
12
+  int compression_type;
13
+  png_bytepp iccp_profile;
14
+  png_uint_32 iccp_proflen;
15
+  png_uint_32 width, height;
16
+  png_byte channels;
17
 
18
  /*
19
   * PNG 0.89 and newer have a sane, forwards compatible constructor.
20
@@ -405,7 +415,7 @@
21
   info = (png_infop)calloc(sizeof(png_info), 1);
22
 #endif /* PNG_LIBPNG_VER > 88 */
23
 
24
-  if (setjmp (pp->jmpbuf))
25
+  if (setjmp (png_jmpbuf(pp)))
26
   {
27
     g_message ("%s\nPNG error. File corrupted?", filename);
28
     return image;
29
@@ -442,21 +452,26 @@
30
   */
31
 
32
   png_read_info(pp, info);
33
+  color_type = png_get_color_type(pp, info);
34
+  width=png_get_image_width(pp, info);
35
+  height=png_get_image_height(pp, info);
36
 
37
  /*
38
   * Latest attempt, this should be my best yet :)
39
   */
40
 
41
+  bit_depth = png_get_bit_depth(pp, info);
42
+
43
 #ifndef WORDS_BIGENDIAN
44
-  if(info->bit_depth == 16)
45
+  if(bit_depth == 16)
46
 	  png_set_swap(pp);
47
 #endif
48
 
49
-  if (info->color_type == PNG_COLOR_TYPE_GRAY && info->bit_depth < 8) {
50
+  if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
51
     png_set_expand(pp);
52
   }
53
 
54
-  if (info->color_type == PNG_COLOR_TYPE_PALETTE && info->bit_depth < 8) {
55
+  if (color_type == PNG_COLOR_TYPE_PALETTE && bit_depth < 8) {
56
     png_set_packing(pp);
57
   }
58
 
59
@@ -464,8 +479,8 @@
60
   * Expand G+tRNS to GA, RGB+tRNS to RGBA
61
   */
62
 
63
-  if (info->color_type != PNG_COLOR_TYPE_PALETTE &&
64
-                       (info->valid & PNG_INFO_tRNS)) {
65
+  if (color_type != PNG_COLOR_TYPE_PALETTE &&
66
+      (png_get_valid(pp, info, PNG_INFO_tRNS))) {
67
     png_set_expand(pp);
68
   }
69
 
70
@@ -482,7 +497,7 @@
71
 
72
 #if PNG_LIBPNG_VER > 99
73
   if (png_get_valid(pp, info, PNG_INFO_tRNS) &&
74
-      info->color_type == PNG_COLOR_TYPE_PALETTE)
75
+      color_type == PNG_COLOR_TYPE_PALETTE)
76
   {
77
     png_get_tRNS(pp, info, &alpha_ptr, &num, NULL);
78
     /* Copy the existing alpha values from the tRNS chunk */
79
@@ -505,9 +520,9 @@
80
 
81
   png_read_update_info(pp, info);
82
   
83
-  if(info->bit_depth==16)
84
+  if(bit_depth==16)
85
   {
86
-	  switch (info->color_type)
87
+	  switch (color_type)
88
 	  {
89
 		  case PNG_COLOR_TYPE_RGB :		/* RGB */
90
 			  bpp        = 6;
91
@@ -545,7 +560,7 @@
92
   }
93
   else
94
   {
95
-	  switch (info->color_type)
96
+	  switch (color_type)
97
 	  {
98
 		  case PNG_COLOR_TYPE_RGB :		/* RGB */
99
 			  bpp        = 3;
100
@@ -582,7 +597,7 @@
101
 	  };
102
   }
103
 
104
-  image = gimp_image_new(info->width, info->height, image_type);
105
+  image = gimp_image_new(width, height, image_type);
106
   if (image == -1)
107
   {
108
     g_message("Can't allocate new image\n%s", filename);
109
@@ -595,7 +610,7 @@
110
   * Create the "background" layer to hold the image...
111
   */
112
 
113
-  layer = gimp_layer_new(image, _("Background"), info->width, info->height,
114
+  layer = gimp_layer_new(image, _("Background"), width, height,
115
                          layer_type, 100, NORMAL_MODE);
116
   gimp_image_add_layer(image, layer, 0);
117
 
118
@@ -627,20 +642,21 @@
119
 
120
   empty= 0; /* by default assume no full transparent palette entries */
121
 
122
-  if (info->color_type & PNG_COLOR_MASK_PALETTE) {
123
+  if (color_type & PNG_COLOR_MASK_PALETTE) {
124
 
125
 #if PNG_LIBPNG_VER > 99
126
+    png_get_PLTE(pp, info, &palette, &num_palette);
127
     if (png_get_valid(pp, info, PNG_INFO_tRNS)) {
128
       for (empty= 0; empty < 256 && alpha[empty] == 0; ++empty);
129
         /* Calculates number of fully transparent "empty" entries */
130
 
131
-      gimp_image_set_cmap(image, (guchar *) (info->palette + empty),
132
-                          info->num_palette - empty);
133
+      gimp_image_set_cmap(image, (guchar *) (palette + empty),
134
+                          num_palette - empty);
135
     } else {
136
-      gimp_image_set_cmap(image, (guchar *)info->palette, info->num_palette);
137
+      gimp_image_set_cmap(image, (guchar *)palette, num_palette);
138
     }
139
 #else
140
-    gimp_image_set_cmap(image, (guchar *)info->palette, info->num_palette);
141
+    gimp_image_set_cmap(image, (guchar *)palette, num_palette);
142
 #endif /* PNG_LIBPNG_VER > 99 */
143
 
144
   }
145
@@ -659,18 +675,19 @@
146
   */
147
 
148
   tile_height = gimp_tile_height ();
149
-  pixel       = g_new(guchar, tile_height * info->width * bpp);
150
+  pixel       = g_new(guchar, tile_height * width * bpp);
151
   pixels      = g_new(guchar *, tile_height);
152
+  channels=png_get_channels(pp, info);
153
 
154
-  if(info->bit_depth==16)
155
+  if(bit_depth==16)
156
   {
157
 	  for (i = 0; i < tile_height; i ++)
158
-		  pixels[i] = pixel + info->width * info->channels * i * 2;
159
+		  pixels[i] = pixel + width * channels * i * 2;
160
   }
161
   else
162
   {
163
 	  for (i = 0; i < tile_height; i ++)
164
-		  pixels[i] = pixel + info->width * info->channels * i;
165
+		  pixels[i] = pixel + width * channels * i;
166
   }
167
 
168
   for (pass = 0; pass < num_passes; pass ++)
169
@@ -680,11 +697,11 @@
170
 	   */
171
 
172
 	  for (begin = 0, end = tile_height;
173
-			  begin < info->height;
174
+			  begin < height;
175
 			  begin += tile_height, end += tile_height)
176
 	  {
177
-		  if (end > info->height)
178
-			  end = info->height;
179
+		  if (end > height)
180
+			  end = height;
181
 
182
 		  num = end - begin;
183
 
184
@@ -697,20 +714,21 @@
185
 		  gimp_pixel_rgn_set_rect(&pixel_rgn, pixel, 0, begin,
186
 				  drawable->width, num);
187
 
188
-		  gimp_progress_update(((double)pass + (double)end / (double)info->height) /
189
+		  gimp_progress_update(((double)pass + (double)end / (double)height) /
190
 				  (double)num_passes);
191
 	  };
192
   };
193
 
194
 #if defined(PNG_iCCP_SUPPORTED)
195
   /* set icc profile */
196
-  if (info->iccp_proflen > 0) {
197
-    gimp_image_set_icc_profile_by_mem (image, info->iccp_proflen,
198
-                                              info->iccp_profile,
199
-                                              ICC_IMAGE_PROFILE);
200
+  png_get_iCCP(pp, info,  (png_charpp)iccp_name, &compression_type, iccp_profile, &iccp_proflen);
201
+  if (iccp_proflen > 0) {
202
+    gimp_image_set_icc_profile_by_mem (image, iccp_proflen,
203
+				       (gchar *)iccp_profile,
204
+				       ICC_IMAGE_PROFILE);
205
     printf ("%s:%d %s() set embedded profile \"%s\"\n",
206
              __FILE__,__LINE__,__func__,
207
-                                              info->iccp_name);
208
+	    (char *)iccp_name);
209
   }
210
 #endif
211
 
212
@@ -808,6 +826,14 @@
213
                 blue;           /* Used for palette background */
214
   time_t	cutime;         /* Time since epoch */
215
   struct tm	*gmt;		/* GMT broken down */
216
+  png_byte     color_type;
217
+  png_byte     bit_depth;
218
+  int filter_method=0;
219
+  png_colorp palette;
220
+  int num_palette;
221
+  png_charpp iccp_name;
222
+  png_uint_32 height;
223
+  int compression_type;
224
 
225
  /*
226
   * PNG 0.89 and newer have a sane, forwards compatible constructor.
227
@@ -824,7 +850,7 @@
228
   info = (png_infop)calloc(sizeof(png_info), 1);
229
 #endif /* PNG_LIBPNG_VER > 88 */
230
 
231
-  if (setjmp (pp->jmpbuf))
232
+  if (setjmp (png_jmpbuf(pp)))
233
   {
234
     g_message ("%s\nPNG error. Couldn't save image", filename);
235
     return 0;
236
@@ -857,15 +883,6 @@
237
   drawable = gimp_drawable_get (drawable_ID);
238
   type     = gimp_drawable_type (drawable_ID);
239
 
240
- /*
241
-  * Set the image dimensions, bit depth, interlacing and compression
242
-  */
243
-
244
-  png_set_compression_level (pp, pngvals.compression_level);
245
-
246
-  info->width          = drawable->width;
247
-  info->height         = drawable->height;
248
-  info->interlace_type = pngvals.interlaced;
249
 
250
  /*
251
   * Set color type and remember bytes per pixel count 
252
@@ -874,71 +891,69 @@
253
   switch (type)
254
   {
255
     case RGB_IMAGE :
256
-        info->color_type = PNG_COLOR_TYPE_RGB;
257
-	info->bit_depth      = 8;
258
+        color_type = PNG_COLOR_TYPE_RGB;
259
+	bit_depth      = 8;
260
         bpp              = 3;
261
         break;
262
     case RGBA_IMAGE :
263
-        info->color_type = PNG_COLOR_TYPE_RGB_ALPHA;
264
-	info->bit_depth      = 8;
265
+        color_type = PNG_COLOR_TYPE_RGB_ALPHA;
266
+	bit_depth      = 8;
267
         bpp              = 4;
268
         break;
269
     case GRAY_IMAGE :
270
-        info->color_type = PNG_COLOR_TYPE_GRAY;
271
-	info->bit_depth      = 8;
272
+        color_type = PNG_COLOR_TYPE_GRAY;
273
+	bit_depth      = 8;
274
         bpp              = 1;
275
         break;
276
     case GRAYA_IMAGE :
277
-        info->color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
278
-	info->bit_depth      = 8;
279
+        color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
280
+	bit_depth      = 8;
281
         bpp              = 2;
282
         break;
283
     case INDEXED_IMAGE :
284
 	bpp		 = 1;
285
-	info->bit_depth      = 8;
286
-        info->color_type = PNG_COLOR_TYPE_PALETTE;
287
-	info->valid      |= PNG_INFO_PLTE;
288
-        info->palette= (png_colorp) gimp_image_get_cmap(image_ID, &num_colors);
289
-        info->num_palette= num_colors;
290
+	bit_depth      = 8;
291
+        color_type = PNG_COLOR_TYPE_PALETTE;
292
+	png_get_valid(pp, info, PNG_INFO_PLTE);
293
+	png_set_PLTE(pp, info, (png_colorp) gimp_image_get_cmap(image_ID, &num_colors), num_colors);
294
         break;
295
     case INDEXEDA_IMAGE :
296
 	bpp		 = 2;
297
-	info->bit_depth      = 8;
298
-	info->color_type = PNG_COLOR_TYPE_PALETTE;
299
+	bit_depth      = 8;
300
+	color_type = PNG_COLOR_TYPE_PALETTE;
301
 	respin_cmap (pp, info, image_ID); /* fix up transparency */
302
 	break;
303
     case U16_RGB_IMAGE :
304
-        info->color_type = PNG_COLOR_TYPE_RGB;
305
-	info->bit_depth      = 16;
306
+        color_type = PNG_COLOR_TYPE_RGB;
307
+	bit_depth      = 16;
308
         bpp              = 6;
309
         break;
310
     case U16_RGBA_IMAGE :
311
-        info->color_type = PNG_COLOR_TYPE_RGB_ALPHA;
312
-	info->bit_depth      = 16;
313
+        color_type = PNG_COLOR_TYPE_RGB_ALPHA;
314
+	bit_depth      = 16;
315
         bpp              = 8;
316
         break;
317
     case U16_GRAY_IMAGE :
318
-        info->color_type = PNG_COLOR_TYPE_GRAY;
319
-	info->bit_depth      = 16;
320
+        color_type = PNG_COLOR_TYPE_GRAY;
321
+	bit_depth      = 16;
322
         bpp              = 2;
323
         break;
324
     case U16_GRAYA_IMAGE :
325
-        info->color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
326
-	info->bit_depth      = 16;
327
+        color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
328
+	bit_depth      = 16;
329
         bpp              = 4;
330
         break;
331
     case U16_INDEXED_IMAGE :
332
 	bpp		 = 2;
333
-	info->bit_depth      = 16;
334
-        info->color_type = PNG_COLOR_TYPE_PALETTE;
335
-	info->valid      |= PNG_INFO_PLTE;
336
-        info->palette= (png_colorp) gimp_image_get_cmap(image_ID, &num_colors);
337
-        info->num_palette= num_colors;
338
+	bit_depth      = 16;
339
+        color_type = PNG_COLOR_TYPE_PALETTE;
340
+	png_get_valid(pp, info, PNG_INFO_PLTE);
341
+	png_set_PLTE(pp, info, (png_colorp) gimp_image_get_cmap(image_ID, &num_colors), num_colors);
342
         break;
343
     case U16_INDEXEDA_IMAGE :
344
 	bpp		 = 4;
345
-	info->bit_depth      = 16;
346
-	info->color_type = PNG_COLOR_TYPE_PALETTE;
347
+	bit_depth      = 16;
348
+	color_type = PNG_COLOR_TYPE_PALETTE;
349
 	respin_cmap (pp, info, image_ID); /* fix up transparency */
350
 	break;
351
     default:
352
@@ -950,30 +965,36 @@
353
   * Fix bit depths for (possibly) smaller colormap images
354
   */
355
   
356
-  if (info->valid & PNG_INFO_PLTE) {
357
-    if (info->num_palette <= 2)
358
-      info->bit_depth= 1;
359
-    else if (info->num_palette <= 4)
360
-      info->bit_depth= 2;
361
-    else if (info->num_palette <= 16)
362
-      info->bit_depth= 4;
363
+  if (png_get_valid(pp, info, PNG_INFO_PLTE)) {
364
+    png_get_PLTE(pp, info, &palette, &num_palette);
365
+    if (num_palette <= 2)
366
+      bit_depth= 1;
367
+    else if (num_palette <= 4)
368
+      bit_depth= 2;
369
+    else if (num_palette <= 16)
370
+      bit_depth= 4;
371
     /* otherwise the default is fine */
372
   }
373
 
374
+ png_set_compression_level (pp, pngvals.compression_level);
375
+ png_set_IHDR(pp, info, drawable->width, drawable->height,
376
+	      bit_depth, color_type, pngvals.interlaced, compression_type, filter_method);
377
+
378
+
379
   // write icc profile
380
 #if defined(PNG_iCCP_SUPPORTED)
381
   if (gimp_image_has_icc_profile (image_ID, ICC_IMAGE_PROFILE)) {
382
-    int size;
383
+    int  size;
384
     char *buffer;
385
     
386
     buffer = gimp_image_get_icc_profile_by_mem (image_ID, &size,
387
                                                 ICC_IMAGE_PROFILE);
388
     png_set_iCCP (pp, info,
389
            gimp_image_get_icc_profile_description (image_ID, ICC_IMAGE_PROFILE),
390
-                  0, buffer, size);
391
+                  0, (png_const_bytep)buffer, size);
392
     printf ("%s:%d %s() embedd icc profile \"%s\"\n",
393
              __FILE__,__LINE__,__func__,
394
-                                              info->iccp_name);
395
+	    (char *)iccp_name);
396
   }
397
 #endif
398
 
399
@@ -1039,13 +1060,13 @@
400
   * Convert unpacked pixels to packed if necessary
401
   */
402
 
403
-  if (info->color_type == PNG_COLOR_TYPE_PALETTE && info->bit_depth < 8)
404
+  if (color_type == PNG_COLOR_TYPE_PALETTE && bit_depth < 8)
405
     png_set_packing(pp);
406
 
407
   /* Set swapping for 16 bit per sample images */
408
   
409
 #ifndef WORDS_BIGENDIAN
410
-  if (info->bit_depth == 16)
411
+  if (bit_depth == 16)
412
 	  png_set_swap(pp);
413
 #endif
414
   
415
@@ -1063,6 +1084,7 @@
416
 
417
   gimp_pixel_rgn_init(&pixel_rgn, drawable, 0, 0, drawable->width,
418
                       drawable->height, FALSE, FALSE);
419
+  height=png_get_image_height(pp, info);
420
 
421
   for (pass = 0; pass < num_passes; pass ++)
422
   {
423
@@ -1077,7 +1099,7 @@
424
 	num = end - begin;
425
 	
426
 	gimp_pixel_rgn_get_rect (&pixel_rgn, pixel, 0, begin, drawable->width, num);
427
-        if (info->valid & PNG_INFO_tRNS) {
428
+        if (png_get_valid(pp, info, PNG_INFO_tRNS)) {
429
           for (i = 0; i < num; ++i) {
430
 	    fixed= pixels[i];
431
             for (k = 0; k < drawable->width; ++k) {
432
@@ -1085,7 +1107,7 @@
433
             }
434
           }
435
        /* Forgot this case before, what if there are too many colors? */
436
-        } else if (info->valid & PNG_INFO_PLTE && bpp == 2) {
437
+        } else if (png_get_valid(pp, info, PNG_INFO_PLTE) && bpp == 2) {
438
           for (i = 0; i < num; ++i) {
439
 	    fixed= pixels[i];
440
             for (k = 0; k < drawable->width; ++k) {
441
@@ -1095,9 +1117,8 @@
442
         }
443
 	
444
 	png_write_rows (pp, pixels, num);
445
-	
446
 	gimp_progress_update (((double)pass + (double)end /
447
-                    (double)info->height) / (double)num_passes);
448
+                    (double)height) / (double)num_passes);
449
       };
450
   };
451
 
(-)graphics/cinepaint/files/patch-plug-ins__pnm__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/pnm/Makefile.am.orig
2
+++ plug-ins/pnm/Makefile.am
3
@@ -14,8 +14,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__psd__Makefile.am (+11 lines)
Line 0 Link Here
1
--- plug-ins/psd/Makefile.am.orig
2
+++ plug-ins/psd/Makefile.am
3
@@ -15,7 +15,7 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-	-lc
8
+	-lm
9
 
10
 DEPS = \
11
 	$(top_builddir)/lib/libcinepaint.la
(-)graphics/cinepaint/files/patch-plug-ins__psd_save__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/psd_save/Makefile.am.orig
2
+++ plug-ins/psd_save/Makefile.am
3
@@ -14,8 +14,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = \
12
 	$(top_builddir)/lib/libcinepaint.la
(-)graphics/cinepaint/files/patch-plug-ins__rawphoto__Makefile.am (+21 lines)
Line 0 Link Here
1
--- plug-ins/rawphoto/Makefile.am.orig
2
+++ plug-ins/rawphoto/Makefile.am
3
@@ -23,8 +23,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
13
@@ -32,7 +31,7 @@
14
 
15
 dcraw_LDADD = \
16
 	$(LCMS_LIB) \
17
-	-ljpeg -lz -lc -lm
18
+	-ljpeg -lz -lm -lintl
19
 
20
 .PHONY: files
21
 
(-)graphics/cinepaint/files/patch-plug-ins__retinex__Makefile.am (+11 lines)
Line 0 Link Here
1
--- plug-ins/retinex/Makefile.am.orig
2
+++ plug-ins/retinex/Makefile.am
3
@@ -20,7 +20,7 @@
4
 	$(X_LIBS) \
5
         $(top_builddir)/libhalf/cinepaint_half.lo       \
6
         $(OPENEXR_LIBS) \
7
-	-lc
8
+	-lm
9
 
10
 DEPS = $(top_builddir)/lib/libcinepaint.la
11
 
(-)graphics/cinepaint/files/patch-plug-ins__screenshot__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/screenshot/Makefile.am.orig
2
+++ plug-ins/screenshot/Makefile.am
3
@@ -22,8 +22,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__script-fu__Makefile.am (+11 lines)
Line 0 Link Here
1
--- plug-ins/script-fu/Makefile.am.orig
2
+++ plug-ins/script-fu/Makefile.am
3
@@ -59,7 +59,7 @@
4
 	$(top_builddir)/plug-ins/dbbrowser/dbbrowser_utils.o	\
5
 	$(top_builddir)/lib/libcinepaint.la			\
6
 	$(X_LIBS)						\
7
-	-lc
8
+	-lm
9
 
10
 DEPS = \
11
 	$(top_builddir)/plug-ins/dbbrowser/dbbrowser_utils.o	\
(-)graphics/cinepaint/files/patch-plug-ins__sgi__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/sgi/Makefile.am.orig
2
+++ plug-ins/sgi/Makefile.am
3
@@ -14,9 +14,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-					\
9
-	-lc
10
+	$(X_LIBS)
11
 
12
 DEPS = $(top_builddir)/lib/libcinepaint.la
13
 
(-)graphics/cinepaint/files/patch-plug-ins__sharpen__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/sharpen/Makefile.am.orig
2
+++ plug-ins/sharpen/Makefile.am
3
@@ -15,9 +15,7 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-        $(top_builddir)/libhalf/cinepaint_half.lo       \
8
-        $(OPENEXR_LIBS) \
9
-	-lc
10
+        $(OPENEXR_LIBS)
11
 
12
 DEPS = $(top_builddir)/lib/libcinepaint.la
13
 
(-)graphics/cinepaint/files/patch-plug-ins__snoise__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/snoise/Makefile.am.orig
2
+++ plug-ins/snoise/Makefile.am
3
@@ -14,9 +14,8 @@
4
 
5
 LDADD = $(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-        $(top_builddir)/libhalf/cinepaint_half.lo       \
8
         $(OPENEXR_LIBS) \
9
-	-lc
10
+	-lm
11
 
12
 DEPS = \
13
 	$(top_builddir)/lib/libcinepaint.la
(-)graphics/cinepaint/files/patch-plug-ins__sobel__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/sobel/Makefile.am.orig
2
+++ plug-ins/sobel/Makefile.am
3
@@ -15,9 +15,8 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-        $(top_builddir)/libhalf/cinepaint_half.lo       \
8
         $(OPENEXR_LIBS) \
9
-	-lc
10
+	-lm
11
 
12
 DEPS = $(top_builddir)/lib/libcinepaint.la
13
 
(-)graphics/cinepaint/files/patch-plug-ins__spread__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/spread/Makefile.am.orig
2
+++ plug-ins/spread/Makefile.am
3
@@ -15,8 +15,7 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-					\
8
-	-lc
9
+	-lm
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/files/patch-plug-ins__tga__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/tga/Makefile.am.orig
2
+++ plug-ins/tga/Makefile.am
3
@@ -14,9 +14,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-					\
9
-	-lc
10
+	$(X_LIBS)
11
 
12
 DEPS = $(top_builddir)/lib/libcinepaint.la
13
 
(-)graphics/cinepaint/files/patch-plug-ins__tiff__Makefile.am (+13 lines)
Line 0 Link Here
1
--- plug-ins/tiff/Makefile.am.orig
2
+++ plug-ins/tiff/Makefile.am
3
@@ -26,9 +26,8 @@
4
 	$(OYRANOS_LIBS) \
5
 	@LCMS_LIB@                           \
6
 	@LIBTIFF_LIB@				\
7
-        $(top_builddir)/libhalf/cinepaint_half.lo       \
8
         $(OPENEXR_LIBS) \
9
-	-lc
10
+	-lm
11
 
12
 DEPS = $(top_builddir)/lib/libcinepaint.la
13
 
(-)graphics/cinepaint/files/patch-plug-ins__unsharp__Makefile.am (+11 lines)
Line 0 Link Here
1
--- plug-ins/unsharp/Makefile.am.orig
2
+++ plug-ins/unsharp/Makefile.am
3
@@ -15,7 +15,7 @@
4
 LDADD = \
5
 	$(top_builddir)/lib/libcinepaint.la	\
6
 	$(X_LIBS)				\
7
-	-lc
8
+	-lm
9
 
10
 DEPS = $(top_builddir)/lib/libcinepaint.la
11
 
(-)graphics/cinepaint/files/patch-plug-ins__xwd__Makefile.am (+12 lines)
Line 0 Link Here
1
--- plug-ins/xwd/Makefile.am.orig
2
+++ plug-ins/xwd/Makefile.am
3
@@ -18,8 +18,7 @@
4
 
5
 LDADD = \
6
 	$(top_builddir)/lib/libcinepaint.la	\
7
-	$(X_LIBS)				\
8
-	-lc
9
+	$(X_LIBS)
10
 
11
 DEPS = $(top_builddir)/lib/libcinepaint.la
12
 
(-)graphics/cinepaint/pkg-plist (-83 / +135 lines)
Lines 1-6 Link Here
1
bin/cinepaint
1
bin/cinepaint
2
bin/cinepaint-remote
2
bin/cinepaint-remote
3
bin/cinepainttool
3
bin/cinepainttool
4
include/cinepaint/app/errors.h
5
include/cinepaint/app/trace.h
6
include/cinepaint/chainbutton.h
7
include/cinepaint/channelops_pdb.h
8
include/cinepaint/compat.h
9
include/cinepaint/config.h
10
include/cinepaint/convert_pdb.h
11
include/cinepaint/dialog.h
12
include/cinepaint/dll_api.h
13
include/cinepaint/edit_pdb.h
14
include/cinepaint/export.h
15
include/cinepaint/fileops_pdb.h
16
include/cinepaint/fl_i18n_cinepaint.h
17
include/cinepaint/float16.h
18
include/cinepaint/gtkdirtree.h
19
include/cinepaint/guides_pdb.h
20
include/cinepaint/helpui.h
21
include/cinepaint/image_convert.h
22
include/cinepaint/image_limits.h
23
include/cinepaint/image_pdb.h
24
include/cinepaint/intl.h
25
include/cinepaint/libgimp/gimp.h
26
include/cinepaint/libgimp/gimp1.2.h
27
include/cinepaint/libgimp/gimpcompat.h
28
include/cinepaint/libgimp/gimpintl.h
29
include/cinepaint/libgimp/gimpmath.h
30
include/cinepaint/libgimp/gimpui.h
31
include/cinepaint/libgimp/stdplugins-intl.h
32
include/cinepaint/matrix.h
33
include/cinepaint/menu.h
34
include/cinepaint/pdb.h
35
include/cinepaint/pixmap.h
36
include/cinepaint/plugin_main.h
37
include/cinepaint/plugin_pdb.h
38
include/cinepaint/rint.h
39
include/cinepaint/selection_pdb.h
40
include/cinepaint/size_entry.h
41
include/cinepaint/ui.h
42
include/cinepaint/undo_pdb.h
43
include/cinepaint/unit.h
44
include/cinepaint/unit_pdb.h
45
include/cinepaint/unitmenu.h
46
include/cinepaint/version.h
47
include/cinepaint/widgets.h
48
include/cinepaint/wire/c_typedefs.h
49
include/cinepaint/wire/datadir.h
50
include/cinepaint/wire/dl_list.h
51
include/cinepaint/wire/enums.h
52
include/cinepaint/wire/event.h
53
include/cinepaint/wire/iodebug.h
54
include/cinepaint/wire/libtile.h
55
include/cinepaint/wire/precision.h
56
include/cinepaint/wire/protocol.h
57
include/cinepaint/wire/taskswitch.h
58
include/cinepaint/wire/wire.h
59
include/cinepaint/wire/wire_types.h
60
include/cinepaint/wire/wirebuffer.h
61
lib/cinepaint/%%VER%%/extra/dcraw
62
lib/cinepaint/%%VER%%/extra/jhead
63
lib/cinepaint/%%VER%%/plug-ins/blur
64
lib/cinepaint/%%VER%%/plug-ins/bmp
65
lib/cinepaint/%%VER%%/plug-ins/bracketing_to_hdr
66
lib/cinepaint/%%VER%%/plug-ins/cineon
67
lib/cinepaint/%%VER%%/plug-ins/collect
68
lib/cinepaint/%%VER%%/plug-ins/compose
69
lib/cinepaint/%%VER%%/plug-ins/dbbrowser
70
lib/cinepaint/%%VER%%/plug-ins/decompose
71
lib/cinepaint/%%VER%%/plug-ins/dicom
72
lib/cinepaint/%%VER%%/plug-ins/edge
73
lib/cinepaint/%%VER%%/plug-ins/fits
74
lib/cinepaint/%%VER%%/plug-ins/gauss_rle
75
lib/cinepaint/%%VER%%/plug-ins/gbr
76
lib/cinepaint/%%VER%%/plug-ins/gifload
77
lib/cinepaint/%%VER%%/plug-ins/hdr
78
lib/cinepaint/%%VER%%/plug-ins/iff
79
lib/cinepaint/%%VER%%/plug-ins/iol
80
lib/cinepaint/%%VER%%/plug-ins/jpeg
81
lib/cinepaint/%%VER%%/plug-ins/mblur
82
lib/cinepaint/%%VER%%/plug-ins/median
83
lib/cinepaint/%%VER%%/plug-ins/minimum
84
lib/cinepaint/%%VER%%/plug-ins/noisify
85
lib/cinepaint/%%VER%%/plug-ins/openexr
86
lib/cinepaint/%%VER%%/plug-ins/pdf
87
lib/cinepaint/%%VER%%/plug-ins/pic
88
lib/cinepaint/%%VER%%/plug-ins/png
89
lib/cinepaint/%%VER%%/plug-ins/pnm
90
%%PRINT%%lib/cinepaint/%%VER%%/plug-ins/print
91
lib/cinepaint/%%VER%%/plug-ins/psd
92
lib/cinepaint/%%VER%%/plug-ins/psd_save
93
lib/cinepaint/%%VER%%/plug-ins/rawphoto
94
lib/cinepaint/%%VER%%/plug-ins/retinex
95
lib/cinepaint/%%VER%%/plug-ins/rotate
96
lib/cinepaint/%%VER%%/plug-ins/screenshot
97
lib/cinepaint/%%VER%%/plug-ins/script-fu
98
lib/cinepaint/%%VER%%/plug-ins/sgi
99
lib/cinepaint/%%VER%%/plug-ins/sharpen
100
lib/cinepaint/%%VER%%/plug-ins/snoise
101
lib/cinepaint/%%VER%%/plug-ins/sobel
102
lib/cinepaint/%%VER%%/plug-ins/spread
103
lib/cinepaint/%%VER%%/plug-ins/tga
104
lib/cinepaint/%%VER%%/plug-ins/tiff
105
lib/cinepaint/%%VER%%/plug-ins/unsharp
106
lib/cinepaint/%%VER%%/plug-ins/xwd
107
lib/libcinepaint.a
108
lib/libcinepaint.la
109
lib/libcinepaint.so
110
lib/libcinepaint.so.1
111
lib/libcinepaintHalf.a
112
lib/libcinepaintHalf.la
113
lib/libcinepaintHalf.so
114
lib/libcinepaintHalf.so.1
115
lib/libcinepaint_fl_i18n.a
116
lib/libcinepaint_fl_i18n.la
117
lib/libcinepaint_fl_i18n.so
118
lib/libcinepaint_fl_i18n.so.1
119
libdata/pkgconfig/cinepaint-gtk.pc
120
share/aclocal/cinepaint.m4
121
share/applications/cinepaint.desktop
4
%%DATADIR%%/%%VER%%/brushes/10x10squareBlurf16.gbr
122
%%DATADIR%%/%%VER%%/brushes/10x10squareBlurf16.gbr
5
%%DATADIR%%/%%VER%%/brushes/10x10squaref16.gbr
123
%%DATADIR%%/%%VER%%/brushes/10x10squaref16.gbr
6
%%DATADIR%%/%%VER%%/brushes/11circlef16.gbr
124
%%DATADIR%%/%%VER%%/brushes/11circlef16.gbr
Lines 16-22 Link Here
16
%%DATADIR%%/%%VER%%/brushes/1circlef16.gbr
134
%%DATADIR%%/%%VER%%/brushes/1circlef16.gbr
17
%%DATADIR%%/%%VER%%/brushes/20x20squareBlurf16.gbr
135
%%DATADIR%%/%%VER%%/brushes/20x20squareBlurf16.gbr
18
%%DATADIR%%/%%VER%%/brushes/20x20squaref16.gbr
136
%%DATADIR%%/%%VER%%/brushes/20x20squaref16.gbr
19
%%DATADIR%%/%%VER%%/brushes/30x30twinklef16.gbr
20
%%DATADIR%%/%%VER%%/brushes/3circlef16.gbr
137
%%DATADIR%%/%%VER%%/brushes/3circlef16.gbr
21
%%DATADIR%%/%%VER%%/brushes/3fcirclef16.gbr
138
%%DATADIR%%/%%VER%%/brushes/3fcirclef16.gbr
22
%%DATADIR%%/%%VER%%/brushes/5circlef16.gbr
139
%%DATADIR%%/%%VER%%/brushes/5circlef16.gbr
Lines 108-113 Link Here
108
%%DATADIR%%/%%VER%%/brushes/hsparks.gih
225
%%DATADIR%%/%%VER%%/brushes/hsparks.gih
109
%%DATADIR%%/%%VER%%/brushes/pixelf16.gbr
226
%%DATADIR%%/%%VER%%/brushes/pixelf16.gbr
110
%%DATADIR%%/%%VER%%/brushes/vine.gih
227
%%DATADIR%%/%%VER%%/brushes/vine.gih
228
%%DATADIR%%/%%VER%%/cinepaintrc
229
%%DATADIR%%/%%VER%%/cinepaintrc_user
111
%%DATADIR%%/%%VER%%/curves/D100ev0
230
%%DATADIR%%/%%VER%%/curves/D100ev0
112
%%DATADIR%%/%%VER%%/curves/DavidFmidtoneBoostA
231
%%DATADIR%%/%%VER%%/curves/DavidFmidtoneBoostA
113
%%DATADIR%%/%%VER%%/curves/EV3-4.0
232
%%DATADIR%%/%%VER%%/curves/EV3-4.0
Lines 220-227 Link Here
220
%%DATADIR%%/%%VER%%/curves/v3
339
%%DATADIR%%/%%VER%%/curves/v3
221
%%DATADIR%%/%%VER%%/curves/v3h
340
%%DATADIR%%/%%VER%%/curves/v3h
222
%%DATADIR%%/%%VER%%/curves/v3hb
341
%%DATADIR%%/%%VER%%/curves/v3hb
223
%%DATADIR%%/%%VER%%/gimprc
224
%%DATADIR%%/%%VER%%/gimprc_user
225
%%DATADIR%%/%%VER%%/gradients/Abstract_1
342
%%DATADIR%%/%%VER%%/gradients/Abstract_1
226
%%DATADIR%%/%%VER%%/gradients/Abstract_2
343
%%DATADIR%%/%%VER%%/gradients/Abstract_2
227
%%DATADIR%%/%%VER%%/gradients/Abstract_3
344
%%DATADIR%%/%%VER%%/gradients/Abstract_3
Lines 413-482 Link Here
413
%%DATADIR%%/%%VER%%/spot.splash.ppm
530
%%DATADIR%%/%%VER%%/spot.splash.ppm
414
%%DATADIR%%/%%VER%%/tips.txt
531
%%DATADIR%%/%%VER%%/tips.txt
415
%%DATADIR%%/%%VER%%/user_install
532
%%DATADIR%%/%%VER%%/user_install
416
%%OPENEXR:%%lib/cinepaint/%%VER%%/plug-ins/openexr
417
include/cinepaint/app/errors.h
418
include/cinepaint/app/trace.h
419
lib/cinepaint/%%VER%%/extra/dcraw
420
lib/cinepaint/%%VER%%/extra/jhead
421
lib/cinepaint/%%VER%%/plug-ins/blur
422
lib/cinepaint/%%VER%%/plug-ins/bmp
423
lib/cinepaint/%%VER%%/plug-ins/bracketing_to_hdr
424
lib/cinepaint/%%VER%%/plug-ins/cineon
425
lib/cinepaint/%%VER%%/plug-ins/collect
426
lib/cinepaint/%%VER%%/plug-ins/compose
427
lib/cinepaint/%%VER%%/plug-ins/dbbrowser
428
lib/cinepaint/%%VER%%/plug-ins/decompose
429
lib/cinepaint/%%VER%%/plug-ins/dicom
430
lib/cinepaint/%%VER%%/plug-ins/edge
431
lib/cinepaint/%%VER%%/plug-ins/fits
432
lib/cinepaint/%%VER%%/plug-ins/gauss_rle
433
lib/cinepaint/%%VER%%/plug-ins/gbr
434
lib/cinepaint/%%VER%%/plug-ins/gifload
435
lib/cinepaint/%%VER%%/plug-ins/hdr
436
lib/cinepaint/%%VER%%/plug-ins/icc_examin_cp
437
lib/cinepaint/%%VER%%/plug-ins/iff
438
lib/cinepaint/%%VER%%/plug-ins/iol
439
lib/cinepaint/%%VER%%/plug-ins/jpeg
440
lib/cinepaint/%%VER%%/plug-ins/mblur
441
lib/cinepaint/%%VER%%/plug-ins/median
442
lib/cinepaint/%%VER%%/plug-ins/minimum
443
lib/cinepaint/%%VER%%/plug-ins/noisify
444
lib/cinepaint/%%VER%%/plug-ins/pdf
445
lib/cinepaint/%%VER%%/plug-ins/pic
446
lib/cinepaint/%%VER%%/plug-ins/png
447
lib/cinepaint/%%VER%%/plug-ins/pnm
448
lib/cinepaint/%%VER%%/plug-ins/psd
449
lib/cinepaint/%%VER%%/plug-ins/psd_save
450
lib/cinepaint/%%VER%%/plug-ins/rawphoto
451
lib/cinepaint/%%VER%%/plug-ins/retinex
452
lib/cinepaint/%%VER%%/plug-ins/rotate
453
lib/cinepaint/%%VER%%/plug-ins/screenshot
454
lib/cinepaint/%%VER%%/plug-ins/script-fu
455
lib/cinepaint/%%VER%%/plug-ins/sgi
456
lib/cinepaint/%%VER%%/plug-ins/sharpen
457
lib/cinepaint/%%VER%%/plug-ins/snoise
458
lib/cinepaint/%%VER%%/plug-ins/sobel
459
lib/cinepaint/%%VER%%/plug-ins/spread
460
lib/cinepaint/%%VER%%/plug-ins/tga
461
lib/cinepaint/%%VER%%/plug-ins/tiff
462
lib/cinepaint/%%VER%%/plug-ins/unsharp
463
lib/cinepaint/%%VER%%/plug-ins/xwd
464
lib/libcinepaint.a
465
lib/libcinepaint.la
466
lib/libcinepaint.so
467
lib/libcinepaint.so.0
468
lib/libcinepaintHalf.a
469
lib/libcinepaintHalf.la
470
lib/libcinepaintHalf.so
471
lib/libcinepaintHalf.so.0
472
lib/libcinepaint_fl_i18n.a
473
lib/libcinepaint_fl_i18n.la
474
lib/libcinepaint_fl_i18n.so
475
lib/libcinepaint_fl_i18n.so.0
476
libdata/pkgconfig/cinepaint-gtk.pc
477
share/aclocal/cinepaint.m4
478
share/applications/cinepaint.desktop
479
share/fonts/FreeSans.ttf
480
share/locale/ca/LC_MESSAGES/cinepaint-script-fu.mo
533
share/locale/ca/LC_MESSAGES/cinepaint-script-fu.mo
481
share/locale/ca/LC_MESSAGES/cinepaint-std-plugins.mo
534
share/locale/ca/LC_MESSAGES/cinepaint-std-plugins.mo
482
share/locale/ca/LC_MESSAGES/cinepaint.mo
535
share/locale/ca/LC_MESSAGES/cinepaint.mo
Lines 489-512 Link Here
489
share/locale/de/LC_MESSAGES/cinepaint-script-fu.mo
542
share/locale/de/LC_MESSAGES/cinepaint-script-fu.mo
490
share/locale/de/LC_MESSAGES/cinepaint-std-plugins.mo
543
share/locale/de/LC_MESSAGES/cinepaint-std-plugins.mo
491
share/locale/de/LC_MESSAGES/cinepaint.mo
544
share/locale/de/LC_MESSAGES/cinepaint.mo
492
share/locale/de/LC_MESSAGES/icc_examin_cp.mo
493
share/locale/el/LC_MESSAGES/cinepaint-script-fu.mo
545
share/locale/el/LC_MESSAGES/cinepaint-script-fu.mo
494
share/locale/el/LC_MESSAGES/cinepaint-std-plugins.mo
546
share/locale/el/LC_MESSAGES/cinepaint-std-plugins.mo
495
share/locale/el/LC_MESSAGES/cinepaint.mo
547
share/locale/el/LC_MESSAGES/cinepaint.mo
496
share/locale/en_GB/LC_MESSAGES/cinepaint-script-fu.mo
548
share/locale/en_GB/LC_MESSAGES/cinepaint-script-fu.mo
497
share/locale/en_GB/LC_MESSAGES/cinepaint-std-plugins.mo
549
share/locale/en_GB/LC_MESSAGES/cinepaint-std-plugins.mo
498
share/locale/en_GB/LC_MESSAGES/cinepaint.mo
550
share/locale/en_GB/LC_MESSAGES/cinepaint.mo
499
share/locale/eo/LC_MESSAGES/icc_examin_cp.mo
500
share/locale/es/LC_MESSAGES/cinepaint-script-fu.mo
551
share/locale/es/LC_MESSAGES/cinepaint-script-fu.mo
501
share/locale/es/LC_MESSAGES/cinepaint-std-plugins.mo
552
share/locale/es/LC_MESSAGES/cinepaint-std-plugins.mo
502
share/locale/es/LC_MESSAGES/cinepaint.mo
553
share/locale/es/LC_MESSAGES/cinepaint.mo
554
share/locale/eu/LC_MESSAGES/cinepaint-script-fu.mo
555
share/locale/eu/LC_MESSAGES/cinepaint-std-plugins.mo
556
share/locale/eu/LC_MESSAGES/cinepaint.mo
503
share/locale/fi/LC_MESSAGES/cinepaint-script-fu.mo
557
share/locale/fi/LC_MESSAGES/cinepaint-script-fu.mo
504
share/locale/fi/LC_MESSAGES/cinepaint-std-plugins.mo
558
share/locale/fi/LC_MESSAGES/cinepaint-std-plugins.mo
505
share/locale/fi/LC_MESSAGES/cinepaint.mo
559
share/locale/fi/LC_MESSAGES/cinepaint.mo
506
share/locale/fr/LC_MESSAGES/cinepaint-script-fu.mo
560
share/locale/fr/LC_MESSAGES/cinepaint-script-fu.mo
507
share/locale/fr/LC_MESSAGES/cinepaint-std-plugins.mo
561
share/locale/fr/LC_MESSAGES/cinepaint-std-plugins.mo
508
share/locale/fr/LC_MESSAGES/cinepaint.mo
562
share/locale/fr/LC_MESSAGES/cinepaint.mo
509
share/locale/fr/LC_MESSAGES/icc_examin_cp.mo
510
share/locale/ga/LC_MESSAGES/cinepaint-script-fu.mo
563
share/locale/ga/LC_MESSAGES/cinepaint-script-fu.mo
511
share/locale/ga/LC_MESSAGES/cinepaint-std-plugins.mo
564
share/locale/ga/LC_MESSAGES/cinepaint-std-plugins.mo
512
share/locale/ga/LC_MESSAGES/cinepaint.mo
565
share/locale/ga/LC_MESSAGES/cinepaint.mo
Lines 577-598 Link Here
577
share/locale/zh_TW/LC_MESSAGES/cinepaint-std-plugins.mo
630
share/locale/zh_TW/LC_MESSAGES/cinepaint-std-plugins.mo
578
share/locale/zh_TW/LC_MESSAGES/cinepaint.mo
631
share/locale/zh_TW/LC_MESSAGES/cinepaint.mo
579
share/pixmaps/cinepaint.png
632
share/pixmaps/cinepaint.png
580
@dirrm %%DATADIR%%/%%VER%%/brushes
581
@dirrm %%DATADIR%%/%%VER%%/curves
582
@dirrm %%DATADIR%%/%%VER%%/gradients
583
@dirrm %%DATADIR%%/%%VER%%/iol
584
@dirrm %%DATADIR%%/%%VER%%/palettes
585
@dirrm %%DATADIR%%/%%VER%%/patterns
586
@dirrm %%DATADIR%%/%%VER%%/scripts
633
@dirrm %%DATADIR%%/%%VER%%/scripts
634
@dirrm %%DATADIR%%/%%VER%%/patterns
635
@dirrm %%DATADIR%%/%%VER%%/palettes
636
@dirrm %%DATADIR%%/%%VER%%/iol
637
@dirrm %%DATADIR%%/%%VER%%/gradients
638
@dirrm %%DATADIR%%/%%VER%%/curves
639
@dirrm %%DATADIR%%/%%VER%%/brushes
587
@dirrm %%DATADIR%%/%%VER%%
640
@dirrm %%DATADIR%%/%%VER%%
588
@dirrm %%DATADIR%%
641
@dirrm %%DATADIR%%
589
@dirrm include/cinepaint/app
642
@dirrmtry share/applications
590
@dirrm include/cinepaint/libgimp
591
@dirrm include/cinepaint/wire
592
@dirrm lib/cinepaint/%%VER%%/extra
593
@dirrm lib/cinepaint/%%VER%%/plug-ins
643
@dirrm lib/cinepaint/%%VER%%/plug-ins
644
@dirrm lib/cinepaint/%%VER%%/extra
594
@dirrm lib/cinepaint/%%VER%%
645
@dirrm lib/cinepaint/%%VER%%
595
@dirrm include/cinepaint
596
@dirrm lib/cinepaint
646
@dirrm lib/cinepaint
597
@dirrmtry share/applications
647
@dirrm include/cinepaint/wire
598
@dirrmtry share/fonts
648
@dirrm include/cinepaint/libgimp
649
@dirrm include/cinepaint/app
650
@dirrm include/cinepaint

Return to bug 178595