1
Description: Allow the use of others hyphenators files.
2
The idea here is to allow the use of hyphenator dictionaries presents in
3
/usr/share/hyphen through a symlink from /usr/share/scribus/dicts.
4
It's clearly a workaround-
5
Author: Mattia Rizzolo <mattia@mapreri.org>
6
Forwarded: not-needed, but looks like upstream don't want it
7
Bug: http://bugs.scribus.net/view.php?id=8157
8
Bug-Debian: https://bugs.debian.org/533081
9
Bug-Debian: https://bugs.debian.org/762942
10
Last-Update: 2014-10-11
12
--- a/scribus/scribus.cpp
13
+++ b/scribus/scribus.cpp
16
QFile::remove(prefsManager->preferencesLocation()+"/tmp.ps");
17
QFile::remove(prefsManager->preferencesLocation()+"/sc.png");
18
- QDir d(prefsManager->preferencesLocation()+"/", "sc.*", QDir::Name, QDir::Files | QDir::NoSymLinks);
19
+ QDir d(prefsManager->preferencesLocation()+"/", "sc.*", QDir::Name, QDir::Files);
20
if ((d.exists()) && (d.count() != 0))
22
for (uint dc = 0; dc < d.count(); dc++)