By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2077 - Docbook catalogs in SGML causes FTBFS
Summary: Docbook catalogs in SGML causes FTBFS
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdelibs (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: All Linux
: P5 major
Assignee: Slávek Banko
URL:
Depends on:
Blocks:
 
Reported: 2014-07-20 09:16 CDT by Slávek Banko
Modified: 2014-09-17 17:33 CDT (History)
4 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
tdelibs : Switch docbook catalogs to xml (103.55 KB, patch)
2014-07-20 09:16 CDT, Slávek Banko
Details | Diff
tdelibs : Switch docbook catalogs to xml (1) (103.42 KB, patch)
2014-07-20 10:05 CDT, Slávek Banko
Details | Diff
Add docbook xml catalogs in tdelibs on Debian and Ubuntu (82.96 KB, patch)
2014-07-21 02:39 CDT, Slávek Banko
Details | Diff
tdelibs : Switch docbook catalogs to xml (2) (104.00 KB, patch)
2014-07-24 13:46 CDT, Slávek Banko
Details | Diff
tdelibs: fix el, fi, ko catalog.xml (3.68 KB, patch)
2014-09-17 11:44 CDT, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Slávek Banko 2014-07-20 09:16:39 CDT
Created attachment 2097 [details]
tdelibs : Switch docbook catalogs to xml

During the last build filelight on Debian 8 (Jessie), I came across a serious problem with Docbook - catalogs in SGML format is no longer supported.

So I prepared a XML version of catalogs. Please, before I'll push the patch, test it on other distributions.
Comment 1 Slávek Banko 2014-07-20 10:05:01 CDT
Created attachment 2098 [details]
tdelibs : Switch docbook catalogs to xml (1)
Comment 2 Slávek Banko 2014-07-21 02:39:20 CDT
Created attachment 2099 [details]
Add docbook xml catalogs in tdelibs on Debian and Ubuntu

For completeness, I also attach a patch for tde-packaking.
Comment 3 Slávek Banko 2014-07-21 11:42:20 CDT
As I have now traced, the change is probably associated with updating libxml2 to libxml2 2.9.1+dfsg1-4:

https://packages.qa.debian.org/libx/libxml2.html
Comment 4 Slávek Banko 2014-07-24 13:05:46 CDT
I looked through the patches, which are incorporated in the updated Debian package, one interested me, I tried to revert it and got it!

https://git.gnome.org/browse/libxml2/commit/?id=054c716e

This commit causes: if enabled XML catalogs are supported >>exclusively<< XML catalogs. The question is whether this is a bug or intention?
Comment 5 Slávek Banko 2014-07-24 13:46:32 CDT
Created attachment 2100 [details]
tdelibs : Switch docbook catalogs to xml (2)

Cleanup patch:
+ fixed a few not closed tags
+ catalogs are passed using variable XML_CATALOG_FILES instead of SGML_CATALOG_FILES
Comment 6 Michele Calgaro 2014-07-25 08:51:16 CDT
Slavek,
I took a look at the patches and the solution is quite elegant.
I built tdelibs and tdebase without errors and see no problems with the handbooks.

Whether the change in libxml2 was intentional or not I don't know, but I think you can push the patches to GIT so that we don't need to worry about that.

Well done!
Comment 7 Slávek Banko 2014-07-25 18:21:15 CDT
Comment on attachment 2100 [details]
tdelibs : Switch docbook catalogs to xml (2)

Pushed to GIT in hash 1bb6f88d.
Comment 8 Slávek Banko 2014-07-25 18:21:54 CDT
Comment on attachment 2099 [details]
Add docbook xml catalogs in tdelibs on Debian and Ubuntu

Pushed to GIT in hash 5dfe8ce1.
Comment 9 Slávek Banko 2014-07-25 18:28:05 CDT
Patches pushed, rebuild tdelibs packages is now underway...
Comment 10 Francois Andriot 2014-09-17 11:44:36 CDT
Created attachment 2248 [details]
tdelibs: fix el, fi, ko catalog.xml

There are a few errors in the "el", "fi" and "ko" files "catalog.xml", which cause koffice-i18n FTBFS.
Basically, on some lines, the attribute "uri=" is missing.
The attached patches fixes the XML files.
Comment 11 Slávek Banko 2014-09-17 17:33:09 CDT
Comment on attachment 2248 [details]
tdelibs: fix el, fi, ko catalog.xml

Pushed to GIT in hash 2824570e.
Thank you!