ahlstromcj / sequencer64

A major reboot of Seq24. Current release 0.97.0 (2021-05-13), native JACK MIDI, Song recording, playlists, and a Windows/Qt version. For fresher code, see the Seq66 project. Note that trigger and mute-group-in-MIDI-file formats have evolved! Back up your work!
GNU Affero General Public License v3.0
237 stars 28 forks source link

can't properly build binary package for ubuntu xenial #145

Open chaocrator opened 6 years ago

chaocrator commented 6 years ago

unfortunately, i know very little about debian packaging system, so this report will certainly be lame, but i ran into the following issue with building a binary package for ubuntu 16.04 (xenial):

if i unpack the source tarball and run dpkg-buildpackage from within the source directory, the build always fails. (log of console output attached.) seq64-build-fail.log

but if i first run "./bootstrap -er" and then dpkg-buildpackage, the build succeeds.

i spent a few hours trying to put the damn thing to debian/rules, but nothing worked for me.

this is not a big deal for a local build, but prevents from putting a package to a ppa, since the procedure is not completely automatic.

ahlstromcj commented 6 years ago

At work right now, but check out the debian/README file. If it needs updating to work with PPA, let me know what's needed and I will add the steps. Good luck, I am still working on packaging.

Chris

On Tue, Mar 27, 2018, 08:21 chaocrator notifications@github.com wrote:

unfortunately, i know very little about debian packaging system, so this report will certainly be lame, but i ran into the following issue with building a binary package for ubuntu 16.04 (xenial):

if i unpack the source tarball and run dpkg-buildpackage from within the source directory, the build always fails.

but if i first run "./bootstrap -er" and then dpkg-buildpackage, the build succeeds.

i spent a few hours trying to put the damn thing to debian/rules, but nothing worked for me.

this is not a big deal for a local build, but prevents from putting a package to a ppa, since the procedure is not completely automatic.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/sequencer64/issues/145, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnVqJtREi3M3GvNnZeVKP1yAK_wKfj4ks5tii7IgaJpZM4S80iU .

chaocrator commented 6 years ago

yes, the procedure described in debian/README is the same 2-step procedure that worked for me -- first bootstrapping, then building with debian packaging tools.

to make it work with ppa, the whole build procedure should run with a single command. i guess, bootstrap should be done somehow from debian/rules, not by hand. but, as i wrote above, my experiments with putting it there were all unsuccessful.

chaocrator commented 6 years ago

by the way, another thing that should be modified to make it work with ppa is build deps list, but that was pretty easy:

Build-Depends: debhelper (>= 9), autoconf, automake, autotools-dev, libasound2-dev, libjack-jackd2-dev | libjack-dev, libgtkmm-2.4-dev, libtool

the rest of needed stuff installs anyway as the dependencies of the above.