Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/librsvg/, gnome-base/librsvg/files/
Date: Sat, 11 Jan 2020 20:01:44
Message-Id: 1578772881.e8769fb561b5585c1e05a6d07db52c300eb2dcf0.leio@gentoo
1 commit: e8769fb561b5585c1e05a6d07db52c300eb2dcf0
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 11 19:54:58 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 11 20:01:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8769fb5
7
8 gnome-base/librsvg: remove old
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 gnome-base/librsvg/Manifest | 1 -
14 .../files/librsvg-2.40.2-vala-out-of-source.patch | 28 -------
15 gnome-base/librsvg/librsvg-2.40.18.ebuild | 98 ----------------------
16 3 files changed, 127 deletions(-)
17
18 diff --git a/gnome-base/librsvg/Manifest b/gnome-base/librsvg/Manifest
19 index e0ab80251f6..bff3cc1c346 100644
20 --- a/gnome-base/librsvg/Manifest
21 +++ b/gnome-base/librsvg/Manifest
22 @@ -1,2 +1 @@
23 -DIST librsvg-2.40.18.tar.xz 574384 BLAKE2B 964997ef3bd5f8bdcab43e67f22d12458683c0eeee2fa81e7a6199f6a31c7ac11c599327a6a66118000f63549ea735a042c71429635f6dc9bf073f12eab067b6 SHA512 faf503d0d881801ce129715e7ae979ee1675bd32beac9170b1889c94aac64caf486968bc86f3480463b84e94f28c1d805551ffdcb7068ecadd0688146e0fb182
24 DIST librsvg-2.40.20.tar.xz 1796376 BLAKE2B ec8e7308a0255aa22038262d69019e810bb78b92e3de62662b53ab375110c8186e565e1eb7f5825c61c6d10bed1876ff3f7a06d1073e9676a3d2bb5dfb6b791e SHA512 cdd8224deb4c3786e29f48ed02c32ed9dff5cb15aba574a5ef845801ad3669cfcc3eedb9d359c22213dc7a29de24c363248825adad5877c40abf73b3688ff12f
25
26 diff --git a/gnome-base/librsvg/files/librsvg-2.40.2-vala-out-of-source.patch b/gnome-base/librsvg/files/librsvg-2.40.2-vala-out-of-source.patch
27 deleted file mode 100644
28 index bda090572a8..00000000000
29 --- a/gnome-base/librsvg/files/librsvg-2.40.2-vala-out-of-source.patch
30 +++ /dev/null
31 @@ -1,28 +0,0 @@
32 -From bf4da5524d50e1068f851bcbe50c8f8ae1948d73 Mon Sep 17 00:00:00 2001
33 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
34 -Date: Wed, 18 Jun 2014 09:44:51 +0200
35 -Subject: [PATCH] build: Fix building .vapi out-of-source.
36 -
37 -Rsvg-2.0-custom.vala file resides in $(srcdir), and therefore full path
38 -needs to be given to vapigen. Otherwise, the build fails when build is
39 -performed out-of-source.
40 ----
41 - Makefile.am | 2 +-
42 - 1 file changed, 1 insertion(+), 1 deletion(-)
43 -
44 -diff --git a/Makefile.am b/Makefile.am
45 -index e881100..dc6b0c9 100644
46 ---- a/Makefile.am
47 -+++ b/Makefile.am
48 -@@ -257,7 +257,7 @@ VAPIGEN_VAPIS = librsvg-$(RSVG_API_VERSION).vapi
49 -
50 - librsvg_@RSVG_API_VERSION_U@_vapi_DEPS = gio-2.0 cairo
51 - librsvg_@RSVG_API_VERSION_U@_vapi_METADATADIRS = $(srcdir)
52 --librsvg_@RSVG_API_VERSION_U@_vapi_FILES = Rsvg-$(RSVG_API_VERSION).gir Rsvg-$(RSVG_API_VERSION)-custom.vala
53 -+librsvg_@RSVG_API_VERSION_U@_vapi_FILES = Rsvg-$(RSVG_API_VERSION).gir $(srcdir)/Rsvg-$(RSVG_API_VERSION)-custom.vala
54 -
55 - vapidir = $(datadir)/vala/vapi
56 - vapi_DATA = $(VAPIGEN_VAPIS)
57 ---
58 -2.0.0
59 -
60
61 diff --git a/gnome-base/librsvg/librsvg-2.40.18.ebuild b/gnome-base/librsvg/librsvg-2.40.18.ebuild
62 deleted file mode 100644
63 index 8d60a0d105d..00000000000
64 --- a/gnome-base/librsvg/librsvg-2.40.18.ebuild
65 +++ /dev/null
66 @@ -1,98 +0,0 @@
67 -# Copyright 1999-2018 Gentoo Foundation
68 -# Distributed under the terms of the GNU General Public License v2
69 -
70 -EAPI=6
71 -GNOME2_LA_PUNT="yes"
72 -VALA_USE_DEPEND="vapigen"
73 -
74 -inherit autotools eutils gnome2 multilib-minimal vala
75 -
76 -DESCRIPTION="Scalable Vector Graphics (SVG) rendering library"
77 -HOMEPAGE="https://wiki.gnome.org/Projects/LibRsvg"
78 -
79 -LICENSE="LGPL-2"
80 -SLOT="2"
81 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
82 -
83 -IUSE="+introspection tools vala"
84 -REQUIRED_USE="vala? ( introspection )"
85 -
86 -RDEPEND="
87 - >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
88 - >=x11-libs/cairo-1.12.14-r4[${MULTILIB_USEDEP}]
89 - >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}]
90 - >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
91 - >=dev-libs/libcroco-0.6.8-r1[${MULTILIB_USEDEP}]
92 - >=x11-libs/gdk-pixbuf-2.30.7:2[introspection?,${MULTILIB_USEDEP}]
93 - introspection? ( >=dev-libs/gobject-introspection-0.10.8:= )
94 - tools? ( >=x11-libs/gtk+-3.10.0:3 )
95 -"
96 -DEPEND="${RDEPEND}
97 - dev-libs/gobject-introspection-common
98 - dev-libs/vala-common
99 - dev-util/glib-utils
100 - >=dev-util/gtk-doc-am-1.13
101 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
102 - vala? ( $(vala_depend) )
103 -"
104 -# >=gtk-doc-am-1.13, gobject-introspection-common, vala-common needed by eautoreconf
105 -
106 -src_prepare() {
107 - # https://bugzilla.gnome.org/show_bug.cgi?id=653323
108 - eapply "${FILESDIR}/${PN}-2.40.12-gtk-optional.patch"
109 -
110 - # https://bugzilla.gnome.org/show_bug.cgi?id=731826
111 - eapply "${FILESDIR}/${PN}-2.40.2-vala-out-of-source.patch"
112 -
113 - eautoreconf
114 -
115 - use vala && vala_src_prepare
116 - gnome2_src_prepare
117 -}
118 -
119 -multilib_src_configure() {
120 - local myconf=()
121 -
122 - # -Bsymbolic is not supported by the Darwin toolchain
123 - if [[ ${CHOST} == *-darwin* ]]; then
124 - myconf+=( --disable-Bsymbolic )
125 - fi
126 -
127 - # --disable-tools even when USE=tools; the tools/ subdirectory is useful
128 - # only for librsvg developers
129 - ECONF_SOURCE=${S} \
130 - gnome2_src_configure \
131 - --disable-static \
132 - --disable-tools \
133 - $(multilib_native_use_enable introspection) \
134 - $(multilib_native_use_with tools gtk3) \
135 - $(multilib_native_use_enable vala) \
136 - --enable-pixbuf-loader \
137 - "${myconf[@]}"
138 -
139 - if multilib_is_native_abi; then
140 - ln -s "${S}"/doc/html doc/html || die
141 - fi
142 -}
143 -
144 -multilib_src_compile() {
145 - # causes segfault if set, see bug #411765
146 - unset __GL_NO_DSO_FINALIZER
147 - gnome2_src_compile
148 -}
149 -
150 -multilib_src_install() {
151 - gnome2_src_install
152 -}
153 -
154 -pkg_postinst() {
155 - # causes segfault if set, see bug 375615
156 - unset __GL_NO_DSO_FINALIZER
157 - multilib_foreach_abi gnome2_pkg_postinst
158 -}
159 -
160 -pkg_postrm() {
161 - # causes segfault if set, see bug 375615
162 - unset __GL_NO_DSO_FINALIZER
163 - multilib_foreach_abi gnome2_pkg_postrm
164 -}