1 |
commit: 304759386bfcbedbcc940a9938ec56cc1dba69f9 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 1 09:46:02 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 1 21:43:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30475938 |
7 |
|
8 |
gnome-base/librsvg: bump to 2.48.8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/648990 |
11 |
Closes: https://bugs.gentoo.org/645036 |
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
14 |
|
15 |
gnome-base/librsvg/Manifest | 1 + |
16 |
gnome-base/librsvg/librsvg-2.48.8.ebuild | 95 ++++++++++++++++++++++++++++++++ |
17 |
profiles/arch/arm/armv4/package.mask | 1 + |
18 |
profiles/arch/arm/armv4t/package.mask | 1 + |
19 |
profiles/arch/arm/armv5te/package.mask | 1 + |
20 |
5 files changed, 99 insertions(+) |
21 |
|
22 |
diff --git a/gnome-base/librsvg/Manifest b/gnome-base/librsvg/Manifest |
23 |
index f4e67a4a2da..a5142954819 100644 |
24 |
--- a/gnome-base/librsvg/Manifest |
25 |
+++ b/gnome-base/librsvg/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST librsvg-2.40.21.tar.xz 1655860 BLAKE2B a3fd7915d39984057e860da90115d9d95cef97e61d3f5e4c3aaaf399c4b3bfe781e6a7b969958ae84a3b7f2c788576fe26f56b037ca0a6a2e059b53f2bd1b9fc SHA512 db0563d8e0edaae642a6b2bcd239cf54191495058ac8c7ff614ebaf88c0e30bd58dbcd41f58d82a9d5ed200ced45fc5bae22f2ed3cf3826e9348a497009e1280 |
28 |
+DIST librsvg-2.48.8.tar.xz 15302184 BLAKE2B 7d44b58d894afbeff0cb4606ed64191c028e7ac9d987dd3248b90df4ae0c000ee47b02484116bf7ee6e7aad567b91df7a2aae6880514f5ddee3ef4826c2e828e SHA512 7b35afbbad17927168acb3a308bff59ea66e8e1ac18c2ab5626a7d494e90d87d2dc552959ad72974d3ed8ba4c2f919335cf9110a0d0a09148e606222e4fcee43 |
29 |
|
30 |
diff --git a/gnome-base/librsvg/librsvg-2.48.8.ebuild b/gnome-base/librsvg/librsvg-2.48.8.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..c5ec2752fa9 |
33 |
--- /dev/null |
34 |
+++ b/gnome-base/librsvg/librsvg-2.48.8.ebuild |
35 |
@@ -0,0 +1,95 @@ |
36 |
+# Copyright 1999-2020 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+GNOME2_LA_PUNT="yes" |
41 |
+VALA_USE_DEPEND="vapigen" |
42 |
+ |
43 |
+inherit gnome2 multilib-minimal rust-toolchain vala |
44 |
+ |
45 |
+DESCRIPTION="Scalable Vector Graphics (SVG) rendering library" |
46 |
+HOMEPAGE="https://wiki.gnome.org/Projects/LibRsvg" |
47 |
+ |
48 |
+LICENSE="LGPL-2+" |
49 |
+SLOT="2" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
51 |
+ |
52 |
+IUSE="+introspection +vala" |
53 |
+REQUIRED_USE="vala? ( introspection )" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=x11-libs/cairo-1.16.0[${MULTILIB_USEDEP}] |
57 |
+ >=media-libs/freetype-2.9:2[${MULTILIB_USEDEP}] |
58 |
+ >=x11-libs/gdk-pixbuf-2.20:2[introspection?,${MULTILIB_USEDEP}] |
59 |
+ >=dev-libs/glib-2.50.0:2[${MULTILIB_USEDEP}] |
60 |
+ >=media-libs/harfbuzz-2.0.0:=[${MULTILIB_USEDEP}] |
61 |
+ >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] |
62 |
+ >=x11-libs/pango-1.38.0[${MULTILIB_USEDEP}] |
63 |
+ |
64 |
+ introspection? ( >=dev-libs/gobject-introspection-0.10.8:= ) |
65 |
+" |
66 |
+DEPEND="${RDEPEND} |
67 |
+ >=virtual/rust-1.39[${MULTILIB_USEDEP}] |
68 |
+ dev-util/glib-utils |
69 |
+ >=sys-devel/gettext-0.19.8 |
70 |
+ virtual/pkgconfig |
71 |
+ vala? ( $(vala_depend) ) |
72 |
+" |
73 |
+# >=gtk-doc-am-1.13, gobject-introspection-common, vala-common needed by eautoreconf |
74 |
+ |
75 |
+RESTRICT="test" # Lots of issues on 32bit builds, 64bit build seems to get into an infinite compilation sometimes, etc. |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ use vala && vala_src_prepare |
79 |
+ gnome2_src_prepare |
80 |
+} |
81 |
+ |
82 |
+multilib_src_configure() { |
83 |
+ local myconf=( |
84 |
+ --disable-static |
85 |
+ --disable-debug |
86 |
+ --disable-tools # the tools/ subdirectory is useful only for librsvg devs |
87 |
+ $(multilib_native_use_enable introspection) |
88 |
+ $(multilib_native_use_enable vala) |
89 |
+ --enable-pixbuf-loader |
90 |
+ ) |
91 |
+ |
92 |
+ if ! multilib_is_native_abi; then |
93 |
+ myconf+=( |
94 |
+ # Set the rust target, which can differ from CHOST |
95 |
+ RUST_TARGET="$(rust_abi)" |
96 |
+ # RUST_TARGET is only honored if cross_compiling, but non-native ABIs aren't cross as |
97 |
+ # far as C parts and configure auto-detection are concerned as CHOST equals CBUILD |
98 |
+ cross_compiling=yes |
99 |
+ ) |
100 |
+ fi |
101 |
+ |
102 |
+ ECONF_SOURCE=${S} \ |
103 |
+ gnome2_src_configure "${myconf[@]}" |
104 |
+ |
105 |
+ if multilib_is_native_abi; then |
106 |
+ ln -s "${S}"/doc/html doc/html || die |
107 |
+ fi |
108 |
+} |
109 |
+ |
110 |
+multilib_src_compile() { |
111 |
+ # causes segfault if set, see bug #411765 |
112 |
+ unset __GL_NO_DSO_FINALIZER |
113 |
+ gnome2_src_compile |
114 |
+} |
115 |
+ |
116 |
+multilib_src_install() { |
117 |
+ gnome2_src_install |
118 |
+} |
119 |
+ |
120 |
+pkg_postinst() { |
121 |
+ # causes segfault if set, see bug 375615 |
122 |
+ unset __GL_NO_DSO_FINALIZER |
123 |
+ multilib_foreach_abi gnome2_pkg_postinst |
124 |
+} |
125 |
+ |
126 |
+pkg_postrm() { |
127 |
+ # causes segfault if set, see bug 375615 |
128 |
+ unset __GL_NO_DSO_FINALIZER |
129 |
+ multilib_foreach_abi gnome2_pkg_postrm |
130 |
+} |
131 |
|
132 |
diff --git a/profiles/arch/arm/armv4/package.mask b/profiles/arch/arm/armv4/package.mask |
133 |
index 10f4ba53068..89db1e265ac 100644 |
134 |
--- a/profiles/arch/arm/armv4/package.mask |
135 |
+++ b/profiles/arch/arm/armv4/package.mask |
136 |
@@ -6,3 +6,4 @@ dev-lang/nim |
137 |
dev-lang/rust-bin |
138 |
dev-lang/rust |
139 |
virtual/rust |
140 |
+>=gnome-base/librsvg-2.41 |
141 |
|
142 |
diff --git a/profiles/arch/arm/armv4t/package.mask b/profiles/arch/arm/armv4t/package.mask |
143 |
index 10f4ba53068..89db1e265ac 100644 |
144 |
--- a/profiles/arch/arm/armv4t/package.mask |
145 |
+++ b/profiles/arch/arm/armv4t/package.mask |
146 |
@@ -6,3 +6,4 @@ dev-lang/nim |
147 |
dev-lang/rust-bin |
148 |
dev-lang/rust |
149 |
virtual/rust |
150 |
+>=gnome-base/librsvg-2.41 |
151 |
|
152 |
diff --git a/profiles/arch/arm/armv5te/package.mask b/profiles/arch/arm/armv5te/package.mask |
153 |
index a4d8f03b198..5353df361e8 100644 |
154 |
--- a/profiles/arch/arm/armv5te/package.mask |
155 |
+++ b/profiles/arch/arm/armv5te/package.mask |
156 |
@@ -6,3 +6,4 @@ dev-lang/nim |
157 |
dev-lang/rust-bin |
158 |
dev-lang/rust |
159 |
virtual/rust |
160 |
+>=gnome-base/librsvg-2.41 |