<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/CMake, branch 1.3_rc2</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.3_rc2</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.3_rc2'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2016-08-11T17:50:57Z</updated>
<entry>
<title>CMake: Use COPYONLY instead of @ONLY</title>
<updated>2016-08-11T17:50:57Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-11T15:54:19Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=389e8322fcd380d133892bc6f126e56737739fa5'/>
<id>urn:sha1:389e8322fcd380d133892bc6f126e56737739fa5</id>
<content type='text'>
I don't know what happened back in 2009 when I wrote this,
but it seems I used the wrong option. These files should
not have any variable substitution done to them.
</content>
</entry>
<entry>
<title>Add statvfs.h.in to CMake directory</title>
<updated>2016-08-10T14:17:19Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-09T15:39:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=fa1b5d86bf5ba20047774014b422e7c30ee13a9c'/>
<id>urn:sha1:fa1b5d86bf5ba20047774014b422e7c30ee13a9c</id>
<content type='text'>
Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>CMake: Rewrite existing Documentation support and add doxygen</title>
<updated>2016-08-10T14:17:18Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-08T19:53:46Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=10ec2d23f14cf5d3e4835d9bcb57d0937f803e6a'/>
<id>urn:sha1:10ec2d23f14cf5d3e4835d9bcb57d0937f803e6a</id>
<content type='text'>
This can now build all documentation. It should also be fairly
reusable for other projects, as long as they follow the same
naming scheme for the po4a output files and set the PACKAGE_*
variables used here.

We could have done all translations in a single call to po4a
like the makefile based buildsystem does. While that would
have made the output slightly nicer, this solution offers a
huge performance gain because it can translate the documents
in parallel, which also means that the xsltproc stage does not
have to wait for all translations to be done first.

You might think that the add_custom_command() should list the
actual output files as BYPRODUCTS. This is not true however:
Because the files are not always generated, Ninja will think
missing byproducts mean that the target is out of date - which
is not what we want.

Finally, also add the missing doxygen support. Note that the
packaging script cleans up some md5 and map files created by
doxygen, otherwise it is fairly boring.
</content>
</entry>
<entry>
<title>CMake: Misc: Extract command path_join() from Translations</title>
<updated>2016-08-10T14:17:18Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-08T19:53:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0d04a4987feb9ec45ddfa03270e20f76cae02a84'/>
<id>urn:sha1:0d04a4987feb9ec45ddfa03270e20f76cae02a84</id>
<content type='text'>
This abstracts the joining of paths a bit better than having
basically the same code twice in the Translations module.

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>CMake: Check for ptsname_r() again</title>
<updated>2016-08-10T14:17:18Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-08T12:56:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=8c1dbbef35bea4082eacfe4e626e7726b9e84349'/>
<id>urn:sha1:8c1dbbef35bea4082eacfe4e626e7726b9e84349</id>
<content type='text'>
This was dropped in autotools as I found no use of the HAVE_PTSNAME_R
macro. Turns out it was typoed as HAVE_PTS_NAME_R. Fix the #ifdef and
add checks to CMake for it.

Closes: #833674
</content>
</entry>
<entry>
<title>CMake: Translations: Build .pot in po binary dir, not project one</title>
<updated>2016-08-10T14:11:40Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-09T19:52:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=173fa882cf3396ab6d2a9be53c6ea23eda225a1d'/>
<id>urn:sha1:173fa882cf3396ab6d2a9be53c6ea23eda225a1d</id>
<content type='text'>
This was cluttering up things all over the place.

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>CMake: Translations: Allow excluding languages from translation</title>
<updated>2016-08-10T14:11:21Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-09T16:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=32a32d7501ace2859ba097ef8fb7ef665ca2f0ed'/>
<id>urn:sha1:32a32d7501ace2859ba097ef8fb7ef665ca2f0ed</id>
<content type='text'>
This seems to be needed for the hebrew translations.

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>CMake: Translations: Avoid rebuilding .mo if .pot did not change</title>
<updated>2016-08-10T14:11:16Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-09T11:10:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e164341c20625f62a44be16e6f3fbab66334f130'/>
<id>urn:sha1:e164341c20625f62a44be16e6f3fbab66334f130</id>
<content type='text'>
Use the witness/byproducts approach to build the translations. A
byproduct of a command is like an output, but may be older than the
input.

Here, we generate a normal template with headers in the normal way
as a witness (and for Launchpad translations), but we also generate
a .pot-tmp0 template file without a header that gets copied to a
.pot-tmp byproduct only if it changed. This way, the .pot-tmp is
only updated if an actual string translation changed. We also
create a custom target for the .pot file that we'll depend on
later in the overall target creating the mo files to ensure that
the template is build before we try to build mo files.

Then we make the msgmerge depend on the .pot-tmp instead of the .pot
file, which means that msgmerge and msgfmt only get re-run if a string
change occured.

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>CMake: Translations: Add a statistics target</title>
<updated>2016-08-10T14:11:09Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-09T09:58:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ddf40a42f5a699086466990f85d86e6c4977524a'/>
<id>urn:sha1:ddf40a42f5a699086466990f85d86e6c4977524a</id>
<content type='text'>
This is really useful stuff to have.

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>CMake: Translations: Build apt-all.pot and update .po files</title>
<updated>2016-08-10T14:11:05Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-07T14:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9a5537fcc6d3ea98909360636a45bd3cf3aba1d1'/>
<id>urn:sha1:9a5537fcc6d3ea98909360636a45bd3cf3aba1d1</id>
<content type='text'>
Merge all the per-domain templates into one template file using
msgcomm, stripping any line numbers in the input files, and sorting
the output per file.

This should create reasonably stable .pot and .po files that do not
change just because files move around. It should also be resilient
against some line changes, as long as one translated line is not
moved before/after another translated line.

Gbp-Dch: ignore
</content>
</entry>
</feed>
