667 Commits

Author SHA1 Message Date
TheAssassin
1d3d97469a Fix issue link 2022-08-22 23:58:37 +02:00
TheAssassin
5bd5b54b27 Fix webchat link 2022-08-22 23:58:27 +02:00
Hal Clark
287c4364e2 Filter out VDSO obj and interpreter 2022-08-17 22:54:25 +02:00
TheAssassin
1ec9a59c91 Fix environment variable parsing
So far, the = sign was included in the value by accident.
2022-07-19 13:02:41 +02:00
TheAssassin
697b27587a Pass parent process env vars to plugins again 2022-07-19 12:16:36 +02:00
TheAssassin
c842c3c17c Make plugin detection work with VERBOSE=1
... and APPIMAGE_EXTRACT_AND_RUN=1.
2022-07-19 03:48:52 +02:00
TheAssassin
98aa3479d0 Rewrite handling of subprocess environment variables 2022-07-19 03:48:52 +02:00
TheAssassin
0ae13c0875 Fix missing break statements 2022-07-18 03:33:01 +02:00
TheAssassin
4677fd9280 Fix reading of output from subprocess 2022-07-15 17:01:48 +02:00
TheAssassin
649fc0247d Handle end of child processes correctly
Fixes a bug introduced previously where linuxdeploy cannot properly detect a child process exited.
2022-07-14 12:31:36 +02:00
TheAssassin
aa203927c7 Update linuxdeploy-plugin-appimage download link 2022-07-12 16:49:57 +02:00
TheAssassin
11ca1efddb Make sure to read until EOF from subprocesses 2022-07-12 16:49:57 +02:00
TheAssassin
0e89061417 Add option to subprocess output during plugin detection
Allows debugging problems when detecting plugins.
2022-07-12 16:49:55 +02:00
TheAssassin
56760df190 Fix patchelf unexpectedly overwriting symlinked libraries 2022-05-18 23:33:02 +02:00
TheAssassin
23dcaa5cda Log which boost version is used for build 2022-05-18 18:12:41 +02:00
TheAssassin
097212aa1e
Merge pull request #200 from solemnwarning/exclude-library
Add --exclude-library option.
2022-05-03 19:09:03 +02:00
Daniel Collins
37b640fa86 Add --exclude-library option. 2022-05-01 21:49:22 +01:00
TheAssassin
ed42a40a87 Rebuild at least once a month 2022-03-03 18:35:27 +01:00
TheAssassin
4c5b9c5daf
Merge pull request #188 from smarttowel/fix_149
Possible fix for #149
2022-01-12 10:51:49 +01:00
TheAssassin
0f5361b457
Code style fixes 2022-01-11 19:24:08 +01:00
Pavel Mikhadzionak
fc27076843
Codestyle update
Co-authored-by: TheAssassin <theassassin@assassinate-you.net>
2022-01-11 17:47:05 +03:00
smarttowel
f59f8f9512 Add const modifier to rpath var 2022-01-11 17:33:27 +03:00
smarttowel
ae8699854a Append $ORIGIN to rpath if missed 2022-01-11 17:18:15 +03:00
smarttowel
fa3e51c7db Possible fix for #149 2022-01-11 16:24:37 +03:00
TheAssassin
d2e9567029 Add FetchContent fallback for CImg 2021-12-03 18:28:41 +01:00
TheAssassin
fb5cd4d32d Require static boost libs only if necessary
Some distros don't ship static libraries by default, therefore requiring
them by default breaks on those. Also, it makes no sense, really.

Fixes one build issue on openSUSE Leap.
2021-12-03 14:45:35 +01:00
TheAssassin
5fb5ca5a8b Remove duplicate inclusion of CTest 2021-12-03 14:44:18 +01:00
TheAssassin
ae714d69ff Support system-provided CImg only from now on 2021-12-01 05:00:34 +01:00
TheAssassin
01331697d0 Support only system-provided boost from now on 2021-12-01 05:00:33 +01:00
TheAssassin
d903364ffc Update linuxdeploy-desktopfile 2021-12-01 03:50:05 +01:00
TheAssassin
d77cff2adc Update cmake-scripts 2021-12-01 03:49:32 +01:00
TheAssassin
5685bc575e Test invalid headers and missing files in ELF library
CC #185.
2021-11-30 00:08:52 +01:00
TheAssassin
d621d3949d Refactor and simplify tests config in CMake 2021-11-30 00:05:15 +01:00
TheAssassin
0c49714228 Use cmake-scripts to manage gtest dependency 2021-11-30 00:01:54 +01:00
TheAssassin
9aa59f3e75 Improve detection of excluded test targets, mk. 2 2021-11-20 01:58:28 +01:00
TheAssassin
bcd9d5337e Improve detection of excluded test targets 2021-11-20 01:56:42 +01:00
TheAssassin
39ab9909cf Fix test executable discovery 2021-11-20 01:35:16 +01:00
TheAssassin
03d8cb3234 Install missing dependencies for coverage builds 2021-10-16 03:52:18 +02:00
TheAssassin
2dfccf760b Fix coverage builds 2021-10-16 03:47:36 +02:00
TheAssassin
789222bae6 Test that deployment actually works 2021-10-16 03:40:43 +02:00
TheAssassin
7e3beb4336 Add new test to check minimum permissions 2021-10-16 03:37:22 +02:00
TheAssassin
63d2fa5437 Add minimum permissions to copied files
Fixes #181.
2021-10-16 03:22:02 +02:00
TheAssassin
49f4f23776 Remove accidentally committed debug code 2021-05-29 01:30:28 +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
3c6096433d Detect dynamically linked and debug symbols only ELF files
TODO: extract ELF stuff into new small C++ wrapper library that can be used in various places (e.g., AppImageLauncher, the AppImage runtime, ...)
2021-05-29 01:19:42 +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
a73dbf68f4 Fix linuxdeploy accidentally exiting on warning 2021-05-25 22:50:24 +02:00
TheAssassin
a7a255f9f1 Fix escaping in auto-generated script, mk. 2 2021-05-25 17:38:09 +02:00
TheAssassin
679904ce7b Add $LINUXDEPLOY_PLUGIN_MODE
This enables a special mode used for plugins that intend to call linuxdeploy via $LINUXDEPLOY. It skips the finishing steps to make sure they are not run prematurely.

Consider this a workaround to a bug in the AppDir root dir deployment.
2021-05-25 17:22:26 +02:00