diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-02-28 12:30:36 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-02-28 12:30:36 +0000 |
commit | 28e48fcb91adab92c7a1d706c0874d3626587913 (patch) | |
tree | 31ffaae2d9b33c13cf3a72f3782333d7ef8b032d /app-arch/advancecomp | |
parent | Initial import. Thanks Honza Macháček and Michelangelo Scopelliti for their... (diff) | |
download | gentoo-2-28e48fcb91adab92c7a1d706c0874d3626587913.tar.gz gentoo-2-28e48fcb91adab92c7a1d706c0874d3626587913.tar.bz2 gentoo-2-28e48fcb91adab92c7a1d706c0874d3626587913.zip |
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-arch/advancecomp')
6 files changed, 0 insertions, 307 deletions
diff --git a/app-arch/advancecomp/advancecomp-1.10.ebuild b/app-arch/advancecomp/advancecomp-1.10.ebuild deleted file mode 100644 index e53e3a11e9c3..000000000000 --- a/app-arch/advancecomp/advancecomp-1.10.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/advancecomp/advancecomp-1.10.ebuild,v 1.9 2005/01/01 11:40:04 eradicator Exp $ - -inherit eutils - -DESCRIPTION="Recompress ZIP, PNG and MNG using deflate 7-Zip, considerably improving compression" -HOMEPAGE="http://advancemame.sourceforge.net/comp-readme.html" -SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="x86 ppc alpha ~amd64" -IUSE="png" - -DEPEND="sys-libs/zlib - app-arch/bzip2" - -src_unpack() { - unpack ${A} - # bzip2 support wont compile, heres a quick patch. - epatch ${FILESDIR}/${P}-64bit.diff - cd ${S}; epatch ${FILESDIR}/${P}-bzip2-compile-plz-k-thx.diff -} - -src_compile() { - econf --enable-bzip2 || die - emake || die -} - -src_install() { - dobin advdef advzip - use png && dobin advpng advmng - - dodoc HISTORY AUTHORS INSTALL README - - doman doc/advdef.1 doc/advzip.1 - use png && doman doc/advmng.1 doc/advpng.1 -} diff --git a/app-arch/advancecomp/advancecomp-1.13.ebuild b/app-arch/advancecomp/advancecomp-1.13.ebuild deleted file mode 100644 index e833c1e4d635..000000000000 --- a/app-arch/advancecomp/advancecomp-1.13.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/advancecomp/advancecomp-1.13.ebuild,v 1.4 2005/02/06 23:41:43 kloeri Exp $ - -inherit eutils - -DESCRIPTION="Recompress ZIP, PNG and MNG using deflate 7-Zip, considerably improving compression" -HOMEPAGE="http://advancemame.sourceforge.net/comp-readme.html" -SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="x86 alpha" -IUSE="png mng" - -DEPEND="sys-libs/zlib app-arch/bzip2" - -src_unpack() { - unpack ${A} - - # bzip2 support wont compile, heres a quick patch. - cd ${S}; epatch ${FILESDIR}/${P}-bzip2-compile-plz-k-thx.diff - - epatch ${FILESDIR}/${P}-64bit.diff -} - -src_compile() { - econf --enable-bzip2 || die - emake || die -} - -src_install() { - dobin advdef advzip - - use png && { - dobin advpng - doman doc/advpng.1 - } - - use mng && { - dobin advmng - doman doc/advmng.1 - } - - dodoc HISTORY AUTHORS INSTALL README - doman doc/advdef.1 doc/advzip.1 -} diff --git a/app-arch/advancecomp/advancecomp-1.14.ebuild b/app-arch/advancecomp/advancecomp-1.14.ebuild deleted file mode 100644 index fec262b7019b..000000000000 --- a/app-arch/advancecomp/advancecomp-1.14.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/advancecomp/advancecomp-1.14.ebuild,v 1.9 2006/11/27 22:25:26 drizzt Exp $ - -inherit eutils - -DESCRIPTION="Recompress ZIP, PNG and MNG using deflate 7-Zip, considerably improving compression" -HOMEPAGE="http://advancemame.sourceforge.net/comp-readme.html" -SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~hppa ppc x86 ~x86-fbsd" -IUSE="png mng" - -DEPEND="sys-libs/zlib app-arch/bzip2" - -src_unpack() { - unpack ${A} - - # bzip2 support wont compile, here's a quick patch. - cd ${S}; epatch ${FILESDIR}/${PN}-1.13-bzip2-compile-plz-k-thx.diff - - epatch ${FILESDIR}/${PN}-1.13-64bit.diff -} - -src_compile() { - econf --enable-bzip2 || die - emake || die -} - -src_install() { - dobin advdef advzip - - use png && { - dobin advpng - doman doc/advpng.1 - } - - use mng && { - dobin advmng - doman doc/advmng.1 - } - - dodoc HISTORY AUTHORS README - doman doc/advdef.1 doc/advzip.1 -} diff --git a/app-arch/advancecomp/files/advancecomp-1.10-64bit.diff b/app-arch/advancecomp/files/advancecomp-1.10-64bit.diff deleted file mode 100644 index e7e36872991f..000000000000 --- a/app-arch/advancecomp/files/advancecomp-1.10-64bit.diff +++ /dev/null @@ -1,56 +0,0 @@ ---- advancecomp-1.10.orig/utility.cc 2004-04-06 20:02:25.000000000 +0200 -+++ advancecomp-1.10/utility.cc 2004-05-29 17:33:00.098153880 +0200 -@@ -416,7 +416,7 @@ - { - ostringstream os; - -- unsigned pos = path.rfind('.'); -+ string::size_type pos = path.rfind('.'); - - if (pos == string::npos) - os << path << "."; -@@ -433,7 +433,7 @@ - */ - string file_dir(const string& path) throw () - { -- unsigned pos = path.rfind('/'); -+ string::size_type pos = path.rfind('/'); - if (pos == string::npos) { - return ""; - } else { -@@ -446,7 +446,7 @@ - */ - string file_name(const string& path) throw () - { -- unsigned pos = path.rfind('/'); -+ string::size_type pos = path.rfind('/'); - if (pos == string::npos) { - return path; - } else { -@@ -459,7 +459,7 @@ - */ - string file_basepath(const string& path) throw () - { -- unsigned dot = path.rfind('.'); -+ string::size_type dot = path.rfind('.'); - if (dot == string::npos) - return path; - else -@@ -472,7 +472,7 @@ - string file_basename(const string& path) throw () - { - string name = file_name(path); -- unsigned dot = name.rfind('.'); -+ string::size_type dot = name.rfind('.'); - if (dot == string::npos) - return name; - else -@@ -485,7 +485,7 @@ - string file_ext(const string& path) throw () - { - string name = file_name(path); -- unsigned dot = name.rfind('.'); -+ string::size_type dot = name.rfind('.'); - if (dot == string::npos) - return ""; - else diff --git a/app-arch/advancecomp/files/advancecomp-1.10-bzip2-compile-plz-k-thx.diff b/app-arch/advancecomp/files/advancecomp-1.10-bzip2-compile-plz-k-thx.diff deleted file mode 100644 index c3f89e9c81d1..000000000000 --- a/app-arch/advancecomp/files/advancecomp-1.10-bzip2-compile-plz-k-thx.diff +++ /dev/null @@ -1,62 +0,0 @@ -diff -ruNd advancecomp-1.10.orig/compress.cc advancecomp-1.10/compress.cc ---- advancecomp-1.10.orig/compress.cc 2004-04-02 16:43:52.000000000 +0100 -+++ advancecomp-1.10/compress.cc 2004-05-24 17:56:18.940619088 +0100 -@@ -179,14 +179,14 @@ - } - - #if USE_BZIP2 --bool compress_bzip2(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned& out_size, int blocksize, int workfactor) { -- return BZ2_bzBuffToBuffCompress(out_data,&out_size,const_cast<unsigned char*>(in_data),in_size,blocksize,0,workfactor) == BZ_OK; -+bool compress_bzip2(const char* in_data, unsigned in_size, char* out_data, unsigned& out_size, int blocksize, int workfactor) { -+ return BZ2_bzBuffToBuffCompress(out_data,&out_size,const_cast<char*>(in_data),in_size,blocksize,0,workfactor) == BZ_OK; - } - --bool decompress_bzip2(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned out_size) { -+bool decompress_bzip2(const char* in_data, unsigned in_size, char* out_data, unsigned out_size) { - unsigned size = out_size; - -- if (BZ2_bzBuffToBuffDecompress(out_data,&size,const_cast<unsigned char*>(in_data),in_size,0,0)!=BZ_OK) -+ if (BZ2_bzBuffToBuffDecompress(out_data,&size,const_cast< char*>(in_data),in_size,0,0)!=BZ_OK) - return false; - - if (size != out_size) -diff -ruNd advancecomp-1.10.orig/compress.h advancecomp-1.10/compress.h ---- advancecomp-1.10.orig/compress.h 2003-11-02 20:09:41.000000000 +0000 -+++ advancecomp-1.10/compress.h 2004-05-24 17:56:18.941618936 +0100 -@@ -40,8 +40,8 @@ - bool decompress_deflate_zlib(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned out_size); - 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); - --bool decompress_bzip2(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned out_size); --bool compress_bzip2(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned& out_size, int blocksize, int workfactor); -+bool decompress_bzip2(const char* in_data, unsigned in_size, char* out_data, unsigned out_size); -+bool compress_bzip2(const char* in_data, unsigned in_size, char* out_data, unsigned& out_size, int blocksize, int workfactor); - - bool decompress_rfc1950_zlib(const unsigned char* in_data, unsigned in_size, unsigned char* out_data, unsigned out_size); - 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); -diff -ruNd advancecomp-1.10.orig/stamp-h1 advancecomp-1.10/stamp-h1 ---- advancecomp-1.10.orig/stamp-h1 1970-01-01 01:00:00.000000000 +0100 -+++ advancecomp-1.10/stamp-h1 2004-05-24 17:56:18.942618784 +0100 -@@ -0,0 +1 @@ -+timestamp for config.h -diff -ruNd advancecomp-1.10.orig/zipsh.cc advancecomp-1.10/zipsh.cc ---- advancecomp-1.10.orig/zipsh.cc 2004-04-02 17:13:02.000000000 +0100 -+++ advancecomp-1.10/zipsh.cc 2004-05-24 17:56:18.943618632 +0100 -@@ -39,7 +39,7 @@ - } - #ifdef USE_BZIP2 - } else if (info.compression_method == ZIP_METHOD_BZIP2) { -- if (!decompress_bzip2(data,compressed_size_get(),uncompressed_data,uncompressed_size_get())) { -+ if (!decompress_bzip2((char *)data,compressed_size_get(),(char *)uncompressed_data,uncompressed_size_get())) { - data_free(uncompressed_data); - throw error() << "Invalid compressed data on file " << name_get(); - } -@@ -247,7 +247,7 @@ - c1_met = ZIP_METHOD_BZIP2; - c1_fla = 0; - -- if (!compress_bzip2(uncompressed_data,uncompressed_size_get(),c1_data,c1_size,bzip2_level,bzip2_workfactor)) { -+ if (!compress_bzip2((char *)uncompressed_data,uncompressed_size_get(),(char *)c1_data,c1_size,bzip2_level,bzip2_workfactor)) { - data_free(c1_data); - c1_data = 0; - } diff --git a/app-arch/advancecomp/files/advancecomp-1.13-64bit.diff b/app-arch/advancecomp/files/advancecomp-1.13-64bit.diff deleted file mode 100644 index d1934c23e5e8..000000000000 --- a/app-arch/advancecomp/files/advancecomp-1.13-64bit.diff +++ /dev/null @@ -1,56 +0,0 @@ ---- advancecomp-1.13.orig/file.cc 2004-12-16 23:19:17.778775072 -0200 -+++ advancecomp-1.13/file.cc 2004-12-16 23:28:55.382965888 -0200 -@@ -295,7 +295,7 @@ - { - ostringstream os; - -- unsigned pos = path.rfind('.'); -+ string::size_type pos = path.rfind('.'); - - if (pos == string::npos) - os << path << "."; -@@ -312,7 +312,7 @@ - */ - string file_dir(const string& path) throw () - { -- unsigned pos = path.rfind('/'); -+ string::size_type pos = path.rfind('/'); - if (pos == string::npos) { - return ""; - } else { -@@ -325,7 +325,7 @@ - */ - string file_name(const string& path) throw () - { -- unsigned pos = path.rfind('/'); -+ string::size_type pos = path.rfind('/'); - if (pos == string::npos) { - return path; - } else { -@@ -338,7 +338,7 @@ - */ - string file_basepath(const string& path) throw () - { -- unsigned dot = path.rfind('.'); -+ string::size_type dot = path.rfind('.'); - if (dot == string::npos) - return path; - else -@@ -351,7 +351,7 @@ - string file_basename(const string& path) throw () - { - string name = file_name(path); -- unsigned dot = name.rfind('.'); -+ string::size_type dot = name.rfind('.'); - if (dot == string::npos) - return name; - else -@@ -364,7 +364,7 @@ - string file_ext(const string& path) throw () - { - string name = file_name(path); -- unsigned dot = name.rfind('.'); -+ string::size_type dot = name.rfind('.'); - if (dot == string::npos) - return ""; - else |