Skip to content

Commit 34787d9

Browse files
Move dbus service files into data subdirectory
1 parent 22ddc68 commit 34787d9

File tree

5 files changed

+19
-18
lines changed

5 files changed

+19
-18
lines changed
File renamed without changes.

data/wscript

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,25 @@ def build(ctx):
5151
if not ctx.env.skip_icon_cache_update:
5252
ctx.add_post_fun(update_icon_cache)
5353

54+
# dbus service files
55+
ctx(features="subst",
56+
source= "org.gnome.Hamster.service.in",
57+
target= "org.gnome.Hamster.service",
58+
install_path="${DATADIR}/dbus-1/services",
59+
)
60+
61+
ctx(features="subst",
62+
source= "org.gnome.Hamster.GUI.service.in",
63+
target= "org.gnome.Hamster.GUI.service",
64+
install_path="${DATADIR}/dbus-1/services",
65+
)
66+
67+
ctx(features="subst",
68+
source= "org.gnome.Hamster.WindowServer.service.in",
69+
target= "org.gnome.Hamster.WindowServer.service",
70+
install_path="${DATADIR}/dbus-1/services",
71+
)
72+
5473

5574
# icon cache update
5675
def update_icon_cache(ctx):

wscript

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -84,23 +84,5 @@ def build(ctx):
8484
install_path="${PYTHONDIR}/hamster"
8585
)
8686

87-
ctx(features="subst",
88-
source= "org.gnome.Hamster.service.in",
89-
target= "org.gnome.Hamster.service",
90-
install_path="${DATADIR}/dbus-1/services",
91-
)
92-
93-
ctx(features="subst",
94-
source= "org.gnome.Hamster.GUI.service.in",
95-
target= "org.gnome.Hamster.GUI.service",
96-
install_path="${DATADIR}/dbus-1/services",
97-
)
98-
99-
ctx(features="subst",
100-
source= "org.gnome.Hamster.WindowServer.service.in",
101-
target= "org.gnome.Hamster.WindowServer.service",
102-
install_path="${DATADIR}/dbus-1/services",
103-
)
104-
10587
# look for wscript into further directories
10688
ctx.recurse("po data help")

0 commit comments

Comments
 (0)