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)

aQUICK1 2014-12-28 15:59

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

Originally Posted by nthn (Post 1454162)
Warehouse is just a client for openrepos.

Yep i know, but installing procedure maybe different, let me say it in another way i, when i installed something from Open repos i got a few times an failed to install, while if i tried it from warehouse it installed ok or vice virsa, thats my experiance , maybe others had the same , thats why i mentioned.

Eminem 2014-12-28 17:22

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
4 Attachment(s)
Hi, i have tried this:

[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
[root@Jolla nemo]# rpm -qa|grep ausmt
ausmt-1.2.7-10.10.1.jolla.armv7hl
[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
[root@Jolla nemo]# rpm -qa|grep patch
patch-2.6.1-1.1.1.armv7h

And after that this:

pkcon install -y lipstick-jolla-home-qt5

And then a reboot and i still get the double Eventsview control patch (see picture) after a reinstall of patchmanger and all the patches (base, advanced, eventsview etc). Even the Date top in Clock region reappears (see picture). And as soon as i tap Date in top or eventsview control patch switchers - volume they disappear (see picture) and the newest Eventsview is uninstallable.

cizi 2014-12-28 17:47

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

Originally Posted by aQUICK1 (Post 1454153)
OK.u tried both ? OpenRepos.net and or Warehouse?

I've tried everything and no chance to active the patch :-(.

BTW Am I confused? Where has disappeared the patch for media control button on lockscreen?

EDIT I found it already :-). @coderus made a solo patch for testing :-) here
Quote:

Originally Posted by coderus (Post 1453280)
Lockscreen player controls v0.0.2 released for testing: https://dl.dropboxusercontent.com/u/...-1.armv7hl.rpm
Changed:
* hide controls when playes is not running
* player can be changed without lipstick restart


Baspar 2014-12-29 13:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Well I couldn't apply some patches ( Eventviews & mazelock ) so I reset my phone to scratch, and now :
  • event view is working
  • Launcher combined patch is working
  • mazelock is NOT working


When i try a dry-run patch for mazelock, I've got this error :
Code:

[root@Jolla nemo]# patch --dry-run -p 1 -d / -i /usr/share/patchmanager/patches/sailfishos-mazelock-patch/unified_diff.patch
patching file usr/share/lipstick-jolla-home-qt5/main.qml
patching file usr/share/lipstick-jolla-home-qt5/main/DeviceLock.qml
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/com/jolla/settings/system/PinInput.qml b/com/jolla/settings/system/PinInput.qml
|index 7c1d86c..3e66bdf 100644
|--- a/com/jolla/settings/system/PinInput.qml
|+++ b/com/jolla/settings/system/PinInput.qml
--------------------------
File to patch:


EDIT: problem found.
The file "/com/jolla/settings/system/PinInput.qml" don't exist (On this version ?) Just remplace it by "/usr/lib/qt5/qml/com/jolla/settings/system/PinInput.qml".

Clean method: type on terminal : "devel-su; vi /usr/share/patchmanager/patches/sailfishos-mazelock-patch/unified_diff.patch"
Once done, replace "/com/jolla/settings/system/PinInput.qml" by "/usr/lib/qt5/qml/com/jolla/settings/system/PinInput.qml" on lines 41, 43, 44 (You should rewrite it 4 times)
And problem seems solved

cizi 2014-12-29 15:55

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
As I've seen I tried to run this:

Code:

[root@Jolla nemo]# patch --dry-run -p 1 -d / -i /usr/share/patchmanager/patches/sailfishos-eventsview-controls-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

Do you have an idea what is wrong?

J4ZZ 2014-12-29 20:14

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

Originally Posted by wormdrummer (Post 1453355)
yup, I know about control center but the combined launcher doesnt work either.

Quote:

Originally Posted by malkavian (Post 1453279)
I followed this guide to remove patchmanager completely: http://talk.maemo.org/showthread.php?p=1433209#274

Then I rebooted mobile, installed patchmanager and patches again and yet I can neither load Launcher combined patches nor Control center in events view. :'(

Finally found the culprit for launcher combined patch not applying for some on 1.1.1.27.

The fix is to delete the file FolderIcon.qml in
Code:

/usr/share/lipstick-jolla-home-qt5/launcher/
before using the patch.

After that launcher-combined-patch installs just fine. ;)

Regards,

J4ZZ

J4ZZ 2014-12-29 21:10

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

Originally Posted by cizi (Post 1454283)
As I've seen I tried to run this:

Code:

[root@Jolla nemo]# patch --dry-run -p 1 -d / -i /usr/share/patchmanager/patches/sailfishos-eventsview-controls-remastered-patch/unified_diff.patch

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

Do you have an idea what is wrong?

Your VolumeSlider.qml in
Code:

/usr/share/jolla-settings/pages/sounds/
should look like this

Code:

import QtQuick 2.0
import Sailfish.Silica 1.0
import com.jolla.settings.system 1.0
import org.nemomobile.systemsettings 1.0


Slider {
    id: slider

    property string entryPath

    //% "Default ringtone volume"
    label: qsTrId("settings_sounds_la_volume")
    maximumValue: 100
    minimumValue: 1
    value: profileControl.ringerVolume

    onValueChanged: profileControl.ringerVolume = value
    onPressAndHold: cancel()

    ProfileControl {
        id: profileControl
        onRingerVolumeChanged: slider.value = profileControl.ringerVolume
    }
}

then the patch will work! ;)

Eminem 2014-12-29 21:50

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

Originally Posted by J4ZZ (Post 1454302)
Finally found the culprit for launcher combined patch not applying for some on 1.1.1.27.

The fix is to delete the file FolderIcon.qml in
Code:

/usr/share/lipstick-jolla-home-qt5/launcher/
before using the patch.

After that launcher-combined-patch installs just fine. ;)

Regards,

J4ZZ

Donīt have that folder. :(

malkavian 2014-12-29 23:47

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

Originally Posted by J4ZZ (Post 1454302)
The fix is to delete the file FolderIcon.qml

Thank you very much. It worked. :D:):cool:

J4ZZ 2014-12-30 02:12

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

Originally Posted by Eminem (Post 1454314)
Donīt have that folder. :(

I'm pretty sure you do! ;)


All times are GMT. The time now is 17:00.

vBulletin® Version 3.8.8