Bug 281065 - compilation error with french language enables
Summary: compilation error with french language enables
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 19:58 UTC by Fred Röhner
Modified: 2011-09-29 15:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Patch to allow compilation of French documentation in KMM 4.6.0 (1.96 KB, patch)
2011-08-30 20:20 UTC, Jack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Röhner 2011-08-30 19:58:54 UTC
Version:           unspecified (using KDE 4.6.5) 
OS:                Linux

compilation error during emerge of package app-office/kmymoney-4.6.0
with 'linguas_fr' enables
missing blank char in language file?

Reproducible: Always

Steps to Reproduce:
emerge =app-office/kmymoney-4.6.0
with 'linguas_fr' enables

Actual Results:  
build error (see attached file)

Expected Results:  
build without error
Comment 1 Jack 2011-08-30 20:10:49 UTC
This is a known problem, due to the French translation using entities (within the docbook syntax) that will not be available until a later version of kdelibs.  The required entity definitions are available in the main index.docbook file in svn, but they actually have to be inserted into the French index.docbook for the compilation to succeed.  I think I can put together a patch, but until we release an updated version, it would have to be applied separately by each distribution.
Comment 2 Jack 2011-08-30 20:20:14 UTC
Created attachment 63242 [details]
Patch to allow compilation of French documentation in KMM 4.6.0

I'm not sure how to best get this applied - I suspect it is distribution specific until it is rolled into the next release.  It is to be applied to index.docbook within French documentation directory - in my case doc-translations/fr_kmymoney/kmymoney/index.docbook in the root of the unpacked tarball.

I'll be glad to file a Gentoo bug.
Comment 3 Jack 2011-08-30 20:31:45 UTC
Gentoo bug 381229.
Comment 4 Jack 2011-09-28 21:45:19 UTC
There has been no action on the Gentoo bug since I filed it.  I have not checked if the French translation team has fixed the source.
Comment 5 Yuri Chornoivan 2011-09-29 04:18:30 UTC
(In reply to comment #4)
> I have not
> checked if the French translation team has fixed the source.

They do not fix it (two messages should be unfuzzied to do so). Should I ask them to do this?
Comment 6 Yuri Chornoivan 2011-09-29 06:35:13 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I have not
> > checked if the French translation team has fixed the source.
> 
> They do not fix it (two messages should be unfuzzied to do so). Should I ask
> them to do this?

Oops... Disregard the last comment. The French docs are updated for stable [1] (but not for trunk). Regretfully they have forgotten to copy images, but everything else is good. Sorry for my mistake.

[1] http://websvn.kde.org/branches/stable/l10n-kde4/fr/docs/extragear-office/kmymoney/index.docbook?r1=1246489&r2=1249969
Comment 7 Jack 2011-09-29 14:57:27 UTC
Yuri - thanks for the info.  I think I now have to revert the addition of those entities to the main index.docbook, because they serve no purpose there.
Comment 8 Yuri Chornoivan 2011-09-29 15:15:10 UTC
(In reply to comment #7)
> Yuri - thanks for the info.  I think I now have to revert the addition of those
> entities to the main index.docbook, because they serve no purpose there.

Please do not do this for stable. It is likely that if there will be the need in minor correction, the packages can be broken after the localized docbook update.