Bug 506066

Summary: Use system hyphenators instead of scribus's copies
Product: [Fedora] Fedora Reporter: Caolan McNamara <caolanm>
Component: scribusAssignee: Dan Horák <dan>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: andreas.bierfert, dan, nsoranzo
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://bugs.scribus.net/view.php?id=8232
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 21:50:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to do this none

Description Caolan McNamara 2009-06-15 13:06:52 UTC
Created attachment 347934 [details]
patch to do this

Description of problem:
Scribus includes a copy of a number of hyphenators that were originally created for use by OOo.

But there are a lot more hyphenators for a lot more languages available, and they are all packaged separately in Fedora (see /usr/share/hyphen and hyphen-af through to hyphen-zu at http://fedoraproject.org/wiki/OpenOffice.org/LinguisticComponents)

It would be ideal to use the system hyphenators to reduce duplication and to allow scribus to support these other languages

Version-Release number of selected component (if applicable):
scribus-1.3.5-0.14.rc2.fc12

Attached is a patch that allows this to be possible, Requires: hunspell-en to ensure at least a "C" locale hyphenator would be needed afterwards and /usr/share/scribus/dicts/ should be removed.

There are some small complexities with this in scribus, i.e. the names of languages that scribus knows about are in a table. So to support arbitrary names which scribus doesn't know about we take the locale string as a fallback. Additionally scribus munges the Locale into e.g. "English" and back from that to one entry, so some information gets lost. But the patch should be good enough for the majority of situations.

Comment 1 Caolan McNamara 2009-06-15 13:21:12 UTC
Logged the "generic" part of this as http://bugs.scribus.net/view.php?id=8157

Comment 2 Caolan McNamara 2009-06-15 13:25:40 UTC
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533081 for the debian equivalent

Comment 3 Bug Zapper 2009-11-16 10:12:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Bug Zapper 2010-11-04 11:06:25 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Nicola Soranzo 2011-02-16 16:12:49 UTC
FYI, according to the upstream bug report

http://bugs.scribus.net/view.php?id=8232

this bug has been fixed in 1.4.0.svn .

Comment 6 Dan Horák 2011-02-16 16:24:54 UTC
(In reply to comment #5)
> FYI, according to the upstream bug report
> 
> http://bugs.scribus.net/view.php?id=8232
> 
> this bug has been fixed in 1.4.0.svn .

The upstream bug is only about using system hyphenation library, the usage of system hyphenators must be still resolved.

Comment 7 Fedora End Of Life 2012-08-16 21:50:04 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping