Gentoo Archives: gentoo-commits

From: "Denis Dupeyron (calchan)" <calchan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/gimp-greycstoration: ChangeLog gimp-greycstoration-2.8.ebuild
Date: Sun, 30 Mar 2008 17:45:52
Message-Id: E1Jg1bI-0006lo-J8@stork.gentoo.org
1 calchan 08/03/30 17:45:48
2
3 Modified: ChangeLog
4 Added: gimp-greycstoration-2.8.ebuild
5 Log:
6 Version bump. Added smp support.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.2 media-plugins/gimp-greycstoration/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gimp-greycstoration/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gimp-greycstoration/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gimp-greycstoration/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/gimp-greycstoration/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 25 Feb 2008 10:08:46 -0000 1.1
23 +++ ChangeLog 30 Mar 2008 17:45:48 -0000 1.2
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-plugins/gimp-greycstoration
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-greycstoration/ChangeLog,v 1.1 2008/02/25 10:08:46 calchan Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-greycstoration/ChangeLog,v 1.2 2008/03/30 17:45:48 calchan Exp $
29 +
30 +*gimp-greycstoration-2.8 (30 Mar 2008)
31 +
32 + 30 Mar 2008; Denis Dupeyron <calchan@g.o>
33 + +gimp-greycstoration-2.8.ebuild:
34 + Version bump. Added smp support.
35
36 *gimp-greycstoration-1.2.7 (25 Feb 2008)
37
38
39
40
41 1.1 media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gimp-greycstoration-2.8.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild,v 1.1 2008/03/30 17:45:48 calchan Exp $
51
52 inherit toolchain-funcs
53
54 DESCRIPTION="GIMP plug-in for denoising through image regularization"
55 HOMEPAGE="http://www.greyc.ensicaen.fr/~dtschump/greycstoration/"
56 SRC_URI="mirror://sourceforge/cimg/GREYCstoration-${PV}.zip"
57 LICENSE="CeCILL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~x86"
60 IUSE="smp"
61 DEPEND=">=media-gfx/gimp-2.2"
62 S="${WORKDIR}/GREYCstoration-${PV}/src"
63
64 src_unpack() {
65 unpack ${A}
66 sed -i -e "s:plugins/../CImg.h:CImg.h:" "${S}"/greycstoration4gimp.cpp || die "sed failed"
67 if use smp ; then
68 sed -i -e "s:^#define NTHREADS 1:#define NTHREADS 4:" "${S}"/greycstoration4gimp.cpp || die "sed failed"
69 fi
70 }
71
72 src_compile() {
73 $(tc-getCXX) -o greycstoration greycstoration4gimp.cpp \
74 $(gimptool-2.0 --cflags) $(gimptool-2.0 --libs) \
75 -lpthread ${CXXFLAGS} ${LDFLAGS} \
76 || die "Compilation failed"
77 }
78
79 src_install() {
80 exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
81 doexe greycstoration || die "Installation failed"
82 }
83
84 pkg_postinst() {
85 elog "The GREYCstoration plugin is accessible from the menu :"
86 elog "Filters -> Enhance -> GREYCstoration"
87 }
88
89
90
91 --
92 gentoo-commits@l.g.o mailing list