From 37e012fd87c45b739476c736e86d82065a601ad6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 10 Dec 2016 00:07:25 +0000 Subject: fix default look on MATE --- .../files/org.mate.redcore.gschema.override | 4 +-- .../redcore-artwork-mate-1.0-r1.ebuild | 42 ++++++++++++++++++++++ .../redcore-artwork-mate-1.0.ebuild | 42 ---------------------- 3 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 x11-themes/redcore-artwork-mate/redcore-artwork-mate-1.0-r1.ebuild delete mode 100644 x11-themes/redcore-artwork-mate/redcore-artwork-mate-1.0.ebuild diff --git a/x11-themes/redcore-artwork-mate/files/org.mate.redcore.gschema.override b/x11-themes/redcore-artwork-mate/files/org.mate.redcore.gschema.override index 15c3bbfe..9485e813 100644 --- a/x11-themes/redcore-artwork-mate/files/org.mate.redcore.gschema.override +++ b/x11-themes/redcore-artwork-mate/files/org.mate.redcore.gschema.override @@ -12,11 +12,11 @@ picture-options='zoom' [org.mate.interface] document-font-name='Bitstream Vera Sans 10' font-name='Bitstream Vera Sans 10' -gtk-theme='Kogaion-daylight' +gtk-theme='Redcore-daylight' icon-theme='Numix-Circle' [org.mate.Marco.general] -theme='Kogaion-daylight' +theme='Redcore-daylight' titlebar-font='Bitstream Vera Sans Bold 10' [org.mate.panel.menubar] diff --git a/x11-themes/redcore-artwork-mate/redcore-artwork-mate-1.0-r1.ebuild b/x11-themes/redcore-artwork-mate/redcore-artwork-mate-1.0-r1.ebuild new file mode 100644 index 00000000..01d3d44f --- /dev/null +++ b/x11-themes/redcore-artwork-mate/redcore-artwork-mate-1.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Sabayon +# Copyright 2012-2015 Kogaion +# Distributed under the terms of the GNU General Public License v2 +# Header: $ + +EAPI=4 + +inherit gnome2-utils + +DESCRIPTION="Redcore Linux Official MATE artwork" +HOMEPAGE="http://redcorelinux.org" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="" +DEPEND="" +RDEPEND="" + +S="${WORKDIR}" + +src_install() { + # Doing overrides. Because we can! + dodir /usr/share/glib-2.0/schemas + insinto /usr/share/glib-2.0/schemas + doins "${FILESDIR}/org.mate.redcore.gschema.override" +} + +pkg_preinst() { + # taken from gnome2_schemas_savelist + has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}" + pushd "${ED}" &>/dev/null + export GNOME2_ECLASS_GLIB_SCHEMAS="/usr/share/glib-2.0/schemas/org.mate.redcore.gschema.override" + popd &>/dev/null +} + +pkg_postinst() { + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_schemas_update --uninstall +} diff --git a/x11-themes/redcore-artwork-mate/redcore-artwork-mate-1.0.ebuild b/x11-themes/redcore-artwork-mate/redcore-artwork-mate-1.0.ebuild deleted file mode 100644 index 01d3d44f..00000000 --- a/x11-themes/redcore-artwork-mate/redcore-artwork-mate-1.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2012 Sabayon -# Copyright 2012-2015 Kogaion -# Distributed under the terms of the GNU General Public License v2 -# Header: $ - -EAPI=4 - -inherit gnome2-utils - -DESCRIPTION="Redcore Linux Official MATE artwork" -HOMEPAGE="http://redcorelinux.org" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -IUSE="" -DEPEND="" -RDEPEND="" - -S="${WORKDIR}" - -src_install() { - # Doing overrides. Because we can! - dodir /usr/share/glib-2.0/schemas - insinto /usr/share/glib-2.0/schemas - doins "${FILESDIR}/org.mate.redcore.gschema.override" -} - -pkg_preinst() { - # taken from gnome2_schemas_savelist - has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}" - pushd "${ED}" &>/dev/null - export GNOME2_ECLASS_GLIB_SCHEMAS="/usr/share/glib-2.0/schemas/org.mate.redcore.gschema.override" - popd &>/dev/null -} - -pkg_postinst() { - gnome2_schemas_update -} - -pkg_postrm() { - gnome2_schemas_update --uninstall -} -- cgit v1.2.3