i'm currently using ubuntu and successfully built my first deb package of specimen and seq24 the other day. i tried to do the same for jack, but it was more compilcated, i suppose because it's a multi binary application? (libs, daemon, etc.)
<br><br>i'm trying to figure this out for the same reason, but it goes roughly like this:<br><br>~/src/seq24$ dhmake <br><br>this creates a debian subdirectory in the source tree. inside this directory is a rules file, that works like a makefile for creating a debian package. it will ask u a few questions, and check to see if
source-ver.orig.tar.gz exists. see man dh_make (or man debhelper).<br><br>~/src/seq24$ fakeroot debian/rules clean<br>~/src/seq24$ fakeroot debian/rules binary<br><br>the binary directive configures and builds the source, so no need to run ./configure. instead, edit the rules file and look for the configure line at the top.
<br><br>keeping the debian package of jack from etch, in the case of the original message, and installing over it in /usr/bin from source sounds fine, but i'm sure that there's a better way. i'd be grateful for anymore thoughts on this, as i sometimes can't stand waiting for ubuntu packagers to release the new packages for linux audio.
<br><br>best,<br>james<br><br><div><span class="gmail_quote">On 4/18/07, <b class="gmail_sendername">Robin Gareus</b> <<a href="mailto:robin@gareus.org">robin@gareus.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>Lars Luthman wrote:<br>> On Wed, 2007-04-18 at 10:33 -0500, Josh Lawrence wrote:<br>>> hello list,<br>>><br>>> first off, I'm running debian etch, and installing everything via<br>>> packages (sans the kernel).
<br>>><br>>> last night I decided I wanted to try out the sequencer dino, which<br>>> requires a later version of jack than my repos offer. I uninstalled<br>>> jack (which uninstalled other jack applications), and compiled the
<br>>> newest version of jack and qjackctl. this is where the problem<br>>> started...<br>>><br>>> now when I want to add a package from the repos, it wants to install<br>>> the repos version of jack, and won't simply use the version I have
<br>>> compiled. conflicts abound, and the net effect is that all jack apps<br>>> are not working at the moment.<br>>><br>>> there must be some way in debian to say, "don't worry about the jackd
<br>>> dependency, I've already got that installed." or am I doomed to<br>>> compile everything from source now that I've compiled jack from<br>>> source? is it all or nothing?<br>><br>
> This is how I do it:<br>><br>> 1. Install the latest Debian package (using 'apt-get install<br>> libjack0.100.0-0')<br>> 2. Get the JACK source package you need, configure it with<br>> --prefix=/usr, build it and install it (without uninstalling the Debian
<br>> package)<br>> 3. Remove all files starting with libjack-0.100.0 in /usr/lib<br>> 4. Create a symbolic link: /usr/lib/libjack-0.100.0.so.0<br>> -> /usr/lib/libjack.so<br>><br>> Done. Now old JACK programs from Debian packages should work (since the
<br>> database thinks that the JACK packages are still installed, although<br>> they really have been overwritten) and programs requiring the newer API<br>> (MIDI etc) should also work. If the libjack ABI ever becomes
<br>> incompatible with the old one your Debian packaged JACK clients may<br>> start acting weird though.<br>><br>> Also, your JACK-from-source installation will be overwritten if you do<br>> apt-get upgrade and there are newer JACK packages than the one you have
<br>> installed. But all you have to do then is to reinstall your source<br>> build.<br><br>you can put the /overridden/ jack package into "hold" mode (eg. by<br>pressing '=' on libjack in dselect) - no more updates for that package.
<br><br>> There are probably cleaner ways to do this (like copying over the debian<br>> subdirectory from a Debian source package to your new tarball and build<br>> a proper Debian package), but this works reasonably well for me.
<br><br>it's not *that* easy. debian applies a couple of patches..<br><br>#robin<br>_______________________________________________<br>Linux-audio-user mailing list<br><a href="mailto:Linux-audio-user@lists.linuxaudio.org">
Linux-audio-user@lists.linuxaudio.org</a><br><a href="http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user">http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user</a><br></blockquote></div><br><br clear="all">
<br>-- <br><a href="http://r2h.org">r2h.org</a>