debian/0000755000000000000000000000000012257010373007166 5ustar debian/docs0000644000000000000000000000000712146417063010042 0ustar README debian/copyright0000644000000000000000000000260612146441053011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: xchm Source: http://xchm.sourceforge.net Upstream-Contact: Razvan Cojocaru Files: * Copyright: 2003-2007, Razvan Cojocaru License: GPL-2+ Files: XML-RPC/Context ID code Copyright: Eamon Millman / PCI Geomatics License: GPL-2+ Files: debian/* Copyright: 2005-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 . 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'. debian/xchm.keys0000644000000000000000000000056512146417063011034 0ustar application/x-chm: description=Compiled HTML Help default_action_type=application short_list_application_ids_for_novice_user_level=xchm short_list_application_ids_for_intermediate_user_level=xchm short_list_application_ids_for_advanced_user_level=xchm open=xchm %f view=xchm %f icon_filename=/usr/share/pixmaps/xchm.xpm category=Documents/Compiled HTML Help (CHM) debian/menu0000644000000000000000000000021212146417063010054 0ustar ?package(xchm):needs="X11" section="Applications/Viewers" \ title="xCHM" command="/usr/bin/xchm" \ icon="/usr/share/pixmaps/xchm.xpm" debian/compat0000644000000000000000000000000212146417063010370 0ustar 5 debian/xchm.desktop0000644000000000000000000000050212257010304011507 0ustar [Desktop Entry] Name=xCHM Comment=Compiled HTML Help (CHM) file viewer Comment[fr]=Visionneuse de fichiers Compiled HTML Help (CHM) Exec=xchm %f TryExec=xchm Terminal=false Type=Application Icon=xchm Categories=Office;Viewer;GTK; MimeType=application/x-chm; Keywords=chm;view;document; [Desktop Action View] Exec=xchm %f debian/xchm.10000644000000000000000000000324012146417063010212 0ustar .\" Author: Julien Lemoine .\" .\" 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA .TH "XCHM" 1 "August 2006" "" "" .SH NAME xchm \- Compiled HTML Help (CHM) file viewer for X. .SH SYNOPSIS .B xchm .RI [\| OPTIONS \|] .RI [\| FILE \|] .SH DESCRIPTION .B xchm is a viewer for Compiled HTML Help (CHM) files. It, can show the contents tree if one is available, print the current page and do the usual history stunts. It allows you to change fonts and search for text in all the pages of the file, or in the pages' titles. xchm does not handle Javascript in the book. .SH OPTIONS .TP .B -c, --contextid= context-Id to open in file, requires that a file be specified. .TP .B -h, --help displays help message and exit. .SH SEE ALSO .BR Homepage: .SH AUTHOR Razvan Cojocaru .PP This manual page was written by Julien Lemoine and reformatted by Kartik Mistry for the \fBDebian\fP system (but may be used by others). debian/xchm.mime0000644000000000000000000000021112146417063010774 0ustar application/x-chm; /usr/bin/xchm '%s'; edit=xchm '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.chm; description="Compiled HTML Help" debian/control0000644000000000000000000000173412256754674010620 0ustar Source: xchm Section: x11 Priority: optional Maintainer: Kartik Mistry Build-Depends: autotools-dev, debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1~), libchm-dev (>= 2:0.40a), libwxgtk2.8-dev Build-Conflicts: libwxbase2.6-dev, libwxgtk2.6-dev Standards-Version: 3.9.5 Homepage: http://xchm.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/collab-maint/xchm.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xchm.git;a=summary Package: xchm Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Conflicts: chmlib Description: Compiled HTML Help (CHM) file viewer for X xCHM is a viewer for Compiled HTML Help (CHM) files. It can show the contents tree if one is available, print the current page and do the usual history stunts. It allows one to change fonts and search for text in all the pages of the file, or in the page's titles. . xCHM does not support JavaScript in books. debian/source/0000755000000000000000000000000012146417063010472 5ustar debian/source/format0000644000000000000000000000001412146417063011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000003672612257010373011056 0ustar xchm (2:1.23-1) unstable; urgency=low * New upstream release. * debian/control: + Updated Standards-Version to 3.9.5 + Added VCS-* fields. * debian/xchm.desktop: + Added missing Keywords field. * debian/rules: + Do not clean config.sub/config.guess files. -- Kartik Mistry Thu, 26 Dec 2013 16:49:50 +0530 xchm (2:1.21-1) unstable; urgency=low * New upstream release * debian/control: + Fixed Build-Depends with correct epoch. + Updated Standards-Version to 3.9.3. + Added dpkg-dev as Build-Dep for hardening flags. * debian/rules: + Fixed compiler flags, LDFLAGS. + Added hardening support. + Added required build targets. * debian/copyright: + Updated to copyright-format 1.0 + Updated Debian copyright year. -- Kartik Mistry Tue, 30 Oct 2012 11:54:25 +0530 xchm (2:1.20-1) unstable; urgency=low * New upstream release -- Kartik Mistry Thu, 19 May 2011 08:42:19 +0530 xchm (2:1.19-1) unstable; urgency=low * New upstream release * debian/control: + Updated Standards-Version 3.9.2 (no changes needed) + Fixed typo in description -- Kartik Mistry Thu, 28 Apr 2011 18:36:48 +0530 xchm (2:1.18-2) unstable; urgency=low * Uploaded to unstable -- Kartik Mistry Thu, 10 Feb 2011 17:20:50 +0530 xchm (2:1.18-1) experimental; urgency=low * New upstream release * debian/control: + Updated Standards-Version 3.9.1 -- Kartik Mistry Wed, 15 Dec 2010 12:11:14 +0530 xchm (2:1.17-3) unstable; urgency=low * Converted package to 3.0 (quilt) source format * debian/control: + Updated Standards-Version 3.8.4 (no changes needed) + Updated debhelper dependency to >= 7.0.50~ + Wrapped up Build-Depends * debian/rules: + Used dh_prep instead of dh_clean -k * debian/copyright: + Don't refer to symlink license text + Updated as per DEP-5 specification -- Kartik Mistry Sun, 09 May 2010 09:21:18 +0530 xchm (2:1.17-2) unstable; urgency=low * debian/README.Debian: + [Lintian] Fixed several typos of targeting and explicitly * debian/control: + Updated Standards-Version 3.8.2 (no changes needed) -- Kartik Mistry Thu, 25 Jun 2009 12:49:59 +0530 xchm (2:1.17-1) unstable; urgency=low * New upstream release: + Fix FTBFS with gcc-4.4 (Closes: #530524) * debian/rules: + Removed deprecated dh_desktop call -- Kartik Mistry Tue, 26 May 2009 17:35:23 +0530 xchm (2:1.16-1) unstable; urgency=low * New upstream release -- Kartik Mistry Wed, 20 May 2009 16:59:34 +0530 xchm (2:1.15-1) unstable; urgency=low * New upstream release * debian/control: + Updated Build-Depends on libwxgtk2.8-dev + Build conflicts to libwxgtk2.6-dev + Updated Standards-Version 3.8.1 * Dropped obsolete patch to make greeting translatable -- Kartik Mistry Fri, 17 Apr 2009 21:40:29 +0530 xchm (2:1.14-5) unstable; urgency=low * debian/control: + Updated to Standards-Version 3.8.0 + Updated my maintainer email addresss + Bumped debhelper dependency to 6 * debian/rules: + [Lintian] Fixed desktop mimetype by update call of dh_desktop * debian/copyright: + [Lintian] Added copyright symbol in copyright statement * debian/patches/02_make_greeting_translatable.diff: + [Lintian] Added proper description to patch * debian/README.Debian: + Removed deprecated text + Fixed minor typo + Updated maintainer email and timestamp -- Kartik Mistry Wed, 18 Feb 2009 22:55:45 +0530 xchm (2:1.14-4) 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: #482731) * debian/xchm.1: + Fixed indentation to 80 characters -- Kartik Mistry Tue, 27 May 2008 13:49:54 +0530 xchm (2:1.14-3) unstable; urgency=low * debian/xcm.desktop: + Fixed categories entry to 'Office;Viewer;GTK' (Closes: #474397) * debian/copyright: + Updated Debian package copyright year -- Kartik Mistry Sat, 26 Apr 2008 01:44:30 +0530 xchm (2:1.14-2) unstable; urgency=low * Don't ship extra mimetype xchm.xml as it is already covered by freedesktop.org.xml (Closes: #466065) * debian/control: + Removed build-dependency of libchm-dev on Debian revision as backporting of package will be difficult with dependency on Debian revision * debian/changelog: + Fixed typo from previous changelogs -- Kartik Mistry Sun, 02 Mar 2008 12:13:42 +0530 xchm (2:1.14-1) unstable; urgency=low * New upstream release: + Dropped patch: 03_gcc-snapshot-ftbfs-fix-455317.dpatch, merged with upstream + Dropped patch: 01_romanian_translation_update.dpatch, merged with upstream * Added quilt support, removed dpatch support * Refreshed patch: 02_make_greeting_translatable.diff * debian/control: + Removed DM-Upload-Allow field finally * debian/README.Debian: + Fixed time-stamp -- Kartik Mistry Thu, 10 Jan 2008 11:59:26 +0530 xchm (2:1.13-7) unstable; urgency=low * debian/control: + Removed useless DM-Upload-Allow field + Updated Standards-Version to 3.7.3 * debian/patches/03_gcc-snapshot-ftbfs-fix-455317.dpatch + Added patch to fix FTBFS with gcc-snapshot due to duplicate function parameters (Closes: #455317) * debian/rules: + Fixed order of applying patches -- Kartik Mistry Tue, 11 Dec 2007 11:30:31 +0530 xchm (2:1.13-6) unstable; urgency=low * debian/watch: fixed to use only upstream version numbers * debian/control: + Updated homepage entry to use real control field + Updated build dependency on libchm1 + Added DM-Upload-Allow field * debian/copyright: updated debian package copyright -- Kartik Mistry Sat, 17 Nov 2007 18:24:22 +0530 xchm (2:1.13-5) unstable; urgency=low * debian/xchm.desktop: removed obsolete entries according to FreeDesktop standards * Added patch to make greeting message translatable, Thanks to Igor Stirbu (Closes: #422348) * debian/rules: added better clean target * debian/menu: added 'Applications' instead of 'Apps' according to latest menu policy * debian/copyright: added missing copyright owener, separated copyright from license * debian/README.Debian: removed obsolete parts, removed references to first person, fixed grammer mistake, fixed wrong reference .mime file installation * debian/watch: fixed it to use qa.debian.org redirector * Thanks to Mohammed Adnène Trojette for package review -- Kartik Mistry Sat, 11 Aug 2007 19:05:11 +0530 xchm (2:1.13-4) unstable; urgency=low * debian/xchm.desktop: moved category to Viewer;Utility; Thanks for patch to Kjell Braden (Closes: #427659) -- Kartik Mistry Wed, 06 Jun 2007 11:58:40 +0530 xchm (2:1.13-3) unstable; urgency=low * Added patch from Igor Stirbu for Romanian (ro) translation update (Closes: #426956) * Added dpatch support -- Kartik Mistry Fri, 01 Jun 2007 10:22:41 +0530 xchm (2:1.13-2) unstable; urgency=low * debian/xchm.mime: fixed malformed entry in /etc/mailcap (Closes: #422584) * debian/xchm.1: rewritten man page, updated FSF address in manpage copyright section * debian/xchm.keys: fixed path to xpm file and removed useless comment * debian/xchm.desktop: fixed icon name -- Kartik Mistry Wed, 09 May 2007 18:35:25 +0530 xchm (2:1.13-1) unstable; urgency=low * New upstream release -- Kartik Mistry Tue, 17 Apr 2007 09:56:39 +0530 xchm (2:1.11-1) unstable; urgency=low * New Maintainer (Closes: #416962, #416981) * New upstream release * debian/copyright: updated to standard copyright format * debian/rules: minor cleanups, removed useless post* scripts * debian/changelog: removed useless empty line at end * debian/watch: updated to latest standard * debian/control: minor cleanups in long descriptions * Updated debhelper compability to 5 * debian/xchm.desktop: removed useless empty lines * Removed duplicate xchm.mime file * debian/README.Debian: formatted according to standard format * dh_installmime is now use to install mime instead of xchm.install * Doesn't use prefix from debhelper files now * Removed useless debian/dirs * debian/menu: updated according to standard menu file * Removed manpages, use dh_installman instead * Moved mime-info and application-registry subdirs contents to debian * Using only one xpm now as pixmaps, rest are removed -- Kartik Mistry Mon, 09 Apr 2007 11:28:45 +0530 xchm (2:1.10-2) unstable; urgency=low * Orphan package -- Julien Lemoine Sat, 31 Mar 2007 20:20:47 +0200 xchm (2:1.10-1) unstable; urgency=low * New upstream release -- Julien Lemoine Sat, 27 Jan 2007 21:32:19 +0100 xchm (2:1.9-3) unstable; urgency=low * Added patches from ubuntu : xchm.desktop: Add Encoding, fix for validation -- Julien Lemoine Tue, 22 Aug 2006 18:09:25 +0200 xchm (2:1.9-2) unstable; urgency=low * Upgraded to debian policy 3.6.2 * Fixed lintian warnings -- Julien Lemoine Tue, 22 Aug 2006 12:26:58 +0200 xchm (2:1.9-1) unstable; urgency=low * New upstream release -- Julien Lemoine Wed, 2 Aug 2006 21:27:16 +0200 xchm (2:1.8-1) unstable; urgency=low * New upstream release -- Julien Lemoine Mon, 5 Jun 2006 14:50:28 +0200 xchm (2:1.7.1-1) unstable; urgency=low * New upstream release -- Julien Lemoine Thu, 11 May 2006 21:47:56 +0200 xchm (2:1.4.0-1) unstable; urgency=low * New upstream release (Closes: #355537) -- Julien Lemoine Mon, 6 Mar 2006 21:12:48 +0100 xchm (2:1.2.0-5) unstable; urgency=low * Rebuild with libchm1 instead of chmlib -- Julien Lemoine Mon, 31 Oct 2005 17:48:55 +0100 xchm (2:1.2.0-4) unstable; urgency=low * Depends on chmlib >= 0.36-2 instead of chmlib (Closes: #332741) -- Julien Lemoine Sun, 9 Oct 2005 21:21:11 +0200 xchm (2:1.2.0-3) unstable; urgency=low * Rebuild with new chmlib (new soname) -- Julien Lemoine Sat, 8 Oct 2005 10:40:22 +0200 xchm (2:1.2.0-2) unstable; urgency=low * Added build depends on autotools-dev (Closes: #327578) -- Julien Lemoine Sun, 11 Sep 2005 12:22:28 +0200 xchm (2:1.2.0-1) unstable; urgency=low * New upstream release -- Julien Lemoine Fri, 9 Sep 2005 21:26:04 +0200 xchm (2:1.0.0-1) unstable; urgency=low * New upstream release (Closes: #317635) * Build using wxwidgets 2.6.1 (linked with gtk2, fix problem with anchors that contain dots) (Closes: #297110) * Upgraded to debian policy 3.6.2 -- Julien Lemoine Tue, 19 Jul 2005 21:43:12 +0200 xchm (0.9.8-4) unstable; urgency=low * Remove pre-depends on mime-support (Closes: #315685) * Fixed lintian errors (Closes: #315953) -- Julien Lemoine Thu, 30 Jun 2005 16:28:36 +0200 xchm (0.9.8-3) unstable; urgency=low * Revert wxwindows 2.5 because it is not part of sid (only experimental). Relink with wxwindows 2.4 (will reincluse gtk 1 problems) (Closes: 308943) -- Julien Lemoine Fri, 13 May 2005 21:41:40 +0200 xchm (0.9.8-2) unstable; urgency=low * Build xchm with wxwindows 2.5 (linked with gtk 2.0) (Closes: #241302) -- Julien Lemoine Tue, 22 Feb 2005 20:57:24 +0100 xchm (0.9.8-1) unstable; urgency=low * New upstream release -- Julien Lemoine Tue, 22 Feb 2005 20:44:53 +0100 xchm (0.9.7-2) unstable; urgency=low * Applied patch from Ingo Saitz to fix german translation error -- Julien Lemoine Fri, 4 Feb 2005 09:08:00 +0100 xchm (0.9.7-1) unstable; urgency=low * New upstream release -- Julien Lemoine Sun, 2 Jan 2005 23:00:08 +0100 xchm (0.9.6-1) unstable; urgency=low * New upstream release -- Julien Lemoine Sun, 24 Oct 2004 20:56:40 +0200 xchm (0.9.5-1) unstable; urgency=low * New upstream release -- Julien Lemoine Wed, 22 Sep 2004 22:44:56 +0200 xchm (0.9.4-1) unstable; urgency=low * New upstream release Fixed a contents parsing bug (Closes: #267381) -- Julien Lemoine Thu, 2 Sep 2004 19:21:20 +0200 xchm (0.9.3-1) unstable; urgency=low * New upstream release -- Julien Lemoine Thu, 5 Aug 2004 00:14:13 +0200 xchm (0.9.2-4) unstable; urgency=low * Added watch file of Loic Minier for uscan (Closes: #260019) -- Julien Lemoine Mon, 19 Jul 2004 20:48:52 +0200 xchm (0.9.2-3) unstable; urgency=low * Re-add xchm.mime (file was deleted by error) (Closes: #255700) -- Julien Lemoine Sat, 17 Jul 2004 21:13:59 +0200 xchm (0.9.2-2) unstable; urgency=low * Older, and newer style MIME support / desktop integration Thanks to Loic Minier (Closes: #258849) * Added icon path to the Debian menu entry * new postinst and postrm scripts for shared MIME information * Added a Pre-Depend on mime-support * Renomed pt.po in pt_BR.po -- Julien Lemoine Mon, 12 Jul 2004 08:24:29 +0200 xchm (0.9.2-1) unstable; urgency=low * New upstream release -- Julien Lemoine Fri, 9 Jul 2004 22:26:54 +0200 xchm (0.9.1-2) unstable; urgency=low * Added mailcap entry and menu support (Applied patch from Loic Minier ) (Closes: #255700) -- Julien Lemoine Sat, 26 Jun 2004 14:55:36 +0200 xchm (0.9.1-1) unstable; urgency=low * New upstream release * Update build-dep for ia64 (libwxgtk2.4-dev (>= 2.4.2.4.0.1) [ia64]) -- Julien Lemoine Wed, 7 Apr 2004 22:23:19 +0200 xchm (0.9-1) unstable; urgency=low * New upstream release * Upload in debian pool (Closes: #212623) -- Julien Lemoine Sat, 28 Feb 2004 19:01:21 +0100 xchm (0.8.10-1) unstable; urgency=low * New upstream release -- Julien Lemoine Thu, 8 Jan 2004 21:33:01 +0100 xchm (0.8.9-1) unstable; urgency=low * New upstream release -- Julien Lemoine Mon, 8 Dec 2003 00:51:06 +0100 xchm (0.8.8-1) unstable; urgency=low * New upstream release -- Julien Lemoine Sun, 9 Nov 2003 12:56:51 +0100 xchm (0.8.7-1) unstable; urgency=low * New upstream release -- Julien Lemoine Sun, 26 Oct 2003 23:36:41 +0100 xchm (0.8.6-1) unstable; urgency=low * New upstream release -- Julien Lemoine Sun, 19 Oct 2003 00:26:43 +0200 xchm (0.8.3-1) unstable; urgency=low * New upstream release -- Julien Lemoine Tue, 30 Sep 2003 14:01:13 +0200 xchm (0.8-1) unstable; urgency=low * Initial Release. -- Julien Lemoine Thu, 4 Sep 2003 22:05:13 +0200 debian/README.Debian0000644000000000000000000001017012146417063011232 0ustar xchm for Debian --------------- Desktop / MIME integration from Loic Minier This is quite a lot of things that should go in xchm: - GNOME <= 2.4 integration (MIME entries, application registry entries etc.) not tested - freedesktop.org integration (for GNOME 2.6 and maybe KDE) This is are MIME support enabling files for xCHM targeting better GNOME/KDE integration. This is only tested it with GNOME, it might require some additional work to integrate with KDE correctly. If one want to check for support, here are the commands used: - run-mailcap file.chm: will look for the MIME type for .chm files in /etc/mime.types or ~/.mime.types, and open the application bound to this type in /etc/mailcap with the syntax described in /etc/mailcap - gnome-open display.chm: will look for the MIME type for .chm files in the GNOME MIME types database, or in the freedesktop.org shared MIME information database, and will open the GNOME application found in the GNOME application database or in the freedesktop.org shared application database associated to this type. It seems two MIME support schemes are being used in GNOME right now, - the old one, consisting of .keys and .applications files in /usr/share/{mime-info,application-registry} respectively and .mime in /usr/lib/mime/packages seems half broken (.applications aren't picked up any more). dh_installmime is used to install .mime file. - the new one, "standardized" by freedesktop.org, consisting of .desktop and .xml files (in /usr/share/{applications,mime/packages/} respectively). Some notes concerning the MIME support enabling files for xCHM: - the .desktop Categories: are Application, Viewer, and graphics as found on the web, in /usr/share/applications, and in grep '' /etc/gnome-vfs-2.0/vfolders/applications-all-users.vfolder-info, - looking in Graphics directory, It is seen that the .desktop Name: of some entries isn't related to the name of the program, but to what they do. It is unclear what the GNOME HID guidelines are suggesting. This program is explicitly targeting CHM files, and the users will probably recall they have installed xCHM to view CHM files anyway. - most viewers use the French translation "Visionneur" for "viewer", which isn't a French word. Xchm is using "Visionneuse". - the xchm.keys, xchm.applications, and xchm.mime files have been guessed from a lot of sources. There is no exhaustive reference for them especially for the priority of keys like default_action_type, open, view, short_list_application_ids_for_novice_user_level, and also for the category key. TODO.Debian: - Regarding MIME integration: - Submit new patterns for the /etc/gnome-vfs-mime-magic file update, it seems we can do some filename based pattern matching meanwhile - GNOME support: gconf, gvfs, DnD, recent-files, session mgt, (see ) Other things to do in xCHM: - Support for opening multiple files Other things to do for the CHM file format: - Register a real MIME type - at IANA: Some work on MIME type research for the CHM files is done, and unfortunately nobody bothered to register it. "application/vnd.ms-chm" is submitted to the IANA on july the 11th. It should be ok to use the application/x-chm type meanwhile: */x-* is meant for local extensions. - register file hinting in the appropriate databases: It is found that this sequence of bytes is the appropriate one for detecting CHM files (from /usr/share/misc/file/magic): 0 string ITSF\003\000\000\000\x60\000\000\000\001\000\000\000 CHM files support should be integrated in: - /etc/gnome-vfs-mime-magic - /usr/share/misc/file/magic.mime (with the appropriate MIME type) - the freedesktop.org equivalent of the magic file - register the MIME type in /etc/mime.types: This is sent to mime-support@packages.debian.org on Tue, 22 Jun 2004 15:46:39 +0200. No new mime-support package has been published since. -- Kartik Mistry Mon, 16 Feb 2009 22:26:11 +0530 debian/watch0000644000000000000000000000006512146417063010224 0ustar version=3 http://sf.net/xchm/xchm-([\d\.]+)\.tar\.gz debian/xchm.applications0000644000000000000000000000020712146417063012540 0ustar xchm command=xchm name=xCHM expect_uris=false requires_terminal=false mime_types=application/x-chm can_open_multiple_files=false debian/rules0000755000000000000000000000432612256760755010272 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif config.status: configure dh_testdir ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif ./configure CFLAGS="$(CFLAGS)" \ CXXFLAGS="$(CXXFLAGS)" \ LDFLAGS="$(LDFLAGS) -Wl,-z,defs,--as-needed" \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --infodir=\$${prefix}/share/info \ --mandir=\$${prefix}/share/man \ --prefix=/usr touch $@ build-arch: build build-indep: build build: build-stamp build-stamp: config.status dh_testdir $(MAKE) touch $@ clean: dh_testdir dh_testroot [ ! -f Makefile ] || $(MAKE) distclean rm -f build-stamp config.log config.status config.cache config.h \ stamp-h1 #rm -f config.sub config.guess dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/xchm install -D -m 0644 debian/xchm/usr/share/pixmaps/xchm-32.xpm \ debian/xchm/usr/share/pixmaps/xchm.xpm rm -f debian/xchm/usr/share/pixmaps/xchm-*.xpm rm -f debian/xchm/usr/share/pixmaps/xchmdoc*.xpm binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installmenu dh_installmime dh_installman debian/xchm.1 dh_install dh_link dh_strip dh_compress dh_fixperms 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 debian/install0000644000000000000000000000021012146441053010550 0ustar debian/xchm.applications usr/share/application-registry debian/xchm.desktop usr/share/applications debian/xchm.keys usr/share/mime-info