![]() |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
shutdown - remove battery - wait - return battery - power!
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Did it before you posted and still no luck. :(
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
1) Unapply all patches 2) pkcon install lipstick-jolla-home-qt5 3) Shutdown/turn on |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Stupid patch? :D
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
It looks a little small on Nexus 5. I made it a litle bigger (600px). Maybe if you can fix it so it scales according to the screen size would be nice. Only patch on my N5 since my Conference Call patch sounds bad on N5 after merging calls. Thanks! |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Another stupid one https://openrepos.net/content/ancela...ld-pulley-menu
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
5) Profit! |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Updated my patches for calendar events on lockscreen and upcoming events in calendar cover.
I'm working on implementing landscape support for the lockscreen patch. The problem is I'll need to move clock to the left. This means that if another lockscreen patch is also made, e.g. meecast, and they do the same then the two will conflict. The only alternative I can think of is to make a separate patch to move the clock and then that becomes a requirement for patches that want to put info onto the lockscreen. Anybody got any better ideas? |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
@anig: there is already a space conflict with your patch and the @ancelad analog clock patch. So yes, I think we need a "lockscreen layout manager" patch to handle and distribute lockscreen space.
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
@okourkoulos
what about your problem? Is it solved? |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
1 Attachment(s)
Quote:
Can anything be done with the portrait look? It looks... odd, to put it softly: Attachment 37728 (Yes, I know, blame Jolla, not you, but since you are fixing it already... :)) |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
Sorry! |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
@pichlo
that's ok? http://i.piccy.info/i9/9e642ede8c696..._10_02_500.jpghttp://i.piccy.info/a3/2015-09-22-10...00x281-r/i.gif @okourkoulos great! |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
I can make some settings for analog clock, for example X-position, Y-position, size. Probably it will solve issue with @anig's patch.
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Hey guys,
I finally managed to produce a patch (.rpm file) but I get an error when installing the file. "Problem with installing -name-of-patch" - How can I troubleshoot to find out where I've gone wrong with my patch? (I'm guessing that something is not right with my 'unified_diff.patch file? - I don't see what else can be wrong; the rpm itself, was generated without any errors), any information gratefully received :) Regards, |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Provide a command-line output.
Code:
devel-su pkcon install-local /path/to/your.rpm |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
Installing files Waiting in queue Waiting for authentication Waiting in queue Starting Resolving dependencies Installing packages Downloading packages Installing packages Fatal error: Installation aborted by user Aborted by user?, I didn't interact at all. |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
scriptlet failed. what rpm?
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
scriptlet failed - means?; I have a problem with my .spec file, yes?
what .rpm? - .rpm file created on device using Schturman's guide for making .rpm; so I can install my patch to patchmanager. |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Attach the rpm.
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Thanks Pichlo - (I have a feeling my .spec file is the problem; researching now),
https://www.dropbox.com/s/9vmqghxlpt...mv7hl.rpm?dl=0 Regards, |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
if you buliding it yourself show spec file then
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
Name: sailfishos-remove-overlay-colour-camera-settings Version: 0.1 Release: 1 Summary: Removes the ambient colour from the overlay in camera settings. Group: System/Tools Vendor: Markkyboy Distribution: SailfishOS Packager: Markkyboy URL: https://www.facebook.com/JollaUK Requires: jolla-camera >= 0.2.12.2-10.45.1, patchmanager License: GPL %description Jolla-camera - removes ambient colour from camera settings overlay. %files /usr/share/patchmanager/patches/sailfishos-remove-overlay-colour-camera-settings/* %pre if [ $1 = 1 ]; then // Do stuff specific for first install echo "It's first time install" else if [ $1 = 2 ]; then // Do stuff specific to upgrades echo "It's just upgrade" /usr/sbin/patchmanager -u sailfishos-remove-overlay-colour-camera-settings fi fi %post if [ $1 = 1 ]; then // Do stuff specific for first install echo "It's first time install" fc-cache -f killall jolla-camera else if [ $1 = 2 ]; then // Do stuff specific to upgrades killall jolla-camera fi fi %postun if [ $1 = 0 ]; then // Do stuff specific to uninstalls rm -rf /usr/share/patchmanager/patches/sailfishos-remove-overlay-colour-camera-settings killall jolla-camera else if [ $1 = 1 ]; then // Do stuff specific to upgrades echo "It's just upgrade" fi fi %changelog * Fri Dec 26 2014 Builder <builder@...> 0.1 - Compatible with last system update (1.1.9.28). Thanks, |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
%files %defattr(644,root,root,-) %{_datadir}/patchmanager/patches/sailfishos-remove-overlay-colour-camera-settings (Note no /* at the end.) Quote:
if [...]; then . blabla elif [...]; then . blabla else . blabla fi Pardon the silly question, but what does the $1 = 1 do? |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
I have no idea about the line of code "$1 = 1" - I'm no expert here, I used an existing spec file from Schturman and made a few modifications that I thought were right (again, I don't fully understand what I'm doing).
Also, Schturman helped me with building ambience.rpm packages and if I recall, there was no need for adding lines of code you suggest; %files %defattr(644,root,root,-) %{_datadir}/patchmanager/patches/sailfishos-remove-overlay-colour-camera-settings - and yet, every ambience I make installs and works as it should, based on the spec file given by Schturman. (I really do have a lot to learn, sadly, earning a living gets in the way of free time to learn this stuff!) :) I have now just used my ambience spec file with changes to suit my patch. The patch is now installed but does not show in the Patchmanager app list. The files are installed to /usr/share/patchmanager/patches/ - but I don't know if my 'unified_diff.patch is written correctly! (Doh!, Noob alert!!) :D |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
Am I right in assuming these instructions are for building on SailfishSDK? |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
I tried creating a patch using your .spec file, with my adjustments of course, but I get a catalogue of errors and the build fails. Sorry, I didn't note the errors. I need to clean out my system and start again, with new unified_diff.patch file and correct .spec file. Regards, hope to see you back on the forums again soon :) |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Here's my spec file
https://github.com/anigaj/lockCalPat...-upcoming.spec I use this to build on device using the command rpmbuild -bb SPECS/specfilename |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
I also build on the device. I do not even have the SDK. No time nor place to install it.
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Markkyboy my spec posted here is for build on device.
Your problem with scripts: it should always success. You should add || true at the end of commands, which can fail (killall camera || true). And you do not need to delete /usr/share/patchmanager/patches/sailfishos-remove-overlay-colour-camera-settings from script. This file is installed inside rpm and will be removed by package itself. |
| All times are GMT. The time now is 03:52. |
vBulletin® Version 3.8.8