From c6887e43404f47fd64887471c807bc5bb7081a22 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 22 Oct 2018 09:24:37 +0200 Subject: [PATCH] Revert "x11-misc/lightdm-gtk-greeter: Removed old." This reverts commit fdbd3fe8300ef67d648b9c2fe3e24144abe04654. Removed wrong version from tree. Closes: https://bugs.gentoo.org/669262 Signed-off-by: Lars Wendler --- x11-misc/lightdm-gtk-greeter/Manifest | 1 + .../lightdm-gtk-greeter-2.0.5-r1.ebuild | 82 +++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.5-r1.ebuild diff --git a/x11-misc/lightdm-gtk-greeter/Manifest b/x11-misc/lightdm-gtk-greeter/Manifest index 5d112880b580..b75fc71595a6 100644 --- a/x11-misc/lightdm-gtk-greeter/Manifest +++ b/x11-misc/lightdm-gtk-greeter/Manifest @@ -1,3 +1,4 @@ DIST lightdm-gentoo-patch-2.tar.gz 695543 BLAKE2B 62e21dd413b90053160f774663d89c81b3c9d8c4a040023f4ce50bf775a2f036e0be6ed16ae767eb5b04586a27fdbf41eb56f777340b2d56633738a126c3d575 SHA512 8d9bfdee71ab1871de33e134b11bba409cc493876e5ae9534956100ff6af6c8748b29de9082ecf8b771ccac4c8c2024e15e93332165171dfe93eb99c9a834274 DIST lightdm-gtk-greeter-2.0.1.tar.gz 467375 BLAKE2B 9b6e4c597b0dcace770609f7bbe55dac627445b609619b7965566e964f1584bb75ed3ff7d45567dbdded5fb777578043990b9f8ba6f17d27951adf222740cee8 SHA512 fd41cae828f7feafb462143519500d0d98a8b6729eb5ffd9be4247d47fa0074fa00ac9892c8cbdda9d7656e9d6949ae65e69911ae911269e99e80e4fefb19a08 +DIST lightdm-gtk-greeter-2.0.5.tar.gz 571189 BLAKE2B 583e75b1d621ffef4ade7e65fb3ab4891a119f1d416c8011a80d06e1916ecb5903f4c1af432052cb05a72aa38cde38293dd90eed00295fec5ff758e78576e10e SHA512 1ae31a36e19a2e8825bb0bfe4eef51f317306636bc0f14df9ee4c89c81d60ce7193d74e053ce59ae50c6fe05d27be73fb5a83cce732a0df4a3b4390539418fad DIST lightdm-gtk-greeter-2.0.6.tar.gz 575668 BLAKE2B 6aa5e4db80f411b5a5e34c5ce332906a11d7755af71f617dfedf1658c60777ba732e0ed81a9d5e01c93e2a7fd74364dffc8043d640cd6ab91f3e604769863c01 SHA512 778215351a9140f164c67c75d69efc55b1edf97a493f42a14e2a40e322f738cba99534274d00198291454466fbf407efdc927479c4821d04e12d742feb31cc3a diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.5-r1.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.5-r1.ebuild new file mode 100644 index 000000000000..199f3d937304 --- /dev/null +++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.5-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools gnome2-utils 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} + dev-util/intltool + 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 \ + -e "/xft-hintstyle/s:slight:hintslight:" \ + -e "/background/s:=.*:=/usr/share/lightdm/backgrounds/${GENTOO_BG}:" \ + -i "${WORKDIR}"/${PN}.conf || die + # Add back the reboot/shutdown buttons + echo 'indicators=~host;~spacer;~clock;~spacer;~session;~language;~a11y;~power;~' \ + >> "${WORKDIR}"/${PN}.conf || die + fi + default + + # Fix docdir + sed "/^docdir/s@${PN}@${PF}@" -i data/Makefile.am || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-kill-on-sigterm + --enable-at-spi-command="${EPREFIX}/usr/libexec/at-spi-bus-launcher --launch-immediately" + $(use_enable ayatana libindicator) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use branding; then + insinto /etc/lightdm/ + doins "${WORKDIR}"/${PN}.conf + insinto /usr/share/lightdm/backgrounds/ + doins "${WORKDIR}"/${GENTOO_BG} + newdoc "${WORKDIR}"/README.txt README-background.txt + fi +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- 2.26.2