Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
959b63ba
Commit
959b63ba
authored
Oct 21, 2014
by
nosuz
Committed by
Wayne Stambaugh
Oct 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix kicad-install.sh to only install wxPython when building with scripting enabled.
parent
8cdd4faa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
8 deletions
+35
-8
kicad-install.sh
scripts/kicad-install.sh
+35
-8
No files found.
scripts/kicad-install.sh
View file @
959b63ba
...
...
@@ -103,13 +103,27 @@ install_prerequisites()
libglew-dev
libssl-dev
libwxgtk3.0-dev
python-wxgtk3.0
"
for
p
in
${
prerequisite_list
}
do
sudo
apt-get
install
$p
||
exit
1
done
for
p
in
${
prerequisite_list
}
do
sudo
apt-get
install
$p
||
exit
1
done
# Only install the scripting prerequisites if required.
if
[
"
$(
expr
match
"
$OPTS
"
'.*\(-DKICAD_SCRIPTING=ON\)'
)
"
==
"-DKICAD_SCRIPTING=ON"
]
;
then
#echo "KICAD_SCRIPTING=ON"
scripting_prerequisites
=
"
python-dev
python-wxgtk3.0-dev
swig
"
for
sp
in
${
scripting_prerequisites
}
do
sudo
apt-get
install
$sp
||
exit
1
done
fi
# assume all yum systems have same prerequisites
elif
[
"
$(
expr
match
"
$PM
"
'.*\(yum\)'
)
"
==
"yum"
]
;
then
...
...
@@ -131,13 +145,26 @@ install_prerequisites()
grep
openssl-devel
wxGTK-devel
wxPython
"
for
p
in
${
prerequisite_list
}
do
for
p
in
${
prerequisite_list
}
do
sudo
yum
install
$p
||
exit
1
done
# Only install the scripting prerequisites if required.
if
[
"
$(
expr
match
"
$OPTS
"
'.*\(-DKICAD_SCRIPTING=ON\)'
)
"
==
"-DKICAD_SCRIPTING=ON"
]
;
then
#echo "KICAD_SCRIPTING=ON"
scripting_prerequisites
=
"
swig
wxPython
"
for
sp
in
${
scripting_prerequisites
}
do
sudo
yum
install
$sp
||
exit
1
done
fi
else
echo
echo
"Incompatible System. Neither 'yum' nor 'apt-get' found. Not possible to continue."
...
...
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