Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/inkscape: inkscape-0.48.1-r1.ebuild ChangeLog
Date: Fri, 29 Apr 2011 09:31:09
Message-Id: 20110429093059.1EF0020054@flycatcher.gentoo.org
1 radhermit 11/04/29 09:30:59
2
3 Modified: ChangeLog
4 Added: inkscape-0.48.1-r1.ebuild
5 Log:
6 Revision bump. Apply patch to work with the latest libwpd/libwpg (bug #363703 by Pacho Ramos, patch by Fedora) and fix compile with gcc-4.6 (bug #362639 by emil karlson).
7
8 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.158 media-gfx/inkscape/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/ChangeLog?rev=1.158&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/ChangeLog?rev=1.158&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/ChangeLog?r1=1.157&r2=1.158
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v
20 retrieving revision 1.157
21 retrieving revision 1.158
22 diff -u -r1.157 -r1.158
23 --- ChangeLog 24 Apr 2011 17:27:39 -0000 1.157
24 +++ ChangeLog 29 Apr 2011 09:30:59 -0000 1.158
25 @@ -1,6 +1,15 @@
26 # ChangeLog for media-gfx/inkscape
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.157 2011/04/24 17:27:39 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.158 2011/04/29 09:30:59 radhermit Exp $
30 +
31 +*inkscape-0.48.1-r1 (29 Apr 2011)
32 +
33 + 29 Apr 2011; Tim Harder <radhermit@g.o>
34 + +files/inkscape-0.48.0-libwpd.patch, +inkscape-0.48.1-r1.ebuild,
35 + +files/inkscape-0.48.1-gcc-4.6.patch:
36 + Revision bump. Apply patch to work with the latest libwpd/libwpg (bug #363703
37 + by Pacho Ramos, patch by Fedora) and fix compile with gcc-4.6 (bug #362639 by
38 + emil karlson).
39
40 24 Apr 2011; Raúl Porcel <armin76@g.o> inkscape-0.47.ebuild,
41 inkscape-0.48.0.ebuild:
42
43
44
45 1.1 media-gfx/inkscape/inkscape-0.48.1-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/inkscape-0.48.1-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/inkscape-0.48.1-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: inkscape-0.48.1-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.48.1-r1.ebuild,v 1.1 2011/04/29 09:30:59 radhermit Exp $
55
56 EAPI=2
57 inherit eutils flag-o-matic autotools gnome2
58
59 MY_P="${P/_/}"
60 S="${WORKDIR}/${MY_P}"
61 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
62
63 DESCRIPTION="A SVG based generic vector-drawing program"
64 HOMEPAGE="http://www.inkscape.org/"
65
66 LICENSE="GPL-2 LGPL-2.1"
67 SLOT="0"
68 KEYWORDS="~amd64 ~hppa ~x86"
69 IUSE="dia gnome gs inkjar lcms nls spell wmf"
70
71 RESTRICT="test"
72
73 COMMON_DEPEND="
74 >=app-text/poppler-0.12.3-r3[cairo,xpdf-headers]
75 dev-cpp/glibmm
76 >=dev-cpp/gtkmm-2.18.0:2.4
77 >=dev-libs/boehm-gc-6.4
78 >=dev-libs/glib-2.6.5
79 >=dev-libs/libsigc++-2.0.12
80 >=dev-libs/libxml2-2.6.20
81 >=dev-libs/libxslt-1.0.15
82 dev-libs/popt
83 dev-python/lxml
84 media-gfx/imagemagick
85 media-libs/fontconfig
86 media-libs/freetype:2
87 >=media-libs/libpng-1.2
88 app-text/libwpd:0.9
89 media-libs/libwpg:0.2
90 sci-libs/gsl
91 x11-libs/libXft
92 >=x11-libs/gtk+-2.10.7:2
93 >=x11-libs/pango-1.4.0
94 || ( dev-lang/python[xml] dev-python/pyxml )
95 gnome? ( >=gnome-base/gnome-vfs-2.0 )
96 lcms? ( media-libs/lcms:0 )
97 spell? (
98 app-text/aspell
99 app-text/gtkspell
100 )"
101
102 # These only use executables provided by these packages
103 # See share/extensions for more details. inkscape can tell you to
104 # install these so we could of course just not depend on those and rely
105 # on that.
106 RDEPEND="
107 ${COMMON_DEPEND}
108 dev-python/numpy
109 media-gfx/uniconvertor
110 dia? ( app-office/dia )
111 gs? ( app-text/ghostscript-gpl )
112 wmf? ( media-libs/libwmf )"
113
114 DEPEND="${COMMON_DEPEND}
115 dev-libs/boost
116 sys-devel/gettext
117 dev-util/pkgconfig
118 x11-libs/libX11
119 >=dev-util/intltool-0.29"
120
121 pkg_setup() {
122 G2CONF="${G2CONF} --without-perl"
123 G2CONF="${G2CONF} --enable-poppler-cairo"
124 G2CONF="${G2CONF} --with-xft"
125 G2CONF="${G2CONF} $(use_with gnome gnome-vfs)"
126 G2CONF="${G2CONF} $(use_with inkjar)"
127 G2CONF="${G2CONF} $(use_enable lcms)"
128 G2CONF="${G2CONF} $(use_enable nls)"
129 G2CONF="${G2CONF} $(use_with spell aspell)"
130 G2CONF="${G2CONF} $(use_with spell gtkspell)"
131 DOCS="AUTHORS ChangeLog NEWS README*"
132 }
133
134 src_prepare() {
135 gnome2_src_prepare
136 epatch "${FILESDIR}"/${PN}-0.48.0-spell.patch
137 epatch "${FILESDIR}"/${PN}-0.48.0-libwpd.patch
138 epatch "${FILESDIR}"/${P}-libpng15.patch
139 epatch "${FILESDIR}"/${P}-lcms.patch
140 epatch "${FILESDIR}"/${P}-gcc-4.6.patch
141 eautoreconf
142 }
143
144 src_configure() {
145 # aliasing unsafe wrt #310393
146 append-flags -fno-strict-aliasing
147 gnome2_src_configure
148 }