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:
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.
Attachment | Size | Date |
---|---|---|
![]() | 240.99 KB | 28/07/2017 - 16:26 |
![]() | 234.42 KB | 28/07/2017 - 16:26 |
![]() | 357.76 KB | 10/11/2019 - 21:19 |
![]() | 346.03 KB | 10/11/2019 - 21:19 |
![]() | 345.99 KB | 11/11/2019 - 16:38 |
![]() | 357.62 KB | 11/11/2019 - 16:38 |
![]() | 347.1 KB | 17/11/2019 - 20:09 |
![]() | 359.16 KB | 17/11/2019 - 20:09 |
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
gaelic
Tue, 2019/11/26 - 12:28
Permalink
Can you please implement a kind.of fuzzy check for the.version control. Can't install patches as they are locked to 3.2.0.12, sfos version: 3.2.0.14; cheers
coderus
Tue, 2019/11/26 - 12:31
Permalink
Enable God mode
neter
Mon, 2019/11/18 - 20:23
Permalink
Thanks for continuing to support this must-have piece of software. But what is the procedure for upgrading Patchmanager 3.0 to newer Patchmanager 3.0? Do we have to unapply all patches before such upgrade, or do we have to restart some services or the system after the upgrade, or is it safe and enough just to upgrade the package through Storeman?
coderus
Mon, 2019/11/18 - 21:12
Permalink
as user you should not worry anything, just install new version. changes are for patch makers to make patches great again.
danfin
Mon, 2019/11/11 - 14:35
Permalink
I found the problem that the google login page which appears after accepting google credentials did not show up. It remained black I could not log in. After disabling all patches and disabling patchmanager auto load i could login as that page was visible again.
coderus
Mon, 2019/11/11 - 14:58
Permalink
You should check which patch causes problem and report it to patch maintainer
deloptes
Mon, 2019/11/11 - 13:08
Permalink
Xperia X 3.2.0.12 Failed to start Patchmanager check for updates service.
It seems dbus-send is now under /usr/bin/dbus-send
coderus
Mon, 2019/11/11 - 16:38
Permalink
check 3.0.63
deloptes
Mon, 2019/11/11 - 22:36
Permalink
Seems to be working fine - thank you and God bless you!
coderus
Mon, 2019/11/11 - 13:14
Permalink
Thanks
Historyscholar
Sun, 2019/11/10 - 11:28
Permalink
Chinese translation updated:)
csg1976
Sun, 2019/11/10 - 05:40
Permalink
When trying to access certain patches (e.g. Extended volume control) through PM, it will crash and take the settings app unresolvably with it. Only a reboot will help (XA2, 3.2.0.12, latest PM).
coderus
Sun, 2019/11/10 - 12:17
Permalink
good bug, please check with new build
csg1976
Mon, 2019/11/11 - 09:47
Permalink
Solved! Thanks a ton!
eson
Sat, 2019/11/09 - 15:23
Permalink
Please, also update translations. It's been more then a year. ;)
carmenfdezb
Wed, 2019/11/06 - 11:43
Permalink
Hi @coderus! Since I updated SailfishOS v3.2.0, I have to load engine manually every time I reboot my phone. Is that a bug?
coderus
Sun, 2019/11/10 - 12:17
Permalink
this is a feature. go to settings and enable auto applying.
carmenfdezb
Mon, 2019/11/11 - 00:04
Permalink
Sorry, I didn't notice. Thank you for your answer!
sebix
Wed, 2019/10/30 - 14:07
Permalink
Does not seem to work with Sailfish OS 3.2.0 - The page in settings shows "Could not load page"
paolomi
Tue, 2019/10/08 - 09:59
Permalink
Hi, please update disable-glass-avatar for sailfish 3.1. Thanks a lot!
hsjpekka
Tue, 2019/09/17 - 00:10
Permalink
Is there a way to skip the os version check? 'Return old button style' v.0.0.1, for example, is compatible with 2.x - 3.0.3.10. So, I believe, it is compatible with 3.1.0.11 also. But, I can't install it due to the version check.
coderus
Tue, 2019/09/17 - 01:06
Permalink
It's called God mode :)
hsjpekka
Tue, 2019/09/17 - 07:44
Permalink
Thanks!
Sometimes checking the settings would give a hint.
jakecn
Wed, 2019/08/14 - 07:38
Permalink
Can you support more languages?
levone1
Sun, 2018/08/05 - 10:12
Permalink
Any help... I was using with 6 or 7 patches on Xperia X Compact, and everything fine, until one reboot, when I got 'no patches available' message in patchmanager. All patches were still installed, but not showing up in patchmanager. I tried uninstalling and reinstalling patches and patchmanager, and still the same. Systemctl showed service failed to start due to fatal signal. Journalctl put out this:
[root@Sailfish nemo]# systemctl status -l dbus-org.
SfietKonstantin.patchmanager.service
● dbus-org.SfietKonstantin.patchmanager.service - P
atchmanager service
Loaded: loaded (/lib/systemd/system/dbus-org.Sfi
etKonstantin.patchmanager.service; disabled; vendor
preset: enabled)
Active: failed (Result: start-limit) since Sun 2
018-08-05 02:46:35 EDT; 11min ago
Process: 14939 ExecStart=/usr/sbin/patchmanager -
-daemon (code=killed, signal=SEGV)
Main PID: 14939 (code=killed, signal=SEGV)
Aug 05 02:46:30 Sailfish systemd[1]: Failed to star
t Patchmanager service.
Aug 05 02:46:30 Sailfish systemd[1]: dbus-org.Sfiet
Konstantin.patchmanager.service: Unit entered faile
d state.
Aug 05 02:46:30 Sailfish systemd[1]: dbus-org.Sfiet
Konstantin.patchmanager.service: Failed with result
'signal'.
Aug 05 02:46:35 Sailfish systemd[1]: dbus-org.Sfiet
Konstantin.patchmanager.service: Service hold-off t
ime over, scheduling restart.
Aug 05 02:46:35 Sailfish systemd[1]: dbus-org.Sfiet
Konstantin.patchmanager.service: Start request repe
ated too quickly.
Aug 05 02:46:35 Sailfish systemd[1]: dbus-org.Sfiet
Konstantin.patchmanager.service: Unit entered faile
d state.
Aug 05 02:46:35 Sailfish systemd[1]: dbus-org.Sfiet
Konstantin.patchmanager.service: Failed with result
'start-limit'.
Thanks
coderus
Sun, 2018/08/05 - 10:24
Permalink
levone1
Sun, 2018/08/05 - 23:04
Permalink
Interesting thing now is that, even though all patches are applied, and everything working, still, whenever I open a terminal, the first thing that happens is it outputs 'ERROR: ld.so: object '/usr/lib/libpreloadpatchmanag
er.so' from /etc/ld.so.preload cannot be preloaded
(cannot open shared object file): ignored.' about a hundred times, and also one time here and there after certain commands.
levone1
Sun, 2018/08/05 - 19:20
Permalink
Thanks - output was about 3 million lines, so I started looking into options to filter, (from... To..., etc.), and send to file, etc., then I thought it might be easier to just look into wiping/repairing files, etc., so I eventually got functionality back. Working again now... I'll see if it happens again. Would be nice to know what caused it.
vpp612
Thu, 2018/08/02 - 12:39
Permalink
Hi, where can I find the "patch" that is required by ausmt (which is required by patchmanager)? Cannot make patches work for me otherwise.
coderus
Thu, 2018/08/02 - 12:57
Permalink
patch is in jolla repository
Pages