Commit Graph

482 Commits

Author SHA1 Message Date
darealshinji
ce5aecead5 remove all comments
Otherwise the generated header contains entries like this:
``` c
    "libxcb-dri2.so.0",
    "#",
    "https://github.com/probonopd/linuxdeployqt/issues/331#issuecomment-442276277",
    "libxcb-dri3.so.0",
    "#",
    "https://github.com/AppImage/AppImages/issues/348",
```
2019-07-06 20:21:16 +02:00
TheAssassin
f01ae51f58 Merge pull request #79 from haampie/fix-deployment-of-dependencies
Fix an issue where dependencies are not deployed when calling deployLibrary only
2019-06-10 20:31:12 +02:00
Harmen Stoppels
0e95f19a75 Make deployLibrary deploy its dependencies by default, and avoid unnecessary recursion by making deployElfDependencies not deploy its deps of deps 2019-06-10 20:12:30 +02:00
TheAssassin
94bb814d69 Merge pull request #78 from haampie/fix-remove-recursion-elf-deployment
Remove recursion of ELF deployment since ldd already does that for us
2019-06-09 21:08:37 +02:00
Harmen Stoppels
159b082658 Remove recursion of ELF deployment since ldd already does that for us 2019-06-09 14:43:59 +02:00
TheAssassin
2a1127d7e8 Show acceptable icon sizes in error message
CC #75.
2019-05-24 23:25:03 +02:00
TheAssassin
3f81577b04 Fix missing newline in error messages 2019-05-24 22:49:19 +02:00
TheAssassin
834b467a41 Fix data printed in error message 2019-05-24 22:48:53 +02:00
TheAssassin
46ccb8965d Add missing valid resolutions (CC #75) 2019-05-24 16:19:36 +02:00
TheAssassin
5c3a51fd48 Merge pull request #71 from dbarach/master
Add a workspace sanity check
2019-03-27 17:12:19 +01:00
Dave Barach
44cb9466b3 Merge branch 'master' of https://github.com/dbarach/linuxdeploy
Signed-off-by: Dave Barach <dave@barachs.net>
2019-03-27 11:08:11 -04:00
Dave Barach
1dfcab8556 Add a workspace sanity check
Check to make sure that one source file in one of the git submodules
is present. If not, throw a fatal error which explains what probably
went wrong, and how to fix it:

"Missing submodule(s), please 'git clone --recurse-submodules...'"

Signed-off-by: Dave Barach <dave@barachs.net>
2019-03-27 11:03:25 -04:00
Dave Barach
e62e8d8396 Add a workspace sanity check
Check to make sure that one source file in one of the git submodules
is present. If not, throw a fatal error which explains what probably
went wrong, and how to fix it:

"Missing submodule(s), please 'git clone --recurse-submodules...'"

Signed-off-by: Dave Barach <dave@barachs.net>
2019-03-27 10:23:47 -04:00
TheAssassin
875842ee3b Fix linking issues 2019-03-21 15:13:08 +01:00
TheAssassin
a4fe77305d Reduce redundancy when adding boost header-only libs 2019-03-21 11:51:06 +01:00
TheAssassin
4f44dcf954 Fix Docker build script path issue 2019-03-21 11:28:15 +01:00
TheAssassin
44b234734b Upload CentOS 6 binaries 2019-03-21 11:27:02 +01:00
TheAssassin
871f1d6e99 Fix permissions 2019-03-21 11:20:45 +01:00
TheAssassin
f06643ea5f Experimental CentOS 6 build 2019-03-21 11:13:44 +01:00
TheAssassin
6baa443fd7 appimagetool is being annoying 2019-03-21 10:32:17 +01:00
TheAssassin
77c52883f1 Remove deprecated debug code 2019-03-20 17:25:13 +01:00
TheAssassin
157861d236 Make symlinking work for older versions of ln, too 2019-03-20 17:23:14 +01:00
TheAssassin
32dca18eee We don't use exceptions for error communication 2019-03-20 17:22:46 +01:00
TheAssassin
1f498772b4 Properly handle nonexisting files 2019-02-23 18:01:47 +01:00
TheAssassin
f9fc51a832 Improve search for patchelf
CC https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/24.
2019-02-20 13:13:34 +01:00
TheAssassin
a3e06e0024 Statically link desktopfile library 2019-02-07 00:46:59 +01:00
TheAssassin
956a253428 Return final deployment path
deployFile allows for specifying a directory as destination, and copies
files into there, simulating the behavior of tools like cp. To do that,
it creates the directory, then appends the filename of the input file
to it and uses that as destination for the "copy file" call.

It's pretty handy for some applications to get the full path of the
new file returned by this method directly (doesn't have to implement
this concatenation more than once).
2019-02-06 23:23:48 +01:00
TheAssassin
ce6597fb9d Better handle debug-symbols-only ELF files 2019-01-29 01:00:36 +01:00
TheAssassin
028d85a070 Explicitly disable all copy/move(-assignment) behavior 2019-01-29 00:03:35 +01:00
TheAssassin
8df605cb19 Use shared pointer to manage PImpl object 2019-01-29 00:02:49 +01:00
TheAssassin
3a0870842c Update linuxdeploy-desktopfile 2019-01-28 16:52:20 +01:00
TheAssassin
1510d0c333 Update README.md
[ci skip]
2019-01-07 15:45:43 +01:00
TheAssassin
7c8ab1c773 Fix desktop file deployment 2018-12-22 23:26:28 +01:00
TheAssassin
5374e7ece9 Switch to extracted desktop file library 2018-12-22 23:09:04 +01:00
TheAssassin
6b715c691a Give test case more suitable name 2018-12-22 23:02:39 +01:00
TheAssassin
78f33a7190 Move linuxdeploy-specific helper out of desktop file class 2018-12-22 23:02:15 +01:00
TheAssassin
3df27ba175 Add proper desktop file
The auto-generated desktop file does trigger integration tools like
AppImageLauncher, this one shows it's a CLI tool and should just be
launched now.
2018-12-21 19:08:33 +01:00
TheAssassin
2ea9a367b5 Check whether parsing with comments is supported 2018-12-21 19:08:33 +01:00
TheAssassin
673ccf5691 Improve simple desktop file test 2018-12-21 19:08:33 +01:00
TheAssassin
d743e11486 Merge pull request #63 from linuxdeploy/issue-62
Fix handling of localized desktop file entries
2018-12-09 16:13:06 +01:00
TheAssassin
cddefc3806 Validate some constraints on localized keys 2018-12-06 12:09:18 +01:00
TheAssassin
1f5315926d Increase readability 2018-12-06 12:08:51 +01:00
TheAssassin
a12f3ac0fe Improve error message 2018-12-06 11:56:21 +01:00
TheAssassin
640b756a7f Temporarily allow localization brackets in key names
Must be revised when introducing proper localization support.
2018-12-06 11:49:14 +01:00
TheAssassin
d486f936e2 Test localized keys support
This is the unit test that was missing to cover the use case described
in #69.
2018-12-06 11:47:25 +01:00
TheAssassin
b7faefdc56 Merge pull request #60 from linuxdeploy/issue-59
Ship 32-bit strip binary
2018-11-24 00:44:39 +01:00
TheAssassin
4585cb1a28 Download known working version of strip for i386, mk. 2 2018-11-24 00:34:38 +01:00
TheAssassin
23c85c732a Download known working version of strip for i386 2018-11-24 00:04:40 +01:00
TheAssassin
b3e259bda1 Merge branch 'master' into issue-59 2018-11-23 22:08:37 +01:00
TheAssassin
d42abe363c Merge pull request #61 from linuxdeploy/debug-desktopfile-unit-tests-in-release-builds
Fix desktop file parser unit test failures
2018-11-23 22:08:03 +01:00