Patchwork [meta-oe,11/19] xfce4-session: Add initial recipe with version 4.8.1

login
register
mail settings
Submitter Andreas Müller
Date Aug. 1, 2011, 9:02 p.m.
Message ID <1312232577-7948-12-git-send-email-schnitzeltony@gmx.de>
Download mbox | patch
Permalink /patch/8975/
State Accepted
Headers show

Comments

Andreas Müller - Aug. 1, 2011, 9:02 p.m.
* xfce4-session needs iceauth for building and running properly. A patch
  was sent but is trapped for style-guide / license issues (see [1] and [2])

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-July/034169.html
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-July/034176.html

Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
---
 .../xfce4-session/relative-symlinks-docs.patch     |   11 +++++++
 .../xfce4-session/xfce4-session_4.8.1.bb           |   32 ++++++++++++++++++++
 2 files changed, 43 insertions(+), 0 deletions(-)
 create mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/relative-symlinks-docs.patch
 create mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.8.1.bb

Patch

diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/relative-symlinks-docs.patch b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/relative-symlinks-docs.patch
new file mode 100644
index 0000000..fb78c57
--- /dev/null
+++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/relative-symlinks-docs.patch
@@ -0,0 +1,11 @@ 
+--- a/doc/manual/Makefile.am	2010-09-08 18:37:19.000000000 +0200
++++ b/doc/manual/Makefile.am	2011-07-17 23:17:28.602626999 +0200
+@@ -20,7 +20,7 @@
+ 			done; \
+ 			if test x"$$lang" != x"C" -a ! -d $(srcdir)/images/$$lang; then \
+ 				echo "--- Creating symlink to C images for $$lang"; \
+-				ln -sf $(docdir)/html/C/images $(DESTDIR)$(docdir)/html/$$lang/images; \
++				ln -sf ../C/images $(DESTDIR)$(docdir)/html/$$lang/images; \
+ 			fi \
+ 		fi \
+ 	done;
diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.8.1.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.8.1.bb
new file mode 100644
index 0000000..bedd35f
--- /dev/null
+++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.8.1.bb
@@ -0,0 +1,32 @@ 
+DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
+SECTION = "x11"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88"
+DEPENDS = "virtual/libx11 libsm libxfce4util libxfce4ui gtk+ libwnck dbus dbus-glib xfconf xfce4-panel gconf gnome-keyring"
+RDEPENDS_${PN} = "netbase xinit dbus-x11 iceauth"
+
+PR = "r0"
+
+inherit xfce
+
+# SRC_URI must follow inherited one
+SRC_URI += " \
+    file://relative-symlinks-docs.patch \
+"
+
+# protect from frightening message that xfce might not work correctly
+pkg_postinst_${PN} () {
+    echo 127.0.0.1    ${MACHINE} >> /etc/hosts
+}
+
+FILES_${PN} += "${libdir}/xfce4/*/*/*.so \
+                ${libdir}/xfce4/session/*-*-* \
+                ${datadir}/xfce4/*/* \
+                ${datadir}/themes/Default/balou/*"
+
+FILES_${PN}-dbg += "${libdir}/xfce4/*/*/.debug"
+
+FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.*a"
+
+SRC_URI[md5sum] = "478080ff666fdd36786a243829663efd"
+SRC_URI[sha256sum] = "1df52a77d87ed4d27b4f40a2f03a0b6334422d64bdc4e31b9aac22e25e68b829"