diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-06-10 21:46:54 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-16 09:39:07 +0200 |
| commit | 34fe984fc64a9f51d5b2d563eedac6f5163b250a (patch) | |
| tree | c474a459929028ed8a0f85fa0491b5a283820c92 /meta-oe | |
| parent | 23d5e850653e92a97bb06a678e5bc07249427f57 (diff) | |
| download | meta-openembedded-34fe984fc64a9f51d5b2d563eedac6f5163b250a.tar.gz | |
xinput-calibrator: : move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service | 11 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb | 8 |
2 files changed, 2 insertions, 17 deletions
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service deleted file mode 100644 index e23bfc4f1f..0000000000 --- a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Loads xinput calibration data | ||
| 3 | ConditionPathExists=/etc/pointercal.xinput | ||
| 4 | Requires=xserver-nodm.service | ||
| 5 | After=xserver-nodm.service | ||
| 6 | |||
| 7 | [Service] | ||
| 8 | ExecStart=/usr/bin/xinput_calibrator_once.sh | ||
| 9 | |||
| 10 | [Install] | ||
| 11 | WantedBy=multi-user.target | ||
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb index fc5da49427..edc10bda40 100644 --- a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb +++ b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb | |||
| @@ -4,13 +4,12 @@ LICENSE = "MIT-X" | |||
| 4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc" | 4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc" |
| 5 | DEPENDS = "virtual/libx11 libxi" | 5 | DEPENDS = "virtual/libx11 libxi" |
| 6 | 6 | ||
| 7 | PR = "r7" | 7 | PR = "r8" |
| 8 | 8 | ||
| 9 | inherit autotools systemd | 9 | inherit autotools |
| 10 | 10 | ||
| 11 | SRC_URI = "http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-${PV}.tar.gz \ | 11 | SRC_URI = "http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-${PV}.tar.gz \ |
| 12 | file://0001-xinput_calibrator_pointercal.sh-specify-output-type-.patch \ | 12 | file://0001-xinput_calibrator_pointercal.sh-specify-output-type-.patch \ |
| 13 | file://xinput-calibrator.service \ | ||
| 14 | file://xinput-calibrator-autostart.desktop \ | 13 | file://xinput-calibrator-autostart.desktop \ |
| 15 | " | 14 | " |
| 16 | SRC_URI[md5sum] = "20da0a2055a5a75962add8c6b44f60fa" | 15 | SRC_URI[md5sum] = "20da0a2055a5a75962add8c6b44f60fa" |
| @@ -29,9 +28,6 @@ do_install_append() { | |||
| 29 | install -m 0644 ${WORKDIR}/xinput-calibrator-autostart.desktop ${D}${sysconfdir}/xdg/autostart | 28 | install -m 0644 ${WORKDIR}/xinput-calibrator-autostart.desktop ${D}${sysconfdir}/xdg/autostart |
| 30 | } | 29 | } |
| 31 | 30 | ||
| 32 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
| 33 | SYSTEMD_SERVICE = "${PN}.service" | ||
| 34 | |||
| 35 | FILES_${PN} += "${sysconfdir}/xdg/autostart" | 31 | FILES_${PN} += "${sysconfdir}/xdg/autostart" |
| 36 | RDEPENDS_${PN} = "xinput xterm" | 32 | RDEPENDS_${PN} = "xinput xterm" |
| 37 | RRECOMMENDS_${PN} = "pointercal-xinput" | 33 | RRECOMMENDS_${PN} = "pointercal-xinput" |
