638 Commits

Author SHA1 Message Date
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
TheAssassin
6b96159f88 Fix escaping in auto-generated script 2021-05-25 16:49:19 +02:00
TheAssassin
ab49cecf09 Make sure custom AppRun files are executable 2021-05-25 16:49:00 +02:00
TheAssassin
49c3a57226 Embed GitHub run number 2021-05-25 10:51:05 +02:00
TheAssassin
39b03f630d Update linuxdeploy-desktopfile 2021-05-15 17:18:20 +02:00
TheAssassin
0a6a1c59b7 Fix test execution in CI build script 2021-05-14 08:38:45 +02:00
TheAssassin
7b1c858ff5 Fix macro like in linuxdeploy-desktopfile 2021-05-14 08:33:28 +02:00
TheAssassin
0c23a481fe Update linuxdeploy-desktopfile 2021-05-13 15:06:18 +02:00
TheAssassin
b7c9785626 Fix source archive hash
For some reason, the SHA256 hash of the libjpeg source archive was
changed by the upstream. The archive seems to be okay, so changing the
hash should be fine.
2021-04-22 09:38:18 +02:00
TheAssassin
9fb2ac35d2 Use matrix to simplify workflow, mk. 3 2021-01-03 15:24:44 +01:00
TheAssassin
f83a0e99eb Use matrix to simplify workflow, mk. 2 2021-01-03 15:23:32 +01:00
TheAssassin
8c848e6b26 Use matrix to simplify workflow 2021-01-03 15:21:44 +01:00
TheAssassin
58f8b6a6fd Fix FUSE issues on i386... in the right job 2020-12-11 12:09:43 +01:00
TheAssassin
c1bd11028c Fix FUSE issues on i386 2020-12-11 11:54:46 +01:00
TheAssassin
da1bae216a Install 32-bit dependencies, mk. 2 2020-12-11 11:17:59 +01:00
TheAssassin
b42420e731 Install 32-bit dependencies 2020-12-11 11:13:42 +01:00
TheAssassin
8f86082322 Fix bug in actions workflow 2020-12-11 09:53:36 +01:00
TheAssassin
fb80d6a4f4 Update ignore patterns 2020-12-10 22:32:37 +01:00
TheAssassin
575dde281d Switch to GitHub actions 2020-12-10 22:24:35 +01:00
TheAssassin
3e05627373
Merge pull request #156 from patrickelectric/fix_include_std_runtime_error
subprocess: Add missing include for std::runtime_error
2020-11-18 18:19:48 +01:00
Patrick José Pereira
73f3126a59 subprocess: Add missing include for std::runtime_error
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-11-18 11:58:15 -03:00
TheAssassin
b6a1ba290e Close file descriptors when process has exited 2020-10-07 04:37:50 +02:00
TheAssassin
3c21d86574 Improve file descriptor connection
Instead of passing the fd array for no real reason, the actual fd is passed from now on. The lambda now also logs error message received via errno.
2020-10-07 04:25:14 +02:00
TheAssassin
2554b35403 Check return code of ::close
It appears to be pretty common not to check the return code, but it's a serious programming flaw.
2020-10-07 03:37:00 +02:00
TheAssassin
bfcde878e2 Log error when pipe creation fails 2020-10-05 22:35:15 +02:00
TheAssassin
04d5321a5f
Merge pull request #148 from JokerQyou/master
Read ldd error message from both stdout and stderr
2020-09-25 14:18:42 +02:00
Joker_
76f1d8fee5
Read ldd error message from both stdout and stderr 2020-09-23 11:49:24 +08:00
TheAssassin
e4fff0a5b7
Merge pull request #146 from linuxdeploy/fix-145
Read subprocesses' pipes until they're empty
2020-09-22 13:46:31 +02:00
TheAssassin
407ecc408d Read subprocesses' pipes until they're empty 2020-09-22 13:04:23 +02:00
TheAssassin
8ee0e43c23 Switch to new subprocess lib in type 0 plugins, mk. 3
This commit fixes the remaining buffer issues by introducing a little more complexity. It shall be refactored in the future to decrease complexity again, but for now, it works well and function is more important than form at this point.

CC #143
2020-09-04 18:02:40 +02:00