Commit Graph

670 Commits

Author SHA1 Message Date
TheAssassin
d43e8a42bf Fix whitespace 2020-08-08 00:30:28 +02:00
TheAssassin
5feef7880e Try to fix waitpid issues 2020-08-08 00:30:28 +02:00
TheAssassin
2b2c6a913f Set default value 2020-08-07 21:22:58 +02:00
TheAssassin
aeb0bfa98b Use consistent error message for all plugins 2020-08-07 21:22:58 +02:00
TheAssassin
37aa37f5fe Fix behavior of close()
The implementation was obviously wrong/incomplete.
2020-08-07 21:22:58 +02:00
TheAssassin
59a8ec41ba Replace cpp-subprocess with own linuxdeploy-subprocess 2020-08-07 21:22:58 +02:00
TheAssassin
4a0cfe323d Require newer CMake version only for static builds 2020-08-07 21:22:58 +02:00
TheAssassin
c895a1dc59 Add kill and poll features for processes 2020-08-07 21:22:58 +02:00
TheAssassin
80a5667ca7 Check waitpid() for errors 2020-08-07 21:22:58 +02:00
TheAssassin
2425ccc832 Extract process handling into separate class
Needed for plugins' subprocess handling.
2020-08-07 21:22:58 +02:00
TheAssassin
55b2d00f23 Add reusable assert template 2020-08-07 21:22:58 +02:00
TheAssassin
e1f6da17b4 Add basic subprocess micro library
cpp-subprocess does not work when linked statically for some weird reason. Therefore, we're going to ship our own.
2020-08-07 21:22:58 +02:00
TheAssassin
326b002ed5 Fetch up-to-date CMake for AppImage builds 2020-08-07 21:22:58 +02:00
TheAssassin
86d4404a16 Try to use target_link_options again 2020-08-07 21:22:58 +02:00
TheAssassin
cbfbb1ee2d Debug CI build issues mk. 1 2020-08-07 21:22:58 +02:00
TheAssassin
5fde708954 Improve CMake check 2020-08-06 14:44:00 +02:00
TheAssassin
dc07fbd401 Build static binaries for releases on Travis 2020-08-06 14:10:57 +02:00
TheAssassin
5b713b3bee Add support for fully static builds 2020-08-06 02:07:31 +02:00
TheAssassin
5644d5ca06 Add license notices to binary for dependencies
Was long overdue.
2020-08-06 01:19:29 +02:00
TheAssassin
557bad2241 Add --deploy-deps-only 2020-07-15 03:17:37 +02:00
TheAssassin
590a746882 Replace std::cerr messages with ldLog
Was long overdue now. Makes for a consistent logging, and helps communicate that the messages are errors to the user.
2020-07-15 03:10:12 +02:00
TheAssassin
a609adb4f5 Merge pull request #135 from komputerwiz/master
Fix update information used by Travis builds
2020-07-05 20:41:00 +02:00
Matthew Barry
591e21a766 fix update information used by Travis builds
Seems like this was overlooked by commit 2af5430 when fixing #126
2020-07-05 12:50:47 -05: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
1c0ce6a0a5 Merge pull request #132 from X0rg/patch-1
Update README.md with CPU-X project
2020-05-24 01:50:12 +02:00
Xorg
2f00292756 Update README.md with CPU-X project 2020-05-24 01:00:32 +02:00
TheAssassin
f24c167722 Add $LINUXDEPLOY for input plugins
The input plugins can use this environment variable to call linuxdeploy themselves. This can be very handy to have it deploy additional dependencies on libraries they copy themselves.

An alternative approach is to simply use liblinuxdeploy inside the plugin, like the Qt plugin does.
2020-05-03 18:32:55 +02:00
TheAssassin
2af54304e2 Fix update information
Closes #126.
2020-04-08 23:41:58 +02:00
TheAssassin
4391ad24d9 Merge pull request #125 from d1vanov/master
Fix links in README.md
2020-04-04 16:19:13 +02:00
Dmitry Ivanov
f3ae65bc57 Fix links in README.md 2020-04-04 17:17:41 +03:00
TheAssassin
d086da38c4 Allow users to use custom patchelf
Fixes #120.
2020-02-06 02:34:37 +01:00
TheAssassin
652ef5a215 Use the right method to resolve symlinks
Just checked with absolute, it doesn't always resolve symlinks. canonical is supposed to do that according to https://www.boost.org/doc/libs/1_48_0/libs/filesystem/v3/doc/reference.html#Canonical-path.
2019-12-13 17:53:28 +01:00
TheAssassin
2b13c52452 Workaround for ldd bug
Closes #110.

See https://sourceware.org/bugzilla/show_bug.cgi?id=25263 for more information.
2019-12-13 17:49:22 +01:00
TheAssassin
c45cd46319 Move which to utils module
Also uses the native split functionality provided by the utils module
instead of some external dependency's.

Preparation for using this method in plugins such as the Qt plugin.
2019-11-19 11:28:24 +01:00
TheAssassin
1bd5453c61 Fix detection of copyright tools
CC #104
2019-11-18 23:13:44 +01:00
TheAssassin
9783db602e Quick fix unavailability of which command
CC #104
2019-11-18 20:44:53 +01:00
TheAssassin
6cfa741f40 Add missing newline (fixes #102) 2019-11-13 15:31:52 +01:00
TheAssassin
1be3327a11 Use own prebuilt CMake 2019-09-28 15:25:13 +02:00
TheAssassin
cca5ad2e07 Merge pull request #96 from linuxdeploy/completely-switch-to-centos6
Build all binaries on CentOS 6
2019-09-28 04:22:40 +02:00
TheAssassin
058832615c Fix binaries upload 2019-09-28 04:02:00 +02:00
TheAssassin
cf5927c521 Make sure old build script artifacts carry different name 2019-09-28 03:49:57 +02:00
TheAssassin
103b637944 Make CentOS 6 build script equivalent to old one 2019-09-28 03:49:15 +02:00
TheAssassin
58189efba6 Build binaries on CentOS 6 2019-09-28 03:48:53 +02:00
TheAssassin
019f902b17 Fix Docker build artifacts handling 2019-09-28 03:48:18 +02:00
TheAssassin
f97d1e9a01 Improve shell use of Docker images 2019-09-28 03:47:24 +02:00
TheAssassin
543078c11e Clean up Dockerfile 2019-09-28 03:47:05 +02:00
TheAssassin
9ddb0d7650 Remove old debug code 2019-09-28 01:33:45 +02:00
TheAssassin
8252503d97 Merge pull request #95 from linuxdeploy/centos6-builds
Centos6 builds
2019-09-27 21:59:30 +02:00
TheAssassin
d312ba07d0 No need to run install step for Docker builds 2019-09-27 21:34:06 +02:00
TheAssassin
d3853e961b Clean up Dockerfile 2019-09-27 21:32:44 +02:00