Git Product home page Git Product logo

Comments (4)

azubieta avatar azubieta commented on May 31, 2024

Hi @koendv consider that appimage-builder is under heavy development so right now the features are far from being stable. Regarding your question, would you mind to add a bit more of context of what you purpose to add/remove/change and why?
Thanks

from appimage-builder.

azubieta avatar azubieta commented on May 31, 2024

If you were talking about the embed software tracking. It refers to embedding along with the binaries the information of their source so user can validate that.

from appimage-builder.

koendv avatar koendv commented on May 31, 2024

OK.
The AppImage contains the libraries needed to run the binary.
You can list these libraries in the .yml recipe, but most of the time you can generate a reasonable list of libraries automatically. Run ldd on the binary, and you get a list of the libraries that binary dynamically links with.

For an example, look at OpenScad AppImage, under "Create AppImage". In bash copying all needed libraries is something like this:

LIBS=$(ldd usr/bin/your_binary_here | sed -e 's/^.* => //' -e 's/ (0x.*$//' | grep '/usr/')
for L in $LIBS
do
  cp --preserve $L $INSTALL_ROOT/usr/lib/
done

Basically, I'd have appimage-builder choose a reasonable default for the libraries if nothing is specified.

from appimage-builder.

azubieta avatar azubieta commented on May 31, 2024

I guess that your request is already implemented. We run ld.so -list on every elf file deployed in the AppDir to identify and bundle in it's dependencies. But this method is not capable of locating the libraries that are loaded using dlopen (A.K.A. plugins).

The dpkg> includes section is designed to manually list those packages that provide resources (not only libraries) that cannot be located using the ldd way.

You can see an example here

If fulfilled your request please close the issue otherwise feel free to keep asking :)

from appimage-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.