Ask / Submit
10

Faster Pulley Menues [answered]

asked 2015-11-25 19:25:15 +0200

hoschi gravatar image

updated 2015-11-26 15:44:27 +0200

Hello!
The new Pulley Menues of Sailfish OS > 1.9 are showing animations after selection, which makes the actual selection itself slower. Nodevel has written a patch for Patchmanager, which removes the animation. This doesn't work anymore with Sailfish OS 2.0 because the patch modifies a QML-File and this file was changed at the very same hunk, to make the animations a little bit faster in the new 2.0.0.10 release.

I've modified the patch and it works again. While I can code C/C++ I'm not experienced with Sailfish/Mer-Development, I just want repackage the RPM with the new patch. To my suprise RPM seems to be not a plain archive like a package from Archlinux's Pacman (xz compressed archives) or Slackware's pkgtool (tar.gz archives). I even cannot express in polite words, how disgusting RPM is.

Can you help me?
- Tell me trick to immediatley modify the contents of a RPM v3.0 bin ARM. I'm running a plain Archlinux and the SailfishOS-SDK is installed. I just don't want install any foreign rpm-tools from random sources, including AUR.
- Or can you do that for me
- Or can you tell me a very straight way (SailfishOS-SDK is installed) to create a valid-patch-rpm for patchmanager

Thank you

diff for PulleyMenuBase.qml
metadata for patchmanager

// UPDATE
Thanks to equeim for his brief and working explanation of the needed steps and the sample SPEC. Here is the RPM with the patch for patchmanager which removes the slow animations:
http://www.ttyhoney.com/sailfish/sailfishos-patch-faster-pulley-menus-0.2-3.noarch.rpm

  1. Install Patchmanager, if not installed
  2. Install the Patch
  3. Enable the patch in Patchmanager
  4. Settings -> Uitilties -> Restart Homescreen OR reboot your Jolla

Notes:
You must remove the patch before upgrading SailfishOS (patch is possible incompatible to newer releases)! Use at your own risk.

Thank you!

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by molan
close date 2016-08-07 17:09:02.344581

2 Answers

Sort by » oldest newest most voted
4

answered 2015-11-25 21:51:23 +0200

equeim gravatar image

You can use my patch as template: https://github.com/equeim/sailfishos-patch-disable-wake-up-lockscreen-animation

Just replace unified_diff.patch, patch.json and package name in .spec file.

  1. Run MerSDK virtual machine
  2. Connect to it via ssh: ssh -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost
  3. Navigate to directory, containing /patch and /rpm (/home/src1/ is ~/ with default installation)
  4. Build package: mb2 -t SailfishOS-i486 build
edit flag offensive delete publish link more

Comments

Thank you. I will do that tomorrow!
// edit
Works!

hoschi ( 2015-11-25 22:06:06 +0200 )edit
0

answered 2015-11-25 21:08:38 +0200

elastic gravatar image

https://openrepos.net/content/ancelad/patch-return-old-pulley-menu
cheers

edit flag offensive delete publish link more

Comments

I'm sorry, but I want to stick with the new style.

hoschi ( 2015-11-25 22:06:59 +0200 )edit

Question tools

Follow
4 followers

Stats

Asked: 2015-11-25 19:25:15 +0200

Seen: 673 times

Last updated: Nov 26 '15