|
0 |
We are building with --Dlibexecdir=lib/$(DEB_TARGET_MULTIARCH) so that the
|
|
1 |
xapp-sn-watcher binary is correctly placed in an arch-dependent directory.
|
|
2 |
|
|
3 |
The other libexec files (applet_constants.py mate-xapp-status-applet.py)
|
|
4 |
are installed into arch-deps but arch-all package xapp1-common, and thus
|
|
5 |
cannot use the $(DEB_TARGET_MULTIARCH) directory.
|
|
6 |
|
|
7 |
Since the location of the Python files are not hard-coded in the source but
|
|
8 |
only in the service and desktop file, we install the .py into /usr/libexec,
|
|
9 |
and patch the service and aplet files to use the updated path.
|
|
10 |
---
|
|
11 |
status-applets/mate/org.mate.panel.applet.MateXAppStatusAppletFactory.service.in | 2 +-
|
|
12 |
status-applets/mate/org.x.MateXAppStatusApplet.mate-panel-applet.in.in | 2 +-
|
|
13 |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
14 |
|
|
15 |
--- a/status-applets/mate/org.mate.panel.applet.MateXAppStatusAppletFactory.service.in
|
|
16 |
+++ b/status-applets/mate/org.mate.panel.applet.MateXAppStatusAppletFactory.service.in
|
|
17 |
@@ -1,3 +1,3 @@
|
|
18 |
[D-BUS Service]
|
|
19 |
Name=org.mate.panel.applet.MateXAppStatusAppletFactory
|
|
20 |
-Exec=@libexec@/xapps/mate-xapp-status-applet.py
|
|
21 |
+Exec=/usr/libexec/xapps/mate-xapp-status-applet.py
|
|
22 |
--- a/status-applets/mate/org.x.MateXAppStatusApplet.mate-panel-applet.in.in
|
|
23 |
+++ b/status-applets/mate/org.x.MateXAppStatusApplet.mate-panel-applet.in.in
|
|
24 |
@@ -1,7 +1,7 @@
|
|
25 |
[Applet Factory]
|
|
26 |
Id=MateXAppStatusAppletFactory
|
|
27 |
InProcess=false
|
|
28 |
-Location=@libexec@/xapps/mate-xapp-status-applet.py
|
|
29 |
+Location=/usr/libexec/xapps/mate-xapp-status-applet.py
|
|
30 |
Name=XApp Status Applet Factory
|
|
31 |
Description=Area where XApp status icons appear
|
|
32 |
|