XPI-REPACK(1)
π XPI-REPACK(1) π
okay bestie, welcome to xpi-repack, straight outta the mozilla-devscripts suite. pull up a chair, we're about to get into it π
β¨ NAME β¨
xpi-repack β repack a xpi file into a tarball π¦
πΈ SYNOPSIS πΈ
xpi-repack [options] xpi-file
π DESCRIPTION π
so, xpi-repack is a little helper tool for packaging XUL extensions. what it does is take the xpi file you hand it and repack it into a proper tarball β one that's actually usable as a source tarball for the Debian package. no cap, that's the whole vibe. π
and the way it's designed? it's built to work with uscan. here's an example for debian/watch, and yes you're gonna want this exact energy:
version=3
ftp://ftp.mozilla.org/pub/mozilla.org/addons/<id>/<package>-([\d\.]+)-.*\.xpi
debian xpi-repack
that's it. that's the whole thing. iykyk π
π§ OPTIONS π§
-h,--helpβ shows you a brief help message. like, a lil summary. we love a quick recap β¨- *
-p*package,--package=*package*** β this package name is what gets used to name the resulting tarball. if you don't pass it in, it'll just grab the source package name fromdebian/control` instead. convenient fr fr π«Ά -uversion, `--upstream-version=version β this version gets used for naming the resulting tarball. and no, you can't skip it β you have to specify this parameter. it's not optional, bestie π- *
-f*compression,--format=*compression*** β tells it which format to use for compressing the resulting tarball. the formats <mint>bz2</mint>, <mint>gz</mint>, and <mint>xz</mint> are supported. if you just... don't pass the parameter at all? then <purple>xz</purple> gets used for"3.0 (quilt)"source packages, and <purple>gz` for every other source package type. the more you know π -v,--verboseβ prints more information. main character energy for your terminal logs π₯
π AUTHOR π
Benjamin Drung <bdrung@debian.org> π
okay that's the whole page, you ate that π this was xpi-repack from the mozilla-devscripts suite, dated March 2014 β go forth and repack something iconic, bestie πβ¨
π¦ where this page comes from
- debian bookworm: mozilla-devscripts 0.54.2+nmu1 Β· ISC
- ubuntu jammy: mozilla-devscripts 0.54.2 Β· ISC
- Copyright (c) 2010-2014 Benjamin Drung <bdrung@debian.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms