Patchmanager 3.0

Rating: 
4.939395
Your rating: None Average: 4.9 (33 votes)

Patchmanager 3 public beta

Make sure to unapply patches before upgrade from Patchmanager 2. Installation will fail if any patch is applied.

If you have installed prepatch, please remove it before patchmanager3 installation.

Changes between version 2 and version 3:

  • Not changing original files. Patches applied to fakeroot located at /tmp/patchmanager
  • OS update friendly. Patchmanager3 automatically detects when user start downloading an update and unapplying all patches
  • Patches can be reordered to be applied in correct order. Just drag to left and drop at required position
  • Collect information about possible conflicting patches. Visit patch info page.
  • Automatic check for updates for online catalog patches. Notificaiton will popup if new version of patch will be released
  • Patchmanager settngs are located inside Settings application as entry

Patchmanager daemon acts like proxy, filtering open calls and decide if application should open original file or fake one.

Target application translations

Add to your patch new import:

import org.SfietKonstantin.patchmanager 2.0

Add property to the root object:

property bool pmTranslationLoaded: PatchManagerTranslator ? PatchManagerTranslator.installTranslator("name-of-your-patch") : false

Change most visible text to:

pmTranslationLoaded ? qsTr("Normal text if all is okay") : "Please update patchmanager!"

Useful environment variables:
NO_PM_PRELOAD=1 disables preload plugin from filtering calls
PM_PRELOAD_DEBUG=1 enables additional stderr output for preload plugin

Keep in mind this is beta version and should contain a lot of bugs. However it was tested for a while.

Please report all bugs to: https://talk.maemo.org/showthread.php?t=92935

You can collect patchmanager logs by running:
devel-su journalctl -al _COMM=jolla-settings + _EXE=/usr/sbin/patchmanager + _EXE=/usr/bin/patchmanager-dialog > patchmanager.log

Sources available here: https://github.com/sailfishos-patches/patchmanager/tree/patchmanager3

Translate project: https://www.transifex.com/coderus/patchmanager3

 

Big thanks jakibaki for Prepatch. This was very good idea to create such way for applying patches. You can review my plugin here: https://github.com/sailfishos-patches/patchmanager/blob/patchmanager3/sr...

See this TMO thread for more information.

Screenshots: 

Keywords:

Application versions: 
AttachmentSizeDate
File patchmanager-2.3.3-10.41.1.jolla_.i486.rpm240.99 KB28/07/2017 - 16:26
File patchmanager-2.3.3-10.41.1.jolla_.armv7hl.rpm234.42 KB28/07/2017 - 16:26
File patchmanager-3.0.62-1.136.1.jolla_.i486.rpm357.76 KB10/11/2019 - 21:19
File patchmanager-3.0.62-1.136.1.jolla_.armv7hl.rpm346.03 KB10/11/2019 - 21:19
File patchmanager-3.0.63-1.137.1.jolla_.armv7hl.rpm345.99 KB11/11/2019 - 16:38
File patchmanager-3.0.63-1.137.1.jolla_.i486.rpm357.62 KB11/11/2019 - 16:38
File patchmanager-3.0.64-1.144.1.jolla_.armv7hl.rpm347.1 KB17/11/2019 - 20:09
File patchmanager-3.0.64-1.144.1.jolla_.i486.rpm359.16 KB17/11/2019 - 20:09
Changelog: 

3.0.64
Added plugin class to inject translate strings to target applications. Read description.

3.0.63
Fixed check for updates scheduler

3.0.62
Removed freeze when opening patch info

3.0.61
Watching jolla-settings process for qml errors and automatically disable all patches
Fetched translations

Comments

vpp612's picture

Thanks! Should have tried as the first thing! :)

Markkyboy's picture

Apologies: comment removed; bad info :(

vpp612's picture

No problem, patches work now! :)

vpp612's picture

I am not too experienced in tweaking Jolla, so I cannot say how to find "patch" on that page. Is it embedded into one of the ausmt packages? I still cannot find "patch"? Ausmt-1.3.0 is the one I am having now. At least trying to install that produced an error  "patch is needed by ausmt-...".

coderus's picture

use Storeman to install from Openrepos. And always refresh repositories before doing anything.

objectifnul's picture

https://coderus.openrepos.net/pm2 => 502 bad gateway

EDIT1 - fixed now. Some patches still displayed in red (means not compatible with current OS release I guess). 'catalogue web' in Patchmanager 2.0 unresponsive. Just wait?

EDIT2 - 'Catalogue Web' now working, some patches still appear in red.

EDIT3 - 502 error again :-(

Bocephus's picture

An update is obviously badly needed at this point. Has the project been abandoned?

jakibaki's picture

Do you have any problem with it?

The restart services function not working is a bit annoying but other then that I haven't expericened any other problems with it.

gedeon's picture

That function also doesn't work on Jolla C 2.1.2.3 .

gedeon's picture

Hi, the "restart preloaded services" function is not working in "Sailfis X" v2.1.3.5 .

Alfdererste's picture

Hi. If I install Patchmanager 2.0 on Xperia X(2.1.1.26) all Sailfish-default icons are missing. But Patchmanager itself is working fine.
If someone else runs into this, you can get it back by reinstall the theme icons..
"pkcon install sailfish-content-graphics-default-z1.75-base"

Jessica_0rchid's picture

Очень ждем обновления, Вашего замечательного приложения для версии SFOS 2.1.2.3

eriklundin's picture

The newest compatibility version available when uploading or editing a patch is 2.1.1.24, but the latest version of SFOS is 2.1.1.26 so the patch manager doesn't let me install a patch that I know will work.

eriklundin's picture

Saw that it's fixed now. Thanks!

explit's picture

Can you update also the 2.1.1.24 build for i486 please?

coderus's picture

what are you talking about?

Skillmon's picture

I can't activate Return Old Pulley Menu patch with SFOS 2.1.1.23 installed though the web catalogue lists it as compatible.

Markkyboy's picture

'Restart preloaded services' doesn't restart homescreen on Jamsanjoki, is this version of PM not ready yet for Jamsanjoki?

coderus's picture

hm, how is this possible... thanks, i'll check this tomorrow

Markkyboy's picture

2 months have passed since your comment, is there a fix in the making or have you abandoned Patchmanager 2.0?

subeditor's picture

Still here on last update.

Markkyboy's picture

I have also updated my other Jolla1, but the same problem exists. 

hwansing's picture

I upgraded from patchmanager to patchmanager 2.0 today, and I could not find the icon to start the patchmanager 2.0 anymore. That's because it's within the Settings app now. Just a note for others, who are also searching for the icon :-) A big Thanks to you, coderus.

Sailbook's picture

Dont install on 2.1

coderus's picture

it works for everyone except you

Sailbook's picture

Sorry Coderus, was a bad download, indeed it works !

giskard's picture

Hi. The italian translation has been updated.

santhoshmanikandan's picture

Working. Thanks Coderus

santhoshmanikandan's picture

Getting error when installing patchmanager. Have added screenshot of the error

coderus's picture

pkcon refresh

Pages