From 2a0c152f523ce964572f3f9f318dac263e52079f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 24 Oct 2017 19:41:24 +0200 Subject: Fork from Ubuntu's indicator-printers. --- data/Makefile.am | 10 ++++++---- data/ayatana-indicator-printers.conf.in | 12 ++++++++++++ data/ayatana-indicator-printers.override | 1 + data/ayatana-indicator-printers.service.in | 8 ++++++++ data/indicator-printers.conf.in | 12 ------------ data/indicator-printers.override | 1 - data/indicator-printers.service.in | 8 -------- 7 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 data/ayatana-indicator-printers.conf.in create mode 100644 data/ayatana-indicator-printers.override create mode 100644 data/ayatana-indicator-printers.service.in delete mode 100644 data/indicator-printers.conf.in delete mode 100644 data/indicator-printers.override delete mode 100644 data/indicator-printers.service.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index e5ae964..450e31c 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,3 @@ - BUILT_SOURCES= CLEANFILES= EXTRA_DIST= @@ -8,7 +7,7 @@ EXTRA_DIST= # systemddir = $(SYSTEMD_USERDIR) -systemd_DATA = indicator-printers.service +systemd_DATA = ayatana-indicator-printers.service systemd_in = $(systemd_DATA:.service=.service.in) $(systemd_DATA): $(systemd_in) $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@ @@ -21,7 +20,7 @@ CLEANFILES += $(systemd_DATA) # upstart_overridedir = $(datadir)/upstart/systemd-session/upstart -upstart_override_DATA = indicator-printers.override +upstart_override_DATA = ayatana-indicator-printers.override EXTRA_DIST += $(upstart_override_DATA) # @@ -29,10 +28,13 @@ EXTRA_DIST += $(upstart_override_DATA) # upstart_jobsdir = $(datadir)/upstart/sessions -upstart_jobs_DATA = indicator-printers.conf +upstart_jobs_DATA = ayatana-indicator-printers.conf upstart_jobs_in = $(upstart_jobs_DATA:.conf=.conf.in) $(upstart_jobs_DATA): $(upstart_jobs_in) $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@ BUILT_SOURCES += $(upstart_jobs_DATA) CLEANFILES += $(upstart_jobs_DATA) EXTRA_DIST += $(upstart_jobs_in) + +DISTCLEANFILES = \ + Makefile.in \ No newline at end of file diff --git a/data/ayatana-indicator-printers.conf.in b/data/ayatana-indicator-printers.conf.in new file mode 100644 index 0000000..7f1f79a --- /dev/null +++ b/data/ayatana-indicator-printers.conf.in @@ -0,0 +1,12 @@ +description "Ayatana Indicator Printers Service" + +# NOTE: Limiting only to Unity 7 right now as it's still using +# dbusmenu. That can be lifted after it is ported to GMenu + +start on ayatana-indicator-services-start and xsession SESSION=ubuntu +stop on desktop-end or ayatana-indicator-services-end + +respawn +respawn limit 2 10 + +exec $SNAP@pkglibexecdir@/ayatana-indicator-printers-service diff --git a/data/ayatana-indicator-printers.override b/data/ayatana-indicator-printers.override new file mode 100644 index 0000000..2905494 --- /dev/null +++ b/data/ayatana-indicator-printers.override @@ -0,0 +1 @@ +manual diff --git a/data/ayatana-indicator-printers.service.in b/data/ayatana-indicator-printers.service.in new file mode 100644 index 0000000..e3d4fec --- /dev/null +++ b/data/ayatana-indicator-printers.service.in @@ -0,0 +1,8 @@ +[Unit] +Description=Ayatana Indicator Printers Service +PartOf=graphical-session.target +After=ayatana-indicators-pre.target + +[Service] +ExecStart=@pkglibexecdir@/ayatana-indicator-printers-service +Restart=on-failure diff --git a/data/indicator-printers.conf.in b/data/indicator-printers.conf.in deleted file mode 100644 index f17953a..0000000 --- a/data/indicator-printers.conf.in +++ /dev/null @@ -1,12 +0,0 @@ -description "Indicator Printers Service" - -# NOTE: Limiting only to Unity 7 right now as it's still using -# dbusmenu. That can be lifted after it is ported to GMenu - -start on indicator-services-start and xsession SESSION=ubuntu -stop on desktop-end or indicator-services-end - -respawn -respawn limit 2 10 - -exec $SNAP@pkglibexecdir@/indicator-printers-service diff --git a/data/indicator-printers.override b/data/indicator-printers.override deleted file mode 100644 index 2905494..0000000 --- a/data/indicator-printers.override +++ /dev/null @@ -1 +0,0 @@ -manual diff --git a/data/indicator-printers.service.in b/data/indicator-printers.service.in deleted file mode 100644 index 4cbba6c..0000000 --- a/data/indicator-printers.service.in +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Indicator Printers Service -PartOf=graphical-session.target -After=indicators-pre.target - -[Service] -ExecStart=@pkglibexecdir@/indicator-printers-service -Restart=on-failure -- cgit v1.2.3