Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908 - dvdrip-0.33.ebuild (new package)
Summary: dvdrip-0.33.ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
: 1751 (view as bug list)
Depends on: 912
Blocks:
  Show dependency tree
 
Reported: 2002-03-01 11:32 UTC by phoen][x
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dvdrip-0.33.ebuild (dvdrip-0.33.ebuild,738 bytes, text/plain)
2002-03-01 11:34 UTC, phoen][x
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phoen][x 2002-03-01 11:32:34 UTC
the appropriate frontend for transcode (bug#907 (depends on it)) its 
lightweight and has nice ui which uses gtk.

-phoen][x-
Comment 1 phoen][x 2002-03-01 11:34:04 UTC
Created attachment 267 [details]
dvdrip-0.33.ebuild
Comment 2 phoen][x 2002-03-01 12:33:42 UTC
there were some sandbox violations on trinitAX's machine. he fixed it like 
this:

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author phoen][x <eqc_phoenix@gmx.de>
# $Header$

MY_P=${P/dvdr/Video-DVDR}
S=${WORKDIR}/${MY_P}

DESCRIPTION="dvd::rip is a graphical frontend for transcode"
HOMEPAGE="http://www.exit1.org/dvdrip/"
SRC_URI="http://www.exit1.org/dvdrip/dist/$MY_P.tar.gz"

DEPEND="
        media-gfx/imagemagick
        gnome-extra/gtkhtml
        dev-perl/gtk-perl"

src_compile() {
        cd ${S}
        perl Makefile.PL || die
        emake || die
}

src_install () {
                cp Makefile Makefile.orig
                cat Makefile.orig | sed -e 's#\(PREFIX\ =\ 
\)\(/usr\)#\1\{\$D\}\2#g' \
                        -e 's#\(INSTALLMAN1DIR\ =\ 
\)\(/usr/share/man/man1\)#\1\{\$D\}\2#g' \
                        -e 's#\(INSTALLMAN3DIR\ =\ 
\)\(/usr/share/man/man3\)#\1\{\$D\}\2#g' > Makefile

        make DESTDIR=${D} \
                docdir=/usr/share/doc/${PF} \
                gnulocaledir=${D}/usr/share/locale \
                install || die

        dodoc README TODO
}
Comment 3 phoen][x 2002-03-01 12:56:00 UTC
well i cant create an attachment due to a software error, but here is the 
new and fixed version of dvdrip-0.33.ebuild (slightly wrong formatted to 
fix the line-wrap problem):

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author phoen][x <eqc_phoenix@gmx.de>
# $Header$

MY_P=${P/dvdr/Video-DVDR}
S=${WORKDIR}/${MY_P}

DESCRIPTION="dvd::rip is a graphical frontend for transcode"
HOMEPAGE="http://www.exit1.org/dvdrip/"
SRC_URI="http://www.exit1.org/dvdrip/dist/$MY_P.tar.gz"

DEPEND="media-gfx/transcode
        media-gfx/imagemagick
        gnome-extra/gtkhtml
        dev-perl/gtk-perl"

src_compile() {
        cd ${S}
        perl Makefile.PL || die
        emake || die
}

src_install () {
   cp Makefile Makefile.orig
   cat Makefile.orig | sed -e 's#\(PREFIX\ =\ \)\(/usr\)#\1\{\$D\}\2#g' \
   -e 's#\(INSTALLMAN1DIR\ =\ \)\(/usr/share/man/man1\)#\1\{\$D\}\2#g' \
   -e 's#\(INSTALLMAN3DIR\ =\ \)\(/usr/share/man/man3\)#\1\{\$D\}\2#g' \
   > Makefile

   make DESTDIR=${D} \
     docdir=/usr/share/doc/${PF} \
     gnulocaledir=${D}/usr/share/locale \
     install || die

     dodoc README TODO
}
Comment 4 phoen][x 2002-03-01 13:43:47 UTC
this'll be the last thing i post, today (i promise).
a dependency patch for dvdrip, so that it uses Event and Storable (and i 
put transcode back to media-video, where it belongs)

--- dvdrip-0.33.ebuild.old      2002-03-01 20:40:37.000000000 +0100
+++ dvdrip-0.33.ebuild  2002-03-01 20:42:22.000000000 +0100
@@ -10,10 +10,12 @@
 HOMEPAGE="http://www.exit1.org/dvdrip/"
 SRC_URI="http://www.exit1.org/dvdrip/dist/$MY_P.tar.gz"
 
-DEPEND="media-gfx/transcode
+DEPEND=">=media-video/transcode-0.6.0_pre3
        media-gfx/imagemagick
        gnome-extra/gtkhtml
-       dev-perl/gtk-perl"
+       dev-perl/gtk-perl
+       dev-perl/Storable
+       dev-perl/Event"
 
 src_compile() {
        cd ${S}
Comment 5 phoen][x 2002-03-02 05:25:03 UTC
we (guys in #gentoo) found a few bugs in the ebuild. maybe i should stop 
programming at night. i'll create an attachment with the newest dvdrip ebuild.

-phoen][x-
Comment 6 phoen][x 2002-03-02 05:27:52 UTC
well i cant attach anything, the bugpage keeps telling me that the file is 
empty. ~sigh~ i'll paste the whole ebuild, again:

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author phoen][x <eqc_phoenix@gmx.de>
# $Header$

MY_P=${P/dvdr/Video-DVDR}
S=${WORKDIR}/${MY_P}
CATEGORY="media-video"
DESCRIPTION="dvd::rip is a graphical frontend for transcode"
SRC_URI="http://www.exit1.org/dvdrip/dist/$MY_P.tar.gz"
HOMEPAGE="http://www.exit1.org/dvdrip/"

DEPEND=">=media-video/transcode-0.6.0_pre3
        media-gfx/imagemagick
        gnome-extra/gtkhtml
        dev-perl/gtk-perl
        dev-perl/Storable
        dev-perl/Event"

src_compile() {
    perl Makefile.PL
    emake || die
}

src_install () {
    make PREFIX=${D}/usr \
             INSTALLMAN3DIR=${D}/usr/share/man/man3 \
             INSTALLMAN1DIR=${D}/usr/share/man/man1 \
             install || die
    dodoc contrib Changes MANIFEST README TODO
}
Comment 7 phoen][x 2002-03-02 14:31:47 UTC
there were some nasty problems with gtk-perl, but we got em fixed:
u have to merge gtk-perl with gnome in your USE, if u dont there'll be some 
files missing and dvdrip wont even start.
-phoen][x-
Comment 8 Matthew Kennedy (RETIRED) gentoo-dev 2002-04-19 10:23:13 UTC
Do you have an ebuild for dev-perl/Event by any chance?

Matt
Comment 9 phoen][x 2002-04-19 11:36:54 UTC
sure, check out bug 912.

-phoen][x-
Comment 10 Matthew Kennedy (RETIRED) gentoo-dev 2002-04-19 13:28:29 UTC
Thanks
Comment 11 phoen][x 2002-04-19 14:04:20 UTC
np.

didnt see the dependency field before. next time i'll put related new ebuild 
submissions in there.

-phoen][x-
Comment 12 Matthew Kennedy (RETIRED) gentoo-dev 2002-04-21 18:48:22 UTC
added to portage as media-video/dvdrip. thanks for the contribution!

>>>>>>> please test this, as i do not have a dvd player <<<<<<<

Comment 13 Matthew Kennedy (RETIRED) gentoo-dev 2002-04-21 18:49:41 UTC
*** Bug 1751 has been marked as a duplicate of this bug. ***
Comment 14 phoen][x 2002-04-24 10:14:43 UTC
tested it 2 mins ago:
it fetches, compiles and merges as it should do. dvd::rip itself works fine 
too. i started ripping one dvd and it works - ripping and encoding vob to avi 
(unfortunately i didnt wait for the whole encoding stuff to finish)

i asked seemant to test this tool, he said he'll do it this afternoon. 

laters,
-phoen][x-