Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-project
Commits
51183ef1
Commit
51183ef1
authored
9 years ago
by
Ciro Santilli
Browse files
Options
Downloads
Patches
Plain Diff
Global install option
parent
0e0afc1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+14
-2
14 additions, 2 deletions
README.md
ubuntu-15.10-install.sh
+75
-0
75 additions, 0 deletions
ubuntu-15.10-install.sh
with
89 additions
and
2 deletions
README.md
+
14
−
2
View file @
51183ef1
...
...
@@ -10,16 +10,28 @@ I'd rather have a single Git repo, but without official support, maintaining a m
Build and install locally under this repository:
./ubuntu-15.10-
local-
install.sh
./ubuntu-15.10-install.sh
Run daemon and client
on
background:
Run daemon and client
that were installed locally on the
background:
./ubuntu-15.10-run.sh
Stdout and stderr go to
`daemon.log`
and
`client-gnome.log`
.
Stop daemon and client:
./ubuntu-15.10-stop.sh
Install globally for all users instead:
./ubuntu-15.10-install.sh -g
Run global install:
gnome-ring
This already starts the daemon for us.
## Ubuntu 15.10 host Android device
This script does not automate the installation of any Android development tools.
...
...
This diff is collapsed.
Click to expand it.
ubuntu-15.10-
local-
install.sh
→
ubuntu-15.10-install.sh
+
75
−
0
View file @
51183ef1
...
...
@@ -2,7 +2,31 @@
# Build and install to a local prefix under this repository.
set
-e
# Flags:
# -g: install globally instead for all users
set
-ex
global
=
false
while
getopts
g OPT
;
do
case
"
$OPT
"
in
g
)
global
=
'true'
;;
\?
)
exit
1
;;
esac
done
make_install
()
{
if
$1
;
then
sudo
make
install
else
make
install
fi
}
./ubuntu-15.10-dependencies.sh
...
...
@@ -18,27 +42,34 @@ cd native
make
-j
$(
nproc
)
cd
"
${
DAEMON
}
"
./autogen.sh
./configure
--prefix
=
"
${
INSTALL
}
/daemon"
if
$global
;
then
./configure
else
./configure
--prefix
=
"
${
INSTALL
}
/daemon"
fi
make
-j
$(
nproc
)
make
install
make
_
install
$global
cd
"
${
TOP
}
/lrc"
mkdir
-p
build
cd
build
if
$global
;
then
cmake ..
-DCMAKE_BUILD_TYPE
=
Debug
else
cmake ..
-DCMAKE_BUILD_TYPE
=
Debug
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
/lrc"
-DRING_BUILD_DIR
=
"
${
DAEMON
}
/src"
fi
# If we don't use -DENABLE_STATIC here and on the client,
# we'd have to point LD_LIBRARY_PATH to the directory containing libringclient.so
cmake ..
\
-DCMAKE_BUILD_TYPE
=
Debug
\
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
/lrc"
\
-DRING_BUILD_DIR
=
"
${
DAEMON
}
/src"
make
make
install
make
_
install
$global
cd
"
${
TOP
}
/client-gnome"
mkdir
-p
build
cd
build
cmake ..
\
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
/client-gnome"
\
-DLibRingClient_DIR
=
"
${
INSTALL
}
/lrc/lib/cmake/LibRingClient"
if
$global
;
then
cmake ..
else
cmake ..
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
/client-gnome"
-DLibRingClient_DIR
=
"
${
INSTALL
}
/lrc/lib/cmake/LibRingClient"
fi
make
make
install
make
_
install
$global
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment