Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/xmw:master commit in: media-gfx/cinepaint/files/, media-gfx/cinepaint/
Date: Sun, 05 Feb 2012 16:45:47
Message-Id: 16e0ae2189234fe99264bd1ac3ff4a556d9ac727.xmw@gentoo
1 commit: 16e0ae2189234fe99264bd1ac3ff4a556d9ac727
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 5 16:45:22 2012 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 5 16:45:22 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=16e0ae21
7
8 media-gfx/cinepaint: Going public with this.
9
10 (Portage version: 2.1.10.44/git/Linux x86_64, signed Manifest commit with key 62EEF090)
11
12 ---
13 media-gfx/cinepaint/ChangeLog | 10 ++
14 media-gfx/cinepaint/Manifest | 16 +++
15 .../cinepaint/cinepaint-0.25.0_pre20090116.ebuild | 99 ++++++++++++++++++++
16 media-gfx/cinepaint/files/implicitdecls.patch | 30 ++++++
17 media-gfx/cinepaint/metadata.xml | 12 +++
18 5 files changed, 167 insertions(+), 0 deletions(-)
19
20 diff --git a/media-gfx/cinepaint/ChangeLog b/media-gfx/cinepaint/ChangeLog
21 new file mode 100644
22 index 0000000..5f559b5
23 --- /dev/null
24 +++ b/media-gfx/cinepaint/ChangeLog
25 @@ -0,0 +1,10 @@
26 +# ChangeLog for media-gfx/cinepaint
27 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: $
29 +
30 +*cinepaint-0.25.0_pre20090116 (05 Feb 2012)
31 +
32 + 05 Feb 2012; Michael Weber <xmw@g.o>
33 + +cinepaint-0.25.0_pre20090116.ebuild, +files/implicitdecls.patch:
34 + Going public with this.
35 +
36
37 diff --git a/media-gfx/cinepaint/Manifest b/media-gfx/cinepaint/Manifest
38 new file mode 100644
39 index 0000000..a977e81
40 --- /dev/null
41 +++ b/media-gfx/cinepaint/Manifest
42 @@ -0,0 +1,16 @@
43 +-----BEGIN PGP SIGNED MESSAGE-----
44 +Hash: SHA256
45 +
46 +AUX implicitdecls.patch 718 RMD160 aca4fce03f1d2f8c9027d6b743d79dce7686843b SHA1 17dad02ca64f6e35f1ccfe2f9e7bd603b2038d48 SHA256 1314b5a66318827fcddc4484f5789bc1a17d54155b8871e48cb0a15504c53ba6
47 +DIST cinepaint-0.25.0_pre20090116-patches.tar.bz2 10598 RMD160 4daaeca68d86df8fe11579a6aba05cb7f705474a SHA1 631f77c2745d242e12a68cdcbf7c419e4f82c0b6 SHA256 a0cfdd50dfbc47a13fccf2b940704104c98b868168d2ea629ede290b536a9a92
48 +DIST cinepaint-0.25.0_pre20090116.tar.bz2 9401379 RMD160 2353416feae24205a99fac3a46e937e01d357518 SHA1 d465445fddc888af3b93c8b081e72c09c3eac4f4 SHA256 541286fbdd99740b4ebc260a8e5a74d6cddebe36bc131079cd7b28762fd12e29
49 +EBUILD cinepaint-0.25.0_pre20090116.ebuild 2460 RMD160 8a02ac78f58fc6d860b2a7e560cc36f800b00137 SHA1 755f21fb3c071a59dceabcb73e5bacbd1c8cc1f5 SHA256 737c63f9e7b452859f3e2378524f8c8dc15746879c0f4dd3b294767cba41e30a
50 +MISC ChangeLog 306 RMD160 1f5ba3d8224d5ed58c1616e58c4f2b95404be14a SHA1 4ed6f99ffc44b060357d005cb6737deb88b843e2 SHA256 3ecbf7903d7d3a1d19e96b22d627e9d0b468352b54a2af002ee2ff731ce04c5e
51 +MISC metadata.xml 312 RMD160 ecf2480880b813ac332445dd4b04876eb2cc0046 SHA1 89ae1c7167439a574f9e4dd56421ad8cf471319c SHA256 6d56baaf6e8705811ef5146babc368d09f54977a29dd65f6e18362278781cbb6
52 +-----BEGIN PGP SIGNATURE-----
53 +Version: GnuPG v2.0.17 (GNU/Linux)
54 +
55 +iF4EAREIAAYFAk8usiIACgkQknrdDGLu8JASnQD+PASCfEIP75ONsavPC9UBwv6b
56 +qI4CYuyqGYVzxRYdKbwA/ixSaw8/57Dp4favrzT/KkEvXAHr5wRKtKrbYX7j+uXP
57 +=erMy
58 +-----END PGP SIGNATURE-----
59
60 diff --git a/media-gfx/cinepaint/cinepaint-0.25.0_pre20090116.ebuild b/media-gfx/cinepaint/cinepaint-0.25.0_pre20090116.ebuild
61 new file mode 100644
62 index 0000000..6718b6e
63 --- /dev/null
64 +++ b/media-gfx/cinepaint/cinepaint-0.25.0_pre20090116.ebuild
65 @@ -0,0 +1,99 @@
66 +# Copyright 1999-2012 Gentoo Foundation
67 +# Distributed under the terms of the GNU General Public License v2
68 +# $Header: $
69 +
70 +EAPI=2
71 +
72 +inherit autotools eutils
73 +
74 +DESCRIPTION="Motion and still picture editing tool used for painting and retouching of movies"
75 +HOMEPAGE="http://www.cinepaint.org/"
76 +SRC_URI="http://xmw.de/mirror/${PN}/${P}.tar.bz2
77 + http://xmw.de/mirror/${PN}/${P}-patches.tar.bz2"
78 +
79 +LICENSE="GPL-2"
80 +SLOT="0"
81 +KEYWORDS="~amd64 ~x86"
82 +IUSE="print"
83 +
84 +# app-admin/elektra media-libs/oyranos
85 +RDEPEND="
86 + x11-libs/fltk:1[opengl]
87 + x11-libs/gtk+:2
88 + dev-libs/glib
89 + x11-libs/pango
90 + media-libs/ftgl
91 + dev-libs/libxml2
92 + media-libs/ilmbase
93 + media-libs/jbigkit
94 + media-libs/jpeg
95 + media-libs/lcms
96 + media-libs/libpng
97 + media-libs/openexr
98 + media-libs/tiff
99 + sys-devel/libtool
100 + virtual/opengl
101 + x11-libs/cairo
102 + x11-libs/libICE
103 + x11-libs/libSM
104 + x11-libs/libX11
105 + x11-libs/libXau
106 + x11-libs/libXdmcp
107 + x11-libs/libXext
108 + x11-libs/libXinerama
109 + x11-libs/libXext
110 + x11-libs/libXmu
111 + x11-libs/libXpm
112 + x11-libs/libXrender
113 + x11-libs/libXt
114 + x11-libs/libXxf86vm
115 + x11-libs/libxcb
116 + x11-libs/pixman
117 + x11-libs/xcb-util
118 + print? ( net-print/gutenprint )"
119 +DEPEND="${RDEPEND}
120 + dev-util/pkgconfig
121 + dev-util/intltool
122 + sys-devel/flex
123 + sys-devel/gettext"
124 +
125 +src_prepare() {
126 + epatch \
127 + "${WORKDIR}"/patches/implicitdecls.patch \
128 + "${FILESDIR}"/implicitdecls.patch \
129 + "${WORKDIR}"/patches/fix_gimp_layer_set_name_constness.patch \
130 + "${WORKDIR}"/patches/icc_examin.patch \
131 + "${WORKDIR}"/patches/make_install.patch \
132 + "${WORKDIR}"/patches/terminate_on_sigpipe.patch \
133 + "${WORKDIR}"/patches/window_icon.patch \
134 + "${WORKDIR}"/patches/python.patch
135 + einfo remove bundled icc_examin
136 + rm -r plug-ins/icc_examin || die
137 + sed -e '/AC_CONFIG_SUBDIRS(plug-ins\/icc_examin\/icc_examin)/d' \
138 + -e '/ICC_EXAMIN=/s:icc_examin::' \
139 + -e '/AC_MSG_RESULT(\[yes "$ICC_EXAMIN"\])/s:yes:no:' \
140 + -e '/^plug-ins\/icc_examin\/Makefile$/d' \
141 + -i configure.in || die
142 +
143 + # plug-ins/icc_examin/icc_examin has no configure.{in,ac}
144 + #AT_M4DIR=aclocal AT_NO_RECURSIVE=1 eautoreconf
145 + AT_M4DIR=aclocal eautoreconf
146 +}
147 +
148 +src_configure() {
149 + econf \
150 + --disable-gtktest \
151 + --disable-gtk1 \
152 + $(use_enable gutenprint print)
153 +
154 + # remove a Wl, w/o argument from FLTK_LIBS
155 + #sed -i "s: -Wl, : :" plug-ins/icc_examin/icc_examin/Makefile || die
156 +
157 + # respect LINGUAS
158 + #sed -i -e '/^LINGUAS = /d' plug-ins/icc_examin/icc_examin/Makefile || die
159 +}
160 +
161 +src_install() {
162 + emake DESTDIR="${D}" install || die
163 + dodoc AUTHORS BUGS NEWS README TODO tips.txt || die
164 +}
165
166 diff --git a/media-gfx/cinepaint/files/implicitdecls.patch b/media-gfx/cinepaint/files/implicitdecls.patch
167 new file mode 100644
168 index 0000000..53b3348
169 --- /dev/null
170 +++ b/media-gfx/cinepaint/files/implicitdecls.patch
171 @@ -0,0 +1,30 @@
172 +--- cinepaint/app/app_procs.c
173 ++++ cinepaint/app/app_procs.c
174 +@@ -23,6 +23,7 @@
175 + #include "../lib/version.h"
176 + #include "../lib/wire/datadir.h"
177 + #include "libgimp/gimpintl.h"
178 ++#include "store_frame_manager.h"
179 +
180 + #ifdef WIN32
181 +
182 +--- cinepaint/app/gdisplay.c
183 ++++ cinepaint/app/gdisplay.c
184 +@@ -48,6 +48,7 @@
185 + #include "tools.h"
186 + #include "undo.h"
187 + #include "base_frame_manager.h"
188 ++#include "store_frame_manager.h"
189 +
190 + #include "layer_pvt.h" /* ick. */
191 +
192 +--- cinepaint/app/look_profile.c
193 ++++ cinepaint/app/look_profile.c
194 +@@ -4,6 +4,7 @@
195 + #include "../lib/version.h"
196 + #include "actionarea.h"
197 + #include "base_frame_manager.h"
198 ++#include "store_frame_manager.h"
199 + #include "cms.h"
200 + #include "drawable.h"
201 + #include "floating_sel.h"
202
203 diff --git a/media-gfx/cinepaint/metadata.xml b/media-gfx/cinepaint/metadata.xml
204 new file mode 100644
205 index 0000000..e083859
206 --- /dev/null
207 +++ b/media-gfx/cinepaint/metadata.xml
208 @@ -0,0 +1,12 @@
209 +<?xml version="1.0" encoding="UTF-8"?>
210 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
211 +<pkgmetadata>
212 +<maintainer>
213 +<email>xmw@g.o</email>
214 +<name>Michael Weber</name>
215 +</maintainer>
216 +<use>
217 + <flag name='print'>Enable print support using net-print/gutenprint</flag>
218 +</use>
219 +</pkgmetadata>
220 +