pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/clutter-gtk0.10



On Mon, Jan 06, 2014 at 03:41:55PM +0100, Niclas Rosenvik wrote:
> On Mon, 6 Jan 2014 13:06:39 +0000
> Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
> 
> > On Mon, Jan 06, 2014 at 12:34:20PM +0000, Jonathan Perkin wrote:
> > > * On 2014-01-06 at 12:21 GMT, Patrick Welche wrote:
> > > 
> > > > There is something odd about the tarfiles, but I'm not sure what
> > > > happened:
> > > > 
> > > > -rw-r--r--  1 root  wheel  391461 Sep 16  2010
> > > > clutter-gtk-0.10.8.tar.gz -rw-r--r--  1 root  wheel  391461 Dec
> > > > 24  2011 clutter-gtk-0.10.8.tar.gz.bak
> > > > 
> > > > the .bak is the old one I already had which matches
> > > > graphics/clutter-gtk0.10/distinfo. The other one is fresh from
> > > > ftp.gnome.org.
> > > > 
> > > > # sha1 clutter-gtk-0.10.8.tar.gz*
> > > > SHA1 (clutter-gtk-0.10.8.tar.gz) =
> > > > 1fd7c4d8f70b64541a18d51d5c9674299975d054 SHA1
> > > > (clutter-gtk-0.10.8.tar.gz.bak) =
> > > > 91dc92c06ab6feff4d99d3bf5cce374c48a2f14b
...
> Have you tried "cmp clutter-gtk-0.10.8.tar.gz.bak clutter-gtk-0.10.8.tar.gz"? 
> I tried to compare the file from ftp.netbsd.org and from ftp.gnome.org
> and cmp writes:
> netbsd/clutter-gtk-0.10.8.tar.gz gnome/clutter-gtk-0.10.8.tar.gz
> differ: char 5, line 1
> 
> Do you get the same result?

Yes, foo is the old one (probably from source.clutter-project.org),
bar is from ftp.gnome.org:

           
-00000000  1f 8b 08 00 e2 22 92 4c  00 03 d4 5a 7b 77 da c8  |.....".L...Z{w..|
+00000000  1f 8b 08 00 30 22 92 4c  00 03 d4 5a 7b 77 da c8  |....0".L...Z{w..|
 00000010  92 9f 7f cd a7 e8 21 9c  c1 70 90 00 3f b0 8d d7  |......!..p..?...|
 00000020  93 21 c4 1e 33 d7 36 ac  c1 79 6c 92 c1 8d d4 40  |.!..3.6..yl....@|
 00000030  5f 0b 89 d1 c3 40 e2 7c  f7 ad aa 6e 21 01 76 9c  |_....@.|...n!.v.|

http://www.gzip.org/zlib/rfc-gzip.html:

ID1 ID2  CM FLG  --- MTIME ----   XFL  OS
 1f  8b  08  00  e2  22  92  4c    00  03  d4  5a  7b  77  da  c8
 1f  8b  08  00  30  22  92  4c    00  03  d4  5a  7b  77  da  c8

MTIME gives the most recent modification time of the original file
being compressed.

#include <stdio.h>
#include <time.h>

int main()
{
    const time_t old = 0xe222924c;
    const time_t new = 0x3022924c;

    printf("old: 0x%lx = %s", old, ctime(&old));  
    printf("new: 0x%lx = %s", new, ctime(&new));  

    return 0;
}

tells me:

old: 0xe222924c = Thu Mar 23 01:41:32 2090
new: 0x3022924c = Fri Aug  4 22:34:04 1995

So the file available currently from ftp.gnome.org seems "more correct"...

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index