[proaudio] seq24 ebuild and patch for 0.9.0 version

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


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.

--
Willy WOLFF

06 09 72 81 51
11, Rue des Orchidées
67000 Strasbourg



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