summaryrefslogtreecommitdiff
path: root/app-text/xchm/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xchm/files')
-rw-r--r--app-text/xchm/files/xchm-1.23-wx3.0-compat.patch32
-rw-r--r--app-text/xchm/files/xchm.desktop11
-rw-r--r--app-text/xchm/files/xchm.xml7
3 files changed, 0 insertions, 50 deletions
diff --git a/app-text/xchm/files/xchm-1.23-wx3.0-compat.patch b/app-text/xchm/files/xchm-1.23-wx3.0-compat.patch
deleted file mode 100644
index a9545cf5b568..000000000000
--- a/app-text/xchm/files/xchm-1.23-wx3.0-compat.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Description: Fix code to compile with wxwidgets 3.0
- Drops support for wx < 2.7, which is just not relevant now. And in fact
- configure.ac checks for at least 2.8.0.
-Author: Olly Betts <olly@survex.com>
-Last-Update: 2014-03-07
-
---- xchm-1.23.orig/src/chmframe.cpp
-+++ xchm-1.23/src/chmframe.cpp
-@@ -265,11 +265,7 @@ void CHMFrame::OnChangeFonts(wxCommandEv
- enu.EnumerateFacenames();
- _normalFonts = new wxArrayString;
-
--#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 7
- *_normalFonts = enu.GetFacenames();
--#else
-- *_normalFonts = *enu.GetFacenames();
--#endif
- _normalFonts->Sort();
- }
-
-@@ -278,11 +274,7 @@ void CHMFrame::OnChangeFonts(wxCommandEv
- enu.EnumerateFacenames(wxFONTENCODING_SYSTEM, TRUE);
- _fixedFonts = new wxArrayString;
-
--#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 7
- *_fixedFonts = enu.GetFacenames();
--#else
-- *_fixedFonts = *enu.GetFacenames();
--#endif
- _fixedFonts->Sort();
- }
-
diff --git a/app-text/xchm/files/xchm.desktop b/app-text/xchm/files/xchm.desktop
deleted file mode 100644
index a8842132a170..000000000000
--- a/app-text/xchm/files/xchm.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[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=Office;Viewer;
diff --git a/app-text/xchm/files/xchm.xml b/app-text/xchm/files/xchm.xml
deleted file mode 100644
index 08cb9ca3f4b8..000000000000
--- a/app-text/xchm/files/xchm.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?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>