From: Jorg S. <Jor...@we...> - 2005-10-12 20:37:33
|
Hi Flavio, great work! I think it will be easiest if you commit your changes directly to CVS. Just tell me your sf login. > Some of the changes are hardcoded for my nano. One of the most important > things that need to be done is to detect which iPod model we're dealing > with, to choose the correct correlation IDs and image sizes. I've just worked on that and will commit in a little while. Basically I've used code from libipoddevice (http://64.14.94.162/index.php/Libipoddevice) one to one and removed the dependence to libhal. I've opted against making libgpod dependant on libipoddevice at this point because the latter depends on libraries not widely available yet (libhal >= 0.5.2, glib >= 2.8). Anyway, even without libhal you get information like the following with just one call: device = itdb_device_new (argv[1]); Device Info Model Number: PA005 Device Model: Nano (White) iPod Generation: Fourth Adv. Capacity: 4 GB Is New: NO Writeable: YES Serial Number: YM5386EMSZW Firmware Version: 1.0 User-Provided Info Device Name: jcsjcs-nano User Name: schuler Host Name: VERL401 > tests/Makefile.am: I had to make some changes for it to work here (Debian > sid). AFAICS there's no such thing as target_CFLAGS. I've also modfied tests/Makefile.am (test-ipod-device), but there's no target_CFLAGS in my copy... All the other changes: thumbs up, definitely. Please commit to CVS so everyone can profit from the work in progress. Cheers, JCS. |