summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-04-14 23:34:11 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-04-14 23:34:11 +0300
commit074ed875b74f3c34cc354b8e0deda21b55d13b6c (patch)
treecfb5dfb5e355a0bc7e8f7908c63463a4fe58eaa7 /x11-misc
parent2baf8af7daacb1e413e8cf8c0b1054894ca7c9d8 (diff)
[x11-misc/lightdm-base] upgrading lightdm-base ebuilds
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/lightdm-base/Manifest1
-rw-r--r--x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild108
-rw-r--r--x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild2
3 files changed, 110 insertions, 1 deletions
diff --git a/x11-misc/lightdm-base/Manifest b/x11-misc/lightdm-base/Manifest
index 743983d4..c9615fb7 100644
--- a/x11-misc/lightdm-base/Manifest
+++ b/x11-misc/lightdm-base/Manifest
@@ -1,4 +1,5 @@
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.12.2.tar.xz 473360 SHA256 ce36bacef7a0ac5b720dc0f4aeb1c37aa56e7b72f7390e290a670fb1b8231736 SHA512 bf3a9ce659929fb628f869ce2d4570bf46d7ae5481df2423ba845c2b652f9d6ae7a0017c5a48ac4d1b72135163031e5382edead313a6f58613c7e8d3b5f449d1 WHIRLPOOL 9bf0f0c52ad8d4bd1537a907f3c438f9f91c28c0812f9c98792c35a0149d2f8fa2f08c5d9781f671292d1c29675d4c1eae5473b3b32f40cb23f8d06c81c586c3
DIST lightdm-1.4.0.tar.gz 660979 SHA256 3486a9f828864a78d452696cf6fef6e1dec2f4ef92a72e90ab37edf9a0824c43 SHA512 dedea48dbf2dde1a84c63691474b6452340b7ba5abd9793afb02f3ffcdb4d664432e3e4bbd6151bfb5861424c1063b42ca99989642b970b4a804ed8bfea6fb1e WHIRLPOOL 0def63f88e3f6ab810411bd51f53984d5cdb832faa81f33d0dd2243b774c06362d20d1c91d32c79f2630c8e543834ed3f5cf411c76843702ed997f60bad30212
DIST lightdm-1.8.5.tar.xz 449024 SHA256 c1a55800628c7a683a529e32646eae4be32295a09af049c9b15387acff0232a2 SHA512 a3941560abe402b07e5595a6fb6bcbd9df36f775b07ac23c526a14c25c1bc2e9ce4e2f912354446111f58499d9df92c650b44b05dbd1e49b5207722d5bf7985f WHIRLPOOL aabc3adf3412b92b235fc8c2674d6807d5bf5c0714a73ac62b558decf779f98a5fbf9151ec00498c4ef3032b153d7735ca216d9451fdd11924f72dab77e7f4ef
diff --git a/x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild b/x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild
new file mode 100644
index 00000000..ca1c16e7
--- /dev/null
+++ b/x11-misc/lightdm-base/lightdm-base-1.10.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit autotools eutils pam readme.gentoo systemd versionator
+
+TRUNK_VERSION="$(get_version_component_range 1-2)"
+REAL_PN="${PN/-base}"
+REAL_P="${P/-base}"
+DESCRIPTION="A lightweight display manager, base libraries and programs"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
+SRC_URI="http://launchpad.net/${REAL_PN}/${TRUNK_VERSION}/${PV}/+download/${REAL_P}.tar.xz
+ mirror://gentoo/introspection-20110205.m4.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="+introspection"
+S="${WORKDIR}/${REAL_P}"
+
+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 )"
+
+RDEPEND="${COMMON_DEPEND}
+ >=sys-auth/pambase-20101024-r2"
+DEPEND="${COMMON_DEPEND}
+ dev-util/gtk-doc-am
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+PDEPEND="app-eselect/eselect-lightdm"
+
+DOCS=( NEWS )
+
+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 _user
+ _user=${LIGHTDM_USER:=root}
+ # Let user know how lightdm is configured
+ einfo "Kogaion configuration"
+ 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 \
+ --disable-liblightdm-qt \
+ --disable-liblightdm-qt5 \
+ --with-greeter-user=${_user} \
+ $(use_enable introspection) \
+ --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/${REAL_PN}
+ doins data/{${REAL_PN},keys}.conf
+ doins "${FILESDIR}"/Xsession
+ fperms +x /etc/${REAL_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 ${REAL_PN} auth account session #372229
+ dopamd "${FILESDIR}"/${REAL_PN}-autologin #390863, #423163
+
+ readme.gentoo_create_doc
+
+ systemd_dounit "${FILESDIR}/${REAL_PN}.service"
+}
diff --git a/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild b/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild
index b8f2b642..ca1c16e7 100644
--- a/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild
+++ b/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild
@@ -63,7 +63,7 @@ src_configure() {
local _user
_user=${LIGHTDM_USER:=root}
# Let user know how lightdm is configured
- einfo "Sabayon configuration"
+ einfo "Kogaion configuration"
einfo "Greeter user: ${_user}"
# also disable tests because libsystem.c does not build. Tests are