Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ripperX with gtk2, with ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
meadow
n00b
n00b


Joined: 22 Aug 2007
Posts: 40
Location: Austria, ~Vienna

PostPosted: Sat Nov 24, 2007 4:25 pm    Post subject: ripperX with gtk2, with ebuild Reply with quote

Hi folks!

For me, there is no other ripper than ripperX, since it is easy to use and provides all features I need. I didn't want to install gtk1 on my shiny new gentoo-installation. I googled and found a gtk2 patch.

I wrote an ebuild, which works pretty fine on my system, it might be a bit dirty, it is my first attempt of writing an ebuild. maybe someone can improve it :)

Code:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ripperx-2.7.0.ebuild,v 1.5 2007/07/25 21:11:43 angelos Exp $

inherit eutils toolchain-funcs

MY_P="${P/x/X}"
S="${WORKDIR}/ripperX-2.7.1-gtk2"

DESCRIPTION="RipperX is a program to rip CD and encode mp3s"
HOMEPAGE="http://ripperx.sf.net/"
SRC_URI="http://www.thewildbeast.co.uk/ripperX/ripperX-2.7.1-gtk2.tar.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

RDEPEND=">=x11-libs/gtk+-2
   media-sound/lame
   media-sound/cdparanoia
   media-libs/id3lib
   media-libs/flac"
DEPEND="${RDEPEND}"

src_unpack() {
   unpack ${A}
   cd "${S}"
}

src_compile() {
   econf
   emake CC=$(tc-getCC) || die "emake failed."
}

src_install() {
   dodoc BUGS CHANGES FAQ README* TODO

   dobin src/ripperX plugins/ripperX_plugin-8hz-mp3 \
   plugins/ripperX_plugin-bladeenc plugins/ripperX_plugin-cdparanoia \
   plugins/ripperX_plugin-encode plugins/ripperX_plugin-gogo plugins/ripperX_plugin-l3enc \
   plugins/ripperX_plugin-lame plugins/ripperX_plugin-mp3enc plugins/ripperX_plugin-oggenc \
   plugins/ripperX_plugin-xingmp3enc plugins/ripperX_plugin_tester \
   plugins/ripperX_plugin-flac plugins/ripperX_plugin-toolame

   doicon src/xpms/ripperX-icon.xpm
   make_desktop_entry ripperX "${PN}" ripperX-icon.xpm
}


the gtk2-patch: http://www.thewildbeast.co.uk/wordpress/2007/05/21/ripperx-gtk2/

NOTE: with --disable-deprecated compiling failed on my system
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Sat Nov 24, 2007 4:59 pm    Post subject: Reply with quote

Awesome stuff! 8)

Thanks for this!
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sat Nov 24, 2007 5:16 pm    Post subject: Reply with quote

While choice is good, for me there is no other ripper than Rubyripper.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Nov 24, 2007 11:13 pm    Post subject: Reply with quote

Moved from Multimedia to Unsupported Software.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sun Nov 25, 2007 3:46 am    Post subject: Reply with quote

Code:
make[2]: Leaving directory `/var/tmp/portage/media-sound/ripperx-2.7.1/work/ripperX-2.7.1-gtk2/plugins'
make[2]: Entering directory `/var/tmp/portage/media-sound/ripperx-2.7.1/work/ripperX-2.7.1-gtk2'
make[2]: Für das Ziel »all-am« ist nichts zu tun.
make[2]: Leaving directory `/var/tmp/portage/media-sound/ripperx-2.7.1/work/ripperX-2.7.1-gtk2'
make[1]: Leaving directory `/var/tmp/portage/media-sound/ripperx-2.7.1/work/ripperX-2.7.1-gtk2'
>>> Source compiled.
>>> Test phase [not enabled]: media-sound/ripperx-2.7.1

>>> Install ripperx-2.7.1 into /var/tmp/portage/media-sound/ripperx-2.7.1/image/ category media-sound
dodoc: BUGS does not exist
dodoc: FAQ does not exist
!!! dobin:   does not exist

And on this point it simply stops.

Any ideas what to do in that case? I tried it also with
Code:
USE="-doc" emerge -u ripperx

Didn't change anything.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon Nov 26, 2007 3:54 pm    Post subject: Reply with quote

I found a quick & dirty workaround, because I don't have any knowledges about writing ebuilds.

I unpacked the ripperX-2.7.1-gtk2.tar.bz2. Compiled the manual way with configure and make. Then I just copied the ripperx to /usr/bin. So officially installed is ripperX-2.7.0, but it's working with gtk2.
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Mon Nov 26, 2007 5:36 pm    Post subject: Reply with quote

musv wrote:
I found a quick & dirty workaround, because I don't have any knowledges about writing ebuilds.

I unpacked the ripperX-2.7.1-gtk2.tar.bz2. Compiled the manual way with configure and make. Then I just copied the ripperx to /usr/bin. So officially installed is ripperX-2.7.0, but it's working with gtk2.

Copy & paster error.. The forum software adds a trailing slash.

http://gimpel.ath.cx/svn/gimpel/media-sound/ripperx/ripperx-2.7.1.ebuild
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
meadow
n00b
n00b


Joined: 22 Aug 2007
Posts: 40
Location: Austria, ~Vienna

PostPosted: Tue Nov 27, 2007 8:19 pm    Post subject: Reply with quote

am i dumb or am i blind? where is the slash added?
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Tue Nov 27, 2007 8:24 pm    Post subject: Reply with quote

meadow wrote:
am i dumb or am i blind? where is the slash added?

D'oh.. I meant a trailing space.
Imagine that _ being a space here:
musv wrote:
dobin: _ does not exist


If I highlight the text in the codebox now, there is no trailing space.
So a) they fixed the board software, or b) firefox 3.0b1 handles it correctly.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Tue Nov 27, 2007 9:33 pm    Post subject: Reply with quote

Thx, it worked.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Jan 19, 2008 7:49 pm    Post subject: Reply with quote

In portage,

*ripperx-2.7.1 (19 Jan 2008)

19 Jan 2008; Samuli Suominen <drac@gentoo.org> +ripperx-2.7.1.ebuild:
Version bump to unofficial but working GTK+-2 port, but as of 20080119 it
has issues with LDFLAGS but the build is still good. Ebuild by Kenneth Prugh.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Jan 19, 2008 7:51 pm    Post subject: Re: ripperX with gtk2, with ebuild Reply with quote

meadow wrote:
Hi folks!


Hi, thanks for the ebuild (though I didn't use exactly this one in portage)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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