summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-08 19:18:27 +0000
committerJustin Lecher <jlec@gentoo.org>2013-03-08 19:18:27 +0000
commita0eee99162cce5916e061795751ce74bc94346e0 (patch)
treeccf7cd56c6a4df6ede9355016d56205c7d6039df /dev-libs/quazip
parentStable for amd64, wrt bug #460776 (diff)
downloadgentoo-2-a0eee99162cce5916e061795751ce74bc94346e0.tar.gz
gentoo-2-a0eee99162cce5916e061795751ce74bc94346e0.tar.bz2
gentoo-2-a0eee99162cce5916e061795751ce74bc94346e0.zip
dev-libs/quazip: Version bump, #460804; swicth from cmake-utils.eclass to qt4-r2
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-libs/quazip')
-rw-r--r--dev-libs/quazip/ChangeLog8
-rw-r--r--dev-libs/quazip/files/quazip-0.5.1-zlib.patch31
-rw-r--r--dev-libs/quazip/metadata.xml8
-rw-r--r--dev-libs/quazip/quazip-0.5.1.ebuild29
4 files changed, 71 insertions, 5 deletions
diff --git a/dev-libs/quazip/ChangeLog b/dev-libs/quazip/ChangeLog
index a2afa289218f..7baa9241dd2c 100644
--- a/dev-libs/quazip/ChangeLog
+++ b/dev-libs/quazip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/quazip
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/ChangeLog,v 1.22 2013/03/02 20:04:12 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/ChangeLog,v 1.23 2013/03/08 19:18:27 jlec Exp $
+
+*quazip-0.5.1 (08 Mar 2013)
+
+ 08 Mar 2013; Justin Lecher <jlec@gentoo.org> +quazip-0.5.1.ebuild,
+ +files/quazip-0.5.1-zlib.patch, metadata.xml:
+ Version bump, #460804; swicth from cmake-utils.eclass to qt4-r2
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> quazip-0.4.4.ebuild,
quazip-0.5.ebuild:
diff --git a/dev-libs/quazip/files/quazip-0.5.1-zlib.patch b/dev-libs/quazip/files/quazip-0.5.1-zlib.patch
new file mode 100644
index 000000000000..690590e765b5
--- /dev/null
+++ b/dev-libs/quazip/files/quazip-0.5.1-zlib.patch
@@ -0,0 +1,31 @@
+diff -up quazip-0.5.1/qztest/testquagzipfile.cpp.zl quazip-0.5.1/qztest/testquagzipfile.cpp
+--- quazip-0.5.1/qztest/testquagzipfile.cpp.zl 2012-09-05 17:24:35.000000000 +0200
++++ quazip-0.5.1/qztest/testquagzipfile.cpp 2013-03-03 14:27:05.168659773 +0100
+@@ -8,9 +8,9 @@ void TestQuaGzipFile::read()
+ {
+ QDir curDir;
+ curDir.mkpath("tmp");
+- voidp gzFile = gzopen("tmp/test.gz", "wb");
+- gzwrite(gzFile, "test", 4);
+- gzclose(gzFile);
++ gzFile File = gzopen("tmp/test.gz", "wb");
++ gzwrite(File, "test", 4);
++ gzclose(File);
+ QuaGzipFile testFile("tmp/test.gz");
+ QVERIFY(testFile.open(QIODevice::ReadOnly));
+ char buf[5];
+@@ -32,11 +32,11 @@ void TestQuaGzipFile::write()
+ QCOMPARE(testFile.write("test", 4), static_cast<qint64>(4));
+ testFile.close();
+ QVERIFY(!testFile.isOpen());
+- voidp gzFile = gzopen("tmp/test.gz", "rb");
++ gzFile File = gzopen("tmp/test.gz", "rb");
+ char buf[5];
+ buf[4] = '\0';
+- QCOMPARE(gzread(gzFile, buf, 5), 4);
+- gzclose(gzFile);
++ QCOMPARE(gzread(File, buf, 5), 4);
++ gzclose(File);
+ QCOMPARE(static_cast<const char*>(buf), "test");
+ curDir.remove("tmp/test.gz");
+ curDir.rmdir("tmp");
diff --git a/dev-libs/quazip/metadata.xml b/dev-libs/quazip/metadata.xml
index d747d72a25b4..4bf6dbc6b1ea 100644
--- a/dev-libs/quazip/metadata.xml
+++ b/dev-libs/quazip/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
- <maintainer>
- <email>sci@gentoo.org</email>
- </maintainer>
+ <herd>sci</herd>
+ <maintainer>
+ <email>sci@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/dev-libs/quazip/quazip-0.5.1.ebuild b/dev-libs/quazip/quazip-0.5.1.ebuild
new file mode 100644
index 000000000000..f653be0cbcb6
--- /dev/null
+++ b/dev-libs/quazip/quazip-0.5.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/quazip-0.5.1.ebuild,v 1.1 2013/03/08 19:18:27 jlec Exp $
+
+EAPI=5
+
+inherit qt4-r2
+
+DESCRIPTION="A simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
+HOMEPAGE="http://quazip.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="
+ sys-libs/zlib[minizip]
+ dev-qt/qtcore:4"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${P}
+
+DOCS="NEWS.txt README.txt"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.4.4-zlib.patch
+ "${FILESDIR}"/${P}-zlib.patch )