Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
jami-project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
172
Issues
172
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-project
Commits
51183ef1
Commit
51183ef1
authored
Feb 10, 2016
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Global install option
parent
0e0afc1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
2 deletions
+89
-2
README.md
README.md
+14
-2
ubuntu-15.10-install.sh
ubuntu-15.10-install.sh
+75
-0
No files found.
README.md
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.
...
...
ubuntu-15.10-
local-
install.sh
→
ubuntu-15.10-install.sh
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
instal
l
make
_install
$globa
l
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
instal
l
make
_install
$globa
l
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
instal
l
make
_install
$globa
l
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