Commit Graph

506 Commits

Author SHA1 Message Date
TheAssassin
2d45ef4c72 Fix missing return statement in static bool method
Looks like devtoolset compiler behaves differently on bool methods
without an explicit return statement. Kind of strange.

Undefined behavior?
2019-08-14 23:42:57 +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
913f5bc6cc Mirror package was hosted on disappeared 2019-08-14 16:12:19 +02:00
TheAssassin
4746fd0e87 Merge pull request #87 from linuxdeploy/apprun-hooks
AppRun hooks for plugins
2019-08-14 16:10:45 +02:00
TheAssassin
de363bc90b Merge branch 'master' into apprun-hooks 2019-08-14 15:14:02 +02:00
TheAssassin
8e9114b7c5 Improve generated AppRun script 2019-08-14 14:36:06 +02:00
TheAssassin
72e4fb49e0 Don't try to move if there's no need to do so 2019-08-14 14:35:53 +02:00
TheAssassin
abdefbc0ff Use a custom variable to support test runs from IDE better
When your IDE is running as an AppImage, the $APPRUN variable is
already set in the built-in terminal. Now of course you could just
calculate the path of $APPRUN yourself and force-overwrite it in that
script; however that's more effort and more likely to break.

Therefore it's easier to just introduce and use a custom variable.
2019-08-14 14:33:25 +02:00
TheAssassin
58845cee8f Support for AppRun hooks installed by plugins, mk. 1 2019-08-14 04:13:30 +02:00
TheAssassin
5bc8840003 Mark methods const where possible 2019-08-14 04:11:36 +02:00
TheAssassin
1cb5a742db Break up deployment algorithm into independent methods
That makes maintenance easier.
2019-08-14 02:28:21 +02:00
TheAssassin
142facd986 Improve method 2019-08-14 01:35:31 +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
374e17b5e3 Merge pull request #85 from linuxdeploy/update_cpp_subprocess
Update cpp-subprocess to ensure that the bug in util::read_all() is fixed
2019-07-25 20:32:12 +02:00
TheAssassin
d9681ccf5c Merge branch 'master' into update_cpp_subprocess 2019-07-25 20:10:35 +02:00
Alexis Lopez Zubieta
57dbdc6933 Update cpp-subprocess to ensure that the bug in util::read_all() is fixed 2019-07-25 13:08:21 -05: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
TheAssassin
0d055ebb81 Merge pull request #84 from darealshinji/patch-1
remove all comments
2019-07-07 16:06:52 +02:00
darealshinji
ce5aecead5 remove all comments
Otherwise the generated header contains entries like this:
``` c
    "libxcb-dri2.so.0",
    "#",
    "https://github.com/probonopd/linuxdeployqt/issues/331#issuecomment-442276277",
    "libxcb-dri3.so.0",
    "#",
    "https://github.com/AppImage/AppImages/issues/348",
```
2019-07-06 20:21:16 +02:00
TheAssassin
f01ae51f58 Merge pull request #79 from haampie/fix-deployment-of-dependencies
Fix an issue where dependencies are not deployed when calling deployLibrary only
2019-06-10 20:31:12 +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
TheAssassin
94bb814d69 Merge pull request #78 from haampie/fix-remove-recursion-elf-deployment
Remove recursion of ELF deployment since ldd already does that for us
2019-06-09 21:08:37 +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
TheAssassin
46ccb8965d Add missing valid resolutions (CC #75) 2019-05-24 16:19:36 +02:00
TheAssassin
5c3a51fd48 Merge pull request #71 from dbarach/master
Add a workspace sanity check
2019-03-27 17:12:19 +01:00
Dave Barach
44cb9466b3 Merge branch 'master' of https://github.com/dbarach/linuxdeploy
Signed-off-by: Dave Barach <dave@barachs.net>
2019-03-27 11:08:11 -04:00
Dave Barach
1dfcab8556 Add a workspace sanity check
Check to make sure that one source file in one of the git submodules
is present. If not, throw a fatal error which explains what probably
went wrong, and how to fix it:

"Missing submodule(s), please 'git clone --recurse-submodules...'"

Signed-off-by: Dave Barach <dave@barachs.net>
2019-03-27 11:03:25 -04:00
Dave Barach
e62e8d8396 Add a workspace sanity check
Check to make sure that one source file in one of the git submodules
is present. If not, throw a fatal error which explains what probably
went wrong, and how to fix it:

"Missing submodule(s), please 'git clone --recurse-submodules...'"

Signed-off-by: Dave Barach <dave@barachs.net>
2019-03-27 10:23:47 -04:00
TheAssassin
875842ee3b Fix linking issues 2019-03-21 15:13:08 +01:00
TheAssassin
a4fe77305d Reduce redundancy when adding boost header-only libs 2019-03-21 11:51:06 +01:00
TheAssassin
4f44dcf954 Fix Docker build script path issue 2019-03-21 11:28:15 +01:00
TheAssassin
44b234734b Upload CentOS 6 binaries 2019-03-21 11:27:02 +01:00
TheAssassin
871f1d6e99 Fix permissions 2019-03-21 11:20:45 +01:00
TheAssassin
f06643ea5f Experimental CentOS 6 build 2019-03-21 11:13:44 +01:00
TheAssassin
6baa443fd7 appimagetool is being annoying 2019-03-21 10:32:17 +01:00
TheAssassin
77c52883f1 Remove deprecated debug code 2019-03-20 17:25:13 +01:00
TheAssassin
157861d236 Make symlinking work for older versions of ln, too 2019-03-20 17:23:14 +01:00
TheAssassin
32dca18eee We don't use exceptions for error communication 2019-03-20 17:22:46 +01:00
TheAssassin
1f498772b4 Properly handle nonexisting files 2019-02-23 18:01:47 +01:00
TheAssassin
f9fc51a832 Improve search for patchelf
CC https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/24.
2019-02-20 13:13:34 +01:00
TheAssassin
a3e06e0024 Statically link desktopfile library 2019-02-07 00:46:59 +01:00