Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/nip2: ChangeLog nip2-7.20.7.ebuild
Date: Tue, 22 Dec 2009 11:11:08
Message-Id: E1NN2dt-0004FQ-Gv@stork.gentoo.org
1 pva 09/12/22 11:11:05
2
3 Modified: ChangeLog
4 Added: nip2-7.20.7.ebuild
5 Log:
6 Version bump. Thank upstream (John) for helping us to fix test failures.
7 (Portage version: 2.1.7.15/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.18 media-gfx/nip2/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/nip2/ChangeLog?rev=1.18&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/nip2/ChangeLog?rev=1.18&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/nip2/ChangeLog?r1=1.17&r2=1.18
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v
19 retrieving revision 1.17
20 retrieving revision 1.18
21 diff -u -r1.17 -r1.18
22 --- ChangeLog 29 Sep 2009 11:50:06 -0000 1.17
23 +++ ChangeLog 22 Dec 2009 11:11:05 -0000 1.18
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-gfx/nip2
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.17 2009/09/29 11:50:06 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.18 2009/12/22 11:11:05 pva Exp $
29 +
30 +*nip2-7.20.7 (22 Dec 2009)
31 +
32 + 22 Dec 2009; Peter Volkov <pva@g.o> +nip2-7.20.7.ebuild:
33 + Version bump. Thank upstream (John) for helping us to fix test failures.
34
35 29 Sep 2009; Markus Meier <maekke@g.o> nip2-7.18.2.ebuild:
36 amd64/x86 stable, bug #286512
37
38
39
40 1.1 media-gfx/nip2/nip2-7.20.7.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/nip2/nip2-7.20.7.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/nip2/nip2-7.20.7.ebuild?rev=1.1&content-type=text/plain
44
45 Index: nip2-7.20.7.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/nip2-7.20.7.ebuild,v 1.1 2009/12/22 11:11:05 pva Exp $
50
51 EAPI="2"
52 inherit eutils autotools fdo-mime versionator
53
54 # TODO: goffice we need 0.7 which is not in portage ATM
55
56 MY_MAJ_VER=$(get_version_component_range 1-2)
57 DESCRIPTION="VIPS Image Processing Graphical User Interface"
58 SRC_URI="http://www.vips.ecs.soton.ac.uk/supported/${MY_MAJ_VER}/${P}.tar.gz"
59 HOMEPAGE="http://vips.sourceforge.net"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="fftw gsl test"
65
66 RDEPEND="
67 >=dev-libs/glib-2.14:2
68 dev-libs/libxml2
69 x11-misc/xdg-utils
70 >=media-libs/vips-${MY_MAJ_VER}
71 >=x11-libs/gtk+-2.18:2
72 gsl? ( sci-libs/gsl )
73 fftw? ( sci-libs/fftw:3.0 )"
74 DEPEND="${RDEPEND}
75 =sys-devel/bison-2.3*
76 sys-devel/flex
77 test? ( media-libs/vips[lcms] )"
78
79 src_prepare() {
80 epatch "${FILESDIR}/${PN}-7.16.4-fftw3-build.patch"
81 eautoreconf
82 }
83
84 src_configure() {
85 econf \
86 --disable-update-desktop \
87 $(use_with gsl) \
88 $(use_with fftw fftw3)
89 }
90
91 src_test() {
92 if ! use gsl; then
93 ewarn "Some tests require USE=gsl. Disabling test_math.ws tests."
94 rm test/workspaces/test_math.ws
95 fi
96 make check || die
97 }
98
99 src_install() {
100 make DESTDIR="${D}" install || die "install failed"
101 dodoc AUTHORS ChangeLog NEWS README* || die
102 # icon for .desktop
103 insinto /usr/share/icons/hicolor/128x128/apps
104 newins share/nip2/data/vips-128.png nip2.png || die
105 }
106
107 pkg_postinst() {
108 fdo-mime_desktop_database_update
109 fdo-mime_mime_database_update
110 }
111
112 pkg_postrm() {
113 fdo-mime_desktop_database_update
114 fdo-mime_mime_database_update
115 }