[oe-commits] org.oe.dev e-wm_cvs.bb : fixes to e-wm from OM mtn

xora commit oe at amethyst.openembedded.net
Fri May 9 15:30:39 UTC 2008


e-wm_cvs.bb : fixes to e-wm from OM mtn

Author: xora at openembedded.org
Branch: org.openembedded.dev
Revision: f76bdb5494d47401757896ec652925748eda284d
ViewMTN: http://monotone.openembedded.org/revision/info/f76bdb5494d47401757896ec652925748eda284d
Files:
1
packages/e17/e-wm/enlightenment_start.oe
packages/e17/e-wm/pkgconfig-fix.patch
packages/e17/e-wm/profile-search.patch
packages/e17/e-wm_cvs.bb
Diffs:

#
# mt diff -r1f5736686ba80ae22f6b918afffad28a98341759 -rf76bdb5494d47401757896ec652925748eda284d
#
#
#
# add_file "packages/e17/e-wm/enlightenment_start.oe"
#  content [bd936fb2c5aca13675a033e4fcce807db8fab342]
# 
# add_file "packages/e17/e-wm/pkgconfig-fix.patch"
#  content [f9a5a8b724513748dd11a34a109b38a822d30b51]
# 
# add_file "packages/e17/e-wm/profile-search.patch"
#  content [ba211916093808b88a325df737f2c6cb045650d5]
# 
# patch "packages/e17/e-wm_cvs.bb"
#  from [5002700472e10c4056f6f0f86e315d894a880f22]
#    to [10fac6f3469627d641a1a831d9875c86b8b3edc3]
#
============================================================
--- packages/e17/e-wm/enlightenment_start.oe	bd936fb2c5aca13675a033e4fcce807db8fab342
+++ packages/e17/e-wm/enlightenment_start.oe	bd936fb2c5aca13675a033e4fcce807db8fab342
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+E_PROFILE=""
+if [ -r /etc/enlightenment/default_profile ]; then
+  . /etc/enlightenment/default_profile
+fi
+
+exec enlightenment_start $E_PROFILE
============================================================
--- packages/e17/e-wm/pkgconfig-fix.patch	f9a5a8b724513748dd11a34a109b38a822d30b51
+++ packages/e17/e-wm/pkgconfig-fix.patch	f9a5a8b724513748dd11a34a109b38a822d30b51
@@ -0,0 +1,18 @@
+Index: enlightenment.pc.in
+===================================================================
+--- enlightenment.pc.in.orig	2008-03-28 22:33:51.000000000 +0100
++++ enlightenment.pc.in	2008-03-29 17:22:30.000000000 +0100
+@@ -1,11 +1,12 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-includedir=@includedir@
++includedir=@includedir@/@PACKAGE@
+ 
+ Name: enlightenment
+ Description: Enlightenmnt Window Manager
+ Version: @VERSION@
++Requires: efreet >= 0.0.3.042
+ Libs: @libdir@/@PACKAGE@/modules
+ Libs.private: 
+ Cflags: -I${includedir}
============================================================
--- packages/e17/e-wm/profile-search.patch	ba211916093808b88a325df737f2c6cb045650d5
+++ packages/e17/e-wm/profile-search.patch	ba211916093808b88a325df737f2c6cb045650d5
@@ -0,0 +1,41 @@
+? .e_border.c.swn
+? .e_border.c.swo
+? .e_border.c.swp
+? .e_border.h.swp
+? .e_config.c.swp
+? .e_int_menus.c.swp
+? .e_main.c.swp
+? .e_popup.c.swp
+? .e_prefix.c.swp
+? .e_shelf.c.swo
+? .e_shelf.c.swp
+Index: e_config.c
+===================================================================
+RCS file: /var/cvs/e/e17/apps/e/src/bin/e_config.c,v
+retrieving revision 1.282
+diff -u -r1.282 e_config.c
+--- e/src/bin/e_config.c	20 Feb 2008 04:12:58 -0000	1.282
++++ e/src/bin/e_config.c	31 Mar 2008 01:57:00 -0000
+@@ -1827,7 +1827,22 @@
+      {
+ 	data = eet_data_read(ef, edd, "config");
+ 	eet_close(ef);
++        return data;
+      }
++
++   /* fallback to a system directory
++    * FIXME proper $PATH like handling might be wanted
++    */ 
++   snprintf(buf, sizeof(buf), "%s/data/config/%s/%s.cfg",
++	    e_prefix_data_get(), _e_config_profile, domain);
++   ef = eet_open(buf, EET_FILE_MODE_READ);
++   if (ef)
++     {
++	data = eet_data_read(ef, edd, "config");
++	eet_close(ef);
++        return data;
++     }
++
+    return data;
+ }
+ 
============================================================
--- packages/e17/e-wm_cvs.bb	5002700472e10c4056f6f0f86e315d894a880f22
+++ packages/e17/e-wm_cvs.bb	10fac6f3469627d641a1a831d9875c86b8b3edc3
@@ -2,13 +2,15 @@ PV = "0.16.999.042+cvs${SRCDATE}"
 DEPENDS = "eet evas ecore edje efreet"
 LICENSE = "MIT BSD"
 PV = "0.16.999.042+cvs${SRCDATE}"
-PR = "r0"
+PR = "r5"
 
 inherit e update-alternatives
 
 SRC_URI = "${E_CVS};module=e17/apps/e \
            file://disable-e-cursor.patch;patch=1 \
-           file://Xsession.d/98enlightenment \
+           file://pkgconfig-fix.patch;patch=1;pnum=0;mindate=20080328;maxdate=20080401 \
+           file://profile-search.patch;patch=1;mindate=20080328;maxdate=20080401 \
+           file://enlightenment_start.oe \
            file://applications.menu \
 "
 S = "${WORKDIR}/e"
@@ -34,8 +36,7 @@ do_install_append() {
 
 do_install_append() {
     # customising - should rather make this simple upstream
-    install -d ${D}/${sysconfdir}/X11/Xsession.d
-    install -m 755 ${WORKDIR}/Xsession.d/98enlightenment ${D}/${sysconfdir}/X11/Xsession.d
+    install -m 755 ${WORKDIR}/enlightenment_start.oe ${D}/${bindir}
     install -d ${D}/${sysconfdir}/xdg/menus
     install -m 644 ${WORKDIR}/applications.menu ${D}/${sysconfdir}/xdg/menus/
 }
@@ -57,7 +58,7 @@ FILES_${PN}-dev += "\
   ${libdir}/enlightenment/preload/*.?a \
 "
 
-ALTERNATIVE_PATH = "${bindir}/enlightenment_start"
+ALTERNATIVE_PATH = "${bindir}/enlightenment_start.oe"
 ALTERNATIVE_NAME = "x-window-manager"
 ALTERNATIVE_LINK = "${bindir}/x-window-manager"
 ALTERNATIVE_PRIORITY = "16"






More information about the Openembedded-commits mailing list