debian/0000755000000000000000000000000012260030040007151 5ustar debian/enumdir_chmLib.10000644000000000000000000000121612260024614012166 0ustar .TH enumdir_chmLib 1 "2007-04-05" "" "" .SH NAME enumdir_chmLib \- Lists the contents of chm file(s). .SH SYNOPSIS .B enumdir_chmLib [\fIFILE\fR] .SH DESCRIPTION .PP enumdir_chmLib lists the contents of the specified chm file(s) to stdout. .PP .SH USAGE enumdir_chmLib ... .SH OPTIONS enumdir_chmLib has no options. .SH SEE ALSO Website: .SH AUTHOR enumdir_chmLib was written by Jed Wing .PP This manual page was written Bymin Cutler and formatted by Kartik Mistry , for the Debian project (but may be used by others). debian/symbols0000644000000000000000000000045112260024614010576 0ustar libchm.so.1 libchm1 #MINVER# LZXdecompress@Base 0.40 LZXinit@Base 0.40 LZXreset@Base 0.40 LZXteardown@Base 0.40 chm_close@Base 0.40 chm_enumerate@Base 0.40 chm_enumerate_dir@Base 0.40 chm_open@Base 0.40 chm_resolve_object@Base 0.40 chm_retrieve_object@Base 0.40 chm_set_param@Base 0.40 debian/libchm1.install0000644000000000000000000000002012260026673012071 0ustar /usr/lib/*.so.* debian/libchm-bin.install0000644000000000000000000000001312260026673012560 0ustar /usr/bin/* debian/libchm1.docs0000644000000000000000000000005612260024614011355 0ustar AUTHORS NEWS README contrib/mozilla_helper.sh debian/copyright0000644000000000000000000000511512260026673011127 0ustar Format: http://anonscm.debian.org/gitweb/?p=dbnpolicy/policy.git;a=blob;f=copyright-format/copyright-format.xml;hb=HEAD Upstream-Name: chmlib Source: http://www.jedrea.com/chmlib/ Upstream-Contact: Jed Wing Files: src/lzx.* ltmain.sh Copyright: 2004-2007, Jed Wing License: GPL-2+ Files: debian/* Copyright: 2004-2007, Julien Lemoine 2007-2012, Kartik Mistry License: GPL-2+ License: GPL-2+ 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. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . Note: . Note that an exemption to this license has been granted by Stuart Caie for the purposes of distribution with chmlib. This does not, to the best of my knowledge, constitute a change in the license of this (the LZX) code in general. . On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2' and `/usr/share/common-licenses/GPL-3'. Files: * Copyright: 2004-2007, Jed Wing License: LGPL-2.1+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2' and `/usr/share/common-licenses/LGPL-2.1' and `/usr/share/common-licenses/LGPL-3.1'. debian/extract_chmLib.10000644000000000000000000000126012260024614012174 0ustar .TH extract_chmLib 1 "2007-04-05" "" "" .SH NAME extract_chmLib \- Extracts a chm file into a directory. .SH SYNOPSIS .B extract_chmLib [\fIFILE\fR]... [\fIDIR\fR]... .SH DESCRIPTION .PP extract_chmLib extracts the contents of the specified chm file into the specified directory. .PP .SH USAGE extract_chmLib .SH OPTIONS extract_chmLib has no options. .SH SEE ALSO Website: .SH AUTHOR extract_chmLib was written by Jed Wing .PP This manual page was written by Bymin Cutler and formatted by Kartik Mistry , for the Debian project (but may be used by others). debian/compat0000644000000000000000000000000212260024614010361 0ustar 5 debian/test_chmLib.10000644000000000000000000000124612260024614011505 0ustar .TH test_chmLib 1 "2007-04-05" "" "" .SH NAME test_chmLib \- Extracts a file out of a chm file. .SH SYNOPSIS .B test_chmLib [\fIFILE\fR] [\fIFILENAME\fR] [\fIDESTFILE\fR] .SH DESCRIPTION .PP test_chmLib pulls out of and writes it to . .PP .SH USAGE test_chmLib .SH OPTIONS test_chmLib has no options. .SH SEE ALSO Website: .SH AUTHOR test_chmLib was written by Jed Wing .PP This manual page was written Bymin Cutler and formatted by Kartik Mistry , for the Debian project (but may be used by others). debian/libchm-dev.install0000644000000000000000000000003512260026673012572 0ustar /usr/include/* /usr/lib/*.so debian/README.source0000644000000000000000000000130012260024614011334 0ustar The chmlib package uses quilt to maintain local changes to the chmlib distribution. The Debian-specific patches are maintained in the debian/patches/ directory. To apply all the patches, preparing the source for building, use: debian/rules patch To revert the patches, preparing to build a source package, use: debian/rules unpatch You do not need to manually execute these targets when building the package; they are part of the debian/rules target chain. For more information on the quilt integration with Debian packages, as well as editing, adding or removing patches, please see the quilt documentation; in recent versions of the Debian package of quilt: /usr/share/doc/quilt/README.source debian/control0000644000000000000000000000436312260027312010572 0ustar Source: chmlib Section: libs Priority: optional Maintainer: Kartik Mistry Build-Depends: debhelper (>= 7), dh-autoreconf, libtool Standards-Version: 3.9.5 Homepage: http://www.jedrea.com/chmlib/ Vcs-Git: git://anonscm.debian.org/collab-maint/chmlib.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/chmlib.git;a=summary Package: libchm1 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: library for dealing with Microsoft CHM files It is a very simple library, but sufficient for dealing with all of the chm files. Library currently does not has write support. . CHM files are used on the Microsoft Windows platform to store program documentation, almost always in the form of HTML, with some non-standard quirks. CHM files are a form of archive known as InfoTech Storage Format (ITSF) files and contain some special files to implement features of the CHM viewer. Package: libchm-dev Architecture: any Section: libdevel Depends: libchm1 (= ${binary:Version}), ${misc:Depends} Description: library for dealing with Microsoft CHM files (development) It is a very simple library, but sufficient for dealing with all of the chm files. Library currently does not has write support. . CHM files are used on the Microsoft Windows platform to store program documentation, almost always in the form of HTML, with some non-standard quirks. CHM files are a form of archive known as InfoTech Storage Format (ITSF) files and contain some special files to implement features of the CHM viewer. . This package includes development headers, libraries and test programs. Package: libchm-bin Architecture: any Section: libdevel Depends: ${misc:Depends}, ${shlibs:Depends} Description: library for dealing with Microsoft CHM files (test programs) It is a very simple library, but sufficient for dealing with all of the chm files. Library currently does not has write support. . CHM files are used on the Microsoft Windows platform to store program documentation, almost always in the form of HTML, with some non-standard quirks. CHM files are a form of archive known as InfoTech Storage Format (ITSF) files and contain some special files to implement features of the CHM viewer. . This package includes test programs. debian/enum_chmLib.10000644000000000000000000000115412260024614011470 0ustar .TH enum_chmLib 1 "2007-04-05" "" "" .SH NAME enum_chmLib \- Lists the contents of a chm file. .SH SYNOPSIS .B enum_chmLib [\fIFILE\fR]... .SH DESCRIPTION .PP enum_chmLib lists the contents of the specified chm file to stdout. .PP .SH USAGE enum_chmLib .SH OPTIONS enum_chmLib has no options. .SH SEE ALSO Website: .SH AUTHOR enum_chmLib was written by Jed Wing .PP This manual page was written by Bymin Cutler and formatted by Kartik Mistry , for the Debian project (but may be used by others). debian/source/0000755000000000000000000000000012260024614010463 5ustar debian/source/format0000644000000000000000000000001412260024614011671 0ustar 3.0 (quilt) debian/libchm-bin.manpages0000644000000000000000000000015412260024614012704 0ustar debian/chm_http.1 debian/enum_chmLib.1 debian/enumdir_chmLib.1 debian/extract_chmLib.1 debian/test_chmLib.1 debian/changelog0000644000000000000000000002742112260025720011042 0ustar chmlib (2:0.40a-3) unstable; urgency=medium * debian/control: + Updated Standards-Version to 3.9.5 + Added VCS-* URLs. * Use dh-autoreconf instead of autotools-dev (Closes: #733080). Thanks to Logan Rosen for patch. -- Kartik Mistry Sun, 29 Dec 2013 19:25:28 +0530 chmlib (2:0.40a-2) unstable; urgency=low * debian/rules: + Enabled hardened build flags, Thanks to Moritz Muehlenhoff for patch. (Closes: #653955) * debian/copyright: + Fixed DEP5 URL. + Updated debian/* copyright year. -- Kartik Mistry Mon, 02 Jan 2012 10:39:18 +0530 chmlib (2:0.40a-1) unstable; urgency=low * New upstream release: + Dropped all patches, merged upstream. * debian/copyright: + Updated to DEP-5 format. * debian/rules: + Added needed build targets. * debian/control: + Updated to Standards-Version 3.9.2. + Removed old conflicted version as they are no longer in Debian. -- Kartik Mistry Mon, 21 Nov 2011 19:38:26 +0530 chmlib (2:0.40-3) unstable; urgency=low * debian/source/format: + Use source format 3.0 (quilt) * debian/control: + Updated to Standards-Version 3.8.4 + Wrapped up long description * debian/copyright: + Updated as per DEP-5 specifications + Added Debian package copyright -- Kartik Mistry Wed, 19 May 2010 08:33:30 +0530 chmlib (2:0.40-2) unstable; urgency=low * Removal of .la and .a files as part of release goal * debian/control: + Updated to Standards-Version 3.8.3 + Wrapped Build-Depends * debian/libchm-dev.install: + Do not install.la and .a files in package * Added debian/README.source file -- Kartik Mistry Tue, 25 Aug 2009 16:37:22 +0530 chmlib (2:0.40-1) unstable; urgency=low * New upstream release (Closes: #532571) + Fixed bashism in /bin/sh scripts (Closes: #530116) + Fixed chm_http craches due to segmentation fault on massive fetching (Closes: #449209) * debian/control: + Updated to Standards-Version 3.8.2 (no changes needed) * debian/copyright: + Removed versionless symlink to license texts * debian/patches/src_Makefile.in.diff: + Updated for new version -- Kartik Mistry Wed, 01 Jul 2009 14:33:30 +0530 chmlib (2:0.39-10) unstable; urgency=low * debian/control: + Updated my email address + Updated to Standards-Version 3.8.0 (no changes needed) * debian/: + [Lintian] Added symbols control file -- Kartik Mistry Mon, 11 Aug 2008 11:58:52 +0530 chmlib (2:0.39-9) unstable; urgency=low * debian/rules: + Fixed FTBFS when converted to new source format quilt 3.0 by placing config.guess/config.sub section before ./configure call (Closes: #482725) -- Kartik Mistry Tue, 27 May 2008 15:07:28 +0530 chmlib (2:0.39-8) unstable; urgency=high * Urgency set to high due to RC bug fix * debian/copyright: + Corrected license of package (LGPL-2+) and added src/lzx.* files license (GPL-2+) separately (Closes: #479649) * debian/libchm1.docs: + Added AUTHORS file in list -- Kartik Mistry Tue, 06 May 2008 09:21:28 +0530 chmlib (2:0.39-7) unstable; urgency=low * Moved previously applied patches to debian/patches using quilt * debian/control: + Added quilt support + Updated Homepage entry + Updated Standards-Version to 3.7.3 (no changes needed) + Fixed typo of 'Microsoft', Thanks to Miguel Gea Milvaques for pointing * debian/rules: + Added line to use verbose mode + Added quilt support + Don't ignore errors in clean rule by removing -i from distclean * debian/copyright: + Updated link of license to GPL-2 * debian/changelog: + Fixed typo of 'package' from previous upload changelog -- Kartik Mistry Fri, 08 Feb 2008 17:28:33 +0530 chmlib (2:0.39-6) unstable; urgency=low * Reverted libchm-bin package to real package from trasitional package, as test programs are useful in other way, Thanks to Paul Wise for pointing out * debian/control: moved homepage to real control field * Added debian/watch file * debian/rules: intended configure flags, changes related to libchm-bin package * debian/copyright: moved copyright out of license section -- Kartik Mistry Tue, 14 Nov 2007 17:14:45 +0530 chmlib (2:0.39-5) unstable; urgency=low * Improved all manpages, Thanks to Mohammed Adnène Trojette for tips and patch * debian/rules: minor cleanups, better clean target, provides upstream changelog now using NEWS file * debian/copyright: text formatted to 80 chars * debian/control: added hompage to long descriptions -- Kartik Mistry Mon, 30 Jul 2007 11:35:03 +0530 chmlib (2:0.39-4) unstable; urgency=low * New Maintainer (Closes: #416954, #416972) * debian/copyright: formatted to standard copyright file * debian/control: added ${misc:Depends}, minor cleanups, made description meaningful shorter * Updated debhelper compability to 5 * debian/rules: minor cleanups, config.guess/config.sub need to be present in .diff.gz * Merged libchm-bin into libchm-dev since separate dedicated package only for testing is not good idea * Added libchm-bin as a transition package * All manpages are now standard manpages, removed useless commented parts * debian/docs is prefixed now * Removed useless *.dirs files * Instead of moving files by hand using mv *.install is taking care now * Added libchm-dev.manpages to make debian/rules simple -- Kartik Mistry Sat, 07 Apr 2007 14:15:55 +0530 chmlib (2:0.39-3) unstable; urgency=low * Orphan package -- Julien Lemoine Sat, 31 Mar 2007 19:42:55 +0200 chmlib (2:0.39-2) unstable; urgency=low * Applied patch from Paul Wise to extract_chmLib to make it know the difference between empty files and directories inside a chm file. (Closes: #409439) -- Julien Lemoine Sat, 3 Feb 2007 10:57:25 +0100 chmlib (2:0.39-1) unstable; urgency=high * New upstream release, fixed unsafe alloca() call (Closes: #408603) -- Julien Lemoine Sat, 27 Jan 2007 21:00:41 +0100 chmlib (0.380-2) unstable; urgency=low * Include patch of 0.38-3 reverted by error in upload of chmlib 0.380-1 : Fixed typo in debian/rules file : binaries were installed in /usr/bin/bin instead of /usr/bin in libchm-bin package (Closes: #383915) -- Julien Lemoine Mon, 28 Aug 2006 20:42:27 +0200 chmlib (0.380-1) unstable; urgency=low * Fixed lintian warning : removed .svn directory from upstream sources -- Julien Lemoine Tue, 22 Aug 2006 13:47:10 +0200 chmlib (0.38-2) unstable; urgency=low * Fixed build failure (missing /bin in debian/rules) (Closes: #382068) -- Julien Lemoine Tue, 8 Aug 2006 19:53:20 +0200 chmlib (0.38-1) unstable; urgency=high * New upstream release (Closes: #374085) -- Julien Lemoine Tue, 20 Jun 2006 12:15:35 +0200 chmlib (0.37-2) unstable; urgency=low * Fixes build failure (wrong libpath. Closes: #336653) -- Julien Lemoine Mon, 31 Oct 2005 21:30:14 +0100 chmlib (0.37-1) unstable; urgency=high * New upstream release (Fixes buffer overflow. Closes: #335931) -- Julien Lemoine Mon, 31 Oct 2005 11:33:24 +0100 chmlib (0.36-4) unstable; urgency=low * Fixed shlib version number (Closes: #335394) * Changed version of packages (libchm1 instead of chmlib and libchm-dev instead of chmlib-dev) -- Julien Lemoine Mon, 24 Oct 2005 18:40:22 +0200 chmlib (0.36-3) unstable; urgency=low * Added conflict on xchm <= 1.2.0-2 (Closes: #332740) -- Julien Lemoine Sun, 9 Oct 2005 21:29:45 +0200 chmlib (0.36-2) unstable; urgency=low * Changed soname of library (0.0.0 -> 1.0.0) (Closes: #332728) -- Julien Lemoine Sat, 8 Oct 2005 10:33:39 +0200 chmlib (0.36-1) unstable; urgency=low * New upstream release -- Julien Lemoine Fri, 9 Sep 2005 20:29:36 +0200 chmlib (0.35-7) unstable; urgency=low * Fixed problem with empty string in ${misc:Depends} Thanks to Aaron M. Ucko (Closes: #317161) -- Julien Lemoine Wed, 6 Jul 2005 21:06:52 +0200 chmlib (0.35-6) unstable; urgency=low * Removed uint_t patch in chm_lib.c because it does not work on amd64, use upstream types (Closes: #301879) -- Julien Lemoine Tue, 29 Mar 2005 20:44:11 +0200 chmlib (0.35-5) unstable; urgency=low * Add examples source code in -dev package (Closes: #272871) -- Julien Lemoine Wed, 22 Sep 2004 22:33:33 +0200 chmlib (0.35-4) unstable; urgency=low * Added a -L. to allow compilation of example without chmlib installed (Closes: #258011) -- Julien Lemoine Sun, 11 Jul 2004 22:43:31 +0200 chmlib (0.35-3) unstable; urgency=low * Fixed integer types problem (Thanks to Goswin von Brederlow for his help) (Closes: #258444) -- Julien Lemoine Sun, 11 Jul 2004 14:50:25 +0200 chmlib (0.35-2) unstable; urgency=low * Fixed compilation failure on non i386 architecture (Closes: #258444) -- Julien Lemoine Fri, 9 Jul 2004 22:20:13 +0200 chmlib (0.35-1) unstable; urgency=low * New upstream release UTF-8 filename, first support, not yet full supported (Closes: #252612) -- Julien Lemoine Tue, 29 Jun 2004 22:58:07 +0200 chmlib (0.33-4) unstable; urgency=low * Added man pages for binaries in chmlib-bin package (Closes: #252815) Thanks to "Benjamin Cutler" for his contribution -- Julien Lemoine Sat, 5 Jun 2004 16:08:34 +0200 chmlib (0.33-3) unstable; urgency=low * Fixed portability errors (UInt64 were defined only for i386) -- Julien Lemoine Thu, 3 Jun 2004 23:38:18 +0200 chmlib (0.33-2) unstable; urgency=low * Fixed FTBFS (Closes: #251504) -- Julien Lemoine Fri, 28 May 2004 21:57:55 +0200 chmlib (0.33-1) unstable; urgency=low * New upstream release (Closes: #250283) -- Julien Lemoine Fri, 28 May 2004 20:31:17 +0200 chmlib (0.31-6) unstable; urgency=low * Added patch from pabs@zip.to to fix error with empty files (identifies them as directories) (Closes: #246777) * Added test programs in chmlib-bin package (Closes: #244879) -- Julien Lemoine Sun, 9 May 2004 03:18:55 +0200 chmlib (0.31-5) unstable; urgency=low * Added description of CHM format in description (Thanks to Pabs ) (Closes: #238720) -- Julien Lemoine Wed, 7 Apr 2004 22:34:19 +0200 chmlib (0.31-4) unstable; urgency=low * added __GNUC__ on ifdef, this will allow compilation on all debian archs (Closes: #238218) -- Julien Lemoine Wed, 17 Mar 2004 00:07:02 +0100 chmlib (0.31-3) unstable; urgency=low * Changed section from libs to libdevel -- Julien Lemoine Fri, 12 Mar 2004 00:27:27 +0100 chmlib (0.31-2) unstable; urgency=low * Added build-depends on libtool -- Julien Lemoine Fri, 12 Mar 2004 00:09:43 +0100 chmlib (0.31-1) unstable; urgency=low * Initial Release for debian pool. * Patched makefile to allow use of new libtool version -- Julien Lemoine Sat, 28 Feb 2004 18:55:36 +0100 debian/watch0000644000000000000000000000007412260024614010215 0ustar version=3 http://www.jedrea.com/chmlib/chmlib-(.*)\.tar\.gz debian/chm_http.10000644000000000000000000000166612260024614011064 0ustar .TH chm_http 1 "2007-04-05" "" "" .SH NAME chm_http \- Simplistic web server to allow browsing of chm files without extracting them. .SH SYNOPSIS .B chm_http [\fIOPTION\fR]... [\fIFILE\fR]... .SH DESCRIPTION .PP chm_http sets up a simplistic webserver that allows you to view the specified chm file through a regular web browser, without extracting them. In the words of the author it's "probably badly broken", so use it with caution. .PP .SH USAGE chm_http [\-\-port=PORT] [\-\-bind=IP] .SH OPTIONS .TP \fB\-\-port=\fIPORT\fR PORT Specify the port for server .TP \fB\-\-bind=\fIIP_ADDRESS\fR Bind the server with IP ADDRESS .SH SEE ALSO Website: .SH AUTHOR chm_http was written by Jed Wing .PP This manual page was written by Bymin Cutler and formatted by Kartik Mistry , for the Debian project (but may be used by others). debian/rules0000755000000000000000000000337512260027427010260 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = `dpkg-buildflags --get CFLAGS` CFLAGS += -Wall LDFLAGS = `dpkg-buildflags --get LDFLAGS` CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` configure: configure-stamp configure-stamp: dh_testdir dh_autoreconf ./configure CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --enable-examples || cat config.log touch $@ build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) touch $@ clean: dh_testdir dh_testroot rm -rf build-stamp configure-stamp test_chmLib config.log config.cache [ ! -f Makefile ] || $(MAKE) distclean dh_autoreconf_clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installchangelogs -k NEWS dh_installdocs dh_installman dh_installexamples ChmLib-ds6.zip ChmLib-ce.zip dh_installexamples -p libchm-dev src/chm_http.c \ src/enum_chmLib.c src/enumdir_chmLib.c \ src/extract_chmLib.c src/test_chmLib.c dh_install --sourcedir=debian/tmp dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs -plibchm1 -V 'libchm1 (>= 0.39-5)' dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure