Content translation/Machine Translation/Apertium/Packaging/binNMU

From mediawiki.org

Apertium packages depends on hfst, cg3 libraries. These libraries often need update, while core packages are updated less frequently. bin-NMU is needed to avoid entire rebuild (and version bump) and quick upload.

Steps[edit]

1. Increment version

dch --bin-nmu

2. Update dependencies in debian/control.

3. Rebuild package.

Alternative[edit]

If cowbuilder environment is not setup,

sudo cowbuilder create

Build the binary package,

sudo cowbuilder --bin-nmu "bin-NMU for library update" --build previous-package_version.dsc

ToDo[edit]

  • Document bin-NMU + gbp buildpackage.
  • Fix errors with cowbuilder.

External links[edit]