added my Recipes
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From 2218ba8a21e9f5715b652c6416c2ddb552686b14 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Sun, 20 May 2012 15:22:09 +0200
|
||||
Subject: [PATCH] xsettings.xml: Set default themes
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
|
||||
Theme Xfce doesn't work as expected. For example, no layout in start
|
||||
menu and applications' menu bar. And GtkColorButton is blank in config
|
||||
tab page from xfce4-terminal -> Edit -> Preference -> Colors.
|
||||
|
||||
So use Adwaita as default theme instead.
|
||||
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
---
|
||||
xfsettingsd/xsettings.xml | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/xfsettingsd/xsettings.xml b/xfsettingsd/xsettings.xml
|
||||
index 65ba1ee..9efb3cd 100644
|
||||
--- a/xfsettingsd/xsettings.xml
|
||||
+++ b/xfsettingsd/xsettings.xml
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<channel name="xsettings" version="1.0">
|
||||
<property name="Net" type="empty">
|
||||
- <property name="ThemeName" type="empty"/>
|
||||
- <property name="IconThemeName" type="empty"/>
|
||||
+ <property name="ThemeName" type="string" value="Adwaita"/>
|
||||
+ <property name="IconThemeName" type="string" value="Adwaita"/>
|
||||
<property name="DoubleClickTime" type="int" value="400"/>
|
||||
<property name="DoubleClickDistance" type="int" value="5"/>
|
||||
<property name="DndDragThreshold" type="int" value="8"/>
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
SUMMARY = "Xfce4 settings"
|
||||
SECTION = "x11/wm"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
DEPENDS = "exo garcon libxi virtual/libx11 xrandr libxcursor libxklavier upower"
|
||||
|
||||
inherit xfce features_check mime-xdg
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch"
|
||||
SRC_URI[sha256sum] = "ed3f75837cb33cd694610fc87cd569c4782b7ac4e099143a3dbe8fff1f1c6a9d"
|
||||
|
||||
EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
|
||||
|
||||
PACKAGECONFIG ??= " \
|
||||
notify \
|
||||
${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \
|
||||
"
|
||||
PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
|
||||
PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${libdir}/xfce4 \
|
||||
${datadir}/xfce4 \
|
||||
"
|
||||
|
||||
RRECOMMENDS:${PN} += "adwaita-icon-theme"
|
||||
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}"
|
||||
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}"
|
||||
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','xfce4-datetime-setter','',d)}"
|
||||
Reference in New Issue
Block a user