Gentoo Archives: gentoo-commits

From: "Leonardo Boshell (leonardop)" <leonardop@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/tuxpaint: ChangeLog tuxpaint-0.9.17-r1.ebuild
Date: Tue, 11 Sep 2007 20:37:46
Message-Id: E1IVCNZ-0002kt-Oh@stork.gentoo.org
1 leonardop 07/09/11 20:30:37
2
3 Modified: ChangeLog
4 Added: tuxpaint-0.9.17-r1.ebuild
5 Log:
6 Added patch to fix printing issue (bug #191987)
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.36 media-gfx/tuxpaint/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tuxpaint/ChangeLog?rev=1.36&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tuxpaint/ChangeLog?rev=1.36&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tuxpaint/ChangeLog?r1=1.35&r2=1.36
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v
19 retrieving revision 1.35
20 retrieving revision 1.36
21 diff -u -r1.35 -r1.36
22 --- ChangeLog 16 Aug 2007 03:48:00 -0000 1.35
23 +++ ChangeLog 11 Sep 2007 20:30:37 -0000 1.36
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-gfx/tuxpaint
26 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.35 2007/08/16 03:48:00 leonardop Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.36 2007/09/11 20:30:37 leonardop Exp $
29 +
30 +*tuxpaint-0.9.17-r1 (11 Sep 2007)
31 +
32 + 11 Sep 2007; Leonardo Boshell <leonardop@g.o>
33 + +files/tuxpaint-0.9.17-printing.patch, +tuxpaint-0.9.17-r1.ebuild:
34 + Added patch to fix printing on localised systems (bug #191987).
35
36 16 Aug 2007; Leonardo Boshell <leonardop@g.o>
37 tuxpaint-0.9.17.ebuild:
38
39
40
41 1.1 media-gfx/tuxpaint/tuxpaint-0.9.17-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tuxpaint/tuxpaint-0.9.17-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/tuxpaint/tuxpaint-0.9.17-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tuxpaint-0.9.17-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/tuxpaint-0.9.17-r1.ebuild,v 1.1 2007/09/11 20:30:37 leonardop Exp $
51
52 inherit eutils gnome2-utils
53
54 DESCRIPTION="Drawing program designed for young children"
55 HOMEPAGE="http://www.tuxpaint.org/"
56 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~x86"
61
62 IUSE="nls svg"
63
64 DEPEND="media-libs/libsdl
65 media-libs/sdl-image
66 media-libs/sdl-ttf
67 media-libs/sdl-mixer
68 >=media-libs/libpng-1.2
69 >=media-libs/freetype-2
70 app-text/libpaper
71 nls? ( sys-devel/gettext )
72 svg? (
73 gnome-base/librsvg
74 x11-libs/cairo )"
75
76 src_unpack() {
77 unpack "${A}"
78 cd "${S}"
79
80 # Sanitize the Makefile and correct a few other issues.
81 epatch "${FILESDIR}"/${P}-gentoo.patch
82
83 # Fix printing on localised systems (bug #191987)
84 epatch "${FILESDIR}"/${P}-printing.patch
85 }
86
87 src_compile() {
88 local myopts=""
89
90 use nls && myopts="${myopts} ENABLE_GETTEXT=1"
91 use svg || myopts="${myopts} nosvg"
92
93 # emake may break things
94 make ${myopts} || die "Compilation failed"
95 }
96
97 src_install () {
98 local myopts=""
99
100 use nls && myopts="${myopts} ENABLE_GETTEXT=1"
101
102 make PKG_ROOT="${D}" ${myopts} install || die "Installation failed"
103
104 rm -f docs/COPYING.txt docs/INSTALL.txt
105 dodoc docs/*.txt
106 }
107
108 pkg_postinst() {
109 gnome2_icon_cache_update
110
111 elog ""
112 elog "For additional graphic stamps, you can emerge the"
113 elog "media-gfx/tuxpaint-stamps package."
114 elog ""
115 }
116
117
118
119 --
120 gentoo-commits@g.o mailing list