Rebuild boost with specific python

Amaury Duchesne amaury.duchesne at gmail.com
Wed Feb 13 10:34:40 UTC 2019


Hi all,

I would like to create a flatpak for my application.

This one need some custom lib and external lib : Ceres, eigen, boost and Qt.

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.

My Question :
1. Is this possible to know what/where is available python3 on kde
runtime/sdk ?
2. Is this possible to use libraries directly in place of rebuild all
dependencies (using buildsystem="simple" and some copy/install in specific
dir) ?

Here is the .json part that I use to rebuild boost :

{
    "app-id": "xxx.xxx.myapp",
    "branch": "master",
    "runtime": "org.kde.Platform",
    "runtime-version": "5.12",
    "sdk": "org.kde.Sdk",
    "command": "myapp ",
    "modules": [
        {
            "name": "boost",
            "config-opts": [
                "--with-toolset=gcc",
                "--with-python=/opt/rh/rh-python36/root/bin/python", ->
Need change here
                "--with-python-root=/opt/rh/rh-python36/root", -> Need
change here

"--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",
                "--with-icu"

            ],
            "sources": [
              {
                "type": "archive",
                "url": "
https://downloads.sourceforge.net/project/boost/boost/1.65.1/boost_1_65_1.tar.bz2
",
                "sha256":
"9807a5d16566c57fd74fb522764e0b134a8bbe6b6e8967b83afefd30dcd3be81"
              },
              {
                "type": "file",
                "path": "boost-configure",
                "dest-filename": "configure"
              }
            ]
      },

Thanks for you help,

Amaury
-- 
Amaury Duchesne
http://www.adialix.com <http://www.amauryduchesne.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20190213/ce6460a0/attachment.html>


More information about the Flatpak mailing list