View previous topic :: View next topic |
Author |
Message |
pussi l33t
Joined: 08 May 2004 Posts: 727 Location: Finland
|
Posted: Fri Mar 31, 2006 7:06 am Post subject: |
|
|
Really nice guide, thanks for the link.
PAM ebuild with rlimits support would be nice add to the overlay (patch for 0.78 here). |
|
Back to top |
|
|
evermind Guru
Joined: 10 Jan 2004 Posts: 322
|
Posted: Fri Mar 31, 2006 7:44 am Post subject: |
|
|
pussi wrote: | Really nice guide, thanks for the link.
PAM ebuild with rlimits support would be nice add to the overlay (patch for 0.78 here). |
sure I'll add it later that day
EDIT: new snapshot 2006-03-31: pro_music_apps-2006-03-31.tar.bz2
- add media-sound/csound-5.01
- add sys-libs/pam-0.78-r6 (rlimits support)
@XavierMiller
are your csounds ebuilds ready?
I modified and included the ebuild from here: https://forums.gentoo.org/viewtopic-t-433546-highlight-csound.html
It compiles fine but I've no idea if csound5 will work right |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Fri Mar 31, 2006 7:19 pm Post subject: |
|
|
wow check this out:
http://www.mjoo.org
looks very interesting... i guess that needs an ebuild _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
zehnan1 Tux's lil' helper
Joined: 08 Oct 2004 Posts: 90 Location: Slovenia
|
Posted: Sun Apr 02, 2006 7:37 am Post subject: |
|
|
Also, linuxsampler-cvs, qsampler-cvs and jsampler would be great to have in the overlay. |
|
Back to top |
|
|
evermind Guru
Joined: 10 Jan 2004 Posts: 322
|
Posted: Sun Apr 02, 2006 11:56 am Post subject: |
|
|
gimpel wrote: | wow check this out:
http://www.mjoo.org
looks very interesting... i guess that needs an ebuild |
Would you like to provide one?
zehnan1 wrote: | Also, linuxsampler-cvs, qsampler-cvs and jsampler would be great to have in the overlay. |
do you have already those ebuilds or know where to fetch? |
|
Back to top |
|
|
zehnan1 Tux's lil' helper
Joined: 08 Oct 2004 Posts: 90 Location: Slovenia
|
Posted: Sun Apr 02, 2006 6:53 pm Post subject: |
|
|
evermind wrote: |
zehnan1 wrote: | Also, linuxsampler-cvs, qsampler-cvs and jsampler would be great to have in the overlay. |
do you have already those ebuilds or know where to fetch? |
I haven't got much exp with ebuilds... I tried making one for libgig-csv (dependancy for linuxsampler). It downloaded ok, now it is missing configure script, INSTALL file says to use autoconf to create configure script, any ideas how to do that?
Thanx, Marko |
|
Back to top |
|
|
evermind Guru
Joined: 10 Jan 2004 Posts: 322
|
Posted: Sun Apr 02, 2006 9:36 pm Post subject: |
|
|
zehnan1 wrote: | I haven't got much exp with ebuilds... I tried making one for libgig-csv (dependancy for linuxsampler). It downloaded ok, now it is missing configure script, INSTALL file says to use autoconf to create configure script, any ideas how to do that?
Thanx, Marko |
maybe there is a script called autogen.sh or similar inside your cvs download.
k so I'll try to provide some ebuilds for the apps you mentioned.
Do we need libgig-cvs or is libgig (whatever is latest) sufficient? |
|
Back to top |
|
|
zehnan1 Tux's lil' helper
Joined: 08 Oct 2004 Posts: 90 Location: Slovenia
|
Posted: Mon Apr 03, 2006 6:25 am Post subject: |
|
|
evermind wrote: | zehnan1 wrote: | I haven't got much exp with ebuilds... I tried making one for libgig-csv (dependancy for linuxsampler). It downloaded ok, now it is missing configure script, INSTALL file says to use autoconf to create configure script, any ideas how to do that?
Thanx, Marko |
maybe there is a script called autogen.sh or similar inside your cvs download.
k so I'll try to provide some ebuilds for the apps you mentioned.
Do we need libgig-cvs or is libgig (whatever is latest) sufficient? |
Firgured out. I'll try to provide the ebuilds in a couple of hours. |
|
Back to top |
|
|
zehnan1 Tux's lil' helper
Joined: 08 Oct 2004 Posts: 90 Location: Slovenia
|
Posted: Mon Apr 03, 2006 7:44 am Post subject: |
|
|
Hi, these are the ebuilds for cvs versions of libgig, liblscp, linuxsampler and qsampler. sorry to post it like this, but I have no place to upload it.
All packages compile fine on my machine. They also happen to work . This is my first attempt on ebuiilds, so there there may be some weird stuff. Mostly I just copied gentoo ebuilds and added cvs functionality.
media-libs/libgig/libgig-9999.ebuild
Code: |
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils cvs
DESCRIPTION="libgig is a C++ library for loading Gigasampler files and DLS (Downloadable Sounds) Level 1/2 files."
HOMEPAGE="http://stud.fh-heilbronn.de/~cschoene/projects/libgig/"
# SRC_URI="http://stud.fh-heilbronn.de/~cschoene/projects/libgig/${P}.tar.bz2"
ECVS_SERVER="cvs.linuxsampler.org:/var/cvs/linuxsampler"
ECVS_MODULE="libgig"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"
RDEPEND=">=media-libs/libsndfile-1.0.2
>=media-libs/audiofile-0.2.3"
S=${WORKDIR}/${ECVS_MODULE}
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_unpack() {
cvs_src_unpack
cd ${S}
}
src_compile() {
make -f Makefile.cvs
econf || die "./configure failed"
emake -j1 || die "make failed"
if use doc; then
make docs || die "make docs failed"
fi
}
src_install() {
einstall || die "einstall failed"
dodoc AUTHORS ChangeLog TODO README
if use doc; then
mv ${S}/doc/html ${D}/usr/share/doc/${PF}/
fi
}
|
media-libs/liblscp/liblscp-9999.ebuild
Code: |
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils cvs
DESCRIPTION="liblscp is a C++ library for the Linux Sampler control protocol."
HOMEPAGE="http://www.linuxsampler.org/"
#SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.gz"
ECVS_SERVER="cvs.linuxsampler.org:/var/cvs/linuxsampler"
ECVS_MODULE="liblscp"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
S=${WORKDIR}/${ECVS_MODULE}
RDEPEND=""
DEPEND=""
src_unpack() {
cvs_src_unpack
cd ${S}
}
src_compile() {
make -f Makefile.cvs
econf || die "./configure failed"
emake -j1 || die "make failed"
}
src_install() {
einstall || die "einstall failed"
}
|
media-sound/linuxsampler/linuxsampler-9999.ebuild
Code: |
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils cvs
DESCRIPTION="LinuxSampler is a software audio sampler engine with professional grade features."
HOMEPAGE="http://www.linuxsampler.org/"
#SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.bz2"
ECVS_SERVER="cvs.linuxsampler.org:/var/cvs/linuxsampler"
ECVS_MODULE="linuxsampler"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="jack"
S=${WORKDIR}/${ECVS_MODULE}
RDEPEND="
>=media-libs/liblscp-9999
>=media-libs/libgig-9999
media-libs/alsa-lib
jack? ( media-sound/jack-audio-connection-kit )"
DEPEND="${RDEPEND}"
src_unpack() {
cvs_src_unpack
cd ${S}
}
src_compile() {
make -f Makefile.cvs
econf || die "./configure failed"
emake -j1 || die "make failed"
}
src_install() {
einstall || die "einstall failed"
dodoc AUTHORS ChangeLog README
}
|
media-sound/qsampler/qsampler-9999.ebuild
Code: |
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit cvs eutils
DESCRIPTION="QSampler is a graphical frontend to the LinuxSampler engine."
HOMEPAGE="http://www.linuxsampler.org/"
#SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.gz"
ECVS_SERVER="cvs.linuxsampler.org:/var/cvs/linuxsampler"
ECVS_MODULE="qsampler"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="=x11-libs/qt-3*
>=media-libs/liblscp-9999
>=media-libs/libgig-9999
>=media-sound/linuxsampler-9999
media-libs/alsa-lib"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${ECVS_MODULE}
src_unpack() {
cvs_src_unpack
cd ${S}
}
src_compile() {
make -f Makefile.cvs
econf || die "./configure failed"
### borrowed from kde.eclass #
#
# fix the sandbox errors "can't writ to .kde or .qt" problems.
# this is a fake homedir that is writeable under the sandbox,
# so that the build process can do anything it wants with it.
REALHOME="$HOME"
mkdir -p $T/fakehome/.kde
mkdir -p $T/fakehome/.qt
export HOME="$T/fakehome"
addwrite "${QTDIR}/etc/settings"
# things that should access the real homedir
[ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/"
emake || die "make failed"
}
src_install() {
einstall || die "einstall failed"
dodoc AUTHORS ChangeLog README
}
|
|
|
Back to top |
|
|
evermind Guru
Joined: 10 Jan 2004 Posts: 322
|
Posted: Mon Apr 03, 2006 8:20 am Post subject: |
|
|
I'll add your ebuilds. but I rename them to *-cvs because thats the standard in my overlay
EDIT: added and released: pro_music_apps-2006-04-03.tar.bz2 |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
|
Back to top |
|
|
evermind Guru
Joined: 10 Jan 2004 Posts: 322
|
Posted: Mon Apr 03, 2006 3:23 pm Post subject: |
|
|
thx fixed and uploaded |
|
Back to top |
|
|
zehnan1 Tux's lil' helper
Joined: 08 Oct 2004 Posts: 90 Location: Slovenia
|
Posted: Mon Apr 03, 2006 4:39 pm Post subject: |
|
|
Anyone has a clue, why rt-sources just give me a blank screen on boot? Except for the realtime settings, the config's the same as my old kernel. |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Mon Apr 03, 2006 7:30 pm Post subject: |
|
|
Realtime kernel don't like 2 things: buggy hardware as VIA chipsets and shared IRQ. You must look at the ouptut of
Code: | cat /proc/interrupts | and it must be no shared IRQ. If it is the case, you must read the doc of your motherboard and look in the bios to find which PCI slots are sharing IRQ, and move the cadrs from slots to slots. Some bios can assign the IRQ.
Code: | $ cat /proc/interrupts
CPU0
0: 466035211 IO-APIC-edge [........N/ 0] pit
1: 186379 IO-APIC-edge [........./ 4] i8042
7: 0 IO-APIC-edge [........./ 0] parport0
8: 20276833 IO-APIC-edge [........./ 0] rtc
14: 6496526 IO-APIC-edge [........./ 0] ide0
15: 738 IO-APIC-edge [........./ 0] ide1
169: 3171778 IO-APIC-level [........./ 0] acpi, ohci_hcd:usb1
177: 0 IO-APIC-level [........./ 0] Ensoniq AudioPCI
185: 1066411 IO-APIC-level [........./ 0] EMU10K1
193: 0 IO-APIC-level [........./ 0] ohci_hcd:usb2
201: 16 IO-APIC-level [........./ 0] ohci_hcd:usb3
209: 26132015 IO-APIC-level [........./ 0] ehci_hcd:usb4
217: 102483533 IO-APIC-level [........./ 0] eth0, ohci1394
225: 116 IO-APIC-level [........./ 0] bttv0
NMI: 0
LOC: 62130
ERR: 0
MIS: 0
| If you look at it, it is 2 hardwares on IRQ 169 and 217. It work well but but the system hang ofen when using the nvidia 3D driver, because in that case the video card need an IRQ and it get the same as the ensoniq. So I don't use this 3D driver. In my case, if I want to use the nvidia driver, the only solution is to remove the ensonic from the box.
On the ardour website, they have some renseigments on that kind of issues. _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
evermind Guru
Joined: 10 Jan 2004 Posts: 322
|
Posted: Mon Apr 03, 2006 8:50 pm Post subject: |
|
|
zehnan1 wrote: | Anyone has a clue, why rt-sources just give me a blank screen on boot? Except for the realtime settings, the config's the same as my old kernel. |
Does the boot complete?
You mentioned a blank screen so you can try to reverse the vesa-tng-patch
cd to/your/source
Code: | patch -p1 -R < /usr/portage/distfiles/vesafb-tng-1.0-rc1-r3-2.6.15-rc1.patch |
|
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Tue Apr 04, 2006 5:05 pm Post subject: |
|
|
I get the same segfault with museseq. If I start the program with "museseq -V", it work, but without vst. So no need to recompile it. _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Tue Apr 04, 2006 9:46 pm Post subject: |
|
|
It is Aeolus on http://users.skynet.be/solaris/linuxaudio/aeolus.html
I have installed it (aeolus + stops) on my system without problem. The only needed dependency is libclxclient-1.0.2 (it is 1.0.1 on gentoo, but it is on the same website). The other dependencies are on gentoo. I have libclthreads 2.0.1 (they said 1.0.2 on the site) and it work.
It work well with jack.
It is more information on this program on How to install Aeolus with some demo files. The sound is outstanding, maybe too much perfect. _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Tue Apr 04, 2006 10:51 pm Post subject: |
|
|
It is another instrument tuner taht is not specific to guitar at fmit
I get a seg error when runing it with jack from the src directory, but after the "make install", it is working just fine.
I found the link on AUR, it is many more links here. _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
evermind Guru
Joined: 10 Jan 2004 Posts: 322
|
Posted: Wed Apr 05, 2006 3:38 pm Post subject: |
|
|
yeah this version was just a prealpha or sth. like that, which fixes gcc4 errors but its author never really released it
and now he had removed it
do you know/have a ebuild for aeolus and/or fmit?
At the moment I've no time to create new ebuilds |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Wed Apr 05, 2006 5:29 pm Post subject: |
|
|
libclxclient-1.0.2.ebuild
Code: | IUSE=""
inherit eutils multilib toolchain-funcs
S="${WORKDIR}/clxclient-${PV}"
DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
HOMEPAGE="http://users.skynet.be/solaris/linuxaudio"
SRC_URI="http://users.skynet.be/solaris/linuxaudio/downloads/clxclient-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
RDEPEND="|| ( x11-libs/libX11 virtual/x11 )
>=media-libs/libclthreads-1.0.2"
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${P}-makefile.patch"
epatch "${FILESDIR}/${P}-gcc41.patch"
}
src_compile() {
tc-export CC CXX
emake || die "emake failed"
}
src_install() {
make CLXCLIENT_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "make install failed"
}
|
I just modified the 1.0.1 ebuild, and copied-renamed in files: libclxclient-1.0.1-gcc41.patch to libclxclient-1.0.2-gcc41.patch and libclxclient-1.0.1-makefile.patch to libclxclient-1.0.1-makefile.patch (the files they applies are eaxctly the same) and it worked for me (gcc 3.4.5) and I believe at it will work with gcc 4+, but someone have to confirm this.
I will try to do the ebuild for aeolus, but it can maybe take a litle time, because this one was my first ebuild and I have no model for aeolus.
I have done a bug rapport with all the files: Bug#:128938 _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Wed Apr 05, 2006 9:54 pm Post subject: |
|
|
The organ stops ebuild:
Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
IUSE=""
inherit eutils multilib toolchain-funcs
S="${WORKDIR}/stops-${PV}"
INSDESTTREE="/usr/share/stops"
DESCRIPTION="Organ stops for aeolus by Fons Adriaensen <fons.adriaensen@skynet.be>"
HOMEPAGE="http://users.skynet.be/solaris/linuxaudio"
SRC_URI="http://users.skynet.be/solaris/linuxaudio/downloads/stops-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
RDEPEND="|| ( x11-libs/libX11 virtual/x11 )"
DEPEND="|| ( x11-libs/libX11 virtual/x11 )"
src_unpack() {
unpack ${A}
cd ${S}
}
src_install() {
doins *.ae0 aeolusrc
rm *.ae0 aeolusrc Makefile
mkdire $INSDESTTREE/waves
}
|
aeolus ebuild:
Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
IUSE=""
inherit eutils multilib toolchain-funcs
S="${WORKDIR}/aeolus-${PV}"
DESTTREE="/usr"
DESCRIPTION="A synthesised pipe organ emulator by Fons Adriaensen <fons.adriaensen@skynet.be>"
HOMEPAGE="http://users.skynet.be/solaris/linuxaudio"
SRC_URI="http://users.skynet.be/solaris/linuxaudio/downloads/aeolus-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
RDEPEND="|| ( x11-libs/libX11 virtual/x11 )
>=media-libs/libclxclient-1.0.2
>=media-libs/libclalsadrv-1.0.3
>=media-sound/qjackctl-0.2.8
=media-sound/stops-0.1.1"
DEPEND="|| ( x11-libs/libX11 virtual/x11 )
>=media-libs/libclxclient-1.0.2
>=media-libs/libclalsadrv-1.0.3"
src_unpack() {
unpack ${A}
cd ${S}
}
src_compile() {
tc-export CC CXX
make || die "emake failed"
}
src_install() {
dobin aeolus
dodoc AUTHORS COPYING README INSTALL .aeolusrc
}
|
"emerge aeolus" will install both aeolus and stops. (and libdxclient-1.0.2 and their dependencies)
They are Bug 128964 and Bug 128966
The ebuilds work and the program run, but I don't get a good sound. It was allready the same before I made the ebuild. I get plenty of "Can't open waveform file '/usr/share/stops/waves/I_cymbel.ae1' for reading" message. It is no files in /usr/share/stops/waves/ in the package. But I don't have my keyboard here and was trying with a MIDI file and museseq, maybe it is the raison of my bad sound.
Edit: I downloaded the planet CCMRA rpm to take a look and they have exactly the same files, so I need my keyboard back. _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Thu Apr 06, 2006 10:29 am Post subject: |
|
|
It was my latency in jack that was to short. With 2.67 msec, aeolus work just fine. _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
evermind Guru
Joined: 10 Jan 2004 Posts: 322
|
Posted: Thu Apr 06, 2006 3:41 pm Post subject: |
|
|
I modified your ebuilds a bit and uploaded a new snapshot. thx
also I've done a ebuild for fmit
Last edited by evermind on Thu Apr 06, 2006 5:25 pm; edited 1 time in total |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1869 Location: Switzerland (Romandie)
|
Posted: Thu Apr 06, 2006 4:44 pm Post subject: |
|
|
I know, fmit work well with the nv driver without 3D hardware acceleration for me.
For the waves files for aeolus, you must copy the files in /usr/share/stops (in my ebuild) to somewhere in /home/yourhome and adjust .aeolusrc as suggested at How to install Aeolus step 4.
Edit: the save button will save the waves files.
Edit 2: I send a mail on the aeolus email list and get among other answers, this one from Fons Adriaensen:
Quote: | To answer your other question, the waves files depend on the sample rate, the tuning, and the temperament. In any of these change Aeolus will refuse to load the waves files and recalculate them. You can then of course save them again. |
_________________ "Confirm You are a robot." - the singularity
Last edited by Dominique_71 on Thu Apr 06, 2006 8:36 pm; edited 1 time in total |
|
Back to top |
|
|
|