create core package
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
Index: comar-3.0.0/CMakeLists.txt
|
||||
===================================================================
|
||||
--- comar-3.0.0.orig/CMakeLists.txt
|
||||
+++ comar-3.0.0/CMakeLists.txt
|
||||
@@ -10,11 +10,11 @@ SET (APP_SUFFIX "3")
|
||||
|
||||
# Uncomment this for production releases.
|
||||
SET (VERSION_SUFFIX "")
|
||||
-SET (FLAGS "-g -O0 -Werror -Wcast-align -Wno-uninitialized -Wall -fstrict-aliasing")
|
||||
+#SET (FLAGS "-g -O0 -Werror -Wcast-align -Wno-uninitialized -Wall -fstrict-aliasing")
|
||||
|
||||
# Uncomment this for gprof profiling
|
||||
# SET (FLAGS "-g -O0 -Werror -Wcast-align -Wno-uninitialized -Wall -fstrict-aliasing -fprofile-arcs -ftest-coverage")
|
||||
-SET (CMAKE_C_FLAGS "${FLAGS}")
|
||||
+#SET (CMAKE_C_FLAGS "${FLAGS}")
|
||||
# Uncomment this for sparse building
|
||||
# SET (CMAKE_C_COMPILER cgcc)
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
diff -Naur comar-3.0.3.orig/CMakeLists.txt comar-3.0.3/CMakeLists.txt
|
||||
--- comar-3.0.3.orig/CMakeLists.txt 2014-08-19 19:56:34.057899701 +0200
|
||||
+++ comar-3.0.3/CMakeLists.txt 2014-08-19 20:00:40.078890712 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
# Define version, config dir, data dir and log file.
|
||||
ADD_DEFINITIONS (
|
||||
- -D'PID_FILE="/var/run/${APP_NAME}.pid"'
|
||||
+ -D'PID_FILE="/run/${APP_NAME}.pid"'
|
||||
-D'DATA_DIR="/var/lib/${APP_NAME}"'
|
||||
-D'LOG_DIR="/var/log/${APP_NAME}"')
|
||||
|
||||
diff -Naur comar-3.0.3.orig/include/config.h comar-3.0.3/include/config.h
|
||||
--- comar-3.0.3.orig/include/config.h 2011-05-12 13:30:26.000000000 +0200
|
||||
+++ comar-3.0.3/include/config.h 2014-08-19 20:01:17.734889336 +0200
|
||||
@@ -32,7 +32,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef DBUS_SERVER_ADDRESS
|
||||
-#define DBUS_SERVER_ADDRESS "unix:path=/var/run/dbus/system_bus_socket"
|
||||
+#define DBUS_SERVER_ADDRESS "unix:path=/run/dbus/system_bus_socket"
|
||||
#endif
|
||||
|
||||
#ifndef DBUS_SERVICE_NAME
|
||||
@@ -56,7 +56,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef FILE_PID
|
||||
-#define FILE_PID "/var/run/comar3.pid"
|
||||
+#define FILE_PID "/run/comar3.pid"
|
||||
#endif
|
||||
|
||||
#ifndef WWW_BUGS
|
||||
@@ -0,0 +1,14 @@
|
||||
Index: comar-3.0.1/models/System.Manager.xml
|
||||
===================================================================
|
||||
--- comar-3.0.1.orig/models/System.Manager.xml
|
||||
+++ comar-3.0.1/models/System.Manager.xml
|
||||
@@ -3,6 +3,9 @@
|
||||
<method name="installPackage">
|
||||
<arg name="package" type="s" direction="in"/>
|
||||
</method>
|
||||
+ <method name="reinstallPackage" access_label="installpackage">
|
||||
+ <arg name="package" type="s" direction="in"/>
|
||||
+ </method>
|
||||
<method name="updatePackage">
|
||||
<arg name="package" type="s" direction="in"/>
|
||||
</method>
|
||||
Reference in New Issue
Block a user