1 |
commit: 86a18e9318d6bf1b327077e65f5a808ec5b7937d |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 17 13:46:23 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 17 16:21:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a18e93 |
7 |
|
8 |
dev-libs/libcdio: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libcdio/Manifest | 1 - |
13 |
.../libcdio/files/libcdio-2.0.0-iso-ioleak.patch | 37 ----------- |
14 |
dev-libs/libcdio/libcdio-2.0.0-r1.ebuild | 76 ---------------------- |
15 |
3 files changed, 114 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libcdio/Manifest b/dev-libs/libcdio/Manifest |
18 |
index abf85af3b16a..5c2a9619040b 100644 |
19 |
--- a/dev-libs/libcdio/Manifest |
20 |
+++ b/dev-libs/libcdio/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST libcdio-2.0.0.tar.gz 2354813 BLAKE2B d3ebf9a20004cc8c75d1e6f97a2cea68f490517e34a4cf84f343d717e49cbb9cd612a3c6911894501f16373e3222e7fc6d175fd6d93d1c967cd21502716b22f8 SHA512 8f48cc71d28b427b16f48e50bcaf0aea171055c72a9aeee383ac4374eee1d3d288323814c3a3f308a9ba097aa815319429c1931072897985a3b02b814766fd4f |
23 |
DIST libcdio-2.1.0.tar.bz2 1759040 BLAKE2B 4859fc545cf81246279b7b0434c02916e874681b40d00f8253fd7837941a34c5a717a81b1c3b1714153ad343e03c28668984f6fd5647662ec4e6759752326cb0 SHA512 c290821da55fd9ae366670a58857aa6efcebc9f25b7caea063cf12f9cbda84fe770c5f59f972227fda50517ca58c5f39c0137daa0f93179e3daa45303d8b610f |
24 |
|
25 |
diff --git a/dev-libs/libcdio/files/libcdio-2.0.0-iso-ioleak.patch b/dev-libs/libcdio/files/libcdio-2.0.0-iso-ioleak.patch |
26 |
deleted file mode 100644 |
27 |
index 17732104c3d1..000000000000 |
28 |
--- a/dev-libs/libcdio/files/libcdio-2.0.0-iso-ioleak.patch |
29 |
+++ /dev/null |
30 |
@@ -1,37 +0,0 @@ |
31 |
-From 8c0de2d3f0324ecf3fd135589589dcd783c15556 Mon Sep 17 00:00:00 2001 |
32 |
-From: rocky <rocky@×××.org> |
33 |
-Date: Fri, 16 Feb 2018 09:14:17 -0500 |
34 |
-Subject: Fix small I/O leak when we can't read ISO file |
35 |
- |
36 |
-See Savannah bug #53170. Thanks to David Binderman. |
37 |
---- |
38 |
- src/iso-read.c | 8 ++++++-- |
39 |
- 1 file changed, 6 insertions(+), 2 deletions(-) |
40 |
- |
41 |
-diff --git a/src/iso-read.c b/src/iso-read.c |
42 |
-index 0541e27..8647485 100644 |
43 |
---- a/src/iso-read.c |
44 |
-+++ b/src/iso-read.c |
45 |
-@@ -1,5 +1,6 @@ |
46 |
- /* |
47 |
-- Copyright (C) 2004-2006, 2008, 2012-2013, 2017 Rocky Bernstein <rocky@×××.org> |
48 |
-+ Copyright (C) 2004-2006, 2008, 2012-2013, 2017-2018 Rocky Bernstein |
49 |
-+ <rocky@×××.org> |
50 |
- |
51 |
- This program is free software: you can redistribute it and/or modify |
52 |
- it under the terms of the GNU General Public License as published by |
53 |
-@@ -364,7 +365,10 @@ main(int argc, char *argv[]) |
54 |
- ret = read_iso_file (opts.iso9660_image, opts.file_name, |
55 |
- outfd, &bytes_written); |
56 |
- } |
57 |
-- if (ret != 0) return ret; |
58 |
-+ if (ret != 0) { |
59 |
-+ fclose (outfd); |
60 |
-+ return ret; |
61 |
-+ } |
62 |
- |
63 |
- fflush (outfd); |
64 |
- |
65 |
--- |
66 |
-cgit v1.0-41-gc330 |
67 |
- |
68 |
|
69 |
diff --git a/dev-libs/libcdio/libcdio-2.0.0-r1.ebuild b/dev-libs/libcdio/libcdio-2.0.0-r1.ebuild |
70 |
deleted file mode 100644 |
71 |
index 4144e54f2f0d..000000000000 |
72 |
--- a/dev-libs/libcdio/libcdio-2.0.0-r1.ebuild |
73 |
+++ /dev/null |
74 |
@@ -1,76 +0,0 @@ |
75 |
-# Copyright 1999-2021 Gentoo Authors |
76 |
-# Distributed under the terms of the GNU General Public License v2 |
77 |
- |
78 |
-EAPI=6 |
79 |
- |
80 |
-inherit autotools libtool multilib-minimal toolchain-funcs |
81 |
- |
82 |
-DESCRIPTION="A library to encapsulate CD-ROM reading and control" |
83 |
-HOMEPAGE="https://www.gnu.org/software/libcdio/" |
84 |
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
85 |
- |
86 |
-LICENSE="GPL-3" |
87 |
-SLOT="0/18" # subslot is based on SONAME |
88 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" |
89 |
-IUSE="cddb +cxx minimal static-libs test" |
90 |
-RESTRICT="!test? ( test )" |
91 |
- |
92 |
-RDEPEND=" |
93 |
- !minimal? ( |
94 |
- >=sys-libs/ncurses-5.7-r7:0= |
95 |
- cddb? ( >=media-libs/libcddb-1.3.2 ) |
96 |
- ) |
97 |
- >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] |
98 |
-" |
99 |
-DEPEND="${RDEPEND} |
100 |
- sys-apps/sed |
101 |
- sys-devel/gettext |
102 |
- virtual/pkgconfig |
103 |
- test? ( dev-lang/perl ) |
104 |
-" |
105 |
- |
106 |
-DOCS=( AUTHORS ChangeLog NEWS README{,.libcdio} THANKS TODO ) |
107 |
- |
108 |
-MULTILIB_WRAPPED_HEADERS=( |
109 |
- /usr/include/cdio/cdio_config.h |
110 |
- /usr/include/cdio/version.h |
111 |
-) |
112 |
- |
113 |
-PATCHES=( "${FILESDIR}/${P}-iso-ioleak.patch" ) |
114 |
- |
115 |
-src_prepare() { |
116 |
- default |
117 |
- |
118 |
- eautoreconf |
119 |
- |
120 |
- sed \ |
121 |
- -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \ |
122 |
- -i configure || die |
123 |
- |
124 |
- elibtoolize # to prevent -L/usr/lib ending up in the linker line wrt 499510 |
125 |
-} |
126 |
- |
127 |
-multilib_src_configure() { |
128 |
- local util_switch |
129 |
- if ! multilib_is_native_abi || use minimal ; then |
130 |
- util_switch="--without" |
131 |
- else |
132 |
- util_switch="--with" |
133 |
- fi |
134 |
- |
135 |
- # Tests fail if ECONF_SOURCE is not relative |
136 |
- ECONF_SOURCE="../${P}" econf \ |
137 |
- --disable-maintainer-mode \ |
138 |
- $(use_enable cxx) \ |
139 |
- --disable-cpp-progs \ |
140 |
- --disable-example-progs \ |
141 |
- $(use_enable static-libs static) \ |
142 |
- $(use_enable cddb) \ |
143 |
- --disable-vcd-info \ |
144 |
- ${util_switch}-{cd-drive,cd-info,cdda-player,cd-read,iso-info,iso-read} |
145 |
-} |
146 |
- |
147 |
-multilib_src_install_all() { |
148 |
- einstalldocs |
149 |
- find "${ED}" -name '*.la' -delete || die |
150 |
-} |