maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak (https://talk.maemo.org/showthread.php?t=92935)

Ancelad 2016-08-09 10:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by explit (Post 1512088)
Hi Schturman. Maybe you can tell us, which files we need to replace to have the correct size for the Folder icons setting and for the Patchmanager?

Or the needed icons are simply missing in the needed scaling factor?
In this case we need to use gimp, how Coderus said...

Thanks !

patchmanager has own icon path (/usr/share/patchmanager/icons) so you should re-scale current one or edit patchmanager json-file and put correct icons into theme-folder.

explit 2016-08-09 11:39

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Ancelad (Post 1512092)
patchmanager has own icon path (/usr/share/patchmanager/icons) so you should re-scale current one or edit patchmanager json-file and put correct icons into theme-folder.

Thanks Ancelad & Coderus.

I resized the icons with gimp to 128x128 and replaced the small two.

Jaracz 2016-08-09 12:10

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hi Everyone!

After my 2 years adventure with BB10 (post N9 adventure), I've decided to give a chance to Sailfish..

I've got a brand new Jolla C and I'm playing with it already a few days.. I've found some bugs, but after Update to 2.0.2.48 almost all of them are gone..

I like the MeeGo-Feeling of Sailfish very much, but I'd like to have a "full-carusel" Feeling, like on N9 swiping from left to right between App-Launcher, Events view and Home-Screen.. I've been searching for a patch, but unfortunately none found.

Is there something like that already? I know, I can get App-Launcher with swipe from bottom to up, but is it also possible in MeeGo-way (left/right)?

Thank you in advance!

Best regards,

Jaracz

coderus 2016-08-09 12:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Everything is possible if patch :)

Jaracz 2016-08-09 15:01

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1512109)
Everything is possible if patch :)

Exactly, that's my point ;)

Maybe I will try to open a RFC on together.jolla.com - but the chance is quietly low I think...

Best regards,

Jaracz

pichlo 2016-08-09 15:08

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Schturman,
Could there be any chance to fix this issue?
Why does the patch need to depend on any specific version of dbus-python anyway?

Jaracz 2016-08-09 15:10

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hmmm... There's already a thread about it on together.jolla.com:

https://together.jolla.com/question/...like-carousel/

But still no Jolla answer and no patch ;P

Best regards,

Jaracz

coderus 2016-08-09 15:27

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by pichlo (Post 1512125)
@Schturman,
Could there be any chance to fix this issue?
Why does the patch need to depend on any specific version of dbus-python anyway?

what you talking about? what the package and who made this? :D

Ancelad 2016-08-09 15:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I think this is "Unapply all patches".
dbus-python for notification?

pichlo 2016-08-09 15:37

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1512127)
what you talking about? what the package and who made this? :D

Sorry, I thought it was obvious from the context. This one.

Jaracz 2016-08-09 15:41

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1512109)
Everything is possible if patch :)

1. Could you (theoretically) write a patch like this, and if yes:
2. What would it cost? :D

Best regards,

Jaracz

R1v3r 2016-08-10 06:01

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hello All,

Not sure, if this should be asked here, but not sure, where it would be best :)

I got updated to 2.0.2.48 and now I canīt get Meecast to eventsview. (Only Jolla oem weather app...)

Who should I contact? Does it need to be updated by @vasvlad?

coderus 2016-08-10 07:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
meecast works fine for me in eventsview.

R1v3r 2016-08-10 08:57

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by R1v3r (Post 1512206)
Hello All,

Not sure, if this should be asked here, but not sure, where it would be best :)

I got updated to 2.0.2.48 and now I canīt get Meecast to eventsview. (Only Jolla oem weather app...)

Who should I contact? Does it need to be updated by @vasvlad?

Just wanted to test...

So uninstalling meecast events view and reinstalling did the trick..

mgfm99 2016-08-10 13:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
That's what I did with both 2.0.2.48 and 2.0.3.14. I think I had to reboot after the reinstall to see the result, though.

coderus 2016-08-13 14:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
https://openrepos.net/content/coderu...ockpad-buttons patch updated for sailfishos 2.0.2.x

coderus 2016-08-13 20:07

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Pathmanager update!

Comes with preinstalled patch for unapplying all patches before installing system upgrade. Operation is fully automatic and you dont need to do any actions manually. If patchmanager will fail at unapplying some patch, upgrade process wont be started and you should unapply patch manually.

cy8aer 2016-08-13 20:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
hm, I enabled the unapply patch with activated unapply patch from Schturman. And now I am not able to select sailfishos setting anymore. Unapplying the new patch is not be possible anymore too. Any hints to get it work again?

[Update] ok that was an early panic message: I now: copied mainpage.qml.webosinternals.orig back to mainpage.qml. Update settng works again. Than I was able to uninstall Schturman's patch. But when enabling the new patch it is not possible to disable it again. Is this the right behaviour?

coderus 2016-08-13 21:05

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
pkcon install jolla-settings-sailfishos

Schturman 2016-08-13 21:11

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by cy8aer (Post 1512488)
hm, I enabled the unapply patch with activated unapply patch from Schturman. And now I am not able to select sailfishos setting anymore. Unapplying the new patch is not be possible anymore too. Any hints to get it work again?

[Update] ok that was an early panic message: I now: copied mainpage.qml.webosinternals.orig back to mainpage.qml. Update settng works again. Than I was able to uninstall Schturman's patch. But when enabling the new patch it is not possible to disable it again. Is this the right behaviour?

you always can unupply patch by this command as root:
Code:

/usr/sbin/patchmanager -u sailfishos-unapply-all-patches
P.S. what phone and os version you use ? Because on both my devices (jolla1 and tablet) all work without any problem...

cy8aer 2016-08-13 21:28

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Schturmann: 2.0.2.48 - both 1 and C. I think it was not your patch but coderus'. I thought that it was a problem with both your and coderus' patch installed.

But after removing your patch the behaviour is the same:

Original state (after reinstall jolla-settings-sailfishos): enable coderus patch. Everything is fine - though I do not know if the patch works on update (what I believe it does). Disable the patch: fails - but I cannot reach upgrade settings anymore.

Sorry it is not coderus' patch it is Sfiet_Konstantin's.

cy8aer 2016-08-13 21:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Maybe helpful: mainpage.qml.rej:
Code:

--- usr/share/jolla-settings/pages/sailfishos/mainpage.qml
+++ usr/share/jolla-settings/pages/sailfishos/mainpage.qml
@@ -267,10 +284,7 @@
                            }
                        }
                    } else if (storeIf.mayInstall) {
-                        // Let the UI smoothly fade out first before doing anything scary
-                        shutdownBus.call("setShutdownMode", ["upgrade"])
-                        // Clear the cache and the system update notification
-                        storeIf.clearOsUpdateCheckCache()
+                        patchmanagerBus.call("unapplyAllPatches", [], unapplyAllCallback)
                    }
                }
            }


Schturman 2016-08-13 22:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hmm, ok. You say the same behavior without my patch, probably I'm not guilty :D

eson 2016-08-14 04:47

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by cy8aer (Post 1512493)
Disable the patch: fails - but I cannot reach upgrade settings anymore.

I get the exact same problem from updating Patchmanager (for Jolla settings).
Can't access Sailfish OS Upgrade and can't unapply 'Unapply all patches on upgrade'

coderus 2016-08-14 05:49

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
something really wrong happened with patch file, need to be fixed

pichlo 2016-08-14 10:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by eson (Post 1512507)
I get the exact same problem from updating Patchmanager (for Jolla settings).
Can't access Sailfish OS Upgrade and can't unapply 'Unapply all patches on upgrade'

Yup, same here.

Fixed by (using FBRoot, adapt accordingly):
  1. Go to /usr/share/jolla-settings/pages/sailfishos.
  2. Check the file mainpage.qml.webosinternals.orig is present. Bail out if not.
  3. Delete mainpage.qml and mainpage.rej.
  4. Rename mainpage.qml.webosinternals.orig to mainpage.qml.
  5. Sailfis OS update in Settings is now accessible again.
  6. (Optional) Start Patchmanager and unapply the offending patch.

coderus 2016-08-14 11:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
why? just pkcon install jolla-settings-sailfishos

eson 2016-08-14 12:02

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1512522)
why? just pkcon install jolla-settings-sailfishos

That didn't work for me. As soon as I tried to unapply the patch, I was back to square one.

pichlo 2016-08-14 12:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1512522)
why? just pkcon install jolla-settings-sailfishos

Because undoing the damage is better than trying to hide it.

coderus 2016-08-14 13:42

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
pkcon undoing damage, doesnt matter if patch shows as applied or no

explit 2016-08-14 17:17

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
patchmanager for jolla settings can't be updated from 0.5.0 to 0.5.1:

Code:

nothing provides patchmanager=
0.5.1.-10.22.1.jolla needed by jolla-settings-patchmanager-0.5.1.10.22.1.jolla.armv7hl

patchmanager-ui
jolla-settings-patchmanager
are on Version 0.5.1 in the Openrepos

patchmanger
is still on 0.5.0 in OpenRepos

Have Sfiet_Konstantin forgot to upload the new package?

explit 2016-08-14 17:42

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Now its working. I was to fast

coderus 2016-08-14 18:40

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
2fast2furious :D

pichlo 2016-08-14 18:59

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1512531)
pkcon undoing damage, doesnt matter if patch shows as applied or no

Sure. There are different views on what constitutes damage. Two superfluous files left behind are enough for me to make it worth going the manual way. Also, and I do realize that it may sound strange to some people, but I see little point running pkcon and employing the whole machinery, downloading, unpacking and whatnot, when all the bits are already there. All you need to do is rename one file.

ejjoman 2016-08-14 19:10

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by explit (Post 1512561)
Now its working. I was to fast

Still not working for me :(

coderus 2016-08-14 19:16

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by ejjoman (Post 1512580)
Still not working for me :(

are you on 2.0.2.48? patch was only tested for last version.

ejjoman 2016-08-14 19:17

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I'm on 2.0.3.14, but get exact same error message as explit had when I try to upgrade the patchmanager packages.

coderus 2016-08-14 19:23

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
maybe now? SK just uploaded one missing package :D

ejjoman 2016-08-14 19:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Yes, works now perfectly :)

pichlo 2016-08-14 19:29

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1512586)
maybe now? SK just uploaded one missing package :D

Yeey! It seems to work fine now (caveat: not tested on a real update yet, obviously).


All times are GMT. The time now is 22:44.

vBulletin® Version 3.8.8