summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/applications/kchmviewer
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/_base/applications/kchmviewer')
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/additions/kchmviewer.134
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/changelog125
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/compat1
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/control35
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/copyright26
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/debiandirs9
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/dirs2
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/kchmviewer-nokde-trinity.manpages1
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/manpages1
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/menu2
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/patches/.gitignore0
-rwxr-xr-xubuntu/_base/applications/kchmviewer/debian/rules121
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/source/format1
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/source/options6
-rw-r--r--ubuntu/_base/applications/kchmviewer/debian/watch2
15 files changed, 366 insertions, 0 deletions
diff --git a/ubuntu/_base/applications/kchmviewer/debian/additions/kchmviewer.1 b/ubuntu/_base/applications/kchmviewer/debian/additions/kchmviewer.1
new file mode 100644
index 000000000..5994f536f
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/additions/kchmviewer.1
@@ -0,0 +1,34 @@
+.\" Author: Jose Luis Tallon <jltallon@adv-solutions.net>
+.\"
+.\" This is free software; you may redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as
+.\" published by the Free Software Foundation; either version 2,
+.\" or (at your option) any later version.
+.\"
+.\" This is distributed in the hope that it will be useful, but
+.\" WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with the Debian GNU/Linux system; if not, write to the Free
+.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+.\" 02111-1307 USA
+.TH kchmviwer "1" "December 2005"
+.SH NAME
+kchmviewer \- Windows CHM viewer for TDE
+.SH SYNOPSIS
+kchmviewer
+.SH DESCRIPTION
+.B kchmviewer
+makes it possible to browse native Windows CHM files under TDE.
+.PP
+Complete documentation can be found in docbook format in
+/usr/share/doc/tde/HTML/<lang>/kchmviewer/ on this system.
+.SH AUTHOR
+ George Yunaev <gyunaev@ulduzsoft.com>
+.PP
+This manual page was written by Jose Luis Tallon
+.nh
+<jltallon@adv\-solutions.net>
+for the \fBDebian\fP system (but may be used by others).
diff --git a/ubuntu/_base/applications/kchmviewer/debian/changelog b/ubuntu/_base/applications/kchmviewer/debian/changelog
new file mode 100644
index 000000000..91fe29383
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/changelog
@@ -0,0 +1,125 @@
+kchmviewer-trinity (3.1.2-0ubuntu4) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+kchmviewer-trinity (3.1.2-0ubuntu3) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 25 Jun 2009 09:54:00 -0600
+
+kchmviewer (3.1.2-0ubuntu2) intrepid; urgency=low
+
+ * debian/rules:
+ - fix dpatch support
+ - fix debian-rules-ignores-make-clean-error lintian warning
+ * Add patch fix_gcc4.3.dpatch to fix FTBFS due to gcc 4.3 (LP: #240085)
+ Thanks to Chris Lamb <chris@chris-lamb.co.uk>
+ * Update debian/watch
+ * Bump Standards-Version to 3.8.0:
+ - add Homepage: field in debian/control
+ - update debian/menu
+ * debian/control:
+ - fix spelling-error-in-description lintian warning
+ * Modify Maintainer value to match the DebianMaintainerField
+ specification.
+
+ -- Cesare Tirabassi <norsetto@ubuntu.com> Sun, 15 Jun 2008 13:11:01 +0200
+
+kchmviewer (3.1.2-0ubuntu1) gutsy; urgency=low
+
+ * New upstream release
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Sun, 01 Jul 2007 00:22:53 +0200
+
+kchmviewer (2.7-1ubuntu1) feisty; urgency=low
+
+ * Merge from Debian unstable, remaining Ubuntu changes:
+ - debian/control: Conflict: kchmviewer-nokde
+ builds without KDE support
+ * Added dpatch to debian/control dependencies to build nokde support
+
+ -- Richard A. Johnson <nixternal@ubuntu.com> Fri, 5 Jan 2007 19:27:31 -0600
+
+kchmviewer (2.7-1) unstable; urgency=low
+
+ * New upstream version
+ - Should fix crashes due to bad encoding detection (Closes: #390329)
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Fri, 8 Dec 2006 02:11:46 +0100
+
+kchmviewer (2.7-0ubuntu1) feisty; urgency=low
+
+ * New upstream release
+ * Removed obsolete 01_kchmviewwindow_cpp.dpatch
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Thu, 7 Dec 2006 12:24:41 +0100
+
+kchmviewer (2.6-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Thu, 31 Aug 2006 02:56:52 +0200
+
+kchmviewer (2.6-0ubuntu1) edgy; urgency=low
+
+ * New upstream release.
+ * Added a patch for kchvviewwindow.cpp to avoid a compile error when
+ compiling against QT alone.
+ * Added a variant kchmviewer-nokde that is built without KDE support.
+
+ -- Ahmed El-Mahmoudy <aelmahmoudy@users.sourceforge.net> Thu, 31 Aug 2006 15:05:01 +0300
+
+kchmviewer (2.5-2ubuntu1) edgy; urgency=low
+
+ * Rebuild so it doesnt depend on libgamin0
+
+ -- Sarah Hobbs <hobbsee@ubuntu.com> Tue, 18 Jul 2006 20:24:36 -0500
+
+kchmviewer (2.5-2) unstable; urgency=low
+
+ * Fix FTBFS with g++4.1 (Closes: #372168)
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Thu, 08 Jun 2006 20:08:39 +0200
+
+kchmviewer (2.5-1) unstable; urgency=low
+
+ * New upstream version
+
+ * Fix building with g++4.1 (Closes: #356517)
+
+ * Updated to standards version 3.7.2 with no changes
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Thu, 11 May 2006 2:32:41 +0200
+
+kchmviewer (2.0-1) unstable; urgency=low
+
+ * New upstream version (Closes: #353709)
+ - included proper icons from upstream :-)
+
+ * Package sponsored by Tommaso Moroni
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Mon, 20 Feb 2006 22:19:57 +0100
+
+kchmviewer (1.3a-1) unstable; urgency=low
+
+ * First upload to the Archive (Closes: #312700)
+
+ * Package sponsored by Tommaso Moroni
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Sun, 1 Jan 2006 2:33:38 +0100
+
+kchmviewer (1.2a-1) unstable; urgency=low
+
+ [ Tommaso Moroni ]
+ * Initial packaging, incomplete
+
+ [ Jose Luis Tallon ]
+ * Initial release
+ - Fixed to use libchm instead of chmlib
+ - Added icons and manpage (1.2 -> 1.2a)
+
+ -- Jose Luis Tallon <jltallon@adv-solutions.net> Sat, 10 Dec 2005 18:48:17 +0100
+
diff --git a/ubuntu/_base/applications/kchmviewer/debian/compat b/ubuntu/_base/applications/kchmviewer/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/ubuntu/_base/applications/kchmviewer/debian/control b/ubuntu/_base/applications/kchmviewer/debian/control
new file mode 100644
index 000000000..59b2717d8
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/control
@@ -0,0 +1,35 @@
+Source: kchmviewer-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Jose Luis Tallon <jltallon@adv-solutions.net>
+Build-Depends: debhelper (>= 7.0.50~), cdbs, quilt, tdelibs14-trinity-dev, libchm-dev, automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+Homepage: http://www.kchmviewer.net/
+
+Package: kchmviewer-trinity
+Architecture: any
+Conflicts: kchmviewer-nokde-trinity
+Replaces: kchmviewer-kde3 (<< 4:14.0.0~), kchmviewer-trinity (<< 4:14.0.0~)
+Breaks: kchmviewer-kde3 (<< 4:14.0.0~), kchmviewer-trinity (<< 4:14.0.0~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: CHM viewer for Trinity
+ KchmViewer is a chm (MS HTML help file format) viewer, written in C++.
+ Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget
+ library, and does not depend on TDE, KDE or GNOME. However, it may be compiled
+ with full Trinity support, including Trinity widgets and KIO/TDEHTML.
+ .
+ The main advantage of KchmViewer is non-English language support. Unlike
+ others, KchmViewer in most cases correctly detects help file encoding,
+ correctly shows tables of context of Russian, Korean, Chinese and Japanese
+ help files, and correctly searches in non-English help files (search for
+ MBCS languages - ja/ko/ch is still in progress).
+ .
+ Completely safe and harmless. Does not support JavaScript in any way,
+ optionally warns you before opening an external web page, or switching to
+ another help file. Shows an appropriate image for every TOC entry.
+ .
+ KchmViewer Has complete chm index support, including multiple index entries,
+ cross-links and parent/child entries in index as well as Persistent bookmarks
+ support. Correctly detects and shows encoding of any valid chm file.
+
diff --git a/ubuntu/_base/applications/kchmviewer/debian/copyright b/ubuntu/_base/applications/kchmviewer/debian/copyright
new file mode 100644
index 000000000..b221828b7
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Tommaso Moroni <moronito@debian.org> on
+Sat, 24 Sep 2005 18:52:09 +0200.
+..and later redone by Jose Luis Tallon <jltallon@adv-solutions.net>
+
+It was downloaded from http://kchmviewer.sourceforge.net
+
+Copyright Holder: Georgy Gunayev <tim@krasnogorsk.ru>
+
+
+License statement:
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+Additional Licenses:
+ The 'kio-msits' KIOSlave module is covered by the GNU LGPL license.
+
+
+On Debian systems, the complete text of the GNU GPL2 and LGPL licenses
+can be found at `/usr/share/common-licenses'.
diff --git a/ubuntu/_base/applications/kchmviewer/debian/debiandirs b/ubuntu/_base/applications/kchmviewer/debian/debiandirs
new file mode 100644
index 000000000..a190453fb
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/debiandirs
@@ -0,0 +1,9 @@
+export kde_prefix=/opt/trinity
+export sysconfdir=/etc
+export kde_includedir=/opt/trinity/include/tde
+export infodir=/opt/trinity/share/info
+export mandir=/opt/trinity/share/man
+export qtdir=/usr/share/qt3
+export kde_cgidir=/opt/trinity/lib/cgi-bin
+export kde_confdir=/etc/trinity
+export kde_htmldir=/opt/trinity/share/doc/tde/HTML
diff --git a/ubuntu/_base/applications/kchmviewer/debian/dirs b/ubuntu/_base/applications/kchmviewer/debian/dirs
new file mode 100644
index 000000000..9d345cd36
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/dirs
@@ -0,0 +1,2 @@
+opt/trinity/bin
+opt/trinity/lib/trinity
diff --git a/ubuntu/_base/applications/kchmviewer/debian/kchmviewer-nokde-trinity.manpages b/ubuntu/_base/applications/kchmviewer/debian/kchmviewer-nokde-trinity.manpages
new file mode 100644
index 000000000..eb0e0bf59
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/kchmviewer-nokde-trinity.manpages
@@ -0,0 +1 @@
+debian/additions/kchmviewer.1
diff --git a/ubuntu/_base/applications/kchmviewer/debian/manpages b/ubuntu/_base/applications/kchmviewer/debian/manpages
new file mode 100644
index 000000000..eb0e0bf59
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/manpages
@@ -0,0 +1 @@
+debian/additions/kchmviewer.1
diff --git a/ubuntu/_base/applications/kchmviewer/debian/menu b/ubuntu/_base/applications/kchmviewer/debian/menu
new file mode 100644
index 000000000..694dda9e9
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/menu
@@ -0,0 +1,2 @@
+?package(kchmviewer-trinity):needs="X11" section="Applications/Viewers"\
+ title="kchmviewer" command="/opt/trinity/bin/kchmviewer"
diff --git a/ubuntu/_base/applications/kchmviewer/debian/patches/.gitignore b/ubuntu/_base/applications/kchmviewer/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/patches/.gitignore
diff --git a/ubuntu/_base/applications/kchmviewer/debian/rules b/ubuntu/_base/applications/kchmviewer/debian/rules
new file mode 100755
index 000000000..4766ace5a
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/rules
@@ -0,0 +1,121 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+-include debian/debiandirs
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
+DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
+DEB_CONFIGURE_PREFIX := /opt/trinity
+DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+CONFIGURE_OPTIONS_TDE = \
+ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib \
+ --includedir=/opt/trinity/include/tde --mandir=/opt/trinity/share/man \
+ --with-qt-dir=$(qtdir) \
+ --sysconfdir=$(sysconfdir) \
+ --infodir=/opt/trinity/share/info \
+ --disable-debug --disable-rpath \
+ --with-kde
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+build: debian/build-kde
+
+debian/build-kde:
+ dh_testdir
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ cp -p /usr/share/misc/config.sub admin/config.sub
+ cp -p /usr/share/misc/config.guess admin/config.guess
+
+ make -f admin/Makefile.common cvs
+# automake
+# autoconf
+
+ [ -d build-kde ] || mkdir build-kde
+ cd build-kde && ../configure CFLAGS="$(CFLAGS)" $(CONFIGURE_OPTIONS_TDE)
+ $(MAKE) -C build-kde
+ touch debian/build-kde
+
+clean:
+ dh_testdir
+ dh_testroot
+ $(RM) -f build-stamp
+ $(RM) -rf debian/kchmviewer
+ $(RM) -rf build-kde
+ $(RM) -f debian/build-kde
+ [ ! -f Makefile ] || $(MAKE) distclean
+ $(RM) config.sub config.guess
+ dh_clean
+
+install: build install-common debian/install-kde
+install-common:
+ dh_testdir
+ dh_clean -k
+ dh_installdirs
+
+debian/install-kde:
+ dh_testroot
+ $(MAKE) -C build-kde install DESTDIR=$(CURDIR)/debian/kchmviewer-trinity
+ $(MAKE) -C build-kde/src/pics install DESTDIR=$(CURDIR)/debian/kchmviewer-trinity
+ mkdir -p $(CURDIR)/debian/kchmviewer-trinity/opt/trinity/share/man
+ cp -Rp $(CURDIR)/debian/additions/kchmviewer.1 $(CURDIR)/debian/kchmviewer-trinity/opt/trinity/share/man/kchmviewer.1
+
+# Build architecture-independent files here.
+binary-indep: build
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+# dh_install
+ dh_installmenu
+# dh_installdebconf
+# dh_installmime
+# dh_installinfo
+# dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/_base/applications/kchmviewer/debian/source/format b/ubuntu/_base/applications/kchmviewer/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/ubuntu/_base/applications/kchmviewer/debian/source/options b/ubuntu/_base/applications/kchmviewer/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/ubuntu/_base/applications/kchmviewer/debian/watch b/ubuntu/_base/applications/kchmviewer/debian/watch
new file mode 100644
index 000000000..e55a5c924
--- /dev/null
+++ b/ubuntu/_base/applications/kchmviewer/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/kchmviewer/kchmviewer-?([\w+\d+\.]+|\d+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) debian uupdate