1 |
commit: a1c7d4086d97ac0dcf6bc6f80a8b32384b3a5297 |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Sun Apr 25 11:49:43 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 25 11:49:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c7d408 |
7 |
|
8 |
dev-ml/cairo-ocaml: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/557538 |
11 |
Closes: https://bugs.gentoo.org/769326 |
12 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
dev-ml/cairo-ocaml/Manifest | 1 - |
16 |
dev-ml/cairo-ocaml/cairo-ocaml-1.2.0-r1.ebuild | 85 ---------------------- |
17 |
...-libraries-used-by-the-stubs-to-CAIRO_LIB.patch | 26 ------- |
18 |
...akefile-to-avoid-recompiling-files-in-usr.patch | 27 ------- |
19 |
.../0003-Fix-FTBFS-on-bytecode-architectures.patch | 39 ---------- |
20 |
dev-ml/cairo-ocaml/files/0004-no-automagic.patch | 25 ------- |
21 |
dev-ml/cairo-ocaml/files/ocaml406.patch | 20 ----- |
22 |
dev-ml/cairo-ocaml/metadata.xml | 16 ---- |
23 |
profiles/package.mask | 6 -- |
24 |
9 files changed, 245 deletions(-) |
25 |
|
26 |
diff --git a/dev-ml/cairo-ocaml/Manifest b/dev-ml/cairo-ocaml/Manifest |
27 |
deleted file mode 100644 |
28 |
index 88a09824bf8..00000000000 |
29 |
--- a/dev-ml/cairo-ocaml/Manifest |
30 |
+++ /dev/null |
31 |
@@ -1 +0,0 @@ |
32 |
-DIST cairo-ocaml-1.2.0.tar.bz2 44483 BLAKE2B 49a8c811100e3167a8c32ca87a0a6c256862d276c3703082b944aa55f8def7b56d478c0ed44b9d7f5de9194603b688daa5e42949db00417b71daa7376e17410b SHA512 5cac319cf27b94d31e955885ae89b40342c2ae4ffd1aca7c52366f7c3679185f74e513e0c73bd01260f89da29d43bb420dadd059fa1cf5509997db8f935704b4 |
33 |
|
34 |
diff --git a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0-r1.ebuild b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0-r1.ebuild |
35 |
deleted file mode 100644 |
36 |
index f05710bc733..00000000000 |
37 |
--- a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0-r1.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,85 +0,0 @@ |
40 |
-# Copyright 1999-2020 Gentoo Authors |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=7 |
44 |
- |
45 |
-inherit findlib autotools |
46 |
- |
47 |
-DESCRIPTION="Ocaml bindings for the cairo vector graphics library" |
48 |
-HOMEPAGE="https://www.cairographics.org/cairo-ocaml/" |
49 |
-SRC_URI="https://cgit.freedesktop.org/cairo-ocaml/snapshot/${P}.tar.bz2" |
50 |
- |
51 |
-LICENSE="LGPL-2.1" |
52 |
-SLOT="0/${PV}" |
53 |
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" |
54 |
-IUSE="doc examples gtk pango" |
55 |
- |
56 |
-RDEPEND="dev-lang/ocaml:= |
57 |
- x11-libs/cairo |
58 |
- gtk? ( dev-ml/lablgtk:2= ) |
59 |
- pango? ( x11-libs/pango )" |
60 |
-DEPEND="${RDEPEND}" |
61 |
- |
62 |
-# 3 patches from debian and one for automagic on libsvg-cairo |
63 |
-PATCHES=( |
64 |
- "${FILESDIR}"/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch \ |
65 |
- "${FILESDIR}"/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch \ |
66 |
- "${FILESDIR}"/0003-Fix-FTBFS-on-bytecode-architectures.patch \ |
67 |
- "${FILESDIR}"/0004-no-automagic.patch |
68 |
-) |
69 |
- |
70 |
-src_prepare() { |
71 |
- default |
72 |
- has_version '>=dev-lang/ocaml-4.06.0' && eapply "${FILESDIR}"/ocaml406.patch |
73 |
- AT_M4DIR=support eautoreconf |
74 |
-} |
75 |
- |
76 |
-src_configure() { |
77 |
- econf \ |
78 |
- $(use_with gtk) \ |
79 |
- $(use_with pango pango-cairo) \ |
80 |
- --without-svg-cairo |
81 |
-} |
82 |
- |
83 |
-src_compile() { |
84 |
- emake -j1 |
85 |
- use doc && emake doc |
86 |
-} |
87 |
- |
88 |
-src_install() { |
89 |
- findlib_src_install |
90 |
- dodoc README ChangeLog |
91 |
- if use examples; then |
92 |
- docinto examples |
93 |
- dodoc test/*.ml |
94 |
- fi |
95 |
- # ocamlfind support |
96 |
- cat <<-EOF > META |
97 |
- name = "${PN}" |
98 |
- description = "${DESCRIPTION}" |
99 |
- requires = "bigarray" |
100 |
- version = "${PV}" |
101 |
- archive(byte) = "cairo.cma" |
102 |
- archive(native) = "cairo.cmxa" |
103 |
- EOF |
104 |
- if use gtk; then |
105 |
- cat <<-EOF >> META |
106 |
- package "lablgtk2" ( |
107 |
- requires = "cairo lablgtk2" |
108 |
- archive(byte) = "cairo_lablgtk.cma" |
109 |
- archive(native) = "cairo_lablgtk.cmxa" |
110 |
- ) |
111 |
- EOF |
112 |
- fi |
113 |
- if use pango; then |
114 |
- cat <<-EOF >> META |
115 |
- package "pango" ( |
116 |
- requires = "cairo" |
117 |
- archive(byte) = "pango_cairo.cma" |
118 |
- archive(native) = "pango_cairo.cmxa" |
119 |
- ) |
120 |
- EOF |
121 |
- fi |
122 |
- insinto /usr/$(get_libdir)/ocaml/cairo |
123 |
- doins META |
124 |
-} |
125 |
|
126 |
diff --git a/dev-ml/cairo-ocaml/files/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch b/dev-ml/cairo-ocaml/files/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch |
127 |
deleted file mode 100644 |
128 |
index 6b42f6d4fd5..00000000000 |
129 |
--- a/dev-ml/cairo-ocaml/files/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch |
130 |
+++ /dev/null |
131 |
@@ -1,26 +0,0 @@ |
132 |
-From: Stephane Glondu <steph@××××××.net> |
133 |
-Date: Sun, 27 Feb 2011 13:31:22 +0100 |
134 |
-Subject: Add missing libraries used by the stubs to CAIRO_LIBS |
135 |
- |
136 |
-The recent changes in DSO linking highlighted this, and were |
137 |
-preventing ocaml-melt from building. |
138 |
- |
139 |
-Signed-off-by: Stephane Glondu <steph@××××××.net> |
140 |
---- |
141 |
- configure.ac | 2 +- |
142 |
- 1 files changed, 1 insertions(+), 1 deletions(-) |
143 |
- |
144 |
-diff --git a/configure.ac b/configure.ac |
145 |
-index 6c8c4e9..0cf1f11 100644 |
146 |
---- a/configure.ac |
147 |
-+++ b/configure.ac |
148 |
-@@ -6,7 +6,7 @@ AC_CONFIG_AUX_DIR(support) |
149 |
- AC_PROG_OCAML() |
150 |
- |
151 |
- # Check for cairo |
152 |
--PKG_CHECK_MODULES(CAIRO, cairo >= 1.2 freetype2) |
153 |
-+PKG_CHECK_MODULES(CAIRO, cairo >= 1.2 cairo-ft cairo-fc cairo-ps cairo-pdf freetype2) |
154 |
- |
155 |
- # Optional GTK support (for the X11 backend) |
156 |
- AC_ARG_WITH(gtk, |
157 |
--- |
158 |
|
159 |
diff --git a/dev-ml/cairo-ocaml/files/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch b/dev-ml/cairo-ocaml/files/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch |
160 |
deleted file mode 100644 |
161 |
index fcb0f058322..00000000000 |
162 |
--- a/dev-ml/cairo-ocaml/files/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch |
163 |
+++ /dev/null |
164 |
@@ -1,27 +0,0 @@ |
165 |
-From: Stephane Glondu <steph@××××××.net> |
166 |
-Date: Tue, 2 Aug 2011 15:34:21 +0200 |
167 |
-Subject: Fix Makefile to avoid recompiling files in /usr |
168 |
- |
169 |
-The "-I /path/to/lablgtk2" option should not be used when calling |
170 |
-ocamldep, otherwise files there are considered as possible targets by |
171 |
-the build system. |
172 |
- |
173 |
-Signed-off-by: Stephane Glondu <steph@××××××.net> |
174 |
---- |
175 |
- src/Makefile | 2 +- |
176 |
- 1 files changed, 1 insertions(+), 1 deletions(-) |
177 |
- |
178 |
-diff --git a/src/Makefile b/src/Makefile |
179 |
-index 46a62f6..c9c64b7 100644 |
180 |
---- a/src/Makefile |
181 |
-+++ b/src/Makefile |
182 |
-@@ -117,7 +117,7 @@ clean : |
183 |
- |
184 |
- .depend : $(wildcard *.ml *.mli) |
185 |
- @echo "making deps" |
186 |
-- @$(OCAMLDEP) $(if $(LABLGTKDIR),-I $(LABLGTKDIR)) $^ > $@ |
187 |
-+ @$(OCAMLDEP) $^ > $@ |
188 |
- |
189 |
- -include .depend |
190 |
- -include .depend_c |
191 |
--- |
192 |
|
193 |
diff --git a/dev-ml/cairo-ocaml/files/0003-Fix-FTBFS-on-bytecode-architectures.patch b/dev-ml/cairo-ocaml/files/0003-Fix-FTBFS-on-bytecode-architectures.patch |
194 |
deleted file mode 100644 |
195 |
index 8882ce0a4da..00000000000 |
196 |
--- a/dev-ml/cairo-ocaml/files/0003-Fix-FTBFS-on-bytecode-architectures.patch |
197 |
+++ /dev/null |
198 |
@@ -1,39 +0,0 @@ |
199 |
-From: Stephane Glondu <steph@××××××.net> |
200 |
-Date: Tue, 2 Aug 2011 21:35:59 +0200 |
201 |
-Subject: Fix FTBFS on bytecode architectures |
202 |
- |
203 |
-The new ocaml.m4 defines OCAMLOPT to "no" (instead of not defining |
204 |
-it); adapt src/Makefile accordingly. |
205 |
- |
206 |
-Signed-off-by: Stephane Glondu <steph@××××××.net> |
207 |
---- |
208 |
- src/Makefile | 8 ++++++-- |
209 |
- 1 files changed, 6 insertions(+), 2 deletions(-) |
210 |
- |
211 |
-diff --git a/src/Makefile b/src/Makefile |
212 |
-index c9c64b7..bc223c7 100644 |
213 |
---- a/src/Makefile |
214 |
-+++ b/src/Makefile |
215 |
-@@ -14,7 +14,11 @@ ifdef LIBPANGOCAIRO_CFLAGS |
216 |
- TARGETS += pangocairo |
217 |
- endif |
218 |
- |
219 |
--all : $(TARGETS) $(if $(OCAMLOPT),opt) |
220 |
-+ifneq ($(OCAMLOPT),no) |
221 |
-+OPT_TARGET = opt |
222 |
-+endif |
223 |
-+ |
224 |
-+all : $(TARGETS) $(OPT_TARGET) |
225 |
- opt : $(addsuffix .opt,$(TARGETS)) |
226 |
- |
227 |
- cairo : cairo.cma libmlcairo.a |
228 |
-@@ -89,7 +93,7 @@ $(call mloptobjs,$(pangocairo_SRC)) : INCFLAGS=-I $(LABLGTKDIR) |
229 |
- install: all |
230 |
- mkdir -p $(DESTDIR)$(INSTALLDIR) $(DESTDIR)$(OCAMLLIB)/stublibs |
231 |
- install -m 644 *.mli *.cmi *.cma lib*.a $(DESTDIR)$(INSTALLDIR) |
232 |
--ifdef OCAMLOPT |
233 |
-+ifneq ($(OCAMLOPT),no) |
234 |
- install -m644 *.cmxa *.a *.cmx $(DESTDIR)$(INSTALLDIR) |
235 |
- endif |
236 |
- install -m 755 dll*.so $(DESTDIR)$(INSTALLDIR) |
237 |
--- |
238 |
|
239 |
diff --git a/dev-ml/cairo-ocaml/files/0004-no-automagic.patch b/dev-ml/cairo-ocaml/files/0004-no-automagic.patch |
240 |
deleted file mode 100644 |
241 |
index 46b70013fa3..00000000000 |
242 |
--- a/dev-ml/cairo-ocaml/files/0004-no-automagic.patch |
243 |
+++ /dev/null |
244 |
@@ -1,25 +0,0 @@ |
245 |
---- cairo-ocaml-1.2.0/configure.ac.orig 2012-06-17 20:58:38.000000000 +0100 |
246 |
-+++ cairo-ocaml-1.2.0/configure.ac 2012-06-17 21:05:49.000000000 +0100 |
247 |
-@@ -27,10 +27,20 @@ |
248 |
- fi |
249 |
- |
250 |
- # Optional libsvg-cairo support |
251 |
--PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg-cairo, use_libsvg_cairo=yes, use_libsvg_cairo=no) |
252 |
-+AC_ARG_WITH(svg-cairo, |
253 |
-+ AS_HELP_STRING([--with-svg-cairo],[libsvg-cairo support]), |
254 |
-+ use_libsvg_cairo=$withval, use_libsvg_cairo=no) |
255 |
-+if test x$use_libsvg_cairo != xno; then |
256 |
-+ PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg-cairo, use_libsvg_cairo=yes, use_libsvg_cairo=no) |
257 |
-+fi |
258 |
- |
259 |
- # Optional pango-cairo support |
260 |
--PKG_CHECK_MODULES(LIBPANGOCAIRO, pangocairo, use_libpangocairo=yes, use_libpangocairo=no) |
261 |
-+AC_ARG_WITH(pango-cairo, |
262 |
-+ AS_HELP_STRING([--with-pango-cairo],[pangocairo support]), |
263 |
-+ use_libpangocairo=$withval, use_libpangocairo=no) |
264 |
-+if test x$use_libpangocairo != xno; then |
265 |
-+ PKG_CHECK_MODULES(LIBPANGOCAIRO, pangocairo, use_libpangocairo=yes, use_libpangocairo=no) |
266 |
-+ fi |
267 |
- |
268 |
- echo |
269 |
- echo " GTK+ support: $use_gtk" |
270 |
|
271 |
diff --git a/dev-ml/cairo-ocaml/files/ocaml406.patch b/dev-ml/cairo-ocaml/files/ocaml406.patch |
272 |
deleted file mode 100644 |
273 |
index 2ef9931463b..00000000000 |
274 |
--- a/dev-ml/cairo-ocaml/files/ocaml406.patch |
275 |
+++ /dev/null |
276 |
@@ -1,20 +0,0 @@ |
277 |
-Index: cairo-ocaml-1.2.0/src/cairo_png.ml |
278 |
-=================================================================== |
279 |
---- cairo-ocaml-1.2.0.orig/src/cairo_png.ml |
280 |
-+++ cairo-ocaml-1.2.0/src/cairo_png.ml |
281 |
-@@ -7,13 +7,13 @@ |
282 |
- (**************************************************************************) |
283 |
- |
284 |
- external image_surface_create_from_stream_unsafe : |
285 |
-- (string -> int -> unit) -> Cairo.image_surface = "ml_cairo_image_surface_create_from_png_stream_unsafe" |
286 |
-+ (bytes -> int -> unit) -> Cairo.image_surface = "ml_cairo_image_surface_create_from_png_stream_unsafe" |
287 |
- |
288 |
- let image_surface_create_from_channel ic = |
289 |
- image_surface_create_from_stream_unsafe |
290 |
- (fun s n -> |
291 |
- for i = 0 to n - 1 do |
292 |
-- String.unsafe_set s i (input_char ic) |
293 |
-+ Bytes.unsafe_set s i (input_char ic) |
294 |
- done) |
295 |
- |
296 |
- let image_surface_create_from_file fname = |
297 |
|
298 |
diff --git a/dev-ml/cairo-ocaml/metadata.xml b/dev-ml/cairo-ocaml/metadata.xml |
299 |
deleted file mode 100644 |
300 |
index 0fedfcd6cbf..00000000000 |
301 |
--- a/dev-ml/cairo-ocaml/metadata.xml |
302 |
+++ /dev/null |
303 |
@@ -1,16 +0,0 @@ |
304 |
-<?xml version="1.0" encoding="UTF-8"?> |
305 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
306 |
-<pkgmetadata> |
307 |
-<maintainer type="project"> |
308 |
- <email>sci@g.o</email> |
309 |
- <name>Gentoo Science Project</name> |
310 |
-</maintainer> |
311 |
-<longdescription lang="en"> |
312 |
- This package contains all the development stuff you need to use Cairo in |
313 |
- your OCaml programs. The folowing backends are supported: PostScript, |
314 |
- PDF, PNG, In-memory images and X11. |
315 |
-</longdescription> |
316 |
-<use> |
317 |
- <flag name="pango">Enable support for <pkg>x11-libs/pango</pkg></flag> |
318 |
-</use> |
319 |
-</pkgmetadata> |
320 |
|
321 |
diff --git a/profiles/package.mask b/profiles/package.mask |
322 |
index 42f95e3a93e..e71d4f1bc72 100644 |
323 |
--- a/profiles/package.mask |
324 |
+++ b/profiles/package.mask |
325 |
@@ -347,12 +347,6 @@ app-eselect/eselect-lcdfilter |
326 |
media-libs/fontconfig-ultimate |
327 |
media-libs/fontconfig-infinality |
328 |
|
329 |
-# Andreas Sturmlechner <asturm@g.o> (2021-03-28) |
330 |
-# No release since 2012, depends on deprecated dev-ml/lablgtk:2, no more |
331 |
-# revdeps in Gentoo ebuild repository. |
332 |
-# Removal on 2021-04-07, bug #769326 |
333 |
-dev-ml/cairo-ocaml |
334 |
- |
335 |
# Jonas Stein <jstein@g.o> (2021-03-27) |
336 |
# Upstream is gone. Open bugs. Removal after 2021-05-01. |
337 |
# Bug #778800 |