Greetings.

I opened a merge request with two commits that fix make dist release tarball generation from a clean tree.

https://sourceforge.net/p/cdesktopenv/code/merge-requests/87/

The first commit fixes build-system dependency issues:

* Some files included in the release tarball are generated from helper programs built inside the CDE source tree. * A plain make dist can reach those generated files before the required helper binaries have been built. * This caused failures around generated files such as UNIXbindings, TermLineData.c, and later the dtdocbook helper programs.

The patch makes the top-level dist target depend on all, so the generated files and helper programs are available before the dist directory is created.

It also adds explicit dependencies for two smaller generated-source cases:

* lib/DtWidget/UNIXbindings now explicitly depends on util/tradcpp/tradcpp. * lib/DtTerm/Term/TermLineData.c now explicitly depends on lib/DtTerm/util/lineToData.

The same commit also fixes an Automake issue in programs/dtdocbook/doc_utils. Several helper programs there are not built from local source files; they are built in ../infolib and symlinked into doc_utils. Without explicit empty _SOURCES declarations, Automake assumes default source files such as MixedGen.c, NCFGen.c, etc. Those files do not exist locally, so make dist eventually fails trying to distribute them.

The second commit fixes malformed Traditional Chinese message catalog sources:

* zh_TW.UTF-8/msg/dtcodegen.msg contained the translated message text, but the gencat syntax had been lost. It was missing the normal $quote, $set, message numbers, and quoted message format. * The number of translated lines matched the canonical source message count, so I restored the catalog syntax while preserving the existing translated text. * zh_TW.UTF-8/msg/dthello.msg already had the right general structure, but contained a stray standalone quote near the top and an unterminated final message. Those two syntax errors prevented gencat from producing dthello.cat.

After these fixes, I verified the result by running:

./autogen.sh
./configure --disable-docs
make dist

The command completed successfully and produced cde-2.5.3.tar.gz.

I kept the fixes split into two commits intentionally:

        * Build-system fixes for generated-source dependencies.
        * Message catalog syntax fixes for the zh_TW locale.

This keeps the build graph changes separate from the localization source fixes and should make review easier.
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to