View Single Post
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#1420
Originally Posted by Markkyboy View Post
Hi coderus, thanks for replying. Yes, I have already looked at your examples on Github, including the one you linked me too. My main problem is not knowing how to use Sailfish SDK. How/where are the files entered into the SDK to make a patch?

I have learned how to make Ambience RPM on my Jolla, I wondered if I can also make a patch on Jolla?

My idea for my patch is a simple one. When in camera settings, the overlay darkens the image the camera is seeing in the viewer. My idea is to turn off opacity of the overlay.
I have found the line in SettingsOverlay.qml to alter (line 270) (found in /usr/share/jolla-camera/pages/settings/SettingsOverlay.qml) and the line contents `opacity: 0.6 * (1 -container.opacity)` where `0.6` needs to now read `0.0`.

I've already altered the file on my device, I just thought a patch would be good.
Obviously you can build it on your phone using rpmbuild. Also you can use "diff -u" command in terminal to compare original and modified files and create patch.
 

The Following User Says Thank You to Ancelad For This Useful Post: