![]() |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
patchmnager applying patches with -p 1, so you need something before original path starting. look at existing patches to understand. and both paths should point to target files (/usr/share/bla-bla, not /home/nemo)
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
hahaha!, okay, well problem solved, yet I don't know quite what has occurred....(aka - fuctifino!)
I diff'd the files again, merged the two outputs for a new unified_diff.patch, made the RPM, installed it and now it applies. Okay, YES, I did close the white space following coderus's observations (but I had already tried this by closing that white space manually), which again, as stated by coderus, is something we shouldn't do. Problem solved, thank you for you input @coderus, it is appreciated. (wrong files eh...?, well, it works, so what can I say?) ;) Regards, |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
Thanks for your help and wisdom, once again. |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
now try to apply and unapply your patch after you remove tht files from /home/nemo/blah-blah
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
When I first unapplied patch - messages says 'patch removed:' - so I 'reload system services' and apply the patch, it says 'patch installed' - the effects of the patch are still working. So, it seems your theory doesn't stand. After all, if that did make the difference, then no patch would ever work on someone else's device as it wouldn't have the original construction data to 'look' back at or whatever goes on........no?, so I don't get where you are coming from - I'm not trying to be difficult here, it;s just what you say holds no weight in this situation. |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
okay, seems for patchmanager it's enough to have one correct path, not both. but diff/patch docs says both paths should be correct, so i don't know why it's working on jolla.
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
It seems there is more than one way to get the same result, I'm not surprised really.
How do you have your build system set up?, where is your 'b' /usr/share/bla' folder set-up? (I'm guessing in root, along side the original '/usr/share/bla' folder). |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
i'm using git for creating patches just because git is more convenient for me :)
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Okay, I have found git-diff on the device with many other git-* bin files.
I just diff'd two existing .patch files and the ouput is printed on screen, cool and convenient. So, when you make a patch, I assume you take a copy of the original file, place it somewhere and edit - yes/no?, if you do it that way, where do you place your files to edit?, I ask, as your earlier comments suggest you don't have an alternate file structure for placing files to edit. |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
I do it this way in same directory: 1. Code:
cp /path/file.qml /path/file.qml.org 3. Create .patch file: Code:
diff -u /path/file.qml.org /path/file.qml > /path/unified_diff.patch Code:
mv /path/file.qml.org /path/file.qml ;) |
All times are GMT. The time now is 18:34. |
vBulletin® Version 3.8.8