xpi-repack(1)

xpi-repack1

Repack a xpi file into a tarball

Usage

xpi-repack [options] xpi-file

Overview

xpi-repack is a helper tool for packaging XUL extensions. It repacks the given xpi file into a proper tarball that can be used as source tarball for the Debian package. It is designed to work with uscan. Here is an example for debian/watch:

version=3
ftp://ftp.mozilla.org/pub/mozilla.org/addons/<id>/<package>-([\d\.]+)-.*\.xpi debian xpi-repack

Options

-h, --help

Display a brief help message.

-p package, --package=package

The package name will be used for naming the resulting tarball. If this parameter is not provided, the source package name in debian/control will be used.

-u version, --upstream-version=version

The version will be used for naming the resulting tarball. You have to specify this parameter.

-f compression, --format=compression

The specified format will be used for compressing the resulting tarball. The formats bz2, gz, and xz are supported. When the parameter is omitted, xz will be used for "3.0 (quilt)" source packages and gz for all other source package types.

-v, --verbose

Print more information.

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8–12

--format since Debian 8 (Jessie); -f since Debian 8 (Jessie).

Author

Benjamin Drung <[email protected]>

From mozilla-devscripts 0.54.2+nmu1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.