|
2016-03-26
, 17:58
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#1882
|
|
2016-03-26
, 18:08
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#1883
|
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)
|
2016-03-26
, 18:34
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#1884
|
|
2016-03-26
, 19:57
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#1885
|
now try to apply and unapply your patch after you remove tht files from /home/nemo/blah-blah
|
2016-03-27
, 05:35
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#1886
|
The Following User Says Thank You to coderus For This Useful Post: | ||
|
2016-03-27
, 18:21
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#1887
|
|
2016-03-27
, 18:29
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#1888
|
The Following User Says Thank You to coderus For This Useful Post: | ||
|
2016-03-27
, 20:40
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#1889
|
|
2016-03-28
, 06:26
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#1890
|
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.
cp /path/file.qml /path/file.qml.org
diff -u /path/file.qml.org /path/file.qml > /path/unified_diff.patch
mv /path/file.qml.org /path/file.qml
Tags |
patchmanager, sailfish os |
|
Telegram | Openrepos | GitHub | Revolut donations