Patch: Event screen date & text (for Weather users)

Rating: 
5
Your rating: None Average: 5 (5 votes)

Enlarge City, Temperature, Date and Calendar event size, add custom text or auto-custom text and show uptime on event screen. It also can show emoji from your custom text (at least emoji's from Dolphin keyboard) ;)

Added requires packages curl and whois (https://openrepos.net/content/feathersmcgraw/whois) for Jolla 1 and C.
Restart lipstick (homescreen) once after applying/removing patch.

Translation you can do here: https://www.transifex.com/patch_localization/date_text_size_translation/...

How to use:
Apply patch->restart lipstick-> Go to Settings -> Time and Date -> Configure it as you want -> See result on Event screen.

NOTES:
The uptimer implemented in a little bit ugly way.
It use systemd timer that every one min start service and service start simple script that read uptime and insert result to qml...
If someone know better way to show uptime in qml and can explain/help me to implement it, will be nice.

v0.3-9
- For v3.0.0.8 and above.

v0.3-8
- Support both PM2 and PM3.

v0.3-7
- For 2.2.0.29 and above.

v0.3-6
- For 2.1.3.7 and above.

v0.3-5
- For 2.1.2.3 and above.

v0.3-4
- Added option to see the time and date of special city (auto-updated every one minutes).
- Restart lipstick after applying patch.

v0.3-3
- Fix for network name if name have spaces.

v0.3-2
- Added option to show IP address with network name.
- Added requires packages curl and whois (https://openrepos.net/content/feathersmcgraw/whois) for Jolla 1 and C.
- Revision of all scripts.

v0.3-1
- For v2.1.1.12 and above.

v0.3-0
- Changed icon for .txt files inside FilePicker.

v0.2-9
- Added option to choose from which dir start to search.
- Added option to show hidden files.
- Added files filter to see only *.txt in the FilePicker.
- Removed bottom basel in the FilePicker.

v0.2-8
- Added Portuguese translation.

v0.2-7
- gcc removed from Requires.
- regular build for tablet and phone.

v0.2-5
- Added auto-changing space between City name and description.
- Changed Shuffle behavior.
- noarch build.

v0.2-4
- Added option to show weather description under city.
- Updated Russian translation.

v0.2-3
- Added option to change quantity of shown All day and Timed events.
- Added Russian translation.

v0.2-2
- Added Auto Custom text, see how to use in description of patch.

Beware, use it on your own risk !!!

Donation are welcome :)

Screenshots: 
Application versions: 
Changelog: 

- For v3.0.0.8 and above.

Comments

gedeon's picture
Schturman's picture

Thanks, I checked your file... Sorry but it completely different and for now I can't do it. Maybe it better to ask the Meecast creator to add option for enlarging city name and temperature.

olf's picture

From a Jolla 1: http://pastebin.com/akjtnWW9 (on first sight, the same as gedeon's upload)

Suggestion:
You may change "Event screen date & text" to not altering /usr/lib/qt5/qml/Sailfish/Weather/WeatherBanner.qml with its default settings.
Then it would be the user's choice to activate those settings, which conflict with meecast-eventview.

Schturman's picture

I don't know how to do it inside qml (if it passible at all), because files patched on apply patch inside patchmanager setting. But I can create package that through installation will check if WeatherBanner.qml changed by meecast and will change pacth file that compatible with this (without city enlarge like in first version). But in this case if you will decide to swap to Weather app and use it on event screen and want City enlarge you should reinstall package...

P.S. Nooo, I thinking about this and decided not to do this...
Situation:
1. You have weather app
2. Applied latest patch with City enlarge
3. You decided install and use Meecast
4. Meecast will override patched WeatherBanner.qml
5. Now you have problem to unapply previously applied patch.

It better if will just use the v0.1-1.

olf's picture

Oh, I see.  Well, then I cannot think of any possible technical solution.
But this implies that it would make sense to address this issue organizationally.
The most simple and best solution is IMO to upload v0.1-1 to Warehouse again as a new Patch e.g. called "Event screen date & text - feature reduced version compatible with meecast-eventview", to re-enable SailfishOS users with meecast-eventview installed to install "Event screen date & text" from Warehouse.  Furthermore, this would allow you to properly distribute updates to both versions via Warehouse, in case a SailfishOS update makes an update of "Event screen date & text" necessary.  Please, please. ;)
P.S.: I think (/ hope) that quite some SailfishOS users exchanged Foreca weather for MeeCast, meecast-deamon and meecast-eventview.
P.P.S.: Note, that it is only the component "Meecast Event View" populating WeatherBanner.qml AFAICS, not the l"MeeCast for SailfishOS" proper.  You may want to correct that in the changelog above.

olf's picture

Thank you so much for Patch: Event screen date & text (for Meecast-event users)!
Working nicely, looking really good, and perfectly built: Throwing out the other version while installing.

Schturman's picture

Yes, also thinking about this as a last solution. It's possible, wait for new version with new features ;)

gedeon's picture

I just wanted only larger date size :)

olf's picture

Me, too.  The look of SFOS's Eventsview with MeeCast, meecast-eventview and "Event screen date & text" v0.1-1 installed is absolutely O.K..  IMO, there is nothing wrong with the default text sizes of MeeCast and meecast-eventview, and gedeon seems to feel the same.

We both would just like to have the recent "Event screen date & text" working well with meecast-eventview installed, again (as v0.1-1 did and still does).

Schturman's picture

for this try to install first version.

gedeon's picture

Thank you, it is really working ;) .

olf's picture

@schturman: Thanks, the idea and your screenshots above are really nice, the rpm installs in Warehouse and the patch applies in Patchmanager flawlessly, but it does not do anything on my Jolla 1 phone under SFOS 2.0.2.51. Lipstick was restarted, even rebooting and unapplying and reapplying the patch did not help.

EDIT: Oops, my bad. Thanks for your replies, obviously I just did not find the settings (which are in Settings --> Time & Date).
Kudos for another useful and beautiful Patch.

Schturman's picture

Apply patch->restart lipstick-> Go to Settings -> Time and Date -> Configure it as you want -> See result on Event screen.

It tested and work on all my devices Jolla1/C and Tablet.

babba22's picture

Did you configure it in settings? Settings > Time and Date.

Works for me on jolla 1, SFOS 2.0.2.51

Pages