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)

J4ZZ 2015-01-07 18:27

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

Originally Posted by cizi (Post 1455723)
@coderus - can you please give me a hint.

I tried this:
Code:

[root@Jolla sounds]# patch --dry-run -p 1 -d / -i /usr/share/patchmanager/patches/sailfishos-eventsview-contro                                  ls-remastered-patch/unified_diff.patch
patching file usr/share/lipstick-jolla-home-qt5/eventsview/EventsView.qml
patching file usr/share/lipstick-jolla-home-qt5/eventsview/EventsViewList.qml
patching file usr/share/lipstick-jolla-home-qt5/eventsview/FavoritesZoneControls.qml
patching file usr/share/jolla-settings/pages/sounds/VolumeSlider.qml
Hunk #2 FAILED at 18.
1 out of 2 hunks FAILED -- saving rejects to file usr/share/jolla-settings/pages/sounds/VolumeSlider.qml.rej
patching file usr/share/jolla-settings/pages/mobilenetworking/DataConnection.qml
patching file usr/share/jolla-settings/pages/bluetooth/EnableSwitch.qml
patching file usr/share/jolla-settings/pages/gps_and_location/LocationSwitch.qml
[root@Jolla sounds]#

Then @J4ZZ explained to me that I had an error and I should do this, I did it but no luck, Do you please have any idea? Thanks in advance :-)

I replied to you that I accidently posted an already patched VolumeSlider.qml but corrected my post already. So please recheck my post and edit your VolumeSlider.qml accordingly. :)

cvp 2015-01-07 19:24

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

Originally Posted by J4ZZ (Post 1455459)
Try revisiting pages 55 to 58 and read through it.

Probably your VolumeSlider.qml is also not right...

Try removing, ausmt and all patchmanager related packages, then reinstall lipstick. And try again from scratch. :)


volumeslider is ok... i fix the problem by factory reset :D i dont like play anymore. now it works :P

cizi 2015-01-08 08:22

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

Originally Posted by J4ZZ (Post 1455802)
I replied to you that I accidently posted an already patched VolumeSlider.qml but corrected my post already. So please recheck my post and edit your VolumeSlider.qml accordingly. :)

@J4ZZ, sorry I overlooked your post. But now I edited the VolumeSlider.qml file and finally the patch works :D. Thanks a lot. I'm happy!

consono 2015-01-10 10:41

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

any news regarding the partnerscreen? As I remember there were some discussion that it's easy to customize. It would be great if we can port over the ToonsTV screen from the Stella launcher... I downloaded the apk and extracted it, but only found a .so file which seems to be related to this: libpartnerspace-rovio.so. I hoped it's qml which could've been easier to turn into an app or something, but I don't know if it's even possible to use it on Jolla this way. My instinct say not, it's probably linked against android libs, but who knows?

coderus 2015-01-10 11:52

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
partnerspacemanager developmennt is here: https://github.com/sailfishos-patche...erspacemanager

consono 2015-01-10 13:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Thanks! It seems I was right and we can not re-use the android binary...

synt 2015-01-10 22:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I tried out the partnerspacemanager and managed to get the phone app in the left ambience drawer. Didnt find any conversation about this which is suprising because its very easy to do at least for the phone app. Just make a partnerspace.json file like told in documentation in github and direct the qml to for example /usr/share/voicecall-ui-jolla/main.qml and it works. Only problem is that the pulley menu shows wrong text but it still works normally.

http://i8.aijaa.com/b/00872/13663381...0674e3f7266ac7

coderus 2015-01-11 04:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
text is not wrong. just a translation catalog missing.

Zeta 2015-01-11 21:59

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

Originally Posted by synt (Post 1456188)
Didnt find any conversation about this which is suprising because its very easy to do at least for the phone app. Just make a partnerspace.json file like told in documentation in github and direct the qml to for example /usr/share/voicecall-ui-jolla/main.qml and it works.

You're right, that's really easy to do!
I've done it for the settings app using the following code snippet:

Code:

[nemo@Jolla partnerspaces]$ cat /usr/share/partnerspacemanager/partnerspaces/partnerspace-jolla-settings/partnerspace.json
{
    "name": "Jolla Settings",
    "description": "Jolla Settings",
    "qml": "/usr/share/jolla-settings/settings.qml",
    "infos": {
        "maintainer": "Nobody"
    }
}


Zeta 2015-01-11 22:01

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

Originally Posted by coderus (Post 1456201)
text is not wrong. just a translation catalog missing.

That looks like it. Strangely the text is fine when doing it with the jolla-settings app.

Edit : not exactly, there is 90% of the text ok, but a thing like ""settings-me-add_to_favorites" is not shown correctly, so same problem here.


All times are GMT. The time now is 16:58.

vBulletin® Version 3.8.8