From 9b2075d9b89fc628c447fbb98f43ef72e4a9c81d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 16:17:43 -0500 Subject: Initial import from old SVN repository Note that only the Debian and Ubuntu folders were preserved --- .../kchmviewer/debian/additions/kchmviewer.1 | 34 +++++ .../applications/kchmviewer/debian/changelog | 125 ++++++++++++++++ .../applications/kchmviewer/debian/compat | 1 + .../applications/kchmviewer/debian/control | 58 ++++++++ .../applications/kchmviewer/debian/copyright | 26 ++++ .../applications/kchmviewer/debian/debiandirs | 9 ++ .../applications/kchmviewer/debian/dirs | 2 + .../debian/kchmviewer-nokde-kde3.manpages | 1 + .../applications/kchmviewer/debian/manpages | 1 + .../applications/kchmviewer/debian/menu | 2 + .../kchmviewer/debian/patches/.gitignore | 0 .../applications/kchmviewer/debian/rules | 157 +++++++++++++++++++++ .../applications/kchmviewer/debian/watch | 2 + 13 files changed, 418 insertions(+) create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/additions/kchmviewer.1 create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/changelog create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/compat create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/control create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/copyright create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/debiandirs create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/dirs create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/kchmviewer-nokde-kde3.manpages create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/manpages create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/menu create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/patches/.gitignore create mode 100755 ubuntu/lucid_automake/applications/kchmviewer/debian/rules create mode 100644 ubuntu/lucid_automake/applications/kchmviewer/debian/watch (limited to 'ubuntu/lucid_automake/applications/kchmviewer') diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/additions/kchmviewer.1 b/ubuntu/lucid_automake/applications/kchmviewer/debian/additions/kchmviewer.1 new file mode 100644 index 000000000..f69e8544d --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/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). diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/changelog b/ubuntu/lucid_automake/applications/kchmviewer/debian/changelog new file mode 100644 index 000000000..54b0b15b9 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/debian/changelog @@ -0,0 +1,125 @@ +kchmviewer-kde3 (3.1.2-0ubuntu4) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson Thu, 02 July 2009 16:08:00 -0600 + +kchmviewer-kde3 (3.1.2-0ubuntu3) intrepid; urgency=low + + * Added -kde3 suffix + + -- Timothy Pearson 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 + * 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 Sun, 15 Jun 2008 13:11:01 +0200 + +kchmviewer (3.1.2-0ubuntu1) gutsy; urgency=low + + * New upstream release + + -- Anthony Mercatante 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 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 + diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/compat b/ubuntu/lucid_automake/applications/kchmviewer/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/debian/compat @@ -0,0 +1 @@ +5 diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/control b/ubuntu/lucid_automake/applications/kchmviewer/debian/control new file mode 100644 index 000000000..a94b727cd --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/debian/control @@ -0,0 +1,58 @@ +Source: kchmviewer-kde3 +Section: kde +Priority: optional +Maintainer: Timothy Pearson +XSBC-Original-Maintainer: Jose Luis Tallon +Build-Depends: debhelper (>= 5.0.0), kdelibs4-kde3-dev, libchm-dev, libqt3-mt-dev, dpatch, automake1.11-kde3, autoconf2.63, libtool, libltdl-dev +Standards-Version: 3.8.3 +Homepage: http://www.kchmviewer.net/ + +Package: kchmviewer-kde3 +Architecture: any +Conflicts: kchmviewer-nokde-kde3 +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. + +Package: kchmviewer-nokde-kde3 +Architecture: any +Conflicts: kchmviewer-kde3 +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 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. diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/copyright b/ubuntu/lucid_automake/applications/kchmviewer/debian/copyright new file mode 100644 index 000000000..b221828b7 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/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'. diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/debiandirs b/ubuntu/lucid_automake/applications/kchmviewer/debian/debiandirs new file mode 100644 index 000000000..a0aa0550c --- /dev/null +++ b/ubuntu/lucid_automake/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/kde3 +export kde_htmldir=/usr/share/doc/kde/HTML diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/dirs b/ubuntu/lucid_automake/applications/kchmviewer/debian/dirs new file mode 100644 index 000000000..27f457bcd --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/debian/dirs @@ -0,0 +1,2 @@ +opt/kde3/bin +opt/kde3/lib/kde3 diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/kchmviewer-nokde-kde3.manpages b/ubuntu/lucid_automake/applications/kchmviewer/debian/kchmviewer-nokde-kde3.manpages new file mode 100644 index 000000000..eb0e0bf59 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/debian/kchmviewer-nokde-kde3.manpages @@ -0,0 +1 @@ +debian/additions/kchmviewer.1 diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/manpages b/ubuntu/lucid_automake/applications/kchmviewer/debian/manpages new file mode 100644 index 000000000..eb0e0bf59 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/debian/manpages @@ -0,0 +1 @@ +debian/additions/kchmviewer.1 diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/menu b/ubuntu/lucid_automake/applications/kchmviewer/debian/menu new file mode 100644 index 000000000..b36f9b85f --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/debian/menu @@ -0,0 +1,2 @@ +?package(kchmviewer):needs="X11" section="Applications/Viewers"\ + title="kchmviewer" command="/opt/kde3/bin/kchmviewer" diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/patches/.gitignore b/ubuntu/lucid_automake/applications/kchmviewer/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/ubuntu/lucid_automake/applications/kchmviewer/debian/rules b/ubuntu/lucid_automake/applications/kchmviewer/debian/rules new file mode 100755 index 000000000..4adaf88da --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/debian/rules @@ -0,0 +1,157 @@ +#!/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/kde3/include/kde +DEB_CONFIGURE_MANDIR := /opt/kde3/share/man +DEB_CONFIGURE_PREFIX := /opt/kde3 +DEB_CONFIGURE_INFODIR := /opt/kde3/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/kde3 --with-extra-libs=/opt/kde3/lib \ + --includedir=/opt/kde3/include/kde --mandir=/opt/kde3/share/man \ + --with-qt-dir=$(qtdir) \ + --sysconfdir=$(sysconfdir) \ + --infodir=/opt/kde3/share/info \ + --disable-debug --disable-rpath \ + --with-kde + +CONFIGURE_OPTIONS_NOKDE = \ + --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/opt/kde3 --with-qt-dir=$(qtdir) \ + --sysconfdir=$(sysconfdir) \ + --infodir=/opt/kde3/share/info --mandir=/opt/kde3/share/man \ + --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 + ! [ -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-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: unpatch + dh_testdir + dh_testroot + $(RM) -f build-stamp + $(RM) -rf debian/kchmviewer{,-nokde} + $(RM) -rf build{-kde,-nokde} + $(RM) -f debian/build{-kde,-nokde} + [ ! -f Makefile ] || $(MAKE) distclean + $(RM) config.sub config.guess + dh_clean + +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-kde3 + $(MAKE) -C build-kde/src/pics install DESTDIR=$(CURDIR)/debian/kchmviewer-kde3 + mkdir -p $(CURDIR)/debian/kchmviewer-kde3/opt/kde3/share/man + cp -Rp $(CURDIR)/debian/additions/kchmviewer.1 $(CURDIR)/debian/kchmviewer-kde3/opt/kde3/share/man/kchmviewer.1 + +debian/install-nokde: + dh_testroot + $(MAKE) -C build-nokde install DESTDIR=$(CURDIR)/debian/kchmviewer-nokde-kde3 kde_icondir=$(DESTDIR)/opt/kde3/share/icons + mkdir -p $(CURDIR)/debian/kchmviewer-nokde-kde3/opt/kde3/share/man + mv $(CURDIR)/debian/additions/kchmviewer.1 $(CURDIR)/debian/kchmviewer-nokde-kde3/opt/kde3/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/lucid_automake/applications/kchmviewer/debian/watch b/ubuntu/lucid_automake/applications/kchmviewer/debian/watch new file mode 100644 index 000000000..e55a5c924 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kchmviewer/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/kchmviewer/kchmviewer-?([\w+\d+\.]+|\d+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) debian uupdate -- cgit v1.2.1