These Forums Are Going Away!

These forums are currently read-only, but will be going away entirely in mid-august. All active discussion has moved elsewhere. Visit the Songbird Developers Google Group for developer topics, and Get Satisfaction for everything else.

STICKY: Ebuild for Gentoo Linux

Hi. I've made an ebuild for Gentoo Linux for songbird-0.2.5. Maybe You'll add it to installation handbook at these page?
there is an ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils versionator

MY_PN="Songbird"
#MY_PV="$(replace_version_separator 1 '_' ${PV})"
S="${WORKDIR}/${MY_PN}"

DESCRIPTION="A multimedia player, inspired by iTunes"
HOMEPAGE="http://www.songbirdnest.com/"
SRC_URI="x86? ( http://download.songbirdnest.com/installer/linux/i686/${MY_PN}_0_2_5_linux-i686.tar.gz )
   amd64? ( http://download.songbirdnest.com/installer/linux/x86_64/${MY_PN}_0_2_5_linux-x86_64.tar.gz ) "
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="alsa oss esd ogg flac faac musepack ugly theora speex ffmpeg gnome"
RESTRICT="strip"
RDEPEND="
   alsa? ( media-plugins/gst-plugins-alsa )
   oss?  ( media-plugins/gst-plugins-oss )
   esd?  ( media-plugins/gst-plugins-esd )
   ogg? ( media plugins/gst-plugins-ogg
      media-plugins/gst-plugins-vorbis )
   gnome? ( media-plugins/gst-plugins-gconf
      media-plugins/gst-plugins-gnomevfs )
   flac? ( media-plugins/gst-plugins-flac )
   faac? ( media-plugins/gst-plugins-faac )
   ugly?  ( media-plugins/gst-plugins-ugly )
   musepack? ( media-plugins/gst-plugins-musepack )
   theora? ( media-plugins/gst-plugins-theora )
   speex? ( media-plugins/gst-plugins-speex )
   ffmpeg? ( media-plugins/gst-plugins-ffmpeg )"
DEPEND="${RDEPEND}
   x11-libs/libXdmcp
   x11-libs/libXau
   x11-libs/libXfixes
   x11-libs/libXcursor
   x11-libs/libXrandr
   x11-libs/libXi
   x11-libs/libXrender
   x11-libs/libXext
   x11-libs/libX11
   dev-libs/liboil
   media-libs/gstreamer
   media-plugins/gst-plugins-base
   media-plugins/gst-plugins-x
   media-plugins/gst-plugins-xvideo
   media-plugins/gst-plugins-lame
   media-plugins/gst-plugins-mpeg2dec
   media-plugins/gst-plugins-mad
   >=sys-libs/glibc-2.3.2
    >=x11-libs/gtk+-2.0.0
    >=virtual/xft-7.0
    >=virtual/libstdc++-3.3
   x11-libs/pango"

src_install() {
   insinto /opt/songbird
   doins -r *
   fperms 755 /opt/songbird/Songbird
   fperms 755 /opt/songbird/xulrunner/xulrunner
   fperms 755 /opt/songbird/xulrunner/xulrunner-bin
   dosym /opt/songbird/Songbird /opt/bin/songbird-bin

   newicon ${S}/chrome/icons/default/default.xpm ${PN}.xpm
   make_desktop_entry ${PN} ${PN} ${PN}.xpm "AudioVideo;Player"
}

pkg_postinst() {
   echo
   ewarn "Songbird is still under development!"
   einfo ""
   einfo "If You need other music/video plugins, look at"
   einfo "Your portage tree into media-plugins/gst-plugins-*,"
   einfo "but remember, that not all plugins are supported yet."
   einfo ""
   einfo "If You don't want too much deps on these package,"
   einfo "disable gnome support"
   echo
} 

You have to insert it into /Your/portage/overlay/media-sound/mozilla-songbird-bin/ and make digest by
# ebuild mozilla-songbird-bin-0.2.5.ebuild digest

oh, If you have too much deps for compile, look if you have enable gnome flag for these package, because gnome flag are compiling gst-plugins-gconf and gst-plugins-gnomevfs, which need a lot of stuff from gnome.

Maybe someone will use it

cheers!

mig Says:   

Yay!

jredmond Says:   

Love the ebuild! Two (very minor) things to fix, though:

*in the RDEPEND section, there's a typo on the line ogg? ( media plugins/gst-plugins-ogg - there needs to be a dash, not a space, between "media" and "plugins".

*in the DEPEND section, the gst-plugins-base package is listed with the wrong category - it should be in media-libs, not media-plugins.

Now that those two things are fixed, portage can understand all the dependencies and install whatever I don't already have. It's running right now; I'll post a status update once it's done.

Poe Says:   

Hi :) I'm glad that You like my ebuild. I've made new, for 0.3.1 version. I hope, You'll like it too :)
Filename: Songbird-bin-0.3.1.ebuild
Directory: media-sound/Songbird-bin
How-to-use-it: save these code under it into file "Songbird-bin-0.3.1.ebuild" and make digest by "ebuild <filename> digest" in Your overlay portage directory.

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils versionator

MY_PN="Songbird"
S="${WORKDIR}/${MY_PN}"

DESCRIPTION="A multimedia player, inspired by iTunes"
HOMEPAGE="http://www.songbirdnest.com/"
SRC_URI="x86? ( http://download.songbirdnest.com/installer/linux/i686/${MY_PN}_0.3.1_linux-i686.tar.gz )
   amd64? ( http://download.songbirdnest.com/installer/linux/x86_64/${MY_PN}_0.3.1_linux-x86_64.tar.gz ) "
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="alsa oss esd ogg flac faac musepack ugly theora speex ffmpeg gnome"
RESTRICT="strip"
RDEPEND="
   alsa? ( media-plugins/gst-plugins-alsa )
   oss?  ( media-plugins/gst-plugins-oss )
   esd?  ( media-plugins/gst-plugins-esd )
   ogg? ( media-plugins/gst-plugins-ogg
      media-plugins/gst-plugins-vorbis )
   gnome? ( media-plugins/gst-plugins-gconf
      media-plugins/gst-plugins-gnomevfs )
   flac? ( media-plugins/gst-plugins-flac )
   faac? ( media-plugins/gst-plugins-faac )
   ugly?  ( media-libs/gst-plugins-ugly )
   musepack? ( media-plugins/gst-plugins-musepack )
   theora? ( media-plugins/gst-plugins-theora )
   speex? ( media-plugins/gst-plugins-speex )
   ffmpeg? ( media-plugins/gst-plugins-ffmpeg )"
DEPEND="${RDEPEND}
   x11-libs/libXdmcp
   x11-libs/libXau
   x11-libs/libXfixes
   x11-libs/libXcursor
   x11-libs/libXrandr
   x11-libs/libXi
   x11-libs/libXrender
   x11-libs/libXext
   x11-libs/libX11
   dev-libs/liboil
   media-libs/gstreamer
   media-libs/gst-plugins-base
   media-plugins/gst-plugins-x
   media-plugins/gst-plugins-xvideo
   media-plugins/gst-plugins-lame
   media-plugins/gst-plugins-mpeg2dec
   media-plugins/gst-plugins-mad
   >=sys-libs/glibc-2.3.2
    >=x11-libs/gtk+-2.0.0
    >=virtual/xft-7.0
    >=virtual/libstdc++-3.3
   x11-libs/pango"

src_install() {
   insinto /opt/songbird
   doins -r *
   fperms 755 /opt/songbird/songbird
   fperms 755 /opt/songbird/xulrunner/xulrunner
   fperms 755 /opt/songbird/xulrunner/xulrunner-bin
   dosym /opt/songbird/songbird /opt/bin/songbird-bin

   newicon ${S}/chrome/icons/default/default.xpm ${PN}.xpm
   make_desktop_entry ${PN} ${PN} ${PN}.xpm "AudioVideo;Player"
}

pkg_postinst() {
   echo
   ewarn "Songbird is still under development!"
   einfo ""
   einfo "If You need other music/video plugins, look at"
   einfo "Your portege tree into media-plugins/gst-plugins-*,"
   einfo "but remember, that not all plugins are supported yet."
   einfo ""
   einfo "If You don't want too much deps on these package,"
   einfo "disable gnome support"
   echo
}

cheers!

btw. If You have any qyestion, You can mail to me - < poe [at] gento [dot] pl >
--
Powered by Reggae
(and Gentoo Linux)

Poe Says:   

Sorry for wrong [ code ]. i dont know why not all is in CODE.
there is link for ebuild -
http://cut.and.paste.org/index.php?id=1635

cheers!
and thanks for stick it :)
--
Powered by Reggae
(and Gentoo Linux)

mig Says:   

Hey, Poe, I come in behind you and change it to instead say <pre> because <code> doesn't work too well.

Poe Says:   

Hello :)
I've made new ebuild for Songbird-0.4, I hope, you'll like it :) Like ever you have to put an ebuild (call Songbird-bin-0.4.ebuild) into your portage overlay, eg. /usr/local/portage/ into media-sound/Songbird-bin, and make digest by

# ebuild Songbird-bin-0.4.ebuild digest

there's ebuild
http://cut.and.paste.org/index.php?id=1794

I couldnt paste there, because with { code } and { pre } was wrong.

cheers :)
Poe --
Powered by Reggae
(and Gentoo Linux)

Poe Says:   

Hi, I've made an ebuild for 0.5_rc1 version :)
http://paste.org/index.php?id=2297
save it under Songbird-bin-0.5_rc1.ebuild, and take it into /your/portage/overlay/media-sound/Songbird-bin and make digest by

ebuild Songbird-bin-0.5_rc1 digest

and emerge it ;)

cheers

--
Powered by Reggae
(and Gentoo Linux)

Poe Says:   

Hi. it's ebuild for 0.5_rc2.
standard - you have to save an ebuild as
Songbird-bin-0.5_rc2.ebuild and make digest by
ebuild [ name ] digest in your overlay in media-sound.

oh, and once. I added jpeg USE flag. it's probably need for use an album extenstion in songbird. enable jpeg flag will install gst-plugins-jpeg package.

ebuild:
http://paste.org/index.php?id=2364

cheers

--
Powered by Reggae
(and Gentoo Linux)
http://poe.art.pl/

Poe Says:   

Hi :)
Songbird 0.5 has been out, so I've made an ebuild :)
http://paste.org/index.php?id=2459
I added mad and faad USE flags.

enjoy.

and once. somebody knows, who makes how-to's for installation Songbird at different systems?

cheers

--
Powered by Reggae
(and Gentoo Linux)
http://poe.art.pl

Poe Says:   

Hi again ;)
I updated 0.5.ebuild to 0.5-r1.
http://paste.org/index.php?id=2462

why? I removed mad USE flag, because I forgot,that it's in main deps and I added neon lib and gst-plugins-neon to deps. it's need for listening to internet radios etc.

PS
once again could you tell me who writes instructions for installs Songbird at different systems?
--
Powered by Reggae
(and Gentoo Linux)
http://poe.art.pl

stevel Says:   

hey Poe, that'd probably be me. what's up?

Poe Says:   

Hi stavel, sorry for long time.
I have a little question - could you (or I) write on songbird site in instructions something about install Songbird on Gentoo and put there link to this thread or make somewhere on server place for packages with ebuild, digest and manifests for Gentoo (I would make ebuild songbird....ebuild digest on my machine, and pack all generated files and upload somewhere to server or something like that, you know.)

and I've made an ebuild for Songbird-bin-0.6_pre20080509
save it:
http://paste.org/index.php?id=2799
as Songbird-bin-0.6_pre20080509.ebuild
and put it into /your/overlay/media-sound/Songbird-bin/
and make digest by

#ebuild Songbird-bin-06_pre20080509.ebuild

cheers
--
Powered by Reggae
(and Gentoo Linux)
http://poe.art.pl

stevel Says:   

Thanks Poe - I put it in our contributed builds page on our wiki:

http://dekiwiki.songbirdnest.com/Developer_Center/Articles/B...

Poe Says:   

Looks nice :)
but once is wrong (my fault in my latest post)
there should be

#ebuild {name.ebuild} digest

there are without digest .
and what does mks protocol is? (when I click on ebuild download). my Seamonkey doesn't support it.

--
Powered by Reggae
(and Gentoo Linux)
http://poe.art.pl

Poe Says:   

Hi. ebuild for 0.6_rc3

http://paste.org/index.php?id=3035

put it into /your/overlay/media-sound/Songbird-bin
and make digest by

#ebuild Songbird-bin-0.6_rc3.ebuild digest

cheers.

--
Powered by Reggae
(and Gentoo Linux)
http://poe.art.pl

Poe Says:   

Ebuild for 0.6 version.
http://paste.org/index.php?id=3066

save it as Songbird-bin-0.6.ebuild in /your/overlay/media-sound/Songbird-bin and make digest by

#ebuild Songbird-bin-0.6.ebuild digest

and emerge it.

I'll try to have a server, where will be packages with ebuilds, digest and other files, which you will unpack only in overlay and emerge Songbird.

cheers.
--
Powered by Reggae
(and Gentoo Linux)
http://poe.art.pl

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Keep me posted!

Sign up to be notified of new releases & important updates.


Get a Songbird Tshirt

Songbird Buttons


Get Songbird
Get Songbird
Get Songbird
Get Songbird


More buttons for your blog...