~cjwatson/ubuntu-app-launch/libclick-manifest

22.2.4 by Ted Gould
Adding the click packaging wrapper
1
description "Application Launching for Click Applications"
2
author "Ted Gould <ted@canonical.com>"
3
4
instance ${APP_ID}
5
22.2.18 by Ted Gould
Emit and start on signals instead of starting jobs
6
start on application-click-start
7
stop on application-end or desktop-end
8
22.2.4 by Ted Gould
Adding the click packaging wrapper
9
env APP_ID
112.1.4 by Ted Gould
Not setting APP_EXEC by default so that we'll get a better error in exec-line-exec
10
env APP_EXEC
62.1.33 by Ted Gould
Making the Upstart jobs look more similar
11
env APP_URIS
12
env APP_DIR
13
# For Surface Flinger
14
env APP_DESKTOP_FILE
33.3.9 by Ted Gould
Make sure we get URIs in there
15
80.4.1 by Ted Gould
Add a variable to the job for architecture
16
env UPSTART_APP_LAUNCH_ARCH="@upstart_app_launch_arch@"
80.4.7 by Ted Gould
Export the right variable
17
export UPSTART_APP_LAUNCH_ARCH
80.4.1 by Ted Gould
Add a variable to the job for architecture
18
33.3.8 by Ted Gould
Enable the apparmor
19
apparmor switch ${APP_ID}
33.3.3 by Ted Gould
Refactor the click job to make it execute the utility
20
55.2.4 by Ted Gould
Put the surface flinger check into the pre-start to avoid confinement
21
pre-start script
22
	if pgrep -u system surfaceflinger ; then
23
		initctl set-env USING_SURFACE_FLINGER=1
24
	fi
25
62.1.23 by Ted Gould
Be aware of your environment
26
	exec @pkglibexecdir@/click-exec
55.2.4 by Ted Gould
Put the surface flinger check into the pre-start to avoid confinement
27
end script
33.3.15 by Ted Gould
Can't get the chdir to work the way I'd like. Using a script for now. We can kill it later.
28
62.1.16 by Ted Gould
Changing click to work with a C file. And stubbing that C file.
29
# Remember, this is confined
62.1.17 by Ted Gould
Removing the variables to avoid quoting confusion
30
exec @pkglibexecdir@/exec-line-exec
22.2.16 by Ted Gould
Adding the post-start and post-stop event logging
31
80.3.1 by Ted Gould
Putting back into the upstart jobs
32
post-start exec @pkglibexecdir@/zg-report-app open
33
post-stop exec @pkglibexecdir@/zg-report-app close