[GNC-dev] Help packaging GnuCash 3.x for Ubuntu Bionic
Stephen M. Butler
kg7je at arrl.net
Fri Oct 18 12:10:03 EDT 2019
On 10/17/19 2:44 PM, Tommy Trussell wrote:
> My NEXT step (to "sweeten" the backport request) is to upload the
> patched file to a PPA but (in my usual very slow style) I am still
> puzzling out how to sign the packages. I have a published key I
> created years ago but apparently I'm missing some (literal) key
> concepts. :-P
Is your PPA on Launchpad? If so, did you upload your public key to your
account on that site?
> On Thu, Oct 17, 2019 at 10:51 AM Stephen M. Butler <kg7je at arrl.net
> <mailto:kg7je at arrl.net>> wrote:
> Thanks Tommy for this info. I've been slammed the last couple of
> weeks. Hopefully will be able to look at this next week. --Steve
> On 10/9/19 9:32 AM, Tommy Trussell wrote:
> > Here's a tested working procedure for building and installing
> > under Ubuntu Bionic 18.04 LTS. I presume it should also work
> with Mint
> > or any other distro based on Bionic.
> > REQUIREMENTS
> > An Ubuntu Bionic installation *with bionic-backports activated. (I
> > used a minimal Xubuntu installation in a VirtualBox VM for this
> > 1) Create a source directory
> > $ mkdir bionic37
> > $ cd bionic37
> > 2) Get the latest Ubuntu package
> > $ dget
> > 2b) Move into the directory created by the source package
> > $ cd gnucash-3.7
> > 3) Comment out a build flag line in debian/rules so it will build in
> > Bionic
> > $ sed -i 's/export DEB_CXXFLAGS/#export DEB_CXXFLAGS/'
> > 4) Make this your custom version (so any "official" release should
> > supersede it).
> > $ dch --nmu
> > 4b) Edit the version at the top so it reads something like
> > gnucash (1:3.7-1ubuntu18.04~1)
> > 4c) Add a comment under your name and email in the first comment
> > saying something like
> > "Commented out DEB_CXXFLAGS instruction in debian/rules"
> > 4d) Save and exit the editor.
> > 5) Upgrade debhelper
> > $ sudo apt install debhelper/bionic-backports
> > 6) Build the package
> > $ dpkg-buildpackage
> > 7) You will see the package files in the bionic37 directory,
> ready to
> > install.
> > $ sudo dpkg -i *.deb *.ddeb
> > $ sudo apt install -f
> > The dpkg -i command above attempts to install gnucash .deb files
> > the optional .ddeb debugging files). In a fresh installation, "dpkg
> > -i" will fail because of missing dependencies, so the "apt
> install -f"
> > command will install the missing dependencies and finish installing
> > gnucash.
> Stephen M Butler, PMP, PSM
> Stephen.M.Butler51 at gmail.com <mailto:Stephen.M.Butler51 at gmail.com>
> kg7je at arrl.net <mailto:kg7je at arrl.net>
> GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
More information about the gnucash-devel