Re: [proaudio] seq24 ebuild and patch for 0.9.0 version OK Last version 0.9.2

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



On 12/20/2010 03:49 PM, Gavin Pryke wrote:
> On Wednesday 15 December 2010 15:08:02 Willy WOLFF wrote:
>> When i want to compile seq24 0.9.0 from official portage tree, i have error
>> with gtk.
>> I found a patch from internet, i applied this patch and it works now.
>>
>> The ebuild :
>> # Copyright 1999-2009 Gentoo Foundation
>> # Distributed under the terms of the GNU General Public License v2
>> # $Header: /var/cvsroot/gentoo-x86/media-sound/seq24/seq24-0.9.0.ebuild,v
>> 1.5 2009/08/01 06:37:56 ssuominen Exp $
>>
>> EAPI=2
>> inherit eutils
>>
>> DESCRIPTION="Seq24 is a loop based MIDI sequencer with focus on live
>> performances."
>> HOMEPAGE="https://edge.launchpad.net/seq24/";
>> SRC_URI="http://edge.launchpad.net/seq24/trunk/${PV}/+download/${P}.tar.bz2
>> "
>>
>> IUSE="jack lash"
>> LICENSE="GPL-2"
>> SLOT="0"
>> KEYWORDS="amd64 ~ppc x86"
>>
>> RDEPEND="media-libs/alsa-lib
>>
>>     >=dev-cpp/gtkmm-2.4
>>     >=dev-libs/libsigc++-2.2:2
>>
>>     jack? ( >=media-sound/jack-audio-connection-kit-0.90 )
>>     lash? ( >=media-sound/lash-0.5 )"
>> DEPEND="${RDEPEND}
>>     dev-util/pkgconfig"
>>
>> src_prepare(){
>>     epatch "${FILESDIR}/${P}-gtk.patch"
>> }
>>
>> src_configure() {
>>     econf \
>>         $(use_enable jack jack-support) \
>>         $(use_enable lash)
>> }
>>
>> src_install() {
>>     emake DESTDIR="${D}" install || die "emake install failed"
>>     dodoc AUTHORS ChangeLog README RTC SEQ24
>>     newicon src/seq24_32.xpm seq24.xpm
>>     make_desktop_entry seq24
>> }
>>
>>
>>
>>
>>
>> The patch in files/seq24-0.9.0-gtk.patch
>> --- seq24-0.9.0.orig/src/mainwnd.cpp
>> +++ seq24-0.9.0/src/mainwnd.cpp
>> @@ -528,7 +528,7 @@
>>
>>      dialog.set_current_folder(last_used_dir);
>>
>> -    HButtonBox *btnbox = dialog.get_action_area();
>> +    ButtonBox *btnbox = dialog.get_action_area();
>>      HBox hbox( false, 2 );
>>
>>      m_adjust_load_offset = manage( new Adjustment( 0, -(c_max_sets - 1),
>>
>>
>> Have a good day.
> 
> Thanks for this. I think this is the same bug in bgo? 
> http://bugs.gentoo.org/show_bug.cgi?id=326795
> 
> I'm hesitant to include the ebuild in pro-audio tree when it's already in 
> portage, maybe you could file a bump request there, 0.9.2 seems latest on 
> homepage.
> 
> Cheers
> Gav
> 
> 

Ok i understand.

Let's go for last version :
No need a patch for me.



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

EAPI=2

inherit eutils

DESCRIPTION="Seq24 is a loop based MIDI sequencer with focus on live
performances."
HOMEPAGE="http://www.filter24.org/seq24/";
SRC_URI="http://edge.launchpad.net/seq24/trunk/${PV}/+download/${P}.tar.bz2";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="jack lash"

RDEPEND="media-libs/alsa-lib
	>=dev-cpp/gtkmm-2.4
	>=dev-libs/libsigc++-2.2:2
	jack? ( >=media-sound/jack-audio-connection-kit-0.90.0 )
	lash? ( >=media-sound/lash-0.5 )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_configure() {
	econf \
		$(use_enable jack jack-session) \
		$(use_enable lash)
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog README RTC SEQ24
	doicon ${FILESDIR}/${PN}.png
	make_desktop_entry "${PN}" "SEQ24" "${PN}" "AudioVideo;Audio;Sequencer"
}



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