You are not logged in.
I'm building a PC for a client, and I'd rather not be stuck with debian sarge or an rpm based distro. I also don't want to have to do all the work myself.
I think they'd be a great contribution to the functionality of Arch Linux, making it a viable platform for audio processing and midi.
fffft!
Offline
on rosegarden, i did some work, but didn't find time to finish - it is not gcc 3.4 compatible and has some trouble with the newest qt/kde libs too
a PKGBUILD:
#$Id: $
#Maintainer: damir <damir@archlinux.org>
#Contributor: Robert Emil Berge <robert@rebi.no>
pkgname=rosegarden
origver=0.9.9
pkgver=4.0.9.9
pkgrel=1
pkgdesc="audio and MIDI sequencer, score editor, and general-purpose music composition and editing application."
url="http://www.rosegardenmusic.com/"
depends=('kdemultimedia' 'alsa-lib' 'jack-audio-connection-kit' 'ladspa')
source=(http://unc.dl.sourceforge.net/sourceforge/rosegarden/$pkgname-4-$origver.tar.gz)
provides=('rosegarden-4')
replaces=('rosegarden-4')
build() {
cd $startdir/src/$pkgname-4-$origver
# make it gcc 3.4 compilable:
sed -i '129s|};|}|g' sound/LADSPAPluginInstance.h
sed -i '35s|};|}|g' gui/audiocommands.h
# grr ... i had to search the API: KStdAccel::key is depreached in kde 3.2
# http://developer.kde.org/documentation/library/3.2-api/kdeui/html/deprecated.html
# http://developer.kde.org/documentation/library/cvs-api/kdecore/html/namespaceKStdAccel.html#a110
sed -i 's|KStdAccel::key(|KStdAccel::shortcut(|g' gui/editviewbase.cpp
# still not compiling successfully
./configure --prefix=/opt/kde
make || return 1
make prefix=$startdir/pkg/opt/kde install
}
any help or work on this would be great
The impossible missions are the only ones which succeed.
Offline
i searched a little the net now
found a patch:
http://www.mail-archive.com/rosegarden- … 05147.html
can anybody correct this PKGBUILD for me? (i'm on windows at the uni right now - cannot test anything nix-like) so that i can include it in extra/multimedia tomorrow?
The impossible missions are the only ones which succeed.
Offline
First off, thanks! I'm running around a lot today, but later I should have some time to dedicate to this.
It may be out of my league as a relative n00b, but I'll give it a shot.
fffft!
Offline
from the mailinglist:
Is anyone using gcc-3.4.1 and Qt-3.3 apart from KDE developers and a few
overkeen early adopters? Do any distros include Qt 3.3 yet? I had an email
from one of the Arch Linux ports people who apparently use this combination,
but it looks like they have their own ports tree anyway and are knowingly
bleeding-edge about it.
now we know it we are overkeen early adopters
http://www.mail-archive.com/rosegarden- … 05179.html
if you want to really laugh take this link and use babelfish in konqueror to translate this into german really really funny :-)
Ich hatte ein email von einer der Bogen
Linux Torleute, die anscheinend diese Kombination verwenden, aber sie
schaut, wie sie ihren eigenen Torbaum irgendwie haben und bewußt
Bluten-Rand über ihn sind
i test the patch will give you feedback
Offline
I tried compiling and ran into the libGL.la problem, which I fixed thanks to dp's thread: http://bbs.archlinux.org/viewtopic.php? … t=libgl+la
Would there be any way of making this a package or integrating this into the final PKGBUILD for rosegarden for those of us who don't have binary video drivers? Or is this only an issue when compiling the program? Maybe comment the PKGBUILD so people who compile from src know where to find libGL.la
[/url]
fffft!
Offline
This page has patches to compile against gcc 3.4.1 and QT 3.3.1:
http://www.mail-archive.com/rosegarden- … 05147.html
I will attempt it myself in a moment. This is, btw, same thread as mentioned above by tpowa.
fffft!
Offline
i tried it
for me it doesn't work
hope you have more luck
Offline
OK, I attempted, and failed. I'm not sure I didn't do something wrong, though. The patch poster says he posted 2 patches, and I don't know where the first ends and the second begins.
Dammit.
I get:
In file included from audiocommands.cpp:23:
audiocommands.h:35: error: extra ';'
make[2]: *** [audiocommands.o} Error 1
fffft!
Offline
that doesn't matter
copy the things he posted to a textfile eg. rosegarden.patch
then add to PKGBUILD
rosegarden.patch to src=
and add
patch -Np1 -i ../rosegarden.patch
in front of the configure part
that should do it
Offline
Did you yank out dp's code for gcc 3.4 compatibility, like so:
#$Id: $
#Maintainer: damir <damir@archlinux.org>
#Contributor: Robert Emil Berge <robert@rebi.no>
pkgname=rosegarden
origver=0.9.9
pkgver=4.0.9.9
pkgrel=1
pkgdesc="audio and MIDI sequencer, score editor, and general-purpose music composition and editing application."
url="http://www.rosegardenmusic.com/"
depends=('kdemultimedia' 'alsa-lib' 'jack-audio-connection-kit' 'ladspa')
source=(http://unc.dl.sourceforge.net/sourceforge/rosegarden/$pkgname-4-$origver.tar.gz rosegarden.patch)
provides=('rosegarden-4')
replaces=('rosegarden-4')
build() {
cd $startdir/src/$pkgname-4-$origver
# make it gcc 3.4 and QT 3.3 compilable:
patch -Np1 -i ../rosegarden.patch
./configure --prefix=/opt/kde
make || return 1
make prefix=$startdir/pkg/opt/kde install
}
MUAHAHAHAAA!! It compiles! :twisted:
We're a genius!
..but it doesn't run:
rosegarden: error while loading shared libraries: libreadline.so.4: cannot open shared object file: No such file or directory
And
locate libreadline.so.4
returns nothing.
Off to work.
/edit: readline is installed, and I just did updated the db an hour or so ago
fffft!
Offline
tried both things
for me it doesn't compiled
perhaps i did something wrong
it's a hard thing to get that beast running
Offline
What error does it output?
OK, NOW off to work. Cashiering is like unguent for my soul. Sticky stale unguent.
fffft!
Offline
sorry deleted it from harddisk
thought the patch doesn't work ...
Offline
I got it running.
Possibly the simplest thing ever, readline is v.5 on my system, so I ran:
cd /usr/lib
ln -s libreadline.so libreadline.so.4
voila! Rosegarden!
This might not be functional in the real world, but this is the complete PKGBUILD from my system:
#$Id: $
#Maintainer: damir <damir@archlinux.org>
#Contributor: Robert Emil Berge <robert@rebi.no>
pkgname=rosegarden
origver=0.9.9
pkgver=4.0.9.9
pkgrel=1
pkgdesc="audio and MIDI sequencer, score editor, and general-purpose music composition and editing application."
url="http://www.rosegardenmusic.com/"
depends=('kdemultimedia' 'alsa-lib' 'jack-audio-connection-kit' 'ladspa')
source=(http://unc.dl.sourceforge.net/sourceforge/rosegarden/$pkgname-4-$origver.tar.gz rosegarden.patch)
provides=('rosegarden-4')
replaces=('rosegarden-4')
build() {
mkdir -p $startdir/pkg/usr/lib
ln -s /usr/lib/libreadline.so $startdir/pkg/usr/lib/libreadline.so.4
cd $startdir/src/$pkgname-4-$origver
# make it gcc 3.4 and QT 3.3 compilable:
patch -Np1 -i ../rosegarden.patch
./configure --prefix=/opt/kde
make || return 1
make prefix=$startdir/pkg/opt/kde install
}
/edit: the above PKGBUILD doesn't work... How would you create a symbolic link to a file and include it in the PKGBUILD?
fffft!
Offline
well done send your things to dp he will include it to extra
have a nice weekend
Offline
i'm back on linux (wooo ... 2 days windows is horrible!!!!) and will try to make rosegarden belong to extra and run
EDIT: thanx for your experimentes - it's true, somehow it links agaisnt readline 4 instead of 5
for extra, ln the lib is not a solution, so i'm trying to solve this otherways - if anybody has ideas, feel free
the PKGBUILD and the patch are in the cvs-tree but not yet tagged - they will be, when i solve the readline thingy
http://cvs.archlinux.org/cgi-bin/viewcv … root=Extra
The impossible missions are the only ones which succeed.
Offline
OK, thanks a lot dp. Would it be possible to create a file like libGL.la that referenced the correct file?
What about in post_install checking for the existence of libreadline.so.4 if not then create the symlink? I don't know about removing the file if someone HAS v.4.
You could require that people upgrade to readline>=5, THEN create the symlink in post_install and remove in pre_remove
Here's the PKGBUILD for lilypond (it doesn't work on my computer):
#$Id: $
#Contributor: thegnu <thegnu@nathancurry.com>
pkgname=lilypond
pkgver=2.3.12
pkgrel=1
pkgdesc="an automated engraving system that fomats beautiful music notation and interfaces with rosegarden"
url="http://www.lilypond.org/"
depends=('guile>=1.6.0' 'python>=2.1' 'ghostscript' 'tetex')
source=(http://lilypond.org/download/v2.3/$pkgname-$pkgver.tar.gz)
#Compile-time deps: mftrace>=1.0.17, bison>=1.25 but not 1.50 or 1.75, gettext, GNU Make>=3.78, kpathsea (lib for searching TeX files), texinfo>=4.7
#Still need to figure out how to include ec-fonts-mftraced.
#It's listed as a dependency, but doesn't seem to interpret --prefix
#or DESTDIR for the make command
#Lilypond 2.3 docs: http://lilypond.org/doc/v2.3/Documentation/topdocs/out-www/INSTALL.html
#ec-fonts-mftrace docs: http://lilypond.org/download/fonts
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$startdir/usr install
}
I built and uploaded mftrace-1.0.34.pkg.tar.gz and t1utils-1.32.pkg.tar.gz, which are required to compile lilypond.
on lilypond compile I get:
File "/usr/bin/mftrace", line 84, in ?
import afm
ImportError: no module named afm
make[1]: *** [out/feta11.pfa] Error 1
Mmmmmm.... feta.....
fffft!
Offline
OK, thanks a lot dp.
i have to thank you
Would it be possible to create a file like libGL.la that referenced the correct file?
libGL.la will be in the next xorg/xfree86 release - this is a known issue (and only occurs, if people want to build things itself - using it has no problem, also if missing)
What about in post_install checking for the existence of libreadline.so.4 if not then create the symlink? I don't know about removing the file if someone HAS v.4.
You could require that people upgrade to readline>=5, THEN create the symlink in post_install and remove in pre_remove
i go with readline>=5 assuming, that if you need rosegarden, you will be forced to update your system
my research for the funny readline=4 linking in rosegarden is not yet really far - what i found, is that some libs/bins of kde itself link to readline 4
[damir@Asteraceae rosegarden-4-0.9.9]$ grep -b readline /opt/kde/bin/*
Binary file /opt/kde/bin/kpackage matches
Binary file /opt/kde/bin/kpalmdoc matches
Binary file /opt/kde/bin/kpilot matches
Binary file /opt/kde/bin/kpilotDaemon matches
Binary file /opt/kde/bin/umbrello matches
-> ldd /opt/kde/bin/kpalmdoc | grep readli
libreadline.so.5 => /usr/lib/libreadline.so.5 (0xb6be6000)
libreadline.so.4 => not found
-> ldd /opt/kde/bin/kpilot | grep readli
libreadline.so.5 => /usr/lib/libreadline.so.5 (0xb6b92000)
libreadline.so.4 => not found
how can it link against 2 versions of it? strange ...
[root@Asteraceae rosegarden-4-0.9.9]# ldd /opt/kde/lib/* | grep
readline
ldd: /opt/kde/lib/java: No such file or directory
ldd: /opt/kde/lib/kconf_update_bin: No such file or directory
ldd: /opt/kde/lib/kde3: No such file or directory
libreadline.so.4 => not found
libreadline.so.4 => not found
libreadline.so.4 => not found
ldd: /opt/kde/lib/mcop: No such file or directory
... still 3 linking wrong
Here's the PKGBUILD for lilypond (it doesn't work on my computer):
#$Id: $ #Contributor: thegnu <thegnu@nathancurry.com> pkgname=lilypond pkgver=2.3.12 pkgrel=1 pkgdesc="an automated engraving system that fomats beautiful music notation and interfaces with rosegarden" url="http://www.lilypond.org/" depends=('guile>=1.6.0' 'python>=2.1' 'ghostscript' 'tetex') source=(http://lilypond.org/download/v2.3/$pkgname-$pkgver.tar.gz) #Compile-time deps: mftrace>=1.0.17, bison>=1.25 but not 1.50 or 1.75, gettext, GNU Make>=3.78, kpathsea (lib for searching TeX files), texinfo>=4.7 #Still need to figure out how to include ec-fonts-mftraced. #It's listed as a dependency, but doesn't seem to interpret --prefix #or DESTDIR for the make command #Lilypond 2.3 docs: http://lilypond.org/doc/v2.3/Documentation/topdocs/out-www/INSTALL.html #ec-fonts-mftrace docs: http://lilypond.org/download/fonts build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 make prefix=$startdir/usr install }
I built and uploaded mftrace-1.0.34.pkg.tar.gz and t1utils-1.32.pkg.tar.gz, which are required to compile lilypond.
on lilypond compile I get:
File "/usr/bin/mftrace", line 84, in ? import afm ImportError: no module named afm make[1]: *** [out/feta11.pfa] Error 1
Mmmmmm.... feta.....
feta? good cheese :-)
i'll have a look at lilypond, when i find some more time to spare ;-)
try installing a2ps if not already - maybe it's that that is missing... just guessing
The impossible missions are the only ones which succeed.
Offline
try installing a2ps if not already - maybe it's that that is missing... just guessing
I've worked on it some more. The mftrace install creates /usr/share/mftrace/afm.py, but when I try to compile lilypond, it can't find it.
I've updated my mftrace package to include this mftrace.install:
post_install() {
cd /usr/share/mftrace/
import filelib
}
post_upgrade() {
/bin/true
}
pre_remove() {
/bin/true
}
op=$1
shift
$op $*
I am now compiling ec-fonts-mftrace with no errors (had same error as lilypond). But how would I reverse "import filelib" in for python? I don't want to leave an artifact behind if someone later removes mftrace.
We could also just take the binaries from ec-fonts-mftrace, but I had trouble unpacking the rpm.
fffft!
Offline
I had found two packages: jack (bug 1290), and guile (1291) that needed to be recompiled against readline5. Guile 1.6.4-2 now links to r5 but jack has not been recompiled yet. I don't use KDE but you could use the script I used to find the readline problems: see http://bbs.archlinux.org/viewtopic.php?p=41166#41166
Good luck.
Offline
I had found two packages: jack (bug 1290), and guile (1291) that needed to be recompiled against readline5. Guile 1.6.4-2 now links to r5 but jack has not been recompiled yet. I don't use KDE but you could use the script I used to find the readline problems: see http://bbs.archlinux.org/viewtopic.php?p=41166#41166
Good luck.
thx for info - jack i didn't know that needs rebuild
The impossible missions are the only ones which succeed.
Offline
Yeah, I was suprised by jack too, but hey I didn't write it
Offline
rosegarden linking to readline4 was solved with the new Jack
BUT:
somehow, with the gcc 3.4.2 i cannot build rosegarden any more :-( :evil:
make[2]: *** No rule to make target `MidiFile.moc.cpp', needed by `libRosegardenSound_la.all_cpp.cpp'. Stop.
The impossible missions are the only ones which succeed.
Offline
Just as a head's up, the current Rosegarden CVS compiles fine on a up-to-date Arch box.
currently running it myself.
Offline