This is a patch for the lockscreen to show the upcoming events.on The view is fully configurable using the settings. Version 0.4 only works with sailfish 1.1.9.18 Usage: Install and then apply patch through patch manager. Note: Landscape orientation needs fixing. 0.4-1 has a bug which scroll all events to the end, this is fixed in 0.4-2. Source: https://github.com/anigaj/lockCalPatch
Attachment | Size | Date |
---|---|---|
lockscreen-upcoming-0.1-1.armv7hl.rpm | 5.26 KB | 06/07/2015 - 08:31 |
lockscreen-upcoming-0.2-1.armv7hl.rpm | 11.25 KB | 03/08/2015 - 15:18 |
lockscreen-upcoming-0.3-1.armv7hl.rpm | 12.21 KB | 04/09/2015 - 15:17 |
lockscreen-upcoming-0.4-1.armv7hl.rpm | 12.72 KB | 22/09/2015 - 02:02 |
lockscreen-upcoming-0.4-2.armv7hl.rpm | 12.75 KB | 23/09/2015 - 04:10 |
lockscreen-upcoming-0.5-1.noarch.rpm | 12.87 KB | 29/10/2015 - 05:00 |
lockscreen-upcoming-0.6-1.noarch.rpm | 14.03 KB | 12/04/2017 - 19:49 |
lockscreen-upcoming-0.7-1.noarch.rpm | 18.02 KB | 27/09/2017 - 08:21 |
lockscreen-upcoming-0.8-1.noarch.rpm | 22.2 KB | 09/11/2018 - 20:57 |
lockscreen-upcoming-0.9-1.noarch.rpm | 22.59 KB | 16/01/2019 - 09:17 |
lockscreen-upcoming-1.0-1.noarch.rpm | 22.85 KB | 29/04/2021 - 08:15 |
1.0
- Compatible with Sailfish 4.0.1
- Changed number of events in settings to text box input
0.9
- Compatible with Sailfish 3.0.1 weather on lockscreen changes (Thanks Przemek for the code contributed)
- Size of box used to move by 1 pixel now relative in order to scale for higher resolution devices
0.8
- Compatible with Sailfish 3.0
0 7
- Bug fix - content not scrolling and out of frame (https://github.com/anigaj/lockCalPatch/issues/2)
0.6
- Implemented setting to change position
- Additional required files are now installed rather than patched
0.5
- Stop animations on lockscreen exit (Thanks Ajalkane for the code contributed)
- Built with noarch
0.4
- Compatible with sailfish version 1.1.9.28
- Added scrolling text for long event names
0.3
- Added message for no events, option to show is in settings
- Fixed bug where finished event would not be removed
- Duplicate events issue fully fixed
- Width is now fraction of screen width for use on non-jolla phones
- Updated uninstall scripts and added dependencies
- Resolve conflict with battery and status indicators on lockscreen patch
0.2
- Added settings
- Fixed duplicate event issue
0.1
- First build.
Comments
anig
Wed, 2015/08/12 - 20:38
Permalink
The patch modifies Lockscreen.qml and adds the following files: ShowCalEvents.qml, BorderRectangle.qml, LockEventItem.qml and LockTimeLabel.qml. Coderus posted this suggestion on TMO for someone who had a similar issuue:
use this command to remove
patch -R -p 1 -d / -i /var/lib/patchmanager/ausmt/patches//unified_diff.patch
and skip already unapplied entries. Then you can reapply this patch as usual.
objectifnul
Fri, 2015/09/04 - 23:31
Permalink
Probably
patch -R -p 1 -d / -i /var/lib/patchmanager/ausmt/patches/lockscreen-upcoming/unified_diff.patch
instead of
patch -R -p 1 -d / -i /var/lib/patchmanager/ausmt/patches//unified_diff.patch
Right?
anig
Sat, 2015/09/05 - 01:15
Permalink
Yes
cocovina
Thu, 2015/08/27 - 15:10
Permalink
I had the same problem. I ran the command above, and now I see only a blank lock-screen with the wallpaper (of course rebooted). Can not go to launcher - nothing! Any idea?
ronny_b
Tue, 2015/08/04 - 20:26
Permalink
Hello,
where from the file "/usr/share/lipstick-jolla-home-qt5/lockscreen/BorderRectangle.qml" comes? This should be changed by the patch.
With me this file does not exist.
Thanks Ronny.
anig
Wed, 2015/08/05 - 08:12
Permalink
It is a new file that is created when the patch is applied.
ronny_b
Wed, 2015/08/05 - 17:19
Permalink
Ok.
When I select "Apply patch" patchmanager shows the following error "Failed to install patch". How can I more exactly localize this?
Thanks!
Ronny
anig
Thu, 2015/08/06 - 10:42
Permalink
The only file it is modifying is usr/share/lipstick-jolla-home-qt5/lockscreen/Lockscreen.qml
Have you manually changed anything in it?
ronny_b
Thu, 2015/08/06 - 20:11
Permalink
This file is from 2015/07/03 with a length of 13385 bytes.
anig
Fri, 2015/08/07 - 08:33
Permalink
General advice from TMO when you have patch issues:
unapply all applied patches which can be unapplied
go to terminal and write following:
devel-su
pkcon remove ausmt
cd /var/lib
rm -rf patchmanager
pkcon install lipstick-jolla-home-qt5
Then you need to install patchmanager and all patches again from warehouse. It should work.
ronny_b
Fri, 2015/08/07 - 17:17
Permalink
I have uninstalled everything again, according to your instructions. Then I have also uninstalled all patches which existing then and restart the Jolla.
Then I have installed only the "patchmanager" and your patch. By the call I got the error message again "Failed to install patch".
If I want to deinstall your patch, unfortunately, always with ' rpm-e - noscripts lockscreen-upcoming ', because I get otherwise the following mistake:
zypper remove lockscreen-upcoming
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following package is going to be REMOVED:
lockscreen-upcoming
1 package to remove.
After the operation, 38.2 KiB will be freed.
Continue? [y/n/?] (y): y
Removing lockscreen-upcoming-0.2-1 ...................................................................................................................................................[error]
Removal of (5640)lockscreen-upcoming-0.2-1.armv7hl(@System) failed:
Error: Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.MtoTU8: line 1: //: is a directory
/var/tmp/rpm-tmp.MtoTU8: line 2: patchmanager: command not found
error: %preun(lockscreen-upcoming-0.2-1.armv7hl) scriptlet failed, exit status 127
error: lockscreen-upcoming-0.2-1.armv7hl: erase failed
Ronny
ronny_b
Mon, 2015/08/10 - 19:38
Permalink
Hello,
now, I could solve the problem. In the directory '/usr/share/lipstick-jolla-home-qt5/lockscreen/' were still files of the old version of the patch.
Ronny
damoleon
Fri, 2015/09/25 - 13:41
Permalink
can you precise which one ? I have the exact same problem, cheers
anig
Wed, 2015/08/12 - 20:31
Permalink
Good to hear you got it working. I will try to add additional checks to the install/uninstall scripts to make it smoother in the future.
sanktus
Tue, 2015/08/04 - 17:21
Permalink
Hi, i cant remove this patch. I get this message from the warehouse app:
Transaction /4487_ecdecbb
Status: cannot-remove-system-package
Extra details:
Subprocess failed. Error: RPM failed /var/tmp/rpm-tmp.daGg3G: line1://: is a directory
error: 0x44bdd240reun(lockscreen-upcoming-0.2-1.armv7hl) scriptlet failed, exit status 2
error: lockscreen-upcoming-0.2-1.armv7hl: erase failed
The patch do not work to 100%. I have the settings, but no events at my lockscreen.
Thats why i try to remove it. Mfg sanktus
anig
Wed, 2015/08/05 - 08:32
Permalink
You need to install patchmanager from here https://openrepos.net/content/sfietkonstantin/patchmanager and then apply the patch through there.
If you are still having issues removing try the following:
1) open terminal application
2) enter this command in the window
pkcon remove lockscreen-upcoming
ronny_b
Tue, 2015/08/04 - 20:18
Permalink
Hello,
rpm -q --scripts <Package> shows the Script
rpm -e --noscripts <Package> only remove the package
Ronny
feldbaum
Mon, 2015/08/03 - 18:19
Permalink
Very nice. Especially the settings are very usefull and functional.
hpehto
Tue, 2015/07/07 - 17:48
Permalink
Sorry Anig. Your patch works fine. Problem seems to be in Sailfish OS Calendar patch. Didnt check carefully enough.
hpehto
Tue, 2015/07/07 - 09:11
Permalink
Very useful patch thanks. But I cannot create a event that lasts more than one day.
Schturman
Mon, 2015/07/06 - 17:46
Permalink
Cool and useful patch. Thanks
Pages