summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-09-26 08:46:30 +0000
committerRoss Burton <ross@openedhand.com>2008-09-26 08:46:30 +0000
commit148459e611bd67fc99f29146f95403ecacbd3793 (patch)
treeb9f8f5d0e2c38d9b7342b36691c82efd702ca078
parenta96187d66045c84f2fc68d7938f7990178c7982b (diff)
downloadpoky-148459e611bd67fc99f29146f95403ecacbd3793.tar.gz
Merged revisions 5169-5170 via svnmerge from
https://svn.o-hand.com/repos/poky/trunk ........ r5169 | ross | 2008-09-10 17:17:54 +0100 (Wed, 10 Sep 2008) | 1 line gaku: clean up depends/recommends ........ r5170 | richard | 2008-09-10 17:25:46 +0100 (Wed, 10 Sep 2008) | 20 lines bitbake hg fetcher: Add fix from Matt Hoosier The Mercurial fetcher right now will fail when used to incrementally fetch an update to a local clone of a repository already fetched at some prior revision. The culprit is the sequence: hg pull -r <rev> hg update -C <rev> A subtlety in the way that Mercurial stores its tags (in a normally version-controlled file called .hgtags) has the side-effect that a repository fetched at a tag "foo" will not actually contain a new-enough copy of the .hgtags file to be self-aware of the foo tag's existence. The solution is just to get all the changesets in the repository on incremental upgrades, so that the following "hg update" will be able to resolve the tag. ........ git-svn-id: https://svn.o-hand.com/repos/poky/branches/elroy@5282 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--bitbake/lib/bb/fetch/hg.py5
-rw-r--r--meta/packages/gaku/gaku_svn.bb13
2 files changed, 13 insertions, 5 deletions
diff --git a/bitbake/lib/bb/fetch/hg.py b/bitbake/lib/bb/fetch/hg.py
index c7d2e62c13..1cd5a8aa5c 100644
--- a/bitbake/lib/bb/fetch/hg.py
+++ b/bitbake/lib/bb/fetch/hg.py
@@ -94,7 +94,10 @@ class Hg(Fetch):
94 if command is "fetch": 94 if command is "fetch":
95 cmd = "%s clone %s %s://%s/%s %s" % (basecmd, " ".join(options), proto, hgroot, ud.module, ud.module) 95 cmd = "%s clone %s %s://%s/%s %s" % (basecmd, " ".join(options), proto, hgroot, ud.module, ud.module)
96 elif command is "pull": 96 elif command is "pull":
97 cmd = "%s pull %s" % (basecmd, " ".join(options)) 97 # do not pass options list; limiting pull to rev causes the local
98 # repo not to contain it and immediately following "update" command
99 # will crash
100 cmd = "%s pull" % (basecmd)
98 elif command is "update": 101 elif command is "update":
99 cmd = "%s update -C %s" % (basecmd, " ".join(options)) 102 cmd = "%s update -C %s" % (basecmd, " ".join(options))
100 else: 103 else:
diff --git a/meta/packages/gaku/gaku_svn.bb b/meta/packages/gaku/gaku_svn.bb
index 12fc545d74..66055f129b 100644
--- a/meta/packages/gaku/gaku_svn.bb
+++ b/meta/packages/gaku/gaku_svn.bb
@@ -1,15 +1,20 @@
1DESCRIPTION = "Music player" 1DESCRIPTION = "Music player"
2LICENSE = "GPL" 2LICENSE = "GPL"
3DEPENDS = "gtk+ gstreamer" 3DEPENDS = "gtk+ gstreamer"
4PV = "0.0+svnr${SRCREV}"
5 4
6RDEPENDS = "gst-plugin-audioconvert \ 5RDEPENDS = "gst-plugin-audioconvert \
7 gst-plugin-audioresample \ 6 gst-plugin-audioresample \
8 gst-plugin-alsa \
9 gst-plugin-typefindfunctions \ 7 gst-plugin-typefindfunctions \
10 gst-plugin-id3demux \
11 gst-plugin-playbin" 8 gst-plugin-playbin"
12RRECOMMENDS = "gst-plugin-mad gst-plugin-ivorbis gst-plugin-ogg" 9
10RRECOMMENDS = "gst-plugin-mad \
11 gst-plugin-id3demux \
12 gst-plugin-ivorbis \
13 gst-plugin-alsa \
14 gst-plugin-ogg"
15
16PV = "0.0+svnr${SRCREV}"
17PR = "r1"
13 18
14S = "${WORKDIR}/${PN}" 19S = "${WORKDIR}/${PN}"
15 20