https://bugs.kde.org/show_bug.cgi?id=431407

            Bug ID: 431407
           Summary: createdoctemplates.sh does not work with modern
                    versions of docbookl10nhelper
           Product: i18n
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: aa...@kde.org
          Reporter: aspotas...@gmail.com
  Target Milestone: ---

SUMMARY
createdoctemplates.sh does not work with modern versions of docbookl10nhelper,
expects kde-custom-l10n.xml to exist.

Modern versions of docbookl10nhelper do not generate the file
kde-custom-l10n.xml anymore, see source code at
https://invent.kde.org/frameworks/kdoctools/-/blob/master/src/docbookl10nhelper.cpp

However createdoctemplates.sh
(https://invent.kde.org/sysadmin/l10n-scripty/-/blob/master/createdoctemplates.sh)
expects that file to exist and fails otherwise, see lines 34-36:

  if test -z "${DOCBOOK_L10N_ALL}" || test -z "${DOCBOOK_L10N_CUSTOM}"; then
    echo "No custom l10n files for DocBook XSLT were found. Exiting..."
    exit 1

Same problem at
https://invent.kde.org/sysadmin/l10n-scripty/-/blob/master/checkdocs.sh#L13:

  DOCBOOK_L10N_CUSTOM="$kdoctoolsdir/src/customization/xsl/kde-custom-l10n.xml"



STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to