*** zbenjamin is now known as Guest88004 | 01:39 | |
*** zbenjamin_ is now known as zbenjamin | 01:39 | |
rodrigo | hello | 06:16 |
---|---|---|
rodrigo | :) | 06:16 |
rodrigo | i have a question!! | 06:17 |
rodrigo | i a noobs | 06:17 |
rodrigo | im a noobs | 06:17 |
rodrigo | how to compile for example | 06:17 |
rodrigo | library source to rpm | 06:18 |
rodrigo | python, openssl etc etc | 06:18 |
chriadam | you mean, for a library which currently doesn't have packaging? | 06:19 |
chriadam | basically, 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 |
rodrigo | yes chriadam | 06:19 |
chriadam | then 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 |
rodrigo | ok | 06:22 |
rodrigo | how to create .spec file, with file config? | 06:22 |
chriadam | you can create one from scratch, see e.g. https://git.merproject.org/mer-core/libcommhistory/blob/master/rpm/libcommhistory-qt5.spec for an example | 06:23 |
rodrigo | sorry im noob | 06:23 |
rodrigo | :) | 06:23 |
chriadam | or alternatively, if the same library is already packaged for another RPM-based system (e.g. Fedora) you could use their .spec as a starting point | 06:23 |
rodrigo | What would happen if I installed a "fedora" armv7hl rpm on sailfish, would it work? | 06:26 |
flypig | Talking of Fedora, there are a bunch of good tutorials online about creating spec files, that work just as well for Sailfish. | 06:27 |
flypig | e.g. https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/sect-Packagers_Guide-Creating_a_Basic_Spec_File.html | 06:27 |
flypig | or https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/sect-Packagers_Guide-Creating_a_Basic_Spec_File.html | 06:27 |
chriadam | depends. 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 |
chriadam | yes, following the fedora guides is definitely a good start | 06: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 |
rodrigo | thanks | 06:29 |
rodrigo | this is the file | 06:29 |
rodrigo | https://src.fedoraproject.org/rpms/openssl/blob/8574fb5150572c292010a84fa948a074556fa4a2/f/openssl.spec | 06:29 |
rodrigo | i need openssl 1.1.0 | 06:29 |
rodrigo | It would be a good starting point, the link I wrote to you? | 06:30 |
rodrigo | I start from that spec, what would you modify? | 06:35 |
flypig | You could also take a look at the spec file for the existing version of openssl packaged for Sailfish: | 06:36 |
flypig | https://git.merproject.org/mer-core/openssl | 06:36 |
flypig | The actual spec is here: https://git.merproject.org/mer-core/openssl/blob/master/rpm/openssl.spec | 06:36 |
rodrigo | yes i read, thanks | 06:37 |
flypig | Great :) Comparing the two may help, I was thinking. | 06:38 |
chriadam | yep, should give you a starting point definitely | 06:39 |
rodrigo | :) | 06:40 |
rodrigo | are the patches important? | 07:00 |
rodrigo | Are the .patch files important? I see the behavior of the library change. | 07:03 |
chriadam | patches and diffs usually get applied during the preparation step, prior to the build step, by rpmbuild | 07:07 |
chriadam | so, yes, they can substantively modify the resulting artifacts. | 07:07 |
flypig | Some 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 Renault | 07:57 | |
sledges | PSA: 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 Guest8564 | 09:01 | |
*** Guest8564 is now known as vilpan | 09:02 | |
*** Snoras_ is now known as Snoras | 10:19 | |
*** bavrogar_ is now known as bavrogar | 11:04 | |
bavrogar | is it possible to synchronize Calendar and Contacts via CalDAV and CardDAV with Nextcloud? | 11:04 |
tadzik | yes | 11:05 |
bavrogar | tadzik: is it a builtin function or do you need an helper / app? | 11:17 |
tadzik | bavrogar: no, it's built-in in the accounts thing | 11:40 |
tadzik | It's just like any other caldav/carddav account | 11:40 |
*** Marzanna is now known as marzanna | 13:41 | |
*** marzanna is now known as Marzanna | 13:42 | |
*** vilpan is now known as Guest50979 | 13:43 | |
*** Guest50979 is now known as vilpan | 13:44 | |
frojnd | leszek: 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 |
frojnd | Also Did I messed my phone for not backing up keys before unlocking bootloader? Not that I will revert to Android but still? | 13:54 |
tadzik | you messed up a possible comeback to android, yes | 13:54 |
mal | are 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/!