From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D065E139694 for ; Thu, 6 Jul 2017 15:09:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E90E82340D1; Thu, 6 Jul 2017 15:09:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5C2A2340D1 for ; Thu, 6 Jul 2017 15:09:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23503341822 for ; Thu, 6 Jul 2017 15:09:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F75E7478 for ; Thu, 6 Jul 2017 15:09:32 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1499353768.5841073eb6a332c2d352c5b9600c90ac2d739e61.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/lightdm-gtk-greeter/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.2-r1.ebuild X-VCS-Directories: x11-misc/lightdm-gtk-greeter/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5841073eb6a332c2d352c5b9600c90ac2d739e61 X-VCS-Branch: master Date: Thu, 6 Jul 2017 15:09:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 578ce9f3-39f1-43ad-a8e0-d1d26aa7baf2 X-Archives-Hash: d0795cdc8940cc2ef24d92790c2a7da3 commit: 5841073eb6a332c2d352c5b9600c90ac2d739e61 Author: Alexander Tsoy tsoy me> AuthorDate: Sun May 14 11:23:47 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Jul 6 15:09:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5841073e x11-misc/lightdm-gtk-greeter: fix path to at-spi-bus-launcher Fixes the following warning: WARNING **: [PIDs] Failed to execute command: /usr/lib/at-spi2-core/at-spi-bus-launcher Bug: https://bugs.gentoo.org/600260 Closes: https://github.com/gentoo/gentoo/pull/4627 .../lightdm-gtk-greeter-2.0.2-r1.ebuild | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.2-r1.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.2-r1.ebuild new file mode 100644 index 00000000000..8ca89ccabce --- /dev/null +++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.2-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit versionator + +DESCRIPTION="LightDM GTK+ Greeter" +HOMEPAGE="https://launchpad.net/lightdm-gtk-greeter" +SRC_URI="https://launchpad.net/lightdm-gtk-greeter/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz + branding? ( https://dev.gentoo.org/~hwoarang/distfiles/lightdm-gentoo-patch-2.tar.gz )" + +LICENSE="GPL-3 LGPL-3 + branding? ( CC-BY-3.0 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="ayatana branding" + +COMMON_DEPEND="ayatana? ( dev-libs/libindicator:3 ) + x11-libs/gtk+:3 + >=x11-misc/lightdm-1.2.2" + +DEPEND="${COMMON_DEPEND} + sys-devel/gettext + xfce-base/exo" + +RDEPEND="${COMMON_DEPEND} + x11-themes/gnome-themes-standard + >=x11-themes/adwaita-icon-theme-3.14.1" + +GENTOO_BG="gentoo-bg_65.jpg" + +src_prepare() { + # Ok, this has to be fixed in the tarball but I am too lazy to do it. + # I will fix this once I decide to update the tarball with a new gentoo + # background + # Bug #404467 + if use branding; then + sed -i -e "/xft-hintstyle/s:slight:hintslight:" \ + "${WORKDIR}"/${PN}.conf || die + fi + default +} + +src_configure() { + econf --enable-kill-on-sigterm \ + --enable-at-spi-command="${EPREFIX}/usr/libexec/at-spi-bus-launcher --launch-immediately" \ + $(use_enable ayatana libindicator) +} + +src_install() { + default + + if use branding; then + insinto /etc/lightdm/ + doins "${WORKDIR}"/${PN}.conf + insinto /usr/share/lightdm/backgrounds/ + doins "${WORKDIR}"/${GENTOO_BG} + sed -i -e \ + "/background/s:=.*:=/usr/share/lightdm/backgrounds/${GENTOO_BG}:" \ + "${D}"/etc/lightdm/${PN}.conf || die + newdoc "${WORKDIR}"/README.txt README-background.txt + fi +}