Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
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
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
40734325
Commit
40734325
authored
10 years ago
by
Alexandre Lision
Browse files
Options
Downloads
Patches
Plain Diff
Use master for sflphone repo
parent
52b57d43
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
compile.sh
+11
-10
11 additions, 10 deletions
compile.sh
sflphone-android/src/org/sflphone/service/ConfigurationManagerCallback.java
+1
-0
1 addition, 0 deletions
...rc/org/sflphone/service/ConfigurationManagerCallback.java
with
12 additions
and
10 deletions
compile.sh
+
11
−
10
View file @
40734325
...
...
@@ -96,7 +96,7 @@ ANDROID_PATH="`pwd`"
if
[
!
-z
"
$FETCH
"
]
then
# 1/ libsflphone
TESTED_HASH
=
4c761c439735e46526a3a9f037acf8f804cfd9dd
TESTED_HASH
=
994088d0589970782fb1ebc7dea1276217d39c10
if
[
!
-d
"sflphone"
]
;
then
echo
"sflphone daemon source not found, cloning"
git clone https://gerrit-sflphone.savoirfairelinux.com/sflphone
...
...
@@ -104,11 +104,11 @@ then
echo
android/
>>
.git/info/exclude
echo
contrib/android/
>>
.git/info/exclude
#git checkout -B android ${TESTED_HASH}
git checkout
contrib
git checkout
master
else
echo
"sflphone daemon source found"
cd
sflphone
git checkout
contrib
git checkout
master
# if ! git cat-file -e ${TESTED_HASH}; then
# cat << EOF
#***
...
...
@@ -193,7 +193,7 @@ fi
# Contribs #
############
echo
"Building the contribs"
mkdir
-p
contrib/contrib-android-
${
TARGET_TUPLE
}
mkdir
-p
daemon/
contrib/contrib-android-
${
TARGET_TUPLE
}
gen_pc_file
()
{
echo
"Generating
$1
pkg-config file"
...
...
@@ -201,12 +201,12 @@ gen_pc_file() {
Description:
$1
Version:
$2
Libs: -l
$1
Cflags:"
>
contrib/
${
TARGET_TUPLE
}
/lib/pkgconfig/
`
echo
$1
|tr
'A-Z'
'a-z'
`
.pc
Cflags:"
>
daemon/
contrib/
${
TARGET_TUPLE
}
/lib/pkgconfig/
`
echo
$1
|tr
'A-Z'
'a-z'
`
.pc
}
mkdir
-p
contrib/
${
TARGET_TUPLE
}
/lib/pkgconfig
mkdir
-p
daemon/
contrib/
${
TARGET_TUPLE
}
/lib/pkgconfig
cd
contrib/contrib-android-
${
TARGET_TUPLE
}
cd
daemon/
contrib/contrib-android-
${
TARGET_TUPLE
}
../bootstrap
--host
=
${
TARGET_TUPLE
}
# Some libraries have arm assembly which won't build in thumb mode
...
...
@@ -247,7 +247,8 @@ else
CLEAN
=
"distclean"
if
[
!
-f
config.h
]
;
then
echo
"Bootstraping"
pushd
../../
pushd
../../../
echo
$PWD
./configure.sh
cd
sflphone/daemon
echo
"Building"
...
...
@@ -261,8 +262,8 @@ fi
# Ring android UI and specific code
####################################
echo
"Building Ring for Android"
cd
../../
cd
../../
../
echo
$PWD
make
$CLEAN
make
-j1
TARGET_TUPLE
=
$TARGET_TUPLE
PLATFORM_SHORT_ARCH
=
$PLATFORM_SHORT_ARCH
CXXSTL
=
$CXXSTL
RELEASE
=
$RELEASE
$TARGET
...
...
This diff is collapsed.
Click to expand it.
sflphone-android/src/org/sflphone/service/ConfigurationManagerCallback.java
+
1
−
0
View file @
40734325
...
...
@@ -105,6 +105,7 @@ public class ConfigurationManagerCallback extends ConfigurationCallback {
}
private
void
sendAccountStateChangedMessage
(
String
accoundID
,
String
state
,
int
code
)
{
Log
.
i
(
TAG
,
"sendAccountStateChangedMessage"
);
Intent
intent
=
new
Intent
(
ACCOUNT_STATE_CHANGED
);
intent
.
putExtra
(
"Account"
,
accoundID
);
intent
.
putExtra
(
"state"
,
state
);
...
...
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