lp:ubuntu/natty/pkgbinarymangler

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/natty/pkgbinarymangler
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Mature

Recent revisions

68. By Didier Roche-Tolomelli

Build-dep on intltool as needed for the testsuite
(dh-translations binary package already depends on it)

67. By Didier Roche-Tolomelli

* dh_translations:
  - support cmake package as there is no makefile in the po dir neither
    setup.cfg. Try to grep the domain from CMakeLists.txt and force it in the
    intltool call.
  - add the cmake testcase in test/run

66. By Steve Langasek

When mangling changelogs, make sure to recompress with gzip -n;
otherwise the resulting file is different for each build, so not
compatible with multiarch.

65. By Martin Pitt

* Add debhelper script for handling translation operations. This makes it
  possible to have properly i18n'ed packages that don't use cdbs without
  introducing complicated build system changes. (LP: #735934)
  - test/icecream: Add po/ dir with an example po/*.po, *.desktop, *.server,
    *.policy, *.schemas files, and a Makefile which generates the pot.
  - Add dh_translations: debhelper script. Port the logic from
    /usr/share/cdbs/1/rules/langpack.mk.
  - test/run: Add test_dh_translations() test case.
  - debian/control, debian/dh-translations.install: Install dh_translations.
  - debian/rules: Build and install manpage from dh_translations POD.
* test/icecream/debian/rules: Simplify using an override.
* Add translations.pm: debhelper sequencer. Switch
  test/icecream/debian/rules to use --with translations instead of calling
  dh_translations directly. Point to local translations.pm in test/run
  setup.
* dh_translations: Try getting domain from Python setup.cfg if po/Makefile
  does not exist.

64. By Loïc Minier

dpkg-deb: also skip parsing /CurrentlyBuilding and debian/control if
NO_PKG_MANGLE is non-empty as e.g. grep-ing control might trigger warnings
in some testsuites.

63. By Martin Pitt

* test/icecream/debian/rules: Install a "changes" directory below
  /usr/share/doc/. This reproduces the build failure of texlive-extra.
* pkgstripfiles: Only consider files which have a changelog-like name.

62. By Martin Pitt

* pkgstripfiles: Games are prone to rely on a particular PNG image format,
  so skip PNG optimization for "Section: games". Add test case.
  (LP: #685421)
* pkgstripfiles: Also skip PNG squashing if $NO_PNG_PKG_MANGLE is set; this
  allows packages to selectively disable PNG optimization without disabling
  the other parts of pkgbinarymangler. Add test case.
* debian/control: Bump Standards-Version to 3.9.1 (no changes necessary).

61. By Martin Pitt

* test/run: Use "foo%.png" instead of foo.png, to check that file names with
  percent signs are handled correctly. This reproduces LP #684569.
* pkgstripfiles: Escape percent characters in file names, to avoid breaking
  the sed expression. (LP: #684569)

60. By Loïc Minier

Tweak shell syntax in dpkg-deb and also pass "$@" to pkgstriptranslations
to simplify tests a bit.

59. By Martin Pitt

[ Soren Hansen ]
Ensure arguments get passed through dpkg-deb wrapper unmangled.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/oneiric/pkgbinarymangler
This branch contains Public information 
Everyone can see this information.

Subscribers