debian/0000755000000000000000000000000011521334253007165 5ustar debian/control0000644000000000000000000000310011521315355010564 0ustar Source: kchmviewer Section: kde Priority: optional Maintainer: Debian KDE Extras Team Uploaders: Fathi Boudra , Jose Luis Tallon Build-Depends: debhelper (>= 7.4.15), cmake, pkg-kde-tools (>= 0.6.4), kdelibs5-dev, libchm-dev Standards-Version: 3.9.1 Homepage: http://www.kchmviewer.net/ Package: kchmviewer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: okular-extra-backends 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. debian/source/0000755000000000000000000000000011521315355010467 5ustar debian/source/format0000644000000000000000000000001411521315355011675 0ustar 3.0 (quilt) debian/additions/0000755000000000000000000000000011521315355011145 5ustar debian/additions/kchmviewer.10000644000000000000000000000241411521315355013374 0ustar .\" 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). debian/kchmviewer.install0000644000000000000000000000005111521315355012717 0ustar debian/kchmviewer.xpm usr/share/pixmaps/ debian/patches/0000755000000000000000000000000011521333672010620 5ustar debian/patches/01_disable_kio-msits_build.diff0000644000000000000000000000042011521315355016525 0ustar --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,6 @@ ADD_DEFINITIONS( -DUSE_KDE ) # Run in those subdirectories ADD_SUBDIRECTORY( lib/libchmfile ) -ADD_SUBDIRECTORY( lib/kio-msits ) ADD_SUBDIRECTORY( src ) ADD_SUBDIRECTORY( po ) ADD_SUBDIRECTORY( packages ) debian/patches/disable_check_new_version.patch0000644000000000000000000000211511521321160017003 0ustar Description: disable check new version Bug: 602535 --- a/src/config.cpp +++ b/src/config.cpp @@ -53,7 +53,7 @@ Config::Config() m_advLayoutDirectionRL = settings.value( "advanced/layoutltr", false ).toBool(); m_advAutodetectEncoding = settings.value( "advanced/autodetectenc", false ).toBool(); m_advExternalEditorPath = settings.value( "advanced/editorpath", "/usr/bin/kate" ).toString(); - m_advCheckNewVersion = settings.value( "advanced/checknewver", true ).toBool(); + m_advCheckNewVersion = false; m_toolbarMode = (Config::ToolbarMode) settings.value( "advanced/toolbarmode", TOOLBAR_LARGEICONSTEXT ).toInt(); m_lastOpenedDir = settings.value( "advanced/lastopendir", "." ).toString(); --- a/src/dialog_setup.cpp +++ b/src/dialog_setup.cpp @@ -220,7 +220,7 @@ void DialogSetup::accept() need_restart = true; pConfig->m_advAutodetectEncoding = boxAutodetectEncoding->isChecked(); - pConfig->m_advCheckNewVersion = cbCheckForUpdates->isChecked(); + pConfig->m_advCheckNewVersion = false; // Layout direction management bool layout_rl = boxLayoutDirectionRL->isChecked(); debian/patches/series0000644000000000000000000000010011521333656012026 0ustar 01_disable_kio-msits_build.diff disable_check_new_version.patch debian/compat0000644000000000000000000000000211521315355010365 0ustar 7 debian/changelog0000644000000000000000000001065311521317621011044 0ustar kchmviewer (5.3-1) unstable; urgency=low * New upstream release. * Remove patches: - 00_ftbfs_svn_r363.diff - merged upstream - 02_grammatical_error.diff - merger upstream * Add disable_check_new_version.patch to disable new version checking. (Closes: #602535) -- Fathi Boudra Sun, 30 Jan 2011 19:08:06 +0200 kchmviewer (5.2-1) unstable; urgency=low * New upstream release. * Add patch to fix ftbfs caused by missing files. * Add Recommends okular-extra-backends. (Closes: #597719) -- Fathi Boudra Wed, 06 Oct 2010 16:47:08 +0300 kchmviewer (5.1-1) unstable; urgency=low * New upstream release. [ José Manuel Santamaría Lema ] * Switch to dpkg-source 3.0 (quilt) format. * Update debian/control: - Remove quilt from Build-Depends. * Refresh 01_disable_kio-msits_build.diff patch. [ Fathi Boudra ] * Add 02_grammatical_error.diff patch. Thanks to Chris Leick. (Closes: #536201) * Update debian/control: - Bump build dependencies versions (debhelper and pkg-kde-tools). - Bump Standards-Version to 3.8.4 (no changes needed). * Update debian/copyright: - kchmviewer is licensed under the GPL version 3 since version 5.0. * Update debian/rules: - Enable parallel build (pass --parallel option to dh). - Use kde sequence addon. (Closes: #574309) -- Debian KDE Extras Team Wed, 17 Mar 2010 19:56:04 +0100 kchmviewer (4.1-1) unstable; urgency=low * New upstream release. (Closes: #479402, #496888) * Add patch to disable kio-msits build to avoid okular-extra-backends conflict. * Bump compat/debhelper to 7. * Update debian/control: - Set Debian KDE Extras Team as Maintainer and myself in Uploaders. - Update build dependencies: - Add cmake, quilt and pkg-kde-tools - Replace kdelibs4-dev by kdelibs5-dev - Remove autotools-dev - Update Standards-Version to 3.8.2 (no changes needed). - Add Homepage field * Remove deprecated files: debiandirs, dirs and Makefile. * Update debian/menu file to Debian menu policy 2.1 * Switch debian/rules to dh. -- Fathi Boudra Wed, 29 Jul 2009 21:43:18 +0200 kchmviewer (3.1-2) unstable; urgency=low * Fixed FTBFS with gcc-4.3 (Closes: #474869) - Updated to S-V 3.7.3 with no changes * Fixed uscan (Closes: #449696) -- Jose Luis Tallon Sun, 13 Apr 2008 01:27:32 +0200 kchmviewer (3.1-1) unstable; urgency=low * New upstream version (Closes: #428128) - Fixed crash if last file gone (Closes: #420561) * Fixed menu entry to file into "Apps/Viewers" (Closes: #403032) -- Jose Luis Tallon Sun, 17 Jun 2007 13:55:44 +0200 kchmviewer (3.0-1) unstable; urgency=low * New upstream version -- Jose Luis Tallon Fri, 25 May 2007 23:21:26 +0200 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.6-1) unstable; urgency=low * New upstream version -- Jose Luis Tallon Thu, 31 Aug 2006 02:56:52 +0200 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 debian/manpages0000644000000000000000000000003611521315355010704 0ustar debian/additions/kchmviewer.1 debian/rules0000755000000000000000000000016311521315355010247 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh --parallel --with kde $@debian/copyright0000644000000000000000000000254011521315355011123 0ustar This work was packaged for Debian by: Tommaso Moroni Jose Luis Tallon on Sat, 24 Sep 2005 18:52:09 +0200. It was downloaded from: http://kchmviewer.sourceforge.net Copyright Holder: © 2004-2010 Georgy Gunayev License: This program 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 3 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. You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". The Debian packaging is: Copyright (C) 2009-2010 Fathi Boudra Copyright (C) 2005-2008 Jose Luis Tallon Copyright (C) 2005 Tommaso Moroni and is licensed under the GPL version 3, see above. debian/menu0000644000000000000000000000027111521315355010056 0ustar ?package(kchmviewer): \ needs="X11" \ section="Applications/Viewers" \ title="kchmviewer" \ icon="/usr/share/pixmaps/kchmviewer.xpm" \ command="/usr/bin/kchmviewer" debian/not-installed0000644000000000000000000000015611521315355011671 0ustar # Conflict against okular-extra-backends ./usr/share/kde4/services/msits.protocol ./usr/lib/kde4/kio_msits.so debian/watch0000644000000000000000000000015611521315355010222 0ustar version=3 http://sf.net/kchmviewer/kchmviewer-?([\w+\d+\.]+|\d+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) debian uupdate debian/kchmviewer.xpm0000644000000000000000000001165511521315355012071 0ustar /* XPM */ static char *kchmviewer[] = { /* columns rows colors chars-per-pixel */ "32 32 172 2", " c #315343", ". c #35634D", "X c #327C5A", "o c #42755D", "O c #4A7561", "+ c #497963", "@ c #5D766A", "# c #32855E", "$ c #358761", "% c #368962", "& c #3B8A65", "* c #3E8C68", "= c #448064", "- c #418D6B", "; c #46916E", ": c #48926F", "> c #5B8E76", ", c #4C9373", "< c #519776", "1 c #589277", "2 c #549877", "3 c #54967E", "4 c #5B9B7D", "5 c #62987F", "6 c #1A62AC", "7 c #1C62B1", "8 c #2665AF", "9 c #2969B4", "0 c #2769B9", "q c #4976B7", "w c #4474BA", "e c #447CBD", "r c #4C79BC", "t c #477DC1", "y c #5D9D82", "u c #639D81", "i c #6A9A84", "p c #639D8A", "a c #7A9387", "s c #63A284", "d c #69A387", "f c #67A589", "g c #6CA68B", "h c #6FA98E", "j c #73A48D", "k c #78A18E", "l c #70A88E", "z c #6AA091", "x c #75AB92", "c c #7BAC95", "v c #73A598", "b c #7BAC9D", "n c #7AB097", "m c #7EB299", "M c #5283C1", "N c #4793D7", "B c #5894D6", "V c #678BC4", "C c #7094C9", "Z c #729BCB", "A c #609AD7", "S c #59A0DD", "D c #78B1E5", "F c #7DB9EB", "G c #7CBCF0", "H c #81A192", "J c #89A799", "K c #84AC99", "L c #8BAD9E", "P c #83B39C", "I c #84AFA6", "U c #9EA7A3", "Y c #87B5A0", "T c #8AB7A2", "R c #8DBAA5", "E c #8CB4AB", "W c #8FBAA8", "Q c #9CB1A7", "! c #99B5A8", "~ c #94BCAA", "^ c #9BBBAC", "/ c #8AAEB3", "( c #8CB2B0", ") c #96B5B7", "_ c #96BAB3", "` c #9FBEB0", "' c #A0B4AB", "] c #A2B9AE", "[ c #AEB6B2", "{ c #A2BCB0", "} c #B0BDB7", "| c #B7BFBC", " . c #9AC2AE", ".. c #9DC3B1", "X. c #A5C4B6", "o. c #ACC1B7", "O. c #A4C8B7", "+. c #A7CABA", "@. c #ABCBBC", "#. c #B5C5BE", "$. c #819CCC", "%. c #80A6D0", "&. c #8AB1D6", "*. c #8FB2DB", "=. c #99B7D7", "-. c #A5BDC5", ";. c #A4BCCC", ":. c #AABFCE", ">. c #A2B4D5", ",. c #A2B9DA", "<. c #97BDE9", "1. c #A2C0C0", "2. c #A9C4C6", "3. c #AECFC0", "4. c #BDC5C1", "5. c #B2CEC1", "6. c #BFCCC6", "7. c #B4D1C4", "8. c #BBD6C9", "9. c #BED8CC", "0. c #BBCFD9", "q. c #8CC0ED", "w. c #85C3F4", "e. c #A7CAEF", "r. c #BCCFE3", "t. c #B5D3EF", "y. c #A0CAF0", "u. c #A1D2F7", "i. c #A8D2F3", "p. c #B3DAF8", "a. c #C7CBC8", "s. c #C9CBCA", "d. c #C3D5CC", "f. c #CBD2CE", "g. c #C1DACE", "h. c #CDD5D1", "j. c #C5DBD1", "k. c #CBDDD5", "l. c #D3D3D3", "z. c #D2DBD7", "x. c #D3DED8", "c. c #DCDDDC", "v. c #E0DFDF", "b. c #CBE0D7", "n. c #CEE1D8", "m. c #D4E4DD", "M. c #C5DAED", "N. c #C8DFF4", "B. c #C0DEF8", "V. c #D7E7E0", "C. c #DDE3E0", "Z. c #DCEAE4", "A. c #C7E1F9", "S. c #C8E5F9", "D. c #D3E4F4", "F. c #D9E9F7", "G. c #E4E5E4", "H. c #E2EAE7", "J. c #E8E7E8", "K. c #E4EDE9", "L. c #EBECEC", "P. c #E7F0EC", "I. c #EBF1EE", "U. c #F0EFF0", "Y. c #EDF3F0", "T. c #F3F4F3", "R. c #F8F7F7", "E. c #F6F9F7", "W. c #F8F7F8", "Q. c #F7F9F8", "!. c #FDFCFD", "~. c None", /* pixels */ "~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.- - ; ~.~.~.~.~.~.~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.~.- $ % & % * * ~.~.~.~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.y & - z E _ v , % % : , ~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.; - , 2.D.A.B.N.0.z & % % * - , ~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.; & * 1.B.u.p.S.i.e.r.3 % % % % & & * ~.~.~.", "~.~.~.~.~.~.~.~.~.* & % p M.w.G q.t.F.D q.( % % % % # # 1 J ~.~.", "~.~.~.~.~.~.2 , * & % # I e.N S F q.D.A B ;.* % % # & u 4.l.~.~.", "~.~.~.- , , < * % % % % I *.6 &.r.=.Z 7 t ;.* $ % : x h.v.a.~.~.", "~.~.O X & * % % % % % % z ,.8 <.%.e t 8 V / $ ; 4 P z.U.l.@ ~.~.", "~.~.U O X % % % & % % % * 2.C M t 0 9 q >.v y g ~ C.R.G.a ~.~.", "~.~.[ > & $ $ % % % % % % y :.Z r w V >.) x x ..H.Q.L.H . ~.~.~.", "~.~.4 R @.W P m x h f f h f b 2.:.;.-.E c n O.L.!.I.K o ~.~.~.~.", "~.5 l 8.K.Y.I.Z.m.b.j.8.7.3....._ W Y m m @.I.!.Y.H = ~.~.~.~.~.", "g o.6.{ ~ +.n.P.Y.P.Z.m.n.g.8.7.@... .Y 7.Y.!.I.K u < ~.~.~.~.~.", "s 5.J.c.6.! K P @.m.P.K.Z.m.b.j.8.@.W 7.T.!.Y.P K j.7.f ~.~.~.~.", "~.7.Q.T.L.G.f.^ j l R 8.Z.P.K.m.9. .8.E.!.I.P T m.P.Y.g.4 u ~.~.", "~.7.!.!.Q.T.T.L.c.#.J g P +.j.k.O.g.E.!.I.P ..I.K.n.@.~ ~ H ~.~.", "~.Y @.Z.E.!.!.Q.T.T.J.h.] L ~ X.j.Q.!.I.P .m.@.T J ' #.s.Q ~.~.", "~.~.~.g W 9.I.!.!.!.W.T.L.G.f.k.Q.!.P.c h T j k Q | l.l.c.] ~.~.", "~.~.~.~.~.~.x .b.Y.!.!.!.T.U.U.!.K.l < i J } h.c.v.G.L.L.o.~.~.", "~.~.~.~.~.~.~.~.y c +.Z.E.!.E.T.Z.x i Q f.c.G.J.U.U.T.H.d.P ~.~.", "~.~.~.~.~.~.~.~.~.~.~.< P 7.z.d.l ^ c.J.L.T.T.W.T.m.@.P 5 ~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.2 X.X.j X.L.T.W.Q.E.K.7.L g ~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.l z.K.T.!.Q.I.k. .c 4 ~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.~.d d.H.z.O.P 4 ~.~.~.~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.4 c g ~.~.~.~.~.~.~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.", "~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~." };