forked from PDXostc/fm_radio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.txt
80 lines (50 loc) · 2.4 KB
/
build.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Following are the recommended steps to build "DNA_FMRadio",
FMRadioExtension extension and FMRadioService dbus daemon
Build environment: Tested on Ubuntu 14.10
The .gbs.conf file in your home directory must contain this line in the [repo.tizen_latest] heading:
url = http://download.tizen.org/releases/milestone/tizen/ivi/tizen_20140422.1/repos/ivi/ia32/packages
An example .gbs-conf file is in this project's root directory.
STEPS TO BUILD FMRadioService and FMRadioExtension
**************************************************
*** on HOST SYSTEM ***
$ cd <X004_FMRadio git repo>
* Tell the system where is your target device
$ export TIZEN_IP=<YOUR_TARGET_IP_ADRESS>
* Build the extensions, the service and its tarballed external dependencies
$ gbs build --include-all --spec agl_plugin_suite.spec -A i586
* Copy the rpms to your target system's
# In the following, to avoid typing a password for each scp
# or ssh command you need to copy
# your public key over
#
# $ ssh-copy-id app@$TIZEN_IP
#
# This command will require your password and then you will
# be able to
# use ssh and scp without a password from that user.
$ sh ./cp_rpms.sh
# Additionally, if you want to ALSO copy the 'debug'
# rpms, do this INSTEAD :
$ ./cp_rpms.sh debug
## You will notice that the script also copies
## the "install_rpms.sh" script over.
*** on TARGET DEVICE ***
* Install the copied rpms
$ cd ~/
$ sudo ./install_rpms.sh
# If the package is installed for the first time, you'll get
# error messages about
# not being able to 'un'install, but just ignore those messages
# Additionally, if you want to ALSO copy the 'debug'
# rpms, do this INSTEAD :
$ sudo ./install_rpms.sh debug
* Reboot your target device if it's the first time you install the rpms
systemd will have to know your service before it can safely autolaunch it.
$ sudo reboot
STEPS TO BUILD DNA_FMRadio application
***************************************
*** on HOST SYSTEM ***
* Build the DNA applications
$ cd <X004_FMRadio git repo>
** please note this is the ROOT X004_FMRadio folder.
$ make install