Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

14.09.2004, 17:02

Patch in Ebuild eintragen?

Hallo Leute!

Habe mal ne frage, möchte gerne folgenden Patch in mein KDE integrieren:

http://www.kde-apps.org/content/show.php?content=16114&PHPSESSID=ee3b4e4354562471befdbfd541ad3cc2

Wollte es auf die ellegante art machen! Habe den Patch heruntergeladen und dann folgendes in mein Ebuild eingetragen:

[code:1]
src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/${PVR}/startkde-${PVR}-gentoo.diff
epatch ${FILESDIR}/3.3.0-kwinrules-Makefile.am.diff
epatch ${FILESDIR}/3.3.0-sasl-fix.diff
epatch /home/tm/16114-kwinxcomp.diff
make -f admin/Makefile.common
}
[/code:1]

Leider funktioniert das so nicht! Kann mir wer helfen wie es gehen könnte! Das wäre nämlich die angenehmste art Patches hinzuzufügen!

mfg

Thomas
...schließlich und endlich mußte doch irgendwann irgend etwas aus null und nichts entstanden sein...
_____________________________
AMD Athlon64 Dual Core 3800+
1024 MB Ram
Kernel 2.6.14-r5 (gentoo-sources)

2

14.09.2004, 18:08

Welcher Fehler kommt denn ?
Was sagt das ebuild log ?
- :: AMD XP 2500+ :: Gentoo :: -
www.Unixboard.de - German Linux Community
www.Gentooforum.de - German Gentoo Community

3

15.09.2004, 19:00

[code:1]
Calculating dependencies ...done!
>>> emerge (1 of 1) kde-base/kdebase-3.3.0 to /
>>> md5 src_uri ;-) kdebase-3.3.0.tar.bz2
>>> Unpacking source...
>>> Unpacking kdebase-3.3.0.tar.bz2 to /var/tmp/portage/kdebase-3.3.0/work
* Applying startkde-3.3.0-gentoo.diff... [ ok ]
* Applying 3.3.0-kwinrules-Makefile.am.diff... [ ok ]
* Applying 3.3.0-sasl-fix.diff... [ ok ]
* Applying 16114-kwinxcomp.diff...

* Failed Patch: 16114-kwinxcomp.diff!
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/kdebase-3.3.0/temp/16114-kwinxcomp.diff-15396.out


!!! ERROR: kde-base/kdebase-3.3.0 failed.
!!! Function epatch, Line 395, Exitcode 0
!!! Failed Patch: 16114-kwinxcomp.diff!
[/code:1]


[code:1]
winxcomp.diff *****

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

PATCH COMMAND&#58; patch -p0 -g0 < /home/tm/16114-kwinxcomp.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&#58;
--------------------------
|diff -ur ./backup/activation.cpp ./activation.cpp
|--- ./backup/activation.cpp 2004-06-22 19&#58;32&#58;58.000000000 +0200
|+++ ./activation.cpp 2004-09-13 08&#58;36&#58;07.000000000 +0200
--------------------------
No file to patch. Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 74
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/geometry.cpp ./geometry.cpp
|--- ./backup/geometry.cpp 2004-08-05 20&#58;57&#58;20.000000000 +0200
|+++ ./geometry.cpp 2004-09-13 08&#58;34&#58;02.000000000 +0200
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 110
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/kcmkwin/kwindecoration/kwindecoration.cpp ./kcmkwin/kwindecoration/kwindecoration.cpp
|--- ./backup/kcmkwin/kwindecoration/kwindecoration.cpp 2004-09-13 08&#58;59&#58;39.000000000 +0200
|+++ ./kcmkwin/kwindecoration/kwindecoration.cpp 2004-09-12 00&#58;34&#58;01.000000000 +0200
--------------------------
No file to patch. Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 234
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/kcmkwin/kwindecoration/kwindecoration.h ./kcmkwin/kwindecoration/kwindecoration.h
|--- ./backup/kcmkwin/kwindecoration/kwindecoration.h 2004-08-05 20&#58;57&#58;20.000000000 +0200
|+++ ./kcmkwin/kwindecoration/kwindecoration.h 2004-09-11 23&#58;44&#58;59.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 259
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/options.cpp ./options.cpp
|--- ./backup/options.cpp 2004-06-22 19&#58;32&#58;58.000000000 +0200
|+++ ./options.cpp 2004-09-12 00&#58;37&#58;43.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 283
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/options.h ./options.h
|--- ./backup/options.h 2004-06-22 19&#58;32&#58;58.000000000 +0200
|+++ ./options.h 2004-09-11 22&#58;01&#58;02.000000000 +0200
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 312
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/workspace.cpp ./workspace.cpp
|--- ./backup/workspace.cpp 2004-08-05 20&#58;57&#58;20.000000000 +0200
|+++ ./workspace.cpp 2004-09-13 09&#58;32&#58;08.000000000 +0200
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
================================

PATCH COMMAND&#58; patch -p1 -g0 < /home/tm/16114-kwinxcomp.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&#58;
--------------------------
|diff -ur ./backup/activation.cpp ./activation.cpp
|--- ./backup/activation.cpp 2004-06-22 19&#58;32&#58;58.000000000 +0200
|+++ ./activation.cpp 2004-09-13 08&#58;36&#58;07.000000000 +0200
--------------------------
No file to patch. Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 74
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/geometry.cpp ./geometry.cpp
|--- ./backup/geometry.cpp 2004-08-05 20&#58;57&#58;20.000000000 +0200
|+++ ./geometry.cpp 2004-09-13 08&#58;34&#58;02.000000000 +0200
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 110
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/kcmkwin/kwindecoration/kwindecoration.cpp ./kcmkwin/kwindecoration/kwindecoration.cpp
|--- ./backup/kcmkwin/kwindecoration/kwindecoration.cpp 2004-09-13 08&#58;59&#58;39.000000000 +0200
|+++ ./kcmkwin/kwindecoration/kwindecoration.cpp 2004-09-12 00&#58;34&#58;01.000000000 +0200
--------------------------
No file to patch. Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 234
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/kcmkwin/kwindecoration/kwindecoration.h ./kcmkwin/kwindecoration/kwindecoration.h
|--- ./backup/kcmkwin/kwindecoration/kwindecoration.h 2004-08-05 20&#58;57&#58;20.000000000 +0200
|+++ ./kcmkwin/kwindecoration/kwindecoration.h 2004-09-11 23&#58;44&#58;59.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 259
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -ur ./backup/options.cpp ./options.cpp
|--- ./backup/options.cpp 2004-06-22 19&#58;32&#58;58.000000000 +0200
|+++ ./options.cpp 2004-09-12 00&#58;37&#58;43.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 283
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
[/code:1]
...schließlich und endlich mußte doch irgendwann irgend etwas aus null und nichts entstanden sein...
_____________________________
AMD Athlon64 Dual Core 3800+
1024 MB Ram
Kernel 2.6.14-r5 (gentoo-sources)

4

17.09.2004, 18:53

ganz einfach *g*

hi du
Also ich habs hinbekommen, das Problem ist, das der Patch in kwin eingepflantz wird und du von dort aus patchen musst (laut der homepage), wenn du denn patch aber im ebuild einträgst geht er vom build-root aus, in unserem fall kdebase-3.3.0/, ist ja logisch das er dann die dateien nicht findet.
Du musst jetzt einfach im *.diff file überall wo ne datei zum patchen angegeben ist ein /kwin/ ins verzeichniss einbauen dann findet emerge alle dateien zum patchen.

Also bin jetzt gerade am bauen aber das patch wurde mit einem ok abgetan, mal schauen, wenn es funzt dann stell ich hier denn abgeänderten patch und das ebuild file zum download, wenn nicht naja dann probier ich weiter *fg*.


mfg
pacman
AMD64 3500+
2x 512 DDR Ram
2x 80GB S-ATA RAID0
Kernel 2.6.9

No SuSE