SRC_URI="mirror://gentoo/fvwm-2.5.18-translucent-menus.diff.gz"
(...)
src_unpack() {
cvs_src_unpack
cd ${WORKDIR}; unpack ${A}; EPATCH_OPTS="-F3 -l"
# this patch enables fast translucent menus in fvwm. this is a
# minor tweak of a patch posted to fvwm-user mailing list by Olivier
# Chapuis in <20030827135125.GA6370@snoopy.folie>.
cd ${S}; epatch ${WORKDIR}/fvwm-2.5.18-translucent-menus.diff
# fixing #51287, the fvwm-menu-xlock script is not compatible
# with the xlockmore implementation in portage.
cd ${S}; epatch ${FILESDIR}/fvwm-menu-xlock-xlockmore-compat.diff
EPATCH_SUFFIX="patch"
EPATCH_FORCE="yes"
EPATCH_SOURCE="${FILESDIR}/patchs"
cd "${S}"; epatch
if use extras; then
ewarn "WARNING : with USE=extras, you are enabling irreversible effect patchs !"
EPATCH_SOURCE="${FILESDIR}/extras"
cd "${S}"; epatch
fi
cd "${S}"; eautoreconf
}
===================
[0] root@Dothan:pts/11 /home/geekounet/ebuilds/x11-wm/fvwm # ebuild fvwm-9999.ebuild unpack
Appending /home/geekounet/ebuilds to PORTDIR_OVERLAY...
* fvwm-2.5.18-translucent-menus.diff.gz MD5 ;-) ... [ ok ]
* fvwm-2.5.18-translucent-menus.diff.gz RMD160 ;-) ... [ ok ]
* fvwm-2.5.18-translucent-menus.diff.gz SHA1 ;-) ... [ ok ]
* fvwm-2.5.18-translucent-menus.diff.gz SHA256 ;-) ... [ ok ]
* fvwm-2.5.18-translucent-menus.diff.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking fvwm-2.5.18-translucent-menus.diff.gz ;-) ... [ ok ]
>>> Unpacking source...
* Fetching CVS module fvwm into /var/distfiles/cvs-src ...
* Running cvs -q -f -z4 -d ":pserver:anonymous:guest@cvs.fvwm.org:/home/cvs/fvwm" login
Logging in to :pserver:anonymous@cvs.fvwm.org:2401/home/cvs/fvwm
* Running cvs -q -f -z4 -d ":pserver:anonymous@cvs.fvwm.org:/home/cvs/fvwm" update -dP fvwm
* Copying fvwm from /var/distfiles/cvs-src ...
* CVS module fvwm is now in /var/tmp/portage/x11-wm/fvwm-9999/work
>>> Unpacking fvwm-2.5.18-translucent-menus.diff.gz to /var/tmp/portage/x11-wm/fvwm-9999/work
* Applying fvwm-2.5.18-translucent-menus.diff ...
* A dry-run of patch command succeeded, but actually
* applying the patch failed!
* Failed Patch: fvwm-2.5.18-translucent-menus.diff !
* ( /var/tmp/portage/x11-wm/fvwm-9999/work/fvwm-2.5.18-translucent-menus.diff )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/x11-wm/fvwm-9999/temp/fvwm-2.5.18-translucent-menus.diff-7468.out
!!! ERROR: x11-wm/fvwm-9999 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_unpack
ebuild.sh, line 708: Called src_unpack
fvwm-9999.ebuild, line 65: Called epatch '/var/tmp/portage/x11-wm/fvwm-9999/work/fvwm-2.5.18-translucent-menus.diff'
eutils.eclass, line 341: Called die
!!! Failed Patch: fvwm-2.5.18-translucent-menus.diff!
!!! If you need support, post the topmost build error, and the call stack if relevant.
====================
***** fvwm-2.5.18-translucent-menus.diff *****
==============================================
PATCH COMMAND: patch -p0 -F3 -l < /var/tmp/portage/x11-wm/fvwm-9999/work/fvwm-2.5.18-translucent-menus.diff
==============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruNp fvwm-2.5.18.orig/fvwm/colorset.c fvwm-2.5.18/fvwm/colorset.c
|--- fvwm-2.5.18.orig/fvwm/colorset.c 2005-07-19 13:08:03.000000000 +0100
|+++ fvwm-2.5.18/fvwm/colorset.c 2006-10-19 22:58:05.182297544 +0100
--------------------------
No file to patch. Skipping patch.
9 out of 9 hunks ignored
can't find file to patch at input line 120
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruNp fvwm-2.5.18.orig/fvwm/menus.c fvwm-2.5.18/fvwm/menus.c
|--- fvwm-2.5.18.orig/fvwm/menus.c 2006-06-01 23:33:54.000000000 +0100
|+++ fvwm-2.5.18/fvwm/menus.c 2006-10-19 22:58:05.186296936 +0100
--------------------------
No file to patch. Skipping patch.
13 out of 13 hunks ignored
patching file fvwm-2.5.18/fvwm/menus.c.orig
can't find file to patch at input line 8778
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruNp fvwm-2.5.18.orig/fvwm/menus.h fvwm-2.5.18/fvwm/menus.h
|--- fvwm-2.5.18.orig/fvwm/menus.h 2005-11-26 20:53:17.000000000 +0000
|+++ fvwm-2.5.18/fvwm/menus.h 2006-10-19 22:58:05.187296784 +0100
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 8800
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruNp fvwm-2.5.18.orig/fvwm/move_resize.c fvwm-2.5.18/fvwm/move_resize.c
|--- fvwm-2.5.18.orig/fvwm/move_resize.c 2006-08-09 22:47:47.000000000 +0100
|+++ fvwm-2.5.18/fvwm/move_resize.c 2006-10-19 22:58:05.189296480 +0100
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
patching file fvwm-2.5.18/fvwm/move_resize.c.orig
can't find file to patch at input line 13642
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruNp fvwm-2.5.18.orig/libs/Colorset.h fvwm-2.5.18/libs/Colorset.h
|--- fvwm-2.5.18.orig/libs/Colorset.h 2003-06-29 20:53:23.000000000 +0100
|+++ fvwm-2.5.18/libs/Colorset.h 2006-10-19 22:58:05.190296328 +0100
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 13676
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruNp fvwm-2.5.18.orig/libs/PictureGraphics.c fvwm-2.5.18/libs/PictureGraphics.c
|--- fvwm-2.5.18.orig/libs/PictureGraphics.c 2006-05-09 21:44:47.000000000 +0100
|+++ fvwm-2.5.18/libs/PictureGraphics.c 2006-10-19 22:58:23.215556072 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
patching file fvwm-2.5.18/libs/PictureGraphics.c.orig
can't find file to patch at input line 15153
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruNp fvwm-2.5.18.orig/libs/PictureGraphics.h fvwm-2.5.18/libs/PictureGraphics.h
|--- fvwm-2.5.18.orig/libs/PictureGraphics.h 2006-05-09 21:44:47.000000000 +0100
|+++ fvwm-2.5.18/libs/PictureGraphics.h 2006-10-19 22:58:05.192296024 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
==============================================
PATCH COMMAND: patch -p1 -F3 -l < /var/tmp/portage/x11-wm/fvwm-9999/work/fvwm-2.5.18-translucent-menus.diff
==============================================
patching file fvwm/colorset.c
patching file fvwm/menus.c
Hunk #7 succeeded at 4270 (offset 1 line).
Hunk #8 succeeded at 4445 (offset 1 line).
Hunk #9 succeeded at 4920 (offset 1 line).
Hunk #10 succeeded at 4953 (offset 1 line).
Hunk #11 succeeded at 4962 (offset 1 line).
Hunk #12 succeeded at 6944 (offset 2 lines).
Hunk #13 succeeded at 7692 (offset 2 lines).
patching file fvwm/menus.c.orig
patching file fvwm/menus.h
patching file fvwm/move_resize.c
Hunk #1 succeeded at 1249 (offset 33 lines).
Hunk #2 succeeded at 1333 (offset 33 lines).
patching file fvwm/move_resize.c.orig
patching file libs/Colorset.h
Hunk #3 succeeded at 158 with fuzz 1.
patching file libs/PictureGraphics.c
Hunk #1 succeeded at 1339 (offset 1 line).
patching file libs/PictureGraphics.c.orig
patching file libs/PictureGraphics.h
==============================================
ACTUALLY APPLYING fvwm-2.5.18-translucent-menus.diff ...
==============================================
patching file fvwm/colorset.c
patching file fvwm/menus.c
Hunk #7 succeeded at 4270 (offset 1 line).
Hunk #8 succeeded at 4445 (offset 1 line).
Hunk #9 succeeded at 4920 (offset 1 line).
Hunk #10 succeeded at 4953 (offset 1 line).
Hunk #11 succeeded at 4962 (offset 1 line).
Hunk #12 succeeded at 6944 (offset 2 lines).
Hunk #13 succeeded at 7692 (offset 2 lines).
The next patch would create the file fvwm/menus.c.orig,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file fvwm/menus.c.orig.rej
patching file fvwm/menus.h
patching file fvwm/move_resize.c
Hunk #1 succeeded at 1249 (offset 33 lines).
Hunk #2 succeeded at 1333 (offset 33 lines).
The next patch would create the file fvwm/move_resize.c.orig,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file fvwm/move_resize.c.orig.rej
patching file libs/Colorset.h
Hunk #3 succeeded at 158 with fuzz 1.
patching file libs/PictureGraphics.c
Hunk #1 succeeded at 1339 (offset 1 line).
The next patch would create the file libs/PictureGraphics.c.orig,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file libs/PictureGraphics.c.orig.rej
patching file libs/PictureGraphics.h