All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 4/4] e-wm: Add recipe for 0.18.2
Date: Mon, 20 Jan 2014 18:42:37 +0100	[thread overview]
Message-ID: <1390239757-27055-4-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <1390239757-27055-1-git-send-email-Martin.Jansa@gmail.com>

* keep old 0.17.* around because new enlightenment is more picky on where it
  will run (compositor is now mandatory)
* announcement
  http://sourceforge.net/mailarchive/message.php?msg_id=31789335

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-efl/recipes-efl/e17/e-wm.inc       | 14 +++-----------
 meta-efl/recipes-efl/e17/e-wm_0.17.5.bb | 12 ++++++++++++
 meta-efl/recipes-efl/e17/e-wm_0.18.2.bb | 20 ++++++++++++++++++++
 3 files changed, 35 insertions(+), 11 deletions(-)
 create mode 100644 meta-efl/recipes-efl/e17/e-wm_0.18.2.bb

diff --git a/meta-efl/recipes-efl/e17/e-wm.inc b/meta-efl/recipes-efl/e17/e-wm.inc
index 3f24b62..08fe25f 100644
--- a/meta-efl/recipes-efl/e17/e-wm.inc
+++ b/meta-efl/recipes-efl/e17/e-wm.inc
@@ -7,7 +7,8 @@ SRCNAME = "e"
 inherit e update-alternatives gettext
 S = "${WORKDIR}/${SRCNAME}"
 
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
 PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam"
 
 EXTRA_OECONF = "\
@@ -30,16 +31,6 @@ do_install_append() {
     # xinit[418]: ERROR: CONFIGURATION FILE HAS BAD PERMISSIONS
     chmod 600 ${D}/${sysconfdir}/enlightenment/sysactions.conf
 
-    install -d ${D}/${datadir}/applications/
-    install -m 644 ${S}/src/modules/fileman/module.desktop ${D}/${datadir}/applications/efm.desktop
-    sed "s#Type=Link#Type=Application#g" -i ${D}/${datadir}/applications/efm.desktop
-    echo "Exec=enlightenment_remote -efm-open-dir" >> ${D}/${datadir}/applications/efm.desktop
-    echo "Terminal=false" >> ${D}/${datadir}/applications/efm.desktop
-    echo "Categories=Application;" >> ${D}/${datadir}/applications/efm.desktop
-    echo "StartupNotify=true" >> ${D}/${datadir}/applications/efm.desktop
-    install -d ${D}/${datadir}/icons/
-    install -m 644 ${S}/data/themes/img/O/icon_icon_theme.png ${D}/${datadir}/icons/e-module-fileman.png
-
     install -d ${D}/${sysconfdir}/xdg/menus
     install -m 644 ${WORKDIR}/applications.menu ${D}/${sysconfdir}/xdg/menus/
     for I in `find ${D}/${libdir}/enlightenment -name "*.a" -print`; do rm -f $I; done
@@ -124,6 +115,7 @@ FILES_${PN} = "\
     ${datadir}/enlightenment/COPYING \
     ${datadir}/xsessions/enlightenment.desktop \
     ${sysconfdir}/xdg \
+    ${systemd_unitdir} \
 "
 
 FILES_${PN}-config-default = "${datadir}/enlightenment/data/config/default"
diff --git a/meta-efl/recipes-efl/e17/e-wm_0.17.5.bb b/meta-efl/recipes-efl/e17/e-wm_0.17.5.bb
index 57eefdb..d374680 100644
--- a/meta-efl/recipes-efl/e17/e-wm_0.17.5.bb
+++ b/meta-efl/recipes-efl/e17/e-wm_0.17.5.bb
@@ -12,3 +12,15 @@ SRC_URI = "\
 
 SRC_URI[md5sum] = "5aefb55df0b1a0a0ae0cf9d0610cf7c7"
 SRC_URI[sha256sum] = "25d4967277cf27d4efb474a9b8eceb1200aa813a51c248b61cc23f69291bff0f"
+
+do_install_append() {
+    install -d ${D}/${datadir}/applications/
+    install -m 644 ${S}/src/modules/fileman/module.desktop ${D}/${datadir}/applications/efm.desktop
+    sed "s#Type=Link#Type=Application#g" -i ${D}/${datadir}/applications/efm.desktop
+    echo "Exec=enlightenment_remote -efm-open-dir" >> ${D}/${datadir}/applications/efm.desktop
+    echo "Terminal=false" >> ${D}/${datadir}/applications/efm.desktop
+    echo "Categories=Application;" >> ${D}/${datadir}/applications/efm.desktop
+    echo "StartupNotify=true" >> ${D}/${datadir}/applications/efm.desktop
+    install -d ${D}/${datadir}/icons/
+    install -m 644 ${S}/data/themes/img/O/icon_icon_theme.png ${D}/${datadir}/icons/e-module-fileman.png
+}
diff --git a/meta-efl/recipes-efl/e17/e-wm_0.18.2.bb b/meta-efl/recipes-efl/e17/e-wm_0.18.2.bb
new file mode 100644
index 0000000..ab96e9a
--- /dev/null
+++ b/meta-efl/recipes-efl/e17/e-wm_0.18.2.bb
@@ -0,0 +1,20 @@
+require ${BPN}.inc
+
+SRCNAME = "enlightenment"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+SRC_URI = "\
+    ${E_RELEASES}/apps/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \
+    file://enlightenment_start.oe \
+    file://applications.menu \
+"
+
+SRC_URI[md5sum] = "eea52b438b143ac318d5ed8e09e06f2b"
+SRC_URI[sha256sum] = "106a6949b14ce3eae0c1eb82bf09492fa8417df0b26faf595f5050f0e89b5483"
+
+do_configure_prepend() {
+    sed '/^ *EFL_PKG_CHECK_VAR/ s/systemduserunitdir/systemdsystemunitdir/g' -i ${S}/configure.ac
+}
+
+PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
-- 
1.8.5.3



  parent reply	other threads:[~2014-01-20 17:42 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 17:17 [meta-efl][WIP][PATCHv2 0/7] Major efl upgrade Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 1/7] meta-efl: Add efl 1.8.4, elementary 1.8.3, terminology 0.4.0 and python-efl 1.8.0 recipes Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 2/7] webkit-efl: Add recipe with snapshot from r159807 Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 3/7] enjoy: Upgrade to version from git Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 4/7] libeflvala: Fix build of tests Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 5/7] eve: bump SRCREV to catch up with edbus2 -> eldbus rename Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 6/7] e-wm: Drop evas-.*-loader.* from RDEPENDS Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 7/7] webkit-efl: Try to disable llint/jit to fix armv[45] build Martin Jansa
2014-01-20 17:42 ` [PATCH 1/4] elementary: Add PACKAGECONFIG for ewebkit and disable it by default Martin Jansa
2014-01-20 17:42   ` [PATCH 2/4] efl: Adjust packaging to match more with old 1.7 separate recipes Martin Jansa
2014-01-22 14:26     ` Otavio Salvador
2014-01-20 17:42   ` [PATCH 3/4] python-efl: Upgrade to 1.8.1 and update packaging to match old packages Martin Jansa
2014-01-22 14:28     ` Otavio Salvador
2014-01-20 17:42   ` Martin Jansa [this message]
2014-01-22 11:51     ` [meta-efl][PATCHv2 1/5] efl: Adjust packaging to match more with old 1.7 separate recipes Martin Jansa
2014-01-22 11:51       ` [meta-efl][PATCHv2 2/5] python-efl: Upgrade to 1.8.1 and update packaging to match old packages Martin Jansa
2014-01-22 11:51       ` [meta-efl][PATCHv2 3/5] e-wm: Add recipe for 0.18.2 Martin Jansa
2014-01-22 11:51       ` [meta-efl][PATCHv2 4/5] elfe: Replace svn with git version Martin Jansa
2014-01-22 11:51       ` [meta-efl][PATCHv2 5/5] evas-generic-loaders: package generic pdf loaders as well Martin Jansa
2014-01-22 14:25   ` [PATCH 1/4] elementary: Add PACKAGECONFIG for ewebkit and disable it by default Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1390239757-27055-4-git-send-email-Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.