refactor the buildsystem to extract library versions from one file,
so it is not needed to change x-files to just increase a version number
(because this is far to easy to forget one of the files, which will not
result in failures or is bad in general, but is inconsitent.)
rewrite FindSrc() in cmdline/apt-get.cc to fix some bugs, including:
* cmdline/apt-get.cc:
- source should displays his final pkg pick (Closes: #249383, #550952)
- source doesn't need the complete version for match (Closes: #245250)
- source ignores versions/releases if not available (Closes: #377424)
add a message which will be displayed if xsltproc does respect the -o
flag again and a manual mv to the correct name is no longer needed.
(used in the buildprocess of po4a manpages)
add guide.sgml and offline.sgml to the "translatable with po4a"-group
Fix also the buildsystem for building the coresponding docs from these
two files if they are exist for this language so we don't need to change
the makefiles for ja and fr - and can also use the same simple makefiles
for it and pl which ship these files as not-yet-with-po4a-translated
(and currently no man page translation.)
Michael Vogt [Thu, 24 Sep 2009 09:49:45 +0000 (11:49 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- when tcgetattr() returns non-zero skip all pty magic
(thanks to Simon Richter, closes: #509866)
* apt-inst/contrib/arfile.cc:
- show propper error message for Invalid archive members
cleanup commit for trigger processing:
- remove the DPkg::NoConfTriggers - absolutely useless as we need
TriggersPending already so we can use --no-triggers.
- remove the Immediate-option from the example, it doesn't help much.
- UnpackCritical uses DepUnPackPre with a D (on simple letter...)
- the "smart" optimisation to skip A was not so smart - revert.
Add even more config options and try to handle configuration problems
arising if we upgrade essential or predependencies which need to be
configured before even unpacking packages depending on them.
add and document experimental options to make aggressive
use of dpkg's trigger and configuration handling (Closes: #473461)
Add NoTriggers option to add --no-triggers to all dpkg calls,
NoConfiguration to prevent apt from trying to configure packages -
dpkg should handle this in the last ConfigurePending call.
This options are for now deactivated as they require more testing in
real world situations, but the plan is to enable them in the near
future if anything works well.
Rework the CompressionTypes system by adding an Order subgroup to
simplify customisation of the order and improve the documentation
about this setting group.
Michael Vogt [Fri, 28 Aug 2009 16:54:02 +0000 (18:54 +0200)]
* apt-pkg/pkgcache.cc:
- do not set internel "needs-configure" state for packages in
triggers-pending state. dpkg will deal with the trigger and
it if does it before we trigger it, dpkg will error out
(LP: #414631)
Thanks again for the initial patch from KURASAWA Nozomu and
for the improvements and cleanups done by Nicolas François
to get po4a up and running for apt man page translations!
* buildlib/po4a_manpage.mak, doc/makefile, configure:
- simplify the makefiles needed for po4a manpages
Add a bit more autodetection to the buildsystem to be able to
add only half translated languages (only a few man pages, not all) and
try to reduce the overhead needed to add new languages.
add ignore patterns to be able to use "bzr status" or "bzr add" again
after building apt by ignoring temporary files, build files and the
autogenerated files in doc/.
[ Nicolas François ]
* doc/ja/*, doc/po/ja.po:
- remove the old ja man page translation and replace it with
the new po4a-powered translation by KURASAWA Nozomu.
[ Nicolas François ]
* Cleaned up the first patch draft from KURASAWA Nozomu to finally
get po4a support for translating the man pages.
Many thanks to both for this excellent work! (Closes: #441608)
* doc/Doxyfile.in
- activate DOT_MULTI_TARGETS, it is default on since doxygen 1.5.9
The description for this option is:
# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
# files in one run (i.e. multiple -o and -T options on the command line). This
# makes dot run faster, but since only newer versions of dot (>1.8.10)
# support this, this feature is disabled by default.
Even oldstable has a newer dot version, so the debian package doxygen
activate it per default and we will follow this recommendation now.
"backport" the APT::Configuration class to apt-sid
We can use it to simplify the internal code to operate with
Acquire::CompressionTypes group. This also made it possible
to set this setting with the -o flag.
Michael Vogt [Mon, 24 Aug 2009 09:20:27 +0000 (11:20 +0200)]
* apt-pkg/pkgcache.cc:
- do not set internel "needs-configure" state for packages in
triggers-pending state. dpkg will deal with the trigger and
it if does it before we trigger it, dpkg will error out
(LP: #414631)