Thursday, 2019-10-17

*** zbenjamin is now known as Guest8800401:39
*** zbenjamin_ is now known as zbenjamin01:39
rodrigohello06:16
rodrigo:)06:16
rodrigoi have a question!!06:17
rodrigoi a noobs06:17
rodrigoim a noobs06:17
rodrigohow to compile for example06:17
rodrigolibrary source to rpm06:18
rodrigopython, openssl etc etc06:18
chriadamyou mean, for a library which currently doesn't have packaging?06:19
chriadambasically, you need to write an rpm .spec file which defines how the package is built from source, and which files are part of the package (and where they get installed to)06:19
rodrigoyes chriadam06:19
chriadamthen you can use the mb2 tool to build the package semi-automatically with the Sailfish OS SDK, or alternatively you can manually generate a package using qmake + make + rpmbuild (or configure + make + rpmbuild, or whatever the build system is)06:20
rodrigook06:22
rodrigohow to create .spec file, with file config?06:22
chriadamyou can create one from scratch, see e.g. https://git.merproject.org/mer-core/libcommhistory/blob/master/rpm/libcommhistory-qt5.spec for an example06:23
rodrigosorry im noob06:23
rodrigo:)06:23
chriadamor alternatively, if the same library is already packaged for another RPM-based system (e.g. Fedora) you could use their .spec as a starting point06:23
rodrigoWhat would happen if I installed a "fedora" armv7hl rpm on sailfish, would it work?06:26
flypigTalking of Fedora, there are a bunch of good tutorials online about creating spec files, that work just as well for Sailfish.06:27
flypige.g. https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/sect-Packagers_Guide-Creating_a_Basic_Spec_File.html06:27
flypigor https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/sect-Packagers_Guide-Creating_a_Basic_Spec_File.html06:27
chriadamdepends.  e.g. if it has dependencies, and on sailfish os some of those dependencies are installed to slightly different locations, then that would be a problem, etc.06:27
chriadamyes, following the fedora guides is definitely a good start06:28
flypig(that second link was supposed to be different! http://ftp.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html )06:28
rodrigothanks06:29
rodrigothis is the file06:29
rodrigohttps://src.fedoraproject.org/rpms/openssl/blob/8574fb5150572c292010a84fa948a074556fa4a2/f/openssl.spec06:29
rodrigoi need openssl 1.1.006:29
rodrigoIt would be a good starting point, the link I wrote to you?06:30
rodrigoI start from that spec, what would you modify?06:35
flypigYou could also take a look at the spec file for the existing version of openssl packaged for Sailfish:06:36
flypighttps://git.merproject.org/mer-core/openssl06:36
flypigThe actual spec is here: https://git.merproject.org/mer-core/openssl/blob/master/rpm/openssl.spec06:36
rodrigoyes i read, thanks06:37
flypigGreat :) Comparing the two may help, I was thinking.06:38
chriadamyep, should give you a starting point definitely06:39
rodrigo:)06:40
rodrigoare the patches important?07:00
rodrigoAre the .patch files important? I see the behavior of the library change.07:03
chriadampatches and diffs usually get applied during the preparation step, prior to the build step, by rpmbuild07:07
chriadamso, yes, they can substantively modify the resulting artifacts.07:07
flypigSome of the fedora patches to openssl are to remove potentially patent-encumbered elliptic curves. It depends what you need, but in the past I had to remove some patches so I could use them.07:29
*** Renault_ is now known as Renault07:57
sledgesPSA: SFOS community IRC meeting at #mer-meeting already happening. curltail this for backlog: http://merproject.org/meetings/mer-meeting/2019/mer-meeting.2019-10-17-08.00.log.txt (out of time to attend myself..)08:13
*** vilpan is now known as Guest856409:01
*** Guest8564 is now known as vilpan09:02
*** Snoras_ is now known as Snoras10:19
*** bavrogar_ is now known as bavrogar11:04
bavrogaris it possible to synchronize Calendar and Contacts via CalDAV and CardDAV with Nextcloud?11:04
tadzikyes11:05
bavrogartadzik: is it a builtin function or do you need an helper / app?11:17
tadzikbavrogar: no, it's built-in in the accounts thing11:40
tadzikIt's just like any other caldav/carddav account11:40
*** Marzanna is now known as marzanna13:41
*** marzanna is now known as Marzanna13:42
*** vilpan is now known as Guest5097913:43
*** Guest50979 is now known as vilpan13:44
frojndleszek: http://merproject.org/meetings/mer-meeting/2017/mer-meeting.2017-05-17-08.00.log.html so was there any progress regarding better camera algorithms? Stock camera on XA2 plus is so bad low light...13:53
frojndAlso Did I messed my phone for not backing up keys before unlocking bootloader? Not that I will revert to Android but still?13:54
tadzikyou messed up a possible comeback to android, yes13:54
malare there any examples what such algorithms actually do?13:55

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!