<div dir="ltr"><div dir="ltr"><div>Hi all,</div><div><br></div><div>I would like to create a flatpak for my application.</div><div><br></div><div>This one need some custom lib and external lib : Ceres, eigen, boost and Qt.<br></div><div><br></div><div>I use kde runtime (for Qt dependencies), but I need to rebuild Boost with python3. But, it seems that runtime has python 2 as default.</div><div><br></div><div>My Question :</div><div>1. Is this possible to know what/where is available python3 on kde runtime/sdk ?</div><div>2. Is this possible to use libraries directly in place of rebuild all dependencies (using buildsystem="simple" and some copy/install in specific dir) ?<br></div><div><br></div><div>Here is the .json part that I use to rebuild boost :</div><div><br></div><div>{<br> "app-id": "xxx.xxx.myapp",<br> "branch": "master",<br> "runtime": "org.kde.Platform",<br> "runtime-version": "5.12",<br> "sdk": "org.kde.Sdk",<br> "command": "myapp
",<br> "modules": [<br> {<br> "name": "boost",<br> "config-opts": [ <br> "--with-toolset=gcc",<br> "--with-python=/opt/rh/rh-python36/root/bin/python", -> Need change here<br> "--with-python-root=/opt/rh/rh-python36/root", -> Need change here<br> "--with-libraries=atomic,chrono,container,context,coroutine,date_time,exception,fiber,filesystem,graph,graph_parallel,iostreams,locale,log,math,metaparse,mpi,program_options,python,random,regex,serialization,signals,stacktrace,system,test,thread,timer,type_erasure,wave",<br> "--with-icu" <br> <br> ],<br> "sources": [<br> {<br> "type": "archive",<br> "url": "<a href="https://downloads.sourceforge.net/project/boost/boost/1.65.1/boost_1_65_1.tar.bz2">https://downloads.sourceforge.net/project/boost/boost/1.65.1/boost_1_65_1.tar.bz2</a>",<br> "sha256": "9807a5d16566c57fd74fb522764e0b134a8bbe6b6e8967b83afefd30dcd3be81"<br> },<br> {<br> "type": "file",<br> "path": "boost-configure",<br> "dest-filename": "configure"<br> }<br> ]<br> },<br></div><div><br></div><div>Thanks for you help,</div><div><br></div><div>Amaury<br></div><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Amaury Duchesne<br><a href="http://www.amauryduchesne.com" target="_blank">http://www.adialix.com</a></div></div></div></div></div></div>