View previous topic :: View next topic |
Author |
Message |
GhePeU Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16384460041c74735df309.jpg)
Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Mon May 31, 2004 12:37 pm Post subject: ebuilds for beep media player |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
rounin Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/136384483143e54c10e5758.jpg)
Joined: 13 Apr 2003 Posts: 84
|
Posted: Thu Jun 03, 2004 1:16 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
frustreren n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Sep 2003 Posts: 14
|
Posted: Thu Jun 03, 2004 2:12 am Post subject: |
|
|
Nice. Thanks. Keeps me lazy. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mahir l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/193723190942986078c076c.jpg)
Joined: 05 Dec 2003 Posts: 725 Location: London
|
Posted: Thu Jun 03, 2004 11:40 am Post subject: mm |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
rounin Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/136384483143e54c10e5758.jpg)
Joined: 13 Apr 2003 Posts: 84
|
Posted: Thu Jun 03, 2004 2:16 pm Post subject: |
|
|
Actually, the file selector is broken in the newest CVS. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GhePeU Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16384460041c74735df309.jpg)
Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Thu Jun 03, 2004 4:35 pm Post subject: Re: mm |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
joem Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link2.jpg)
Joined: 20 Dec 2002 Posts: 508 Location: Bloomington, In
|
Posted: Thu Jun 03, 2004 6:22 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
GhePeU Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16384460041c74735df309.jpg)
Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Thu Jun 03, 2004 6:57 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Deathwing00 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1140581890451d29047ad41.jpg)
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Thu Jun 03, 2004 7:43 pm Post subject: |
|
|
Moved from Multimedia. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mahir l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/193723190942986078c076c.jpg)
Joined: 05 Dec 2003 Posts: 725 Location: London
|
Posted: Fri Jun 18, 2004 11:29 am Post subject: gtk fileselector |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
GhePeU Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16384460041c74735df309.jpg)
Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Tue Jun 22, 2004 9:59 pm Post subject: Re: gtk fileselector |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
madspida n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Apr 2004 Posts: 12 Location: Linköping, Sweden
|
Posted: Wed Jun 23, 2004 11:46 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
GhePeU Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16384460041c74735df309.jpg)
Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Wed Jun 23, 2004 12:38 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mahir l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/193723190942986078c076c.jpg)
Joined: 05 Dec 2003 Posts: 725 Location: London
|
Posted: Wed Jun 23, 2004 3:55 pm Post subject: hey |
|
|
will this new ebuild enable the gnomevfs fileselector? _________________ "wa ma tawfiqi illah billah"
Mahir Sayar |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GhePeU Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16384460041c74735df309.jpg)
Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Wed Jun 23, 2004 4:22 pm Post subject: |
|
|
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 ![Sad :(](images/smiles/icon_sad.gif) _________________ That is not dead which can eternal lie,
and with strange aeons even death may die. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ignignokt n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/812131fb3e1dd0e43d318.png)
Joined: 08 Jan 2003 Posts: 59
|
Posted: Wed Jun 23, 2004 6:57 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tinyau n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Apr 2004 Posts: 10
|
Posted: Wed Jun 30, 2004 1:50 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
xRay_ n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/146031865540d8a52942cb2.gif)
Joined: 16 Jun 2004 Posts: 18
|
Posted: Mon Jul 05, 2004 1:01 am Post subject: |
|
|
bump the cvs ebuild version to 20040627 . lots of bugs fixed ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UclaBob Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link2.jpg)
Joined: 22 Oct 2002 Posts: 83
|
Posted: Mon Jul 26, 2004 10:00 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Palironsat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Feb 2004 Posts: 16 Location: Austin, TX
|
Posted: Wed Jul 28, 2004 3:30 am Post subject: No worries here... |
|
|
Downloaded the source and compiled just fine for me...no worries, and it appears to be working great!
Any chance this can be put into the official Portage tree, even under ~x86? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CrashPat Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 01 Mar 2004 Posts: 97
|
Posted: Wed Jul 28, 2004 5:33 pm Post subject: |
|
|
Awesome. Seems to work awesome. Kind of like this version better than the old stale version in portage.
Using the last CVS sources and it all works. ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nixphoeni Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/43009279042541ee3642ec.gif)
Joined: 23 Oct 2004 Posts: 11
|
Posted: Sat Nov 06, 2004 3:22 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|