Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

XDVDShrink : ebuild available ?

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
29 posts
  • 1
  • 2
  • Next
Author
Message
flappadap
n00b
n00b
Posts: 39
Joined: Wed Mar 30, 2005 6:43 pm

XDVDShrink : ebuild available ?

  • Quote

Post by flappadap » Wed Aug 10, 2005 4:22 pm

Hello !

Anyone any idea for an ebuild of XDVDShrink ???

URL : http://dvdshrink.sourceforge.net/

It's available for Linux, but not in the portage tree ???

Greets
CU

Flappadap.
Top
lotw
Guru
Guru
Posts: 342
Joined: Sun Jan 09, 2005 3:51 pm
Location: Palmdale
Contact:
Contact lotw
Website

Re: XDVDShrink : ebuild available ?

  • Quote

Post by lotw » Wed Aug 10, 2005 4:51 pm

flappadap wrote:Hello !

Anyone any idea for an ebuild of XDVDShrink ???

URL : http://dvdshrink.sourceforge.net/

It's available for Linux, but not in the portage tree ???

Greets
There isn't an ebuild yet and it would be nice if there was one. Another one you can do that does have an ebuilt is dvd9to5, it is a python script that does the same thing, since not fancy. It works really well.
Top
tsunam
Retired Dev
Retired Dev
User avatar
Posts: 343
Joined: Mon Feb 23, 2004 8:01 pm
Contact:
Contact tsunam
Website

  • Quote

Post by tsunam » Wed Aug 10, 2005 10:22 pm

Ebuild shouldn't be too hard to make, I'll take a look a bit later When I'm home at it. see what I can come up with.
I'm not afraid of happy endings, just afraid my life wont work that way.
Top
flappadap
n00b
n00b
Posts: 39
Joined: Wed Mar 30, 2005 6:43 pm

  • Quote

Post by flappadap » Thu Aug 11, 2005 9:06 am

I installed it by simply unpacking and running the install script. The dependencies could all be found in portage.
So you are right, it should not be too complicated to create an ebuild ... Unfortunately at the moment I am too busy, but I try as soon as I have time ...
CU

Flappadap.
Top
flappadap
n00b
n00b
Posts: 39
Joined: Wed Mar 30, 2005 6:43 pm

  • Quote

Post by flappadap » Thu Aug 11, 2005 4:14 pm

Let's try this one :

Code: Select all

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

inherit eutils
DESCRIPTION="This is a ebuild for XDVDShrink"
HOMEPAGE="http://dvdshrink.sourceforge.net"
SRC_URI="http://mesh.dl.sourceforge.net/sourceforge/dvdshrink/dvdshrink-2.6.0-3mdk.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="X"

DEPEND="\
media-video/transcode \
media-video/mjpegtools \
media-video/subtitleripper \
app-cdr/cdrtools \
media-video/dvdauthor \
app-cdr/dvd+rw-tools \
app-text/gocr \
dev-perl/gtk2-perl \
"

#RDEPEND=""

src_install() {

        into /usr
        dobin ${WORKDIR}/dvdshrink/usr/bin/*
        dodir /usr/share
        cp -R ${WORKDIR}/dvdshrink/usr/share/* ${D}/usr/share || die

}
No guarantee of course. Works here.
CU

Flappadap.
Top
TheCurse
l33t
l33t
Posts: 670
Joined: Mon Jun 21, 2004 5:38 pm
Location: Köln

  • Quote

Post by TheCurse » Wed Oct 12, 2005 7:53 pm

Please replace "app-cdr/cdrtools" by "virual/cdrtools".
Top
tsunam
Retired Dev
Retired Dev
User avatar
Posts: 343
Joined: Mon Feb 23, 2004 8:01 pm
Contact:
Contact tsunam
Website

  • Quote

Post by tsunam » Wed Oct 12, 2005 9:06 pm

I entirely forgot about this ~_~ gomen
I'm not afraid of happy endings, just afraid my life wont work that way.
Top
Zepp
Veteran
Veteran
User avatar
Posts: 1246
Joined: Mon Mar 15, 2004 9:43 pm
Location: Ontario, Canada

  • Quote

Post by Zepp » Wed Oct 12, 2005 11:58 pm

I might have to check this out :)

On a side note, I should learn how to write a proper ebuild, probably a good thing to know and possible way to maybe help out.
Top
TheCurse
l33t
l33t
Posts: 670
Joined: Mon Jun 21, 2004 5:38 pm
Location: Köln

  • Quote

Post by TheCurse » Thu Oct 13, 2005 7:23 am

Btw.: The ebuild worked for me very well (with the virtuals-thing).
Top
G2k
l33t
l33t
User avatar
Posts: 672
Joined: Sat Mar 06, 2004 5:58 pm
Location: Rome, Italy

  • Quote

Post by G2k » Mon Oct 17, 2005 3:14 pm

why hasn't this entered portage yet?
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Top
cwest
n00b
n00b
User avatar
Posts: 72
Joined: Mon Jun 13, 2005 9:41 am
Location: Oslo, Norway
Contact:
Contact cwest
Website

  • Quote

Post by cwest » Thu Jan 19, 2006 9:44 pm

Bump.

No, really, it should have made it into portage months ago.
Maybe someone forgot to create a bugzilla entry ... :roll:
freelight wrote:Any society that can be destroyed by the free flow of information probably should be.
Top
popac
n00b
n00b
Posts: 24
Joined: Tue Oct 04, 2005 2:53 pm

  • Quote

Post by popac » Sun Feb 05, 2006 3:30 pm

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

DESCRIPTION="Rip, backup and author DVD-9 to DVD-5"
HOMEPAGE="http://dvdshrink.sourceforge.net"
FILENAME=dvdshrink-2.6.1-3mdk
SRC_URI="mirror://sourceforge/dvdshrink/${FILENAME}.tar.gz
http://popac.drugitalas.org/tttt/dvdshr ... ch.tar.bz2"
S=${WORKDIR}/dvdshrink

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="X"
DEPEND="virtual/cdrtools
app-cdr/dvd+rw-tools
media-video/transcode
media-video/mjpegtools
media-video/subtitleripper
media-video/dvdauthor
dev-perl/gtk2-perl"
RDEPEND=""
RESTRICT="nomirror"

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

src_install() {
exeinto /usr/bin
doexe usr/bin/batchrip.sh usr/bin/dvdsfunctions usr/bin/dvdshrink usr/bin/xdvdshrink.pl

dodir /usr/share/applications/dvdshrink
insinto /usr/share/applications/dvdshrink
doins usr/share/applications/dvdshrink/*

insinto /usr/share/icons
doins usr/share/icons/dvdsrhink.xpm usr/share/icons/batchrip.xpm

insinto /usr/share/applications
doins xdvdshrink.desktop

dodoc share/doc/dvdshrink/README.txt share/doc/dvdshrink/batchrip.txt \
share/doc/dvdshrink/example.xml
}
I have written an ebuild, becouse I did not see this topic. I have added patch for desktop icon in kde menu. Alsow changed that SRC_URI point to all sourceforge mirrors. Hope it is better, sugestions are exceptable :)
Top
Adam9
n00b
n00b
Posts: 18
Joined: Sun Nov 07, 2004 4:31 am

  • Quote

Post by Adam9 » Sun Feb 05, 2006 10:34 pm

Thanks for the ebuild. I submitted it to Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=121722
Top
luisfelipe
Guru
Guru
Posts: 377
Joined: Sat Apr 09, 2005 7:11 pm

  • Quote

Post by luisfelipe » Sun Feb 05, 2006 10:42 pm

I know most of you probably seen this already, but there is an app already in portage wich is really
great called k9copy. I haven't had any problems with it. Perhaps someone who has used DVDShrink
can compare on the quality of the output.
Top
lyonsd
Apprentice
Apprentice
User avatar
Posts: 153
Joined: Wed Mar 02, 2005 6:00 pm
Location: Flowery Branch, GA

  • Quote

Post by lyonsd » Mon Feb 06, 2006 2:32 am

popac wrote:

Code: Select all

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

DESCRIPTION="Rip, backup and author DVD-9 to DVD-5"
HOMEPAGE="http://dvdshrink.sourceforge.net"
FILENAME=dvdshrink-2.6.1-3mdk
SRC_URI="mirror://sourceforge/dvdshrink/${FILENAME}.tar.gz
        http://popac.drugitalas.org/tttt/dvdshrink-patch.tar.bz2"
S=${WORKDIR}/dvdshrink

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="X"
DEPEND="virtual/cdrtools
        app-cdr/dvd+rw-tools
        media-video/transcode
        media-video/mjpegtools
        media-video/subtitleripper
        media-video/dvdauthor
        dev-perl/gtk2-perl"
RDEPEND=""
RESTRICT="nomirror"

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

src_install() {
        exeinto /usr/bin
        doexe usr/bin/batchrip.sh usr/bin/dvdsfunctions usr/bin/dvdshrink usr/bin/xdvdshrink.pl

        dodir /usr/share/applications/dvdshrink
        insinto /usr/share/applications/dvdshrink
        doins usr/share/applications/dvdshrink/*

        insinto /usr/share/icons
        doins usr/share/icons/dvdsrhink.xpm usr/share/icons/batchrip.xpm

        insinto /usr/share/applications
        doins xdvdshrink.desktop

        dodoc share/doc/dvdshrink/README.txt share/doc/dvdshrink/batchrip.txt \
                share/doc/dvdshrink/example.xml
}
The ebuild doesn't work.

Code: Select all

# emerge xdvdshrink
Calculating dependencies   visible(): invalid cat/pkg-v: app-cdr/xdvdshrink

!!! All ebuilds that could satisfy "xdvdshrink" have been masked.
!!! One of the following masked packages is required to complete your request:


!!! Problem in app-cdr/xdvdshrink dependencies.
!!! invalid CPV: app-cdr/xdvdshrink exceptions
Dave
Top
popac
n00b
n00b
Posts: 24
Joined: Tue Oct 04, 2005 2:53 pm

  • Quote

Post by popac » Mon Feb 06, 2006 2:45 pm

Probablyyou should echo "app-cdr/xdvdshrink ~x86" >> /etc/portage/package.keywords
put ebuild into /usr/local/portage/app-cdr/xdvdshrink, add
PORTDIR_OVERLAY=/usr/local/portage, do digest
ebuild /PATH/TO/EBUILD digest
and emerge xdvdshrink

Miss any steps???

This is a little bug in my ebuild:
dodoc share/doc/dvdshrink/README.txt share/doc/dvdshrink/batchrip.txt \
share/doc/dvdshrink/example.xml
should be:
dodoc usr/share/doc/dvdshrink/README.txt usr/share/doc/dvdshrink/batchrip.txt \
usr/share/doc/dvdshrink/example.xml
I will now edit ebuild on bugs.gentoo.org.
Top
popac
n00b
n00b
Posts: 24
Joined: Tue Oct 04, 2005 2:53 pm

  • Quote

Post by popac » Mon Feb 06, 2006 4:29 pm

OK THIS SHOULD BE THE FINAL EBUILD!!! I have posted it to bugs...

app-cdr/xdvdshrink/xdvdshrink-2.6.1.3.ebuild
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="Rip, backup and author DVD-9 to DVD-5"
HOMEPAGE="http://dvdshrink.sourceforge.net"
FILENAME=dvdshrink-2.6.1-3mdk
SRC_URI="mirror://sourceforge/dvdshrink/${FILENAME}.tar.gz
http://popac.drugitalas.org/tttt/dvdshr ... ch.tar.bz2"
S=${WORKDIR}/dvdshrink

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="X"

DEPEND="virtual/cdrtools
app-cdr/dvd+rw-tools
media-video/transcode
media-video/mjpegtools
media-video/subtitleripper
media-video/dvdauthor
dev-perl/gtk2-perl"
RDEPEND=""

RESTRICT="nomirror"

src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PV}-xdvdshrink-gentoo.diff
epatch ${FILESDIR}/${PV}-dvdsfunctions-gentoo.diff
}

src_install() {
exeinto /usr/bin
doexe usr/bin/batchrip.sh usr/bin/dvdsfunctions usr/bin/dvdshrink usr/bin/xdvdshrink.pl

dodir /usr/share/dvdshrink
insinto /usr/share/dvdshrink
doins usr/share/applications/dvdshrink/xdvdshrink_logo.png
dodir /usr/share/dvdshrink/menus
insinto /usr/share/dvdshrink/menus
doins usr/share/applications/dvdshrink/menus/*.mpg

insinto /usr/share/icons
doins usr/share/icons/dvdshrink.xpm usr/share/icons/batchrip.xpm

insinto /usr/share/applications
doins xdvdshrink.desktop

dodoc usr/share/doc/dvdshrink/README.txt usr/share/doc/dvdshrink/batchrip.txt \
usr/share/doc/dvdshrink/example.xml
}
app-cdr/xdvdshrink/files/2.6.1.3-dvdsfunctions-gentoo.diff
--- usr/bin/dvdsfunctions 2005-09-21 21:06:28.000000000 +0000
+++ usr/bin/dvdsfunctions 2006-02-06 16:12:56.000000000 +0000
@@ -1913,7 +1913,7 @@
if ! ((`ps -C xdvdshrink.pl > /dev/null 2>&1`)); then GUI=1; fi
SAVEISO=0 # Save an ISO along with the burn(s)

- APPDIR=/usr/share/applications/dvdshrink
+ APPDIR=/usr/share/dvdshrink
}

# Build a minimal but usable XML file for 'dvdauthor'
app-cdr/xdvdshrink/files/2.6.1.3-xdvdshrink-gentoo.diff
--- usr/bin/xdvdshrink.pl 2005-09-05 14:54:46.000000000 +0000
+++ usr/bin/xdvdshrink.pl 2006-02-06 16:11:56.000000000 +0000
@@ -22,7 +22,7 @@

my $login = getlogin || getpwuid($<); # Userid of current user
my $homedir = "/home/" . $login; # Home dir of current user
-my $app_dir = "/usr/share/applications/dvdshrink";
+my $app_dir = "/usr/share/dvdshrink";
my $false = 0; # A 'false'
my $true = 1; # A 'true'
my $srunning = 0; # Is the bash script running

Have fun, now dvdshrink files should be in right place!!!
Top
bigbob73
Guru
Guru
User avatar
Posts: 332
Joined: Fri Dec 31, 2004 6:51 pm
Location: Under the Lone Star

  • Quote

Post by bigbob73 » Mon Feb 06, 2006 5:24 pm

popac - could just be me, but it bombs out applying the patches.

Bigbob
A computers attention span is only as long as it's electrical cord (Murphy)
Top
popac
n00b
n00b
Posts: 24
Joined: Tue Oct 04, 2005 2:53 pm

  • Quote

Post by popac » Mon Feb 06, 2006 6:25 pm

Did you put them in right place, it work very good for me:

Code: Select all

gentoo ~ # emerge xdvdshrink
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/xdvdshrink-2.6.1.3 to /
>>> md5 files   ;-) xdvdshrink-2.6.1.3.ebuild
>>> md5 files   ;-) files/digest-xdvdshrink-2.6.1_rc3
>>> md5 files   ;-) files/2.6.1.3-dvdsfunctions-gentoo.diff
>>> md5 files   ;-) files/digest-xdvdshrink-2.6.1.3
>>> md5 files   ;-) files/digest-xdvdshrink-2.6.1.3-r1
>>> md5 files   ;-) files/2.6.1.3-xdvdshrink-gentoo.diff
>>> md5 src_uri ;-) dvdshrink-2.6.1-3mdk.tar.gz
>>> md5 src_uri ;-) dvdshrink-patch.tar.bz2
>>> Unpacking source...
>>> Unpacking dvdshrink-2.6.1-3mdk.tar.gz to /var/tmp/portage/xdvdshrink-2.6.1.3/work
>>> Unpacking dvdshrink-patch.tar.bz2 to /var/tmp/portage/xdvdshrink-2.6.1.3/work
 * Applying 2.6.1.3-xdvdshrink-gentoo.diff ...                                                      [ ok ]
 * Applying 2.6.1.3-dvdsfunctions-gentoo.diff ...                                                  [ ok ]
>>> Source unpacked.
>>> Test phase [not enabled]: media-video/xdvdshrink-2.6.1.3

>>> Install xdvdshrink-2.6.1.3 into /var/tmp/portage/xdvdshrink-2.6.1.3/image/ category media-video
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
>>> Completed installing xdvdshrink-2.6.1.3 into /var/tmp/portage/xdvdshrink-2.6.1.3/image/

>>> Merging media-video/xdvdshrink-2.6.1.3 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/batchrip.sh
>>> /usr/bin/xdvdshrink.pl
>>> /usr/bin/dvdsfunctions
>>> /usr/bin/dvdshrink
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/xdvdshrink-2.6.1.3/
>>> /usr/share/doc/xdvdshrink-2.6.1.3/README.txt.gz
>>> /usr/share/doc/xdvdshrink-2.6.1.3/example.xml.gz
>>> /usr/share/doc/xdvdshrink-2.6.1.3/batchrip.txt.gz
--- /usr/share/icons/
>>> /usr/share/icons/dvdshrink.xpm
>>> /usr/share/icons/batchrip.xpm
>>> /usr/share/dvdshrink/
>>> /usr/share/dvdshrink/menus/
>>> /usr/share/dvdshrink/menus/pselect2.mpg
>>> /usr/share/dvdshrink/menus/pselect3.mpg
>>> /usr/share/dvdshrink/menus/pselect4.mpg
>>> /usr/share/dvdshrink/menus/pselect5.mpg
>>> /usr/share/dvdshrink/menus/pselect6.mpg
>>> /usr/share/dvdshrink/menus/pselect7.mpg
>>> /usr/share/dvdshrink/menus/pselect8.mpg
>>> /usr/share/dvdshrink/menus/nselect2.mpg
>>> /usr/share/dvdshrink/menus/nselect3.mpg
>>> /usr/share/dvdshrink/menus/nselect4.mpg
>>> /usr/share/dvdshrink/menus/nselect5.mpg
>>> /usr/share/dvdshrink/menus/nselect6.mpg
>>> /usr/share/dvdshrink/menus/nselect7.mpg
>>> /usr/share/dvdshrink/menus/nselect8.mpg
>>> /usr/share/dvdshrink/xdvdshrink_logo.png
--- /usr/share/applications/
>>> /usr/share/applications/xdvdshrink.desktop
>>> Regenerating /etc/ld.so.cache...
>>> media-video/xdvdshrink-2.6.1.3 merged.
>>> Recording media-video/xdvdshrink in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.
Is anyone else have make it work, I just can not see where the problem is? Can you post your error message?
Top
bigbob73
Guru
Guru
User avatar
Posts: 332
Joined: Fri Dec 31, 2004 6:51 pm
Location: Under the Lone Star

  • Quote

Post by bigbob73 » Mon Feb 06, 2006 7:55 pm

mauller xdvdshrink # emerge xdvdshrink
Calculating dependencies ...done!
>>> emerge (1 of 1) app-cdr/xdvdshrink-2.6.1.3 to /
>>> checksums files ;-) xdvdshrink-2.6.1.3.ebuild
>>> checksums files ;-) files/2.6.1.3-dvdsfunctions-gentoo.diff
>>> checksums files ;-) files/2.6.1.3-xdvdshrink-gentoo.diff
>>> checksums files ;-) files/digest-xdvdshrink-2.6.1.3
>>> checksums src_uri ;-) dvdshrink-2.6.1-3mdk.tar.gz
>>> checksums src_uri ;-) dvdshrink-patch.tar.bz2
>>> Unpacking source...
>>> Unpacking dvdshrink-2.6.1-3mdk.tar.gz to /var/tmp/portage/xdvdshrink-2.6.1.3/work
>>> Unpacking dvdshrink-patch.tar.bz2 to /var/tmp/portage/xdvdshrink-2.6.1.3/work
* Applying 2.6.1.3-xdvdshrink-gentoo.diff ...

* Failed Patch: 2.6.1.3-xdvdshrink-gentoo.diff !
* ( /usr/portage/app-cdr/xdvdshrink/files/2.6.1.3-xdvdshrink-gentoo.diff )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/xdvdshrink-2.6.1.3/temp/2.6.1.3-xdvdshrink-gentoo.diff-4112.out


!!! ERROR: app-cdr/xdvdshrink-2.6.1.3 failed.
Call stack:
ebuild.sh, line 1894: Called dyn_unpack
ebuild.sh, line 694: Called src_unpack
xdvdshrink-2.6.1.3.ebuild, line 33: Called epatch 'unpack'

!!! Failed Patch: 2.6.1.3-xdvdshrink-gentoo.diff!
!!! If you need support, post the topmost build error, and the call stack if relevant.


I had them in /usr/local/portage... but moved them to /usr/portage... same error though
A computers attention span is only as long as it's electrical cord (Murphy)
Top
popac
n00b
n00b
Posts: 24
Joined: Tue Oct 04, 2005 2:53 pm

  • Quote

Post by popac » Mon Feb 06, 2006 9:00 pm

What does it say in /var/tmp/portage/xdvdshrink-2.6.1.3/temp/2.6.1.3-xdvdshrink-gentoo.diff-4112.out ???
Top
bigbob73
Guru
Guru
User avatar
Posts: 332
Joined: Fri Dec 31, 2004 6:51 pm
Location: Under the Lone Star

  • Quote

Post by bigbob73 » Mon Feb 06, 2006 10:09 pm

popac wrote:What does it say in /var/tmp/portage/xdvdshrink-2.6.1.3/temp/2.6.1.3-xdvdshrink-gentoo.diff-4112.out ???
sorry, here it is...

***** 2.6.1.3-xdvdshrink-gentoo.diff *****

==========================================

PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /usr/portage/app-cdr/xdvdshrink/files/2.6.1.3-xdvdshrink-gentoo.diff

==========================================
patching file usr/bin/xdvdshrink.pl
patch: **** malformed patch at line 5: my $login = getlogin || getpwuid($<); # Userid of current user

==========================================

PATCH COMMAND: patch -p1 -g0 --no-backup-if-mismatch < /usr/portage/app-cdr/xdvdshrink/files/2.6.1.3-xdvdshrink-gentoo.diff

==========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- usr/bin/xdvdshrink.pl 2005-09-05 14:54:46.000000000 +0000
|+++ usr/bin/xdvdshrink.pl 2006-02-06 16:11:56.000000000 +0000
--------------------------
No file to patch. Skipping patch.
patch: **** malformed patch at line 5: my $login = getlogin || getpwuid($<); # Userid of current user

==========================================

PATCH COMMAND: patch -p2 -g0 --no-backup-if-mismatch < /usr/portage/app-cdr/xdvdshrink/files/2.6.1.3-xdvdshrink-gentoo.diff

==========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- usr/bin/xdvdshrink.pl 2005-09-05 14:54:46.000000000 +0000
|+++ usr/bin/xdvdshrink.pl 2006-02-06 16:11:56.000000000 +0000
--------------------------
No file to patch. Skipping patch.
patch: **** malformed patch at line 5: my $login = getlogin || getpwuid($<); # Userid of current user

==========================================

PATCH COMMAND: patch -p3 -g0 --no-backup-if-mismatch < /usr/portage/app-cdr/xdvdshrink/files/2.6.1.3-xdvdshrink-gentoo.diff

==========================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- usr/bin/xdvdshrink.pl 2005-09-05 14:54:46.000000000 +0000
|+++ usr/bin/xdvdshrink.pl 2006-02-06 16:11:56.000000000 +0000
--------------------------
No file to patch. Skipping patch.
patch: **** malformed patch at line 5: my $login = getlogin || getpwuid($<); # Userid of current user

==========================================

PATCH COMMAND: patch -p4 -g0 --no-backup-if-mismatch < /usr/portage/app-cdr/xdvdshrink/files/2.6.1.3-xdvdshrink-gentoo.diff

==========================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- usr/bin/xdvdshrink.pl 2005-09-05 14:54:46.000000000 +0000
|+++ usr/bin/xdvdshrink.pl 2006-02-06 16:11:56.000000000 +0000
--------------------------
No file to patch. Skipping patch.
patch: **** malformed patch at line 5: my $login = getlogin || getpwuid($<); # Userid of current user
A computers attention span is only as long as it's electrical cord (Murphy)
Top
aslocum
Apprentice
Apprentice
Posts: 217
Joined: Fri May 28, 2004 10:30 am
Location: Germany, Frankfurt

  • Quote

Post by aslocum » Tue Feb 07, 2006 12:09 pm

same error here
Dell Latitude d610 1.6Ghz 1GB
gcc-4.0.3 2.6.15-no3
Reiser4
Top
revertex
l33t
l33t
User avatar
Posts: 806
Joined: Wed Apr 23, 2003 9:21 am

  • Quote

Post by revertex » Mon Feb 13, 2006 7:26 pm

works fine for me (amd64), thanks for the ebuild.
Top
itiZansiti
n00b
n00b
User avatar
Posts: 37
Joined: Tue Mar 08, 2005 11:29 am
Location: The Internet
Contact:
Contact itiZansiti
Website

  • Quote

Post by itiZansiti » Mon Feb 13, 2006 7:59 pm

I have the same patch problem, but I just removed the patching from the ebuild and it emerged...
but how do I start the gui? I only get a console version if I run dvdshrink

EDIT: oops found it, just had to run xdvdshrink.pl
Last edited by itiZansiti on Mon Feb 13, 2006 8:41 pm, edited 1 time in total.
Top
Post Reply

29 posts
  • 1
  • 2
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic