From bd0eaa1809cb508167cc0b766a72d1407200b28e Mon Sep 17 00:00:00 2001 From: Robert Piasek Date: Mon, 7 May 2012 11:51:12 +0100 Subject: Add lightdm-1.2.2 --- x11-misc/lightdm/Manifest | 4 +- x11-misc/lightdm/lightdm-1.2.0.ebuild | 111 ---------------------------------- x11-misc/lightdm/lightdm-1.2.2.ebuild | 111 ++++++++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+), 113 deletions(-) delete mode 100644 x11-misc/lightdm/lightdm-1.2.0.ebuild create mode 100644 x11-misc/lightdm/lightdm-1.2.2.ebuild (limited to 'x11-misc') diff --git a/x11-misc/lightdm/Manifest b/x11-misc/lightdm/Manifest index fbccbb5..5ff3382 100644 --- a/x11-misc/lightdm/Manifest +++ b/x11-misc/lightdm/Manifest @@ -6,6 +6,6 @@ AUX lightdm-autologin 369 RMD160 2adb17241b378ad4ca10e6241cb21b5a679c0973 SHA1 8 AUX lightdm.service 212 RMD160 2ce7a2c320415873a8b86e169513bf6cf5dc0e53 SHA1 8c97e4ef2119828f526cf5fd76b622cc6533a02e SHA256 1e19d7f8840cfe2eb4815ab244c4023f057f7f4130eba5a562d61ad5c216ad43 AUX session-wrapper-lightdm.patch 419 RMD160 899fd1b62b77ff1d3dcd46c35092486391f8bc2b SHA1 a609ddf728296ed8c139e2750ad3557e2a8bfec0 SHA256 de5504221cd31c6d25ccbb21f4559780564ce908e2306238d92dd4ac481e687a DIST introspection-20110205.m4.tar.bz2 1220 RMD160 c520adf7edf0e56012138208b45bed9df2a3e62f SHA1 092adcee1acce39e89069db0f3e8b4cb7ad89dea SHA256 4394a606d380ae5315872ede35387f104da5fad96794d29c45c444a9d481d8b2 -DIST lightdm-1.2.0.tar.gz 644000 RMD160 6363295c97ee2e6a504e935364d37f786d129c18 SHA1 853736ec927eceedfcf2211744dda8bb0bb028a9 SHA256 15fcf72926f400ff7ee597a069c328043822e26885328115ac16cc362a75fe73 -EBUILD lightdm-1.2.0.ebuild 3061 RMD160 b0035037fd55283bf9376558dccaf0b056325456 SHA1 b4c31a87aced583543f914fd32acdc6690d9ecdd SHA256 bf5ec18a3449e287201b88def8af171cff6d67632e1634f0c7a6159690bdd3d6 +DIST lightdm-1.2.2.tar.gz 642334 RMD160 bfd65206d389bc29e9b5a60e91044fa19c703115 SHA1 3c52fa36d5c33a86252fb2191a4ca49d7588cd7c SHA256 772cc6a4e7da670352f6a38c05470b8fcfe50a2c1d3d424be1c9309afb0c541b +EBUILD lightdm-1.2.2.ebuild 3068 RMD160 daa6f9ea746feb243a77b3d2b7747e288c94c9a6 SHA1 a12baf5d6566e34494184d08a8b3bfb305014478 SHA256 c639c281ccd2c662d0125f620bd28bde85fab6e5799ff86e73740a305c9c4738 MISC metadata.xml 432 RMD160 e158b5372af23f90a20b4fa480e6bf923c625f37 SHA1 90620650fc962a628ab51bb31cb6896792f67a5f SHA256 ecff31747259e3f1e6ffd6a2304ed15a911a8c6861b7a7ee935ffc753bdb6a4b diff --git a/x11-misc/lightdm/lightdm-1.2.0.ebuild b/x11-misc/lightdm/lightdm-1.2.0.ebuild deleted file mode 100644 index 41b2550..0000000 --- a/x11-misc/lightdm/lightdm-1.2.0.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.2.0.ebuild,v 1.1 2012/04/11 13:45:50 hwoarang Exp $ - -EAPI=4 -inherit autotools eutils pam systemd - -DESCRIPTION="A lightweight display manager" -HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM" -SRC_URI="http://launchpad.net/${PN}/1.2/${PV}/+download/${P}.tar.gz - mirror://gentoo/introspection-20110205.m4.tar.bz2" - -LICENSE="GPL-3 LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+introspection qt4" - -RDEPEND="dev-libs/glib:2 - virtual/pam - x11-libs/libxklavier - x11-libs/libX11 - dev-libs/libxml2 - introspection? ( dev-libs/gobject-introspection ) - qt4? ( - x11-libs/qt-dbus - x11-libs/qt-core - x11-libs/qt-gui - ) - sys-apps/accountsservice" -DEPEND="${RDEPEND} - dev-util/intltool - dev-util/pkgconfig - gnome-base/gnome-common - sys-devel/gettext - dev-util/gtk-doc-am" -PDEPEND="qt4? ( x11-misc/lightdm-kde-greeter ) - !qt4? ( x11-misc/lightdm-gtk-greeter )" - -DOCS=( NEWS ) - -src_prepare() { - sed -i -e "/minimum-uid/s:500:1000:" data/users.conf || die - sed -i -e "s:gtk+-3.0:gtk+-2.0:" configure.ac || die - epatch "${FILESDIR}"/session-wrapper-${PN}.patch - epatch "${FILESDIR}/${P}"-fix-configure.patch - if has_version dev-libs/gobject-introspection; then - eautoreconf - else - AT_M4DIR=${WORKDIR} eautoreconf - fi -} - -src_configure() { - # Maybe in the future, we can support some automatic session and user - # recognition. Until then, use default values - local default=gnome user=root greeter - - # There is no qt greeter, so use gtk anyway - # use gtk && greeter=lightdm-gtk-greeter - if use qt4 ; then - greeter=lightdm-kde-greeter - else - greeter=lightdm-gtk-greeter - fi - - # Let user know how lightdm is configured - einfo "Gentoo configuration" - einfo "Default greeter: ${greeter}" - einfo "Default session: ${default}" - einfo "Greeter user: ${user}" - - # do the actual configuration - econf --localstatedir=/var \ - --disable-static \ - $(use_enable introspection) \ - $(use_enable qt4 liblightdm-qt) \ - --with-user-session=${user} \ - --with-greeter-session=${greeter} \ - --with-greeter-user=${user} \ - --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html -} - -src_install() { - default - - # Install missing files - insinto /etc/${PN}/ - doins "${S}"/data/{${PN},users,keys}.conf - doins "${FILESDIR}"/Xsession - fperms +x /etc/${PN}/Xsession - # remove .la files - find "${ED}" -name "*.la" -exec rm -rf {} + - rm -Rf "${ED}"/etc/init || die - - # Install the systemd unit file - systemd_dounit "${FILESDIR}/lightdm.service" - - dopamd "${FILESDIR}"/${PN} - dopamd "${FILESDIR}"/${PN}-autologin -} - -pkg_postinst() { - elog - elog "Even though the default /etc/${PN}/${PN}.conf will work for" - elog "most users, make sure you configure it to suit your needs" - elog "before using ${PN} for the first time." - elog "You can test the configuration file using the following" - elog "command: ${PN} --test-mode -c /etc/${PN}/${PN}.conf. This" - elog "requires xorg-server to be built with the 'kdrive' useflag." - elog -} diff --git a/x11-misc/lightdm/lightdm-1.2.2.ebuild b/x11-misc/lightdm/lightdm-1.2.2.ebuild new file mode 100644 index 0000000..ddaab42 --- /dev/null +++ b/x11-misc/lightdm/lightdm-1.2.2.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.2.0.ebuild,v 1.1 2012/04/11 13:45:50 hwoarang Exp $ + +EAPI=4 +inherit autotools eutils pam systemd + +DESCRIPTION="A lightweight display manager" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM" +SRC_URI="http://launchpad.net/${PN}/1.2/${PV}/+download/${P}.tar.gz + mirror://gentoo/introspection-20110205.m4.tar.bz2" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+introspection qt4" + +RDEPEND="dev-libs/glib:2 + virtual/pam + x11-libs/libxklavier + x11-libs/libX11 + dev-libs/libxml2 + introspection? ( dev-libs/gobject-introspection ) + qt4? ( + x11-libs/qt-dbus + x11-libs/qt-core + x11-libs/qt-gui + ) + sys-apps/accountsservice" +DEPEND="${RDEPEND} + dev-util/intltool + dev-util/pkgconfig + gnome-base/gnome-common + sys-devel/gettext + dev-util/gtk-doc-am" +PDEPEND="qt4? ( x11-misc/lightdm-kde-greeter ) + !qt4? ( x11-misc/lightdm-gtk-greeter )" + +DOCS=( NEWS ) + +src_prepare() { + sed -i -e "/minimum-uid/s:500:1000:" data/users.conf || die + sed -i -e "s:gtk+-3.0:gtk+-2.0:" configure.ac || die + epatch "${FILESDIR}"/session-wrapper-${PN}.patch + epatch "${FILESDIR}/${PN}"-1.2.0-fix-configure.patch + if has_version dev-libs/gobject-introspection; then + eautoreconf + else + AT_M4DIR=${WORKDIR} eautoreconf + fi +} + +src_configure() { + # Maybe in the future, we can support some automatic session and user + # recognition. Until then, use default values + local default=gnome user=root greeter + + # There is no qt greeter, so use gtk anyway + # use gtk && greeter=lightdm-gtk-greeter + if use qt4 ; then + greeter=lightdm-kde-greeter + else + greeter=lightdm-gtk-greeter + fi + + # Let user know how lightdm is configured + einfo "Gentoo configuration" + einfo "Default greeter: ${greeter}" + einfo "Default session: ${default}" + einfo "Greeter user: ${user}" + + # do the actual configuration + econf --localstatedir=/var \ + --disable-static \ + $(use_enable introspection) \ + $(use_enable qt4 liblightdm-qt) \ + --with-user-session=${user} \ + --with-greeter-session=${greeter} \ + --with-greeter-user=${user} \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +src_install() { + default + + # Install missing files + insinto /etc/${PN}/ + doins "${S}"/data/{${PN},users,keys}.conf + doins "${FILESDIR}"/Xsession + fperms +x /etc/${PN}/Xsession + # remove .la files + find "${ED}" -name "*.la" -exec rm -rf {} + + rm -Rf "${ED}"/etc/init || die + + # Install the systemd unit file + systemd_dounit "${FILESDIR}/lightdm.service" + + dopamd "${FILESDIR}"/${PN} + dopamd "${FILESDIR}"/${PN}-autologin +} + +pkg_postinst() { + elog + elog "Even though the default /etc/${PN}/${PN}.conf will work for" + elog "most users, make sure you configure it to suit your needs" + elog "before using ${PN} for the first time." + elog "You can test the configuration file using the following" + elog "command: ${PN} --test-mode -c /etc/${PN}/${PN}.conf. This" + elog "requires xorg-server to be built with the 'kdrive' useflag." + elog +} -- cgit v1.2.3-65-gdbad