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
8bfcb00a
Commit
8bfcb00a
authored
Apr 06, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kicad-install.sh uses https protocol.
parent
c0ed2266
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
333 deletions
+12
-333
kicad-install-no_launchpad_account.sh
scripts/kicad-install-no_launchpad_account.sh
+0
-327
kicad-install.sh
scripts/kicad-install.sh
+12
-6
No files found.
scripts/kicad-install-no_launchpad_account.sh
deleted
100644 → 0
View file @
c0ed2266
This diff is collapsed.
Click to expand it.
scripts/kicad-install.sh
100755 → 100644
View file @
8bfcb00a
...
@@ -35,13 +35,19 @@
...
@@ -35,13 +35,19 @@
WORKING_TREES
=
~/kicad_sources
WORKING_TREES
=
~/kicad_sources
# CMake Options
# CMake Options
OPTS
=
"
$OPTS
-DCMAKE_BUILD_TYPE=Release"
#OPTS="$OPTS -DBUILD_GITHUB_PLUGIN=OFF"
OPTS
=
"
$OPTS
-DBUILD_GITHUB_PLUGIN=ON"
# Python scripting, uncomment to enable
# Python scripting, uncomment to enable
#OPTS="$OPTS -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON"
#OPTS="$OPTS -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON"
LIB_REPO
=
~dickelbeck/kicad/library-read-only
# Use https under bazaar to retrieve repos because this does not require a
# launchpad.net account. Whereas lp:<something> requires a launchpad account.
# https results in read only access.
REPOS
=
https://code.launchpad.net
LEGACY_LIB_REPO
=
$REPOS
/~dickelbeck/kicad/library-read-only
SRCS_REPO
=
$REPOS
/~kicad-product-committers/kicad/product
DOCS_REPO
=
$REPOS
/~kicad-developers/kicad/doc
usage
()
usage
()
...
@@ -196,7 +202,7 @@ install_or_update()
...
@@ -196,7 +202,7 @@ install_or_update()
echo
"step 3) checking out the source code from launchpad repo..."
echo
"step 3) checking out the source code from launchpad repo..."
if
[
!
-d
"
$WORKING_TREES
/kicad.bzr"
]
;
then
if
[
!
-d
"
$WORKING_TREES
/kicad.bzr"
]
;
then
bzr checkout
lp:kicad
kicad.bzr
bzr checkout
$SRCS_REPO
kicad.bzr
echo
" source repo to local working tree."
echo
" source repo to local working tree."
else
else
cd
kicad.bzr
cd
kicad.bzr
...
@@ -206,7 +212,7 @@ install_or_update()
...
@@ -206,7 +212,7 @@ install_or_update()
fi
fi
if
[
!
-d
"
$WORKING_TREES
/kicad-lib.bzr"
]
;
then
if
[
!
-d
"
$WORKING_TREES
/kicad-lib.bzr"
]
;
then
bzr checkout
"lp:
$LIB_REPO
"
kicad-lib.bzr
bzr checkout
$LEGACY_LIB_REPO
kicad-lib.bzr
echo
' kicad-lib checked out.'
echo
' kicad-lib checked out.'
else
else
cd
kicad-lib.bzr
cd
kicad-lib.bzr
...
@@ -217,7 +223,7 @@ install_or_update()
...
@@ -217,7 +223,7 @@ install_or_update()
echo
"step 5) checking out the documentation from launchpad repo..."
echo
"step 5) checking out the documentation from launchpad repo..."
if
[
!
-d
"
$WORKING_TREES
/kicad-doc.bzr"
]
;
then
if
[
!
-d
"
$WORKING_TREES
/kicad-doc.bzr"
]
;
then
bzr checkout
lp:~kicad-developers/kicad/doc
kicad-doc.bzr
bzr checkout
$DOCS_REPO
kicad-doc.bzr
echo
" docs checked out."
echo
" docs checked out."
else
else
cd
kicad-doc.bzr
cd
kicad-doc.bzr
...
...
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