EnglishFrenchSpanish

Ad


OnWorks favicon

mercurial-buildpackage - Online in the Cloud

Run mercurial-buildpackage in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mercurial-buildpackage that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mercurial-buildpackage - Build a .deb package from source code under Mercurial control.

SYNOPSIS


mercurial-buildpackage [option] ...

DESCRIPTION


mercurial-buildpackage builds a .deb package from within a Mercurial repository. The
package is built either by use of pbuilder(1) or in-place, depending on the options.

OPTIONS


--version, -V

Output version and exit.

--verbose, -v

Increase verbosity level. Can be used several times.

--no-check-dependencies, -d

Do not check for missing build dependencies.

--include-source, -s, -sa

Force inclusion of upstream source.

--from-version changelogversion, -f changelogversion

Include all changelog entries from changelogversion.

--source-only, -S

Build the source only.

--configfile pbuilderconfigfile, -c pbuilderconfigfile

Use pbuilder(1) to build package in a chroot(8) specified in pbuilderconfigfile.

EXAMPLES


mercurial-buildpackage

Silently build a package in-place using debian/rules and dpkg-genchanges(1). The
complete build log will be placed in ../package_version_arch.build.

mercurial-buildpackage -s -f 1.2-3 -c /home/jps/lenny-pbuilderrc

Build a backport package for the Lenny release using pbuilder. The source and all
changelog entries since 1.2-3 are included in package.

REPOSITORY LAYOUT


Let us assume that your package is called mypack. The package repository should be
created by a regular hg init mypack command.

If mypack is a native package, then your repository will only have the usual default
branch and mercurial-buildpackage will only affect the .hgtags file when mercurial-
tagversion(1) is invoked to tag a release of mypack.

If mypack is a non-native package, then it will have a number of upstream tarballs, as
specified in dpkg-source(1). Let us assume that the upstream tarballs are
mypack_1.0.orig.tar.gz, mypack_1.0.orig-comp1.tar.bz2 and mypack_1.0.orig-comp2.tar.gz,
and that you therefore use package format 3.0 (quilt). mercurial-buildpackage will then
maintain the following branches.

mypack A branch containing the source from the main tarball.

comp1 A branch containing the source from the comp1 tarball.

comp2 A branch containing the source from the comp2 tarball.

pristine A branch containing additional information for recreating pristine upstream
tarballs.

upstream The combination of all upstream tarballs, as specified in dpkg-source(1).

default The branch for mainline package work. It will have all debian/patches applied
and the quilt .pc directory included as part of the repository.

So each upstream tarball will have its own branch which together with the pristine branch
are used by mercurial-pristinetar(1) to recreate pristine upstream tarballs.

The upstream branch is used by mercurial-importorig(1) to merge new upstream versions into
the mainline default branch; and by mercurial-port(1) to make alternative packages of
selected upstream versions, for instance for backporting.

In general, you should leave alone all the branches dealing with upsteam sources, and only
work in the default branch or branches created by mercurial-port(1) for porting.

OPERATIONAL OUTLINE


In-place building
fakeroot debian/rules clean
dpkg-source -i.hg -b mypack ..
debian/rules build
debian/rules binary
dpkg-genchanges > ../mypack_1.0-2_i386.changes

Chroot building
fakeroot debian/rules clean
dpkg-source -i.hg -b mypack ..
pbuilder --build --configfile ~/etc/sid-pbuilderrc ../mypack_1.0-2.dsc

Use mercurial-buildpackage online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 2
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 3
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 4
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 5
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 6
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    cpanmp
    cpanmp
    cpanm - get, unpack build and install
    modules from CPAN ...
    Run cpanmp
  • 4
    cpanpp
    cpanpp
    cpanp - The CPANPLUS launcher ...
    Run cpanpp
  • 5
    gajim-remote
    gajim-remote
    gajim-remote � a remote control utility
    for gajim(1) ...
    Run gajim-remote
  • 6
    gajim
    gajim
    gajim � a Jabber/XMPP client ...
    Run gajim
  • More »

Ad