Skip to content

Commit

Permalink
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
Show file tree
Hide file tree
Showing 36 changed files with 3,912 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
Makefile
build/*
doc/html
doc/latex
*.pro.user
339 changes: 339 additions & 0 deletions COPYING

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions buildpath.pri
@@ -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
19 changes: 19 additions & 0 deletions constants.h
@@ -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
1,792 changes: 1,792 additions & 0 deletions doc/Doxyfile

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions libssu/libssu.pro
@@ -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") }

0 comments on commit 54f56a9

Please sign in to comment.