summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/kchmviewer/debian
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/applications/kchmviewer/debian')
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/additions/kchmviewer.134
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/changelog125
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/compat1
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/control33
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/copyright26
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/debiandirs9
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/dirs2
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/kchmviewer-nokde-trinity.manpages1
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/manpages1
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/menu2
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/patches/.gitignore0
-rwxr-xr-xubuntu/maverick/applications/kchmviewer/debian/rules130
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/watch2
13 files changed, 366 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/additions/kchmviewer.1 b/ubuntu/maverick/applications/kchmviewer/debian/additions/kchmviewer.1
new file mode 100644
index 000000000..f69e8544d
--- /dev/null
+++ b/ubuntu/maverick/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 KDE
+.SH SYNOPSIS
+kchmviewer
+.SH DESCRIPTION
+.B kchmviewer
+makes it possible to browse native Windows CHM files under KDE.
+.PP
+Complete documentation can be found in docbook format in
+/usr/share/doc/kde/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/maverick/applications/kchmviewer/debian/changelog b/ubuntu/maverick/applications/kchmviewer/debian/changelog
new file mode 100644
index 000000000..07ea1dd77
--- /dev/null
+++ b/ubuntu/maverick/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 July 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/maverick/applications/kchmviewer/debian/compat b/ubuntu/maverick/applications/kchmviewer/debian/compat
new file mode 100644
index 000000000..7ed6ff82d
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/control b/ubuntu/maverick/applications/kchmviewer/debian/control
new file mode 100644
index 000000000..7d4846479
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/control
@@ -0,0 +1,33 @@
+Source: kchmviewer-trinity
+Section: kde
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Jose Luis Tallon <jltallon@adv-solutions.net>
+Build-Depends: debhelper (>= 5.0.0), kdelibs4-trinity-dev, libchm-dev, dpatch, automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+Homepage: http://www.kchmviewer.net/
+
+Package: kchmviewer-trinity
+Architecture: any
+Conflicts: kchmviewer-nokde-trinity
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: CHM viewer for KDE3
+ 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 KDE or GNOME. However, it may be compiled
+ with full KDE3 support, including KDE3 widgets and KIO/KHTML.
+ .
+ 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/maverick/applications/kchmviewer/debian/copyright b/ubuntu/maverick/applications/kchmviewer/debian/copyright
new file mode 100644
index 000000000..b221828b7
--- /dev/null
+++ b/ubuntu/maverick/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/maverick/applications/kchmviewer/debian/debiandirs b/ubuntu/maverick/applications/kchmviewer/debian/debiandirs
new file mode 100644
index 000000000..cb33e0ee3
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/debiandirs
@@ -0,0 +1,9 @@
+export kde_prefix=/usr
+export sysconfdir=/etc
+export kde_includedir=/usr/include/kde
+export infodir=/usr/share/info
+export mandir=/usr/share/man
+export qtdir=/usr/share/qt3
+export kde_cgidir=/usr/lib/cgi-bin
+export kde_confdir=/etc/trinity
+export kde_htmldir=/usr/share/doc/kde/HTML
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/dirs b/ubuntu/maverick/applications/kchmviewer/debian/dirs
new file mode 100644
index 000000000..c53a164e3
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/dirs
@@ -0,0 +1,2 @@
+opt/trinity/bin
+opt/trinity/lib/kde3
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/kchmviewer-nokde-trinity.manpages b/ubuntu/maverick/applications/kchmviewer/debian/kchmviewer-nokde-trinity.manpages
new file mode 100644
index 000000000..eb0e0bf59
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/kchmviewer-nokde-trinity.manpages
@@ -0,0 +1 @@
+debian/additions/kchmviewer.1
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/manpages b/ubuntu/maverick/applications/kchmviewer/debian/manpages
new file mode 100644
index 000000000..eb0e0bf59
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/manpages
@@ -0,0 +1 @@
+debian/additions/kchmviewer.1
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/menu b/ubuntu/maverick/applications/kchmviewer/debian/menu
new file mode 100644
index 000000000..00508b25c
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/menu
@@ -0,0 +1,2 @@
+?package(kchmviewer):needs="X11" section="Applications/Viewers"\
+ title="kchmviewer" command="/opt/trinity/bin/kchmviewer"
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/patches/.gitignore b/ubuntu/maverick/applications/kchmviewer/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/patches/.gitignore
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/rules b/ubuntu/maverick/applications/kchmviewer/debian/rules
new file mode 100755
index 000000000..0466e25ea
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/rules
@@ -0,0 +1,130 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde
+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)
+
+# 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_KDE = \
+ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib \
+ --includedir=/opt/trinity/include/kde --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
+
+-include debian/debiandirs
+
+build: patch debian/build-kde
+
+patch: patch-stamp
+patch-stamp:
+ dpatch apply-all
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+ touch patch-stamp
+
+unpatch:
+ dpatch deapply-all
+ $(RM) -rf patch-stamp debian/patched
+
+debian/build-kde:
+ dh_testdir
+# automake
+# autoconf
+ test -e config.sub -a -L config.sub || \
+ ln -sf /usr/share/misc/config.sub config.sub
+ test -e config.guess -a -L config.guess || \
+ ln -sf /usr/share/misc/config.guess config.guess
+
+ mkdir build-kde && cd build-kde && ../configure CFLAGS="$(CFLAGS)" $(CONFIGURE_OPTIONS_KDE)
+ $(MAKE) -C build-kde
+ touch debian/build-kde
+
+clean: unpatch
+ 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
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/watch b/ubuntu/maverick/applications/kchmviewer/debian/watch
new file mode 100644
index 000000000..e55a5c924
--- /dev/null
+++ b/ubuntu/maverick/applications/kchmviewer/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/kchmviewer/kchmviewer-?([\w+\d+\.]+|\d+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) debian uupdate