Re: [proaudio] jackd no longer uses SVN.

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


On Wed, 2012-05-02 at 08:45 +1000, Allan Klinbail wrote:
> Hi All, 
> 
> After compiling new jackd from the live ebuild and ffado I have found
> that there is an issue. (with help from the jackd mailing list). 
> 
> 
> Jackd has moved to using git instead of svn it's described on the page
> below.  
> 
> http://jackaudio.org/download
> 
> 
> SVN is no longer maintained and trying to compile libffado against this
> version will result in an incompatibility error. 
> 
> The instructions for jack1 are
> git clone git://github.com/jackaudio/jack1.git
> cd jack1
> git submodule init
> git submodule update
> 
> The link for jack2 is (no further instructions given) 
> git clone git://github.com/jackaudio/jack2.git
> 
> 
> I don't know how to modify the ebuild, but hopefully someone can fix
> this up. Anyone using the live ebuilds may come into trouble.. libffado
> devs have not been putting up stable packages for a couple of years but
> development is pretty prolific.  
> 
> cheers
> 
> Allan 


Hi All

I have modified the jack2 version, it works for now (see below).. I
can't get the jack1 live ebuild to work with the simple modification I
have made. I guess it has to do with the additional instructions. 

> cd jack1
> git submodule init
> git submodule update

The download site advises these will be added to jack2 in future, hence
why this is only a temporary fix. 

regards

Allan 





# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit git-2 flag-o-matic

DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
HOMEPAGE="http://www.grame.fr/~letz/jackdmp.html";

EGIT_REPO_URI="git://github.com/jackaudio/jack2.git"


LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="alsa classic doc debug freebob dbus ieee1394 mixed"

RDEPEND="dev-util/pkgconfig
	>=media-libs/alsa-lib-0.9.1"
DEPEND="${RDEPEND}
	freebob? ( sys-libs/libfreebob !media-libs/libffado )
	doc? ( app-doc/doxygen )
	dbus? ( sys-apps/dbus )
	ieee1394? ( media-libs/libffado !sys-libs/libfreebob )
	media-libs/libsamplerate"

pkg_setup() {
	# sandbox-1.6 breaks, on amd64 at least

	# paludis...
	if has_version "=sys-apps/sandbox-1.6" && [[ -n $(echo `ps -fp $$`|grep paludis) ]]; then
		eerror "The compile will hang with =sandbox-1.6. You are using paludis,"
		eerror "so you'll have to downgrade sandbox."
		die
	fi

	# portage
	if use amd64 && has "sandbox" ${FEATURES} && ! has "-sandbox" ${FEATURES} && has_version "=sys-apps/sandbox-1.6"; then
		eerror "The compile will hang with =sandbox-1.6. Please use:"
		echo
		eerror "FEATURES=\"-sandbox\" emerge ${PN}"
		echo
		eerror "OR downgrade sandbox to 1.4 at least."
		die
	fi
}

src_compile() {
	local myconf="--prefix=/usr --destdir=${D}"
	use alsa && myconf="${myconf} --alsa"
	if use classic && use dbus ; then
		myconf="${myconf} --classic"
	fi
	if use mixed && use amd64 ; then
		myconf="${myconf} --mixed"
	fi
	use dbus && myconf="${myconf} --dbus"
	use debug && myconf="${myconf} -d debug"
	use doc && myconf="${myconf} --doxygen"
	use freebob && myconf="${myconf} --freebob"
	use ieee1394 && myconf="${myconf} --firewire"

	einfo "Running \"./waf configure ${myconf}\" ..."
	./waf configure ${myconf} || die "waf configure failed"
	./waf build ${MAKEOPTS} || die "waf build failed"
}

src_install() {
	./waf --destdir="${D}" install || die "waf install failed"
}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/