From 914262d420e78766ae11b85403aa2247d5054d46 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 1 Aug 2020 12:52:49 +0200 Subject: geyes: Use common subdirs - src, icons, data --- geyes/data/Makefile.am | 46 ++++++ geyes/data/geyes-applet-menu.xml | 5 + geyes/data/geyes-resources.gresource.xml | 7 + ...ets.GeyesApplet.mate-panel-applet.desktop.in.in | 17 ++ ...mate.panel.applet.GeyesAppletFactory.service.in | 3 + .../org.mate.panel.applet.geyes.gschema.xml.in | 9 ++ geyes/data/themes.ui | 171 +++++++++++++++++++++ 7 files changed, 258 insertions(+) create mode 100644 geyes/data/Makefile.am create mode 100644 geyes/data/geyes-applet-menu.xml create mode 100644 geyes/data/geyes-resources.gresource.xml create mode 100644 geyes/data/org.mate.applets.GeyesApplet.mate-panel-applet.desktop.in.in create mode 100644 geyes/data/org.mate.panel.applet.GeyesAppletFactory.service.in create mode 100644 geyes/data/org.mate.panel.applet.geyes.gschema.xml.in create mode 100644 geyes/data/themes.ui (limited to 'geyes/data') diff --git a/geyes/data/Makefile.am b/geyes/data/Makefile.am new file mode 100644 index 00000000..0342bdaf --- /dev/null +++ b/geyes/data/Makefile.am @@ -0,0 +1,46 @@ +NULL = + +appletdir = $(datadir)/mate-panel/applets +applet_in_files = org.mate.applets.GeyesApplet.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.GeyesAppletFactory.service.in +service_DATA = $(service_in_files:.service.in=.service) + +org.mate.panel.applet.GeyesAppletFactory.service: $(service_in_files) + $(AM_V_GEN)sed \ + -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \ + $< > $@ + +geyes_gschema_in_files = org.mate.panel.applet.geyes.gschema.xml.in +gsettings_SCHEMAS = $(geyes_gschema_in_files:.xml.in=.xml) +@GSETTINGS_RULES@ + +CLEANFILES = \ + $(applet_DATA) \ + $(applet_in_files) \ + $(service_DATA) \ + $(gsettings_SCHEMAS) \ + *.gschema.valid \ + $(NULL) + +EXTRA_DIST = \ + geyes-applet-menu.xml \ + geyes-resources.gresource.xml \ + themes.ui \ + $(applet_in_files).in \ + $(service_in_files) \ + $(geyes_gschema_in_files) \ + $(NULL) + +-include $(top_srcdir)/git.mk diff --git a/geyes/data/geyes-applet-menu.xml b/geyes/data/geyes-applet-menu.xml new file mode 100644 index 00000000..860052ae --- /dev/null +++ b/geyes/data/geyes-applet-menu.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/geyes/data/geyes-resources.gresource.xml b/geyes/data/geyes-resources.gresource.xml new file mode 100644 index 00000000..4a7dc547 --- /dev/null +++ b/geyes/data/geyes-resources.gresource.xml @@ -0,0 +1,7 @@ + + + + geyes-applet-menu.xml + themes.ui + + diff --git a/geyes/data/org.mate.applets.GeyesApplet.mate-panel-applet.desktop.in.in b/geyes/data/org.mate.applets.GeyesApplet.mate-panel-applet.desktop.in.in new file mode 100644 index 00000000..eaadb5f3 --- /dev/null +++ b/geyes/data/org.mate.applets.GeyesApplet.mate-panel-applet.desktop.in.in @@ -0,0 +1,17 @@ +[Applet Factory] +Id=GeyesAppletFactory +Location=@LIBEXECDIR@/mate-geyes-applet +Name=Eyes Applet Factory +Description=Eyes Applet Factory + +[GeyesApplet] +Name=Eyes +Description=A set of eyeballs for your panel +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=mate-eyes-applet +MateComponentId=OAFIID:MATE_GeyesApplet +X-MATE-Bugzilla-Bugzilla=MATE +X-MATE-Bugzilla-Product=mate-applets +X-MATE-Bugzilla-Component=geyes +X-MATE-Bugzilla-Version=@VERSION@ +X-MATE-Bugzilla-OtherBinaries=geyes_applet2 diff --git a/geyes/data/org.mate.panel.applet.GeyesAppletFactory.service.in b/geyes/data/org.mate.panel.applet.GeyesAppletFactory.service.in new file mode 100644 index 00000000..2f490e7b --- /dev/null +++ b/geyes/data/org.mate.panel.applet.GeyesAppletFactory.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.mate.panel.applet.GeyesAppletFactory +Exec=@LIBEXECDIR@/mate-geyes-applet diff --git a/geyes/data/org.mate.panel.applet.geyes.gschema.xml.in b/geyes/data/org.mate.panel.applet.geyes.gschema.xml.in new file mode 100644 index 00000000..aad28f71 --- /dev/null +++ b/geyes/data/org.mate.panel.applet.geyes.gschema.xml.in @@ -0,0 +1,9 @@ + + + + '' + Directory in which the theme is located + Directory in which the theme is located + + + diff --git a/geyes/data/themes.ui b/geyes/data/themes.ui new file mode 100644 index 00000000..70409f3b --- /dev/null +++ b/geyes/data/themes.ui @@ -0,0 +1,171 @@ + + + + + + True + False + help-browser + + + True + False + window-close + + + False + 12 + Eyes Preferences + 300 + 200 + mate-eyes-applet + dialog + + + + False + vertical + 2 + + + False + end + + + _Help + True + True + True + image1 + True + True + + + True + True + 0 + + + + + _Close + True + True + True + True + True + image2 + True + True + + + True + True + 1 + + + + + False + False + 0 + + + + + True + False + True + 0 + none + + + True + False + 12 + + + True + False + 6 + 6 + True + vertical + 6 + + + True + False + start + _Select a theme: + True + themes_treeview + + + False + True + 0 + + + + + True + True + True + True + never + in + + + True + True + True + True + False + False + + + + + + + + + + False + True + 1 + + + + + + + + + True + False + Themes + + + + + + + + False + True + 1 + + + + + + button1 + button2 + + + + + + -- cgit v1.2.1