- Make app data, config and cache persistent in desktop mode by mounting phablet home folder to ~/.clickable/home
- Added arm64 support and docker images (does not yet work for apps built with qmake)
- :ref:`Added placeholders and env vars to commands and scripts run via clickable <clickable-json-placeholders>`
- :ref:`Added option to install libs/qml/binaries from the docker image into the click package <clickable-json-install_lib>`
- :ref:`Added placeholders and env vars to commands and scripts run via clickable <project-config-placeholders>`
- :ref:`Added option to install libs/qml/binaries from the docker image into the click package <project-config-install_lib>`
- Switched to a clickable specific Cargo home for Rust apps
- Click packages are now deleted from the device after installing
- Fixed ``dependencies_build`` not being allowed as a string
...
...
@@ -425,7 +425,7 @@ Changes in v5.12.1
Changes in v5.12.0
------------------
- clickable.json supports :ref:`placeholders <clickable-json-placeholders>` now
- clickable.json supports :ref:`placeholders <project-config-placeholders>` now
- Add new ``src_dir`` configuration option
- Make build-libs respect ``root_dir``, too
- Fix build-libs for architecture all
...
...
@@ -462,14 +462,14 @@ Changes in v5.8.1
Changes in v5.8.0
-----------------
- New configuration option for automatically including ppas in the build environment: :ref:`dependencies_ppa <clickable-json-dependencies-ppa>`.
- Changed :ref:`libraries <clickable-json-libraries>` format from a list to a dictionary (the old format is still supported for now)
- New configuration option for automatically including ppas in the build environment: :ref:`dependencies_ppa <project-config-dependencies-ppa>`.
- Changed :ref:`libraries <project-config-libraries>` format from a list to a dictionary (the old format is still supported for now)
- The default ``cargo_home`` is now set to ``~/.cargo``
Changes in v5.7.0
-----------------
- Introduced two new dependency options to separate `build <clickable-json-dependencies_build>` and `target <clickable-json-dependencies_target>` dependencies
- Introduced two new dependency options to separate `build <project-config-dependencies_build>` and `target <project-config-dependencies_target>` dependencies
Changes in v5.6.1
-----------------
...
...
@@ -525,7 +525,7 @@ Changes in v5.3.1
Changes in v5.3.0
-----------------
- :ref:`Added options for compiling libraries <clickable-json-libraries>`
- :ref:`Added options for compiling libraries <project-config-libraries>`
Placeholders are values provided by Clickable that can be used in some
configuration fields as ``${PLACEHOLDER}``.
All placeholders are provided as environment variables during build, additionally.
For custom environment variables see :ref:`env_vars <clickable-json-env_vars>`.
For custom environment variables see :ref:`env_vars <project-config-env_vars>`.
The following table lists all available placeholders.
...
...
@@ -44,7 +44,7 @@ INSTALL_DIR Value of ``install_dir``
CLICK_LD_LIBRARY_PATH ``${INSTALL_DIR}/lib/${ARCH_TRIPLET}`` (will be in ``LD_LIBRARY_PATH`` at runtime) or ``${INSTALL_DIR}/lib`` for architecture independent apps
CLICK_QML2_IMPORT_PATH ``${INSTALL_DIR}/lib/${ARCH_TRIPLET}`` (will be in ``QML2_IMPORT_PATH`` at runtime) or ``${INSTALL_DIR}/qml`` for architecture independent apps
CLICK_PATH ``${INSTALL_DIR}/lib/${ARCH_TRIPLET}/bin`` or ``${INSTALL_DIR}`` for architecture independent apps (will be in ``PATH`` at runtime)
<lib>_LIB_BUILD_DIR Value of ``build_dir`` from library with name ``<lib>`` (see :ref:`libraries <clickable-json-libraries>`), where the library name consists solely of capital letters (e.g. from lib name ``my-libC++`` this env var would be ``MY_LIBC___LIB_BUILD_DIR``)
<lib>_LIB_BUILD_DIR Value of ``build_dir`` from library with name ``<lib>`` (see :ref:`libraries <project-config-libraries>`), where the library name consists solely of capital letters (e.g. from lib name ``my-libC++`` this env var would be ``MY_LIBC___LIB_BUILD_DIR``)
<lib>_LIB_INSTALL_DIR Value of ``install_dir`` from library with name ``<lib>`` (e.g. ``OPENCV_LIB_INSTALL_DIR``)
<lib>_LIB_SRC_DIR Value of ``src_dir`` from library with name ``<lib>`` (e.g. ``OPENCV_LIB_SRC_DIR``)
======================= ======
...
...
@@ -76,7 +76,7 @@ clickable_minimum_required
Optional, a minimum Clickable version number required to build the project.
Ex: ``"6"`` or ``"5.4.0"``
.. _clickable-json-qt_version:
.. _project-config-qt_version:
qt_version
----------
...
...
@@ -85,7 +85,7 @@ Qt version consisting of major and minor version. This value is used to
determine the framework automatically. Defaults to ``5.12``.
Ex: ``5.9``
.. _clickable-json-framework:
.. _project-config-framework:
framework
---------
...
...
@@ -95,7 +95,7 @@ choose the correct docker image and set the ``framework`` field in the manifest
accordingly, if desired.
Ex: ``ubuntu-sdk-16.04.4``
.. _clickable-json-restrict_arch:
.. _project-config-restrict_arch:
restrict_arch
-------------
...
...
@@ -105,7 +105,7 @@ This prevents the app from being build for other architectures and may also prev
To specify the architecture for building use the cli argument instead (ex: ``--arch arm64``).
.. _clickable-json-builder:
.. _project-config-builder:
builder
-------
...
...
@@ -142,7 +142,7 @@ Optional, a custom command to execute from the root dir, after build, but before
Can be specified as a string or a list of strings.
.. _clickable-json-env_vars:
.. _project-config-env_vars:
env_vars
--------
...
...
@@ -166,7 +166,7 @@ Optional, arguments to pass to qmake or cmake. When using ``--debug``,
Can be specified as a string or a list of strings.
.. _clickable-json-make-args:
.. _project-config-make-args:
make_args
---------
...
...
@@ -177,7 +177,7 @@ conflicts, the number of make jobs should not be specified here, but using
Can be specified as a string or a list of strings.
.. _clickable-json-make-jobs:
.. _project-config-make-jobs:
make_jobs
---------
...
...
@@ -190,7 +190,7 @@ launch
Optional, a custom command to launch the app, used by ``clickable launch``.
.. _clickable-json-build_dir:
.. _project-config-build_dir:
build_dir
---------
...
...
@@ -210,7 +210,7 @@ install_dir
Optional, a custom install directory (used to gather data that goes into the click package).
Defaults to ``${BUILD_DIR}/install``
.. _clickable-json-install_lib:
.. _project-config-install_lib:
install_lib
-----------
...
...
@@ -323,7 +323,7 @@ Optional, an object detailing custom commands to run. For example:
That enables the use of ``clickable script fetch`` and ``clickable script echo``.
.. _clickable-json-default:
.. _project-config-default:
default
-------
...
...
@@ -334,7 +334,7 @@ The ``--clean`` cli argument prepends ``clean`` to that list.
Can be specified as a string or a list of strings.
.. _clickable-json-always-clean:
.. _project-config-always-clean:
always_clean
------------
...
...
@@ -344,7 +344,7 @@ disabling the build cache. Affects the ``chain``, ``build`` and ``desktop`` comm
Does not affect libraries.
The default is ``false``.
.. _clickable-json-dependencies_host:
.. _project-config-dependencies_host:
dependencies_host
-----------------
...
...
@@ -355,7 +355,7 @@ Add tools here that are part of your build tool chain.
Can be specified as a string or a list of strings.
.. _clickable-json-dependencies_target:
.. _project-config-dependencies_target:
dependencies_target
-------------------
...
...
@@ -369,7 +369,7 @@ Add dependencies here that your app depends on.
Can be specified as a string or a list of strings.
.. _clickable-json-dependencies-ppa:
.. _project-config-dependencies-ppa:
dependencies_ppa
----------------
...
...
@@ -384,7 +384,7 @@ Optional, a list of PPAs, that will be enabled in the build container. Ex:
Can be specified as a string or a list of strings.
.. _clickable-json-docker-image:
.. _project-config-docker-image:
image_setup
-----------
...
...
@@ -416,7 +416,7 @@ Optional, a dictionary of env vars to add during image setup (each added as
`ENV <key>="<val>"` to the corresponding Dockerfile).