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
7c4e49ce
Commit
7c4e49ce
authored
9 years ago
by
Ciro Santilli
Browse files
Options
Downloads
Patches
Plain Diff
Untested static build, debug log by default on run
parent
51183ef1
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
ubuntu-15.10-install.sh
+10
-7
10 additions, 7 deletions
ubuntu-15.10-install.sh
ubuntu-15.10-run.sh
+2
-2
2 additions, 2 deletions
ubuntu-15.10-run.sh
with
12 additions
and
9 deletions
ubuntu-15.10-install.sh
+
10
−
7
View file @
7c4e49ce
...
...
@@ -5,15 +5,20 @@
# Flags:
# -g: install globally instead for all users
# -s: link everything statically, no D-Bus communication. More likely to work!
set
-ex
global
=
false
while
getopts
g OPT
;
do
static
=
''
while
getopts
gs OPT
;
do
case
"
$OPT
"
in
g
)
global
=
'true'
;;
s
)
static
=
'-DENABLE_STATIC=true'
;;
\?
)
exit
1
;;
...
...
@@ -54,12 +59,10 @@ cd "${TOP}/lrc"
mkdir
-p
build
cd
build
if
$global
;
then
cmake ..
-DCMAKE_BUILD_TYPE
=
Debug
cmake ..
-DCMAKE_BUILD_TYPE
=
Debug
$static
else
cmake ..
-DCMAKE_BUILD_TYPE
=
Debug
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
/lrc"
-DRING_BUILD_DIR
=
"
${
DAEMON
}
/src"
cmake ..
-DCMAKE_BUILD_TYPE
=
Debug
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
/lrc"
-DRING_BUILD_DIR
=
"
${
DAEMON
}
/src"
$static
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
make
make_install
$global
...
...
@@ -67,9 +70,9 @@ cd "${TOP}/client-gnome"
mkdir
-p
build
cd
build
if
$global
;
then
cmake ..
cmake ..
$static
else
cmake ..
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
/client-gnome"
-DLibRingClient_DIR
=
"
${
INSTALL
}
/lrc/lib/cmake/LibRingClient"
cmake ..
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
/client-gnome"
-DLibRingClient_DIR
=
"
${
INSTALL
}
/lrc/lib/cmake/LibRingClient"
$static
fi
make
make_install
$global
This diff is collapsed.
Click to expand it.
ubuntu-15.10-run.sh
+
2
−
2
View file @
7c4e49ce
...
...
@@ -2,7 +2,7 @@
# Run local install daemon and client that have
# been installed with the install script on the background.
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
./install/daemon/libexec/dring
>>
daemon.log 2>&1 &
./install/daemon/libexec/dring
-c
-d
>>
daemon.log 2>&1 &
echo
$!
>
daemon.pid
LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
:install/lrc/lib"
./install/client-gnome/bin/gnome-ring
>>
client-gnome.log 2>&1 &
LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
:install/lrc/lib"
./install/client-gnome/bin/gnome-ring
-d
>>
client-gnome.log 2>&1 &
echo
$!
>
client-gnome.pid
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