diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-04-07 18:33:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-04-07 18:33:44 +0100 |
commit | f4c157c1e2925e3c94dfa4134c9fb390b77eeb97 (patch) | |
tree | cc36227c7645d5512df06b99bf6762d15f402092 /x11-misc | |
parent | 09efe1bf33561b5cd4d6597ec3efee1c567209e6 (diff) |
kogaion branded lightdm-gtk-greeter
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/lightdm-gtk-greeter/files/lightdm-gtk-greeter-kogaion.patch | 27 | ||||
-rw-r--r-- | x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r2.ebuild (renamed from x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild) | 22 |
2 files changed, 30 insertions, 19 deletions
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-r2.ebuild index e6ad7e90..b398d597 100644 --- 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-r2.ebuild @@ -15,9 +15,10 @@ LICENSE="GPL-3 LGPL-3 branding? ( CC-BY-3.0 )" SLOT="0" KEYWORDS="amd64 x86" -IUSE="ayatana branding" +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" @@ -28,16 +29,10 @@ 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 + epatch "${FILESDIR}/${PN}-kogaion.patch" fi } @@ -48,15 +43,4 @@ src_configure() { 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 } |