From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/gdm/, gnome-base/gdm/files/
Date: Sun, 26 Jun 2011 06:22:46 +0000 (UTC) [thread overview]
Message-ID: <1ec5de286fd5263128fe03e3c3d3533542c9df28.nirbheek@gentoo> (raw)
commit: 1ec5de286fd5263128fe03e3c3d3533542c9df28
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 06:22:34 2011 +0000
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 06:22:34 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=1ec5de28
gnome-base/gdm: install systemd unit file, bump to EAPI 4, don't use dosym
---
gnome-base/gdm/files/gdm@.service | 11 +++++++++++
.../gdm/{gdm-3.0.4.ebuild => gdm-3.0.4-r1.ebuild} | 14 ++++++++------
2 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/gnome-base/gdm/files/gdm@.service b/gnome-base/gdm/files/gdm@.service
new file mode 100644
index 0000000..aa5f406
--- /dev/null
+++ b/gnome-base/gdm/files/gdm@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Gnome Display Manager on %I
+Requires=dev-%i.device
+After=dev-%i.device
+
+[Service]
+ExecStart=/usr/bin/gdm -nodaemon
+ExecStop=/usr/sbin/gdm-stop
+
+[Install]
+Alias=graphical.target.wants/gdm@tty7.service
diff --git a/gnome-base/gdm/gdm-3.0.4.ebuild b/gnome-base/gdm/gdm-3.0.4-r1.ebuild
similarity index 95%
rename from gnome-base/gdm/gdm-3.0.4.ebuild
rename to gnome-base/gdm/gdm-3.0.4-r1.ebuild
index 7386973..736fd65 100644
--- a/gnome-base/gdm/gdm-3.0.4.ebuild
+++ b/gnome-base/gdm/gdm-3.0.4-r1.ebuild
@@ -2,10 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="3"
+EAPI="4"
GCONF_DEBUG="yes"
-inherit autotools eutils gnome2 pam
+inherit autotools eutils gnome2 pam systemd
DESCRIPTION="GNOME Display Manager"
HOMEPAGE="http://www.gnome.org/projects/gdm/"
@@ -133,13 +133,15 @@ src_install() {
local gentoodir="${WORKDIR}/${GDM_EXTRA}"
+ # Install the systemd unit file
+ systemd_dounit "${FILESDIR}/gdm@.service"
+
# FIXME: Remove dosym usage, gone in EAPI 4
# gdm-binary should be gdm to work with our init (#5598)
- rm -f "${D}/usr/sbin/gdm"
- dosym /usr/sbin/gdm-binary /usr/sbin/gdm
-
+ rm -f "${ED}/usr/sbin/gdm"
+ ln -sfn /usr/sbin/gdm-binary "${ED}/usr/sbin/gdm"
# our x11's scripts point to /usr/bin/gdm
- dosym /usr/sbin/gdm-binary /usr/bin/gdm
+ ln -sfn /usr/sbin/gdm-binary "${ED}/usr/bin/gdm"
# log, etc.
keepdir /var/log/gdm
next reply other threads:[~2011-06-26 6:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-26 6:22 Nirbheek Chauhan [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-11 23:44 [gentoo-commits] proj/gnome:master commit in: gnome-base/gdm/, gnome-base/gdm/files/ Gilles Dartiguelongue
2012-12-26 21:45 Gilles Dartiguelongue
2012-09-12 12:08 Nirbheek Chauhan
2012-09-12 12:06 Nirbheek Chauhan
2012-09-09 0:39 Nirbheek Chauhan
2012-08-18 14:07 Priit Laes
2011-10-23 8:41 Alexandre Restovtsev
2011-08-13 6:08 Alexandre Restovtsev
2011-05-03 10:52 Nirbheek Chauhan
2011-04-15 19:36 Nirbheek Chauhan
2011-04-05 0:57 Nirbheek Chauhan
2011-04-02 13:54 Nirbheek Chauhan
2011-02-26 11:41 Nirbheek Chauhan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1ec5de286fd5263128fe03e3c3d3533542c9df28.nirbheek@gentoo \
--to=nirbheek@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox