maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [BETA] prepatch a system-wide patching system (alternative to patchmanager) (https://talk.maemo.org/showthread.php?t=100243)

clovis86 2018-03-20 08:08

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
Had to remove prepatch, was killing lipstick everytime I was clicking on weather shortcut to see next 5 days weather planned.

jakibaki 2018-03-20 10:43

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
Any help with fixing the weather-shortcut-bug would be greatly appreciated!

I wrote up what I found out so far in the "How can I help section".

UPDATE: I fixed it! I'll clean up the fix and release an update later today!

jakibaki 2018-03-20 13:59

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
I pushed the update fixing the weather-issue!

Fellfrosch 2018-03-21 10:41

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
One question:

While I'm able to make patches in form of icons, I have unfortunately no programming skills. :o

Converting existing patches which have no settings page seems to be quite easy with your skript (not tried it yet, will do on weekend).

But the part with the settings page is not clear to me and further more, how to create rpms.

So who is meant to make these? The patch creators? you? or whoever wants to?

In the end, I still think the best would be merging Prepatch and Patchmanger. But I don't know if both parties are willing to, even so you've already written, that you are.

Ancelad 2018-03-21 13:42

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
I will wait PM3 anyway

jakibaki 2018-03-21 16:59

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
Quote:

Originally Posted by Fellfrosch (Post 1542587)
But the part with the settings page is not clear to me and further more, how to create rpms.

Settings-pages are added by adding two files to specific folders. That's something an rpm can do without causing any problems and the launcher-combined-patch-repo that I linked is a pretty good example for what anyone that wants to add a settings page has to do (Adding settings-pages is fully independent from prepatch).

Building a prepatch-patch-rpm is pretty straightforward. Just follow this guide and run the mb2 ... build command from the directory of the patch. My prepatch-patch-repos can be used as reference. If you want to build an rpm for any other patch you simply have to replace the patch and one line in the spec-file.

Quote:

Originally Posted by Fellfrosch (Post 1542587)
So who is meant to make these? The patch creators? you? or whoever wants to?

Everyone who wants to!
It's pretty easy and if anyone has trouble with the process I'll gladly help.
So far I've only ported some of my patches (mostly as a reference) but as long as the original dev has no problem with it anyone can also port patches from other devs.

jakibaki 2018-04-03 20:04

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
I'll no longer be maintaining this project since the patchmanager-3-alpha uses the same method as prepach (in fact it uses or at least used to use some of my code) and is much cleaner, more feature-complete and supports already existing patches out of the box.

So I recommend using patchmanager 3 instead of prepatch! :)

EDIT: ^ once it's stable :D

coderus 2018-04-03 21:38

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
nah, not yet! :P
will be ready in a month or so

Fellfrosch 2018-04-04 09:07

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
Quote:

Originally Posted by jakibaki (Post 1542991)
I'll no longer be maintaining this project since the patchmanager-3-alpha uses the same method as prepach (in fact it uses or at least used to use some of my code) and is much cleaner, more feature-complete and supports already existing patches out of the box.

So I recommend using patchmanager 3 instead of prepatch! :)

EDIT: ^ once it's stable :D

What the hell, for what have I spent hours, no days, in creating an icon??? :p

Just kidding, great to hear, or better to say to read, that there will be only one patchsystem in future and that coderus could use the idea and code of prepatch.

coderus 2018-04-04 16:27

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
Quote:

Originally Posted by Fellfrosch (Post 1543006)
What the hell, for what have I spent hours, no days, in creating an icon??? :p

Just kidding, great to hear, or better to say to read, that there will be only one patchsystem in future and that coderus could use the idea and code of prepatch.

We can discuss using your icon for pm3? :)

Fellfrosch 2018-04-04 17:01

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
Quote:

Originally Posted by coderus (Post 1543018)
We can discuss using your icon for pm3? :)

Well, ok I've exaggerated a little bit, it was probably more like 10 Minutes of work. ;)

I think most people are already used to the patchmanager icon, so I see no reason to change it. But of course feel free to use the icon you think is the best.

peterleinchen 2018-04-04 17:56

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
Quote:

Originally Posted by Fellfrosch (Post 1543020)
...
I think most people are already used to the patchmanager icon, so I see no reason to change it. But of course feel free to use the icon you think is the best.

I like both icons.
Maybe the new one a bit more. But I guess Fellfrosch is right, one is used to the older style?

Watchmaker 2018-04-05 08:13

Re: [BETA] prepatch a system-wide patching system (alternative to patchmanager)
 
I, for one, am all for Fellfrosch's icon.


All times are GMT. The time now is 06:56.

vBulletin® Version 3.8.8