[GNC] dpkg-builder

Andrew Clark ajfclark at gmail.com
Sun Jan 20 17:45:57 EST 2019


I don't have an Ubuntu machine to test on, and this probably isn't the
cleanest way to build a package (it's been a while for me) but under buster
to build the package from source and make a deb:

sudo apt install fakeroot quilt
sudo apt build-deps gnucash
apt source gnucash
cd gnucash-3.4
export QUILT_PATCHES=debian/patches
export QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
quilt push -a
vi debian/rules and add fakeroot to the start of line 31
./debian/rules binary

That basic build process should be fairly similar under Ubuntu to get the
existing package. Once you can built the package as distributed by the
Ubuntu folks you can then pull down whatever source you want to and use a
similar process to build a package The version numbers used to build the
packages are stored in files named debian/[package]/DEBIAN/control


On Mon, 21 Jan 2019 at 05:33, Stephen M. Butler <kg7je at arrl.net> wrote:

> On 1/20/19 2:36 AM, Andrew Clark wrote:
> > There's a GnuCash 3.4 Debian package in buster/testing
> > already? https://tracker.debian.org/pkg/gnucash
> >
> >
> >
> > On Sat, 19 Jan 2019 at 07:36, Stephen M. Butler <kg7je at arrl.net
> > <mailto:kg7je at arrl.net>> wrote:
> >
> >     Anybody a wizard with dpkg-builder?  Still trying to get a debian
> >     package ready for folks.  I'm in over my head.
> >
> >     Private mail me -- so we don't use up the bandwidth on either of
> these
> >     mailing lists.--
> >
> >
> > Cheers,
> >
> > Andrew.
>
> That has the following problems:
>
> 1.  It is for Buster.  At least one person on these mailing lists has
> tried to load it up under Ubuntu 18.10 and ran into a slew of dependency
> problems.
>
> 2.  It is in the mainstream and won't make it to the releasable public
> for months.
>
> 3.  There is no "daily" for those who want to live on the bleeding edge.
>
> I have no interest in feeding into the mainline of major distributions.
> In fact, I can compile the source for my own utilization on my Ubuntu
> 18.04 box.  However, there are some who would like to have the more
> recent releases available on their distro without having to compile the
> source.
>
> If possible, I would like to build a debian style package that is
> available for the older distros.  I see interest for two such packages
> that could be made available via a ppa.
>
> 1.  The latest general release such as 3.4. Available for any distro
> rather than just Buster.
>
> 2.  A "daily" or "weekly" build of the latest set of patches to that
> release.  This morning (USA-Pacific Coast), there have been 38 commits
> since 3.4.  Others, in addition to myself, may have interest in having
> those available.
>
> Your welcome!
>
> --Steve
>
> --
> Stephen M Butler, PMP, PSM
> Stephen.M.Butler51 at gmail.com
> kg7je at arrl.net
> 253-350-0166
> -------------------------------------------
> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>
>
>

-- 
Cheers,

Andrew.


More information about the gnucash-user mailing list