From 0f409e276d2712d3c1ce8e89664757434c2d7038 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Tue, 18 Nov 2014 18:46:40 +0000 Subject: Version bump Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x09BF4F54C2BA7F3C! --- x11-misc/lightdm/ChangeLog | 9 ++- x11-misc/lightdm/Manifest | 34 +++++----- x11-misc/lightdm/lightdm-1.10.4.ebuild | 117 ++++++++++++++++++++++++++++++++ x11-misc/lightdm/lightdm-1.13.0.ebuild | 119 +++++++++++++++++++++++++++++++++ 4 files changed, 263 insertions(+), 16 deletions(-) create mode 100644 x11-misc/lightdm/lightdm-1.10.4.ebuild create mode 100644 x11-misc/lightdm/lightdm-1.13.0.ebuild (limited to 'x11-misc') diff --git a/x11-misc/lightdm/ChangeLog b/x11-misc/lightdm/ChangeLog index 293dec402aae..d55ac8f1e2b9 100644 --- a/x11-misc/lightdm/ChangeLog +++ b/x11-misc/lightdm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-misc/lightdm # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.97 2014/11/16 18:27:27 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.98 2014/11/18 18:46:36 hwoarang Exp $ + +*lightdm-1.10.4 (18 Nov 2014) +*lightdm-1.13.0 (18 Nov 2014) + + 18 Nov 2014; Markos Chandras +lightdm-1.10.4.ebuild, + +lightdm-1.13.0.ebuild: + Version bump *lightdm-1.12.2 (16 Nov 2014) diff --git a/x11-misc/lightdm/Manifest b/x11-misc/lightdm/Manifest index 00eb8793fc9b..2f1c1a164ead 100644 --- a/x11-misc/lightdm/Manifest +++ b/x11-misc/lightdm/Manifest @@ -11,31 +11,35 @@ AUX lightdm.service 279 SHA256 2e03423cbe88c9fdc3a9684d6d14221aa6e92d105f9d1d53b AUX session-wrapper-lightdm.patch 419 SHA256 de5504221cd31c6d25ccbb21f4559780564ce908e2306238d92dd4ac481e687a SHA512 4e6d9314018f399065367572f7b185f79390e39cc46273dd0e3d51e93a28a7899f3b4fdc75b9cf23ee8b8daeff52b5c3503984afea187570e44197148514d8cc WHIRLPOOL acece016eb069496bfb6750605ddb932498a4998b4635be7acdca3b0198a60b0952a14f88d07fb84c4f6e3d65479ebb95dc1d1be44053c4256471ee36e80c597 DIST introspection-20110205.m4.tar.bz2 1220 SHA256 4394a606d380ae5315872ede35387f104da5fad96794d29c45c444a9d481d8b2 SHA512 5c49239935b93d86cce68b577b43d1a56d8749ab5747029bfcfa67339697134be24ef29ba6c3d133b8c03e867864637c8eb61491a4b7f6bb1e56386ed66cb9be WHIRLPOOL 0765c0a72919b26d0c8c38714450eec578a347bfc1c59d4950b633b64b17aa1cde38dfb87fdcd6e2f364c98d6c0bd3dadaa9c2a9711bd1b5ac09a583b988f500 DIST lightdm-1.10.3.tar.xz 469992 SHA256 1e31b99eba6626ed46b7940cd53cbd585fa53a433258371490ce74dbd047889c SHA512 95000ac3686ec81bc9925ca1dd5007422b8f7b74ae63c239af4e2fe16bfb75d778a26301897516da2d6792e0a8cf519dfbfb13bc9b531f9b7856a0c99c66b2a1 WHIRLPOOL 5b97c0090c60efc0a2edcc6f8d8788b089233f0630fcc418f3d5c2aaf58940c26e1b0b449f1ef7c9240c0f0ab300df28d8eb221aa46aa2c65487228740fd9a70 +DIST lightdm-1.10.4.tar.xz 470392 SHA256 af67cb9ef36655c7a1e8c692f38c018c3be24de35f2137551b1e92c9daa0852d SHA512 dfa7212f8394a16fe0c7e8f038a48ee53f44cb9c1643c61787c1dc72cbd1134a29685ffed2df7594b235bcc1f392332399f25d455da4db0fc0d347922906231c WHIRLPOOL 1016def1600ed1e5646839a89a0ad7fa113dba1500b1cf980c7e5a3e14109b42888d6248f5de42abfb97fa3940d05412269f601e91a1a750360ae416a40390b6 DIST lightdm-1.11.9.tar.xz 474928 SHA256 a6047c773cb7341e28385d807fd1cd1adb356c7fee0d559e7c9fd6c3c9cb934c SHA512 a0c194d36cdf257352f4e2653bd9ebf4963ce4462fd235b7d8b4bd3110637c4b154cb37dd4559c16f0713fa43a9d49416a74b1827b5eb9eb9014801e7856f2d7 WHIRLPOOL 090f73362625625b1b50be38a58c3ffa4bc9a3ee97e1c36c973a0e98c03ade34fb6f0b492904e795ec2b30da0d52c5432e70e57e736b8674aa7b426ee7c327bf DIST lightdm-1.12.2.tar.xz 473360 SHA256 ce36bacef7a0ac5b720dc0f4aeb1c37aa56e7b72f7390e290a670fb1b8231736 SHA512 bf3a9ce659929fb628f869ce2d4570bf46d7ae5481df2423ba845c2b652f9d6ae7a0017c5a48ac4d1b72135163031e5382edead313a6f58613c7e8d3b5f449d1 WHIRLPOOL 9bf0f0c52ad8d4bd1537a907f3c438f9f91c28c0812f9c98792c35a0149d2f8fa2f08c5d9781f671292d1c29675d4c1eae5473b3b32f40cb23f8d06c81c586c3 +DIST lightdm-1.13.0.tar.xz 476588 SHA256 c2af13c70c6ac74ddd171d4a17c101d90ced799267cfc5d8d6c9ca611def5aba SHA512 df31d9e2919a2cd2053e02321221df64ceccb2674e8d0445a79df4f59d517610fb61b7c3d53ff505f856d0ffdf9d23f7aff46ce9d633ae248cbe509f6816e6f4 WHIRLPOOL a6b97c1b9e9c6f16c1c1134d38bf7eb940e3f39b0e8bf3d47583ad208c8957b47117a7654705608b4a5c3c74a6c705d02cf8f9fcc51c7553089e9ca4f050c5cb DIST lightdm-1.8.5.tar.xz 449024 SHA256 c1a55800628c7a683a529e32646eae4be32295a09af049c9b15387acff0232a2 SHA512 a3941560abe402b07e5595a6fb6bcbd9df36f775b07ac23c526a14c25c1bc2e9ce4e2f912354446111f58499d9df92c650b44b05dbd1e49b5207722d5bf7985f WHIRLPOOL aabc3adf3412b92b235fc8c2674d6807d5bf5c0714a73ac62b558decf779f98a5fbf9151ec00498c4ef3032b153d7735ca216d9451fdd11924f72dab77e7f4ef EBUILD lightdm-1.10.3.ebuild 3272 SHA256 44be2d842f16b5f9af6a64f39ce31a5c5864737d4bf686c15fca060ba048c43f SHA512 7a7c77985e91c98e797cacb0fa4a2c668aea60c3e51d2d0e308d3ce2c5eceb8c9c115a3e309fbd3b8ff15ef4ba52c9a65a5cd9e6b0e598c67c1ba3e26d57e8de WHIRLPOOL 15aa2c79acea76b0563d47f2c37c4877c96a161d52a3f99a4afbf99474471ce27345185130c712fef5ce4c401e3fd3b75ad58b9e94b3d2a5cc55bd447e6b3ed1 +EBUILD lightdm-1.10.4.ebuild 3272 SHA256 ac19caac10f193c977aee89b5846c4e54ed12d00bb36f6090b03642b825cc82b SHA512 568eca2e06640dffeb88813bf593794ea29180c6d3c6c20c2435b09f885262f3f807d854ff0e21a4451ba9e71c34ac1d43dab7e9342a297a4083e1214432121d WHIRLPOOL 4028524cde75f985175751f5fcd82a081786a4b210862239abcb0e6de7c869fa5888d59bf3d8ba2ff79dc7f19a9df5099a89283c4389da50e1c2b39edff311ef EBUILD lightdm-1.11.9.ebuild 3314 SHA256 d751381830378f07e3fb7d7e6234d86579bfffcfbb8102698f991d3f64e30317 SHA512 e765213e7badfd1b100f91990846afc2d9af1acfc4bcfd454c527d1e4d709882a71348030582418733b8c4b44a463ccf4ee79845dcfea96555c81008d5f95998 WHIRLPOOL 7ed10fdbfc8c9d3e31974063c15befd2c0646d534022124f39dfd06fd4b2b26e013b7d89c3f63481c369fb4037859cb7aba0bfc90c8b44f94766a9651f1406e4 EBUILD lightdm-1.12.2.ebuild 3397 SHA256 6b475601530f4cedefd3652f4ffd9af7cc3168d66d05a8eb230331376fd71a65 SHA512 7be17eb76186b45c4f7f9da55d8caff189a1cb5a8f1d7f1ff018d940e9779077fb4eddbaca8c1c4f2b2aa4424dbe6be02fcbe686273a822c70b89e07bfa52489 WHIRLPOOL 20d4997f63030adb81671338d0f60cea8f68106cd0e281cb8d7f4f664c4a66c8558aa198805d1f5f7725bf033f6986c322272b8500d4458b5f819be113ff5112 +EBUILD lightdm-1.13.0.ebuild 3397 SHA256 3806781887bb8c21c01c63e707253650e089cbae85833ede9ac22f0c928ec25a SHA512 1761db04f97b35886aa57bbc327d125d06275c3d97953494e7ec6fd1fd311326de4e668ee829e0a5b59da6ac6526e56907928ece14eb7a1d1bff6670087bc2e7 WHIRLPOOL 4213a71fd3c761997126e98a6cd4adca8200412c0d6e302138a7f074e678d7cc0b3954c89be2fb2d67d2b25de6dc693d94a3aea202c505888cf4700f369cc1f5 EBUILD lightdm-1.8.5.ebuild 2803 SHA256 8f9329140c76835a3450966fce40e4def32ebf0ef81f8a79ce78a6723d6a3e3d SHA512 3cf035301b67292dddba3bfa1e348f72044da8f1cd87171bec2f44da64e17aa625be8a0e5540b184f3464d4a0e305c06f9c4c7c44d627cfc013ccc02d6c5e4a4 WHIRLPOOL b8c42bf4ea1d8f9f2e0c282778a84532060ce481d679c56e9d8facde20a6d0462e8b5385f9571ae9dec4fbb1bbdebf81faddb92d51ba099b2c44644328a0d1f4 -MISC ChangeLog 16152 SHA256 e490f7995ef8f43f85449b7d6eaed2d7188bda5727f2ba4533b8f7956a28015e SHA512 5c2742c41154d0c64f2c6cbb7ee92fb24956b5d11fdeeea79daa4b3c2ad5d1427a93fb8f0d247208a6dd5c4696fa9d063b4122f924b73bb656fa361358aa6074 WHIRLPOOL 0b2cd024079cbb5a3ff6918564d9569d139784d7701d8cd02574fa3d8447632e054c9589cb60cb8a65333509bdc68998a8468dfb32880ef42bd6f265590fe8bb +MISC ChangeLog 16332 SHA256 ffa745b477108229eb9e73012c96fd023e4a8c232ecc722ad90052aa539019a7 SHA512 8502398b028e3c20c24cb6a8a5ca3ec0a76d20c4204ad07d4e689ded7069a3b2629561934e0b9adc4ad8b419c8f66420df88f6766cba0609867c00baaaeebf96 WHIRLPOOL 9eabfcb36eebbfe0a821824c98fea0757babd00318b282063ad39930ca8046cf9618f62fb70b3a2bc39c38d5dcb7bf5dcab94f17b57f1e4a855a516d1422dd8f MISC metadata.xml 534 SHA256 cc20c58e04e520dc9e21c7a75d92e2714d94b1c1cdfddc94e8694c40af0d9597 SHA512 141fa9fde06c409a2d5ab3bc2f91c6d0a61568e1e94cdc417e530124487ef9f51141eeb74bc6e9ff957ae0f1f166a799634fca5a99995fdec920c3c858300863 WHIRLPOOL ff63e4220de78992417e5f8ecbe5b00b90f54a98bcd8c0dd6c9025db749213534a0b3e79d51a8f958f463726efee952eb8c31d2a161a77637f5eb6fd565f66c1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQJ8BAEBCABmBQJUaOyQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCABmBQJUa5QNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw -OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun88jFkP/ihyB9C93wAbfeaG7a7ZGIrc -qUGSmAPEv6ZXEV2mtKuXSE1tlEUAD7ZtgjWNNvO+W+UQfliuWbCjNK5HUj9/nGeD -ac5Hz74DkJ6VlLzI+TQYbLC0xHORe/+YlUWnn/tHbdxQoX5tri0fW/mzxiT+I0kc -vDVvw5TIANWjsvW0Tz2cAo+vIrV7bFQxnuqZyvwHI6ZzqKlE2t61MC5fHN/uLZ2x -Fy79gQq1o+90BZXg/TtX7DRhMDmQS2O+TsrJtWRhk+mCa6oCCf4mGULRzbwa+EUu -fOaSUYNVkSegBjAEp3V0WYZk4/6TGUvvN+Lnzt1fovpVg0oA/SnpvaeZ+jGNzQNy -Z5kMOxY6rbvXvD0Y6hRErepgQtBtJvcuaXaCth+0cSGPmN7f4gayxjDkT+S//A5G -xdE673efDiz0fy5Omk2PSwc9RNE59qRo7ienVFlvYq6WSVz/WM/QRD6yVActtVx3 -YJTtz24jxok6oljQHpCrmYzCkLgTiY2eqhS7HRKwx5P29upvBYlb+Ot6pqxHmLGM -B4My0nHwouUuVnHJG7RBENclWrXWpFQOeKzCwQZEjmUNS9fZFot3n+M2DROEzyvp -rNLG7uS1AOzjX1DdCqvCdlUp7a5amu6On5mzLNbWNIb/Nc8+BefW0Z5jH1sQRSSr -PVxSll2i5cwBHBo6cMrT -=dMdn +OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun887csP/iwESqwxKHAPMz4J/RFzewCP +uT5G40uxhlLEvsEpRX3KgqhHyRcTQracKUG/dosogB4POlr4FTTOCOKn/Uxy2NxW +U2yH/UcRRVOTK9ggml+bvHqGrzoWu6xbhYMY0Fko7u20BxmBAAm9Pd9/nqi0gk75 +wUe+2/CJ7JFdF2XrcqXtxuvNinz/8cw4Pz3pV+hDIWMXXGTfguvDATsh7HrjesiX +ZAttN6HH5DkUoNJou/lhY2zfKDw3cIL2E1QcKpOg/OGTiNYGvQFGbm1JdCFi3/3R +trvNJ61JtwUe5Z2TEK0sbLm1QTtbjz1y7QuCvaCaIQbV8lfg/eJiY9G8ubfv5Jnw +zwNfZASt1tzyJVrXxyYUjhb0vFx28ycy8ItJnKu4imk40ckrqa+Tmfo7aGGNH/3l +31qT/aeschG+pNfQm+YBkJvYmo4HIUIotTxLfpMQTI/wXCmZyqrAC2DJv0Z14mj4 +WokdrHUvgKSwgxL8/Tx+DcCWhte7wsyOiLLHnmv2roaXvqbtALcaZxeNH/DouKuc +bBW7sE4W8Uag3ktC/t1qg3Sc9fDGq2+bWTH8McEhiljWYojv4lZv1vaBC53I6kX2 +Oimco2TO5QdB/vz5zcSxLsxWWwc8O4diZYS/07OjW5QQ/7aKEdZefHoLBtsHZkUd +q6y9ia3GhRJyT3MkXVgX +=ZPYK -----END PGP SIGNATURE----- diff --git a/x11-misc/lightdm/lightdm-1.10.4.ebuild b/x11-misc/lightdm/lightdm-1.10.4.ebuild new file mode 100644 index 000000000000..c14b4ee842b9 --- /dev/null +++ b/x11-misc/lightdm/lightdm-1.10.4.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.10.4.ebuild,v 1.1 2014/11/18 18:46:36 hwoarang Exp $ + +EAPI=5 +inherit autotools eutils pam readme.gentoo systemd + +TRUNK_VERSION="1.10" +DESCRIPTION="A lightweight display manager" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM" +SRC_URI="http://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz + mirror://gentoo/introspection-20110205.m4.tar.bz2" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="+gtk +introspection kde qt4" +REQUIRED_USE="|| ( gtk kde )" + +COMMON_DEPEND=">=dev-libs/glib-2.32.3:2 + dev-libs/libxml2 + sys-apps/accountsservice + virtual/pam + x11-libs/libX11 + >=x11-libs/libxklavier-5 + introspection? ( >=dev-libs/gobject-introspection-1 ) + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + )" +RDEPEND="${COMMON_DEPEND} + >=sys-auth/pambase-20101024-r2" +DEPEND="${COMMON_DEPEND} + dev-util/gtk-doc-am + dev-util/intltool + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig" +PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter ) + kde? ( x11-misc/lightdm-kde )" + +DOCS=( NEWS ) +RESTRICT="test" + +src_prepare() { + sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369 + sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die + + einfo "Fixing the session-wrapper variable in lightdm.conf" + sed -i -e \ + "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \ + data/lightdm.conf || die "Failed to fix lightdm.conf" + + epatch_user + + # Remove bogus Makefile statement. This needs to go upstream + sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die + if has_version dev-libs/gobject-introspection; then + eautoreconf + else + AT_M4DIR=${WORKDIR} eautoreconf + fi +} + +src_configure() { + # Set default values if global vars unset + local _greeter _session _user + _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter} + _session=${LIGHTDM_SESSION:=gnome} + _user=${LIGHTDM_USER:=root} + # Let user know how lightdm is configured + einfo "Gentoo configuration" + einfo "Default greeter: ${_greeter}" + einfo "Default session: ${_session}" + einfo "Greeter user: ${_user}" + + # also disable tests because libsystem.c does not build. Tests are + # restricted so it does not matter anyway. + econf \ + --localstatedir=/var \ + --disable-static \ + --disable-tests \ + $(use_enable introspection) \ + $(use_enable qt4 liblightdm-qt) \ + --disable-liblightdm-qt5 \ + --with-user-session=${_session} \ + --with-greeter-session=${_greeter} \ + --with-greeter-user=${_user} \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +src_install() { + default + + # Delete apparmor profiles because they only work with Ubuntu's + # apparmor package. Bug #494426 + if [[ -d ${D}/etc/apparmor.d ]]; then + rm -r "${D}/etc/apparmor.d" || die \ + "Failed to remove apparmor profiles" + fi + + insinto /etc/${PN} + doins data/{${PN},keys}.conf + doins "${FILESDIR}"/Xsession + fperms +x /etc/${PN}/Xsession + + prune_libtool_files --all + rm -rf "${ED}"/etc/init + + pamd_mimic system-local-login ${PN} auth account session #372229 + dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163 + + readme.gentoo_create_doc + + systemd_dounit "${FILESDIR}/${PN}.service" +} diff --git a/x11-misc/lightdm/lightdm-1.13.0.ebuild b/x11-misc/lightdm/lightdm-1.13.0.ebuild new file mode 100644 index 000000000000..5caa08fe42e2 --- /dev/null +++ b/x11-misc/lightdm/lightdm-1.13.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.13.0.ebuild,v 1.1 2014/11/18 18:46:36 hwoarang Exp $ + +EAPI=5 +inherit autotools eutils pam readme.gentoo systemd versionator + +TRUNK_VERSION="$(get_version_component_range 1-2)" +DESCRIPTION="A lightweight display manager" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM" +SRC_URI="http://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz + mirror://gentoo/introspection-20110205.m4.tar.bz2" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="+gtk +introspection kde qt4" +REQUIRED_USE="|| ( gtk kde )" + +COMMON_DEPEND=">=dev-libs/glib-2.32.3:2 + dev-libs/libxml2 + sys-apps/accountsservice + virtual/pam + x11-libs/libX11 + >=x11-libs/libxklavier-5 + introspection? ( >=dev-libs/gobject-introspection-1 ) + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + )" +RDEPEND="${COMMON_DEPEND} + >=sys-auth/pambase-20101024-r2" +DEPEND="${COMMON_DEPEND} + dev-util/gtk-doc-am + dev-util/intltool + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig" +PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter ) + kde? ( x11-misc/lightdm-kde )" + +DOCS=( NEWS ) +RESTRICT="test" + +src_prepare() { + sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369 + sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die + + einfo "Fixing the session-wrapper variable in lightdm.conf" + sed -i -e \ + "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \ + data/lightdm.conf || die "Failed to fix lightdm.conf" + + epatch_user + + # Remove bogus Makefile statement. This needs to go upstream + sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die + if has_version dev-libs/gobject-introspection; then + eautoreconf + else + AT_M4DIR=${WORKDIR} eautoreconf + fi +} + +src_configure() { + # Set default values if global vars unset + local _greeter _session _user + _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter} + _session=${LIGHTDM_SESSION:=gnome} + _user=${LIGHTDM_USER:=root} + # Let user know how lightdm is configured + einfo "Gentoo configuration" + einfo "Default greeter: ${_greeter}" + einfo "Default session: ${_session}" + einfo "Greeter user: ${_user}" + + # also disable tests because libsystem.c does not build. Tests are + # restricted so it does not matter anyway. + econf \ + --localstatedir=/var \ + --disable-static \ + --disable-tests \ + $(use_enable introspection) \ + $(use_enable qt4 liblightdm-qt) \ + --disable-liblightdm-qt5 \ + --with-user-session=${_session} \ + --with-greeter-session=${_greeter} \ + --with-greeter-user=${_user} \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +src_install() { + default + + # Delete apparmor profiles because they only work with Ubuntu's + # apparmor package. Bug #494426 + if [[ -d ${D}/etc/apparmor.d ]]; then + rm -r "${D}/etc/apparmor.d" || die \ + "Failed to remove apparmor profiles" + fi + + insinto /etc/${PN} + doins data/{${PN},keys}.conf + doins "${FILESDIR}"/Xsession + fperms +x /etc/${PN}/Xsession + # /var/lib/lightdm-data could be useful. Bug #522228 + dodir /var/lib/lightdm-data + + prune_libtool_files --all + rm -rf "${ED}"/etc/init + + pamd_mimic system-local-login ${PN} auth account session #372229 + dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163 + + readme.gentoo_create_doc + + systemd_dounit "${FILESDIR}/${PN}.service" +} -- cgit v1.2.3-65-gdbad