Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing jamboree-0.3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Redson
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2003
Posts: 137

PostPosted: Sat Oct 04, 2003 6:15 pm    Post subject: Installing jamboree-0.3 Reply with quote

Jamboree is a new gtk2 music player with an interface based on itunes. It's still in the early stages of development, so the powers that be have decided not to allow it into portage at the moment.

Obligatory Screenshot here http://www.gnome.org/~jdahlin/jamboree/jamboree.png

I've installed jamboree-0.3 on my system and have discovered that it's surprisingly simple, stable, and much faster to load than some of it's database-using alternatives. In short, it's the first music player that could replace xmms for me.

So here's how to install it:

Overview:
1) Uncomment the following line in /etc/make.conf
Code:
# PORTDIR_OVERLAY=/usr/local/portage


2) Create the directory /usr/local/portage/media-sound/jamboree

3) Copy the ebuild below, save it as jamboree-0.3.ebuild in your favorite text editor, and place it in the directory created in 2.

jamboree-0.3.ebuild wrote:
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit gnome2

DESCRIPTION="Jamboree is a media player for GNOME featuring an iTunes-like interface"
HOMEPAGE="http://www.gnome.org/~jdahlin/jamboree/"
SRC_URI="http://www.gnome.org/~jdahlin/jamboree/${P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86"
IUSE="X gnome"

DEPEND=">=media-libs/gstreamer-0.6.3
>=x11-libs/gtk+-2.2.1-r1
>=gnome-base/libgnomeui-2.2.2
>=gnome-base/libglade-2.0.1"
S=${WORKDIR}/${P}

src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-vorbis.patch.bz2
}


4) cd into /usr/local/portage/media-sound/jamboree and type:
Code:
ebuild jamboree-0.3.ebuild digest

[EDIT]I modified the above command as it was wrong. Forgot to add digest at the end.[/EDIT]
This should create a file called "Manifest" and a "files" directory.

5) Copy the patch from below and save it as jamboree-0.3-vorbis.patch

[EDIT]if the patch doesn't work, download it from:
http://home.comcast.net/~ohwhat/jamboree-0.3-vorbis.patch.bz2
[/EDIT]

jamboree-0.3-vorbis.patch wrote:
--- jamboree-0.3/test/Makefile.in.orig 2003-09-30 00:39:03.000000000 +0200
+++ jamboree-0.3/test/Makefile.in 2003-09-30 00:39:31.000000000 +0200
@@ -215,6 +215,7 @@
jb_util_LDADD = \
$(JAMBOREE_LIBS) \
$(ID3TAG_LIBS) \
+ $(VORBIS_LIBS) \
$(VORBISFILE_LIBS) \
-lgdbm \


6) Compress the patch
Code:
bzip2 jamboree-0.3-vorbis.patch

This should create a file called jamboree-0.3-vorbis.patch.bz2

[EDIT]change path in 7
7) Move jamboree-0.3-vorbis.patch.bz2 into /usr/local/portage/media-sound/jamboree/files

8) Type:
Code:
#emerge /usr/local/portage/media-sound/jamboree/jamboree-0.3.ebuild


And you should have a new media player in a few minutes.

Note that jamboree uses gstreamer as its backend, so if you haven't already, for basic functionality, you should install

-"gst-plugins-mad" for mp3 playing capabilities
-"gst-plugins-vorbis" for ogg playing capabilities
-"gst-plugins-oss" if you use oss. Most other sound servers are included in the generic gst-plugins.
-"gst-plugins-flac" for flac support, if you need it
_________________
Redson
http://watchred.com/


Last edited by Redson on Sat Oct 18, 2003 10:49 pm; edited 4 times in total
Back to top
View user's profile Send private message
scrllock
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2002
Posts: 102

PostPosted: Sat Oct 04, 2003 6:36 pm    Post subject: Reply with quote

is it just me... or does this look almost EXACTLY like rhythmbox?
Back to top
View user's profile Send private message
Redson
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2003
Posts: 137

PostPosted: Sat Oct 04, 2003 7:42 pm    Post subject: Reply with quote

Quote:
is it just me... or does this look almost EXACTLY like rhythmbox?


It does, and for good reason. They're both gtk2, and they both claim to be itunes copies, so they're both copying the same ui. However, this player doesn't try to have nearly as many features as rhythmbox, and so I've found it to be a LOT more stable than the current rythmbox and much faster to load.

Also, the ONLY question from the faq:
Quote:
Q: Why aren't you hacking on Rhythmbox instead?

A: Jamboree was started as a very simple experiment to see how slow or
fast the GTK+ treeview really was. Back then, Rhythmbox development
was pretty much halted. As for today, Jamboree is a nice little hobby
project with a strong KISS filosophy. It has just about 11000 lines
of code (according to SLOCCount) and very few features and will
probably stay that way.


Which is why I like this project.
_________________
Redson
http://watchred.com/
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Sat Oct 04, 2003 9:56 pm    Post subject: Reply with quote

Wouldn't something like this be nicer?

Code:

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit gnome2

DESCRIPTION="Jamboree is a media player for GNOME featuring an iTunes-like interface"
HOMEPAGE="http://www.gnome.org/~jdahlin/jamboree/"
SRC_URI="http://www.gnome.org/~jdahlin/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
IUSE="vorbis mad oss"

SLOT="0"
KEYWORDS="~x86 -*"

DEPEND="vorbis? (>=media-plugins/gst-plugins-vorbis-0.6.3)
mad? (>=media-plugins/gst-plugins-mad-0.6.3)
oss? (>=media-plugins/gst-plugins-oss-0.6.3)
>=media-plugins/gst-plugins-flac-0.6.3
>=x11-libs/gtk+-2.2.1-r1
>=gnome-base/libgnomeui-2.2.2
>=gnome-base/libglade-2.0.1"

src_unpack() {
unpack ${A}
use vorbis && epatch ${FILESDIR}/${P}-vorbis.patch.bz2
}

src_compile(){

local myconf=

if [ -z "`use vorbis`" ]
then
myconf="${myconf} --disable-vorbistest --disable-oggtest"
fi

gnome2_src_configure "${myconf}" || die
emake
}


I assume it only really needs mad and vorbis plugins for gstreamer to run, not all of them, and we might as well honor the users request to use or not to use vorbis, oss and/or mad..

However we have no way it seems to disallow testing on mad nor oss in the configure script.

oh and this isn't tested at all - I'm just compulsive.
Back to top
View user's profile Send private message
Redson
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2003
Posts: 137

PostPosted: Sun Oct 05, 2003 3:39 am    Post subject: Reply with quote

lovechild: Yes, your ebuild seems a lot more robust than mine. I basically took the ebuild from bugs.gentoo.org and modified it so that gnome 2.4 and gtk 2.2.4 weren't required (because they aren't).

Also, I've been im'd with a report that the patch doesn't work. I think it's a problem with phpBB, since I used that patch and worked just fine. so I'm posting the patch here:

http://home.comcast.net/~ohwhat/jamboree-0.3-vorbis.patch.bz2

It's already compressed, so right click and do "save as"
_________________
Redson
http://watchred.com/
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Sun Oct 05, 2003 2:43 pm    Post subject: Reply with quote

Well, we have the USE flags, it's really a shame more people don't know how to use them properly.

Installing software without proper USE flags is like watching "The Osbornes" without the swearing.. just not as forfilling.

Someone should really write a good guide to ebuilding software.

Anyways, it bothers me that ./configure doesn't always print all the options we can pass to it - it makes USE flags more inefficient since nobody takes the time to dig in the configure script to figure out which options we have, and thus it makes USE flags inefficent.

Maybe the way we handle USE flags needs to be rethought, fx. a USE flag named mad (since that's the name of the component we filter on) to handle mp3 usage - why not just call it mp3.

Hell I would like to setup a more logical way to handle these things - but that's an entirely other rant, which I'll save for another time.

back the the original rant - we have USE flags, we love USE flags, please all ebuilders take that extra few minutes before submitting ebuilds to just look if you use them correctly.

doublecheck that you enable configure options if set and disable if unset (very important - otherwise if say a lib is installed and the USE flag is unset, the program will be compiled with the option anyways).
Other good ebuilding hints would be learn to love the eclasses, the gnome2 eclass fx. does most of the setup so that all gnome2 programs work the same. Eclasses in many cases also set the correct SRC_URI for you. Uniformity is grand.

Mask the archs you haven't tested an ebuild on using KEYWORDS="~x86 -*" if you can't test something there's no reason to open it up for support problems, I personally don't support any of my ebuilds on anything other than ~x86, people on say PPC are still free to unmask and report back with patches and experiences to make it work. Linux's portability is mostly a scam, Linus's tree fx. normally only compiles on one of the supported archs to any degree of succes anyways (x86).

Learn to love the set of variables portage gives you like ${P} ${S} ${PN} ${PV} ${FILESDIR} ${DISTFILES}, these will ease a future version bump, instead of putting in a full path to something - it's just ugly and should be avoided at all costs

Remember to include IUSE if you use USE flags in your ebuilds, otherwise you are doing only half the job..

Descriptions must always be correct - the $Header reset and the homepage must point to the correct site - it's okay to use an older ebuild as a template but for christ sake - clean up, it's just annoying (I know I've done this at times - so bad me.. very bad me)

Remember to set the LICENSE correctly, there's nothing more annoying that having to argue with a programmer because you set his license string wrong - some people take this kind of thing very seriously.. others don't.
Back to top
View user's profile Send private message
ziekke
n00b
n00b


Joined: 04 Jun 2003
Posts: 19
Location: Canada

PostPosted: Thu Oct 09, 2003 2:03 am    Post subject: Problem? Reply with quote

When I do the step

Code:
ebuild ebuild jamboree-0.3.ebuild


I get a response of:

Code:
expecting two arguments.


It seems that the real command to be done is ebuild foo.ebuild digest.
Back to top
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Thu Oct 09, 2003 5:37 am    Post subject: Reply with quote

Ebuild quits on configure.
Code:
checking for gtk+-2.0 >= 2.2.0 libgnomeui-2.0 libglade-2.0 gstreamer-0.6 gstreamer-gconf-0.6... Package gstreamer-gconf-0.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-gconf-0.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-gconf-0.6' found

configure: error: Library requirements (gtk+-2.0 >= 2.2.0 libgnomeui-2.0 libglade-2.0 gstreamer-0.6 gstreamer-gconf-0.6) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

!!! ERROR: media-sound/jamboree-0.3 failed.
!!! Function econf, Line 335, Exitcode 1
!!! econf failed

I have all those packages installed too, so how can I fix my PKG_CONFIG_PATH?
_________________
Ban Reality TV!
Adopt an Unanswered Post
Back to top
View user's profile Send private message
Redson
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2003
Posts: 137

PostPosted: Thu Oct 09, 2003 6:22 am    Post subject: Reply with quote

ziekke: you are correct, that was a typo. I fixed in my original post. Thank you very much!

snakattak3 wrote:
Ebuild quits on configure.
Code:
checking for gtk+-2.0 >= 2.2.0 libgnomeui-2.0 libglade-2.0 gstreamer-0.6 gstreamer-gconf-0.6... Package gstreamer-gconf-0.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-gconf-0.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-gconf-0.6' found

configure: error: Library requirements (gtk+-2.0 >= 2.2.0 libgnomeui-2.0 libglade-2.0 gstreamer-0.6 gstreamer-gconf-0.6) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

!!! ERROR: media-sound/jamboree-0.3 failed.
!!! Function econf, Line 335, Exitcode 1
!!! econf failed

I have all those packages installed too, so how can I fix my PKG_CONFIG_PATH?


Ok, so it seems that gstreamer-gconf-0.6 is from the gst-plugins package. Do you have this installed? I thought it automatically got installed with gstreamer, but if not I'll add it to the ebuild.
_________________
Redson
http://watchred.com/
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Thu Oct 09, 2003 6:39 am    Post subject: Reply with quote

your link to the patch needs editing; there is a
rogue [/edit] tag attached to it.

oh; and compiling worked. quite a nice program :wink:
Back to top
View user's profile Send private message
Redson
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2003
Posts: 137

PostPosted: Thu Oct 09, 2003 6:10 pm    Post subject: Reply with quote

neenee wrote:
your link to the patch needs editing; there is a
rogue [/edit] tag attached to it.

oh; and compiling worked. quite a nice program :wink:


Thank you, I don't know how I missed that, it's fixed and I agree.;-)
_________________
Redson
http://watchred.com/
Back to top
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Thu Oct 09, 2003 9:11 pm    Post subject: Reply with quote

emerged gst-plugins, and still no dice. Same configure error
_________________
Ban Reality TV!
Adopt an Unanswered Post
Back to top
View user's profile Send private message
Mr. Garr
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2003
Posts: 130
Location: Shangri-La

PostPosted: Sat Feb 28, 2004 4:35 pm    Post subject: Reply with quote

i am doing everything like it's written here but i cannot emerge jamboree
all I get is:
Code:

emerge jamboree-0.3.ebuild digest
Calculating dependencies \
emerge: there are no masked or unmasked ebuilds to satisfy "(>=media-plugins/gst-plugins-oss-0.6.3)".
 
!!! Error calculating dependencies. Please correct.

_________________
Illuminatus Primus
Back to top
View user's profile Send private message
khud
n00b
n00b


Joined: 29 Sep 2004
Posts: 33
Location: Valencia - Spain

PostPosted: Fri Oct 01, 2004 12:04 am    Post subject: Reply with quote

Hey guys I followed the first ebuild and the patch (although changing version to 0.5 of course) and have emerged it successfully. Has this stuff not got into portage? Damn this rocks. Pretty fast. Kudos to imendio guys :)
_________________
Antes morir de pie que vivir de rodillas.
Back to top
View user's profile Send private message
Solution_9
Guru
Guru


Joined: 22 Jun 2003
Posts: 311

PostPosted: Mon Jun 06, 2005 7:59 pm    Post subject: Reply with quote

Im using Jamboree 0.5. For some reason i cant import Mp3 files. I can import OGG's fine, but Mp3s just wont go.

Any suggestions?
_________________
"The X server has to be the biggest program I've ever seen that doesn't do anything for you."
- Ken Thompson
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum