Patchmanager patches in Koli 4.0.1

Try like this:

cp /home/nemo/Apps/unified_diff.patch usr/share/patchmanager/patches/launcher-combined/

or,

mv /home/nemo/Apps/unified_diff.patch usr/share/patchmanager/patches/launcher-combined/unified_diff.patch

But before that I would make backup of original patch. And test it if works. Also made sure that I’m able to ssh into device if something brokes. So I could reinstall lipstick.

edit

Tried it, worked sort of. Folders was missing number of items in.

Thx verry much - I found this way and it works perfect.
cp /home/nemo/Apps/unified_diff.patch /usr/share/patchmanager/patches/launcher-combined
now the launcher patch is fixed. Only the folders shows no smal icons. I will try to found the reason for this…

What about typing correct destination like
**/**usr/share/…

1 Like

Hello miau - I tested you changed patch file and it works fine! Thx.
I ask me wyh I can not sie the spezial folder icons with children icons. Isaw, that you leave out follow lines in the diff file. Why you leave it? Make this trouble?
I am affraid to test it.

337 +                            FolderIconLoader {
338                                 id: folderLauncherIcon
339                                 anchors {
340                                     centerIn: parent
341                                    verticalCenterOffset: Math.round(-Theme.fontSizeExtraSmall/2)
342                                 }
343 +                                folder: launcherFolder.model
344 +                                index: model.index
345                                 icon: "image://theme/icon-launcher-folder-" + (index >= 9 ? (index+1) : "0" + (index+1))
346                                 pressed: folderIcon.pressed && folderIcon.containsMouse
347                                 opacity: icon.indexOf(launcherFolder.model.iconId) !== -1 ? Theme.opacityFaint : 1.0

greetings Ralf

The above patchmanager3 build is now available in chum too, but only for 4.0 and 4.1 sailfish versions.

My understanding is that 3.4 was the one introducing the change in the location of systemd units (/lib → /usr/lib) but it was and 4.0 that broke the compatibility.

So this build is not compatible with Sailfish OS 3.3 or earlier for sure.

I would like to get feedback if you used either the version from Index of /obs/home:/b100dian:/patchmanager or the one from chum with Sailfish OS 4.0 and 4.1 and if you had any issues (except the sailjail one, let’s take that separately).

I’d like to propose a version bump for the sfos4 branch (e.g pm3.1) to distinguish between the two based on this info.

2 Likes

Yes, see the SFOS 3.4.0 release notes, section “Technical changes” (second bullet point there).

… for many Patchmanager Patches: Yes.
And it introduced additional issues for the Patchmanager proper.

Just installed the busybox version in my Xperia X. And modified /etc/firejail/whitelist-common.local as proposed above.

Before reboot, I was able to install patches from the web catalog, but I could not apply installed patches by tapping the bullet before the patch name in the patch list. I had to use the apply in the context menu. And Restart preloaded services didn’t work.
But after reboot it works as expected. And patches also firejailed apps, like calendar. But clicking the patch name does not open patch info but gives an error, if the patch does not come with main.qml.

Thanks @hsjpekka for the info - so if I understand correctly you had one issue with the first run (which I agree did not test for some time) and another with the clicking the patch name - do you know if that used to work in sfos 3.4 differently (no device to test) - i.e. is it a new or existing bug?

1 Like

Yes. In more detail: before rebooting, tapping the list bullet tried to open main.qml - just like tapping the patch name. After reboot, touching the bullet applied the patch - as expected.
In earlier PM-version, tapping the patch name opened the patch info if main.qml wasn’t available. Can’t remember if this broke with sfos 3.4 or 4.0.

Patchmanager 3.1.0 has been released Patchmanager3 for SailfishOS 4

2 Likes

Please, can you upload to Web catalog as some kind of fork of coderus original patch?

Maybe, i’m on 4.3 and it isn’t working anymore.

By the way, could someone tell me how to create a patch file? I’m doing something wrong, because i always get a file not found error, when using my created unified patch file. Must be something about wrong paths in the file…

Are you using Windows when writing the patch? Line ends are different in linux & windows, and PM doesn’t check that.
[Edit:] I haven’t tested with the current PM version, but it gave me “file not found”-errors, if I made a patch in qtcreator and didn’t use notepad++ (or vi) to change the line endings to unix style.

That’s weird. On my 4.3 it works flawlessly.

Are you perhaps affected by https://github.com/sailfishos-patches/patchmanager/issues/71?

Miau, can you update this link, too? It doesn’t work.

Which link do you mean?

I figured it out myself, got these 3 patches working again in 4.3.

Launcher combined
No home caroussel[fork]
Enhanced lockscreen

I’ll look into how to put these into the webcatalog.

1 Like

Sorry, I mean link to your update of No home carousel. You published it in February.

I just uploaded it to the web catalog.

Sorry, the first release in web catalog wasn’t working, new version should be fine.

3 Likes