summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in (renamed from meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in)0
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb17
-rw-r--r--meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend20
3 files changed, 11 insertions, 26 deletions
diff --git a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in b/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in
index 3e1556ae0..3e1556ae0 100644
--- a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in
+++ b/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
index 863db2e87..45bddc8f0 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
@@ -4,9 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4 4
5DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb" 5DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb"
6 6
7PR = "r10" 7PR = "r15"
8 8
9inherit gnome update-rc.d 9inherit gnome update-rc.d systemd
10 10
11SRC_URI += " \ 11SRC_URI += " \
12 file://cross-xdetection.diff \ 12 file://cross-xdetection.diff \
@@ -17,6 +17,7 @@ SRC_URI += " \
17 file://gdm.conf \ 17 file://gdm.conf \
18 file://gdm-pam \ 18 file://gdm-pam \
19 file://Default \ 19 file://Default \
20 file://gdm.service.in \
20 " 21 "
21 22
22SRC_URI[archive.md5sum] = "dbe5187a2e17881cc454e313e0ae8d1e" 23SRC_URI[archive.md5sum] = "dbe5187a2e17881cc454e313e0ae8d1e"
@@ -49,6 +50,10 @@ do_install_append() {
49 install -d ${D}/${sysconfdir}/gdm/Init 50 install -d ${D}/${sysconfdir}/gdm/Init
50 install -m 0755 ${WORKDIR}/Default ${D}/${sysconfdir}/gdm/Init 51 install -m 0755 ${WORKDIR}/Default ${D}/${sysconfdir}/gdm/Init
51 52
53 install -d ${D}${systemd_unitdir}/system
54 sed -e 's,%sbindir%,${sbindir},g' \
55 < ${WORKDIR}/gdm.service.in \
56 > ${D}${systemd_unitdir}/system/gdm.service
52} 57}
53 58
54FILES_${PN} += "${datadir}/icon* \ 59FILES_${PN} += "${datadir}/icon* \
@@ -60,6 +65,10 @@ RDEPENDS_${PN} += "grep dbus-x11 shadow"
60CONFFILES_${PN} += "${sysconfdir}/gdm/gdm.conf ${sysconfdir}/init.d/gdm" 65CONFFILES_${PN} += "${sysconfdir}/gdm/gdm.conf ${sysconfdir}/init.d/gdm"
61RRECOMMENDS_${PN} += "openssh-misc desktop-file-utils glib-2.0-utils metacity gnome-session polkit-gnome consolekit" 66RRECOMMENDS_${PN} += "openssh-misc desktop-file-utils glib-2.0-utils metacity gnome-session polkit-gnome consolekit"
62 67
68RREPLACES_${PN} += "${PN}-systemd"
69RCONFLICTS_${PN} += "${PN}-systemd"
70SYSTEMD_SERVICE_${PN} = "gdm.service"
71
63INITSCRIPT_NAME = "gdm" 72INITSCRIPT_NAME = "gdm"
64INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." 73INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
65 74
@@ -87,7 +96,3 @@ pkg_postrm_${PN} () {
87 delgroup gdm || true 96 delgroup gdm || true
88 sed -i /gdm/d ${sysconfdir}/X11/default-display-manager || true 97 sed -i /gdm/d ${sysconfdir}/X11/default-display-manager || true
89} 98}
90
91
92
93
diff --git a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
deleted file mode 100644
index 62013527c..000000000
--- a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
+++ /dev/null
@@ -1,20 +0,0 @@
1# look for files in the layer first
2FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
3
4PRINC := "${@int(PRINC) + 4}"
5
6inherit systemd
7
8SRC_URI += "file://gdm.service.in"
9
10do_install_append() {
11 install -d ${D}${systemd_unitdir}/system
12 sed -e 's,%sbindir%,${sbindir},g' \
13 < ${WORKDIR}/gdm.service.in \
14 > ${D}${systemd_unitdir}/system/gdm.service
15}
16
17RPROVIDES_${PN} += "${PN}-systemd"
18RREPLACES_${PN} += "${PN}-systemd"
19RCONFLICTS_${PN} += "${PN}-systemd"
20SYSTEMD_SERVICE_${PN} = "gdm.service"