Commit Graph

135 Commits

Author SHA1 Message Date
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
TheAssassin
b156ffc0cb Add stringEndsWith helper 2018-07-12 18:19:37 +02:00
TheAssassin
f06d5e5832 Store plugin name in plugin class 2018-07-10 15:06:39 +02:00
TheAssassin
2b7a5928a5 Fix forceDeployLibrary, mk. 2 2018-07-01 02:28:44 +02:00
TheAssassin
ec862d0af9 Fix forceDeployLibrary 2018-07-01 01:06:31 +02:00
TheAssassin
df61b059d3 Force deploy libraries specified on the CLI 2018-06-30 23:27:02 +02:00
TheAssassin
a4217d816c Standalone boost builds, mk. 2 2018-06-29 02:42:29 +02:00
TheAssassin
a85dede6fe Standalone boost builds, mk. 1 2018-06-29 01:38:09 +02:00
TheAssassin
3244103029 Don't call strip if rpath starts with $ 2018-06-28 14:56:54 +02:00
TheAssassin
81a0ca2e5c Bundle strip
Seems like non-trusty strip binaries break the Qt libraries. Let's try
with the trusty version. Seems to work for linuxdeployqt.
2018-06-28 02:36:46 +02:00
TheAssassin
4c926ee2d8 Avoid random methods in namespace 2018-06-28 02:35:23 +02:00
TheAssassin
b2e2ac9a0f Move main.cpp to more appropriate location 2018-06-28 02:33:48 +02:00
TheAssassin
78a6cb595a Call strip on shared libraries and executables 2018-06-28 00:53:29 +02:00
TheAssassin
3c92ca7f62 Fix copyright file deployment 2018-06-26 04:13:07 +02:00
TheAssassin
dfaed30e35 Deploy copyright files using distro tools
Distributions are good at conforming to licenses. linuxdeploy makes use
of this by using the distro tools to find those for files it uses from
the distro.

At the moment, only Debian's dpkg-query is supported.
2018-06-26 03:15:01 +02:00
TheAssassin
76d27a352c Replace ImageMagick with CImg
For now, it is known to support JPEG and PNG files.

Fixes #3.
2018-06-25 17:37:21 +02:00
TheAssassin
9f32fbf8fd Search for icons in usr/share/pixmaps as well 2018-06-25 03:05:06 +02:00