Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuilds for beep media player
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Mon May 31, 2004 12:37 pm    Post subject: ebuilds for beep media player Reply with quote

derived from old ebuild in portage

beepmp-cvs-0.1.ebuild downloads last cvs sources, today everything seems to be working but tomorrow a new commit could break something, so be careful

beepmp-cvs-0.1.ebuild
Code:
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
 
inherit eutils cvs

MY_PN="bmp"
ECVS_SERVER="cvs.sourceforge.net:/cvsroot/beepmp"
ECVS_MODULE="bmp"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_MODULE}"

DESCRIPTION="Beep Media Player"
HOMEPAGE="http://beepmp.sourceforge.net/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~sparc ~amd64"
IUSE="nls esd gnome oggvorbis alsa"

RDEPEND="app-arch/unzip
        >=x11-libs/gtk+-2.4
        >=x11-libs/pango-1.4
        >=dev-libs/libxml-1.8.17
        >=gnome-base/libglade-2.3
        esd? ( >=media-sound/esound-0.2.30 )
        gnome? ( >=gnome-base/gnome-vfs-2.6
         >=gnome-base/gconf-2.6 )
        oggvorbis? ( >=media-libs/libvorbis-1.0 )
        alsa? ( >=media-libs/alsa-lib-1.0 )"
DEPEND="${RDEPEND}
        nls? ( dev-util/intltool )"
 
S=${WORKDIR}/${ECVS_MODULE}
 
src_compile() {
        local myconf=""
 
        export WANT_AUTOMAKE=1.7
        export WANT_AUTOCONF=2.5
 
        ./autogen.sh
 
        econf \
                --with-dev-dsp=/dev/sound/dsp \
                --with-dev-mixer=/dev/sound/mixer \
                `use_enable oggvorbis vorbis` \
                `use_enable esd` \
                `use_enable nls` \
                `use_enable alsa` \
                `use_enable gnome gconf` \
                `use_enable gnome gnome-vfs` \
                ${myconf} \
                || die
 
        emake || die "make failed"
}
 
src_install() {
        einstall || die "install failed"
 
        insinto /usr/share/pixmaps
        doins beep/beep.svg
        doins beep/beep_mini.xpm
 
        # Get the app registered in gnome
 
        if use gnome; then
                insinto /usr/share/gnome/apps/Multimedia
                doins ${FILESDIR}/beep-media-player.desktop
        fi
 
        dodoc AUTHORS ChangeLog COPYING FAQ NEWS README TODO
}



beepmp-cvs-20040325.ebuild installs last official cvs snapshot released by developers, and it seems to be very stable

beepmp-cvs-20040325.ebuild:
Code:
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

inherit eutils
 
MY_PN="bmp"
MY_P=${MY_PN}-cvs-${PV}
 
DESCRIPTION="Beep Media Player"
HOMEPAGE="http://beepmp.sourceforge.net/"
SRC_URI="mirror://sourceforge/beepmp/${MY_P}.tar.gz"
 
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="nls esd gnome oggvorbis alsa"
 
RDEPEND="app-arch/unzip
        >=x11-libs/gtk+-2.4
        >=x11-libs/pango-1.4
        >=dev-libs/libxml-1.8.17
        >=gnome-base/libglade-2.3
        esd? ( >=media-sound/esound-0.2.30 )
        gnome? ( >=gnome-base/gnome-vfs-2.6
         >=gnome-base/gconf-2.6 )
        oggvorbis? ( >=media-libs/libvorbis-1.0 )
        alsa? ( >=media-libs/alsa-lib-1.0 )"
DEPEND="${RDEPEND}
        nls? ( dev-util/intltool )"
 
S=${WORKDIR}/${MY_PN}-0.9.7
 
src_compile() {
        local myconf=""
 
        econf \
                --with-dev-dsp=/dev/sound/dsp \
                --with-dev-mixer=/dev/sound/mixer \
                `use_enable oggvorbis vorbis` \
                `use_enable esd` \
                `use_enable nls` \
                `use_enable alsa` \
                `use_enable gnome gconf` \
                `use_enable gnome gnome-vfs` \
                ${myconf} \
                || die
 
        emake || die "make failed"
}
 
src_install() {
        einstall || die "install failed"
 
        insinto /usr/share/pixmaps
        doins beep/beep.svg
        doins beep/beep_mini.xpm
 
        # Get the app registered in gnome
 
        if use gnome; then
                insinto /usr/share/gnome/apps/Multimedia
                doins ${FILESDIR}/beep-media-player.desktop
        fi
 
        dodoc AUTHORS ChangeLog COPYING FAQ NEWS README TODO
}

_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.


Last edited by GhePeU on Thu Jun 24, 2004 1:39 pm; edited 2 times in total
Back to top
View user's profile Send private message
rounin
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2003
Posts: 84

PostPosted: Thu Jun 03, 2004 1:16 am    Post subject: Reply with quote

Thanks a bunch!

It can't find libogg 1.0 though, so need to edit the ebuild to make it require libogg 1.1.


Last edited by rounin on Thu Jun 03, 2004 2:16 am; edited 1 time in total
Back to top
View user's profile Send private message
frustreren
n00b
n00b


Joined: 10 Sep 2003
Posts: 14

PostPosted: Thu Jun 03, 2004 2:12 am    Post subject: Reply with quote

Nice. Thanks. Keeps me lazy.
Back to top
View user's profile Send private message
mahir
l33t
l33t


Joined: 05 Dec 2003
Posts: 725
Location: London

PostPosted: Thu Jun 03, 2004 11:40 am    Post subject: mm Reply with quote

i installed the last one.
the 2nd one ont he page
and well

its like..

i dont get the new gnomevfs fileselector?
any ideas?!
_________________
"wa ma tawfiqi illah billah"
Mahir Sayar
Back to top
View user's profile Send private message
rounin
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2003
Posts: 84

PostPosted: Thu Jun 03, 2004 2:16 pm    Post subject: Reply with quote

Actually, the file selector is broken in the newest CVS.
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Thu Jun 03, 2004 4:35 pm    Post subject: Re: mm Reply with quote

mahir wrote:
i installed the last one.
the 2nd one ont he page
and well

its like..

i dont get the new gnomevfs fileselector?
any ideas?!


in latest cvs (2004-05-31) there is this fileselector, but I'm not sure this is what you are talking about
http://ghepeu.altervista.org/immagini/file-selector.jpg

in the 2004-03-25 snapshot file-selector is the one that was in gnome 2.4

btw, this is a screenshot I took yesterday, an old xmms skin with aliased truetype fonts... I love this player
http://ghepeu.altervista.org/immagini/beepmp-cvs.png
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.
Back to top
View user's profile Send private message
joem
Retired Dev
Retired Dev


Joined: 20 Dec 2002
Posts: 508
Location: Bloomington, In

PostPosted: Thu Jun 03, 2004 6:22 pm    Post subject: Reply with quote

don't depend on the gnome-metabuild for gnome support, that will install every package in the stock gnome-desktop. Spend some time and find out what the real deps are for gnome support
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Thu Jun 03, 2004 6:57 pm    Post subject: Reply with quote

you're right...

assuming the readme in cvs repository is still valid, ebuild should be modified to
Code:
gnome? ( >=gnome-base/gnome-vfs-2.6
         >=gnome-base/gconf-2.6 )


this should reduce dependencies, but I think that for someone that haven't gnome installed the best thing should be emerging with USE="-gnome"
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Thu Jun 03, 2004 7:43 pm    Post subject: Reply with quote

Moved from Multimedia.
Back to top
View user's profile Send private message
mahir
l33t
l33t


Joined: 05 Dec 2003
Posts: 725
Location: London

PostPosted: Fri Jun 18, 2004 11:29 am    Post subject: gtk fileselector Reply with quote

can someone modify the above ebuilds or just one ebuild and paste it

i dont get the gnomevfs fileselector with either ebuild!

pleas ehelp!
_________________
"wa ma tawfiqi illah billah"
Mahir Sayar
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Tue Jun 22, 2004 9:59 pm    Post subject: Re: gtk fileselector Reply with quote

mahir wrote:
can someone modify the above ebuilds or just one ebuild and paste it

i dont get the gnomevfs fileselector with either ebuild!

pleas ehelp!



my mistake, I'm sorry

just fixed in first post
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.
Back to top
View user's profile Send private message
madspida
n00b
n00b


Joined: 28 Apr 2004
Posts: 12
Location: Linköping, Sweden

PostPosted: Wed Jun 23, 2004 11:46 am    Post subject: Reply with quote

I can't seem to get that ebuild working. I've put the ebuild in my portage overlay dir, but when I try to digest it it fails. Like so:
Code:

bash-2.05b# ebuild beepmp-cvs-0.1.ebuild digest
!!! aux_get(): ebuild for 'media-sound/beepmp-cvs-0.1' does not exist at:
!!!            /usr/portage/media-sound/beepmp-cvs/beepmp-cvs-0.1.ebuild
doebuild(): aux_get() error; aborting.


It works just fine with other ebuild in the portage overlay dir. Any ideas?
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Wed Jun 23, 2004 12:38 pm    Post subject: Reply with quote

ehm, did you copy the ebuild in ${PORTDIR_OVERLAY}/media-sound/beepmp-cvs/beepmp-cvs-0.1.ebuild, didn't you?
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.
Back to top
View user's profile Send private message
mahir
l33t
l33t


Joined: 05 Dec 2003
Posts: 725
Location: London

PostPosted: Wed Jun 23, 2004 3:55 pm    Post subject: hey Reply with quote

will this new ebuild enable the gnomevfs fileselector?
_________________
"wa ma tawfiqi illah billah"
Mahir Sayar
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Wed Jun 23, 2004 4:22 pm    Post subject: Reply with quote

yes, if it works (CVS, do you remember?)

there was a typo in ebuild I pasted here, I wrote "gnomevfs" instead of "gnome-vfs", sorry :(
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.
Back to top
View user's profile Send private message
Ignignokt
n00b
n00b


Joined: 08 Jan 2003
Posts: 59

PostPosted: Wed Jun 23, 2004 6:57 pm    Post subject: Reply with quote

The ebuild worked great for me, thanks GhePeU!

This player has so much potential... I think it's really starting to look nice. I'd be off xmms in a heartbeat if there weren't so many great input plugins for it. That's really the last thing that keeps me on xmms, unfortunately. And from what I understand there really isn't an easy way to make them work without some porting. I'm going to poke around in the docs right now to find out.
Back to top
View user's profile Send private message
tinyau
n00b
n00b


Joined: 15 Apr 2004
Posts: 10

PostPosted: Wed Jun 30, 2004 1:50 pm    Post subject: Reply with quote

Thanks GhePeU. I am searching for a GTK2 media player to show Chinese characters correctly. So, I tried to build beep media player from the official portage but failed.

I have renamed your ebuild file to bmp-cvs-20040627.ebuild and placed it to ${PORTAGE_OVERLAY}/media-sound/bmp-cvs to build the most updated CVS (2004-06-27). And it works. Thanks a lot.
Back to top
View user's profile Send private message
xRay_
n00b
n00b


Joined: 16 Jun 2004
Posts: 18

PostPosted: Mon Jul 05, 2004 1:01 am    Post subject: Reply with quote

bump the cvs ebuild version to 20040627 . lots of bugs fixed :D
Back to top
View user's profile Send private message
UclaBob
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2002
Posts: 83

PostPosted: Mon Jul 26, 2004 10:00 am    Post subject: Reply with quote

I'm having some troubles :(

Code:
natalie root $ emerge beepmp-cvs-20040627.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/beepmp-cvs-20040627 to /
>>> md5 src_uri ;-) bmp-cvs-20040627.tar.gz
>>> Unpacking source...
>>> Unpacking bmp-cvs-20040627.tar.gz to /var/tmp/portage/beepmp-cvs-20040627/work
>>> Source unpacked.
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub   failed

!!! ERROR: media-sound/beepmp-cvs-20040627 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed


Does this make sense to anybody ?

Bob
Back to top
View user's profile Send private message
Palironsat
n00b
n00b


Joined: 19 Feb 2004
Posts: 16
Location: Austin, TX

PostPosted: Wed Jul 28, 2004 3:30 am    Post subject: No worries here... Reply with quote

Downloaded the source and compiled just fine for me...no worries, and it appears to be working great! :D

Any chance this can be put into the official Portage tree, even under ~x86?
Back to top
View user's profile Send private message
CrashPat
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2004
Posts: 97

PostPosted: Wed Jul 28, 2004 5:33 pm    Post subject: Reply with quote

Awesome. Seems to work awesome. Kind of like this version better than the old stale version in portage. 8O

Using the last CVS sources and it all works. :twisted:
Back to top
View user's profile Send private message
nixphoeni
Retired Dev
Retired Dev


Joined: 23 Oct 2004
Posts: 11

PostPosted: Sat Nov 06, 2004 3:22 pm    Post subject: Reply with quote

works great for me. my only suggestion is to make
Code:
DEPEND="${RDEPEND}
        nls? ( dev-util/intltool )"


into
Code:
DEPEND="${RDEPEND}
        nls? ( dev-util/intltool )
        !media-sound/beep-media-player"


is there a way to make this package "provide" the media-sound/beep-media-player package? maybe something with the naming of the file?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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