Commit Graph

62 Commits

Author SHA1 Message Date
TheAssassin
b1b42b2cfb Add missing space 2018-06-19 23:55:08 +02:00
TheAssassin
42b3c6963b Fix duplicate space 2018-06-19 23:52:40 +02:00
TheAssassin
8174fe2fa3 Implement plugins in main binary, mk. 1 2018-06-19 23:47:24 +02:00
TheAssassin
1d8d11d5f0 Fix help text 2018-06-19 23:42:20 +02:00
TheAssassin
6c6b43a1ce Fix AppRun symlink deployment
Also adds an error check to help debugging such issues in the future.
Thanks @azubieta for reporting the error.
2018-06-19 20:55:22 +02:00
TheAssassin
1736e05958 Extract get own executable path functionality into function 2018-06-19 19:03:11 +02:00
TheAssassin
7c06295cfd Plugin system, mk. 1 2018-06-19 18:02:23 +02:00
TheAssassin
47295b7a2a Return error if icon can't be found 2018-06-18 04:19:22 +02:00
TheAssassin
a38d8f11f1 Fix logging 2018-06-18 04:16:41 +02:00
TheAssassin
9ff15ccd69 Fix desktop file validation error message 2018-06-18 03:13:09 +02:00
TheAssassin
ba50896465 Fix desktop file validation error check 2018-06-18 03:12:54 +02:00
TheAssassin
73482efa53 Fix SVG deployment, mk. 3 2018-06-16 03:50:43 +02:00
TheAssassin
823e9a3cba Fix SVG deployment, mk. 2 2018-06-16 03:41:32 +02:00
TheAssassin
8a48212379 Clean up unused variable 2018-06-16 03:34:24 +02:00
TheAssassin
b491870cab Fix SVG deployment 2018-06-16 03:33:55 +02:00
TheAssassin
68c1768543 Show message on libmagick errors 2018-06-16 03:31:49 +02:00
TheAssassin
760f92b5ce Fix error message 2018-06-16 03:11:33 +02:00
TheAssassin
32dba2942c Fix deployedExecutablePaths 2018-06-16 02:56:46 +02:00
TheAssassin
11c4ca79c4 Temporarily disable MIME checks until fix is available 2018-06-16 02:15:17 +02:00
TheAssassin
b335e65af3 Fix crash 2018-06-16 00:49:18 +02:00
TheAssassin
d0a36af12c Fix deployExecutable, mk. 2 2018-06-15 15:02:24 +02:00
TheAssassin
83656ff656 Replace fts/dirent with boost::filesystem functionality 2018-06-14 21:29:01 +02:00
TheAssassin
7eb7c04ee4 Fix deployExecutable 2018-06-14 21:23:41 +02:00
TheAssassin
14a1702bb5 Show message when deployFile() is called by user 2018-06-13 17:48:57 +02:00
TheAssassin
b0b2862cb4 Remove duplicate space in error message 2018-06-11 23:52:29 +02:00
TheAssassin
8209687bf8 Remove duplicate error message 2018-06-11 23:49:50 +02:00
TheAssassin
5bb8002a09 Improve copyFile 2018-06-11 23:43:21 +02:00
TheAssassin
ee42183205 Add deployFile to AppDir class interface 2018-06-11 23:04:37 +02:00
TheAssassin
333c281c20 Add destination parameter to deployExecutable
Code is mostly shared with deployLibrary's destination code.
TODO: refactor: extract to separate function and use in both places
2018-06-11 23:00:28 +02:00
TheAssassin
5147620250 Add indentation to log output
Makes log output easier to read, and also shows the relations between
the libraries.
2018-06-08 14:49:30 +02:00
TheAssassin
f13d87a88b Improve program flow 2018-06-08 14:20:59 +02:00
TheAssassin
204fb5bada Log library destination on deployment 2018-06-08 14:19:28 +02:00
TheAssassin
e3d554ea1b Fix output path for linuxdeploy binary 2018-06-08 11:55:07 +02:00
TheAssassin
fa2b463363 Calculate relative path from absolute paths
Seems to work without any kind of workarounds.
2018-06-08 11:36:18 +02:00
TheAssassin
437631b346 Remove obsolete debug message 2018-06-08 03:23:08 +02:00
TheAssassin
4a31ecb8b9 Allow setting destination directory in deployLibrary() 2018-06-08 03:06:18 +02:00
TheAssassin
96bf015722 Build up to date version of Boost libraries
System versions can still be used (if they're _somewhat_ up to date,
the ones on <= xenial are too old).
2018-06-08 02:04:20 +02:00
TheAssassin
030b21379b Move exception to header
Otherwise, it obviously can't be caught by users of the ElfFile class.
2018-06-04 14:08:24 +02:00
TheAssassin
c6f760c343 Add some checks to ElfFile constructor 2018-06-04 13:59:23 +02:00
TheAssassin
bc43814608 Use references instead of copying values 2018-06-03 12:52:59 +02:00
TheAssassin
54029b53b6 Deploy dependencies for existing files in AppDir 2018-06-03 03:24:29 +02:00
TheAssassin
22df875849 Add libmagic wrapper
Also builds separate static library linuxdeploy_util providing old util
header and new magic wrapper.
2018-06-03 02:09:24 +02:00
TheAssassin
b64270c37b Add include dir to public linking interface 2018-06-02 01:19:57 +02:00
TheAssassin
96f77423d6 Remove util.h from public interface
It doesn't belong to the core namespace anyway.
2018-06-02 01:15:07 +02:00
TheAssassin
6b88cd4721 Rename core library for external usage 2018-06-02 01:11:52 +02:00
TheAssassin
749110852c Force static build of the core library 2018-06-02 01:11:17 +02:00
TheAssassin
2bee994f53 Rename icons like <appname>_*.ext to <appname>.ext
This allows users to specify multiple icons like
-i app_res1.png -i app_res2.png -i [...]
linuxdeploy can sort them into the right directory structure, and
their name will be equal to the app name (which is most likely equal
to the Icon entry in the desktop file).
2018-06-01 21:52:43 +02:00
TheAssassin
0cc71b2d84 Link boost statically 2018-06-01 20:33:53 +02:00
TheAssassin
3244f44b9a Don't overwrite existing files unless explicitly requested 2018-06-01 20:28:32 +02:00
TheAssassin
aa345a3dfe Initialize all variables 2018-06-01 16:56:28 +02:00