Commit Graph

111 Commits

Author SHA1 Message Date
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
TheAssassin
9f2218c655 Add more debug logging 2018-06-23 23:35:33 +02:00
TheAssassin
b64a939f30 Add tool to debug AppDir class behavior 2018-06-23 21:41:50 +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
93adb7abde Search for linuxdeploy plugins in AppImage's directory 2018-06-20 21:26:48 +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
03639f6cd9 Add missing null check 2018-06-20 20:42:24 +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
573c311d78 Update plugin regex 2018-06-20 02:03:31 +02:00
TheAssassin
ef73118dda Actually search for plugins in current binary directory 2018-06-20 01:34:08 +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
2a769ac3d9 Make findPlugins return plugin name
Required to let users enable them by hand.
2018-06-19 22:47:01 +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
b7c34fa5b1 Search for plugins in plugin_test 2018-06-19 20:47:09 +02:00
TheAssassin
12c7ec7166 Implement standard mechanism to find plugins on the system
First searches in current directory, then searches directories in
$PATH.
2018-06-19 20:46:53 +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