Backporting kcalcore-qt5 (CalDAV-fix) to 1.1.7?

asked 2015-09-28 14:26:08 +0300

femtopeta gravatar image

updated 2015-09-30 13:34:58 +0300

Now 1.1.9 is out and after testing it for some days I made my decision to revert back to 1.1.7. Pondering the pros and cons, the cons are sadly winning overwhelmingly.

The thing is, that one of the paramount pros has been Jolla finally fixing the CalDAV-One-hour-shift-bug (MER#1011) in kcalcore-qt5 for 1.1.9.

Could I patch my 1.1.7 version of kcalcore-qt5 ?

Being a total Qt-illiterate, here is my question: Would it be possible to port back the fix to 1.1.7? Like for example:

  1. get the sources for kcalcore-qt5 from the 1.1.7 and 1.1.9 repos
  2. diff the files and patch the 1.1.7 version
  3. build the 1.1.7 version from the local patched source

I have to admit that I have little to no experience regarding patching. Any help would be highly appreciated.

edit retag flag offensive close delete

Comments

1

Have a look at the package's dependencies: if the newer kcalcore-qt5 version doesn't require more recent packages that the ones you have in 1.1.7, then simply installing the newer package should do it.

Nota Bene: playing by hand with your device's packages isn't risk-free

Nota Bene 2: this will certainly pose problems if you later decide to upgrade to 1.1.9

Nota Bene 3: I don't think Jolla is going to maintain a separate 1.1.7 branch. Moreover, the package concerns an opensource piece of code, so you're far from being stuck here.

Tofe ( 2015-09-29 10:23:35 +0300 )edit
1

Apart from the fact that dependency-wise its seems indeed not possible, how would I technically install a 1.1.9 package in 1.1.7? I revised my question above: I think it should be possible to patch kcalcore in 1.1.7. It is only a couple lines in the code, but I don't know if/how to build a (system-)package from a local source in Sailfish.

femtopeta ( 2015-10-02 12:07:28 +0300 )edit