Progmar Marcin Załęczny

Language:
We are using cookies in the page. If you use the page you agree for the cookies.      Close

How to build linuxdeploy program with linuxdeploy-plugin-appimage plugin

  1. Create directory for program sources:
    mkdir sources
    cd sources
  2. Download linuxdeploy program sources: git clone https://github.com/linuxdeploy/linuxdeploy.git
  3. Go into linuxdeploy/libs subdirectory:
    cd linuxdeploy/libs
  4. Download linuxdeploy-plugin-appimage plugin sources:
    git clone https://github.com/linuxdeploy/linuxdeploy-plugin-appimage.git
  5. Go to main drectory of linuxdeploy program (sources/linuxdeploy) and issue following command to download remaining plugins:
    cd ..
    git submodule update --init --recursive
  6. Make generate-excludelist.sh script executable:
    chmod 755 src/core/generate-excludelist.sh
  7. Edit CMakeLists file and replace following line:
    set(USE_SYSTEM_CIMG ON CACHE BOOL "Set to OFF to use CImg library bundled in lib directory")
    with line:
    set(USE_SYSTEM_CIMG OFF CACHE BOOL "Set to OFF to use CImg library bundled in lib directory")
  8. Create build subdirectory for the output binaries, cd into it and call build command:
    mkdir build
    cd build
    cmake ..
    make
  9. After successful compilation linuxdeploy program will be placed in subdirectory:
    bin