fso-frameworkd (0.8.5.1-1) 01_adjust-etc-path-in-setup.py.patch

Summary

 setup.py |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

    
download this patch

Patch contents

Adjust installation paths for Debian
--- fso-frameworkd.orig/setup.py
+++ fso-frameworkd/setup.py
@@ -24,19 +24,19 @@
     packages = packages,
     scripts = [ "framework/frameworkd", "tools/cli-framework", "tools/dump-netlink" ],
     data_files = [
-        ("../../etc/dbus-1/system.d", ["etc/dbus-1/system.d/frameworkd.conf"] ),
-        ("../../etc/freesmartphone/opreferences/schema/",         ["etc/freesmartphone/opreferences/schema/phone.yaml"]),
-        ("../../etc/freesmartphone/opreferences/schema/",         ["etc/freesmartphone/opreferences/schema/profiles.yaml"]),
-        ("../../etc/freesmartphone/opreferences/schema/",         ["etc/freesmartphone/opreferences/schema/rules.yaml"]),
-        ("../../etc/freesmartphone/opreferences/conf/profiles/",  ["etc/freesmartphone/opreferences/conf/profiles/default.yaml"]),
-        ("../../etc/freesmartphone/opreferences/conf/phone",      ["etc/freesmartphone/opreferences/conf/phone/default.yaml"]),
-        ("../../etc/freesmartphone/opreferences/conf/phone",      ["etc/freesmartphone/opreferences/conf/phone/silent.yaml"]),
-        ("../../etc/freesmartphone/opreferences/conf/rules",      ["etc/freesmartphone/opreferences/conf/rules/default.yaml"]),
-        ("../../etc/freesmartphone/opreferences/conf/rules",      ["etc/freesmartphone/opreferences/conf/rules/silent.yaml"]),
-        ("../../etc/freesmartphone/oevents",                      ["etc/freesmartphone/oevents/rules.yaml"]),
-        ("../../etc/freesmartphone/persist",                      ["etc/freesmartphone/persist/README"]),
-        ("../../etc/freesmartphone/ogsmd",                        ["etc/freesmartphone/ogsmd/networks.tab"]),
-        ("../../etc/freesmartphone/opim",                         ["etc/freesmartphone/opim/csv-contacts.txt"]),
-        ("freesmartphone/examples/", getDir( "examples" ) ),
+        ("/etc/dbus-1/system.d", ["etc/dbus-1/system.d/frameworkd.conf"] ),
+        ("/etc/freesmartphone/opreferences/schema/",         ["etc/freesmartphone/opreferences/schema/phone.yaml"]),
+        ("/etc/freesmartphone/opreferences/schema/",         ["etc/freesmartphone/opreferences/schema/profiles.yaml"]),
+        ("/etc/freesmartphone/opreferences/schema/",         ["etc/freesmartphone/opreferences/schema/rules.yaml"]),
+        ("/etc/freesmartphone/opreferences/conf/profiles/",  ["etc/freesmartphone/opreferences/conf/profiles/default.yaml"]),
+        ("/etc/freesmartphone/opreferences/conf/phone",      ["etc/freesmartphone/opreferences/conf/phone/default.yaml"]),
+        ("/etc/freesmartphone/opreferences/conf/phone",      ["etc/freesmartphone/opreferences/conf/phone/silent.yaml"]),
+        ("/etc/freesmartphone/opreferences/conf/rules",      ["etc/freesmartphone/opreferences/conf/rules/default.yaml"]),
+        ("/etc/freesmartphone/opreferences/conf/rules",      ["etc/freesmartphone/opreferences/conf/rules/silent.yaml"]),
+        ("/etc/freesmartphone/oevents",                      ["etc/freesmartphone/oevents/rules.yaml"]),
+        ("/var/lib/freesmartphone",                          ["etc/freesmartphone/persist/README"]),
+        ("/etc/freesmartphone/ogsmd",                        ["etc/freesmartphone/ogsmd/networks.tab"]),
+        ("/etc/freesmartphone/opim",                         ["etc/freesmartphone/opim/csv-contacts.txt"]),
+        ("/usr/share/doc/fso-frameworkd/examples/", getDir( "examples" ) ),
     ]
 )