Skip to contentSkip to conversation

Experimental XFCE 4.6.1 support.

RFC New John Willis 1 participant 1 message Oct 13, 2009

lore
Share & tools
lore
#0 lore raw

RFC 1/1 Experimental XFCE 4.6.1 support.

Attached is the 1st cut of some recipe patches I have been hacking on to add XFCE 4.6.1 to OpenEmbedded.

These recipes are far from perfect (yet to be style checked and I am sure there are some packaging omissions/bugs in there) but I am posting them here to ensure they don't get lost and get any feedback.

They are in no way fit for use in anger and they currently don't play nicely with the existing 4.4.* recipes (side by side versioning/build issues etc.).

The patch introduces an xfce-base folder for the core XFCE files and an xfce-extras for holding the non-core support applications, ristretto, squeeze, gigolo etc. etc.

It also introduces a new task-xfce46-base.bb/task-xfce46-extras.bb to tie it all up. xfce46-image.bb should build you up a sample image if you so desire.

Regards,

John Willis

--

Quoted 1 line

What is a grue?

The grue is a sinister, lurking presence in the dark places of the earth. Its favourite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.

From 4e6a873d6b83da758dd4be77f6323457741c07b1 Mon Sep 17 00:00:00 2001
From: David-John Willis <[email protected]>
Date: Tue, 13 Oct 2009 12:23:45 +0100
Subject: [PATCH 37/38] xfxe 4.6.1: Start to add XFCE 4.6.1 support to OE. This currently does not play well side by side with 4.4.* so is an RFC at the moment.

---
 recipes/images/xfce46-image.bb                     |   14 ++
 recipes/tasks/task-xfce46-base.bb                  |   32 ++++
 recipes/tasks/task-xfce46-extras.bb                |   35 ++++
 recipes/xfce-base/exo/configure.patch              |   43 +++++
 recipes/xfce-base/exo/configure.patch.clean        |   57 ++++++
 recipes/xfce-base/exo/exo-0.3.101-iocharset.patch  |   79 ++++++++
 .../exo/exo-0.3.101-iocharset.patch.clean          |  195 ++++++++++++++++++++
 recipes/xfce-base/exo/exo-no-tests.patch           |   14 ++
 recipes/xfce-base/exo/exo-no-tests.patch.clean     |   37 ++++
 recipes/xfce-base/exo_0.3.101.bb                   |   33 ++++
 recipes/xfce-base/gtk-xfce-engine_2.6.0.bb         |   13 ++
 recipes/xfce-base/libxfce4menu_4.6.1.bb            |   13 ++
 recipes/xfce-base/libxfce4util_4.6.1.bb            |   30 +++
 recipes/xfce-base/libxfcegui4_4.6.1.bb             |   21 ++
 recipes/xfce-base/thunar_1.0.1.bb                  |   28 +++
 recipes/xfce-base/xfce-terminal/into-support.patch |   94 ++++++++++
 recipes/xfce-base/xfce-terminal_0.2.12.bb          |   15 ++
 recipes/xfce-base/xfce-utils_4.6.1.bb              |   32 ++++
 recipes/xfce-base/xfce4-appfinder_4.6.1.bb         |   12 ++
 recipes/xfce-base/xfce4-dev-tools_4.6.0.bb         |   17 ++
 recipes/xfce-base/xfce4-mixer_4.6.1.bb             |   16 ++
 recipes/xfce-base/xfce4-panel_4.6.1.bb             |   36 ++++
 recipes/xfce-base/xfce4-power-manager_4.6.1.bb     |    1 +
 recipes/xfce-base/xfce4-session_4.6.1.bb           |   21 ++
 .../xfce4-settings-4.6.1-configure.patch           |   11 +
 .../xfce4-settings-4.6.1-libxklavier.patch         |   12 ++
 .../xfce4-settings-4.6.1-workspaces.c.patch        |   17 ++
 recipes/xfce-base/xfce4-settings_4.6.1.bb          |   20 ++
 recipes/xfce-base/xfconf_4.6.1.bb                  |   16 ++
 ...egfault-when-removable-icons-are-disabled.patch |   16 ++
 .../xfdesktop/relocation-and-memleak.patch         |   49 +++++
 .../xfdesktop/xfdesktop-4.4.3-fix-build.patch      |   10 +
 recipes/xfce-base/xfdesktop_4.6.1.bb               |   16 ++
 recipes/xfce-base/xfwm4-themes_4.6.0.bb            |   24 +++
 recipes/xfce-base/xfwm4_4.6.1.bb                   |   33 ++++
 recipes/xfce-extras/gigolo_0.3.2.bb                |   13 ++
 recipes/xfce-extras/mousepad_0.2.16.bb             |    9 +
 .../xfce-extras/notification-daemon-xfce_0.3.7.bb  |   23 +++
 recipes/xfce-extras/orage_4.6.1.bb                 |   16 ++
 recipes/xfce-extras/ristretto_0.0.21.bb            |   12 ++
 recipes/xfce-extras/squeeze_0.2.3.bb               |   12 ++
 recipes/xfce-extras/xfce4-notifyd_0.1.0.bb         |   21 ++
 recipes/xfce-extras/xfprint_4.6.1.bb               |   13 ++
 43 files changed, 1231 insertions(+), 0 deletions(-)
 create mode 100755 recipes/images/xfce46-image.bb
 create mode 100755 recipes/tasks/task-xfce46-base.bb
 create mode 100755 recipes/tasks/task-xfce46-extras.bb
 create mode 100755 recipes/xfce-base/exo/configure.patch
 create mode 100644 recipes/xfce-base/exo/configure.patch.clean
 create mode 100644 recipes/xfce-base/exo/exo-0.3.101-iocharset.patch
 create mode 100644 recipes/xfce-base/exo/exo-0.3.101-iocharset.patch.clean
 create mode 100755 recipes/xfce-base/exo/exo-no-tests.patch
 create mode 100644 recipes/xfce-base/exo/exo-no-tests.patch.clean
 create mode 100755 recipes/xfce-base/exo_0.3.101.bb
 create mode 100755 recipes/xfce-base/gtk-xfce-engine_2.6.0.bb
 create mode 100755 recipes/xfce-base/libxfce4menu_4.6.1.bb
 create mode 100755 recipes/xfce-base/libxfce4util_4.6.1.bb
 create mode 100755 recipes/xfce-base/libxfcegui4_4.6.1.bb
 create mode 100755 recipes/xfce-base/thunar_1.0.1.bb
 create mode 100755 recipes/xfce-base/xfce-terminal/into-support.patch
 create mode 100755 recipes/xfce-base/xfce-terminal_0.2.12.bb
 create mode 100755 recipes/xfce-base/xfce-utils_4.6.1.bb
 create mode 100755 recipes/xfce-base/xfce4-appfinder_4.6.1.bb
 create mode 100755 recipes/xfce-base/xfce4-dev-tools_4.6.0.bb
 create mode 100755 recipes/xfce-base/xfce4-mixer_4.6.1.bb
 create mode 100755 recipes/xfce-base/xfce4-panel_4.6.1.bb
 create mode 100755 recipes/xfce-base/xfce4-power-manager_4.6.1.bb
 create mode 100755 recipes/xfce-base/xfce4-session_4.6.1.bb
 create mode 100755 recipes/xfce-base/xfce4-settings/xfce4-settings-4.6.1-configure.patch
 create mode 100755 recipes/xfce-base/xfce4-settings/xfce4-settings-4.6.1-libxklavier.patch
 create mode 100755 recipes/xfce-base/xfce4-settings/xfce4-settings-4.6.1-workspaces.c.patch
 create mode 100755 recipes/xfce-base/xfce4-settings_4.6.1.bb
 create mode 100755 recipes/xfce-base/xfconf_4.6.1.bb
 create mode 100755 recipes/xfce-base/xfdesktop/fix-segfault-when-removable-icons-are-disabled.patch
 create mode 100755 recipes/xfce-base/xfdesktop/relocation-and-memleak.patch
 create mode 100755 recipes/xfce-base/xfdesktop/xfdesktop-4.4.3-fix-build.patch
 create mode 100755 recipes/xfce-base/xfdesktop_4.6.1.bb
 create mode 100755 recipes/xfce-base/xfwm4-themes_4.6.0.bb
 create mode 100755 recipes/xfce-base/xfwm4_4.6.1.bb
 create mode 100755 recipes/xfce-extras/gigolo_0.3.2.bb
 create mode 100755 recipes/xfce-extras/mousepad_0.2.16.bb
 create mode 100755 recipes/xfce-extras/notification-daemon-xfce_0.3.7.bb
 create mode 100755 recipes/xfce-extras/orage_4.6.1.bb
 create mode 100755 recipes/xfce-extras/ristretto_0.0.21.bb
 create mode 100755 recipes/xfce-extras/squeeze_0.2.3.bb
 create mode 100755 recipes/xfce-extras/xfce4-notifyd_0.1.0.bb
 create mode 100755 recipes/xfce-extras/xfprint_4.6.1.bb
recipes/images/xfce46-image.bb new file +14 -0
new file mode 100755
index 0000000..068f5df
@@ -0,0 +1,14 @@
+export IMAGE_BASENAME = "xfce46-image"
+
+IMAGE_LINGUAS = ""
+
+X_DEPENDS = "virtual/xserver"
+X_RDEPENDS = "${XSERVER}"
+
+XFCE_DEPENDS = "${MACHINE_TASK_PROVIDER} task-xfce46-base"
+XFCE_RDEPENDS = "${XFCE_DEPENDS}"
+
+IMAGE_INSTALL = "${X_RDEPENDS} ${XFCE_RDEPENDS}"
+DEPENDS = "${X_DEPENDS} ${XFCE_DEPENDS}"
+
+inherit image
recipes/tasks/task-xfce46-base.bb new file +32 -0
new file mode 100755
index 0000000..ad002f2
@@ -0,0 +1,32 @@
+# task-xfce46-base
+
+DESCRIPTION = "All packages required for a base installation of XFCE 4.6.*"
+PR = "r1.3"
+
+inherit task
+
+RDEPENDS_${PN} = " \
+    xfwm4 \
+    xfwm4-theme-default \
+    xfce4-session \     
+    xfconf \
+    xfdesktop \
+    xfce4-panel \
+    \
+    gtk-xfce-engine \
+    \
+    xfce-utils \
+    xfce4-panel-plugin-actions \
+    xfce4-panel-plugin-clock \
+    xfce4-panel-plugin-iconbox \
+    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-windowlist \   
+    xfce4-settings \
+    xfce-terminal \
+    thunar \
+"
recipes/tasks/task-xfce46-extras.bb new file +35 -0
new file mode 100755
index 0000000..3a7beb6
@@ -0,0 +1,35 @@
+# task-xfce46-extras
+
+DESCRIPTION = "Extra suggested packages to produce a recommended XFCE 4.6.* installation"
+PR = "r1.3"
+
+inherit task
+
+RDEPENDS_${PN} = " \
+    task-xfce46-base \
+    \
+    xfce4-notifyd \
+    xfce4-mixer \
+    xfce4-appfinder \
+    xfprint \    
+    midori \
+    orage \
+    squeeze \
+    ristretto \
+    mousepad \ 
+    gigolo \
+"
+
+#    xfwm4-theme-daloa \
+#    xfwm4-theme-moheli \
+#    xfwm4-theme-default-4.0 \
+#    xfwm4-theme-default-4.2 \
+#    xfwm4-theme-default-4.4 \
+#    xfwm4-theme-katiola \
+#    xfwm4-theme-kokodi \
+#    xfwm4-theme-moheli \
+#    xfwm4-theme-sassandra \
+#    xfwm4-theme-stoneage \
+#    xfwm4-theme-therapy \
+#    xfwm4-theme-tyrex \
+#    xfwm4-theme-wallis \  
recipes/xfce-base/exo/configure.patch new file +43 -0

43 lines not on this page · raw message

recipes/xfce-base/exo/configure.patch.clean new file +57 -0

57 lines not on this page · raw message

recipes/xfce-base/exo/exo-0.3.101-iocharset.patch new file +79 -0

79 lines not on this page · raw message

recipes/xfce-base/exo/exo-0.3.101-iocharset.patch.clean new file +195 -0

195 lines not on this page · raw message

recipes/xfce-base/exo/exo-no-tests.patch new file +14 -0
new file mode 100755
index 0000000..1cb51ab
@@ -0,0 +1,14 @@
+The tests/ subdir consists of stuff trying to run a generated file ('exo-csource'), which doesn't work on host systems
+
+--- /tmp/Makefile.am	2008-10-30 09:23:41.000000000 +0100
++++ exo-0.3.4/Makefile.am	2008-10-30 09:24:03.011124000 +0100
+@@ -23,8 +23,7 @@
+ 	pixmaps								\
+ 	po								\
+ 	po-doc								\
+-	$(PYTHON_SUBDIR)						\
+-	tests
++	$(PYTHON_SUBDIR)
+ 
+ AUTOMAKE_OPTIONS =							\
+ 	1.8								\
recipes/xfce-base/exo/exo-no-tests.patch.clean new file +37 -0
new file mode 100644
index 0000000..fc2068d
@@ -0,0 +1,37 @@
+## Warning: unknown variable/routine "The tests/ subdir consists of stuff trying to run a generated file ('exo-csource'), which doesn't work on host systems
+"
+## Reminder:  Tabs should not be used (use spaces instead)  in : --- /tmp/Makefile.am	2008-10-30 09:23:41.000000000 +0100
+## Warning: unknown variable/routine "--- /tmp/Makefile.am	2008-10-30 09:23:41.000000000 +0100
+"
+## Reminder:  Tabs should not be used (use spaces instead)  in : +++ exo-0.3.4/Makefile.am	2008-10-30 09:24:03.011124000 +0100
+## Warning: unknown variable/routine "+++ exo-0.3.4/Makefile.am	2008-10-30 09:24:03.011124000 +0100
+"
+## Warning: unknown variable/routine "@@ -23,8 +23,7 @@
+"
+## Reminder:  Tabs should not be used (use spaces instead)  in :  	pixmaps								\
+## Warning: unknown variable/routine " 	pixmaps								\
+"
+## Reminder:  Tabs should not be used (use spaces instead)  in :  	po								\
+## Reminder:  Tabs should not be used (use spaces instead)  in :  	po-doc								\
+## Reminder:  Tabs should not be used (use spaces instead)  in : -	$(PYTHON_SUBDIR)						\
+## Reminder:  Tabs should not be used (use spaces instead)  in : -	tests
+## Reminder:  Tabs should not be used (use spaces instead)  in : +	$(PYTHON_SUBDIR)
+## Warning: unknown variable/routine "+	$(PYTHON_SUBDIR)
+"
+## Reminder:  Tabs should not be used (use spaces instead)  in :  AUTOMAKE_OPTIONS =							\
+## Warning: unknown variable/routine " AUTOMAKE_OPTIONS =							\
+"
+## Reminder:  Tabs should not be used (use spaces instead)  in :  	1.8								\
+
+The tests/ subdir consists of stuff trying to run a generated file ('exo-csource'), which doesn't work on host systems
+--- /tmp/Makefile.am    2008-10-30 09:23:41.000000000 +0100
++++ exo-0.3.4/Makefile.am       2008-10-30 09:24:03.011124000 +0100
+@@ -23,8 +23,7 @@
+        pixmaps                                                         \
+        po                                                              \
+        po-doc                                                          \
+-       $(PYTHON_SUBDIR)                                                \
+-       tests
++       $(PYTHON_SUBDIR)
+ AUTOMAKE_OPTIONS =                                                     \
+        1.8                                                             \
recipes/xfce-base/exo_0.3.101.bb new file +33 -0
new file mode 100755
index 0000000..ad466c2
@@ -0,0 +1,33 @@
+DESCRIPTION="XFCE extensions and framework library with session management support"
+DEPENDS = "libxfce4util hal liburi-perl-native python-native"
+SECTION = "x11"
+PR = "r0.2"
+
+inherit xfce
+
+RPROVIDES = "exo" 
+PROVIDES = "${RPROVIDES}"
+
+XFCE_VERSION = 4.6.1
+
+SRC_URI += " \
+    file://exo-0.3.101-iocharset.patch;patch=1 \
+    file://exo-no-tests.patch;patch=1 \
+    file://configure.patch;patch=1 \
+"
+
+# Note: Python checking is broken
+do_configure_prepend() {
+	sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g ${S}/configure.in
+}
+
+do_stage() {
+    autotools_stage_all
+}
+
+FILES_${PN} += "${datadir}/xfce4/ \
+                ${libdir}/python*/site-packages/* \
+                ${prefix}/share/pygtk/2.0/defs/exo-0.3/exo.defs \
+"
+
+FILES_${PN}-dbg += "${libdir}/python*/site-packages/*/.debug/*"
recipes/xfce-base/gtk-xfce-engine_2.6.0.bb new file +13 -0
new file mode 100755
index 0000000..d74228f
@@ -0,0 +1,13 @@
+DESCRIPTION = "XFCE theme for GTK"
+DEPENDS += "gtk+"
+SECTION = "x11"
+PR = "r0.2"
+
+RPROVIDES = "gtk-xfce-engine" 
+
+inherit xfce
+XFCE_VERSION = 4.6.1
+
+FILES_${PN} += "${libdir}/gtk-2.0/*/engines/libxfce.so \
+                ${datadir}/themes/"
+FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/engines/.debug"
recipes/xfce-base/libxfce4menu_4.6.1.bb new file +13 -0
new file mode 100755
index 0000000..6bdd167
@@ -0,0 +1,13 @@
+DESCRIPTION="a freedesktop.org compliant menu library for Xfce4"
+HOMEPAGE="http://www.xfce.org/projects/libraries"
+DEPENDS = "gettext pkgconfig intltool"
+RDEPENDS = "gtk+ libxfce4util"
+
+LICENSE="LGPL-2 FDL-1.1"
+PR = "r0.2"
+
+inherit xfce
+
+do_stage() {
+autotools_stage_all
+}
recipes/xfce-base/libxfce4util_4.6.1.bb new file +30 -0
new file mode 100755
index 0000000..9474be0
@@ -0,0 +1,30 @@
+# libxfce4util OE build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see COPYING.MIT)
+
+DESCRIPTION = "Basic utility library for Xfce4"
+SECTION = "x11/libs"
+LICENSE = "GPL"
+DEPENDS = "glib-2.0 xfce4-dev-tools"
+PR = "r0.2"
+
+RPROVIDES = "libxfce4util"
+PROVIDES = "${RPROVIDES}"
+
+inherit xfce pkgconfig
+
+MACROS="m4/X11.m4 m4/debug.m4 m4/depends.m4 m4/i18n.m4"
+
+do_stage() {
+	install -d ${STAGING_LIBDIR} ${STAGING_INCDIR}/libxfce4util
+	# The line below expands to the list of headers that native makefile
+	# would install.  Complain and/or fix if it's not portable enough
+	for file in  $(eval $(make -n -C libxfce4util install|grep "^list='[^.]\\+.h"|cut -d\; -f1); echo $list); do 
+		install -m 644 libxfce4util/$file ${STAGING_INCDIR}/libxfce4util
+	done
+
+	oe_libinstall -C libxfce4util -so libxfce4util ${STAGING_LIBDIR}
+
+}
+
+FILES_${PN}-dev += " ${datadir}/xfce4/m4"
recipes/xfce-base/libxfcegui4_4.6.1.bb new file +21 -0
new file mode 100755
index 0000000..d412dcd
@@ -0,0 +1,21 @@
+# libxfcegui4 OE build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see COPYING.MIT)
+
+DESCRIPTION = "XFCE Widget library and X Window System interaction"
+DEPENDS = "gettext pkgconfig intltool virtual/libx11 libxfce4util xfconf dbh libxml2 gtk+ "
+RDEPENDS = "xfconf startup-notification "
+
+SECTION = "x11/libs"
+PR = "r0.2"
+
+RPROVIDES = "libxfcegui4" 
+PROVIDES = "${RPROVIDES}"
+
+inherit xfce
+
+do_stage() {
+autotools_stage_all
+}
+
+FILES_${PN} += "${libdir}/xfce4/modules ${datadir}/xfce4/mime ${datadir}/icons/hicolor"
recipes/xfce-base/thunar_1.0.1.bb new file +28 -0
new file mode 100755
index 0000000..7d7dece
@@ -0,0 +1,28 @@
+DESCRIPTION = "File manager for the Xfce Desktop Environment"
+DEPENDS = "exo dbus-glib libexif xfce4-panel libice libsm gamin"
+RDEPENDS = "libxfcegui4 exo dbus-glib libexif xfce4-panel libice libsm gamin"
+RRECOMMENDS = "shared-mime-info"
+SECTION = "x11"
+PR = "r0.2"
+
+RPROVIDES = "thunar" 
+
+inherit xfce pkgconfig
+
+XFCE_VERSION = 4.6.1
+
+SRC_URI = "http://www.us.xfce.org/archive/xfce-${XFCE_VERSION}/src/Thunar-${PV}.tar.bz2"
+
+S = "${WORKDIR}/Thunar-${PV}/"
+
+FILES_${PN} += "${libdir}/thunarx-1/*.so \
+		${libdir}/thunarx-1/*.la \
+                ${datadir}/dbus-1 \
+                ${datadir}/thumbnailers \
+                ${datadir}/Thunar \
+                ${datadir}/xfce4"
+FILES_${PN}-dbg += "${libdir}/thunarx-1/.debug/ ${libexecdir}/xfce4/panel-plugins/.debug/"
+
+do_stage () {
+	autotools_stage_all
+}
recipes/xfce-base/xfce-terminal/into-support.patch new file +94 -0

94 lines not on this page · raw message

recipes/xfce-base/xfce-terminal_0.2.12.bb new file +15 -0
new file mode 100755
index 0000000..07b4b26
@@ -0,0 +1,15 @@
+DESCRIPTION = "Terminal emulator for the Xfce desktop environment"
+DEPENDS = "exo vte dbus-glib gtk+"
+RDEPENDS += "gnome-pty-helper"
+PR = "r0.2"
+
+inherit xfce
+
+RPROVIDES = "xfce-terminal"
+
+XFCE_VERSION = 4.6.1
+
+SRC_URI = "http://www.us.xfce.org/archive/xfce-${XFCE_VERSION}/src/Terminal-${PV}.tar.bz2 \
+"
+
+S = "${WORKDIR}/Terminal-${PV}"
recipes/xfce-base/xfce-utils_4.6.1.bb new file +32 -0
new file mode 100755
index 0000000..a3c8213
@@ -0,0 +1,32 @@
+# xfce-utils OE build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see COPYING.MIT)
+
+DESCRIPTION="XFCE4 Utilities"
+DEPENDS = "virtual/libx11"
+RDEPENDS = "libxfcegui4"
+SECTION = "x11"
+PR = "r0.2"
+
+inherit xfce
+
+RPROVIDES = "xfce-utils"
+
+FILES_${PN} += " \ 
+        ${bindir}/* \
+        ${datadir}/dbus-1/* \
+        ${datadir}/xfce4/AUTHORS \
+        ${datadir}/xfce4/BSD \
+        ${datadir}/xfce4/COPYING \
+        ${datadir}/xfce4/GPL \
+	${datadir}/xfce4/INFO \
+        ${datadir}/xfce4/LGPL \
+        ${datadir}/xfce4/AUTHORS.html \
+        ${datadir}/xfce4/BSD.html \
+        ${datadir}/xfce4/COPYING.html \
+        ${datadir}/xfce4/GPL.html \
+	${datadir}/xfce4/INFO.html \
+        ${datadir}/xfce4/LGPL.html"
+
+# NOTE:  This package takes a --with-browser for the default browser
+# NOTE:  Works with gdm also gtkhtml
recipes/xfce-base/xfce4-appfinder_4.6.1.bb new file +12 -0
new file mode 100755
index 0000000..2167a3a
@@ -0,0 +1,12 @@
+# xfce4-appfinder build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see COPYING.MIT)
+
+DESCRIPTION="XFCE Application Finder"
+DEPENDS="libxfcegui4 libxfce4menu thunar"
+SECTION = "x11"
+PR = "r0.3"
+
+RPROVIDES = "xfce4-appfinder" 
+
+inherit xfce
recipes/xfce-base/xfce4-dev-tools_4.6.0.bb new file +17 -0
new file mode 100755
index 0000000..9b5eb6f
@@ -0,0 +1,17 @@
+DESCRIPTION = "Xfce4 development tools"
+SECTION = "x11/libs"
+LICENSE = "GPL"
+PR = "r0.2"
+
+RPROVIDES = "xfce4-dev-tools"
+PROVIDES = "${RPROVIDES}"
+
+inherit xfce
+XFCE_VERSION = 4.6.1
+
+do_stage() {
+	install -d ${STAGING_DATADIR}/aclocal
+	install -m 644 m4macros/*.m4 ${STAGING_DATADIR}/aclocal/
+}
+
+FILES_${PN}-dev += " ${datadir}/xfce4/dev-tools/m4macros/*.m4"
recipes/xfce-base/xfce4-mixer_4.6.1.bb new file +16 -0
new file mode 100755
index 0000000..dd9b455
@@ -0,0 +1,16 @@
+# xfce-mixer-plugin OE build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see COPYING.MIT)
+
+DESCRIPTION="XFCE panel mixer plugin"
+DEPENDS="libwnck xfce4-panel"
+RDEPENDS="xfce4-panel"
+SECTION = "x11"
+PR = "r0.3"
+
+inherit xfce
+
+RPROVIDES = "xfce4-mixer"
+
+FILES_${PN}-dev += "${libdir}/xfce4/modules/libxfce4mixer.so"
+FILES_${PN}-dbg += "${libexecdir}/xfce4/panel-plugins/.debug/"
recipes/xfce-base/xfce4-panel_4.6.1.bb new file +36 -0
new file mode 100755
index 0000000..bd42e02
@@ -0,0 +1,36 @@
+# xfce4-panel OE build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see COPYING.MIT)
+
+DESCRIPTION = "XFCE4 Panel"
+DEPENDS = "virtual/libx11 startup-notification libxfcegui4 libxml2 exo"
+SECTION = "x11"
+PR = "r0.2"
+
+inherit pkgconfig xfce
+
+RPROVIDES = "xfce4-panel"
+PROVIDES = "${RPROVIDES}"
+
+EXTRA_OECONF += " --enable-startup-notification"
+
+do_stage() {
+    autotools_stage_all
+}
+
+do_install() {
+    oe_runmake DESTDIR=${D} install
+}
+
+python populate_packages_prepend() {
+	plugin_dir = bb.data.expand('${libdir}/xfce4/panel-plugins/', d)
+	plugin_name = bb.data.expand('${PN}-plugin-%s', d)
+	do_split_packages(d, plugin_dir, '^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-*"
recipes/xfce-base/xfce4-power-manager_4.6.1.bb new file +1 -0
new file mode 100755
index 0000000..88fb614
@@ -0,0 +1 @@
+PR = "r0.2"
\ No newline at end of file
recipes/xfce-base/xfce4-session_4.6.1.bb new file +21 -0
new file mode 100755
index 0000000..b177435
@@ -0,0 +1,21 @@
+DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop  Environment"
+RDEPENDS = "libxfcegui4 libxfce4util dbus iceauth"
+SECTION = "x11"
+PR = "r0.2"
+
+RPROVIDES = "xfce4-session"
+PROVIDES = "${RPROVIDES}"
+
+inherit xfce
+
+FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
+FILES_${PN} += "${datadir}/xfce4/tips/*"
+FILES_${PN} += "${datadir}/themes/Default/balou/*"
+FILES_${PN} += "${libdir}/xfce4/mcs-plugins/*.so"
+
+FILES_${PN}-dbg += "${libdir}/xfce4/splash/engines/.debug/*.so"
+FILES_${PN}-dbg += "${libdir}/xfce4/mcs-plugins/.debug/*.so"
+
+FILES_${PN}-dev += "${libdir}/xfce4/splash/engines/*.la"
+FILES_${PN}-dev += "${libdir}/xfce4/splash/engines/*.a"
+FILES_${PN}-dev += "${libdir}/xfce4/mcs-plugins/*.a"
recipes/xfce-base/xfce4-settings/xfce4-settings-4.6.1-configure.patch new file +11 -0
new file mode 100755
index 0000000..beb5857
@@ -0,0 +1,11 @@
+--- ./configure.ac.orig	2009-02-25 18:58:49.000000000 +0100
++++ ./configure.ac	2009-03-01 11:14:33.000000000 +0100
+@@ -85,8 +85,8 @@ XDT_CHECK_PACKAGE([LIBXFCE4KBD_PRIVATE],
+ XDT_CHECK_PACKAGE([GLADE], [libglade-2.0], [2.0.0])
+ XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.6.0])
+ XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.34])
+-XDT_CHECK_PACKAGE([XI], [xi], [1.0.0])
+-XDT_CHECK_PACKAGE([LIBX11], [x11], [1.0.0])
++ XDT_CHECK_PACKAGE([XI], [xi], [1.0.0])
++#XDT_CHECK_PACKAGE([LIBX11], [x11], [1.0.0])
+ XDT_CHECK_PACKAGE([LIBWNCK], [libwnck-1.0], [2.12.0])
recipes/xfce-base/xfce4-settings/xfce4-settings-4.6.1-libxklavier.patch new file +12 -0
new file mode 100755
index 0000000..3268eca
@@ -0,0 +1,12 @@
+diff -ur xfce4-settings-4.6.1.orig/dialogs/keyboard-settings/xfce-keyboard-settings.c xfce4-settings-4.6.1/dialogs/keyboard-settings/xfce-keyboard-settings.c
+--- xfce4-settings-4.6.1.orig/dialogs/keyboard-settings/xfce-keyboard-settings.c	2009-03-02 19:48:00.000000000 +0200
++++ xfce4-settings-4.6.1/dialogs/keyboard-settings/xfce-keyboard-settings.c	2009-07-20 12:08:28.000000000 +0300
+@@ -378,7 +378,7 @@
+   xkl_config_rec_get_from_server (settings->priv->xkl_rec_config, settings->priv->xkl_engine);
+ 
+   settings->priv->xkl_registry = xkl_config_registry_get_instance (settings->priv->xkl_engine);
+-  xkl_config_registry_load (settings->priv->xkl_registry);
++  xkl_config_registry_load (settings->priv->xkl_registry, FALSE);
+ 
+   /* Tab */
+   xkb_tab_layout_vbox = glade_xml_get_widget (settings->priv->glade_xml, "xkb_tab_layout_vbox");
recipes/xfce-base/xfce4-settings/xfce4-settings-4.6.1-workspaces.c.patch new file +17 -0
new file mode 100755
index 0000000..6e60405
@@ -0,0 +1,17 @@
+--- xfce4-settings-helper/workspaces.c.orig	2009-01-25 15:29:31.000000000 +0100
++++ xfce4-settings-helper/workspaces.c	2009-01-27 13:32:51.000000000 +0100
+@@ -129,9 +129,14 @@ xfce_workspaces_helper_set_workspace_nam
+         wnck_screen_force_update(screen);
+ 
+         /* walk all the workspaces on this screen */
++#if 0
+         workspaces = wnck_screen_get_workspaces(screen);
+         for(li = workspaces, i = 0; li != NULL; li = li->next, i++) {
+             workspace = WNCK_WORKSPACE(li->data);
++#else
++        for(i = 0; i < wnck_screen_get_workspace_count(screen); i++) {
++            workspace = wnck_screen_get_workspace(screen, i);
++#endif
+ 
+             /* check if we have a valid name in the array */
+             if(n_names > i && names[i] != NULL && names[i] != '\0') {
recipes/xfce-base/xfce4-settings_4.6.1.bb new file +20 -0
new file mode 100755
index 0000000..a52c077
@@ -0,0 +1,20 @@
+DESCRIPTION="Xfce4 settings"
+HOMEPAGE = "http://www.xfce.org"
+SECTION = "x11/wm"
+LICENSE = "GPL-2"
+
+DEPENDS = "virtual/libx11 virtual/xserver libxi libwnck xrandr exo libxfce4util"
+RDEPENDS = "gtk+ libxfce4util libxfcegui4 xfconf exo"
+
+PR = "r0.3"
+
+inherit xfce
+
+SRC_URI += " \
+    file://xfce4-settings-4.6.1-libxklavier.patch;patch=1 \
+    file://xfce4-settings-4.6.1-configure.patch;patch=1 \
+"
+
+do_stage() {
+autotools_stage_all
+}
recipes/xfce-base/xfconf_4.6.1.bb new file +16 -0
new file mode 100755
index 0000000..c237977
@@ -0,0 +1,16 @@
+DESCRIPTION = "Xfce configuration daemon and utilities"
+HOMEPAGE = "http://www.xfce.org"
+SECTION = "x11/wm"
+LICENSE = "GPL-2"
+DEPENDS = "libxfce4util"
+RDEPENDS = "libxfce4util"
+
+PR = "r0.3"
+
+inherit xfce
+
+do_stage() {
+autotools_stage_all
+}
+
+FILES_${PN} += "${datadir}/dbus-1/services/org.xfce.Xfconf.service"
recipes/xfce-base/xfdesktop/fix-segfault-when-removable-icons-are-disabled.patch new file +16 -0
new file mode 100755
index 0000000..af5bc4c
@@ -0,0 +1,16 @@
+diff -Nur xfdesktop-4.4.2-BKP/src/xfdesktop-file-icon-manager.c xfdesktop-4.4.2/src/xfdesktop-file-icon-manager.c
+--- xfdesktop-4.4.2-BKP/src/xfdesktop-file-icon-manager.c	2008-11-03 16:19:46.000000000 -0200
++++ xfdesktop-4.4.2/src/xfdesktop-file-icon-manager.c	2008-11-03 16:20:45.000000000 -0200
+@@ -2046,8 +2046,10 @@
+     
+     g_hash_table_foreach(fmanager->priv->icons,
+                          file_icon_hash_write_icons, rcfile);
+-    g_hash_table_foreach(fmanager->priv->removable_icons,
+-                         file_icon_hash_write_icons, rcfile);
++    if(fmanager->priv->show_removable_media) {
++        g_hash_table_foreach(fmanager->priv->removable_icons,
++                             file_icon_hash_write_icons, rcfile);
++    }
+     g_hash_table_foreach(fmanager->priv->special_icons,
+                          file_icon_hash_write_icons, rcfile);
+     
recipes/xfce-base/xfdesktop/relocation-and-memleak.patch new file +49 -0

49 lines not on this page · raw message

recipes/xfce-base/xfdesktop/xfdesktop-4.4.3-fix-build.patch new file +10 -0
new file mode 100755
index 0000000..e807f69
@@ -0,0 +1,10 @@
+--- xfdesktop-4.4.3/configure.ac.orig	2008-11-09 17:52:20 +0000
++++ xfdesktop-4.4.3/configure.ac	2008-11-09 17:52:24 +0000
+@@ -17,7 +17,6 @@ m4_define([autoconf_minimum_version], [2
+ 
+ dnl init autoconf
+ AC_INIT([xfdesktop], [xfdesktop_version], [http://bugzilla.xfce.org/])
+-AC_PREREQ([autoconf_minimum_version])
+ 
+ dnl init automake
+ XFDESKTOP_VERSION=xfdesktop_version
recipes/xfce-base/xfdesktop_4.6.1.bb new file +16 -0
new file mode 100755
index 0000000..aff645d
@@ -0,0 +1,16 @@
+DESCRIPTION = "XFCE4 Desktop Manager"
+SECTION = "x11/base"
+
+DEPENDS = "virtual/libx11 exo libxfcegui4 xfce4-panel gtk+"
+RDEPENDS = "libxfcegui4 libxml2 xfce4-panel thunar exo gtk+"
+PR = "r0.4"
+
+RPROVIDES = "xfdesktop"
+
+inherit xfce
+
+FILES_xfdesktop-backdrops = "${datadir}/xfce4/backdrops/*"
+FILES_${PN} += "${libdir}/xfce4/panel-plugins/*.so \
+                ${libdir}/xfce4/panel-plugins/xfce4-menu-plugin \
+                ${datadir}/xfce4/panel-plugins/*.desktop"
+FILES_${PN}-dbg += "${libexecdir}/xfce4/panel-plugins/.debug"
recipes/xfce-base/xfwm4-themes_4.6.0.bb new file +24 -0
new file mode 100755
index 0000000..edd3c1f
@@ -0,0 +1,24 @@
+# xfwm4-themes OE build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see COPYING.MIT)
+
+DESCRIPTION="XFCE4 Window Manager Themes"
+SECTION = "x11/wm"
+PR = "r0.7"
+
+DEPENDS = "xfwm4 libglade libxml2"
+RDEPENDS = "xfwm4 libglade libxml2"
+
+inherit xfce
+
+RPROVIDES = "xfwm4-themes" 
+
+# No ${PN} for this one 
+PACKAGES=""
+
+PACKAGES_DYNAMIC = "xfwm4-theme-*"
+
+python populate_packages_prepend () {
+	themedir = bb.data.expand('${datadir}/xfwm4/themes', d)
+	do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
+}
recipes/xfce-base/xfwm4_4.6.1.bb new file +33 -0
new file mode 100755
index 0000000..719cf64
@@ -0,0 +1,33 @@
+# xfwm4 OE build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see COPYING.MIT)
+
+DESCRIPTION="XFCE4 Window Manager"
+SECTION = "x11/wm"
+PR = "r0.4"
+
+RPROVIDES = "xfwm4"
+
+inherit xfce update-alternatives
+
+FILES_${PN} += "${datadir}/xfwm4/defaults ${datadir}/xfwm4/themes/default.keys/*"
+
+DEPENDS = "startup-notification virtual/libx11 libxpm libxfce4util libxfcegui4"
+RDEPENDS = "xfwm4-theme-default"
+
+
+EXTRA_OECONF += " --enable-startup-notification"
+
+PACKAGES_DYNAMIC += "xfwm4-theme-*"
+
+python populate_packages_prepend () {
+	themedir = bb.data.expand('${datadir}/themes', d)
+	do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
+}
+
+ALTERNATIVE_PATH = "${bindir}/xfce4-session"
+ALTERNATIVE_NAME = "x-window-manager"
+ALTERNATIVE_LINK = "${bindir}/x-window-manager"
+ALTERNATIVE_PRIORITY = "10"
+
+FILES_${PN}-dbg += "${libexecdir}/xfce4/xfwm4/.debug/*"
recipes/xfce-extras/gigolo_0.3.2.bb new file +13 -0
new file mode 100755
index 0000000..710cd6b
@@ -0,0 +1,13 @@
+DESCRIPTION = "Gigolo is a frontend to easily manage connections to remote filesystems using GIO/GVfs."
+DEPENDS = "pkgconfig gtk+"
+RDEPENDS = "libxfce4util libxfcegui4"
+
+SECTION = "x11"
+LICENSE = "GPL-2"
+PR = "r0.1"
+
+inherit xfce
+
+XFCE_VERSION = 4.6.1
+
+SRC_URI = "http://files.uvena.de/${PN}/${PN}-${PV}.tar.bz2"
recipes/xfce-extras/mousepad_0.2.16.bb new file +9 -0
new file mode 100755
index 0000000..0be5835
@@ -0,0 +1,9 @@
+DESCRIPTION = "Text editor for Xfce based on Leafpad"
+RDEPENDS = "libxfce4util hal liburi-perl-native python-native"
+SECTION = "x11"
+PR = "r0.1"
+
+RPROVIDES = "mousepad"
+
+inherit xfce
+XFCE_VERSION = 4.6.1
recipes/xfce-extras/notification-daemon-xfce_0.3.7.bb new file +23 -0
new file mode 100755
index 0000000..af04d2f
@@ -0,0 +1,23 @@
+DESCRIPTION = "Notification-daemon-xfce is a port of Gnome�s notification-daemon for the Xfce desktop."
+DEPENDS = "pkgconfig dbus gtk+ libsexy"
+RDEPENDS = "libxfce4util libxfcegui4 libnotify"
+
+# TODO: Make sure this conflicts with Gnome daemon if you try and install it :-o.
+RCONFLICTS = ""
+
+SECTION = "x11"
+PR = "r0.1"
+
+inherit xfce
+
+XFCE_VERSION = 4.6.1
+
+SRC_URI = "http://goodies.xfce.org/releases/${PN}/${PN}-${PV}.tar.bz2"
+
+FILES_${PN} += "${datadir}/dbus-1/services/org.freedesktop.Notifications.service \
+                ${libdir}/notification-daemon-xfce-1.0/engines/*.so"
+                
+FILES_${PN}-dbg += "${libdir}/notification-daemon-xfce-1.0/engines/.debug"
+
+FILES_${PN}-dev += "${libdir}/notification-daemon-xfce-1.0/engines/*.la"
+FILES_${PN}-dev += "${libdir}/notification-daemon-xfce-1.0/engines/*.a"
recipes/xfce-extras/orage_4.6.1.bb new file +16 -0
new file mode 100755
index 0000000..831b71e
@@ -0,0 +1,16 @@
+DESCRIPTION = "Calendar application for the Xfce Desktop  Environment"
+DEPENDS = "xfce4-panel"
+RDEPENDS = "libxfcegui4 exo xfce4-panel"
+RREPLACES = "xfcalendar"
+RPROVIDES = "orage"
+
+SECTION = "x11"
+PR = "r0.3"
+
+XFCE_VERSION = 4.6.1
+
+EXTRA_OECONF += " --disable-libxfce4mcs"
+
+FILES_${PN}-dbg += "${libexecdir}/xfce4/panel-plugins/.debug/"
+
+inherit xfce
recipes/xfce-extras/ristretto_0.0.21.bb new file +12 -0
new file mode 100755
index 0000000..f04d81c
@@ -0,0 +1,12 @@
+DESCRIPTION = "Ristretto is a picture-viewer for XFCE"
+DEPENDS = "thunar libxfce4util libxfcegui4 libexif dbus"
+RDEPENDS = "thunar libxfce4util libxfcegui4"
+
+SECTION = "x11"
+PR = "r0.1"
+
+inherit xfce
+
+XFCE_VERSION = 4.6.1
+
+SRC_URI = "http://goodies.xfce.org/releases/ristretto/${PN}-${PV}.tar.gz"
recipes/xfce-extras/squeeze_0.2.3.bb new file +12 -0
new file mode 100755
index 0000000..d3bda3b
@@ -0,0 +1,12 @@
+DESCRIPTION = "Squeeze is an archive manager for the Xfce Desktop  Environment"
+DEPENDS = "pkgconfig dbus gtk+ thunar"
+RDEPENDS = "libxfce4util"
+
+SECTION = "x11"
+PR = "r0.2"
+
+inherit xfce
+
+XFCE_VERSION = 4.6.1
+
+SRC_URI = "http://squeeze.xfce.org/downloads/${PN}-${PV}.tar.bz2"
recipes/xfce-extras/xfce4-notifyd_0.1.0.bb new file +21 -0
new file mode 100755
index 0000000..34a3a1e
@@ -0,0 +1,21 @@
+DESCRIPTION = "Notification daemon for the Xfce desktop."
+DEPENDS = "pkgconfig dbus gtk+ libsexy"
+RDEPENDS = "libxfce4util libxfcegui4 libnotify xfconf"
+
+SECTION = "x11"
+PR = "r0.1"
+
+inherit xfce
+
+XFCE_VERSION = 4.6.1
+
+SRC_URI = "http://spuriousinterrupt.org/files/${PN}/${PN}-${PV}.tar.bz2"
+
+FILES_${PN} = "\
+    ${datadir}/dbus-1/services \
+    ${datadir}/themes \
+    ${datadir}/icons \
+    ${datadir}/applications \  
+    ${libexecdir}/xfce4-notifyd \     
+    ${bindir}/xfce4-notifyd-config \
+"
recipes/xfce-extras/xfprint_4.6.1.bb new file +13 -0
new file mode 100755
index 0000000..86b1947
@@ -0,0 +1,13 @@
+# xfprint OE build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see COPYING.MIT)
+
+DESCRIPTION="XFCE4 Print Manager"
+SECTION = "x11/base"
+PR = "r0.1"
+
+RPROVIDES = "xfprint"
+
+DEPENDS="libxfcegui4"
+
+inherit xfce
Signature · 1 line
1.6.3.1

From b7760745645365198c67f857572963b291feafe8 Mon Sep 17 00:00:00 2001
From: David-John Willis <[email protected]>
Date: Tue, 13 Oct 2009 13:12:03 +0100
Subject: [PATCH 38/38] xfce.bbclass: Update to support XFCE 4.6.1 (breaks 4.4.* at the moment, really need another bbclass).

---
 classes/xfce.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 mode change 100644 => 100755 classes/xfce.bbclass
classes/xfce.bbclass +1 -1
old mode 100644
new mode 100755
index b18313f..4d48131
@@ -1,4 +1,4 @@
-# xfce.oeclass
+# xfce.bbclass
 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
 # Released under the MIT license (see packages/COPYING)
 
Signature · 1 line
1.6.3.1

From 414769eb089553c97a5aabaaa5e71abd7ae52f4c Mon Sep 17 00:00:00 2001
From: David-John Willis <[email protected]>
Date: Thu, 8 Oct 2009 08:49:36 +0100
Subject: [PATCH 27/38] Add XFCE 4.6 checksums.

---
 conf/checksums.ini |   96 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 96 insertions(+), 0 deletions(-)
conf/checksums.ini +96 -0

218 lines not on this page · raw message

Signature · 1 line
1.6.3.1