View previous topic :: View next topic |
Author |
Message |
meadow n00b
Joined: 22 Aug 2007 Posts: 40 Location: Austria, ~Vienna
|
Posted: Sat Nov 24, 2007 4:25 pm Post subject: ripperX with gtk2, with ebuild |
|
|
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 |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Sat Nov 24, 2007 4:59 pm Post subject: |
|
|
Awesome stuff!
Thanks for this! _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Sat Nov 24, 2007 5:16 pm Post subject: |
|
|
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 |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Sat Nov 24, 2007 11:13 pm Post subject: |
|
|
Moved from Multimedia to Unsupported Software. _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Sun Nov 25, 2007 3:46 am Post subject: |
|
|
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 |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Mon Nov 26, 2007 3:54 pm Post subject: |
|
|
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 |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Mon Nov 26, 2007 5:36 pm Post subject: |
|
|
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 |
|
|
meadow n00b
Joined: 22 Aug 2007 Posts: 40 Location: Austria, ~Vienna
|
Posted: Tue Nov 27, 2007 8:19 pm Post subject: |
|
|
am i dumb or am i blind? where is the slash added? |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Tue Nov 27, 2007 8:24 pm Post subject: |
|
|
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 |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Tue Nov 27, 2007 9:33 pm Post subject: |
|
|
Thx, it worked. |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Sat Jan 19, 2008 7:49 pm Post subject: |
|
|
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 |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Sat Jan 19, 2008 7:51 pm Post subject: Re: ripperX with gtk2, with ebuild |
|
|
Hi, thanks for the ebuild (though I didn't use exactly this one in portage) |
|
Back to top |
|
|
|