[oe] cvs date & timezone problem

John Lee john_lee at openmoko.com
Thu Apr 3 08:36:05 UTC 2008


Hi,

we can specify mindate and maxdate to the patch of cvs source now, but
there's one problem: different timezone.

for example, cvs log enlightenment.pc.in 

RCS file: /var/cvs/e/e17/apps/e/enlightenment.pc.in,v
Working file: enlightenment.pc.in
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2008-03-31 22:35:23 +0800;  author: raster;  state: Exp;  lines: +1 -1;


use @PACKAGE@
----------------------------
revision 1.2
date: 2008-03-29 05:33:51 +0800;  author: raster;  state: Exp;  lines: +1 -2;


set libs to be modules dir - we wont use it anyway.
----------------------------
revision 1.1
date: 2008-03-29 04:53:26 +0800;  author: raster;  state: Exp;


add pkgconfig supprot to e17 itself.
=============================================================================

you can see 2008-03-29 04:53:26 +0800 in Taiwan is actually 03-28 in
UTC.  so Holger kindly put

file://pkgconfig-fix.patch;patch=1;pnum=0;mindate=20080328

in e-wm_cvs.bb

However, if I build the e-wm in Taiwan, `enlightenment.pc.in' does not
exist yet on 20080328 Taiwan time.  The build will fail.

I would suggest set cvs fetch in bitbake to always use UTC+0 for this
matter and we set the min and max date according to UTC+0 instead of
our own timezone.  Enclosed please find the patch to the bitbake 1.8
branch.


Regards,
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvs-utc.patch
Type: text/x-diff
Size: 455 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20080403/9fcc7a3d/attachment-0002.bin>


More information about the Openembedded-devel mailing list