Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Import first opensource version
- Loading branch information
Bernd Wachter
committed
Oct 8, 2012
0 parents
commit 54f56a9
Showing
36 changed files
with
3,912 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Makefile | ||
build/* | ||
doc/html | ||
doc/latex | ||
*.pro.user |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
isEmpty(BUILD){ | ||
BUILD = $$PWD/build/$$TARGET | ||
} | ||
isEmpty(DESTDIR){ | ||
DESTDIR = $$BUILD | ||
} | ||
|
||
OBJECTS_DIR = $$BUILD | ||
MOC_DIR = $$BUILD | ||
UI_DIR = $$BUILD | ||
UI_HEADERS_DIR = $$BUILD | ||
UI_SOURCES_DIR = $$BUILD | ||
RCC_DIR = $$BUILD | ||
|
||
LIBS += -L$$PWD/build/libssu | ||
INCLUDEPATH += $$PWD/libssu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* @file constants.h | ||
* @copyright 2012 Jolla Ltd. | ||
* @author Bernd Wachter <bernd.wachter@jollamobile.com> | ||
* @date 2012 | ||
*/ | ||
|
||
#ifndef _CONSTANTS_H | ||
#define _CONSTANTS_H | ||
|
||
/// The group ID SSU expects to run as. This is usually the GID of the main phone user | ||
#define SSU_GROUP_ID 1000 | ||
/// Path to the main SSU configuration file | ||
#define SSU_CONFIGURATION "/etc/ssu/ssu.ini" | ||
/// Path to the main SSU configuration file | ||
#define SSU_REPO_CONFIGURATION "/usr/share/ssu/repos.ini" | ||
/// The SSU protocol version used by the ssu client libraries | ||
#define SSU_PROTOCOL_VERSION "1" | ||
#endif |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
BUILD = ../build/libssu | ||
HEADERS = ssu.h \ | ||
../constants.h | ||
SOURCES = ssu.cpp | ||
TEMPLATE = lib | ||
TARGET = ssu | ||
CONFIG += dll mobility | ||
QT -= gui | ||
QT += network xml | ||
MOBILITY += systeminfo | ||
|
||
unix:target.path = $${PREFIX}/usr/lib | ||
INSTALLS += target | ||
|
||
!include( ../buildpath.pri ) { error("Unable to find build path specification") } |
Oops, something went wrong.