TheAssassin
10df75f877
Extract subprocessing into separate library
2018-10-25 14:34:54 +02:00
TheAssassin
4c0d5ea891
Remove erroneous null termination
...
The std::string is created using char pointer _and_ buffer size, so
null termination wasn't necessary in there (might even be problematic
with other tools which aren't strictly text based).
CC #35 .
2018-10-24 12:46:24 +02:00
TheAssassin
83a8f52f98
Replace communicate() to prevent buffer overflow
2018-10-14 17:11:05 +02:00
TheAssassin
b1bf306510
Fix compatibility with newer versions of ldd
2018-10-14 17:11:05 +02:00
TheAssassin
2f7ad201f1
Don't overwrite existing AppRun
...
... unless custom AppRun was specified
2018-10-07 00:10:57 +02:00
TheAssassin
88695de067
Fix desktop file filename handling
2018-09-30 21:20:36 +02:00
TheAssassin
0f19458792
Improve error message
2018-09-30 21:11:05 +02:00
TheAssassin
c8d78eb602
Remove --app-name parameter completely
...
Fixes #19 .
2018-09-30 17:12:28 +02:00
TheAssassin
6b8b59ee77
Search for plugins in current working directory
2018-09-29 21:56:58 +02:00
TheAssassin
3674af54b2
Fix syntax
2018-09-26 00:39:21 +02:00
TheAssassin
73ecd9d318
Actually copy files before running plugins
...
Some plugins like the Qt one expect libraries etc. to be deployed
already, like the plugin spec defines. We should try to adhere to the
spec.
2018-09-26 00:36:57 +02:00
TheAssassin
1ad4e5e6a9
Make sure to run ldd with LC_ALL=C
2018-09-22 23:21:00 +02:00
TheAssassin
83a9690da1
Fix appending of trailing slash
2018-09-04 14:33:25 +02:00
TheAssassin
5fc87e1c1c
Fix brackets
2018-09-03 23:33:26 +02:00
TheAssassin
3375de8fc4
Fix path calculation
2018-09-03 23:32:07 +02:00
TheAssassin
906c948304
Move redundant code into separate function
2018-09-03 23:30:53 +02:00
TheAssassin
371343baed
Properly set rpath in existing files
2018-09-03 21:07:43 +02:00
TheAssassin
63764e2e18
Show proper version statement
2018-09-03 20:20:16 +02:00
TheAssassin
d13814d784
Fix syntax on 32-bit platforms
2018-08-31 19:59:15 +02:00
TheAssassin
cd83c28196
Fix linker issues
2018-08-31 19:53:15 +02:00
TheAssassin
f99cac25b5
Deploy 32-bit and 64-bit libraries into separate directories
2018-08-31 19:45:21 +02:00
TheAssassin
11a923b672
Properly handle parsing error
2018-08-31 19:42:40 +02:00
TheAssassin
a8aaa09a55
Make sure to populate member variable
2018-08-31 19:41:12 +02:00
TheAssassin
0ced1390ce
Improve ELF library, mk. 2
2018-08-31 17:35:45 +02:00
TheAssassin
af310722df
Make constructor more efficient
2018-08-31 16:49:17 +02:00
TheAssassin
dcf1726889
Improve ELF library, mk. 1
2018-08-31 16:48:36 +02:00
TheAssassin
9a44a10173
Refactor copyright files deployment
2018-08-30 22:13:01 +02:00
TheAssassin
b550e4da21
Run input plugins before deploying icons and desktop files
...
The input plugins might even fetch these resources somewhere into the
AppDir, and this way, the user can make use of that.
2018-08-28 23:05:45 +02:00
TheAssassin
5b54db31cc
Fix error message
2018-08-28 15:46:35 +02:00
TheAssassin
4a098896a9
Improve plugin related logging
2018-08-28 15:44:17 +02:00
TheAssassin
ec051c3e0c
Inform user about wrong usage of plugin parameters
2018-08-28 15:42:26 +02:00
TheAssassin
0741d9441b
Offset error message from previous block
2018-08-28 15:41:53 +02:00
TheAssassin
db77174f24
Don't deploy dependencies for existing symlinks
...
This might lead to unintended side effects, e.g., when bundling
additional resources in a separate prefix for which linuxdeploy is not
needed.
2018-08-27 19:52:36 +02:00
TheAssassin
a0b0378d36
Improve handling of strip tool
2018-08-27 19:49:50 +02:00
TheAssassin
0d60f67da3
Always create basic AppDir structure
...
Fixes #20 .
2018-08-25 23:51:06 +02:00
TheAssassin
e8dee64447
Deprecate --app-name
...
It's been a useful parameter, but only in some rare edge cases. Instead,
we'll focus more on desktop files, e.g., using the Icon entry contents
for (re)naming icons, etc.
2018-08-25 23:46:13 +02:00
TheAssassin
36c6be95d6
Remove redundant parameters
...
CC #22
2018-08-25 23:32:14 +02:00
TheAssassin
4de8b6589f
Remove unused dependency libmagic
...
Our use of libmagic isn't very portable, and the checks aren't used
anyway. Therefore removing dependency on libmagic.
Fixes #17 .
2018-08-20 23:54:35 +02:00
TheAssassin
7184bcb61d
Abort if library is missing
2018-08-11 15:30:06 +02:00
TheAssassin
55d524b136
Fix argument order
2018-08-11 14:56:00 +02:00
TheAssassin
84b614c1ea
Fix plugin finding
2018-08-03 23:31:25 +02:00
TheAssassin
1035ef726d
Fix include path
2018-08-03 01:22:59 +02:00
TheAssassin
1c7e768b86
Provide interface to linuxdeploy_util
2018-08-03 00:56:16 +02:00
TheAssassin
a28181d98c
Fix CMake minimum required version
2018-07-31 21:35:06 +02:00
TheAssassin
cc6310cbbd
Allow icons with extension
2018-07-31 15:21:38 +02:00
TheAssassin
c1452fa870
Merge branch 'master' into fix_deploy_library_destinationPath
2018-07-18 21:46:25 +02:00
Alexis Lopez Zubieta
03cae41d55
Fix deployLibrary destinationPath construction.
2018-07-18 13:34:20 -05:00
TheAssassin
a3cc38d406
Show error message if dependency library cannot be found
2018-07-12 23:39:17 +02:00
TheAssassin
144fd2deb0
Deactivate strip calls if $NO_STRIP is set
2018-07-12 21:08:50 +02:00
TheAssassin
b96389a064
Use -n parameter to enhance search for suitable desktop file
...
In case there's more than a desktop file, the user can specify the
app name using -n <app name>, and linuxdeploy will try to find a
suitable desktop file whose filename starts with the specified app
name.
2018-07-12 18:22:43 +02:00