1 |
commit: c66f744d5ed212ac0d65297e0900d555a2328723 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 9 01:47:07 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 9 01:47:07 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c66f744d |
7 |
|
8 |
x11-libs/cairo: drop vulnerable wrt bug #672908 |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
x11-libs/cairo/cairo-1.16.0-r2.ebuild | 130 ---------------------------------- |
13 |
1 file changed, 130 deletions(-) |
14 |
|
15 |
diff --git a/x11-libs/cairo/cairo-1.16.0-r2.ebuild b/x11-libs/cairo/cairo-1.16.0-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 33d36a60703..00000000000 |
18 |
--- a/x11-libs/cairo/cairo-1.16.0-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,130 +0,0 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-inherit eutils flag-o-matic autotools multilib-minimal |
27 |
- |
28 |
-if [[ ${PV} == *9999* ]]; then |
29 |
- inherit git-r3 |
30 |
- EGIT_REPO_URI="https://gitlab.freedesktop.org/cairo/cairo.git" |
31 |
- SRC_URI="" |
32 |
-else |
33 |
- SRC_URI="https://www.cairographics.org/releases/${P}.tar.xz" |
34 |
- KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
35 |
-fi |
36 |
- |
37 |
-DESCRIPTION="A vector graphics library with cross-device output support" |
38 |
-HOMEPAGE="https://www.cairographics.org/ https://gitlab.freedesktop.org/cairo/cairo" |
39 |
-LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
40 |
-SLOT="0" |
41 |
-IUSE="X aqua debug gles2 +glib opengl static-libs +svg utils valgrind xcb" |
42 |
-# gtk-doc regeneration doesn't seem to work with out-of-source builds |
43 |
-#[[ ${PV} == *9999* ]] && IUSE="${IUSE} doc" # API docs are provided in tarball, no need to regenerate |
44 |
- |
45 |
-# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it |
46 |
-RESTRICT="test" |
47 |
- |
48 |
-RDEPEND=" |
49 |
- >=dev-libs/lzo-2.06-r1[${MULTILIB_USEDEP}] |
50 |
- >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] |
51 |
- >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] |
52 |
- >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] |
53 |
- sys-libs/binutils-libs:0=[${MULTILIB_USEDEP}] |
54 |
- >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
55 |
- >=x11-libs/pixman-0.32.4[${MULTILIB_USEDEP}] |
56 |
- gles2? ( >=media-libs/mesa-9.1.6[gles2,${MULTILIB_USEDEP}] ) |
57 |
- glib? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] ) |
58 |
- opengl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] ) |
59 |
- X? ( |
60 |
- >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}] |
61 |
- >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
62 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
63 |
- ) |
64 |
- xcb? ( |
65 |
- >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}] |
66 |
- )" |
67 |
-DEPEND="${RDEPEND} |
68 |
- virtual/pkgconfig |
69 |
- >=sys-devel/libtool-2 |
70 |
- X? ( x11-base/xorg-proto )" |
71 |
-#[[ ${PV} == *9999* ]] && DEPEND="${DEPEND} |
72 |
-# doc? ( |
73 |
-# >=dev-util/gtk-doc-1.6 |
74 |
-# ~app-text/docbook-xml-dtd-4.2 |
75 |
-# )" |
76 |
- |
77 |
-REQUIRED_USE=" |
78 |
- gles2? ( !opengl ) |
79 |
-" |
80 |
- |
81 |
-PATCHES=( |
82 |
- "${FILESDIR}"/${PN}-1.12.18-disable-test-suite.patch |
83 |
- "${FILESDIR}"/${PN}-respect-fontconfig.patch |
84 |
-) |
85 |
- |
86 |
-src_prepare() { |
87 |
- default |
88 |
- |
89 |
- # tests and perf tools require X, bug #483574 |
90 |
- if ! use X; then |
91 |
- sed -e '/^SUBDIRS/ s#boilerplate test perf# #' -i Makefile.am || die |
92 |
- fi |
93 |
- |
94 |
- # Slightly messed build system YAY |
95 |
- if [[ ${PV} == *9999* ]]; then |
96 |
- touch boilerplate/Makefile.am.features |
97 |
- touch src/Makefile.am.features |
98 |
- touch ChangeLog |
99 |
- fi |
100 |
- |
101 |
- eautoreconf |
102 |
-} |
103 |
- |
104 |
-multilib_src_configure() { |
105 |
- local myopts |
106 |
- |
107 |
- [[ ${CHOST} == *-interix* ]] && append-flags -D_REENTRANT |
108 |
- |
109 |
- use elibc_FreeBSD && myopts+=" --disable-symbol-lookup" |
110 |
- |
111 |
- # [[ ${PV} == *9999* ]] && myopts+=" $(use_enable doc gtk-doc)" |
112 |
- |
113 |
- ECONF_SOURCE="${S}" \ |
114 |
- econf \ |
115 |
- --disable-dependency-tracking \ |
116 |
- $(use_with X x) \ |
117 |
- $(use_enable X tee) \ |
118 |
- $(use_enable X xlib) \ |
119 |
- $(use_enable X xlib-xrender) \ |
120 |
- $(use_enable aqua quartz) \ |
121 |
- $(use_enable aqua quartz-image) \ |
122 |
- $(use_enable debug test-surfaces) \ |
123 |
- $(use_enable gles2 glesv2) \ |
124 |
- $(use_enable glib gobject) \ |
125 |
- $(use_enable opengl gl) \ |
126 |
- $(use_enable static-libs static) \ |
127 |
- $(use_enable svg) \ |
128 |
- $(use_enable utils trace) \ |
129 |
- $(use_enable valgrind) \ |
130 |
- $(use_enable xcb) \ |
131 |
- $(use_enable xcb xcb-shm) \ |
132 |
- --enable-ft \ |
133 |
- --enable-pdf \ |
134 |
- --enable-png \ |
135 |
- --enable-ps \ |
136 |
- --enable-script \ |
137 |
- --enable-interpreter \ |
138 |
- --disable-drm \ |
139 |
- --disable-directfb \ |
140 |
- --disable-gallium \ |
141 |
- --disable-qt \ |
142 |
- --disable-vg \ |
143 |
- --disable-xlib-xcb \ |
144 |
- ${myopts} |
145 |
-} |
146 |
- |
147 |
-multilib_src_install_all() { |
148 |
- prune_libtool_files --all |
149 |
- einstalldocs |
150 |
-} |