I'm very interested in the idea of making a patch for use with Patchmanager.
I have my JSON and diff patch file, I have Sailfish SDK installed - now what?, is the patch created in the same way as a normal app? (I guess it is), but what data goes where?, I could do with a few pointers to get me started.......or can this be done on the device itself?, any info appreciated.
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.
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.