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)

pichlo 2015-03-09 15:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Another easy patch from yurs truly, Reduce the remorse timer. It installs three patches, for 2, 3 or 4 seconds. Sorry coderus, I have no idea how to go about doing just one patch with a settings widget.

All credit goes to ssahla for this post. All I have done is packaging it in an RPM.

ssahla 2015-03-09 15:43

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

Originally Posted by pichlo (Post 1463539)
Another easy patch from yurs truly, Reduce the remorse timer. It installs three patches, for 2, 3 or 4 seconds. Sorry coderus, I have no idea how to go about doing just one patch with a settings widget.

All credit goes to ssahla for this post. All I have done is packaging it in an RPM.

Thanks for the credit, though I must credit Markkyboy who first pointed me to those files on TJC! Actually, I have made a similar patch for my own use (so I don't have to tweak manually after each update), but I never got around to packaging it, so great that you did it :)

abyzthomas 2015-03-09 16:43

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

Originally Posted by coderus (Post 1463523)
you don't need qt, only qml things

Thanks. It looks like I maybe able to figure it out. I will try working on it next weekend. Weekdays are pretty much lost at work!

I am wondering though, if this patch options in the Settings App, as it is now, is going to clutter the interface, since more of us (hopefully) are coming up with patches.

I think we should think about a more efficient way. I think coderus, you are very good with interface design (I loved your Mitakuuluu design), and hopefully come up with a way to organize all the patches and its settings in 1 spot.

Does the Settings app allows us to create an additional level?

Can we add an option from the Settings home page (/System/Apps/Patches/Accounts)?

Maybe we need to have the PatchManager to load a settings.qml file for each patch (if included in the folder) and display on the page for each patch. I like this solution!

What do you guys think?

pichlo 2015-03-09 16:59

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

Originally Posted by abyzthomas (Post 1463544)
Maybe we need to have the PatchManager to load a settings.qml file for each patch (if included in the folder) and display on the page for each patch. I like this solution!

What do you guys think?

Yes, please ;)

Victorious 2015-03-09 17:17

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Can anyone make a new patch that disables the audio level warning required by EU legislature?

pichlo 2015-03-09 17:22

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
You mean like this one?

Victorious 2015-03-09 17:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Yes, it was I about it, but he and others have as 3 firmware does not work.

coderus 2015-03-10 00:03

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

Originally Posted by abyzthomas (Post 1463544)
Maybe we need to have the PatchManager to load a settings.qml file for each patch (if included in the folder) and display on the page for each patch. I like this solution!

Yes we had this idea long time ago, but nobody had time to worka t patchmanager update since :D

malkavian 2015-03-10 00:06

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

Originally Posted by coderus (Post 1463257)

Not needed but thanks. After what I done I reinstalled Advanced patches and can load 3x3 patch without problem. All is working fine now :)

romu 2015-03-11 08:02

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Patch bug: There is a problem with the patch which adds month and days of the week in the calendar. This patch makes the whole calendar to be shifted downward and then the first day event overlaps on the calendar for a small part. Please see the attached screenshot which shows the problem.

http://img11.hostingpics.net/pics/23...0311084043.jpg

Patch request 1 : Is it possible de make a patch which displays a small bell on the right of the calendar events to show the user a reminder is active?

Patch request 2 : I'm still looking for a calendar lockscreen widget, and I'm ready to give some bucks for such a patch.

pichlo 2015-03-11 09:03

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

Originally Posted by romu (Post 1463706)
Patch bug: There is a problem with the patch which adds month and days of the week in the calendar. This patch makes the whole calendar to be shifted downward and then the first day event overlaps on the calendar for a small part. Please see the attached screenshot which shows the problem.

Thanks for reporting. Now I see what myjollaph meant here. I will have a look at it when I get some time.

cizi 2015-03-11 09:09

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

Originally Posted by coderus (Post 1463257)

@coderus I did it twice and all patches work but eventview not. I tried this:

Code:

devel-su patch --dry-run -p 1 -d / -i /usr/share/patchmanager/patches/sailfishos-eventsview-controls-remastered-patch/unified_diff.patch
Password:
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/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

There is o problem with original qml but I don't know why because I reinstalled all.. :) confused :eek:

coderus 2015-03-11 09:19

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

Originally Posted by cizi (Post 1463710)
@coderus I did it twice and all patches work but eventview not. I tried this:

Code:

devel-su patch --dry-run -p 1 -d / -i /usr/share/patchmanager/patches/sailfishos-eventsview-controls-remastered-patch/unified_diff.patch
Password:
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/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

There is o problem with original qml but I don't know why because I reinstalled all.. :) confused :eek:

You need to unapply, remove and forget about old "Volume slider fix for control centers" patch.

cizi 2015-03-11 11:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
SO, I tried to remove eventsview control for u11 but during uninstallation it said "failed to remove patch" but the patch had been removed before the uninstallation, confused again :-). Now I'm not sure what is my current status.

@coderus what did you mean I should remove?

Thanks a lot!

coderus 2015-03-11 11:36

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

Originally Posted by cizi (Post 1463717)
SO, I tried to remove eventsview control for u11 but during uninstallation it said "failed to remove patch" but the patch had been removed before the uninstallation, confused again :-). Now I'm not sure what is my current status.

@coderus what did you mean I should remove?

Thanks a lot!

your screen is broken and you can't read text on it or what?

abyzthomas 2015-03-11 12:41

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

Originally Posted by pichlo (Post 1463709)
Thanks for reporting. Now I see what myjollaph meant here. I will have a look at it when I get some time.

I wasted a lot of time looking to figure out how to move the list down.

If you don't mind, here is what I had to do for the Patch: SailfishOS Calendar Show Day of Week Heading . It is in the same file. You may need to give more height, since you are adding 2 heading lines.

Code:

        header: Item {
            width: view.width
-            height: datePicker.height + menuLocation.height + dateHeader.height
+            height: datePicker.height + menuLocation.height + dateHeader.height*2
        }

        model: AgendaModel { id: agendaModel }


cizi 2015-03-11 13:15

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

Originally Posted by coderus (Post 1463718)
your screen is broken and you can't read text on it or what?

Of course not :-), display is still OK. You wrote about old "Volume slider fix for control centers".
I don't have this package installed. This package is part of eventsview control for U11 and I don't understand if you meant to remove from where, what :confused::(.. I try to reinstall eventsview control but the situation remains tha same. I will probably try to remove all patches (patchmanager included) and install all again...:o

J4ZZ 2015-03-11 18:07

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

Originally Posted by cizi (Post 1463725)
Of course not :-), display is still OK. You wrote about old "Volume slider fix for control centers".
I don't have this package installed. This package is part of eventsview control for U11 and I don't understand if you meant to remove from where, what :confused::(.. I try to reinstall eventsview control but the situation remains tha same. I will probably try to remove all patches (patchmanager included) and install all again...:o

Manually fix/edit your VolumeSlider.qml and the patch should work again... See here.

coderus 2015-03-11 18:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
you don't need to fix anything manually. reinstallation of jolla-settings-system is enough. if you *really* followed this everything should be fine. "Volume slider fix for control centers" patch is part of patchmanager-patches-base which have enabled most of users.

cizi 2015-03-12 08:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
And now give me a hint what was wrong. I did it again and now it works (I have done it three times), third attempt finally works, strange :cool:.

Thanks a lot!

coderus 2015-03-12 08:55

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
who knows? it can be anything :)

peterleinchen 2015-03-13 12:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Would it not be nice to link coderus clean removal suggestion to the first post?

pichlo 2015-03-13 13:09

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

With updates as new patches are introduced ;)

romu 2015-03-13 15:38

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Finally what I asked before could be made with this first post :
- list added patches for each Sailfish update
- mark obsolete patches
- etc

And no source code to change !

coderus 2015-03-13 16:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
https://github.com/sailfishos-patche...i/Patches-list

romu 2015-03-13 17:02

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Not so bad !!! Really great indeed :D

Saturn 2015-03-16 00:16

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
This thing here: https://together.jolla.com/question/...olla-calendar/
screams: 'I want to become a patch!' :)

Markkyboy 2015-03-19 21:01

Camera Overlay Settings
 
Hey guys,

anyone fancy creating a patch to make the camera overlay settings transparent?, see my answer to this particular question on TJC;

https://together.jolla.com/question/...s&page=1#67073

Regards,

karan5chaos 2015-03-21 06:23

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
i have a simple idea for patch ! can someone create a patch to add the backwards cover action for jolla's default music player cover ? currently it has 2 cover actions play/pause and forward .

nodevel 2015-03-21 07:30

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

Originally Posted by karan5chaos (Post 1464561)
i have a simple idea for patch ! can someone create a patch to add the backwards cover action for jolla's default music player cover ? currently it has 2 cover actions play/pause and forward .

3 cover actions? And how would you want to trigger them? :)

Leinad 2015-03-21 07:59

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

Originally Posted by nodevel (Post 1464564)
3 cover actions? And how would you want to trigger them? :)

i guess he means configurable cover actions, like it was in Mitäkuuluu for example...

karan5chaos 2015-03-21 08:38

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

Originally Posted by nodevel (Post 1464564)
3 cover actions? And how would you want to trigger them? :)

swipe from left cover edge would play previous song and i dont know if its possible to add one from bottom edge of cover :p

coderus 2015-03-21 09:06

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
swipe from bottom edge will open apps grid :p

karan5chaos 2015-03-21 15:53

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

Originally Posted by coderus (Post 1464572)
swipe from bottom edge will open apps grid :p

lol that's right . btw when would u be releasing the window switching patch you showcased on youtube ? :)

coderus 2015-03-21 16:49

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

Originally Posted by karan5chaos (Post 1464585)
lol that's right . btw when would u be releasing the window switching patch you showcased on youtube ? :)

When it will be ready. It's not in my priority list.

karan5chaos 2015-03-21 17:56

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

Originally Posted by coderus (Post 1464590)
When it will be ready. It's not in my priority list.

oh well .... hope it gets released soon :)

coderus 2015-03-21 18:04

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

R1v3r 2015-04-16 14:35

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Someone tested, that does the patches work with newest update? (early update Äijänpäivänjärvi)

Most critical is eventsview patch :P

Best Regards,
Mikko

Ancelad 2015-04-16 14:40

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

Originally Posted by R1v3r (Post 1467395)
Someone tested, that does the patches work with newest update? (early update Äijänpäivänjärvi)

Most critical is eventsview patch :P

Best Regards,
Mikko

Eventsview doesn't work, mazelock works

cvp 2015-04-16 20:41

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
5x6 & eventscontrol in attached not working


All times are GMT. The time now is 03:52.

vBulletin® Version 3.8.8