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)

Schturman 2014-05-20 15:17

Re: [WIP] App / Tweak: patchmanager and lipstick-pandora, a system-wide patching system + homescreen tweak
 
What about patch for changing operator name on the lockscreen ?
Can someone create this patch/plugin ? :)

EDIT:
I found here: /run/state/providers/ofono/Cellular a few files that content a relevant info (Name etc...), but i can't change them not as ROOT and not as USER :confused:
Also I can't change ownership of this files, I get error:
Code:

[root@Jolla ~]# chown root:root /run/state/providers/ofono/Cellular/NetworkName
chown: changing ownership of `/run/state/providers/ofono/Cellular/NetworkName': Function not implemented
[root@Jolla ~]#


Sfiet_Konstantin 2014-05-21 13:16

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

Originally Posted by Schturman (Post 1425994)
How much time will take you to provide new lipstick-qt5 after system update ? We need waiting for new version from you or we can install it from previous version ?

I need to have another version of lipstick. It should be quick. Don't ever reinstall old lipstick.

Quote:

Originally Posted by Schturman (Post 1426095)
Found a little bug in "Control center".
It always happens after reboot. For some reasons it not activate the "Mobile data" button, you can't use it (see first image).
In the system setting it activated and work = on/off (see second image)
In this case restart of lipstick fix it.
:)

I think it's a known bug. Not totally related to me, but embedding settings panel inside lipstick causes bugs too ...

Quote:

Originally Posted by Schturman (Post 1426102)
What about patch for changing operator name on the lockscreen ?
Can someone create this patch/plugin ? :)
[root@Jolla ~]#[/CODE]

It can be easy to go to pandora lipstick QML folder and patch here instead of tweaking ofono.

coderus 2014-05-28 09:23

Re: [WIP] App / Tweak: patchmanager and lipstick-pandora, a system-wide patching system + homescreen tweak
 
wish: provide process_to_kill option for json. some patches are useless without killing process after applying patch because of system prestart.

Sfiet_Konstantin 2014-06-01 12:41

Re: [WIP] App / Tweak: patchmanager and lipstick-pandora, a system-wide patching system + homescreen tweak
 
As I cannot maintain and manage everything, I'm thinking of moving packages to an organization on github.

I have created https://github.com/sailfishos-patches, and welcome everybody who want to contribute to join this organization. Feel free to ping me (PM, IRC, Twitter with your github nick) in order to be added !

Soon, AUSMT, patchmanager, will be moved to this organization too, and I will create new repositories / packages, in order to centralize patches.

Sfiet_Konstantin 2014-06-01 15:38

Re: [WIP] App / Tweak: patchmanager and lipstick-pandora, a system-wide patching system + homescreen tweak
 
Right ! All packages have been migrated. The first post will be changed when I generate new packages and push them to openrepos.

In short: https://github.com/sailfishos-patches is the place to be. You will find
  • patchmanager source
  • ausmt source
  • base patches
  • advanced patches (old pandora-box)

I might add other patch collections in the future, but you can do too ! Feel free to contribute !

Sfiet_Konstantin 2014-06-01 18:22

Re: [WIP] App / Tweak: patchmanager and lipstick-pandora, a system-wide patching system + homescreen tweak
 
And finally, new arch implies new release. This release don't contain exciting stuff, as I don't had time to implement more patches. But it contains some features in patchmanager (like uninstalling a patch even if the package containing it has been removed, or relaunching prestarted services).

Grab new patchmanager at OpenRepos.

Pandora-box (and stock patches) got lost during transition to the new layout system. Please now use sailfishos-patches-XXX. Before uninstalling old packages, be sure to unapply patches too.

Grab new packages at OpenRepos :)

Boxeri 2014-06-01 19:01

Re: [WIP] App / Tweak: patchmanager and lipstick-pandora, a system-wide patching system + homescreen tweak
 
Just to make sure.

I should unapply all the patches, uninstall them all, and then install the new ones sailfishos-patch-xxx? They cannot be mixed?

Timpaxi 2014-06-01 19:36

Re: [WIP] App / Tweak: patchmanager and lipstick-pandora, a system-wide patching system + homescreen tweak
 
What am i doing wrong.. I unapplied all patches, deleted and installed new ones. But now when i'm applying patches, i can't restart preloaded services...

fravaccaro 2014-06-01 21:11

Re: [WIP] App / Tweak: patchmanager and lipstick-pandora, a system-wide patching system + homescreen tweak
 
Hello everybody,

I'm trying to uninstall the former pandora-eventview-controls, which came as stand-alone patch on OpenRepos. Through zypper I saw i have two builds, 0.1.1 and 0.2.1 but I'm not able to remove neither of them.

I tried to remove them both with patchmanager installed and uninstalled, both of them were unsuccessful.
Code:

Error: Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.1tDGlD: line 1: /sbin/patchmanager: No such file or directory
error: %preun(pandora-eventview-controls-0.1-1.armv7hl) scriptlet failed, exit status 127
error: pandora-eventview-controls-0.1-1.armv7hl: erase failed

Error: Subprocess failed. Error: RPM failed: error: %preun(pandora-eventview-controls-0.2-1.armv7hl) scriptlet failed, exit status 2
error: pandora-eventview-controls-0.2-1.armv7hl: erase failed

How can I overcome this?

Sfiet_Konstantin 2014-06-01 22:11

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

Originally Posted by fravaccaro (Post 1427765)
Hello everybody,

I'm trying to uninstall the former pandora-eventview-controls, which came as stand-alone patch on OpenRepos. Through zypper I saw i have two builds, 0.1.1 and 0.2.1 but I'm not able to remove neither of them.

I tried to remove them both with patchmanager installed and uninstalled, both of them were unsuccessful.
Code:

Error: Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.1tDGlD: line 1: /sbin/patchmanager: No such file or directory
error: %preun(pandora-eventview-controls-0.1-1.armv7hl) scriptlet failed, exit status 127
error: pandora-eventview-controls-0.1-1.armv7hl: erase failed

Error: Subprocess failed. Error: RPM failed: error: %preun(pandora-eventview-controls-0.2-1.armv7hl) scriptlet failed, exit status 2
error: pandora-eventview-controls-0.2-1.armv7hl: erase failed

How can I overcome this?

Woow, that's not nice. For patchmanager issue, the best is to create an empty file in /sbin/patchmanager (like touch /sbin/patchmanager).

For the eventsview-control, grab the newer version from openrepos that should be uninstallable. If this doesn't work, you should use:

Code:

rpm -e --noscripts pandora-eventview-controls
that should remove the package without invoking the script.


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

vBulletin® Version 3.8.8