summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-04-18 20:04:57 +0000
committerMichael Weber <xmw@gentoo.org>2013-04-18 20:04:57 +0000
commitba800abab91d35c8aa59ad46f1115028bae9122f (patch)
tree695d2f01229f5b0e1e58a216ceaf0d60638aff14 /app-arch/advancecomp
parentrevert the check for CONFIG_FW_LOADER_USER_HELPER per mgorny since we force t... (diff)
downloadgentoo-2-ba800abab91d35c8aa59ad46f1115028bae9122f.tar.gz
gentoo-2-ba800abab91d35c8aa59ad46f1115028bae9122f.tar.bz2
gentoo-2-ba800abab91d35c8aa59ad46f1115028bae9122f.zip
Version bump reported by Mr. Anderson as bug 465890. Taking maint.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'app-arch/advancecomp')
-rw-r--r--app-arch/advancecomp/ChangeLog8
-rw-r--r--app-arch/advancecomp/advancecomp-1.17.ebuild52
-rw-r--r--app-arch/advancecomp/files/advancecomp-1.17-bzip2-compile.patch16
-rw-r--r--app-arch/advancecomp/metadata.xml3
4 files changed, 77 insertions, 2 deletions
diff --git a/app-arch/advancecomp/ChangeLog b/app-arch/advancecomp/ChangeLog
index 3a6bb34f81aa..8f09a977d134 100644
--- a/app-arch/advancecomp/ChangeLog
+++ b/app-arch/advancecomp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-arch/advancecomp
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/advancecomp/ChangeLog,v 1.42 2013/04/02 20:55:35 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/advancecomp/ChangeLog,v 1.43 2013/04/18 20:04:57 xmw Exp $
+
+*advancecomp-1.17 (18 Apr 2013)
+
+ 18 Apr 2013; Michael Weber <xmw@gentoo.org> +advancecomp-1.17.ebuild,
+ +files/advancecomp-1.17-bzip2-compile.patch, metadata.xml:
+ Version bump reported by Mr. Anderson as bug 465890. Taking maint.
02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> advancecomp-1.15.ebuild:
Stable for ppc64, wrt bug #462890
diff --git a/app-arch/advancecomp/advancecomp-1.17.ebuild b/app-arch/advancecomp/advancecomp-1.17.ebuild
new file mode 100644
index 000000000000..cbae928b79a6
--- /dev/null
+++ b/app-arch/advancecomp/advancecomp-1.17.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/advancecomp/advancecomp-1.17.ebuild,v 1.1 2013/04/18 20:04:57 xmw Exp $
+
+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"
+
+DEPEND="app-arch/bzip2
+ sys-libs/zlib
+ test? (
+ app-text/tofrodos
+ dev-util/valgrind
+ )"
+RDEPEND="${DEPEND}"
+
+#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/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
index d450e1ab341e..454495193633 100644
--- a/app-arch/advancecomp/metadata.xml
+++ b/app-arch/advancecomp/metadata.xml
@@ -2,7 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
</maintainer>
<longdescription lang="en">
AdvanceCOMP is a set of recompression utilities for .PNG, .MNG, .ZIP