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-text/kchmviewer | |
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-text/kchmviewer')
-rw-r--r-- | app-text/kchmviewer/Manifest | 3 | ||||
-rw-r--r-- | app-text/kchmviewer/kchmviewer-6.0-r1.ebuild | 94 | ||||
-rw-r--r-- | app-text/kchmviewer/kchmviewer-6.1.ebuild | 96 | ||||
-rw-r--r-- | app-text/kchmviewer/kchmviewer-7.1.ebuild | 94 | ||||
-rw-r--r-- | app-text/kchmviewer/metadata.xml | 18 |
5 files changed, 305 insertions, 0 deletions
diff --git a/app-text/kchmviewer/Manifest b/app-text/kchmviewer/Manifest new file mode 100644 index 000000000000..915f49e65994 --- /dev/null +++ b/app-text/kchmviewer/Manifest @@ -0,0 +1,3 @@ +DIST kchmviewer-6.0.tar.gz 310642 SHA256 81c856434a86977039c36cb10f2427cc8cb1ea29a778f24fff2285d49c717979 SHA512 029335e4acea711f31c7d17751292c6b755504b97b73864b5d25a7a8a2853c0499658056bad9f9c0b6324f61c024feb5a943dc670fdccb37fcdee1346d7334d9 WHIRLPOOL 2b368654d50d0e553d116ca52f3b1ebe3d709a6b52933d54a54d2360c51356628d58c3cc789e32da54a5897b1cbee185380dbcbe0b6824146ec1ad39dc5c9280 +DIST kchmviewer-6.1.tar.gz 346587 SHA256 f673c3aaca735d799d14b9f6f1b302e9bb77d5c0a0b601b4b5e0beed1c99fe78 SHA512 aabcf98510a5a0cd38f3937e14c86e15b2514cf118e7d17e96a3a4779bb7c0985248f352844a021a66d482cfecdc3c405c816f71a7bec02d1765f8e4d7510126 WHIRLPOOL 1585726cdf4295a49c16733ee9a93d97d6087977dd8e151681bb73d19d34052c9a9423e3488e4152b7736ce8e9bf3cf02be26554ea6fffe2ccaaef9297f593a7 +DIST kchmviewer-7.1.tar.gz 340934 SHA256 a410d0a343d8a871cc860e2983079981806eb70cbf0c970fa1bcf5689821144f SHA512 6e98441358eab74d80adee437b1ad24dbf3e5b5a6ae4c5d7744537a169a6a64303b8e2b4bf1e636c0f6d955bdd1a59b7f1db2d45fc6dfecb6bb3a31088abce61 WHIRLPOOL 6e5bf2639057aa5f55ce25e9d457ca267b2ab015b5553e9edbc7bbe2997bc1d6ebcdadc656b06b15ada115eb196104a3770fdd68234b47bb3f352d3d6a9b23b3 diff --git a/app-text/kchmviewer/kchmviewer-6.0-r1.ebuild b/app-text/kchmviewer/kchmviewer-6.0-r1.ebuild new file mode 100644 index 000000000000..1f8c196310ee --- /dev/null +++ b/app-text/kchmviewer/kchmviewer-6.0-r1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +KDE_REQUIRED="optional" +KDE_LINGUAS="cs fr hu it nl pt_BR ru sv tr uk zh_CN zh_TW" +KDE_LINGUAS_DIR="po" + +inherit base eutils fdo-mime qt4-r2 kde4-base + +DESCRIPTION="A feature rich chm file viewer, based on Qt" +HOMEPAGE="http://www.kchmviewer.net/" +SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="debug kde" + +RDEPEND=" + dev-libs/chmlib + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + dev-qt/qtwebkit:4 + kde? ( + $(add_kdebase_dep kdelibs) + !kde-apps/okular[chm] + ) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + use kde && kde4-base_pkg_setup +} + +src_prepare() { + base_src_prepare + sed -e "s:KDE4_ICON_INSTALL_DIR:ICON_INSTALL_DIR:" \ + -e "s:KDE4_XDG_APPS_INSTALL_DIR:XDG_APPS_INSTALL_DIR:" \ + -i packages/CMakeLists.txt || die + sed -e "s:KDE4_BIN_INSTALL_DIR:BIN_INSTALL_DIR:" \ + -i src/CMakeLists.txt || die + echo "CONFIG += ordered" >> kchmviewer.pro # parallel build fix #281954 + + sed -e "/Encoding=UTF-8/d" \ + -i packages/kchmviewer.desktop || die "fixing .desktop file failed" + + local lang + for lang in ${KDE_LINGUAS} ; do + if ! use linguas_${lang} ; then + rm ${KDE_LINGUAS_DIR}/${PN}_${lang}.po + fi + done +} + +src_configure() { + if use kde; then + kde4-base_src_configure + else + eqmake4 + fi +} + +src_compile() { + if use kde; then + kde4-base_src_compile + else + default + fi +} + +src_install() { + if use kde; then + kde4-base_src_install + else + dobin bin/kchmviewer + domenu packages/kchmviewer.desktop + dodoc ChangeLog README + fi + doicon packages/kchmviewer.png + dodoc DBUS-bindings FAQ +} + +pkg_postinst() { + use kde && kde4-base_pkg_postinst + fdo-mime_desktop_database_update +} + +pkg_postrm() { + use kde && kde4-base_pkg_postrm + fdo-mime_desktop_database_update +} diff --git a/app-text/kchmviewer/kchmviewer-6.1.ebuild b/app-text/kchmviewer/kchmviewer-6.1.ebuild new file mode 100644 index 000000000000..c30003fcadbb --- /dev/null +++ b/app-text/kchmviewer/kchmviewer-6.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_REQUIRED="optional" +KDE_LINGUAS="cs fr hu it nl pt_BR ru sv tr uk zh_CN zh_TW" +inherit eutils fdo-mime kde4-base qmake-utils + +DESCRIPTION="A feature rich chm file viewer, based on Qt" +HOMEPAGE="http://www.kchmviewer.net/" +SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug kde" + +RDEPEND=" + dev-libs/chmlib + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + dev-qt/qtwebkit:4 + kde? ( + $(add_kdebase_dep kdelibs) + !kde-apps/okular[chm] + ) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + use kde && kde4-base_pkg_setup +} + +src_prepare() { + # Don't try to build a file that no longer exists + sed -e "/keyeventfilter.cpp/d" -i src/CMakeLists.txt || die + + # Remove deprecated key + sed -e "/Encoding=UTF-8/d" -i packages/kchmviewer.desktop || die + + local lang + for lang in ${KDE_LINGUAS} ; do + if ! use linguas_${lang} ; then + rm po/${PN}_${lang}.po + fi + done +} + +src_configure() { + if use kde; then + kde4-base_src_configure + else + eqmake4 + fi +} + +src_compile() { + if use kde; then + kde4-base_src_compile + else + default + fi +} + +src_install() { + dodoc DBUS-bindings FAQ + doicon packages/kchmviewer.png + + if use kde; then + kde4-base_src_install + else + dobin bin/kchmviewer + domenu packages/kchmviewer.desktop + dodoc ChangeLog README + fi + +} + +pkg_postinst() { + if use kde; then + kde4-base_pkg_postinst + else + fdo-mime_desktop_database_update + fi +} + +pkg_postrm() { + if use kde; then + kde4-base_pkg_postrm + else + fdo-mime_desktop_database_update + fi +} diff --git a/app-text/kchmviewer/kchmviewer-7.1.ebuild b/app-text/kchmviewer/kchmviewer-7.1.ebuild new file mode 100644 index 000000000000..b3a6fcc0d26b --- /dev/null +++ b/app-text/kchmviewer/kchmviewer-7.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_REQUIRED="optional" +KDE_LINGUAS="cs fr hu it nl pt_BR ru sv tr uk zh_CN zh_TW" +inherit eutils fdo-mime kde4-base qmake-utils + +DESCRIPTION="A feature rich chm file viewer, based on Qt" +HOMEPAGE="http://www.kchmviewer.net/" +SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug kde" + +RDEPEND=" + dev-libs/chmlib + dev-libs/libzip + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + dev-qt/qtwebkit:4 + kde? ( + $(add_kdebase_dep kdelibs) + !kde-apps/okular[chm] + ) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + use kde && kde4-base_pkg_setup +} + +src_prepare() { + local lang + for lang in ${KDE_LINGUAS} ; do + if ! use linguas_${lang} ; then + rm po/${PN}_${lang}.po + fi + done + + # fix parallel build wrt bug #527192 + echo "src.depends = lib" >> ${PN}.pro || die +} + +src_configure() { + if use kde; then + kde4-base_src_configure + else + eqmake4 + fi +} + +src_compile() { + if use kde; then + kde4-base_src_compile + else + default + fi +} + +src_install() { + dodoc DBUS-bindings FAQ + doicon packages/kchmviewer.png + + if use kde; then + kde4-base_src_install + else + dobin bin/kchmviewer + domenu packages/kchmviewer.desktop + dodoc ChangeLog README + fi + +} + +pkg_postinst() { + if use kde; then + kde4-base_pkg_postinst + else + fdo-mime_desktop_database_update + fi +} + +pkg_postrm() { + if use kde; then + kde4-base_pkg_postrm + else + fdo-mime_desktop_database_update + fi +} diff --git a/app-text/kchmviewer/metadata.xml b/app-text/kchmviewer/metadata.xml new file mode 100644 index 000000000000..49db28713e39 --- /dev/null +++ b/app-text/kchmviewer/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <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> + <upstream> + <remote-id type="sourceforge">kchmviewer</remote-id> + </upstream> +</pkgmetadata> |