Alexis Lopez Zubieta
19ecbb2d70
remove empty line
2018-11-05 16:24:09 -06:00
Alexis Lopez Zubieta
0e92331a12
Document linuxdeploy::deployAppDirRootFiles
2018-11-05 16:23:04 -06:00
Alexis Lopez Zubieta
4bf1948774
Document linuxdeploy::getMainDesktopFile
2018-11-05 16:07:01 -06:00
Alexis Lopez Zubieta
f201c57177
Optimize imports
2018-11-05 15:57:37 -06:00
Alexis Lopez Zubieta
d7c0e94f11
Reformat
2018-11-05 15:55:13 -06:00
Alexis Lopez Zubieta
700f6fe15f
Remove declaration of getMainDesktopFile
2018-11-05 15:54:59 -06:00
Alexis Lopez Zubieta
012e621ec5
Throw an exception when no deskotp files are found
2018-11-05 15:47:11 -06:00
Alexis Lopez Zubieta
6c674aa184
Making getMainDesktopFile parameters constant references
2018-11-05 15:43:35 -06:00
Alexis Lopez Zubieta
553bb9fcb0
No need to override constructor
2018-11-05 15:41:06 -06:00
Alexis Lopez Zubieta
906dcab283
Fix code style
2018-11-05 15:40:15 -06:00
Alexis Lopez Zubieta
fc3d80c281
remove duplicated 'public'
2018-11-05 15:39:47 -06:00
Alexis Lopez Zubieta
f0bb1fb472
bring empty line back
2018-11-05 15:39:00 -06:00
Alexis Lopez Zubieta
f3f30166f2
Importing boost::filesystem as bf to keep consistency its usage across the project
2018-11-05 15:38:12 -06:00
Alexis Lopez Zubieta
2210b7e65d
Remove integration test 'build_minimal_appimage_with_custom_apprun'
2018-11-05 15:33:15 -06:00
Alexis Lopez Zubieta
cc800588d2
Optimize imports
2018-11-05 15:28:11 -06:00
Alexis Lopez Zubieta
29cda3b1ac
Change return type to bool
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
16b0a5948a
createLinksInAppDirRoot is capable of dealing with an empty customAppRunPath so there is no need to check it
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
41569a4f53
The ".DirIcon" creation seems not to be responsibility of deployAppDirRootFiles
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
7ff05ca98e
Removing AppRun file existence check as createLinksInAppDirRoot also perform this check
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
cab57f86d6
Put main desktop file lookup into a separated function
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
93fea697e5
Move desktop file deployment away from desktop file lookup
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
bd12fefc35
Complete deployAppDirRootFilesWithExistentAppRun definition
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
2cdedc252c
Replace args::ValueFlagList by vector<string> in deployAppDirRootFiles function signature
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
1fa90fbd5c
Add namespace and prepare unittest
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
7318d68c96
Move deployAppDirRootFiles function into a separated file to allow unit testing
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
e5f4755da7
Move deploy AppDir root files into a separated function
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
31f20a398f
Add integration test to build a minimal appimage with custom AppRun
2018-11-05 15:12:27 -06:00
Alexis López Zubieta
d9ca907da8
Add symlinkFile to the public AppDir interface ( #42 )
...
* Add symlinkFile to the public AppDir interface
* Rename AppDir::symlinkFile to AppDir::createSymlink
* change return value to bool
* Remove duplicated header
* Remove blank lines
* Add comment
* Fix test name
* Change createSymlink signature. Name changed to createRelativeSymlink and remove the useRelativePath argument
* Remove commented tests.
2018-11-05 22:10:18 +01:00
TheAssassin
542edaf410
Allow disabling copyright files deployment for debugging
2018-11-04 17:21:36 +01:00
TheAssassin
e683561430
Merge pull request #38 from linuxdeploy/refactor-subprocessing
...
Refactor subprocessing
2018-10-25 15:36:57 +02:00
TheAssassin
0de7caa8ee
Document complex if query
...
[ci skip]
2018-10-25 15:33:22 +02:00
TheAssassin
f1690cc2a3
Use new subprocessing function to create symlinks
2018-10-25 15:18:55 +02:00
TheAssassin
53e0850a2b
Use new subprocessing function to handle calls to strip
2018-10-25 15:17:43 +02:00
TheAssassin
3949a5fc57
Use new subprocessing function to set rpath in ELF files
2018-10-25 15:12:27 +02:00
TheAssassin
001b8f974c
Use new subprocessing function to read rpath in ELF files
2018-10-25 14:58:47 +02:00
TheAssassin
2f5e04ec24
Increase stream buffer size again
2018-10-25 14:38:03 +02:00
TheAssassin
8d01c448d3
Increase subprocess stream reading reliability
2018-10-25 14:37:17 +02:00
TheAssassin
10df75f877
Extract subprocessing into separate library
2018-10-25 14:34:54 +02:00
TheAssassin
0c5b198e2f
Merge pull request #33 from linuxdeploy/tests
...
Add Unit Tests
2018-10-25 01:26:46 +02:00
TheAssassin
5d2984ae02
Merge branch 'master' into tests
2018-10-25 01:21:46 +02:00
TheAssassin
33829c07d0
Remove redundant variables and fix paths
2018-10-25 01:16:05 +02:00
TheAssassin
90f8ed26b8
Fix path in unit test
2018-10-25 01:12:47 +02:00
TheAssassin
cbaa343a82
Add missing trailing newline character
...
[ci skip]
2018-10-25 01:08:52 +02:00
TheAssassin
9cf0663baa
Hardcode all paths to recognize sudden changes of destination paths
2018-10-25 01:06:12 +02:00
TheAssassin
e94494ea31
Move declaration of variables to top
2018-10-25 00:48:13 +02:00
TheAssassin
2dce34daf9
Use ASSERT_* instead of if()s and FAIL()
2018-10-25 00:46:46 +02:00
TheAssassin
7260078b6c
Move test into subdirectory named like internal library
2018-10-25 00:39:45 +02:00
TheAssassin
4bdceec7d8
Use standard lower-case file extension
2018-10-25 00:30:41 +02:00
TheAssassin
ca6c710c38
Remove deprecated code
2018-10-25 00:27:32 +02:00
TheAssassin
8a31d3d677
Fix cross-compiling toolchain
2018-10-25 00:27:32 +02:00