From 2ba779dc1345ae3b7e09fb51b1f17b0445a76cfc Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 1 Aug 2020 12:09:31 +0200 Subject: accessx-status: add src and data folders --- accessx-status/data/Makefile.am | 39 ++++++++++++++++++++++ accessx-status/data/accessx-status-applet-menu.xml | 5 +++ .../data/accessx-status-resources.gresource.xml | 6 ++++ ...ssxStatusApplet.mate-panel-applet.desktop.in.in | 17 ++++++++++ ...el.applet.AccessxStatusAppletFactory.service.in | 3 ++ 5 files changed, 70 insertions(+) create mode 100644 accessx-status/data/Makefile.am create mode 100644 accessx-status/data/accessx-status-applet-menu.xml create mode 100644 accessx-status/data/accessx-status-resources.gresource.xml create mode 100644 accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in create mode 100644 accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in (limited to 'accessx-status/data') diff --git a/accessx-status/data/Makefile.am b/accessx-status/data/Makefile.am new file mode 100644 index 00000000..58df0294 --- /dev/null +++ b/accessx-status/data/Makefile.am @@ -0,0 +1,39 @@ +NULL = + +appletdir = $(datadir)/mate-panel/applets +applet_in_files = org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in +applet_DATA = $(applet_in_files:.mate-panel-applet.desktop.in=.mate-panel-applet) + +$(applet_in_files): $(applet_in_files).in Makefile + $(AM_V_GEN)sed \ + -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \ + -e "s|\@VERSION\@|$(PACKAGE_VERSION)|" \ + $< > $@ + +$(applet_DATA): $(applet_in_files) Makefile + $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@ + +servicedir = $(datadir)/dbus-1/services +service_in_files = org.mate.panel.applet.AccessxStatusAppletFactory.service.in +service_DATA = $(service_in_files:.service.in=.service) + +org.mate.panel.applet.AccessxStatusAppletFactory.service: $(service_in_files) + $(AM_V_GEN)sed \ + -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \ + $< > $@ + +CLEANFILES = \ + $(applet_DATA) \ + $(applet_in_files) \ + $(service_DATA) \ + $(NULL) + +EXTRA_DIST = \ + $(applet_in_files).in \ + $(service_in_files) \ + accessx-status-applet-menu.xml \ + accessx-status-resources.gresource.xml \ + $(NULL) + + +-include $(top_srcdir)/git.mk diff --git a/accessx-status/data/accessx-status-applet-menu.xml b/accessx-status/data/accessx-status-applet-menu.xml new file mode 100644 index 00000000..f4d1c265 --- /dev/null +++ b/accessx-status/data/accessx-status-applet-menu.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/accessx-status/data/accessx-status-resources.gresource.xml b/accessx-status/data/accessx-status-resources.gresource.xml new file mode 100644 index 00000000..7d7d902f --- /dev/null +++ b/accessx-status/data/accessx-status-resources.gresource.xml @@ -0,0 +1,6 @@ + + + + accessx-status-applet-menu.xml + + diff --git a/accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in b/accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in new file mode 100644 index 00000000..9d9200a7 --- /dev/null +++ b/accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in @@ -0,0 +1,17 @@ +[Applet Factory] +Id=AccessxStatusAppletFactory +Location=@LIBEXECDIR@/accessx-status-applet +Name=AccessX Status Applet Factory +Description=Keyboard Accessibility Status Applet Factory + +[AccessxStatusApplet] +Name=Keyboard Accessibility Status +Description=Shows the status of keyboard accessibility features +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=preferences-desktop-accessibility +MateComponentId=OAFIID:MATE_AccessxStatusApplet +X-MATE-Bugzilla-Bugzilla=MATE +X-MATE-Bugzilla-Product=mate-applets +X-MATE-Bugzilla-Component=keyboard-accessibility (accessx-status) +X-MATE-Bugzilla-Version=@VERSION@ +X-MATE-Bugzilla-OtherBinaries=accessx-status-applet diff --git a/accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in b/accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in new file mode 100644 index 00000000..7f5d055e --- /dev/null +++ b/accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.mate.panel.applet.AccessxStatusAppletFactory +Exec=@LIBEXECDIR@/accessx-status-applet -- cgit v1.2.1