making a debian package for Ardour

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
studio32

making a debian package for Ardour

Post by studio32 »

I was trying to make a debian package on Ubuntu Hardy from Ardour 2.7 but it failes... Has it something to do with the facts that ardour uses scons?

Code: Select all

ardour-2.7$  dpkg-buildpackage -rfakeroot
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package ardour
dpkg-buildpackage: source version 2.7-1
dpkg-buildpackage: source changed by jack <>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/home/jack/2home/ubuntuhardy/ardour-2.7'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory `/home/jack/2home/ubuntuhardy/ardour-2.7'
make: [clean] Error 2 (ignored)
dh_clean 
 dpkg-source -b ardour-2.7
dpkg-source: building ardour using existing ardour_2.7.orig.tar.gz
dpkg-source: building ardour in ardour_2.7-1.diff.gz
dpkg-source: building ardour in ardour_2.7-1.dsc
 debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/home/jack/2home/ubuntuhardy/ardour-2.7'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/home/jack/2home/ubuntuhardy/ardour-2.7'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
studio32

Re: making a debian package for Ardour

Post by studio32 »

it should be

Code: Select all

sudo checkinstall scons install -D
brummer

Re: making a debian package for Ardour

Post by brummer »

If you wont to build a debian paket with scons you need to edit the /debian/rules in the ardour source and write "scons" instead of "make" or "$(MAKE)". Also you need to comment out the "$(MAKE) clean" target because there is no clean target in the ardour makefile.
studio32

Re: making a debian package for Ardour

Post by studio32 »

brummer wrote:If you wont to build a debian paket with scons you need to edit the /debian/rules in the ardour source and write "scons" instead of "make" or "$(MAKE)". Also you need to comment out the "$(MAKE) clean" target because there is no clean target in the ardour makefile.
I don't see such a Debian folder in the Ardour svn source...
brummer

Re: making a debian package for Ardour

Post by brummer »

you can create it with

Code: Select all

dh_make -n
the question for Type of package: single binary, multiple binary, library, kernel module or cdbs?
[s/m/l/k/b] you can answer with "s"
the folder /debian will create and you can edit the /debian/rules
studio32

Re: making a debian package for Ardour

Post by studio32 »

brummer wrote:you can create it with

Code: Select all

dh_make -n
the question for Type of package: single binary, multiple binary, library, kernel module or cdbs?
[s/m/l/k/b] you can answer with "s"
the folder /debian will create and you can edit the /debian/rules
ok I see, thanks!
john
Posts: 1
Joined: Wed Nov 18, 2009 9:05 pm

Re: making a debian package for Ardour

Post by john »

hi,

How to change the version of Ardour. My self made deb has 2.8.4 but Ubuntu/Debian uses 1.2.8.x
Post Reply