diff options
author | Peter Volkov <pva@gentoo.org> | 2008-05-19 13:14:27 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-05-19 13:14:27 +0000 |
commit | 6ae0ccbfe5d06dbdaf1b4837987773201aad832a (patch) | |
tree | 15e6ad741c90fb667d8685197f6b665752f4a88e /app-text/xchm/files | |
parent | Version bump. Some of our fixes integrated! (diff) | |
download | gentoo-2-6ae0ccbfe5d06dbdaf1b4837987773201aad832a.tar.gz gentoo-2-6ae0ccbfe5d06dbdaf1b4837987773201aad832a.tar.bz2 gentoo-2-6ae0ccbfe5d06dbdaf1b4837987773201aad832a.zip |
Moved from x11-misc/xchm, bug #220741, thank Antek Grzymala for report.
(Portage version: 2.1.4.4, RepoMan options: --force)
Diffstat (limited to 'app-text/xchm/files')
-rw-r--r-- | app-text/xchm/files/xchm-1.13-gcc-4.3.patch | 14 | ||||
-rw-r--r-- | app-text/xchm/files/xchm.desktop | 11 | ||||
-rw-r--r-- | app-text/xchm/files/xchm.xml | 7 |
3 files changed, 32 insertions, 0 deletions
diff --git a/app-text/xchm/files/xchm-1.13-gcc-4.3.patch b/app-text/xchm/files/xchm-1.13-gcc-4.3.patch new file mode 100644 index 000000000000..d5035b560a07 --- /dev/null +++ b/app-text/xchm/files/xchm-1.13-gcc-4.3.patch @@ -0,0 +1,14 @@ +diff -Naur xchm-1.13-orig/src/chmfile.h xchm-1.13/src/chmfile.h +--- xchm-1.13-orig/src/chmfile.h 2007-04-10 06:07:17.000000000 -0600 ++++ xchm-1.13/src/chmfile.h 2007-12-19 19:00:16.000000000 -0600 +@@ -277,8 +277,8 @@ + + //! Retrieve the data (name/URL) for a single entry (TOC or index) + bool GetItem(UCharPtr& topics, UCharPtr& strings, UCharPtr& urltbl, +- UCharPtr& urlstr, u_int32_t index, wxTreeCtrl *toBuild, +- CHMListCtrl* toBuild, const wxString& idxName, ++ UCharPtr& urlstr, u_int32_t index, wxTreeCtrl* tree, ++ CHMListCtrl* list, const wxString& idxName, + const wxCSConv& cv, int level, bool local); + + //! Get the binary index (if available) diff --git a/app-text/xchm/files/xchm.desktop b/app-text/xchm/files/xchm.desktop new file mode 100644 index 000000000000..aced6708cb5e --- /dev/null +++ b/app-text/xchm/files/xchm.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=xCHM +Comment=Compiled HTML Help (CHM) file viewer +Comment[fr]=Visionneuse de fichiers Compiled HTML Help (CHM) +Icon=xchm +TryExec=xchm +Exec=xchm %f +MimeType=application/x-chm; +Categories=Viewer;Utility; diff --git a/app-text/xchm/files/xchm.xml b/app-text/xchm/files/xchm.xml new file mode 100644 index 000000000000..08cb9ca3f4b8 --- /dev/null +++ b/app-text/xchm/files/xchm.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-chm"> + <comment>Compiled HTML Help Format</comment> + <glob pattern="*.chm"/> + </mime-type> +</mime-info> |