Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
2aa0d0d5
Commit
2aa0d0d5
authored
Jun 13, 2016
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some check of tools in prepare.py.
parent
da46ae88
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
prepare.py
prepare.py
+21
-0
cmake-builder
submodules/cmake-builder
+1
-1
No files found.
prepare.py
View file @
2aa0d0d5
...
...
@@ -118,6 +118,27 @@ class DesktopPreparator(prepare.Preparator):
self
.
additional_args
+=
[
"-DCMAKE_SKIP_INSTALL_RPATH=YES"
]
self
.
additional_args
+=
[
"-DENABLE_RELATIVE_PREFIX=YES"
]
def
check_tools
(
self
):
ret
=
prepare
.
Preparator
.
check_tools
(
self
)
if
platform
.
system
()
==
'Windows'
:
ret
|=
not
self
.
check_is_installed
(
'mingw-get'
,
'MinGW (https://sourceforge.net/projects/mingw/files/Installer/)'
)
if
"python"
in
self
.
args
.
target
or
"python-raspberry"
in
self
.
args
.
target
:
if
platform
.
system
()
==
'Windows'
:
doxygen_prog
=
'doxygen (http://www.stack.nl/~dimitri/doxygen/download.html)'
graphviz_prog
=
'graphviz (http://graphviz.org/Download.php)'
else
:
doxygen_prog
=
'doxygen'
graphviz_prog
=
'graphviz'
ret
|=
not
self
.
check_is_installed
(
'doxygen'
,
doxygen_prog
)
ret
|=
not
self
.
check_is_installed
(
'dot'
,
graphviz_prog
)
return
ret
def
show_missing_dependencies
(
self
):
if
self
.
missing_dependencies
:
error
(
"The following binaries are missing: {}. Please install these packages:
\n\t
{}"
.
format
(
" "
.
join
(
self
.
missing_dependencies
.
keys
()),
" "
.
join
(
self
.
missing_dependencies
.
values
())))
def
clean
(
self
):
prepare
.
Preparator
.
clean
(
self
)
if
os
.
path
.
isfile
(
'Makefile'
):
...
...
cmake-builder
@
605f5df0
Subproject commit
2b9f1cff1a509ac081e1d3aeda934f36ad61411d
Subproject commit
605f5df0f2fd6c42dbd0f4c55ac119fb152930f5
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment