Commit Graph

112 Commits

Author SHA1 Message Date
TheAssassin 63d2fa5437 Add minimum permissions to copied files
Fixes #181.
2021-10-16 03:22:02 +02:00
TheAssassin 1d534d2b32 Do not set rpath in statically linked or debug symbols ELF files 2021-05-29 01:25:21 +02:00
TheAssassin 86c99ccfb4 Fix header name collision 2021-05-29 01:09:48 +02:00
TheAssassin d5c4124a0b Make sure to compare canonical paths
Absolute paths do not have to be canonical. For instance, .../a/../AppDir may be equivalent to .../AppDir, however the current implementation would not match them.
2021-05-25 23:17:41 +02:00
TheAssassin 59a8ec41ba Replace cpp-subprocess with own linuxdeploy-subprocess 2020-08-07 21:22:58 +02:00
TheAssassin 557bad2241 Add --deploy-deps-only 2020-07-15 03:17:37 +02:00
TheAssassin 0f3a118687 Add param to automatically rename deployed icons
Useful e.g., when passing multiple icons with different resolutions via -i, if they have the resolution in the filename.

Also removes all traces of that appName concept that has been abandoned.
2020-06-11 21:04:33 +02:00
TheAssassin 3c4580a325 Allow bundling of additional binaries without moving them
Required to bundle e.g., applications' plugins together with their
dependencies without moving them out of position so they can still
be found by the original apps.
2019-09-22 19:06:00 +02:00
TheAssassin f20af7dc67 Refactor and improve relative directory calculation
Also makes variable names less ambiguous and adds some documenting
comments.
2019-09-22 18:58:21 +02:00
TheAssassin 612bf962a3 Another missing return statement 2019-08-15 01:10:02 +02:00
TheAssassin 470caa3db1 Replace ln based subprocess symlinking with boost functionality 2019-08-14 23:25:21 +02:00
TheAssassin d24e6dac56 Clean up symlink helper 2019-08-14 22:47:59 +02:00
TheAssassin de363bc90b Merge branch 'master' into apprun-hooks 2019-08-14 15:14:02 +02:00
TheAssassin aced62378a Move AppDir root deployment into separate class
Makes adding more features easier, as there's a clear defined interface
to the class and the mechanism can be split into more methods more
easily without bloating the AppDir class further.
2019-08-14 01:35:23 +02:00
TheAssassin 3fd595a63b Expose file copying helper in public interface 2019-08-14 01:33:09 +02:00
TheAssassin 9dc10fc0fc Method can be static 2019-08-14 01:08:20 +02:00
TheAssassin 3183ee2f4f Mark methods const where possible 2019-07-27 16:37:16 +02:00
TheAssassin 3d766446d9 Improve log message 2019-07-25 17:47:34 +02:00
TheAssassin e24b46d291 Change method name to something more meaningful 2019-07-25 17:44:50 +02:00
TheAssassin 47b8370751 Method can be static 2019-07-25 17:43:45 +02:00
Harmen Stoppels 0e95f19a75 Make deployLibrary deploy its dependencies by default, and avoid unnecessary recursion by making deployElfDependencies not deploy its deps of deps 2019-06-10 20:12:30 +02:00
Harmen Stoppels 159b082658 Remove recursion of ELF deployment since ldd already does that for us 2019-06-09 14:43:59 +02:00
TheAssassin 2a1127d7e8 Show acceptable icon sizes in error message
CC #75.
2019-05-24 23:25:03 +02:00
TheAssassin 3f81577b04 Fix missing newline in error messages 2019-05-24 22:49:19 +02:00
TheAssassin 834b467a41 Fix data printed in error message 2019-05-24 22:48:53 +02:00