--- kchmviewer-2.7.orig/debian/changelog +++ kchmviewer-2.7/debian/changelog @@ -0,0 +1,89 @@ +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 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 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 Thu, 7 Dec 2006 12:24:41 +0100 + +kchmviewer (2.6-1) unstable; urgency=low + + * New upstream version + + -- Jose Luis Tallon 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 Thu, 31 Aug 2006 15:05:01 +0300 + +kchmviewer (2.5-2ubuntu1) edgy; urgency=low + + * Rebuild so it doesnt depend on libgamin0 + + -- Sarah Hobbs 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 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 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 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 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 Sat, 10 Dec 2005 18:48:17 +0100 + --- kchmviewer-2.7.orig/debian/dirs +++ kchmviewer-2.7/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/kde3 --- kchmviewer-2.7.orig/debian/compat +++ kchmviewer-2.7/debian/compat @@ -0,0 +1 @@ +5 --- kchmviewer-2.7.orig/debian/menu +++ kchmviewer-2.7/debian/menu @@ -0,0 +1,2 @@ +?package(kchmviewer):needs="X11" section="Apps/Editors"\ + title="kchmviewer" command="/usr/bin/kchmviewer" --- kchmviewer-2.7.orig/debian/control +++ kchmviewer-2.7/debian/control @@ -0,0 +1,56 @@ +Source: kchmviewer +Section: kde +Priority: optional +Maintainer: Jose Luis Tallon +Build-Depends: debhelper (>= 5.0.0), kdelibs4-dev, libchm-dev, autotools-dev, libqt3-mt-dev, dpatch +Standards-Version: 3.7.2 + +Package: kchmviewer +Architecture: any +Conflicts: kchmviewer-nokde +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: CHM viewer for KDE + 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 KDE support, including KDE 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. + +Package: kchmviewer-nokde +Architecture: any +Conflicts: kchmviewer +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: CHM viewer for KDE + 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 KDE support, including KDE 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. + . + This version is built without KDE support. --- kchmviewer-2.7.orig/debian/kchmviewer-nokde.manpages +++ kchmviewer-2.7/debian/kchmviewer-nokde.manpages @@ -0,0 +1 @@ +debian/additions/kchmviewer.1 --- kchmviewer-2.7.orig/debian/rules +++ kchmviewer-2.7/debian/rules @@ -0,0 +1,137 @@ +#!/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 + + +# 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=$(kde_prefix) --with-qt-dir=$(qtdir) \ + --sysconfdir=$(sysconfdir) --includedir=$(kde_includedir) \ + --infodir=$(infodir) --mandir=$(mandir) \ + --disable-debug --disable-rpath \ + --with-kde + +CONFIGURE_OPTIONS_NOKDE = \ + --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --with-qt-dir=$(qtdir) \ + --sysconfdir=$(sysconfdir) \ + --infodir=$(infodir) --mandir=$(mandir) \ + --disable-debug --disable-rpath + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +-include debian/debiandirs + +#build: debian/build-kde debian/build-nokde +build: patch debian/build-kde debian/build-nokde + +patch: patch-stamp +patch-stamp: + dpatch apply-all + touch patch-stamp + +#debian/build-nokde: patch +debian/build-nokde: + 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-nokde && cd build-nokde && ../configure CFLAGS="$(CFLAGS)" $(CONFIGURE_OPTIONS_NOKDE) + $(MAKE) -C build-nokde + touch debian/build-nokde + +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: + dh_testdir + dh_testroot + $(RM) -f build-stamp + $(RM) -rf debian/kchmviewer{,-nokde} + $(RM) -rf build{-kde,-nokde} + $(RM) -f debian/build{-kde,-nokde} + -$(MAKE) distclean + $(RM) config.sub config.guess + dh_clean + dpatch deapply-all + $(RM) -rf patch-stamp debian/patched + +install: build install-common debian/install-kde debian/install-nokde +install-common: + dh_testdir + dh_clean -k + dh_installdirs + +debian/install-kde: + dh_testroot + $(MAKE) -C build-kde install DESTDIR=$(CURDIR)/debian/kchmviewer + $(MAKE) -C build-kde/src/pics install DESTDIR=$(CURDIR)/debian/kchmviewer + +debian/install-nokde: + dh_testroot + $(MAKE) -C build-nokde install DESTDIR=$(CURDIR)/debian/kchmviewer-nokde \ + kde_icondir=$(DESTDIR)/usr/share/icons + +# 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 --- kchmviewer-2.7.orig/debian/additions/kchmviewer.1 +++ kchmviewer-2.7/debian/additions/kchmviewer.1 @@ -0,0 +1,34 @@ +.\" Author: Jose Luis Tallon +.\" +.\" 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//kchmviewer/ on this system. +.SH AUTHOR + George Yunaev +.PP +This manual page was written by Jose Luis Tallon +.nh + +for the \fBDebian\fP system (but may be used by others). --- kchmviewer-2.7.orig/debian/watch +++ kchmviewer-2.7/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://prdownloads.sourceforge.net/kchmviewer/kchmviewer-?([\w+\d+\.]+|\d+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) debian uupdate --- kchmviewer-2.7.orig/debian/debiandirs +++ kchmviewer-2.7/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/kde3 +export kde_htmldir=/usr/share/doc/kde/HTML --- kchmviewer-2.7.orig/debian/manpages +++ kchmviewer-2.7/debian/manpages @@ -0,0 +1 @@ +debian/additions/kchmviewer.1 --- kchmviewer-2.7.orig/debian/copyright +++ kchmviewer-2.7/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Tommaso Moroni on +Sat, 24 Sep 2005 18:52:09 +0200. +..and later redone by Jose Luis Tallon + +It was downloaded from http://kchmviewer.sourceforge.net + +Copyright Holder: Georgy Gunayev + + +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'.