Results 1 to 7 of 7
Patch for a popular notetaking program failed
See
HTML Code:
http://sourceforge.net/tracker/index.php?func=detail&aid=2679096&group_id=163434&atid=827735
Code:
patch -p0 < xournal_lasso_multipage_zoom_button_20090620.patch
then tried
Code:
patch -p1 < xournal_lasso_multipage_zoom_button_20090620.patch
with the following results:
Code:
xournal_lasso_multipage_zoom_button_20090620.patch
peter@peter-ubuntu:~/Downloads$ ...
- 08-09-2010 #1Linux Newbie
- Join Date
- May 2010
- Posts
- 125
Patch failed!
Patch for a popular notetaking program failed
See
HTML Code:http://sourceforge.net/tracker/index.php?func=detail&aid=2679096&group_id=163434&atid=827735
then triedCode:patch -p0 < xournal_lasso_multipage_zoom_button_20090620.patch
with the following results:Code:patch -p1 < xournal_lasso_multipage_zoom_button_20090620.patch
Code:xournal_lasso_multipage_zoom_button_20090620.patch peter@peter-ubuntu:~/Downloads$ patch -p0 < xournal_lasso_multipage_zoom_button_20090620.patch patching file xournal-0.4.2.1-iw0620/src/main.c Hunk #1 FAILED at 134. Hunk #2 FAILED at 185. 2 out of 2 hunks FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/main.c.rej patching file xournal-0.4.2.1-iw0620/src/xo-callbacks.c Hunk #1 FAILED at 1012. Hunk #2 FAILED at 1797. Hunk #3 FAILED at 2422. Hunk #4 FAILED at 2490. Hunk #5 FAILED at 2526. Hunk #6 FAILED at 2633. Hunk #7 FAILED at 2653. Hunk #8 FAILED at 3502. 8 out of 8 hunks FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/xo-callbacks.c.rej patching file xournal-0.4.2.1-iw0620/src/xo-callbacks.h Hunk #1 FAILED at 624. 1 out of 1 hunk FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/xo-callbacks.h.rej patching file xournal-0.4.2.1-iw0620/src/xo-file.c Hunk #1 FAILED at 25. Hunk #2 FAILED at 1369. Hunk #3 FAILED at 1572. Hunk #4 FAILED at 1605. Hunk #5 FAILED at 1630. 5 out of 5 hunks FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/xo-file.c.rej patching file xournal-0.4.2.1-iw0620/src/xo-interface.c Hunk #1 FAILED at 36. Hunk #2 FAILED at 53. Hunk #3 FAILED at 81. Hunk #4 FAILED at 131. Hunk #5 FAILED at 153. Hunk #6 FAILED at 196. Hunk #7 FAILED at 209. Hunk #8 FAILED at 370. Hunk #9 FAILED at 439. Hunk #10 FAILED at 582. Hunk #11 FAILED at 602. Hunk #12 FAILED at 613. Hunk #13 FAILED at 624. Hunk #14 FAILED at 635. Hunk #15 FAILED at 648. Hunk #16 FAILED at 812. Hunk #17 FAILED at 934. Hunk #18 FAILED at 944. Hunk #19 FAILED at 1150. Hunk #20 FAILED at 1202. Hunk #21 FAILED at 1255. Hunk #22 FAILED at 1331. Hunk #23 FAILED at 2264. Hunk #24 FAILED at 2501. Hunk #25 FAILED at 2518. Hunk #26 FAILED at 2545. Hunk #27 FAILED at 2593. Hunk #28 FAILED at 2614. Hunk #29 FAILED at 2652. Hunk #30 FAILED at 2665. 30 out of 30 hunks FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/xo-interface.c.rej patching file xournal-0.4.2.1-iw0620/src/xo-misc.c Hunk #1 FAILED at 692. Hunk #2 FAILED at 1169. Hunk #3 FAILED at 1187. Hunk #4 FAILED at 1199. Hunk #5 FAILED at 1227. Hunk #6 FAILED at 1614. Hunk #7 FAILED at 1871. Hunk #8 FAILED at 1933. 8 out of 8 hunks FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/xo-misc.c.rej patching file xournal-0.4.2.1-iw0620/src/xo-misc.h Hunk #1 FAILED at 35. 1 out of 1 hunk FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/xo-misc.h.rej patching file xournal-0.4.2.1-iw0620/src/xo-paint.c Hunk #1 FAILED at 467. Hunk #2 FAILED at 478. Hunk #3 FAILED at 497. Hunk #4 FAILED at 549. Hunk #5 FAILED at 576. Hunk #6 FAILED at 627. Hunk #7 FAILED at 660. Hunk #8 FAILED at 671. Hunk #9 FAILED at 704. Hunk #10 FAILED at 871. Hunk #11 FAILED at 989. Hunk #12 FAILED at 999. 12 out of 12 hunks FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/xo-paint.c.rej patching file xournal-0.4.2.1-iw0620/src/xo-paint.h Hunk #1 FAILED at 11. 1 out of 1 hunk FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/xo-paint.h.rej patching file xournal-0.4.2.1-iw0620/src/xournal.h Hunk #1 FAILED at 171. Hunk #2 FAILED at 204. Hunk #3 FAILED at 234. Hunk #4 FAILED at 348. 4 out of 4 hunks FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/src/xournal.h.rej patching file xournal-0.4.2.1-iw0620/xournal.glade Hunk #1 FAILED at 58. Hunk #2 FAILED at 203. Hunk #3 FAILED at 432. Hunk #4 FAILED at 473. Hunk #5 FAILED at 495. Hunk #6 FAILED at 517. Hunk #7 FAILED at 539. Hunk #8 FAILED at 566. Hunk #9 FAILED at 587. Hunk #10 FAILED at 884. Hunk #11 FAILED at 1065. Hunk #12 FAILED at 1085. Hunk #13 FAILED at 1453. Hunk #14 FAILED at 1571. Hunk #15 FAILED at 1660. Hunk #16 FAILED at 1796. 16 out of 16 hunks FAILED -- saving rejects to file xournal-0.4.2.1-iw0620/xournal.glade.rej peter@peter-ubuntu:~/Downloads$ patch -p1 < xournal_lasso_multipage_zoom_button_20090620.patch patching file src/main.c Hunk #1 FAILED at 134. Hunk #2 FAILED at 185. 2 out of 2 hunks FAILED -- saving rejects to file src/main.c.rej patching file src/xo-callbacks.c Hunk #1 FAILED at 1012. Hunk #2 FAILED at 1797. Hunk #3 FAILED at 2422. Hunk #4 FAILED at 2490. Hunk #5 FAILED at 2526. Hunk #6 FAILED at 2633. Hunk #7 FAILED at 2653. Hunk #8 FAILED at 3502. 8 out of 8 hunks FAILED -- saving rejects to file src/xo-callbacks.c.rej patching file src/xo-callbacks.h Hunk #1 FAILED at 624. 1 out of 1 hunk FAILED -- saving rejects to file src/xo-callbacks.h.rej patching file src/xo-file.c Hunk #1 FAILED at 25. Hunk #2 FAILED at 1369. Hunk #3 FAILED at 1572. Hunk #4 FAILED at 1605. Hunk #5 FAILED at 1630. 5 out of 5 hunks FAILED -- saving rejects to file src/xo-file.c.rej patching file src/xo-interface.c Hunk #1 FAILED at 36. Hunk #2 FAILED at 53. Hunk #3 FAILED at 81. Hunk #4 FAILED at 131. Hunk #5 FAILED at 153. Hunk #6 FAILED at 196. Hunk #7 FAILED at 209. Hunk #8 FAILED at 370. Hunk #9 FAILED at 439. Hunk #10 FAILED at 582. Hunk #11 FAILED at 602. Hunk #12 FAILED at 613. Hunk #13 FAILED at 624. Hunk #14 FAILED at 635. Hunk #15 FAILED at 648. Hunk #16 FAILED at 812. Hunk #17 FAILED at 934. Hunk #18 FAILED at 944. Hunk #19 FAILED at 1150. Hunk #20 FAILED at 1202. Hunk #21 FAILED at 1255. Hunk #22 FAILED at 1331. Hunk #23 FAILED at 2264. Hunk #24 FAILED at 2501. Hunk #25 FAILED at 2518. Hunk #26 FAILED at 2545. Hunk #27 FAILED at 2593. Hunk #28 FAILED at 2614. Hunk #29 FAILED at 2652. Hunk #30 FAILED at 2665. 30 out of 30 hunks FAILED -- saving rejects to file src/xo-interface.c.rej patching file src/xo-misc.c Hunk #1 FAILED at 692. Hunk #2 FAILED at 1169. Hunk #3 FAILED at 1187. Hunk #4 FAILED at 1199. Hunk #5 FAILED at 1227. Hunk #6 FAILED at 1614. Hunk #7 FAILED at 1871. Hunk #8 FAILED at 1933. 8 out of 8 hunks FAILED -- saving rejects to file src/xo-misc.c.rej patching file src/xo-misc.h Hunk #1 FAILED at 35. 1 out of 1 hunk FAILED -- saving rejects to file src/xo-misc.h.rej patching file src/xo-paint.c Hunk #1 FAILED at 467. Hunk #2 FAILED at 478. Hunk #3 FAILED at 497. Hunk #4 FAILED at 549. Hunk #5 FAILED at 576. Hunk #6 FAILED at 627. Hunk #7 FAILED at 660. Hunk #8 FAILED at 671. Hunk #9 FAILED at 704. Hunk #10 FAILED at 871. Hunk #11 FAILED at 989. Hunk #12 FAILED at 999. 12 out of 12 hunks FAILED -- saving rejects to file src/xo-paint.c.rej patching file src/xo-paint.h Hunk #1 FAILED at 11. 1 out of 1 hunk FAILED -- saving rejects to file src/xo-paint.h.rej patching file src/xournal.h Hunk #1 FAILED at 171. Hunk #2 FAILED at 204. Hunk #3 FAILED at 234. Hunk #4 FAILED at 348. 4 out of 4 hunks FAILED -- saving rejects to file src/xournal.h.rej patching file xournal.glade Hunk #1 FAILED at 58. Hunk #2 FAILED at 203. Hunk #3 FAILED at 432. Hunk #4 FAILED at 473. Hunk #5 FAILED at 495. Hunk #6 FAILED at 517. Hunk #7 FAILED at 539. Hunk #8 FAILED at 566. Hunk #9 FAILED at 587. Hunk #10 FAILED at 884. Hunk #11 FAILED at 1065. Hunk #12 FAILED at 1085. Hunk #13 FAILED at 1453. Hunk #14 FAILED at 1571. Hunk #15 FAILED at 1660. Hunk #16 FAILED at 1796. 16 out of 16 hunks FAILED -- saving rejects to file xournal.glade.rej
- 08-09-2010 #2
The patch simply failed.
1] The most common problem is, that the source for which the patch was created, has changed.
Usually one has a versioned source that one updates, creates a patch against the specified revision and then uploads that patch to the authors of the software. If they reject the patch and continue writing the software, the source can advance in time and conflict with the patch. Thus one can no longer apply the patch immediatly cause it conflicts with the current source.
2] The second most problem (that probably is the case here) is, that the user that tries to apply the patch (you), did it wrong in one or the other way. Please explain what you tried to do so that we can understand which steps were wrong.
- 08-09-2010 #3
why aren't you installing the software through repo? ubuntu has latest version when compared to version on SF website
is this patch necessary? you will have to maintain software yourself if installing from source
- 08-10-2010 #4Linux Newbie
- Join Date
- May 2010
- Posts
- 125
- 08-10-2010 #5Linux Newbie
- Join Date
- May 2010
- Posts
- 125
- 08-10-2010 #6Linux Newbie
- Join Date
- May 2010
- Posts
- 125
I just tried to apply the patch to Xournal version 0.4.5-2 and it didn't work. All the code is above.
That said I do not know if I did it correctly. If you can spot a command line-based error, let me know. Patch may be obsolete as it was created a year ago and I am trying to apply it to a newer version of Xournal. But surely the developers and contributors are wary of this, right? I mean let's assume it's an error on my part.
- 08-10-2010 #7
You'll have to pull the right revision which the patch was written for, of course extract all source files properly if they are somehow archived and finally change directory to the extracted stuff.
Then the patch will probably pass.


Reply With Quote
