summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-05-13 10:17:41 +0000
committerPeter Volkov <pva@gentoo.org>2008-05-13 10:17:41 +0000
commit3a82b5cc13b827ed3b14589bfd97b7e8347c571f (patch)
tree2e1f4a26d9e3e881214b5d1db8cd228d57886fa8
parentVersion bump (diff)
downloadgentoo-2-3a82b5cc13b827ed3b14589bfd97b7e8347c571f.tar.gz
gentoo-2-3a82b5cc13b827ed3b14589bfd97b7e8347c571f.tar.bz2
gentoo-2-3a82b5cc13b827ed3b14589bfd97b7e8347c571f.zip
Moved from app-doc/kchmviewer, bug #220741, thank Antek Grzymala for report.
(Portage version: 2.1.4.4, RepoMan options: --force)
-rw-r--r--app-text/kchmviewer/ChangeLog170
-rw-r--r--app-text/kchmviewer/Manifest7
-rw-r--r--app-text/kchmviewer/files/kchmviewer-3.1_p2-gcc43.patch12
-rw-r--r--app-text/kchmviewer/kchmviewer-3.1_p2.ebuild57
-rw-r--r--app-text/kchmviewer/kchmviewer-4.0_beta2.ebuild39
-rw-r--r--app-text/kchmviewer/metadata.xml19
6 files changed, 304 insertions, 0 deletions
diff --git a/app-text/kchmviewer/ChangeLog b/app-text/kchmviewer/ChangeLog
new file mode 100644
index 000000000000..882132c39e1c
--- /dev/null
+++ b/app-text/kchmviewer/ChangeLog
@@ -0,0 +1,170 @@
+# ChangeLog for app-doc/kchmviewer
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/ChangeLog,v 1.1 2008/05/13 10:17:40 pva Exp $
+
+ 13 May 2008; Peter Volkov <pva@gentoo.org>
+ +files/kchmviewer-3.1_p2-gcc43.patch, +metadata.xml,
+ +kchmviewer-3.1_p2.ebuild, +kchmviewer-4.0_beta2.ebuild:
+ Moved from app-doc/kchmviewer, bug #220741, thank Antek Grzymala for
+ report.
+
+ 13 May 2008; Peter Volkov <pva@gentoo.org> kchmviewer-3.1_p2.ebuild,
+ kchmviewer-4.0_beta2.ebuild:
+ Updated dependency: app-doc/chmlib -> dev-libs/chmlib.
+
+ 27 Apr 2008; Wulf C. Krueger <philantrop@gentoo.org>
+ +files/kchmviewer-3.1_p2-gcc43.patch, kchmviewer-3.1_p2.ebuild:
+ Added a patch for gcc 4.3 compatibility as kindly provided by Joel7987 on
+ bug 218812. Minor QA fixes.
+
+ 09 Apr 2008; Ingmar Vanhassel <ingmar@gentoo.org>
+ -kchmviewer-4.0_beta1.ebuild, kchmviewer-4.0_beta2.ebuild:
+ Make dependencies compatible with split Qt:4. Remove obsolete versions.
+
+ 14 Mar 2008; Ingmar Vanhassel <ingmar@gentoo.org>
+ kchmviewer-3.1_p2.ebuild:
+ Fix kdelibs dependency to pull in a =3.5* version, bug 213417.
+
+ 27 Feb 2008; nixnut <nixnut@gentoo.org> kchmviewer-3.1_p2.ebuild:
+ Added ~ppc wrt bug 207764
+
+*kchmviewer-4.0_beta2 (13 Feb 2008)
+
+ 13 Feb 2008; <pva@gentoo.org> +kchmviewer-4.0_beta2.ebuild:
+ Version bump.
+
+*kchmviewer-4.0_beta1 (28 Sep 2007)
+
+ 28 Sep 2007; <pva@gentoo.org> -files/kchmviewer-2.5-gcc41.patch,
+ -files/kchmviewer-2.6-build-Qt.diff,
+ -files/kchmviewer-3.0-fix-as-needed.diff,
+ -files/kchmviewer-3.0-qt-only-path-fix.diff, -kchmviewer-2.5.ebuild,
+ -kchmviewer-2.6.ebuild, -kchmviewer-2.7.ebuild, -kchmviewer-3.0.ebuild,
+ +kchmviewer-4.0_beta1.ebuild:
+ Version bump. Seems that new version is qt-4 only release. Remove old ebuilds.
+
+ 23 Jul 2007; Christian Faulhammer <opfer@gentoo.org>
+ kchmviewer-3.1_p2.ebuild:
+ stable x86, bug 186180
+
+ 22 Jul 2007; Wulf C. Krueger <philantrop@gentoo.org>
+ kchmviewer-3.1_p2.ebuild:
+ Marked stable on amd64 as per bug 186180.
+
+*kchmviewer-3.1_p2 (17 Jun 2007)
+
+ 17 Jun 2007; Wulf C. Krueger <philantrop@gentoo.org>
+ +kchmviewer-3.1_p2.ebuild:
+ Version bump. Fixes bug 163264.
+
+ 26 Mar 2007; <pva@gentoo.org> +files/kchmviewer-3.0-fix-as-needed.diff,
+ kchmviewer-3.0.ebuild:
+ Fixed compilation with --as-needed. bug 172147.
+
+ 16 Mar 2007; <pva@gentoo.org> kchmviewer-3.0.ebuild:
+ Fixed .desktop file location. Fixed gentoo->mirror.
+
+ 16 Mar 2007; <pva@gentoo.org> -kchmviewer-1.1.ebuild,
+ -kchmviewer-1.2.ebuild, -kchmviewer-1.3.ebuild, -kchmviewer-2.0.ebuild,
+ -kchmviewer-2.0-r1.ebuild, kchmviewer-3.0.ebuild:
+ Cleaning old versions.
+
+*kchmviewer-3.0 (16 Mar 2007)
+
+ 16 Mar 2007; <pva@gentoo.org> +files/kchmviewer-3.0-qt-only-path-fix.diff,
+ +kchmviewer-3.0.ebuild:
+ Version bump. Fixed bug #129225 reported by Mindphaser <mindo83 AT
+ t-online.de> and many others.
+
+ 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
+ Transition to Manifest2.
+
+*kchmviewer-2.7 (09 Dec 2006)
+
+ 09 Dec 2006; Peter Volkov <pva@gentoo.org> metadata.xml,
+ +kchmviewer-2.7.ebuild:
+ Version bump. Partially fixes bug #129225. Took maintaining. Added
+ <longdescription>
+
+ 10 Oct 2006; Jason Huebel <jhuebel@gentoo.org> kchmviewer-2.5.ebuild:
+ stable on amd64
+
+ 13 Sep 2006; <ticho@gentoo.org> kchmviewer-2.5.ebuild:
+ Stable on x86, bug #147400.
+
+ 19 Aug 2006; Carsten Lohrke <carlo@gentoo.org>
+ +files/kchmviewer-2.6-build-Qt.diff, kchmviewer-2.6.ebuild:
+ Fix bug #144315.
+
+*kchmviewer-2.6 (15 Aug 2006)
+
+ 15 Aug 2006; Carsten Lohrke <carlo@gentoo.org> +kchmviewer-2.6.ebuild:
+ Version bump.
+
+ 15 Aug 2006; Carsten Lohrke <carlo@gentoo.org> kchmviewer-2.0-r1.ebuild,
+ kchmviewer-2.5.ebuild:
+ Fix chmlib dependency, bug #143611.
+
+ 25 Jun 2006; Simon Stelling <blubb@gentoo.org> kchmviewer-2.0-r1.ebuild:
+ stable on amd64
+
+ 07 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/kchmviewer-2.5-gcc41.patch, kchmviewer-2.5.ebuild:
+ Add patch to build with GCC 4.1, patch from Sebastian T. Hafner in bug #129094.
+
+*kchmviewer-2.5 (06 Apr 2006)
+
+ 06 Apr 2006; Carsten Lohrke <carlo@gentoo.org> +kchmviewer-2.5.ebuild:
+ Version bump.
+
+*kchmviewer-2.0-r1 (12 Feb 2006)
+
+ 12 Feb 2006; Carsten Lohrke <carlo@gentoo.org> +kchmviewer-2.0-r1.ebuild:
+ Version bump.
+
+*kchmviewer-2.0 (06 Feb 2006)
+
+ 06 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> +kchmviewer-2.0.ebuild:
+ Bump to latest version from upstream. Bug #121829.
+
+*kchmviewer-1.3 (29 Nov 2005)
+
+ 29 Nov 2005; Gregorio Guidi <greg_g@gentoo.org> +kchmviewer-1.3.ebuild:
+ New version.
+
+*kchmviewer-1.2 (25 Nov 2005)
+
+ 25 Nov 2005; Gregorio Guidi <greg_g@gentoo.org> +kchmviewer-1.2.ebuild:
+ New version (#113244).
+
+*kchmviewer-1.1 (30 Oct 2005)
+
+ 30 Oct 2005; Carsten Lohrke <carlo@gentoo.org> -kchmviewer-1.0.ebuild,
+ +kchmviewer-1.1.ebuild:
+ version bump
+
+ 11 Aug 2005; Luis Medinas <metalgod@gentoo.org> kchmviewer-1.0.ebuild:
+ Added ~amd64 keywords. Closes bug #100682.
+
+*kchmviewer-1.0 (01 Aug 2005)
+
+ 01 Aug 2005; Gregorio Guidi <greg_g@gentoo.org> +kchmviewer-1.0.ebuild:
+ New version.
+
+*kchmviewer-0.92 (09 Jul 2005)
+
+ 09 Jul 2005; Gregorio Guidi <greg_g@gentoo.org> +kchmviewer-0.92.ebuild:
+ New version (#97467).
+
+ 11 Jun 2005; Dominik Stadler <centic@gentoo.org> kchmviewer-0.9.ebuild:
+ Adjust to make use of kde-ebuild-functionality, should fix Bug 91193 and others.
+
+*kchmviewer-0.9 (09 Jun 2005)
+
+ 09 Jun 2005; Gregorio Guidi <greg_g@gentoo.org>
+ +files/kchmviewer-0.9-pic.patch, +kchmviewer-0.9.ebuild:
+ New version. Fixes access violations (#95459).
+
+ 06 Jun 2005; Dominik Stadler <centic@gentoo.org> ChangeLog:
+ New package, fixes Bug 91193
+
diff --git a/app-text/kchmviewer/Manifest b/app-text/kchmviewer/Manifest
new file mode 100644
index 000000000000..2f096de80ab5
--- /dev/null
+++ b/app-text/kchmviewer/Manifest
@@ -0,0 +1,7 @@
+AUX kchmviewer-3.1_p2-gcc43.patch 496 RMD160 597af1509a949d6710ac63878a46851d774c4424 SHA1 d1aae7dbc5ac1d87d364ef58de857a9a1f90e0d2 SHA256 6157ab84b0cd46814eb2b667c546d2a15a22cc7df760c7000e6f52c3f4cf86dd
+DIST kchmviewer-3.1-2.tar.gz 945640 RMD160 21a38d0cfcf0d7e32b3de6cf34ad0a9ac8019451 SHA1 b89c0f1e56b820de2419e4890efc5537fefc4b1e SHA256 e73b4ec4b1b6decbd2ab82f670b843a12813d74653ebc6859deffb3b48abf6db
+DIST kchmviewer-4.0beta2.tar.gz 216989 RMD160 ff9970b44a2017babbcbb7e6d869e284535bcb7f SHA1 0653d334a393b4925c869cefaa0609ad3e5ef50c SHA256 5d2502e4e51d11f5dbf05973079ccedf461c90fd6638f437184c694bd3201cda
+EBUILD kchmviewer-3.1_p2.ebuild 1644 RMD160 801b867b2f320b2079721d895828cabd5c78fcde SHA1 b2e70fe3ca41d8d8a4a9bd4bad4086c76066e479 SHA256 3dc357df20f0f25ab35fb8c451f72eddf2152f0386bdec0e2a45cefcc43acde0
+EBUILD kchmviewer-4.0_beta2.ebuild 906 RMD160 a690f0b53ddeb93497ae099f3df4ee601e014c3f SHA1 3a38f9fe1de125702a0281b645b5120da9230f50 SHA256 f58729bf509aa8ead40a66f50ed8814bbf4774ae9cb0d8fd7753e3da883fd38c
+MISC ChangeLog 5703 RMD160 37d49e3423336b5ff3e3082cfb5287d1a40fba4b SHA1 993f97f7e34499572c66b41b89fa6d2cc07aec23 SHA256 482a18134a59abdc7774db4bcc2f39d5f6c41bba0ae8675e1a8f841e1feda466
+MISC metadata.xml 897 RMD160 7d20769aac85be3dbcdeb662a0e71a67c90413a1 SHA1 f023e57c6fc9e15a961f7e73b251ae4882f32b6f SHA256 8bf8c96465c90869082f2ecf1836c160549e26814d5ec38b7a9d7fe5947d9e1b
diff --git a/app-text/kchmviewer/files/kchmviewer-3.1_p2-gcc43.patch b/app-text/kchmviewer/files/kchmviewer-3.1_p2-gcc43.patch
new file mode 100644
index 000000000000..57e8b4ad4ed7
--- /dev/null
+++ b/app-text/kchmviewer/files/kchmviewer-3.1_p2-gcc43.patch
@@ -0,0 +1,12 @@
+diff -urNad kchmviewer-3.1.orig/lib/libchmfile/libchmfileimpl.h kchmviewer-3.1/lib/libchmfile/libchmfileimpl.h
+--- kchmviewer-3.1.orig/lib/libchmfile/libchmfileimpl.h 2008-04-09 17:33:13.000000000 +0100
++++ kchmviewer-3.1/lib/libchmfile/libchmfileimpl.h 2008-04-09 17:33:59.000000000 +0100
+@@ -25,6 +25,8 @@
+ #include "libchmfile.h"
+ #include "libchmtocimage.h"
+
++#include <sys/types.h> /* for u_int{32,64}_t */
++
+ //! Keeps the intermediate search result
+ class LCHMSearchProgressResult
+ {
diff --git a/app-text/kchmviewer/kchmviewer-3.1_p2.ebuild b/app-text/kchmviewer/kchmviewer-3.1_p2.ebuild
new file mode 100644
index 000000000000..5f7271423610
--- /dev/null
+++ b/app-text/kchmviewer/kchmviewer-3.1_p2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/kchmviewer-3.1_p2.ebuild,v 1.1 2008/05/13 10:17:40 pva Exp $
+
+inherit autotools kde-functions eutils versionator
+
+MY_P="${PN}-$(replace_version_separator 2 '-')"
+MY_P="${MY_P/p}"
+
+DESCRIPTION="KchmViewer is a feature rich chm file viewer, based on Qt."
+HOMEPAGE="http://www.kchmviewer.net/"
+SRC_URI="mirror://sourceforge/kchmviewer/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="arts kde"
+
+DEPEND="=x11-libs/qt-3*
+ dev-libs/chmlib
+ kde? ( =kde-base/kdelibs-3.5* )"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)"
+
+pkg_setup() {
+ if use kde && use arts && ! built_with_use kde-base/kdelibs arts ; then
+ eerror "You are trying to compile ${CATEGORY}/${PF} with the \"arts\" USE flag enabled."
+ eerror "However, $(best_version kde-base/kdelibs) was compiled with this flag disabled."
+ eerror
+ eerror "You must either disable this use flag, or recompile"
+ eerror "$(best_version kde-base/kdelibs) with this use flag enabled."
+ die
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # gcc 4.3 compatibility. Fixes bug 218812.
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+
+ # broken configure script, assure it doesn't fall back to internal libs
+ echo "# We use the external chmlib!" > lib/chmlib/chm_lib.h
+}
+
+src_compile() {
+ set-kdedir 3
+
+ econf $(use_with kde) $(use_with arts) || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "installation failed"
+ dodoc ChangeLog FAQ DCOP-bingings README || die "installing docs failed"
+}
diff --git a/app-text/kchmviewer/kchmviewer-4.0_beta2.ebuild b/app-text/kchmviewer/kchmviewer-4.0_beta2.ebuild
new file mode 100644
index 000000000000..4b3b80e2e461
--- /dev/null
+++ b/app-text/kchmviewer/kchmviewer-4.0_beta2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/kchmviewer-4.0_beta2.ebuild,v 1.1 2008/05/13 10:17:40 pva Exp $
+
+EAPI="1"
+inherit qt4 fdo-mime
+
+MY_P="${PN}-${PV/_beta/beta}"
+
+DESCRIPTION="KchmViewer is a feature rich chm file viewer, based on Qt."
+HOMEPAGE="http://www.kchmviewer.net/"
+SRC_URI="mirror://sourceforge/kchmviewer/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ || ( x11-libs/qt-gui:4 >=x11-libs/qt-4.2 )
+ dev-libs/chmlib"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ eqmake4
+ emake || die "make failed"
+}
+
+src_install() {
+ dobin bin/kchmviewer || die "dobin kchmviewer failed"
+ insinto /usr/share/applications
+ doins lib/kio-msits/kchmviewer.desktop
+ dodoc ChangeLog README DCOP-bingings FAQ
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
diff --git a/app-text/kchmviewer/metadata.xml b/app-text/kchmviewer/metadata.xml
new file mode 100644
index 000000000000..e08fa8b1eadf
--- /dev/null
+++ b/app-text/kchmviewer/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <maintainer>
+ <email>pva@gentoo.org</email>
+ <name>Peter Volkov</name>
+ </maintainer>
+ <longdescription lang="en">
+ KchmViewer is a chm (MS HTML help file format) viewer It uses Trolltech Qt
+ widget library with optional KDE libraries. It does not require KDE, but may
+ be compiled with full KDE support, including KDE widgets and KIO/KHTML. The
+ main advantage of KchmViewer is extra support for non-English languages.
+ Unlike other viewers, KchmViewer in most cases is able to detect help file
+ encoding, correctly shows tables of context of Russian, Korean, Chinese and
+ Japanese help files, and does correct search in non-English help files
+ (search for MBCS languages - ja/ko/ch is still in progress).
+ </longdescription>
+</pkgmetadata>