Commit Graph

94 Commits

Author SHA1 Message Date
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
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
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
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
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
TheAssassin
9f2218c655 Add more debug logging 2018-06-23 23:35:33 +02:00
TheAssassin
e51617a1a8 Fix error message 2018-06-21 00:53:53 +02:00
TheAssassin
784522844e Check file type using ELF file class
Temporary workaround only!
2018-06-20 21:34:26 +02:00
TheAssassin
d14c776419 Add support for input plugins 2018-06-20 21:20:49 +02:00
TheAssassin
77ae6072d8 Add int-type log operators 2018-06-20 21:14:30 +02:00
TheAssassin
3f1a95f891 Set rpath for existing binaries and libraries 2018-06-20 17:47:22 +02:00
TheAssassin
ac2fa3df7d Split off parameters from Exec entries 2018-06-20 16:24:27 +02:00
TheAssassin
4961f16030 Fix log message 2018-06-20 16:24:13 +02:00
TheAssassin
c5d15b54ba Add support for output plugins 2018-06-20 00:44:39 +02:00
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