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)

coderus 2014-12-24 11:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
ok, now try eventsview 0.0.9 patch version: https://openrepos.net/content/coderu...ettings-applet
should fix missing volume slider :)

coderus 2014-12-24 12:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
released v0.0.10 with fixed mobile networking switch: https://openrepos.net/content/coderu...ettings-applet

vitaminj 2014-12-24 12:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@coderus - great work, thanks! Really nice and configurable as well!

Can I make a feature request to have an option to put the controls at the bottom of the screen so that any notifications on the lock screen line up with the notifications when the user opens the events view?

coderus 2014-12-24 12:34

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

EDIT: no, that's not possible

mautz 2014-12-24 13:09

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

Originally Posted by coderus (Post 1453649)
@mautz no it works with any.

Couldn't get it to work with patchmanager. I've patched the file manually, now it works.

vitaminj 2014-12-24 13:43

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

Originally Posted by coderus (Post 1453725)
@vitaminj --okay--

EDIT: no, that's not possible

Oh well, thanks for looking!

coderus 2014-12-24 14:37

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Eventsview patch v0.0.11 released. Added settings to choose icons columns count. https://openrepos.net/content/coderu...ettings-applet

coderus 2014-12-24 15:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
SailfishOS Eventsview controls patch updated to v0.0.12. Fixed Sailfish bugs and added one more option. https://openrepos.net/content/coderu...ettings-applet

cizi 2014-12-24 16:25

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

Originally Posted by coderus (Post 1453708)
unapply and delete new patch then
install this: https://dl.dropboxusercontent.com/u/...-1.armv7hl.rpm
then unapply it and delete
and install new patch again :)


I forgot to uninstall because I did't read this post. How can I fix it?

andreas1 2014-12-24 17:07

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
as i try to install from WH this version 12, it says internal error, installation aborted by user. what :D

abyzthomas 2014-12-24 17:41

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

Originally Posted by andreas1 (Post 1453754)
as i try to install from WH this version 12, it says internal error, installation aborted by user. what :D

Same here. Something wrong with the file maybe?

cizi 2014-12-24 18:03

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

Originally Posted by cizi (Post 1453751)
I forgot to uninstall because I did't read this post. How can I fix it?

It means that I install the new version on the previous version and I have something in between old and new version. I see the "Eventsview controls" in settings but the patch is not activated in patchmanager and is not possible to activate it :-(.

coderus 2014-12-24 18:14

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
try this one: https://dl.dropboxusercontent.com/u/...-1.armv7hl.rpm

abyzthomas 2014-12-24 18:28

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

Originally Posted by cizi (Post 1453760)
It means that I install the new version on the previous version and I have something in between old and new version. I see the "Eventsview controls" in settings but the patch is not activated in patchmanager and is not possible to activate it :-(.

If you look back in the thread there are several suggestion on how to fix this situation. They may workout better for you.
I tried everything, but finally here is what I had to do to get out of this situation. Try it at your own risk!

I had to remove the ausmt and patchutils, in addition to patches and patchmanager before it successfully installed again.

To list what is installed, try following:

[root@Jolla nemo]# rpm -qa|grep patch
jolla-settings-patchmanager-0.4.5-10.15.1.jolla.armv7hl
patch-2.6.1-1.1.1.armv7hl Do not remove this one.
patchutils-0.3.3-10.1.1.jolla.armv7hl
patchmanager-0.4.5-10.15.1.jolla.armv7hl
sailfish-browser-textselection-patch-0.0.1-2.noarch

Again, DO NOT REMOVE patch-2.6.1-1.1.1.armv7hl



[root@Jolla nemo]# rpm -qa|grep ausmt
ausmt-1.2.7-10.10.1.jolla.armv7hl

Execute following command to remove. Make sure the version numbers matches what you have installed on your system, from the listing from above commands.

[root@Jolla nemo]#
rpm -e patchmanager-0.4.5-10.15.1.jolla.armv7hl sailfish-browser-textselection-patch-0.0.1-2.noarch patchutils-0.3.3-10.1.1.jolla.armv7hl jolla-settings-patchmanager-0.4.5-10.15.1.jolla.armv7hl ausmt-1.2.7-10.10.1.jolla.armv7hl

After removing everything but patch-2.6.1-1.1.1.armv7h:

[root@Jolla nemo]# rpm -qa|grep patch
patch-2.6.1-1.1.1.armv7h

Now go to warehouse and install the latest jolla-settings-patchmanager and patches.

aQUICK1 2014-12-24 20:12

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

Originally Posted by abyzthomas (Post 1453762)
If you look back in the thread there are several suggestion on how to fix this situation. They may workout better for you.
I tried everything, but finally here is what I had to do to get out of this situation. Try it at your own risk!

I had to remove the ausmt and patchutils, in addition to patches and patchmanager before it successfully installed again.

To list what is installed, try following:

[root@Jolla nemo]# rpm -qa|grep patch
jolla-settings-patchmanager-0.4.5-10.15.1.jolla.armv7hl
patch-2.6.1-1.1.1.armv7hl Do not remove this one.
patchutils-0.3.3-10.1.1.jolla.armv7hl
patchmanager-0.4.5-10.15.1.jolla.armv7hl
sailfish-browser-textselection-patch-0.0.1-2.noarch

Again, DO NOT REMOVE patch-2.6.1-1.1.1.armv7hl



[root@Jolla nemo]# rpm -qa|grep ausmt
ausmt-1.2.7-10.10.1.jolla.armv7hl

Execute following command to remove. Make sure the version numbers matches what you have installed on your system, from the listing from above commands.

[root@Jolla nemo]#
rpm -e patchmanager-0.4.5-10.15.1.jolla.armv7hl sailfish-browser-textselection-patch-0.0.1-2.noarch patchutils-0.3.3-10.1.1.jolla.armv7hl jolla-settings-patchmanager-0.4.5-10.15.1.jolla.armv7hl ausmt-1.2.7-10.10.1.jolla.armv7hl

After removing everything but patch-2.6.1-1.1.1.armv7h:

[root@Jolla nemo]# rpm -qa|grep patch
patch-2.6.1-1.1.1.armv7h

Now go to warehouse and install the latest jolla-settings-patchmanager and patches.

When trying to list whats installed with command :[root@Jolla nemo]# rpm -qa|grep patch i get result : rpm : one type of query/verify may be performed at the time
so no list of results, any hints on how to continiue?:o

ps wich patch u mean by patch-2.6.1-1.1.1.armv7hl?

Sfiet_Konstantin 2014-12-24 22:18

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

I have released two bugfixes for patchmanager and friends. You should be able to profit from patchmanager as a separate app now. AUSMT also remove patches properly, even if you uninstall patches.

For those having issues, I recommand installing new AUSMT and trying removing the patch again.

Merry christmas !

abyzthomas 2014-12-25 00:01

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

Originally Posted by aQUICK1 (Post 1453767)
When trying to list whats installed with command :[root@Jolla nemo]# rpm -qa|grep patch i get result : rpm : one type of query/verify may be performed at the time
so no list of results, any hints on how to continiue?:o

ps wich patch u mean by patch-2.6.1-1.1.1.armv7hl?

Are you sure you are using -qa (small letters QA), NOT -ga?

aQUICK1 2014-12-25 00:20

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

Originally Posted by abyzthomas (Post 1453782)
Are you sure you are using -qa (small letters QA), NOT -ga?

Oops got it, typo, bad eyes , thnx:D

asa 2014-12-25 07:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Anyone else getting this warning?
https://public.bn1304.livefilestore....1223233930.jpg

I have the lastest version.

kibet85 2014-12-25 09:09

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Is it ok to upgrade patch manager , ausmt and jolla settings patch manager from warehouse?...or one has to remove old ones and install these new ones?

andreas1 2014-12-25 09:15

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

Originally Posted by andreas1 (Post 1453754)
as i try to install from WH this version 12, it says internal error, installation aborted by user. what :D

this error is now gone, the patch can be installed... but when applying it in PM it says that "failed to install patch"

cizi 2014-12-25 10:18

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I've resolved my conflicts finally and now if I want to apply patch (Patch: Eventsview controls. With settings applet.) I always get the same message "failed to install patch" :-). What I did wrong?

coderus 2014-12-25 11:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@cizi did you updated to lates patchmanager?

coderus 2014-12-25 12:48

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Eventsview patch v0.0.14 released. Fixed vertical layout of buttons. https://openrepos.net/content/coderu...ettings-applet Let it be LAST update please :)

andreas1 2014-12-25 13:38

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
as I removed the advanced patches, i got this eventview 14 installed. seems to work!

Dear coderus, would u want to make a patch for the app icons, that works the same way as this eventview, meaning, you can set it yourself how many icons u want on one row, also keeping the normal size, so kind of the "Padding" between icons would get smaller? ;)

coderus 2014-12-25 14:24

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

Originally Posted by andreas1 (Post 1453843)
Dear coderus, would u want to make a patch for the app icons, that works the same way as this eventview, meaning, you can set it yourself how many icons u want on one row, also keeping the normal size, so kind of the "Padding" between icons would get smaller? ;)

no, i don't like it :)

aQUICK1 2014-12-25 14:30

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

Originally Posted by coderus (Post 1453838)
Eventsview patch v0.0.14 released. Fixed vertical layout of buttons. https://openrepos.net/content/coderu...ettings-applet Let it be LAST update please :)

Thnx for all ur hard work , its all working like a charm, no hick ups or bugs yet :D

ps. small donation ont he way, cheers and greetz from NL

ZioBilly 2014-12-25 14:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
since now we have a lot of patches coming from different developers, wouldn't be good to create a new thread in which in the first post are listed all the patches with a link to their openrepos page? just to keep it more tidy ;)
And keep this thread to discuss about patchmanager itself?

coderus 2014-12-25 14:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@ZioBilly we will create a wiki for all availbale patches in future

ZioBilly 2014-12-25 15:05

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
good, it would be great!

synt 2014-12-25 15:07

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Events view controls should be included in official releases IMO! Great work.
Just one thing I'd change is that the controls would be in the center and notifications on top. I looked at the patch and tried something but with my minimal experience I only managed to get everything overlapping on top of each other on the top :rolleyes:

Any help?

coderus 2014-12-25 15:13

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@synt events is list. we can't place it "to center", because list is scrolling, and there are no center at all :D
by same reason we can't put it to bottom, when list is empty bottom at top, when list is filled bottom is not visible before you scrolling it :)

nodevel 2014-12-25 15:37

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

Originally Posted by coderus (Post 1453857)
@synt events is list. we can't place it "to center", because list is scrolling, and there are no center at all :D
by same reason we can't put it to bottom, when list is empty bottom at top, when list is filled bottom is not visible before you scrolling it :)

What about using bottom DockedPanel, then? It works quite well for controls in the Media Player.

By the way, have you thought about making it landscape-friendly (letting the sliders stretch and adjusting the number of items in the grid row when in landscape)?

Just a suggestion :)

coderus 2014-12-25 17:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@nodevel of course we can remake whole eventsview page, but no, not this time :)

nodevel 2014-12-25 18:02

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

Originally Posted by coderus (Post 1453869)
@nodevel of course we can remake whole eventsview page, but no, not this time :)

Can I fork it then?

My first suggestion was just an idea to solve the 'move it to bottom' problem, not something I would need.
IMHO the second one is just a matter of ~2 lines of code, nothing to re-make.

With Math.floor(number of columns times the landscape/portrait ratio), one wouldn't even have to make any additional setting.

PS: Not sure how you feel about pull requests.

coderus 2014-12-25 18:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@nodevel you can create patch with different name based on my patch.
Pull request to extend current patch is ok, not for a different patch changing everything :D
and in landscape enevtsview working crazy, i didn't investigated it, just used Screen.width instead of parent width as workaround

ZioBilly 2014-12-25 19:36

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Can someone tell me where to find some documentation to learn how to develop patches?

coderus 2014-12-25 19:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
i'm generating patches from git commits

Baspar 2014-12-25 22:00

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Mmmh.. Some problems on my side.
Every installation passes, but it seems impossible to activate it in PM (setting or ui)
Is there any possibility to have a detailled output of the problem by patchmanager ? ( some journal or else.)

asa 2014-12-25 22:08

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

Originally Posted by asa (Post 1453811)
Anyone else getting this warning?
https://public.bn1304.livefilestore....1223233930.jpg

I have the lastest version.

Am I the only one having this?



@Baspar
Have you tried this
http://talk.maemo.org/showpost.php?p...&postcount=559


All times are GMT. The time now is 18:05.

vBulletin® Version 3.8.8