Commit Graph

201 Commits

Author SHA1 Message Date
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
9b1b214142 Install missing dependency 2018-08-27 20:00:05 +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
388e7d5acb Remove deprecated parameter from build script 2018-08-26 09:38:12 +02:00
TheAssassin
cc30bb6bd1 Update README 2018-08-26 09:37:47 +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
2c4fed2fad Add links to docs.appimage.org 2018-08-25 19:08:47 +02:00
TheAssassin
21849f8fbf Fix README 2018-08-25 19:05:16 +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
9743988c80 No longer bundle Qt plugin
It's almost always outdated, users will be better off downloading the
upstream AppImage.
2018-08-03 23:34:50 +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
fcd3ad49db Link against shared libmagic library
This allows distro maintainers to build linuxdeploy more easily

CC @adrianschroeter
2018-07-31 16:21:46 +02:00
TheAssassin
cc6310cbbd Allow icons with extension 2018-07-31 15:21:38 +02:00
TheAssassin
c58d9716b0 Quick fix patchelf build 2018-07-31 15:06:19 +02:00
TheAssassin
3e84f424e7 Debug patchelf build, mk. 5 2018-07-31 14:51:22 +02:00
TheAssassin
a386ab19fd Debug patchelf build, mk. 4 2018-07-31 14:35:25 +02:00
TheAssassin
4f84082155 Debug patchelf build, mk. 3 2018-07-31 14:32:01 +02:00
TheAssassin
8aa1bc9d89 Debug patchelf build, mk. 2 2018-07-31 14:25:08 +02:00
TheAssassin
56d9d6b540 Debug patchelf build 2018-07-31 14:20:42 +02:00
TheAssassin
5165301a44 Merge pull request #6 from linuxdeploy/fix_deploy_library_destinationPath
Fix deployLibrary destinationPath construction.
2018-07-18 21:52:05 +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
c10eafe823 Bundle Qt plugin 2018-07-17 14:19:07 +02:00
TheAssassin
4a7301eba5 Use patchelf v0.8
Seems like 0.10 breaks Qt libraries which expect a symbol called
qt_version_tag in a specific section in the symbols. Patchelf breaks
this by apparently moving the symbols to another section
(section 15 vs. 13).
We found out by looking into the readelf outputs of libQt5Core.so.5.
@azubieta spotted the different numbers, and looked up their meaning.

linuxdeployqt uses the patchelf binaries Debian jessie provides, which
is 0.8. Therefore we try to build that version from source instead,
hoping that this version won't break libraries.

If that doesn't work either, we'll try with the pre-built binaries.
2018-07-13 01:01:53 +02: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
bd052a5b1f Add prefix to every line in plugin output 2018-07-10 15:08:17 +02:00
TheAssassin
f06d5e5832 Store plugin name in plugin class 2018-07-10 15:06:39 +02:00
TheAssassin
a0ace9f75c Actually build 32-bit patchelf for 32-bit AppImage 2018-07-07 05:29:21 +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
5baac459b3 Don't upload AppImage plugin 2018-06-30 16:40:15 +02:00
TheAssassin
c783be934b Fix build failure 2018-06-30 16:15:37 +02:00
TheAssassin
ae6dfcfe21 Bundle AppImage plugin in Docker friendly way 2018-06-30 16:10:35 +02:00
TheAssassin
c07025ab8a Fix missing dependency 2018-06-30 00:52:55 +02:00
TheAssassin
c438d5ee2b Change build type 2018-06-30 00:52:10 +02:00