Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/librsvg: librsvg-2.40.3.ebuild ChangeLog librsvg-2.40.1-r1.ebuild
Date: Thu, 04 Sep 2014 10:10:35
Message-Id: 20140904101030.C5AEB4ADF@oystercatcher.gentoo.org
1 pacho 14/09/04 10:10:30
2
3 Modified: ChangeLog
4 Added: librsvg-2.40.3.ebuild
5 Removed: librsvg-2.40.1-r1.ebuild
6 Log:
7 Version bump, drop old
8
9 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.360 gnome-base/librsvg/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/librsvg/ChangeLog?rev=1.360&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/librsvg/ChangeLog?rev=1.360&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/librsvg/ChangeLog?r1=1.359&r2=1.360
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-base/librsvg/ChangeLog,v
21 retrieving revision 1.359
22 retrieving revision 1.360
23 diff -u -r1.359 -r1.360
24 --- ChangeLog 25 Aug 2014 10:59:05 -0000 1.359
25 +++ ChangeLog 4 Sep 2014 10:10:30 -0000 1.360
26 @@ -1,6 +1,16 @@
27 # ChangeLog for gnome-base/librsvg
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/ChangeLog,v 1.359 2014/08/25 10:59:05 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/ChangeLog,v 1.360 2014/09/04 10:10:30 pacho Exp $
31 +
32 +*librsvg-2.40.3 (04 Sep 2014)
33 +
34 + 04 Sep 2014; Pacho Ramos <pacho@g.o> +librsvg-2.40.3.ebuild,
35 + -files/librsvg-2.36.0-rsvg-view-automagic.patch,
36 + -files/librsvg-2.36.4-resource-uri-1.patch,
37 + -files/librsvg-2.36.4-resource-uri-2.patch,
38 + -files/librsvg-2.36.4-resource-uri-3.patch,
39 + -files/librsvg-2.39.0-canonicalize-realpath.patch, -librsvg-2.40.1-r1.ebuild:
40 + Version bump, drop old
41
42 25 Aug 2014; Agostino Sarubbo <ago@g.o> librsvg-2.40.2-r1.ebuild:
43 Stable for alpha, wrt bug #512012
44
45
46
47 1.1 gnome-base/librsvg/librsvg-2.40.3.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/librsvg/librsvg-2.40.3.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/librsvg/librsvg-2.40.3.ebuild?rev=1.1&content-type=text/plain
51
52 Index: librsvg-2.40.3.ebuild
53 ===================================================================
54 # Copyright 1999-2014 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-2.40.3.ebuild,v 1.1 2014/09/04 10:10:30 pacho Exp $
57
58 EAPI="5"
59 GCONF_DEBUG="no"
60 GNOME2_LA_PUNT="yes"
61 VALA_MIN_API_VERSION="0.18"
62 VALA_USE_DEPEND="vapigen"
63
64 inherit autotools gnome2 multilib-minimal vala
65
66 DESCRIPTION="Scalable Vector Graphics (SVG) rendering library"
67 HOMEPAGE="https://wiki.gnome.org/Projects/LibRsvg"
68
69 LICENSE="LGPL-2"
70 SLOT="2"
71 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
72 IUSE="+introspection vala tools"
73 REQUIRED_USE="
74 vala? ( introspection )
75 "
76
77 RDEPEND="
78 >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
79 >=x11-libs/cairo-1.12.14-r4[${MULTILIB_USEDEP}]
80 >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}]
81 >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
82 >=dev-libs/libcroco-0.6.8-r1[${MULTILIB_USEDEP}]
83 >=x11-libs/gdk-pixbuf-2.30.7:2[introspection?,${MULTILIB_USEDEP}]
84 introspection? ( >=dev-libs/gobject-introspection-0.10.8 )
85 tools? ( >=x11-libs/gtk+-3.2.0:3 )
86 "
87 DEPEND="${RDEPEND}
88 dev-libs/gobject-introspection-common
89 dev-libs/vala-common
90 >=dev-util/gtk-doc-am-1.13
91 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
92 vala? ( $(vala_depend) )
93 "
94 # >=gtk-doc-am-1.13, gobject-introspection-common, vala-common needed by eautoreconf
95
96 src_prepare() {
97 # https://bugzilla.gnome.org/show_bug.cgi?id=712693
98 epatch "${FILESDIR}/${PN}-2.40.1-gtk-optional.patch"
99
100 # https://bugzilla.gnome.org/show_bug.cgi?id=731826
101 epatch "${FILESDIR}/${PN}-2.40.2-vala-out-of-source.patch"
102
103 eautoreconf
104
105 use vala && vala_src_prepare
106 gnome2_src_prepare
107 }
108
109 multilib_src_configure() {
110 local myconf=()
111
112 # -Bsymbolic is not supported by the Darwin toolchain
113 if [[ ${CHOST} == *-darwin* ]]; then
114 myconf+=( --disable-Bsymbolic )
115 fi
116
117 # --disable-tools even when USE=tools; the tools/ subdirectory is useful
118 # only for librsvg developers
119 ECONF_SOURCE=${S} \
120 gnome2_src_configure \
121 --disable-static \
122 --disable-tools \
123 $(multilib_native_use_enable introspection) \
124 $(multilib_native_use_with tools gtk3) \
125 $(multilib_native_use_enable vala) \
126 --enable-pixbuf-loader \
127 "${myconf[@]}"
128
129 if multilib_is_native_abi; then
130 ln -s "${S}"/doc/html doc/html || die
131 fi
132 }
133
134 multilib_src_compile() {
135 # causes segfault if set, see bug #411765
136 unset __GL_NO_DSO_FINALIZER
137 gnome2_src_compile
138 }
139
140 multilib_src_install() {
141 gnome2_src_install
142 }
143
144 pkg_postinst() {
145 # causes segfault if set, see bug 375615
146 unset __GL_NO_DSO_FINALIZER
147 multilib_foreach_abi gnome2_pkg_postinst
148 }
149
150 pkg_postrm() {
151 # causes segfault if set, see bug 375615
152 unset __GL_NO_DSO_FINALIZER
153 multilib_foreach_abi gnome2_pkg_postrm
154 }