• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

files/pkgconfig/H04-Jul-2014-2724

include/public/H04-Jul-2014-4116

src/H03-May-2022-155125

templates/H04-Jul-2014-9086

.gitignoreH A D04-Jul-2014965 3631

MakefileH A D04-Jul-2014118 73

Makefile.UbuntuH A D04-Jul-2014136 94

Makefile.incH A D04-Jul-20141.8 KiB7135

README.mdH A D04-Jul-20142.5 KiB8557

README.md

1librolegen
2==========
3
4Summary
5-------
6librolegen dynamically generates webOS system bus role files for webOS Javascript services.
7
8Dependencies
9============
10
11Below are the tools (and their minimum versions) required to build _librolegen_:
12
13- cmake (version required by openwebos/cmake-modules-webos)
14- g++ 4.6.3
15- openwebos/cmake-modules-webos 1.0.0 RC2
16- pkg-config 0.26
17
18How to Build on Linux
19=====================
20
21## Building
22
23Once you have downloaded the source, enter the following to build it (after
24changing into the directory under which it was downloaded):
25
26    $ mkdir BUILD
27    $ cd BUILD
28    $ cmake ..
29    $ make
30    $ sudo make install
31
32The directory under which the files are installed defaults to `/usr/local/webos`.
33You can install them elsewhere by supplying a value for `WEBOS_INSTALL_ROOT`
34when invoking `cmake`. For example:
35
36    $ cmake -D WEBOS_INSTALL_ROOT:PATH=$HOME/projects/openwebos ..
37    $ make
38    $ make install
39
40will install the files in subdirectories of `$HOME/projects/openwebos`.
41
42Specifying `WEBOS_INSTALL_ROOT` also causes `pkg-config` to look in that tree
43first before searching the standard locations. You can specify additional
44directories to be searched prior to this one by setting the `PKG_CONFIG_PATH`
45environment variable.
46
47If not specified, `WEBOS_INSTALL_ROOT` defaults to `/usr/local/webos`.
48
49To configure for a debug build, enter:
50
51    $ cmake -D CMAKE_BUILD_TYPE:STRING=Debug ..
52
53To see a list of the make targets that `cmake` has generated, enter:
54
55    $ make help
56
57## Uninstalling
58
59From the directory where you originally ran `make install`, enter:
60
61    $ [sudo] make uninstall
62
63You will need to use `sudo` if you did not specify `WEBOS_INSTALL_ROOT`.
64
65# Copyright and License Information
66
67Unless otherwise specified, all content, including all source code files and
68documentation files in this repository are:
69
70Copyright (c) 2010-2013 LG Electronics, Inc.
71
72Unless otherwise specified or set forth in the NOTICE file, all content,
73including all source code files and documentation files in this repository are:
74Licensed under the Apache License, Version 2.0 (the "License");
75you may not use this content except in compliance with the License.
76You may obtain a copy of the License at
77
78http://www.apache.org/licenses/LICENSE-2.0
79
80Unless required by applicable law or agreed to in writing, software
81distributed under the License is distributed on an "AS IS" BASIS,
82WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
83See the License for the specific language governing permissions and
84limitations under the License.
85