Hi
ffalarms 0.4 pushed into git, I attach patch for the recipe (some
dependencies removed, including alsa scenarios, and now needs
postinst/postrm)
By the way:
-----------
I was building it locally using
SRCREV_pn-ffalarms = "${AUTOREV}"
and SRC_URI of my local git repository and was building fine, than after
changing SRC_URI to the shr git repository (same SRCREV), now bitbake
insists to build some other older revision (!= SRCREV), if I remove
AUTOREV bitbake picks proper SRCREV, but only tries to fetch from http
mirrors, but I think not from git ([1] below).
Can someone explain me what happens and/or point me to some
documentation where all the magic is explained?
[1]:
NOTE: fetch
http://sources.openembedded.org//git_git.shr-project.org.repo.ffalarms.git_f8175d83d7807eea9577a555016d6e41210196bb.tar.gz
--2010-03-25 23:41:49--
http://sources.openembedded.org//git_git.shr-project.org.repo.ffalarms.git_f8175d83d7807eea9577a555016d6e41210196bb.tar.gz
Resolving sources.openembedded.org... 140.211.169.165
Connecting to sources.openembedded.org|140.211.169.165|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-03-25 23:41:49 ERROR 404: Not Found.
>From http://git.shr-project.org/repo/ffalarms
* branch master -> FETCH_HEAD
NOTE: Creating tarball of git repository
fatal: failed to unpack tree object f8175d83d7807eea9577a555016d6e41210196bb
>From d9935262d85b627941496e9e0d16098c35d7abeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= <[email protected]>
Date: Thu, 25 Mar 2010 23:20:50 +0100
Subject: [PATCH] ffalarms: bump to version 0.4
---
recipes/ffalarms/ffalarms_git.bb | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/recipes/ffalarms/ffalarms_git.bb b/recipes/ffalarms/ffalarms_git.bb
index 8ede817..f9d05b1 100644
--- a/recipes/ffalarms/ffalarms_git.bb
+++ b/recipes/ffalarms/ffalarms_git.bb
@@ -5,14 +5,14 @@ SECTION = "x11/applications"
PRIORITY = "optional"
LICENSE = "GPLv3"
DEPENDS = "elementary libeflvala libical"
-RDEPENDS = "atd alsa-utils-amixer alsa-utils-alsactl alsa-scenarii-shr ttf-dejavu-sans libical"
+RDEPENDS = "atd alsa-utils-amixer ttf-dejavu-sans libical"
RSUGGESTS = "mplayer alsa-utils-aplay frameworkd"
-PV = "0.3.2+gitr${SRCPV}"
+PV = "0.4+gitr${SRCPV}"
PR = "r1"
SRC_URI = "git://git.shr-project.org/repo/ffalarms.git;protocol=http;branch=master"
-SRCREV = "af7deb209172bfd79614aee10e618127bcfc8a32"
+SRCREV = "f8175d83d7807eea9577a555016d6e41210196bb"
S = "${WORKDIR}/git"
inherit vala
@@ -21,8 +21,19 @@ do_compile() {
oe_runmake VAPIDIR=${STAGING_DATADIR}/vala/vapi
}
do_install() {
- oe_runmake install DESTDIR=${D}
+ oe_runmake install DESTDIR=${D} SYSCONFDIR=${sysconfdir}
}
+
+pkg_postinst_${PN}() {
+#!/bin/sh
+/etc/init.d/dbus-1 reload
+}
+
+pkg_postrm_${PN}() {
+#!/bin/sh
+/etc/init.d/dbus-1 reload
+}
+
# needed because there is do_stage_append in vala.bbclass and do_stage() was removed..
do_stage() {
--
1.7.0.3
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel