diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-arch/advancecomp | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-arch/advancecomp')
-rw-r--r-- | app-arch/advancecomp/Manifest | 4 | ||||
-rw-r--r-- | app-arch/advancecomp/advancecomp-1.15.ebuild | 47 | ||||
-rw-r--r-- | app-arch/advancecomp/advancecomp-1.16.ebuild | 43 | ||||
-rw-r--r-- | app-arch/advancecomp/advancecomp-1.17.ebuild | 52 | ||||
-rw-r--r-- | app-arch/advancecomp/advancecomp-1.19.ebuild | 48 | ||||
-rw-r--r-- | app-arch/advancecomp/files/advancecomp-1.13-bzip2-compile-plz-k-thx.diff | 61 | ||||
-rw-r--r-- | app-arch/advancecomp/files/advancecomp-1.17-bzip2-compile.patch | 16 | ||||
-rw-r--r-- | app-arch/advancecomp/metadata.xml | 15 |
8 files changed, 286 insertions, 0 deletions
diff --git a/app-arch/advancecomp/Manifest b/app-arch/advancecomp/Manifest new file mode 100644 index 000000000000..0354d4734c70 --- /dev/null +++ b/app-arch/advancecomp/Manifest @@ -0,0 +1,4 @@ +DIST advancecomp-1.15.tar.gz 259340 SHA256 0d235c78224d450666bdd852a301159d53b9570e9cd28f015e222797ba4d5fe1 SHA512 18d6abb4c739c16e340bad2e87f89b545d0ecb660897a109a038b2a236bab6ce3d3b3ad572839fb4ce7981c5f150d8ed2447654291a8d808bbb85e70152e47ba WHIRLPOOL 34b44dd464092f442d5b9945e97abb4cd6fee1363c61df7573792d6a315cdab64197653b63c545b55587f37da7353e68d4cc3e26cbad961e700729b0a3f76aa2 +DIST advancecomp-1.16.tar.gz 280510 SHA256 de5617d561935f41522f04e332d9db01f910c2acb3eb231d2fb0774a86539bc0 SHA512 51e80758bb290a59b1d2faaccd7b0ead18ce6abfd85e47a57d3123e80334fe0676d4e6ec82496c228db4aef46a18050409811c7f74c833b7aa52bc57ff4aaae5 WHIRLPOOL 90e1c5c2c48dde3d9646691a92188ff28f58fd11a1e632492882e190a7090364d8bc9018e219d55eb5cf67e69e4bd54edbd4c5ac012afa556fdeb03acd8721ec +DIST advancecomp-1.17.tar.gz 1189646 SHA256 856d064e064c6105986b7cc29d6e2cba477e9ffca4a8830631161f5e7cd18e82 SHA512 8a75204ae98e3b0a55eea2ba82f23a31203d052b568031529b08bcd3028a241c64e30537db6d360d1a7717a7d0f8ea087340121c0224e288abd62267abe7287d WHIRLPOOL fc2ef6b9b767f8a9cffbe4f8493ca279aec1883b105845a284f8c7c88168c36552e14d50fbc5953fa2fc4b60b6b5af9ae8dbafde4c04217693993b44fbfdc185 +DIST advancecomp-1.19.tar.gz 1193228 SHA256 d594c50c3da356aa961f75b00e958a4ed1e142c6530b42926092e46419af3047 SHA512 9bce761f315e94ea9ebe59273cc810297e6227d914b498501f159f05c3a002236570c2d4248b397c5cdd3cf9a60565bb8d7f1470b079d5f50249031d3c78348d WHIRLPOOL cbf67f173d4cac1ef90266c5dfc9f8b65903828de26bdbafa467aada602d5858eb5eeeddaba08d665dad8a829d394e60d67bb6100322fa501c7d80144e74e91f diff --git a/app-arch/advancecomp/advancecomp-1.15.ebuild b/app-arch/advancecomp/advancecomp-1.15.ebuild new file mode 100644 index 000000000000..cd7939ba0ba7 --- /dev/null +++ b/app-arch/advancecomp/advancecomp-1.15.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +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 ~arm hppa ppc ppc64 x86 ~x86-fbsd" +IUSE="png mng" + +DEPEND="sys-libs/zlib + app-arch/bzip2" +RDEPEND="${DEPEND}" + +RESTRICT="test" #282441 + +src_prepare() { + # bzip2 support wont compile, here's a quick patch. + epatch "${FILESDIR}"/${PN}-1.13-bzip2-compile-plz-k-thx.diff +} + +src_configure() { + econf --enable-bzip2 +} + +src_install() { + dobin advdef advzip + + if use png; then + dobin advpng + doman doc/advpng.1 + fi + + if use mng; then + dobin advmng + doman doc/advmng.1 + fi + + dodoc HISTORY AUTHORS README + doman doc/advdef.1 doc/advzip.1 +} diff --git a/app-arch/advancecomp/advancecomp-1.16.ebuild b/app-arch/advancecomp/advancecomp-1.16.ebuild new file mode 100644 index 000000000000..2061e9417dcf --- /dev/null +++ b/app-arch/advancecomp/advancecomp-1.16.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="png mng" + +DEPEND=" + app-arch/bzip2 + sys-libs/zlib +" +RDEPEND="${DEPEND}" + +RESTRICT="test" #282441 + +src_configure() { + econf --enable-bzip2 +} + +src_install() { + dobin advdef advzip + + if use png; then + dobin advpng + doman doc/advpng.1 + fi + + if use mng; then + dobin advmng + doman doc/advmng.1 + fi + + dodoc HISTORY AUTHORS README + doman doc/advdef.1 doc/advzip.1 +} diff --git a/app-arch/advancecomp/advancecomp-1.17.ebuild b/app-arch/advancecomp/advancecomp-1.17.ebuild new file mode 100644 index 000000000000..25f0ab661094 --- /dev/null +++ b/app-arch/advancecomp/advancecomp-1.17.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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/project/advancemame/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="mng png test" + +RDEPEND="app-arch/bzip2 + sys-libs/zlib" +DEPEND="${RDEPEND} + test? ( + app-text/tofrodos + dev-util/valgrind + )" + +#RESTRICT="test" #282441 + +src_prepare() { + epatch "${FILESDIR}"/${P}-bzip2-compile.patch +} + +src_configure() { + econf --enable-bzip2 \ + $(use_enable test valgrind) +} + +src_install() { + dobin advdef advzip + + if use png; then + dobin advpng + doman doc/advpng.1 + fi + + if use mng; then + dobin advmng + doman doc/advmng.1 + fi + + dodoc HISTORY AUTHORS README + doman doc/advdef.1 doc/advzip.1 +} diff --git a/app-arch/advancecomp/advancecomp-1.19.ebuild b/app-arch/advancecomp/advancecomp-1.19.ebuild new file mode 100644 index 000000000000..a5ea44e1117e --- /dev/null +++ b/app-arch/advancecomp/advancecomp-1.19.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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/project/advancemame/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="mng png test" + +RDEPEND="app-arch/bzip2 + sys-libs/zlib" +DEPEND="${RDEPEND}" +# test? ( +# app-text/tofrodos +# dev-util/valgrind +# )" + +RESTRICT="test" #282441, #523212 + +src_configure() { + econf --enable-bzip2 \ + $(use_enable test valgrind) +} + +src_install() { + dobin advdef advzip + + if use png; then + dobin advpng + doman doc/advpng.1 + fi + + if use mng; then + dobin advmng + doman doc/advmng.1 + fi + + dodoc HISTORY AUTHORS README + doman doc/advdef.1 doc/advzip.1 +} 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 new file mode 100644 index 000000000000..f20bba3373a2 --- /dev/null +++ b/app-arch/advancecomp/files/advancecomp-1.13-bzip2-compile-plz-k-thx.diff @@ -0,0 +1,61 @@ +--- advancecomp-1.13.orig/compress.cc 2004-12-16 23:19:17.779774920 -0200 ++++ advancecomp-1.13/compress.cc 2004-12-16 23:36:05.356599960 -0200 +@@ -181,16 +181,17 @@ + } + + #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) ++ ++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<unsigned char*>(in_data), in_size, blocksize, 0, workfactor) == BZ_OK; ++ 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) +--- advancecomp-1.13.orig/compress.h 2004-12-16 23:19:17.778775072 -0200 ++++ advancecomp-1.13/compress.h 2004-12-16 23:37:00.178265800 -0200 +@@ -37,8 +37,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); +--- advancecomp-1.13.orig/stamp-h1 1969-12-31 21:00:00.000000000 -0300 ++++ advancecomp-1.13/stamp-h1 2004-12-16 23:37:46.906162080 -0200 +@@ -0,0 +1 @@ ++timestamp for config.h +--- advancecomp-1.13.orig/zipsh.cc 2004-12-16 23:19:17.779774920 -0200 ++++ advancecomp-1.13/zipsh.cc 2004-12-16 23:39:30.099474312 -0200 +@@ -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())) { + throw error_invalid() << "Invalid compressed data on file " << name_get(); + } + #endif +@@ -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.17-bzip2-compile.patch b/app-arch/advancecomp/files/advancecomp-1.17-bzip2-compile.patch new file mode 100644 index 000000000000..726c63cf532d --- /dev/null +++ b/app-arch/advancecomp/files/advancecomp-1.17-bzip2-compile.patch @@ -0,0 +1,16 @@ +--- advancecomp-1.17/zipsh.cc ++++ advancecomp-1.17/zipsh.cc +@@ -215,11 +215,11 @@ + } + + #if USE_BZIP2 +- if (level != shrink_fast && !standard) { ++ if (level.level != shrink_fast && !standard) { + unsigned bzip2_level; + unsigned bzip2_workfactor; + +- switch (level) { ++ switch (level.level) { + case shrink_normal : + bzip2_level = 6; + bzip2_workfactor = 30; diff --git a/app-arch/advancecomp/metadata.xml b/app-arch/advancecomp/metadata.xml new file mode 100644 index 000000000000..50789f6b11fe --- /dev/null +++ b/app-arch/advancecomp/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <longdescription lang="en"> + AdvanceCOMP is a set of recompression utilities for .PNG, .MNG, .ZIP + and .GZ files + </longdescription> + <upstream> + <remote-id type="sourceforge">advancemame</remote-id> + </upstream> +</pkgmetadata> |