1 |
commit: 1c88070676070531d518c90d4410182043bcb1e3 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 26 11:29:16 2018 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 26 11:30:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c880706 |
7 |
|
8 |
app-arch/advancecomp: Remove 1.15 |
9 |
|
10 |
Uses deprecated EAPI 4 and overshadowed by 2.0. |
11 |
|
12 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
13 |
|
14 |
app-arch/advancecomp/Manifest | 1 - |
15 |
app-arch/advancecomp/advancecomp-1.15.ebuild | 46 ---------------- |
16 |
.../advancecomp-1.13-bzip2-compile-plz-k-thx.diff | 61 ---------------------- |
17 |
3 files changed, 108 deletions(-) |
18 |
|
19 |
diff --git a/app-arch/advancecomp/Manifest b/app-arch/advancecomp/Manifest |
20 |
index 3454e85b39f..1675d81b481 100644 |
21 |
--- a/app-arch/advancecomp/Manifest |
22 |
+++ b/app-arch/advancecomp/Manifest |
23 |
@@ -1,3 +1,2 @@ |
24 |
-DIST advancecomp-1.15.tar.gz 259340 BLAKE2B 64be369b56962b8612d46190a1ee2ccd3d3cae32867891a2dcec6fc24c1ea76c41fb3eb3980d1e43d642011d43250ad49a75f98ba4cb86f8e511c130ab2678a4 SHA512 18d6abb4c739c16e340bad2e87f89b545d0ecb660897a109a038b2a236bab6ce3d3b3ad572839fb4ce7981c5f150d8ed2447654291a8d808bbb85e70152e47ba |
25 |
DIST advancecomp-1.23.tar.gz 1288937 BLAKE2B 48044f8e896e29ec41518f50daee50bd10e43d474a966f3a9d5ff1c567fb21366f09b1b7ead51323ec5a959fceafd4df247e469c4ba015ad3cfdb9b2f187bfdd SHA512 2218d8677787d3f72434e2d5dd3f6b21f69de7042c7533ad29625522adedd56d765e70e4749bbfac14973b9b2bb6958db2900e62b26e5242106caf760cbc2236 |
26 |
DIST advancecomp-2.0.tar.gz 1292164 BLAKE2B 16f24820ac8f6de517edc91237b743935673894fd784271ab7ef7c1b5e7ff11fb4087dffa4e99b0b5b5ef550514f7267962cfcc7dde2976db69a28c68398c8ac SHA512 e324cdf1687d3a92d3416d07269b3d03087ccece9cf636cd4cd0075fbededcd27da5c84a2d77cc1265800f252fcd75a841459fcc55dd9d5eee3ea3fa48d9f906 |
27 |
|
28 |
diff --git a/app-arch/advancecomp/advancecomp-1.15.ebuild b/app-arch/advancecomp/advancecomp-1.15.ebuild |
29 |
deleted file mode 100644 |
30 |
index ec508977331..00000000000 |
31 |
--- a/app-arch/advancecomp/advancecomp-1.15.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,46 +0,0 @@ |
34 |
-# Copyright 1999-2017 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=4 |
38 |
-inherit eutils |
39 |
- |
40 |
-DESCRIPTION="Recompress ZIP, PNG and MNG, considerably improving compression" |
41 |
-HOMEPAGE="http://advancemame.sourceforge.net/comp-readme.html" |
42 |
-SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="GPL-2 LGPL-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 x86 ~x86-fbsd" |
47 |
-IUSE="png mng" |
48 |
- |
49 |
-DEPEND="sys-libs/zlib |
50 |
- app-arch/bzip2" |
51 |
-RDEPEND="${DEPEND}" |
52 |
- |
53 |
-RESTRICT="test" #282441 |
54 |
- |
55 |
-src_prepare() { |
56 |
- # bzip2 support wont compile, here's a quick patch. |
57 |
- epatch "${FILESDIR}"/${PN}-1.13-bzip2-compile-plz-k-thx.diff |
58 |
-} |
59 |
- |
60 |
-src_configure() { |
61 |
- econf --enable-bzip2 |
62 |
-} |
63 |
- |
64 |
-src_install() { |
65 |
- dobin advdef advzip |
66 |
- |
67 |
- if use png; then |
68 |
- dobin advpng |
69 |
- doman doc/advpng.1 |
70 |
- fi |
71 |
- |
72 |
- if use mng; then |
73 |
- dobin advmng |
74 |
- doman doc/advmng.1 |
75 |
- fi |
76 |
- |
77 |
- dodoc HISTORY AUTHORS README |
78 |
- doman doc/advdef.1 doc/advzip.1 |
79 |
-} |
80 |
|
81 |
diff --git a/app-arch/advancecomp/files/advancecomp-1.13-bzip2-compile-plz-k-thx.diff b/app-arch/advancecomp/files/advancecomp-1.13-bzip2-compile-plz-k-thx.diff |
82 |
deleted file mode 100644 |
83 |
index f20bba3373a..00000000000 |
84 |
--- a/app-arch/advancecomp/files/advancecomp-1.13-bzip2-compile-plz-k-thx.diff |
85 |
+++ /dev/null |
86 |
@@ -1,61 +0,0 @@ |
87 |
---- advancecomp-1.13.orig/compress.cc 2004-12-16 23:19:17.779774920 -0200 |
88 |
-+++ advancecomp-1.13/compress.cc 2004-12-16 23:36:05.356599960 -0200 |
89 |
-@@ -181,16 +181,17 @@ |
90 |
- } |
91 |
- |
92 |
- #if USE_BZIP2 |
93 |
--bool compress_bzip2(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned& out_size, int blocksize, int workfactor) |
94 |
-+ |
95 |
-+bool compress_bzip2(const char* in_data, unsigned in_size, char* out_data, unsigned& out_size, int blocksize, int workfactor) |
96 |
- { |
97 |
-- return BZ2_bzBuffToBuffCompress(out_data, &out_size, const_cast<unsigned char*>(in_data), in_size, blocksize, 0, workfactor) == BZ_OK; |
98 |
-+ return BZ2_bzBuffToBuffCompress(out_data,&out_size,const_cast<char*>(in_data),in_size,blocksize,0,workfactor) == BZ_OK; |
99 |
- } |
100 |
- |
101 |
--bool decompress_bzip2(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned out_size) |
102 |
-+bool decompress_bzip2(const char* in_data, unsigned in_size, char* out_data, unsigned out_size) |
103 |
- { |
104 |
- unsigned size = out_size; |
105 |
- |
106 |
-- if (BZ2_bzBuffToBuffDecompress(out_data, &size, const_cast<unsigned char*>(in_data), in_size, 0, 0)!=BZ_OK) |
107 |
-+ if (BZ2_bzBuffToBuffDecompress(out_data,&size,const_cast< char*>(in_data),in_size,0,0)!=BZ_OK) |
108 |
- return false; |
109 |
- |
110 |
- if (size != out_size) |
111 |
---- advancecomp-1.13.orig/compress.h 2004-12-16 23:19:17.778775072 -0200 |
112 |
-+++ advancecomp-1.13/compress.h 2004-12-16 23:37:00.178265800 -0200 |
113 |
-@@ -37,8 +37,8 @@ |
114 |
- bool decompress_deflate_zlib(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned out_size); |
115 |
- bool compress_deflate_zlib(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned& out_size, int compression_level, int strategy, int mem_level); |
116 |
- |
117 |
--bool decompress_bzip2(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned out_size); |
118 |
--bool compress_bzip2(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned& out_size, int blocksize, int workfactor); |
119 |
-+bool decompress_bzip2(const char* in_data, unsigned in_size, char* out_data, unsigned out_size); |
120 |
-+bool compress_bzip2(const char* in_data, unsigned in_size, char* out_data, unsigned& out_size, int blocksize, int workfactor); |
121 |
- |
122 |
- bool decompress_rfc1950_zlib(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned out_size); |
123 |
- bool compress_rfc1950_zlib(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned& out_size, int compression_level, int strategy, int mem_level); |
124 |
---- advancecomp-1.13.orig/stamp-h1 1969-12-31 21:00:00.000000000 -0300 |
125 |
-+++ advancecomp-1.13/stamp-h1 2004-12-16 23:37:46.906162080 -0200 |
126 |
-@@ -0,0 +1 @@ |
127 |
-+timestamp for config.h |
128 |
---- advancecomp-1.13.orig/zipsh.cc 2004-12-16 23:19:17.779774920 -0200 |
129 |
-+++ advancecomp-1.13/zipsh.cc 2004-12-16 23:39:30.099474312 -0200 |
130 |
-@@ -39,7 +39,7 @@ |
131 |
- } |
132 |
- #ifdef USE_BZIP2 |
133 |
- } else if (info.compression_method == ZIP_METHOD_BZIP2) { |
134 |
-- if (!decompress_bzip2(data, compressed_size_get(), uncompressed_data, uncompressed_size_get())) { |
135 |
-+ if (!decompress_bzip2((char *)data,compressed_size_get(),(char *)uncompressed_data,uncompressed_size_get())) { |
136 |
- throw error_invalid() << "Invalid compressed data on file " << name_get(); |
137 |
- } |
138 |
- #endif |
139 |
-@@ -247,7 +247,7 @@ |
140 |
- c1_met = ZIP_METHOD_BZIP2; |
141 |
- c1_fla = 0; |
142 |
- |
143 |
-- if (!compress_bzip2(uncompressed_data, uncompressed_size_get(), c1_data, c1_size, bzip2_level, bzip2_workfactor)) { |
144 |
-+ if (!compress_bzip2((char *)uncompressed_data,uncompressed_size_get(),(char *)c1_data,c1_size,bzip2_level,bzip2_workfactor)) { |
145 |
- data_free(c1_data); |
146 |
- c1_data = 0; |
147 |
- } |