Menu

#9 fix build of documentation

open
nobody
None
5
2012-09-23
2010-12-27
No

The attached patch fixes the build of the de documentation, without it the following error occurs with kde-4.5.4 and qt-4.7.1:

---snip---

make[2]: Entering directory `/var/tmp/paludis/build/dev-util-kdiff3-0.9.95/work/build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/dev-util-kdiff3-0.9.95/work/build/CMakeFiles
[ 56%] Generating index.cache.bz2
cd /var/tmp/paludis/build/dev-util-kdiff3-0.9.95/work/kdiff3-0.9.95/doc/de && /usr/bin/meinproc4 --check --cache /var/tmp/paludis/build/dev-util-kdiff3-0.9.95/work/build/doc/de/index.cache.bz2 /var/tmp/paludis/build/dev-util-kdiff3-0.9.95/work/kdiff3-0.9.95/doc/de/index.docbook
No "da" localization of "footer-doc-comment" exists; using "en".
No "da" localization of "footer-doc-feedback" exists; using "en".
No "da" localization of "footer-doc-teamname" exists; using "en".
No "da" localization of "footer-doc-comment" exists; using "en".
No "da" localization of "footer-doc-feedback" exists; using "en".
No "da" localization of "footer-doc-teamname" exists; using "en".
No "da" localization of "footer-doc-comment" exists; using "en".
No "da" localization of "footer-doc-feedback" exists; using "en".
No "da" localization of "footer-doc-teamname" exists; using "en".
No "da" localization of "footer-doc-comment" exists; using "en".
No "da" localization of "footer-doc-feedback" exists; using "en".
No "da" localization of "footer-doc-teamname" exists; using "en".
No "da" localization of "footer-doc-comment" exists; using "en".
No "da" localization of "footer-doc-feedback" exists; using "en".
No "da" localization of "footer-doc-teamname" exists; using "en".
index.docbook:10: warning: failed to load external entity "dtd/kdex.dtd"
]>
^
index.docbook:12: parser error : Entity 'language' not defined
<book lang="&amp;language;">
^
index.docbook:12: element book: validity error : No declaration for attribute lang of element book
<book lang="&amp;language;">
^
index.docbook:19: element application: validity error : No declaration for element application</book></book>

Das Handbuch zu &kdiff3;
^
index.docbook:19: element title: validity error : No declaration for element title
Das Handbuch zu &kdiff3;
^

--- snip ---

lot's of errors after this, since the dtd/kdex.dtd is not located correctly.

Discussion

  • Kim Højgaard-Hansen

    and i should have checked the rest of course, several other languages fails.

    patch updated to fix all of them.

     
  • Kim Højgaard-Hansen

    fix documentation build

     
  • Kim Højgaard-Hansen

    I should have checked the rest of course. Several other also fails.

    new patch fixes all of them