added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,33 @@
From 9231a2d5b9c5406f33aef3ab4de2dbec9b08ed13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Fri, 18 May 2012 21:13:00 +0200
Subject: [PATCH] Do not run tests at build time
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Rebase for xfce4 4.18.0.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 513ac36..c395272 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,8 +6,7 @@ SUBDIRS = \
exo-open \
docs \
pixmaps \
- po \
- tests
+ po
distclean-local:
rm -rf *.cache *~

View File

@@ -0,0 +1,25 @@
DESCRIPTION = "Application library for the Xfce desktop environment"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "gtk+3 libxfce4ui liburi-perl-native cairo"
inherit xfce perlnative gtk-doc features_check mime-xdg
# xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
# cairo would at least needed to be built with xlib.
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
# SRC_URI must follow inherited one
SRC_URI += " \
file://exo-no-tests-0.8.patch \
"
SRC_URI[sha256sum] = "4f2c61d045a888cdb64297fd0ae20cc23da9b97ffb82562ed12806ed21da7d55"
# Note: python bindings did not work in oe-dev and are about to be moved to
# pyxfce see http://comments.gmane.org/gmane.comp.desktop.xfce.devel.version4/19560
FILES:${PN} += " \
${datadir}/xfce4/ \
${libdir}/xfce4/exo* \
"

View File

@@ -0,0 +1,35 @@
From f5398b49cc6fd7a53562aae2abbac0d9c656559c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Wed, 15 May 2013 14:17:49 +0200
Subject: [garcon] xfce-applications.menu: don't bloat settings menu by
entries found in settings manager
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Submitted [1]
[1] https://bugzilla.xfce.org/show_bug.cgi?id=10092
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
data/xfce/xfce-applications.menu | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/data/xfce/xfce-applications.menu b/data/xfce/xfce-applications.menu
index dc3056b..c2aa0bb 100644
--- a/data/xfce/xfce-applications.menu
+++ b/data/xfce/xfce-applications.menu
@@ -34,6 +34,9 @@
<Include>
<Category>Settings</Category>
</Include>
+ <Exclude>
+ <Category>X-XFCE-SettingsDialog</Category>
+ </Exclude>
<Layout>
<Filename>xfce-settings-manager.desktop</Filename>
--
1.7.6.5

View File

@@ -0,0 +1,22 @@
DESCRIPTION = "Xfce Menu Library"
SECTION = "x11/libs"
LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=04a01abcbdabffae1ca26335a293276b"
DEPENDS = "xfce4-dev-tools-native libxfce4ui intltool-native"
inherit xfce gtk-doc gobject-introspection features_check
# xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
# cairo would at least needed to be built with xlib.
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
SRC_URI += "file://0001-xfce-applications.menu-don-t-bloat-settings-menu-by-.patch"
SRC_URI[sha256sum] = "54633487566a8b8502b71c11a7f719efe27c069bd5773cc95f11ff4ea8f11a14"
EXTRA_OECONF = "--disable-gtk-doc"
do_compile:prepend() {
export GIR_EXTRA_LIBS_PATH="${B}/garcon/.libs"
}
FILES:${PN} += "${datadir}/desktop-directories"

View File

@@ -0,0 +1,32 @@
From 708e59caaf1c0c271a96a4d1fe46b122aff45e34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Mon, 27 Aug 2012 09:16:29 +0200
Subject: [PATCH] libxfce4kbd-private/xfce4-keyboard-shortcuts.xml: fix xfwm4
crash on first start
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
libxfce4kbd-private/xfce4-keyboard-shortcuts.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml b/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml
index 32901e3..8189c4c 100644
--- a/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml
+++ b/libxfce4kbd-private/xfce4-keyboard-shortcuts.xml
@@ -96,4 +96,8 @@
<property name="&lt;Super&gt;KP_Next" type="string" value="tile_down_right_key"/>
</property>
</property>
+ <property name="providers" type="array">
+ <value type="string" value="commands"/>
+ <value type="string" value="xfwm4"/>
+ </property>
</channel>
--
1.7.6.5

View File

@@ -0,0 +1,31 @@
SUMMARY = "Xfce4 Widget library and X Window System interaction"
SECTION = "x11/libs"
LICENSE = "LGPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=4cf66a4984120007c9881cc871cf49db"
DEPENDS = "intltool-native perl-native gtk+3 libxfce4util xfce4-dev-tools xfconf"
inherit xfce gtk-doc gobject-introspection features_check
# xfce4 depends on libwnck3. gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
# cairo would at least needed to be built with xlib.
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
# TODO: Check if 0001-... can go
SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch"
SRC_URI[sha256sum] = "532247c4387c17bb9ef94a73147039b8d013c3131c95cdbd2fa85fbcc848d06b"
EXTRA_OECONF += "--with-vendor-info=${DISTRO}"
EXTRA_OECONF += "--disable-vala"
PACKAGECONFIG ??= " \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl','x11', "", d)} \
"
PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade"
PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification"
PACKAGES += "${PN}-glade"
FILES:${PN}-glade = " \
${libdir}/glade \
${datadir}/glade \
"

View File

@@ -0,0 +1,9 @@
SUMMARY = "Basic utility library for Xfce4"
SECTION = "x11/libs"
LICENSE = "LGPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=4cf66a4984120007c9881cc871cf49db"
DEPENDS = "intltool-native xfce4-dev-tools-native glib-2.0"
inherit xfce gtk-doc gobject-introspection vala
SRC_URI[sha256sum] = "1157ca717fd3dd1da7724a6432a4fb24af9cd922f738e971fd1fd36dfaeac3c9"

View File

@@ -0,0 +1,38 @@
SUMMARY = "All packages required for a base installation of XFCE"
SECTION = "x11/wm"
PR = "r5"
# librsvg-gtk gets debian renamed to librsvg-2-gtk
PACKAGE_ARCH = "${TUNE_PKGARCH}"
inherit packagegroup features_check
REQUIRED_DISTRO_FEATURES = "x11"
RDEPENDS:${PN} = " \
xfwm4 \
xfce4-session \
xfconf \
xfdesktop \
xfce4-panel \
\
librsvg-gtk \
\
xfce4-panel-plugin-actions \
xfce4-panel-plugin-applicationsmenu \
xfce4-panel-plugin-clock \
xfce4-panel-plugin-directorymenu \
xfce4-panel-plugin-launcher \
xfce4-panel-plugin-pager \
xfce4-panel-plugin-separator \
xfce4-panel-plugin-showdesktop \
xfce4-panel-plugin-systray \
xfce4-panel-plugin-tasklist \
xfce4-panel-plugin-windowmenu \
xfce4-settings \
\
xfce4-notifyd \
xfce4-terminal \
thunar \
thunar-volman \
"

View File

@@ -0,0 +1,68 @@
SUMMARY = "All packages for full XFCE installation"
SECTION = "x11/wm"
PR = "r10"
inherit packagegroup features_check
REQUIRED_DISTRO_FEATURES = "x11"
# mandatory
RDEPENDS:${PN} = " \
packagegroup-xfce-base \
"
# nice to have
RRECOMMENDS:${PN} = " \
xfwm4-theme-daloa \
xfwm4-theme-kokodi \
xfwm4-theme-moheli \
\
xfce-dusk-gtk3 \
\
xfce4-cpufreq-plugin \
xfce4-cpugraph-plugin \
xfce4-datetime-plugin \
xfce4-eyes-plugin \
xfce4-clipman-plugin \
xfce4-diskperf-plugin \
xfce4-netload-plugin \
xfce4-genmon-plugin \
xfce4-xkb-plugin \
xfce4-wavelan-plugin \
xfce4-places-plugin \
xfce4-systemload-plugin \
xfce4-time-out-plugin \
xfce4-timer-plugin \
xfce4-weather-plugin \
xfce4-fsguard-plugin \
xfce4-battery-plugin \
xfce4-mount-plugin \
xfce4-powermanager-plugin \
xfce4-closebutton-plugin \
xfce4-notes-plugin \
xfce4-whiskermenu-plugin \
xfce4-mailwatch-plugin \
xfce4-smartbookmark-plugin \
${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'xfce4-pulseaudio-plugin', '', d)} \
xfce4-sensors-plugin \
xfce4-calculator-plugin \
xfce4-verve-plugin \
\
${@bb.utils.contains('DISTRO_FEATURES','polkit','xfce-polkit','',d)} \
${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "blueman", "", d)} \
\
thunar-media-tags-plugin \
thunar-archive-plugin \
\
xfce4-appfinder \
xfce4-screensaver \
xfce4-screenshooter \
xfce4-power-manager \
ristretto \
xfce4-taskmanager \
gigolo \
mousepad \
catfish \
xfce4-panel-profiles \
"

View File

@@ -0,0 +1,16 @@
SUMMARY = "Automatic management of removable drives and media for thunar"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "exo libnotify libgudev"
inherit xfce features_check perlnative
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI[sha256sum] = "93b75c7ffbe246a21f4190295acc148e184be8df397e431b258d0d676e87fc65"
PACKAGECONFIG ??= "notify"
PACKAGECONFIG[notify] = "--enable-notifications,--disable-notifications,libnotify"
RDEPENDS:${PN} = "eject"

View File

@@ -0,0 +1,35 @@
SUMMARY = "File manager for the Xfce Desktop Environment"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "libxml-parser-perl-native exo gdk-pixbuf libxfce4ui libnotify xfce4-panel udev"
inherit xfce gobject-introspection features_check mime-xdg perlnative
# xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
# cairo would at least needed to be built with xlib.
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
SRC_URI[sha256sum] = "d1f4b080c97b9e390eff199aaaac7562fb20f031686f8d5ee5207e953bfc2feb"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
PACKAGECONFIG[pcre] = "--enable-pcre2,--disable-pcre2,libpcre2"
PACKAGECONFIG[x11] = ",,libsm startup-notification"
FILES:${PN} += " \
${libdir}/thunarx-3/* \
${libdir}/xfce4/panel/plugins/* \
${libdir}/Thunar/[Tt]hunar* \
${systemd_user_unitdir} \
${datadir}/dbus-1 \
${datadir}/metainfo \
${datadir}/polkit-1 \
${datadir}/Thunar \
${datadir}/xfce4/panel/plugins/* \
"
RRECOMMENDS:${PN} = " \
gvfs \
gvfsd-trash \
${@bb.utils.contains('DISTRO_FEATURES', 'dbus', 'tumbler', '', d)} \
"

View File

@@ -0,0 +1,31 @@
DESCRIPTION = "Thumbnail service implementing the thumbnail management D-Bus specification"
SECTION = "x11/libs"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "freetype gdk-pixbuf poppler curl xfce4-dev-tools-native libxml2 libgsf libxfce4util"
inherit xfce gtk-doc systemd
SRC_URI[sha256sum] = "4087f3af4ef31271d3f315421a2f1fe67e4fda7ad60bbab1f073627914dfcf00"
INSANE_SKIP:${PN} = "dev-so"
PACKAGECONFIG ??= ""
PACKAGECONFIG[gstreamer-thumbnailer] = "--enable-gstreamer-thumbnailer,--disable-gstreamer-thumbnailer,gstreamer1.0 gstreamer1.0-plugins-base"
do_install:append() {
# Makefile seems to race on creation of symlink. So ensure creation here
# until fixed properly
ln -sf tumbler-xdg-cache.so ${D}${libdir}/tumbler-1/plugins/cache/tumbler-cache-plugin.so
}
FILES:${PN} += "${datadir}/dbus-1/services \
${libdir}/tumbler-1/tumblerd \
${libdir}/tumbler-1/plugins/*.so \
${libdir}/tumbler-1/plugins/cache/*.so \
${systemd_user_unitdir}/tumblerd.service \
"
FILES:${PN}-dev += "${libdir}/tumbler-1/plugins/*.la \
${libdir}/tumbler-1/plugins/cache/*.la \
"

View File

@@ -0,0 +1,13 @@
DESCRIPTION = "Xfce4 Application Finder"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "glib-2.0 gtk+3 libxfce4util libxfce4ui garcon xfconf"
inherit xfce features_check
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI[sha256sum] = "962a98d7b327d2073ed4cd0f78bce7945ed51b97d52fd60196e8b02ef819c18c"
FILES:${PN} += "${datadir}/metainfo"

View File

@@ -0,0 +1,33 @@
From b2fcd5c09ee6b4ad03f93ee5e1dd32f2f062cf07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 3 Jan 2021 15:36:07 +0100
Subject: [PATCH] Run native xdt-csource on tests
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Tests cannot be opted out so let them pass.
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fa0832c..7c46bbf 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -26,7 +26,7 @@ DISTCLEANFILES = test-xdt-csource-data.c
BUILT_SOURCES = test-xdt-csource-data.c
test-xdt-csource-data.c: Makefile $(srcdir)/data/data.bin $(srcdir)/data/data.txt
- $(top_builddir)/xdt-csource/xdt-csource --extern --build-list data_bin $(srcdir)/data/data.bin data_txt $(srcdir)/data/data.txt > test-xdt-csource-data.c
+ xdt-csource --extern --build-list data_bin $(srcdir)/data/data.bin data_txt $(srcdir)/data/data.txt > test-xdt-csource-data.c
clean-local:
rm -f *.core core core.*
--
2.26.2

View File

@@ -0,0 +1,35 @@
From 8f58e1b5c15fc3b6f775207971d078c058d9eb7b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 1 Sep 2022 08:21:56 -0700
Subject: [PATCH] m4macros: Check for a function provided by libX11 in
AC_CHECK_LIB
checking for main is not ideal, since its not a function from libX11
moreover with newer versions of autoconf this will start to fail [1], so
change this to use XFree API which is provided by libX11 and seems more
relevant to check here.
[1] https://lists.gnu.org/archive/html/autoconf-patches/2022-08/msg00018.html
Upstream-Status: Submitted [https://gitlab.xfce.org/xfce/xfce4-dev-tools/-/issues/57]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
m4macros/xdt-depends.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4macros/xdt-depends.m4 b/m4macros/xdt-depends.m4
index 3c07c90..ce1b272 100644
--- a/m4macros/xdt-depends.m4
+++ b/m4macros/xdt-depends.m4
@@ -213,7 +213,7 @@ AC_DEFUN([XDT_CHECK_LIBX11],
LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS=
if test x"$no_x" != x"yes"; then
- AC_CHECK_LIB([X11], [main],
+ AC_CHECK_LIB([X11], [XFree],
[
AC_DEFINE([HAVE_LIBX11], [1], [Define if libX11 is available])
LIBX11_CFLAGS="$X_CFLAGS"
--
2.37.3

View File

@@ -0,0 +1,27 @@
SUMMARY = "Xfce4 development tools"
HOMEPAGE = "http://www.xfce.org"
SECTION = "x11/libs"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "glib-2.0"
DEPENDS:append:class-target = " ${BPN}-native"
SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:4]}/${BPN}-${PV}.tar.bz2 \
file://0001-m4macros-Check-for-a-function-provided-by-libX11-in-.patch \
"
SRC_URI:append:class-target = " file://0001-Run-native-xdt-csource-on-tests.patch"
SRC_URI[sha256sum] = "eedb4fc955f0e3459c46864ff98579295db2b900743e0ff69cad5970ba76be37"
inherit autotools pkgconfig
do_install:append() {
install -d ${D}${datadir}/aclocal
install -m 644 ${S}/m4macros/*.m4 ${D}${datadir}/aclocal/
}
FILES:${PN} += "${datadir}/xfce4/dev-tools/m4macros/*.m4"
RDEPENDS:${PN} = "bash"
BBCLASSEXTEND = "native"

View File

@@ -0,0 +1,63 @@
From 0651f228cef01a6c3e4758a991cace1cd7721031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Mon, 24 Sep 2012 09:57:46 +0200
Subject: [PATCH] windowmenu: do not display desktop icon when no window is
active
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* desktop icon is of no use
* desktop icon confuses when using showdesktop plugin
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Rebase for xfce4 4.18.0.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
plugins/windowmenu/windowmenu.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
index ba245a3..f8fdee8 100644
--- a/plugins/windowmenu/windowmenu.c
+++ b/plugins/windowmenu/windowmenu.c
@@ -250,7 +250,7 @@ window_menu_plugin_init (WindowMenuPlugin *plugin)
g_signal_connect (G_OBJECT (plugin->button), "toggled",
G_CALLBACK (window_menu_plugin_menu), plugin);
- plugin->icon = gtk_image_new_from_icon_name ("user-desktop", GTK_ICON_SIZE_BUTTON);
+ plugin->icon = gtk_image_new_from_icon_name (NULL, GTK_ICON_SIZE_BUTTON);
gtk_container_add (GTK_CONTAINER (plugin->button), plugin->icon);
gtk_widget_show (plugin->icon);
}
@@ -680,19 +680,19 @@ window_menu_plugin_active_window_changed (WnckScreen *screen,
/* skip 'fake' windows */
type = wnck_window_get_window_type (window);
if (type == WNCK_WINDOW_DESKTOP || type == WNCK_WINDOW_DOCK)
- goto show_desktop_icon;
+ goto show_no_icon;
window_menu_plugin_set_icon (plugin, window);
}
else
{
- show_desktop_icon:
+ show_no_icon:
/* desktop is shown right now */
icon_size = xfce_panel_plugin_get_icon_size (XFCE_PANEL_PLUGIN (plugin));
- gtk_image_set_from_icon_name (GTK_IMAGE (icon), "user-desktop", icon_size);
+ gtk_image_set_from_icon_name (GTK_IMAGE (icon), NULL, icon_size);
gtk_image_set_pixel_size (GTK_IMAGE (icon), icon_size);
- gtk_widget_set_tooltip_text (GTK_WIDGET (icon), _("Desktop"));
+ gtk_widget_set_tooltip_text (GTK_WIDGET (icon), _("No Windows"));
}
}
}
--
2.14.3

View File

@@ -0,0 +1,49 @@
From b80108f01b1425427f98341168ea44c4b1a5a2cf Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 28 Jun 2019 16:02:13 +0800
Subject: [PATCH] use lxdm to replace dm-tool
OE does not support lightdm but lxdm,
so use lxdm to replace dm-tool
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
plugins/actions/actions.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c
index 474798e..63eb41d 100644
--- a/plugins/actions/actions.c
+++ b/plugins/actions/actions.c
@@ -905,12 +905,12 @@ actions_plugin_actions_allowed (void)
GError *error = NULL;
/* check for commands we use */
- path = g_find_program_in_path ("dm-tool");
+ path = g_find_program_in_path ("lxdm");
if (path != NULL)
PANEL_SET_FLAG (allow_mask, ACTION_TYPE_SWITCH_USER);
else
{
- /* check for gdmflexiserver if dm-tool is not present */
+ /* check for gdmflexiserver if lxdm is not present */
g_free (path);
path = g_find_program_in_path ("gdmflexiserver");
if (path != NULL)
@@ -1027,9 +1027,9 @@ actions_plugin_action_activate (GtkWidget *widget,
break;
case ACTION_TYPE_SWITCH_USER:
- path = g_find_program_in_path ("dm-tool");
+ path = g_find_program_in_path ("lxdm");
if (path != NULL)
- succeed = g_spawn_command_line_async ("dm-tool switch-to-greeter", &error);
+ succeed = g_spawn_command_line_async ("lxdm -c USER_SWITCH", &error);
else
succeed = g_spawn_command_line_async ("gdmflexiserver", &error);
g_free (path);
--
2.8.1

View File

@@ -0,0 +1,44 @@
SUMMARY = "Xfce4 Panel"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee"
DEPENDS = "garcon exo gtk+3 cairo virtual/libx11 libxml2 libwnck3 vala-native"
inherit xfce gtk-doc gobject-introspection features_check mime-xdg
# xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
# cairo would at least needed to be built with xlib.
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
SRC_URI += " \
file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \
file://0002-use-lxdm-to-replace-dm-tool.patch \
"
SRC_URI[sha256sum] = "be80023fd546587831bab25ded15ae4c9e346289a75744b6ba4cf4ee53794710"
EXTRA_OECONF += "--disable-vala"
python populate_packages:prepend() {
plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/')
plugin_name = d.expand('${PN}-plugin-%s')
do_split_packages(d, plugin_dir, r'^lib(.*)\.so$', plugin_name,
'${PN} plugin for %s', extra_depends='', prepend=True,
aux_files_pattern=['${datadir}/xfce4/panel/plugins/%s.desktop',
'${sysconfdir}/xdg/xfce/panel/%s-*',
'${datadir}/icons/hicolor/48x48/apps/*-%s.png',
'${bindir}/*%s*'])
}
PACKAGES_DYNAMIC += "^${PN}-plugin-.*"
PACKAGES =+ "${PN}-gtk3"
FILES:${PN} += "${libdir}/xfce4/panel/migrate \
${libdir}/xfce4/panel/wrapper-1.0"
FILES:${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la"
FILES:${PN}-gtk3 = " \
${libdir}/libxfce4panel-2.0${SOLIBS} \
${libdir}/xfce4/panel/wrapper-2.0 \
"

View File

@@ -0,0 +1,42 @@
SUMMARY = "Power manager for the Xfce desktop environment"
HOMEPAGE = "http://goodies.xfce.org/projects/applications/xfce4-power-manager"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
inherit xfce features_check
REQUIRED_DISTRO_FEATURES = "x11"
DEPENDS += "libnotify libxrandr virtual/libx11 libxext xfce4-panel upower libxscrnsaver"
SRC_URI[sha256sum] = "2eee467886252f9fa704c978ec67dafad5274ede93e59b092a688faa7e72c39a"
EXTRA_OECONF = " \
--enable-network-manager \
--enable-panel-plugins \
"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit"
PACKAGES += "xfce4-powermanager-plugin"
FILES:${PN} += " \
${datadir}/polkit-1 \
${datadir}/metainfo \
"
FILES:xfce4-powermanager-plugin = " \
${libdir}/xfce4 \
${datadir}/xfce4 \
"
RDEPENDS:xfce4-powermanager-plugin = "${PN}"
RDEPENDS:${PN} = "networkmanager ${@bb.utils.contains('DISTRO_FEATURES','systemd','','consolekit',d)}"
# xfce4-brightness-plugin was replaced by xfce4-powermanager-plugin
RPROVIDES:xfce4-powermanager-plugin += "xfce4-brightness-plugin"
RREPLACES:xfce4-powermanager-plugin += "xfce4-brightness-plugin"
RCONFLICTS:xfce4-powermanager-plugin += "xfce4-brightness-plugin"

View File

@@ -0,0 +1,40 @@
From a629b051f4e5462150c77b95574bbc7a33bc9666 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Mon, 31 Dec 2012 16:35:29 +0100
Subject: [PATCH] configure.ac: hard code path to iceauth
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
workaround AC_PATH_PROG which was meant to find programs required at build-time
not at run-time.
Upstream-Status: Inappropriate [config]
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
configure.ac | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3cf3510..505e744 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,13 +111,7 @@ XDT_FEATURE_DEBUG([xfsm_debug_default])
dnl Check for linker optimizations
XDT_FEATURE_LINKER_OPTS()
-dnl Check for iceauth
-AC_PATH_PROG([ICEAUTH], [iceauth])
-if test x"$ICEAUTH" != x""; then
- AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$ICEAUTH"], [path to iceauth])
-else
- AC_MSG_ERROR([iceauth missing, please check your X11 installation])
-fi
+AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$bindir/iceauth"], [path to iceauth])
dnl Find a location for the session desktop file
AC_MSG_CHECKING([what xsession-prefix to use])
--
1.7.4.4

View File

@@ -0,0 +1,37 @@
SUMMARY = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "libwnck3 libsm libxfce4ui virtual/libx11"
inherit xfce update-alternatives features_check
SRC_URI += "file://0001-configure.in-hard-code-path-to-iceauth.patch"
SRC_URI[sha256sum] = "38badb500b272012f494543a60a9c0563c381647cc95bed73b68aec0b0b89a7f"
REQUIRED_DISTRO_FEATURES = "x11"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit"
ALTERNATIVE:${PN} = "x-session-manager"
ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session"
ALTERNATIVE_PRIORITY_${PN} = "150"
FILES:${PN} += " \
${libdir}/xfce4/*/*/*.so \
${libdir}/xfce4/session/*-*-* \
${datadir}/xsessions \
${datadir}/themes/Default/balou/* \
${datadir}/polkit-1 \
"
RDEPENDS:${PN} = " \
dbus-x11 \
iceauth \
netbase \
upower \
xinit \
xrdb \
"

View File

@@ -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

View File

@@ -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)}"

View File

@@ -0,0 +1,19 @@
SUMMARY = "Xfce configuration daemon and utilities"
SECTION = "x11/wm"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
DEPENDS = "libxfce4util perl intltool-native xfce4-dev-tools-native"
inherit xfce gtk-doc gobject-introspection bash-completion vala
EXTRA_OECONF += "PERL=${STAGING_DIR_TARGET}/usr/bin/perl"
SRC_URI[sha256sum] = "2e8c50160bf800a807aea094fc9dad81f9f361f42db56607508ed5b4855d2906"
FILES:${PN} += "${libdir}/xfce4/xfconf/xfconfd \
${libdir}/gio/modules/libxfconfgsettingsbackend.so \
${datadir}/dbus-1/services/org.xfce.Xfconf.service"
FILES:${PN}-dev += "${libdir}/gio/modules/libxfconfgsettingsbackend.la"
PACKAGECONFIG[gsettings-backend] = "--enable-gsettings-backend,--disable-gsettings-backend,"

View File

@@ -0,0 +1,28 @@
SUMMARY = "Xfce4 Desktop Manager"
SECTION = "x11/base"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = " \
cairo \
exo \
garcon \
glib-2.0 \
gtk+3 \
intltool \
libwnck3 \
libxfce4ui \
libxfce4util \
thunar \
xfconf \
"
inherit xfce features_check
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI[sha256sum] = "ef9268190c25877e22a9ff5aa31cc8ede120239cb0dfca080c174e7eed4ff756"
PACKAGECONFIG ??= "notify"
PACKAGECONFIG[notify] = "--enable-notifications,--disable-notifications,libnotify"
FILES:${PN} += "${datadir}/backgrounds"

View File

@@ -0,0 +1,37 @@
DESCRIPTION = "Xfce4 Window Manager"
SECTION = "x11/wm"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=d791728a073bc009b4ffaf00b7599855"
DEPENDS = "virtual/libx11 libxfce4ui libwnck3 libxinerama"
inherit xfce update-alternatives features_check
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI[sha256sum] = "92cd1b889bb25cb4bc06c1c6736c238d96e79c1e706b9f77fad0a89d6e5fc13f"
PACKAGECONFIG ?= " \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'epoxy', '', d)} \
xpresent \
startup-notification \
"
PACKAGECONFIG[epoxy] = "--enable-epoxy,--disable-epoxy,libepoxy"
PACKAGECONFIG[xpresent] = "--enable-xpresent,--disable-xpresent,libxpresent"
PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
python populate_packages:prepend () {
themedir = d.expand('${datadir}/themes')
do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
}
PACKAGES_DYNAMIC += "^xfwm4-theme-.*"
ALTERNATIVE:${PN} = "x-window-manager"
ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4"
ALTERNATIVE_PRIORITY[x-window-manager] = "30"
RDEPENDS:${PN} = "xfwm4-theme-default"
FILES:${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \
${datadir}/xfwm4/defaults \
"