On Thu, Jun 26, 2008 at 07:23:32PM -0500, ashley willis wrote:
> ya know, after trying gentoo's libtar, i tried just about every 
> libtar-1.2.x, all with the same problem. just now i decided i'd try 
> compiling the gui again (i rebooted yesterday for some reason), and i 
> was surprised to see it work. i suppose the gentoo libtar wasn't 
> completely uninstalled somehow until a reboot? not used to that problem!

So you're using a vanilla libtar?  That should work fine.


> i ended up installing ubuntu under vmware and getting it to work. i also 
> ended up writing a command-line perl program which calls a hacked 
> version of btool to create compatible backup files. i've also written 
> programs to deconstruct and reconstruct .ipd files, as well as turn them 
> into barrybackup .tar.gz files, and also one to extract the images from 
> "Content Store" (the main reason for dealing with all of this: i want my 
> pictures i took, and i have a blackberry without a data plan, so i can't 
> email them).

Wow, if you would, please submit these scripts.  I can put them under a
contrib/ directory.  They sound very useful.


> two things i'd like to see in btool are an option to not parse any 
> databases, and an option to output the raw data instead of a hex dump. i 
> just deleted the parsing feature from btool, but i can't figure out how 
> to not have the hexdump output as i'm not a c programmer (yeah, i keep 
> *meaning* to learn...).

Take a look at tools/brecsum.cc in the latest CVS.  That program creates
its own parser class, and just runs a SHA1 sum on the raw record data.
If you're looking for raw data, that's probably the easiest program to hack.

The btool program uses the RecordParser helper templates, which takes
one of the record classes (such as Contact and Calendar) and creates a
parser or builder out of it.  This is fundamental to what btool does,
so it's probably harder to hack around it.


> i haven't figured out how to put things onto my phone yet, though.

There is an example program under examples/ which lets you add contacts
from the command line, if you're looking from something programmable.

If you're looking to sync, you'll need opensync 0.22, and a suitable
set of plugins, such as the barry plugin and the evolution plugin.


> oh, and forgetting that i did
> "echo Y > /sys/module/usbcore/parameters/usbfs_snoop" caused about 13G 
> of data in /var/log in just a few days. :) i stripped most of it out.

It does get quite verbose. :-)

- Chris


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to