From f4c157c1e2925e3c94dfa4134c9fb390b77eeb97 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 7 Apr 2016 18:33:44 +0100 Subject: kogaion branded lightdm-gtk-greeter --- .../files/lightdm-gtk-greeter-kogaion.patch | 27 ++++++++++ .../lightdm-gtk-greeter-2.0.1-r1.ebuild | 62 ---------------------- .../lightdm-gtk-greeter-2.0.1-r2.ebuild | 46 ++++++++++++++++ 3 files changed, 73 insertions(+), 62 deletions(-) create mode 100644 x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-kogaion.patch delete mode 100644 x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild create mode 100644 x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r2.ebuild (limited to 'x11-misc') diff --git a/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-kogaion.patch b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-kogaion.patch new file mode 100644 index 00000000..b204348a --- /dev/null +++ b/x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-kogaion.patch @@ -0,0 +1,27 @@ +diff -Nur a/data/lightdm-gtk-greeter.conf b/data/lightdm-gtk-greeter.conf +--- a/data/lightdm-gtk-greeter.conf 2015-05-21 03:40:39.000000000 +0100 ++++ b/data/lightdm-gtk-greeter.conf 2016-04-07 18:20:55.438130124 +0100 +@@ -45,18 +45,19 @@ + # transition-duration = overrides default value + # + [greeter] +-#background= ++background=#005fce + #user-background= + #theme-name= + #icon-theme-name= + #font-name= +-#xft-antialias= ++xft-antialias=true + #xft-dpi= +-#xft-hintstyle= +-#xft-rgba= ++xft-hintstyle=hintfull ++xft-rgba=rgb + #indicators= + #clock-format= + #keyboard= + #reader= + #position= + #screensaver-timeout= ++default-user-image=/usr/share/pixmaps/kogaion-logo.png diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild deleted file mode 100644 index e6ad7e90..00000000 --- a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -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 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" - -RDEPEND="${COMMON_DEPEND} - x11-themes/gnome-themes-standard - || ( >=x11-themes/adwaita-icon-theme-3.14.1 x11-themes/gnome-icon-theme )" - -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 -} - -src_configure() { - econf --enable-kill-on-sigterm \ - $(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 -} diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r2.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r2.ebuild new file mode 100644 index 00000000..b398d597 --- /dev/null +++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +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 x86" +IUSE="ayatana +branding" + +COMMON_DEPEND="ayatana? ( dev-libs/libindicator:3 ) + branding? ( >=x11-themes/kogaion-artwork-core-3 ) + x11-libs/gtk+:3 + >=x11-misc/lightdm-1.2.2" + +DEPEND="${COMMON_DEPEND} + sys-devel/gettext" + +RDEPEND="${COMMON_DEPEND} + x11-themes/gnome-themes-standard + || ( >=x11-themes/adwaita-icon-theme-3.14.1 x11-themes/gnome-icon-theme )" + + +src_prepare() { + if use branding; then + epatch "${FILESDIR}/${PN}-kogaion.patch" + fi +} + +src_configure() { + econf --enable-kill-on-sigterm \ + $(use_enable ayatana libindicator) +} + +src_install() { + default +} -- cgit v1.2.3