Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11737 - rosegarden-4.0.8.ebuild (new)
Summary: rosegarden-4.0.8.ebuild (new)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: J. Ellis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-07 14:02 UTC by Marco Correia
Modified: 2003-06-09 05:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rosegarden-4.0.8.ebuild (new) (rosegarden-4.0.8.ebuild,976 bytes, text/plain)
2002-12-07 14:04 UTC, Marco Correia
Details
rosegarden-4.0.8.ebuild (rosegarden-4.0.8.ebuild,966 bytes, text/plain)
2002-12-07 16:26 UTC, Marco Correia
Details
rosegarden-4.0.8.5.ebuild (rosegarden-4.0.8.5.ebuild,985 bytes, text/plain)
2003-02-07 12:53 UTC, Oliver Schoett
Details
rosegarden-4.0.9.ebuild (new upstream version) (rosegarden-4.0.9.ebuild,1.16 KB, text/plain)
2003-05-03 06:24 UTC, Oliver Schoett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Correia 2002-12-07 14:02:04 UTC
hi,  
  
Rosegarden is powerful midi sequencer and notation editor. I saw some people 
asking for it in the gentoo forums, and since I'm also a musician, I gave it a 
try.  
Please read the comments on the ebuild script regarding the IUSE variable. Also 
there is a problem with the package tarball which doesn't seem to follow gentoo 
rules for versioning, being called 'rosegarden-4-0.8' instead of 
'rosegarden-4.0.8'.  
This is the first ebuild that I write, so i don't know if i got everything 
right.  
  
thanks  
mvc
Comment 1 Marco Correia 2002-12-07 14:04:31 UTC
Created attachment 6284 [details]
rosegarden-4.0.8.ebuild (new)
Comment 2 Marco Correia 2002-12-07 16:26:01 UTC
Created attachment 6287 [details]
rosegarden-4.0.8.ebuild

sorry, i have submited the wrong file. This is the right one.

mvc
Comment 3 Tobias Eichert 2002-12-24 20:03:00 UTC
thanks for submission. I'll get to that in a while. stealing bug.
Comment 4 Oliver Schoett 2003-02-05 04:51:20 UTC
This ebuild fails on my system, where I did not previously have any KDE stuff installed.  I suppose more requirements are needed.  Unfortunately, I do not know how to find out which not-yet-installed package contains the artsmidi library ...

g++ -shared -nostdlib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/crtbeginS.o  .libs/AlsaDriver.o .libs/Sequencer.o .libs/SoundDriver.o -Wl,--whole-archive ./.libs/libRosegardenSound.a ../base/.libs/libbase.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/kde/3.1/lib -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 -Wl,--rpath -Wl,/usr/qt/3/lib -Wl,--rpath -Wl,/usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -lartsmidi -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../.. -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib ./.libs/libRosegardenSound.a -L/usr/lib/fltk-1.1 ../base/.libs/libbase.a -lartsmodules /usr/kde/3.1/lib/libartskde.so /usr/kde/3.1/lib/libkio.so /usr/kde/3.1/lib/libkdeui.so /usr/kde/3.1/lib/libkdesu.so /usr/kde/3.1/lib/libkdecore.so /usr/kde/3.1/lib/libDCOP.so -lresolv -lXinerama /usr/lib/libart_lgpl_2.so /usr/kde/3.1/lib/libkdefx.so -lXrender -lutil /usr/lib/libfam.so /usr/kde/3.1/lib/libqtmcop.so -lqt-mt -lpng -lXext -lX11 -lSM -lICE /usr/kde/3.1/lib/libsoundserver_idl.so /usr/kde/3.1/lib/libkmedia2_idl.so /usr/kde/3.1/lib/libartsflow.so /usr/lib/libaudiofile.so /usr/lib/libvorbisfile.so /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/kde/3.1/lib/libartsflow_idl.so /usr/kde/3.1/lib/libmcop.so /usr/lib/libjack.so /usr/lib/libglib.so /usr/lib/libasound.so -ldl -lpthread -lz /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.so -lm -lc -lgcc_s   -lc /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../crtn.o   -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new -fexceptions -Wl,-soname -Wl,libRosegardenSequencer.so.0 -o .libs/libRosegardenSequencer.so.0.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsmidi
collect2: ld returned 1 exit status
make[2]: *** [libRosegardenSequencer.la] Error 1
make[2]: Leaving directory `/mnt/dev/sda5/space/var/tmp/portage/rosegarden-4.0.8/work/rosegarden-4-0.8/sound'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/dev/sda5/space/var/tmp/portage/rosegarden-4.0.8/work/rosegarden-4-0.8'
make: *** [all] Error 2

!!! ERROR: media-sound/rosegarden-4.0.8 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! (no error message)
Comment 5 Oliver Schoett 2003-02-05 13:18:43 UTC
Oops, I should add my emerge info to the previous compile bug report.
As far as I can see, the only change I made to the default flags is USE="alsa".

# emerge info
Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/dev/sda5/space/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif gpm jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex svga java guile X sdl tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla cdr alsa"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

Comment 6 Oliver Schoett 2003-02-06 05:55:35 UTC
The artsmidi library is part of kdemultimedia, so this package shold be made a prerequisite of rosegarden.  I installed kdemultimedia-3.1.  This seems to solve the library problem, but I now get a compile problem:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I../base -I../sound -fexceptions -DRGKDE3   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new -fexceptions -DRGKDE3  -c -o audiopluginmanager.o `test -f audiopluginmanager.cpp || echo './'`audiopluginmanager.cpp
audiomanagerdialog.cpp: In member function `void 
   Rosegarden::AudioManagerDialog::slotRename()':
audiomanagerdialog.cpp:747: call of overloaded `basic_string(QString&)' is 
   ambiguous
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/g++-v3/bits/basic_string.tcc:226: candidates
   are: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, 
   const _Alloc& = _Alloc()) [with _CharT = char, _Traits = 
   std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/g++-v3/bits/basic_string.tcc:192: 
                  std::basic_string<_CharT, _Traits, 
   _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) 
   [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = 
   std::allocator<char>]
make[3]: *** [audiomanagerdialog.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/mnt/dev/sda5/space/var/tmp/portage/rosegarden-4.0.8/work/rosegarden-4-0.8/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/dev/sda5/space/var/tmp/portage/rosegarden-4.0.8/work/rosegarden-4-0.8/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/dev/sda5/space/var/tmp/portage/rosegarden-4.0.8/work/rosegarden-4-0.8'
make: *** [all] Error 2

!!! ERROR: media-sound/rosegarden-4.0.8 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)
Comment 7 Oliver Schoett 2003-02-07 12:53:39 UTC
Created attachment 8011 [details]
rosegarden-4.0.8.5.ebuild

Ebuild that uses the current rosegarden distribution and compiles on a current
gentoo system
Comment 8 J. Ellis (RETIRED) gentoo-dev 2003-03-01 09:41:04 UTC
Commited. Masked as ~x86 as i don't have the midi hardware to fully test.

Can move to stable when get feedback.
Comment 9 Samuel Greenfeld 2003-04-17 23:46:15 UTC
External MIDI tested on a SB Live soundcard with a Yamaha PSR 500M keyboard. Both sending and recieving external MIDI seems to work fine when playing back MIDI data, as well as recording data to a track from the keyboard.  The MIDI through function also can be used to play on the keyboard and have the SB Live's internal synth (if set as the device for a channel) follow it.

But note this is definitely a 0.8.5 release.  There are a variety of little bugs in this version of Rosegarden R4 that annoy me.

I cannot remember them all, but these bugs include being able to drag notes in the piano roll/matrix in a manner where they offset themselves a measure or so horizontally while dragged, hanging after a panic shutoff and then play being pressed, some manner where I was able to get rosegarden to crash by erasing something that did not exist (currently cannot replicate), etc.  There are also a variety of things I'd like to see in it (control over what the metronome plays, notation chord entry via MIDI on the piano roll, etc.), but RG R4-0.8.5 is definitely mostly usable.

I do not know if any of the above are fixed and/or added in CVS.
Comment 10 Oliver Schoett 2003-05-03 06:24:47 UTC
Created attachment 11427 [details]
rosegarden-4.0.9.ebuild (new upstream version)

Mean time between crashes in the notation editor has improved from 2 minutes to
10 minutes, which is a great improvement :-).  There is now an autosave
function, which works well, so the editor can now actually be used without too
much data loss.  Definitely should be left at ~x86 though.
Comment 11 Oliver Schoett 2003-06-09 05:05:19 UTC
There is a new upstream version: rosegarden-4-0.9.1

The current rosegarden-4.0.9.ebuild works without change when renamed to rosegarden-4.0.9.1.ebuild