[Pkg-gtkpod-devel] r166 - in libgpod/branches/upstream/current: . bindings bindings/python bindings/python/examples docs docs/reference docs/reference/html docs/reference/tmpl docs/reference/xml m4 po src tests

Frank Lichtenheld djpig at alioth.debian.org
Thu Jan 25 11:43:21 CET 2007


Author: djpig
Date: 2007-01-25 11:43:09 +0100 (Thu, 25 Jan 2007)
New Revision: 166

Added:
   libgpod/branches/upstream/current/TROUBLESHOOTING
   libgpod/branches/upstream/current/bindings/python/README
   libgpod/branches/upstream/current/bindings/python/README.in
   libgpod/branches/upstream/current/bindings/python/gpod_doc.i.in
   libgpod/branches/upstream/current/bindings/python/gtkdoc-to-swig.xsl
   libgpod/branches/upstream/current/docs/reference/html/itunesdb.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod-Photo-database.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod-Smart-Playlists.html
   libgpod/branches/upstream/current/docs/reference/html/photodb.html
   libgpod/branches/upstream/current/docs/reference/tmpl/photodb.sgml
   libgpod/branches/upstream/current/docs/reference/xml/photodb.xml
   libgpod/branches/upstream/current/m4/gtk-doc.m4
   libgpod/branches/upstream/current/m4/intltool.m4
   libgpod/branches/upstream/current/py-compile
   libgpod/branches/upstream/current/src/pixmaps.c
   libgpod/branches/upstream/current/src/pixmaps.h
Removed:
   libgpod/branches/upstream/current/TODO
   libgpod/branches/upstream/current/docs/reference/html/ch02.html
Modified:
   libgpod/branches/upstream/current/ChangeLog
   libgpod/branches/upstream/current/Makefile.am
   libgpod/branches/upstream/current/Makefile.in
   libgpod/branches/upstream/current/README
   libgpod/branches/upstream/current/aclocal.m4
   libgpod/branches/upstream/current/bindings/Makefile.in
   libgpod/branches/upstream/current/bindings/python/Makefile.am
   libgpod/branches/upstream/current/bindings/python/Makefile.in
   libgpod/branches/upstream/current/bindings/python/__init__.py
   libgpod/branches/upstream/current/bindings/python/examples/Makefile.in
   libgpod/branches/upstream/current/bindings/python/examples/create_mp3_tags_from_itdb.py
   libgpod/branches/upstream/current/bindings/python/gpod.i.in
   libgpod/branches/upstream/current/bindings/python/gtkpod.py
   libgpod/branches/upstream/current/bindings/python/ipod.py
   libgpod/branches/upstream/current/compile
   libgpod/branches/upstream/current/configure
   libgpod/branches/upstream/current/configure.ac
   libgpod/branches/upstream/current/depcomp
   libgpod/branches/upstream/current/docs/Makefile.in
   libgpod/branches/upstream/current/docs/reference/Makefile.am
   libgpod/branches/upstream/current/docs/reference/Makefile.in
   libgpod/branches/upstream/current/docs/reference/html/ch01.html
   libgpod/branches/upstream/current/docs/reference/html/index.html
   libgpod/branches/upstream/current/docs/reference/html/index.sgml
   libgpod/branches/upstream/current/docs/reference/html/libgpod-Artwork.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod-Device.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod-File-handling-functions.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod-Low-level-functions.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod-Playlists.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod-The-Itdb-iTunesDB-structure.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod-Time-handling.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod-Tracks.html
   libgpod/branches/upstream/current/docs/reference/html/libgpod.devhelp
   libgpod/branches/upstream/current/docs/reference/html/libgpod.devhelp2
   libgpod/branches/upstream/current/docs/reference/libgpod-docs.xml
   libgpod/branches/upstream/current/docs/reference/libgpod-sections.txt
   libgpod/branches/upstream/current/docs/reference/tmpl/Internal.sgml
   libgpod/branches/upstream/current/docs/reference/tmpl/artwork.sgml
   libgpod/branches/upstream/current/docs/reference/tmpl/device.sgml
   libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-copying.sgml
   libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-db.sgml
   libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-lowlevel.sgml
   libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-time.sgml
   libgpod/branches/upstream/current/docs/reference/tmpl/playlists.sgml
   libgpod/branches/upstream/current/docs/reference/tmpl/smart-playlists.sgml
   libgpod/branches/upstream/current/docs/reference/tmpl/track.sgml
   libgpod/branches/upstream/current/docs/reference/xml/Internal.xml
   libgpod/branches/upstream/current/docs/reference/xml/artwork.xml
   libgpod/branches/upstream/current/docs/reference/xml/device.xml
   libgpod/branches/upstream/current/docs/reference/xml/itunesdb-copying.xml
   libgpod/branches/upstream/current/docs/reference/xml/itunesdb-db.xml
   libgpod/branches/upstream/current/docs/reference/xml/itunesdb-lowlevel.xml
   libgpod/branches/upstream/current/docs/reference/xml/itunesdb-time.xml
   libgpod/branches/upstream/current/docs/reference/xml/playlists.xml
   libgpod/branches/upstream/current/docs/reference/xml/smart-playlists.xml
   libgpod/branches/upstream/current/docs/reference/xml/track.xml
   libgpod/branches/upstream/current/install-sh
   libgpod/branches/upstream/current/m4/Makefile.in
   libgpod/branches/upstream/current/missing
   libgpod/branches/upstream/current/mkinstalldirs
   libgpod/branches/upstream/current/po/de.po
   libgpod/branches/upstream/current/po/es.po
   libgpod/branches/upstream/current/po/fr.po
   libgpod/branches/upstream/current/po/he.po
   libgpod/branches/upstream/current/po/it.po
   libgpod/branches/upstream/current/po/ja.po
   libgpod/branches/upstream/current/po/sv.po
   libgpod/branches/upstream/current/src/Makefile.am
   libgpod/branches/upstream/current/src/Makefile.in
   libgpod/branches/upstream/current/src/db-artwork-debug.c
   libgpod/branches/upstream/current/src/db-artwork-parser.c
   libgpod/branches/upstream/current/src/db-artwork-writer.c
   libgpod/branches/upstream/current/src/db-itunes-parser.h
   libgpod/branches/upstream/current/src/itdb.h
   libgpod/branches/upstream/current/src/itdb_artwork.c
   libgpod/branches/upstream/current/src/itdb_device.c
   libgpod/branches/upstream/current/src/itdb_device.h
   libgpod/branches/upstream/current/src/itdb_itunesdb.c
   libgpod/branches/upstream/current/src/itdb_photoalbum.c
   libgpod/branches/upstream/current/src/itdb_playlist.c
   libgpod/branches/upstream/current/src/itdb_private.h
   libgpod/branches/upstream/current/src/itdb_track.c
   libgpod/branches/upstream/current/src/ithumb-writer.c
   libgpod/branches/upstream/current/tests/Makefile.am
   libgpod/branches/upstream/current/tests/Makefile.in
   libgpod/branches/upstream/current/tests/test-init-ipod.c
   libgpod/branches/upstream/current/tests/test-photos.c
Log:
Load /tmp/tmp.vhyIY13890/libgpod-0.4.2 into
libgpod/branches/upstream/current.


Modified: libgpod/branches/upstream/current/ChangeLog
===================================================================
--- libgpod/branches/upstream/current/ChangeLog	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/ChangeLog	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,3 +1,411 @@
+2007-01-15  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* configure.ac: bumped version to 0.4.2 for release
+
+	* po/sv.po: updated Swedish catalog -- thanks to Stefan Asserhall
+
+	* po/ja.po: updated Japanese catalog -- thanks to Kentaro Fukuchi
+
+	* po/de.po: updated German catalog
+
+	* .cvsignore
+	  po/.cvsignore
+	  tests/.cvsignore: updated with additional files to ignore.
+
+	* bindings/.cvsignore:
+	  bindings/python/.cvsignore
+	  bindings/python/examples/.cvsignore
+	  bindings/python/docs/.cvsignore
+	  docs/.cvsignore
+	  docs/reference/.cvsignore
+	  m4/.cvsignore: created new ignore files
+
+	* tests/test-photos.c: change "error" to "warning" in warning
+	  message.
+
+	* INSTALL_CVS:
+	  TROUBLESHOOTING: short note about the python packages required to
+	  build the python bindings.
+
+	* Makefile.am: added TROUBLESHOOTING to EXTRA_DIST
+
+2007-01-15  Todd Zullinger <tmzullinger at users.sourceforge.net>
+
+	* Makefile.am
+	  bindings/python/Makefile.am
+	  bindings/python/__init__.py
+	  bindings/python/gpod.i.in
+	  bindings/python/gpod_doc.i.in
+	  bindings/python/gtkdoc-to-swig.xsl
+	  bindings/python/gtkpod.py
+	  bindings/python/ipod.py: add builtin documentation to the python
+	  bindings using the gtk-docs for all of the wrapped libgpod
+	  functions (with much help from Nicolas Piper)
+
+	* bindings/python/gtkpod.py: fix encoding issue in
+	  write_pair() (Nicolas Piper)
+	  handle gtkpod extended info files with either md5_hash or
+	  sha1_hash fields (Nicolas Piper)
+
+	* bindings/python/ipod.py: ensure the db object doesn't get
+	  garbage collected at the wrong time (Nicolas Piper)
+
+2007-01-14  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* tests/test-photos.c:
+	  src/itdb_photoalbum.c: fixed two typos in message strings.
+
+	* po/es.po: updated Spanish catalog -- thanks to Alejandro Lamas
+	  Daviña
+
+	* po/*.po: run 'make update-po'
+
+	* src/itdb_itunesdb.c: added instructions on how to add new string
+	  fields like 'tvepisode', 'tvshow' without forgetting half of the
+	  places that need to be touched.
+
+2007-01-13  Todd Zullinger <tmzullinger at users.sourceforge.net>
+
+	* bindings/python/Makefile.am: don't include any swig built
+	  files in the tarballs.
+	  s/SWIG_SOURCES/SWIG_INTERFACES/ to avoid a warning from
+	  automake about unused sources.
+
+	* src/itdb_itunesdb.c: add a few more MHOD types that Jorg
+	  suggested
+
+        * src/itdb_track.c: add more tv show fixes from Mario Rossi.
+	  add missing albumartist and keywords pointed out by Jorg.
+
+2007-01-12  Todd Zullinger <tmzullinger at users.sourceforge.net>
+
+	* src/itdb_itunesdb.c: TV shows patch from Mario Rossi
+
+	* bindings/python/Makefile.am: fix more make distcheck issues
+
+2007-01-11  Todd Zullinger <tmzullinger at users.sourceforge.net>
+
+	* README
+	  docs/reference/libgpod-docs.xml
+	  docs/reference/libgpod-sections.txt
+	  docs/reference/tmpl/artwork.sgml
+	  docs/reference/tmpl/device.sgml
+	  docs/reference/tmpl/itunesdb-db.sgml
+	  docs/reference/tmpl/itunesdb-lowlevel.sgml
+	  docs/reference/tmpl/photodb.sgml
+	  docs/reference/tmpl/track.sgml
+	  src/itdb.h
+	  src/itdb_photoalbum.c: Add PhotoDB functions to the docs.
+	  Incorporate usage overviews from README into the docs.
+	  Fix a few doc comments to allow gtk-doc to parse them.
+
+2007-01-10  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* bindings/python/Makefile.am: correct 'make dist' failure (patch
+	  by Todd Zullinger)
+
+	* docs/reference/libgpod-docs.xml
+          docs/reference/libgpod-sections.txt
+          docs/reference/tmpl/Internal.sgml
+          docs/reference/tmpl/artwork.sgml
+          docs/reference/tmpl/device.sgml
+          docs/reference/tmpl/itunesdb-copying.sgml
+          docs/reference/tmpl/itunesdb-db.sgml
+          docs/reference/tmpl/itunesdb-lowlevel.sgml
+          docs/reference/tmpl/itunesdb-time.sgml
+          docs/reference/tmpl/playlists.sgml
+          docs/reference/tmpl/smart-playlists.sgml
+          docs/reference/tmpl/track.sgml
+          src/itdb.h
+          src/itdb_device.c
+          src/itdb_itunesdb.c
+          src/itdb_photoalbum.c: applied Todd Zullinger's patch fixing
+	  warnings when building the documentation.
+
+2007-01-09  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* src/pixmaps.c
+	  src/pixmaps.h: New files containing last-resort pixmap in case
+	  thumbnail/photo could not be added. Will not produce code
+	  if the gdk-pixubf library is not present.
+
+	* src/ithumb-writer.c: use above pixmap instead of red canvas.
+
+	* src/Makefile.am: added pixmaps.[ch]
+
+	* src/itdb.h
+	  src/itdb_itunesdb.c: added tvshow, tvepisode, tvnetwork,
+	  albumartist, keywords, reseved to Itdb_Track. 'reserved' can
+	  later be used to support 'Artist, The'.
+
+2007-01-08  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* README: updated information about photo support
+
+	* po/fr.po: updated French catalog (thanks to Eric Lassauge)
+
+	* src/itdb.h: added 2 pointers for future extension to
+	  Itdb_Playlist (MHOD100).
+
+2007-01-06  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* tests/Makefile.am: cleanup
+
+	* src/itdb.h
+	  src/itdb_itunesdb.c: renamed unk156 to skipcount and unk160 to
+	  last_skipped.
+	  Added unk244, gapless_data, unk252, gapless_track_flag,
+	  gapless_album_flag, recent_skipcount.
+	  Added handling of skipcount and last_skipped to playount file
+	  handling.
+
+	* src/itdb_private.h: added skipcount and last_skipped to struct
+	  playcount.
+
+2007-01-04  Todd Zullinger <tmzullinger at users.sourceforge.net>
+
+	* configure.ac
+	  gnome-autogen.sh
+	  bindings/python/Makefile.am
+	  docs/reference/libgpod-overrides.txt
+	  docs/reference/Makefile.am: fix make distcheck, minor automake
+	  cleanups.
+
+	* bindings/python/gpod.i
+	  bindings/python/gpod.i.in: rename gpod.i -> gpod.i.in.  it is now
+	  generated by autoconf.
+
+2006-11-26  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* src/ithumb-writer.c (ithumb_writer_write_thumbnail): handle
+	  corrupted image data in a way that does not crash libgpod nor
+	  causes the ArtworkDB or PhotoDB to be corrupted. Currently a
+	  completely red pixmap is created as a substitute. Somewhat more
+	  artistic than I am may want to create a "corrupted image data"
+	  pixmap we can imbed into the code.
+
+	* src/itdb_artwork.c (itdb_thumb_get_gdk_pixbuf): fix failed
+	  assertion when image data is illegal.
+
+2006-11-24  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* src/itdb.h
+	  src/itdb_photoalbum.c (itdb_photodb_add_photo,
+	  itdb_photodb_add_photo_from_data,
+	  itdb_photodb_photoalbum_add_photo): add 'position' where photo
+	  should be inserted.
+
+	* tests/test-photos.c: implemented new API (append at the end).
+
+	* src/itdb.h
+	  src/itdb_itunesdb.c: removed mhodcount and libmhodcount from
+	  Itdb_Playlist as these are only used internally and reset during
+	  syncing.
+
+2006-11-23  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* When adding photos to the iPod the user may or may not want to
+	  rotate the picture shown on the iPod screen, for example
+	  deending on EXIF rotation value. This can now be achieved by
+	  passing a new parameter 'rotation' to itdb_photodb_add_photo()
+	  or itdb_photodb_add_photo_from_data(). (Valid values: 0, 90, 180,
+	  270, rotation is counter-clockwise). These two functions now
+	  also accept a GError pointer. As a consequence Itdb_Thumb had to
+	  be extended with a field for the rotation value and
+	  itdb_artwork_add_thumbnail have been extended to accept
+	  @rotation and @error as well.
+
+	  The actual rotation is carried out in
+	  ithumb-writer.c/ithumb_writer_write_thumbnail() using
+	  gdk_pixbuf_rotate_simple() and require gdk-pixbuf V2.6 or
+	  higher.
+
+	  In contrast, itdb_track_set_thumbnails() and
+	  itdb_track_set_thumbnails_from_data have been left unchanged,
+	  even though they could be extended to accept @rotation and
+	  @error easily. Please let me know if this is wanted.
+
+	* configure.ac
+	  src/itdb.h
+	  src/itdb_artwork.c
+	  src/itdb_photoalbum.c
+	  src/itdb_track.c
+	  src/ithumb-writer.c: implemented changes outlined above.
+
+	* tests/test-photos.c: added @rotation and @error to the
+	  itdb_photodb_add_photo() call.
+
+2006-11-12  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* ithumb-writer.c (itdb_write_ithumb_files):
+	  ITDB_THUMB_PHOTO_TV_SCREEN type thumbnails were not "rearranged"
+	  (i.e. deleted photos were not removed).
+
+	  (ipod_image_get_ithmb_filename, ithmb_writer_write_thumbnail):
+	  changed "F%u04_%d.ithmb" to "F%d_%d.ithmb" as this format string
+	  is used by the iPod.
+
+	  NEW: start new thumbnail file F%d_2/3/4... if the size of the
+	  current thumbnail file is larger than ITHUMB_MAX_SIZE (currently
+	  500 MB). Existing thumbnail files with a length larger than this
+	  will NOT be truncated. Patches are welcome (probably add code at
+	  the end of ithumb_rearrange_thumbnail_file()) :-) 
+
+	* itdb_artwork.c: added support for UYVY format for iPod Video and
+	  iPod Photo TV output. Code adapted from the GPixPod project.
+
+	  (itdb_thumb_get_byteorder): return the byte order for the
+	  current thumbnail (internal function).
+
+	* itdb_device.[hc]: added thumbnail storage format to the
+	  Itdb_ArtworkFormat image information. Currently the following
+	  are defined:
+	    THUMB_FORMAT_UYVY
+	    THUMB_FORMAT_RGB565_LE
+	    THUMB_FORMAT_RGB565_BE
+	    THUMB_FORMAT_RGB565_BE_90
+	    THUMB_FORMAT_RGB565_LE_90
+	  THUMB_FORMAT_RGB565_LE_90 does not appear to be used by any iPod
+	  model. THUMB_FORMAT_RGB565_BE_90 is used for full screen iPod
+	  Photo photos but currently is handeled the same as
+	  THUMB_FORMAT_RGB565_BE pending input from iPod Photo users.
+
+	* ithumb-writer.c: added support for UYVY format for iPod Video and
+	  iPod Photo TV output. Code adapted from the GPixPod project.
+
+2006-11-11  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* itdb.h: Itdb_Artwork:
+	  - added unk028, unk036 and rating
+	  - added digitized_data timestamp
+	  - changed creation_date from gint32 to guint32
+
+	* db-itunes-parser.h:
+	  db-artwork-debug.c: MhiiHeader:
+	  - renamed unknown5 to rating
+	  - renamed digitised_date to digitized_date for conformity
+
+	* db-artwork-writer.c (write_mhli): sanity check to avoid access
+	  of NULL pointer.
+	  (write_mhii): write unk028, rating, unk036, digitized_data
+
+	* db-artwork_parser.c (parse_mhii):
+	  - parse unk028, rating, unk036, digitized data.
+	  - unified reading of DB_TYPE_PHOTO and DB_TYPE_ITUNES, got rid
+	    of parse_mhod() and parse_mhni().
+
+
+	
+2006-11-08  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* itdb.h:
+	  itdb_itunesdb.c:
+	  itdb_track.c:
+	  renamed some formerly unknown Itdb_Track entries and added
+	  comments:
+	   - unk184->pregap
+	   - samplecount: guint32 -> guint64.
+	   - unk192->(removed)
+	   - unk200->postgap
+	   - unk208->mediatype
+	   - unk212->season_nr
+	   - unk216->episode_nr
+
+2006-10-29  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+        * src/itdb_photoalbum.c: fixed typo (Libarary -> Library).
+
+	* configure.ac, src/Makefile.am: new soname versioning
+	  scheme. Thanks to Todd Zullinger and Frank Lichtenheld.
+
+2006-10-29  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	Major rework of picture support.
+	
+	* src/db-artwork-parser.c, src/db-artwork-writer.c, src/itdb.h,
+	  src/db-itunes-parser.h: renamed 'master' to 'album_type' in
+	  MhbaHeader and Itdb_PhotoAlbum.
+
+	* src/db-artwork-parser.c, src/db-artwork-writer.c,
+	  src/itdb_photoalbum.c: Itdb_Photoalbum->members are now pointers
+	  to the corresponding Itdb_Artwork instead of image_ids.
+
+	* src/itdb_photoalbum.c: album_ids and image_ids are set just
+	  before writing the PhotoDB in itdb_photodb_write().
+
+	* src/itdb_photoalbum.c: new interface, basically use as follows:
+
+	  itdb_photodb_parse():
+	    Read an existing PhotoDB.
+
+          itdb_photodb_create():
+            Create a new Itdb_PhotoDB structure. The Photo Library Album is
+	    (first album) is created automatically.
+
+          itdb_photodb_add_photo(), itdb_photodb_add_photo_from_data():
+	    Add a photo to the PhotoDB (from file or from a chunk of
+	    memory). It is automatically added to the Photo Library Album
+	    (first album), which is created if it does not exist already.
+
+	  itdb_photodb_photoalbum_craete():
+	    Create and add a new photoalbum.
+
+	  itdb_photodb_photoalbum_add_photo():
+	    Add a photo (Itdb_Artwork) to an existing photoalbum.
+
+	  itdb_photodb_photoalbum_remove():
+	    Remove an existing photoalbum. Pictures can be kept in the
+	    Photo Library or automatically removed as well.
+
+	  itdb_photodb_remove_photo():
+	    Remove a photo either from a photoalbum or completely from the
+	    database.
+
+	  itdb_photodb_write():
+	    Write out your PhotoDB.
+
+	  itdb_photodb_free():
+	    Free all memory taken by the PhotoDB.
+
+	  itdb_photodb_photoalbum_by_name():
+	    Find the first photoalbum with a given name.
+
+        * src/itdb_playlist.c (itdb_playlist_add, itdb_playlist_add_track):
+	  src/itdb_track.c (itdb_track_add): simplify code by using
+	  g_list_insert().
+
+	* tests/test-photos.c: change to new interface, add new commands
+	  'list' to list photo IDs in the database, 'remove' to remove IDs
+	  from an album or the iPod, or remove entire photoalbums from the
+	  iPod.
+
+	* src/db-itunes-parser.h: added comments to _MhbaHeader definition.
+
+	Added additional functionality for photo albums
+
+	* src/db-artwork-parser.c
+	  src/db-artwork-writer.c
+	  src/db-itunes-parser.c:
+	  src/itdb.h: added additional fields to MhbaHeader and
+	  Itdb_PhotoAlbum (playmusic, repeat, random, show_titles,
+	  transition_direction, slide duration, transition_duration,
+	  unk024, unk028, unk044, unk048, song_id. These fields are read
+	  and written from the PhotoDB now. Also corrected error for
+	  "album type" which was read and written as int32 even though it
+	  was a int8. Removed num_images from Itdb_PhotoAlbum -- instead
+	  count images at time of writing.
+	
+2006-10-02  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* tests/Makefile.am
+	  tests/test-init-ipod.c: fix compilation error when building with
+	  --disable-gdk-pixbuf. Thanks to David Philippi and Christophe
+	  Fergeau.
+
+2006-09-26  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+	* po/sv.po: updated version by Stefan Asserhall
+
 2006-09-24  Jorg Schuler <jcsjcs at users.sourceforge.net>
 
 	* po/es.po: updated version by Alejandro Lamas Daviña
@@ -4,6 +412,8 @@
 
 	* configure.ac: bumped to 0.4.0 for release
 
+	* configure.ac: bumped to 0.4.1 as new CVS version
+
 2006-09-23  Jorg Schuler <jcsjcs at users.sourceforge.net>
 
 	* src/itdb.h: explain 'checked' field in Itdb_Track declaration

Modified: libgpod/branches/upstream/current/Makefile.am
===================================================================
--- libgpod/branches/upstream/current/Makefile.am	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/Makefile.am	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,4 @@
-SUBDIRS=src bindings tests po m4 docs
+SUBDIRS=src tests po m4 docs bindings 
 
 # build documentation when doing a distcheck.
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
@@ -7,6 +7,7 @@
 pkgconfig_DATA = libgpod-1.0.pc
 
 EXTRA_DIST =                    \
+	TROUBLESHOOTING		\
         intltool-merge.in       \
         intltool-update.in      \
         intltool-extract.in     \

Modified: libgpod/branches/upstream/current/Makefile.in
===================================================================
--- libgpod/branches/upstream/current/Makefile.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/Makefile.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -21,7 +21,6 @@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 top_builddir = .
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
@@ -35,7 +34,56 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
+	$(srcdir)/libgpod-1.0.pc.in $(top_srcdir)/configure AUTHORS \
+	COPYING ChangeLog INSTALL NEWS compile config.guess config.sub \
+	depcomp install-sh ltmain.sh missing mkinstalldirs py-compile
+subdir = .
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+	$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
+	$(top_srcdir)/m4/swig.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno configure.status.lineno
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES = libgpod-1.0.pc
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+	html-recursive info-recursive install-data-recursive \
+	install-exec-recursive install-info-recursive \
+	install-recursive installcheck-recursive installdirs-recursive \
+	pdf-recursive ps-recursive uninstall-info-recursive \
+	uninstall-recursive
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
+pkgconfigDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(pkgconfig_DATA)
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+  { test ! -d $(distdir) \
+    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+         && rm -fr $(distdir); }; }
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 ALL_LINGUAS = @ALL_LINGUAS@
@@ -120,11 +168,9 @@
 INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 LDFLAGS = @LDFLAGS@
-LIBGPOD_AGE = @LIBGPOD_AGE@
 LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
-LIBGPOD_CURRENT = @LIBGPOD_CURRENT@
 LIBGPOD_LIBS = @LIBGPOD_LIBS@
-LIBGPOD_REVISION = @LIBGPOD_REVISION@
+LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
 LIBGPOD_VERSION = @LIBGPOD_VERSION@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
@@ -178,6 +224,8 @@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -203,6 +251,7 @@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 pkgpyexecdir = @pkgpyexecdir@
@@ -216,65 +265,60 @@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
-SUBDIRS = src bindings tests po m4 docs
+SUBDIRS = src tests po m4 docs bindings 
 
 # build documentation when doing a distcheck.
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
-
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libgpod-1.0.pc
-
 EXTRA_DIST = \
+	TROUBLESHOOTING		\
         intltool-merge.in       \
         intltool-update.in      \
         intltool-extract.in     \
         libgpod-1.0.pc.in
 
-
 DISTCLEANFILES = \
         intltool-extract        \
         intltool-merge          \
         intltool-update
 
-subdir = .
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = libgpod-1.0.pc
-DIST_SOURCES =
-DATA = $(pkgconfig_DATA)
-
-
-RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
-	ps-recursive install-info-recursive uninstall-info-recursive \
-	all-recursive install-data-recursive install-exec-recursive \
-	installdirs-recursive install-recursive uninstall-recursive \
-	check-recursive installcheck-recursive
-DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
-	COPYING ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \
-	compile config.guess config.h.in config.sub configure \
-	configure.ac depcomp install-sh libgpod-1.0.pc.in ltmain.sh \
-	missing mkinstalldirs
-DIST_SUBDIRS = $(SUBDIRS)
 all: config.h
 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
 
 .SUFFIXES:
-
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+am--refresh:
+	@:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
+	      cd $(srcdir) && $(AUTOMAKE) --gnu  \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
 	cd $(top_srcdir) && \
 	  $(AUTOMAKE) --gnu  Makefile
-Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    echo ' $(SHELL) ./config.status'; \
+	    $(SHELL) ./config.status;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+	esac;
 
-$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 	$(SHELL) ./config.status --recheck
-$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 	cd $(srcdir) && $(AUTOCONF)
-
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
 
 config.h: stamp-h1
@@ -286,14 +330,14 @@
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
 	@rm -f stamp-h1
 	cd $(top_builddir) && $(SHELL) ./config.status config.h
-
-$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
 	cd $(top_srcdir) && $(AUTOHEADER)
-	touch $(srcdir)/config.h.in
+	rm -f stamp-h1
+	touch $@
 
 distclean-hdr:
 	-rm -f config.h stamp-h1
-libgpod-1.0.pc: $(top_builddir)/config.status libgpod-1.0.pc.in
+libgpod-1.0.pc: $(top_builddir)/config.status $(srcdir)/libgpod-1.0.pc.in
 	cd $(top_builddir) && $(SHELL) ./config.status $@
 
 mostlyclean-libtool:
@@ -305,23 +349,22 @@
 distclean-libtool:
 	-rm -f libtool
 uninstall-info-am:
-pkgconfigDATA_INSTALL = $(INSTALL_DATA)
 install-pkgconfigDATA: $(pkgconfig_DATA)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
+	test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
 	@list='$(pkgconfig_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f"; \
-	  $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f; \
+	  f=$(am__strip_dir) \
+	  echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
+	  $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
 	done
 
 uninstall-pkgconfigDATA:
 	@$(NORMAL_UNINSTALL)
 	@list='$(pkgconfig_DATA)'; for p in $$list; do \
-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " rm -f $(DESTDIR)$(pkgconfigdir)/$$f"; \
-	  rm -f $(DESTDIR)$(pkgconfigdir)/$$f; \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
 	done
 
 # This directory's subdirectories are mostly independent; you can cd
@@ -331,7 +374,13 @@
 #     (which will cause the Makefiles to be regenerated when you run `make');
 # (2) otherwise, pass the desired values on the `make' command line.
 $(RECURSIVE_TARGETS):
-	@set fnord $$MAKEFLAGS; amf=$$2; \
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
 	dot_seen=no; \
 	target=`echo $@ | sed s/-recursive//`; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -343,7 +392,7 @@
 	    local_target="$$target"; \
 	  fi; \
 	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	  || eval $$failcom; \
 	done; \
 	if test "$$dot_seen" = "no"; then \
 	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
@@ -351,7 +400,13 @@
 
 mostlyclean-recursive clean-recursive distclean-recursive \
 maintainer-clean-recursive:
-	@set fnord $$MAKEFLAGS; amf=$$2; \
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
 	dot_seen=no; \
 	case "$@" in \
 	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
@@ -372,7 +427,7 @@
 	    local_target="$$target"; \
 	  fi; \
 	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	  || eval $$failcom; \
 	done && test -z "$$fail"
 tags-recursive:
 	list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -383,14 +438,6 @@
 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 	done
 
-ETAGS = etags
-ETAGSFLAGS =
-
-CTAGS = ctags
-CTAGSFLAGS =
-
-tags: TAGS
-
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
@@ -399,19 +446,22 @@
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	mkid -fID $$unique
+tags: TAGS
 
 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
 	tags=; \
 	here=`pwd`; \
-	if (etags --etags-include --version) >/dev/null 2>&1; then \
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 	  include_option=--etags-include; \
+	  empty_fix=.; \
 	else \
 	  include_option=--include; \
+	  empty_fix=; \
 	fi; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
-	    test -f $$subdir/TAGS && \
+	    test ! -f $$subdir/TAGS || \
 	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
 	  fi; \
 	done; \
@@ -421,10 +471,11 @@
 	  done | \
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
-	test -z "$(ETAGS_ARGS)$$tags$$unique" \
-	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	     $$tags $$unique
-
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
 ctags: CTAGS
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
@@ -447,24 +498,11 @@
 
 distclean-tags:
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = .
-distdir = $(PACKAGE)-$(VERSION)
-
-am__remove_distdir = \
-  { test ! -d $(distdir) \
-    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
-         && rm -fr $(distdir); }; }
-
-GZIP_ENV = --best
-distuninstallcheck_listfiles = find . -type f -print
-distcleancheck_listfiles = find . -type f -print
-
 distdir: $(DISTFILES)
 	$(am__remove_distdir)
 	mkdir $(distdir)
-	$(mkinstalldirs) $(distdir)/. $(distdir)/docs/reference $(distdir)/po
+	$(mkdir_p) $(distdir)/. $(distdir)/bindings/python $(distdir)/docs/reference $(distdir)/m4 $(distdir)/po
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 	list='$(DISTFILES)'; for file in $$list; do \
@@ -476,7 +514,7 @@
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 	    dir="/$$dir"; \
-	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
 	  else \
 	    dir=''; \
 	  fi; \
@@ -491,15 +529,17 @@
 	    || exit 1; \
 	  fi; \
 	done
-	list='$(SUBDIRS)'; for subdir in $$list; do \
+	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
-	    test -d $(distdir)/$$subdir \
-	    || mkdir $(distdir)/$$subdir \
+	    test -d "$(distdir)/$$subdir" \
+	    || $(mkdir_p) "$(distdir)/$$subdir" \
 	    || exit 1; \
+	    distdir=`$(am__cd) $(distdir) && pwd`; \
+	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
 	    (cd $$subdir && \
 	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$(top_distdir)" \
-	        distdir=../$(distdir)/$$subdir \
+	        top_distdir="$$top_distdir" \
+	        distdir="$$distdir/$$subdir" \
 	        distdir) \
 	      || exit 1; \
 	  fi; \
@@ -510,19 +550,46 @@
 	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
 	|| chmod -R a+r $(distdir)
 dist-gzip: distdir
-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 	$(am__remove_distdir)
 
+dist-bzip2: distdir
+	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
+	$(am__remove_distdir)
+
+dist-tarZ: distdir
+	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+	$(am__remove_distdir)
+
+dist-shar: distdir
+	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+	$(am__remove_distdir)
+
+dist-zip: distdir
+	-rm -f $(distdir).zip
+	zip -rq $(distdir).zip $(distdir)
+	$(am__remove_distdir)
+
 dist dist-all: distdir
-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 	$(am__remove_distdir)
 
 # This target untars the dist file and tries a VPATH configuration.  Then
 # it guarantees that the distribution is self-contained by making another
 # tarfile.
 distcheck: dist
-	$(am__remove_distdir)
-	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
+	case '$(DIST_ARCHIVES)' in \
+	*.tar.gz*) \
+	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
+	*.tar.bz2*) \
+	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
+	*.tar.Z*) \
+	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+	*.shar.gz*) \
+	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
+	*.zip*) \
+	  unzip $(distdir).zip ;;\
+	esac
 	chmod -R a-w $(distdir); chmod a+w $(distdir)
 	mkdir $(distdir)/_build
 	mkdir $(distdir)/_inst
@@ -542,19 +609,20 @@
 	        distuninstallcheck \
 	  && chmod -R a-w "$$dc_install_base" \
 	  && ({ \
-	       (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
+	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
 	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
 	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
 	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
 	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
 	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
 	  && rm -rf "$$dc_destdir" \
-	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
-	  && rm -f $(distdir).tar.gz \
+	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+	  && rm -rf $(DIST_ARCHIVES) \
 	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
 	$(am__remove_distdir)
-	@echo "$(distdir).tar.gz is ready for distribution" | \
-	  sed 'h;s/./=/g;p;x;p;x'
+	@(echo "$(distdir) archives ready for distribution: "; \
+	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
 distuninstallcheck:
 	@cd $(distuninstallcheck_dir) \
 	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
@@ -578,8 +646,9 @@
 all-am: Makefile $(DATA) config.h
 installdirs: installdirs-recursive
 installdirs-am:
-	$(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
-
+	for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
 install: install-recursive
 install-exec: install-exec-recursive
 install-data: install-data-recursive
@@ -599,7 +668,7 @@
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
 
 maintainer-clean-generic:
@@ -612,13 +681,15 @@
 distclean: distclean-recursive
 	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
 	-rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
-	distclean-tags
+distclean-am: clean-am distclean-generic distclean-hdr \
+	distclean-libtool distclean-tags
 
 dvi: dvi-recursive
 
 dvi-am:
 
+html: html-recursive
+
 info: info-recursive
 
 info-am:
@@ -655,25 +726,22 @@
 
 uninstall-info: uninstall-info-recursive
 
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
-	clean-generic clean-libtool clean-recursive ctags \
-	ctags-recursive dist dist-all dist-gzip distcheck distclean \
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
+	check-am clean clean-generic clean-libtool clean-recursive \
+	ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
+	dist-shar dist-tarZ dist-zip distcheck distclean \
 	distclean-generic distclean-hdr distclean-libtool \
 	distclean-recursive distclean-tags distcleancheck distdir \
-	distuninstallcheck dvi dvi-am dvi-recursive info info-am \
-	info-recursive install install-am install-data install-data-am \
-	install-data-recursive install-exec install-exec-am \
-	install-exec-recursive install-info install-info-am \
-	install-info-recursive install-man install-pkgconfigDATA \
-	install-recursive install-strip installcheck installcheck-am \
-	installdirs installdirs-am installdirs-recursive \
-	maintainer-clean maintainer-clean-generic \
-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
-	pdf-recursive ps ps-am ps-recursive tags tags-recursive \
+	distuninstallcheck dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
+	install-exec-am install-info install-info-am install-man \
+	install-pkgconfigDATA install-strip installcheck \
+	installcheck-am installdirs installdirs-am maintainer-clean \
+	maintainer-clean-generic maintainer-clean-recursive \
+	mostlyclean mostlyclean-generic mostlyclean-libtool \
+	mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
 	uninstall uninstall-am uninstall-info-am \
-	uninstall-info-recursive uninstall-pkgconfigDATA \
-	uninstall-recursive
+	uninstall-pkgconfigDATA
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

Modified: libgpod/branches/upstream/current/README
===================================================================
--- libgpod/branches/upstream/current/README	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/README	2007-01-25 10:43:09 UTC (rev 166)
@@ -13,8 +13,9 @@
 answer).
 
 ----------------------------------------------------------------------
-Quick HOWTO use libgpod
 
+Quick HOWTO use libgpod for audio
+
 itdb_parse(): read the iTunesDB and ArtbookDB
 itdb_write(): write the iTunesDB and ArtbookDB
 
@@ -82,58 +83,60 @@
 Jörg Schuler (jcsjcs at users dot sourceforge dot net)
 
 ----------------------------------------------------------------------
-Note about photo databases:
 
-First thing, there are 2 different artwork databases on the iPod
-Photo/Color, the ArtworkDB file which stores information about cover art
-(thumbnails) for the songs stored on the iPod, and the Photo Database
-which is used to store random photos not associated with songs on the
-iPod. 
+Quick HOWTO use libgpod for photos
 
-The main target I had in mind when writing artwork support was cover art
-thumbnails for songs. The parsing code should be reusable for generic
-Photo Database support, but there are probably some tweaks to do, and
-some stuff isn't handled, for example Photo Albums (roughtly equivalent
-to a playlist) which aren't used in the ArtworkDB (they are only
-useful/meaningful in the Photo Database)
+   itdb_photodb_parse():
+       Read an existing PhotoDB.
 
-Even though the cover art data is stored in a separate file (ArtworkDB),
-it's intrisically linked with a song in the iTunesDB files through the
-'dbid' 64 bit field in the mhit iTunesDB records (it's meant to be
-displayed along when the song is being played, so it makes sense to
-associate them).
+   itdb_photodb_create():
+       Create a new Itdb_PhotoDB structure. The Photo Library Album is
+       (first album) is created automatically.
 
-What ipod_parse_photo_db is to parse this ArtworkDB file to gather info
-about the song thumbnails. It then fills the 'thumbnails' field in
-Itdb_Track which is a list of Itdb_Image. The Itdb_Image structure
-contains a few basic information about the image (I'll let you check its
-definition in itdb.h for more details), but it doesn't store the pixel
-data since this is stored separately, and I feared loading all the cover
-thumbnails automatically would be too memory hungry. So an
-itdb_image_get_rgb_data function is provided to trigger the load of the
-pixel data when it's useful.
+   itdb_photodb_add_photo(), itdb_photodb_add_photo_from_data():
+       Add a photo to the PhotoDB (from file or from a chunk of
+       memory). It is automatically added to the Photo Library Album
+       (first album), which is created if it does not exist already.
 
-The 2 test programs I added are meant to be small samples of how this
-stuff works, one of them parses the ArtworkDB and outputs all the
-thumbnails it finds in /tmp as .png files, the other one is used to
-randomly associate images as thumbnails to all songs in the database,
-it's meant to show how to write thumbnails. If you add support for that
-to gtkpod, be aware that currently adding cover thumbnails to a few
-songs on an iPod which already has cover thumbnails assigned to some
-other songs is not something that is tranparently handled, ie you'll
-need to add code either to libgpod or to gtkpod to make that work
-properly.
+   itdb_photodb_photoalbum_create():
+       Create and add a new photoalbum.
 
-As for Photo Database handling (which is not dealt with currently), I
-agree it doesn't make sense to associate its parsing with an
-Itdb_ItunesDB object, and that a 'parallel' api mimicking somewhat the
-Track/Playlist stuff with Photo/Album entities would need to be
-designed, but I didn't work on that since, and I probably won't short
-term.
+   itdb_photodb_photoalbum_add_photo():
+       Add a photo (Itdb_Artwork) to an existing photoalbum.
 
-People wanting more info can find lots of details on
-http://ipodlinux.org/ITunesDB#Artwork_Database
+   itdb_photodb_photoalbum_remove():
+       Remove an existing photoalbum. Pictures can be kept in the
+       Photo Library or automatically removed as well.
 
-I hope that's helpful,
+   itdb_photodb_remove_photo():
+       Remove a photo either from a photoalbum or completely from the database.
 
-Christophe
+   itdb_photodb_write():
+       Write out your PhotoDB.
+
+   itdb_photodb_free():
+       Free all memory taken by the PhotoDB.
+
+   itdb_photodb_photoalbum_by_name():
+       Find the first photoalbum with a given name or the Photo
+       Library Album if called with no name.
+
+
+If you cannot add photos because your iPod is not recognized, you may
+have to set the iPod model by calling
+
+itdb_device_set_sysinfo (db->device, "ModelNumStr", model);
+
+For example, "MA450" would stand for an 80 GB 6th generation iPod
+Video. See itdb_device.c for a list of supported models.
+
+This information will be written to the iPod when the PhotoDB is saved
+(itdb_device_write_sysinfo() is called).
+
+Have a look at the following test-photos test program in the tests/
+subdirectory for an example of how to use the interface.
+
+
+Jörg Schuler (jcsjcs at users dot sourceforge dot net)
+
+----------------------------------------------------------------------

Deleted: libgpod/branches/upstream/current/TODO
===================================================================
--- libgpod/branches/upstream/current/TODO	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/TODO	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,18 +0,0 @@
-mremap not available under MacOS
-
-> I spoke too soon, I found a replacement rather quickly: realloc
-> 
-> So the code in the function that uses mremap now reads:
-> 
->     //new_address = mremap (buffer->mmap->mmap_area, buffer->mmap- 
-> >size,
->                   //buffer->mmap->size + IPOD_MMAP_SIZE, 0);
->     new_address = realloc(buffer->mmap->mmap_area, buffer->mmap->size +
->                           IPOD_MMAP_SIZE);
-
-I wouldn't expect that to do the right thing, ie stuff written to the
-realloc'ed zone will probably not end up being written to the on-disk
-file. Implementing mremap as a combination of munmap + mmap when it's
-not available will probably be much better
-
-Christophe

Added: libgpod/branches/upstream/current/TROUBLESHOOTING
===================================================================
--- libgpod/branches/upstream/current/TROUBLESHOOTING	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/TROUBLESHOOTING	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,72 @@
+Possible problems:
+------------------
+
+* If you get an error stating
+
+"possibly undefined macro: AC_PROG_INTLTOOL"
+
+when running ./autogen.sh you need to install the "intltool"
+package. On Debian
+
+"apt-get install intltool"
+
+will do that for you.
+
+
+------------------------------------------------------------
+
+* If you get an error stating
+
+"checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool"
+
+you need to install the libxml-parser package. On Debian
+
+"apt-get install libxml-parser-perl"
+
+will do that for you.
+
+
+------------------------------------------------------------
+
+* "/bin/sh: ../mkinstalldirs: No such file or directory"
+
+If you get this error, you are probably using automake >= 1.8.
+Automake 1.8 does no longer install the mkinstalldirs file, and
+gettext 0.14.4 does still depend on it... (automake 1.9.6 seems
+to work fine, btw.)
+
+Do a 'locate gettext/mkinstalldirs' and copy it over, then run
+./autogen.sh again for good measure.
+
+------------------------------------------------------------
+
+* "config.status: error: cannot find input file: po/Makefile.in.in"
+
+Upgrade intltool. 0.33 seems to work.
+
+------------------------------------------------------------
+
+* Compiling for 64bit systems
+
+The current automake/autobuild setup doesn't set the correct
+installation path on 64bit systems. To work around this issue and to
+get the libraries installed in the correct locations you need to
+pecify a couple extra parameters to autoge .sh (or configure). If your
+installation prefix is '/opt/gnome' use the following:
+
+./autogen.sh --prefix=/opt/gnome --enable-libsuffix=64 --libdir=/opt/gnome/lib6
+
+If you use a diferent prefix, replace '/opt/gnome' accordingly.
+
+Added on 2007/1/15: Note that I don't have any problems on my Debian
+4.1.1-13 system and won't have to do any of this.
+
+------------------------------------------------------------
+
+* Packages required to build python bindings
+
+On Debian the following packages are required:
+
+python (e.g. python2.4)
+python-dev (e.g. python2.4-dev)
+python-eye3D

Modified: libgpod/branches/upstream/current/aclocal.m4
===================================================================
--- libgpod/branches/upstream/current/aclocal.m4	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/aclocal.m4	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,7 +1,7 @@
-# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005  Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -11,893 +11,408 @@
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
-# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
-
-# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-AC_PREREQ([2.52])
-
-# serial 6
-
-# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
-
-# Do all the work for Automake.                            -*- Autoconf -*-
-
-# This macro actually does too much some checks are only needed if
-# your package does certain things.  But this isn't really a big deal.
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 10
-
-AC_PREREQ([2.54])
-
-# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
-# the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-# AM_INIT_AUTOMAKE([OPTIONS])
-# -----------------------------------------------
-# The call with PACKAGE and VERSION arguments is the old style
-# call (pre autoconf-2.50), which is being phased out.  PACKAGE
-# and VERSION should now be passed to AC_INIT and removed from
-# the call to AM_INIT_AUTOMAKE.
-# We support both call styles for the transition.  After
-# the next Automake release, Autoconf can make the AC_INIT
-# arguments mandatory, and then we can depend on a new Autoconf
-# release and drop the old call support.
-AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
- AC_REQUIRE([AC_PROG_INSTALL])dnl
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
-   test -f $srcdir/config.status; then
-  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
-  if (cygpath --version) >/dev/null 2>/dev/null; then
-    CYGPATH_W='cygpath -w'
-  else
-    CYGPATH_W=echo
-  fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
-AM_MISSING_PROG(AUTOCONF, autoconf)
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
-AM_MISSING_PROG(AUTOHEADER, autoheader)
-AM_MISSING_PROG(MAKEINFO, makeinfo)
-AM_MISSING_PROG(AMTAR, tar)
-AM_PROG_INSTALL_SH
-AM_PROG_INSTALL_STRIP
-# We need awk for the "check" target.  The system "awk" is bad on
-# some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
-                  [_AM_DEPENDENCIES(CC)],
-                  [define([AC_PROG_CC],
-                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
-                  [_AM_DEPENDENCIES(CXX)],
-                  [define([AC_PROG_CXX],
-                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
-])
-])
-
-
-# When config.status generates a header, we must update the stamp-h file.
-# This file resides in the same directory as the config header
-# that is generated.  The stamp files are numbered to have different names.
-
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
-# loop where config.status creates the headers, so we can generate
-# our stamp files there.
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
-[# Compute $1's index in $config_headers.
-_am_stamp_count=1
-for _am_header in $config_headers :; do
-  case $_am_header in
-    $1 | $1:* )
-      break ;;
-    * )
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
-  esac
-done
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
-
-# Copyright 2002  Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION so it can be traced.
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-	 [AM_AUTOMAKE_VERSION([1.7.9])])
-
-# Helper functions for option handling.                    -*- Autoconf -*-
-
-# Copyright 2001, 2002  Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 2
-
-# _AM_MANGLE_OPTION(NAME)
-# -----------------------
-AC_DEFUN([_AM_MANGLE_OPTION],
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-
-# _AM_SET_OPTION(NAME)
-# ------------------------------
-# Set option NAME.  Presently that only means defining a flag for this option.
-AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
-
-# _AM_SET_OPTIONS(OPTIONS)
-# ----------------------------------
-# OPTIONS is a space-separated list of Automake options.
-AC_DEFUN([_AM_SET_OPTIONS],
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
-# -------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-AC_DEFUN([_AM_IF_OPTION],
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-
+# Copyright (C) 1995-2002 Free Software Foundation, Inc.
+# Copyright (C) 2001-2003,2004 Red Hat, Inc.
 #
-# Check to make sure that the build environment is sane.
+# This file is free software, distributed under the terms of the GNU
+# General Public License.  As a special exception to the GNU General
+# Public License, this file may be distributed as part of a program
+# that contains a configuration script generated by Autoconf, under
+# the same distribution terms as the rest of that program.
 #
-
-# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 3
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments.  Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
-   if test "$[*]" = "X"; then
-      # -L didn't work.
-      set X `ls -t $srcdir/configure conftest.file`
-   fi
-   rm -f conftest.file
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
-      # If neither matched, then we have a broken ls.  This can happen
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
-      # broken ls alias from the environment.  This has actually
-      # happened.  Such a system could not be considered "sane".
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
-alias in your environment])
-   fi
-
-   test "$[2]" = conftest.file
-   )
-then
-   # Ok.
-   :
-else
-   AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT(yes)])
-
-#  -*- Autoconf -*-
-
-
-# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 3
-
-# AM_MISSING_PROG(NAME, PROGRAM)
-# ------------------------------
-AC_DEFUN([AM_MISSING_PROG],
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-
-
-# AM_MISSING_HAS_RUN
-# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
-AC_DEFUN([AM_MISSING_HAS_RUN],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
-  am_missing_run="$MISSING --run "
-else
-  am_missing_run=
-  AC_MSG_WARN([`missing' script is too old or missing])
-fi
-])
-
-# AM_AUX_DIR_EXPAND
-
-# Copyright 2001 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
+# This file can be copied and used freely without restrictions.  It can
+# be used in projects which are not available under the GNU Public License
+# but which still want to provide support for the GNU gettext functionality.
 #
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory.  The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run.  This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
+# Macro to add for using GNU gettext.
+# Ulrich Drepper <drepper at cygnus.com>, 1995, 1996
 #
-# $ac_aux_dir/missing
-#    fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-#    fails if $ac_aux_dir is absolute,
-#    fails when called from a subdirectory in a VPATH build with
-#          a relative $ac_aux_dir
+# Modified to never use included libintl. 
+# Owen Taylor <otaylor at redhat.com>, 12/15/1998
 #
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir.  In an in-source build this is usually
-# harmless because $srcdir is `.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
+# Major rework to remove unused code
+# Owen Taylor <otaylor at redhat.com>, 12/11/2002
 #
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-#   MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
+# Added better handling of ALL_LINGUAS from GNU gettext version 
+# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
 #
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH.  The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-# Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])
-
-AC_DEFUN([AM_AUX_DIR_EXPAND], [
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-])
-
-# AM_PROG_INSTALL_SH
-# ------------------
-# Define $install_sh.
-
-# Copyright 2001 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-AC_DEFUN([AM_PROG_INSTALL_SH],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
-AC_SUBST(install_sh)])
-
-# AM_PROG_INSTALL_STRIP
-
-# Copyright 2001 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# One issue with vendor `install' (even GNU) is that you can't
-# specify the program used to strip binaries.  This is especially
-# annoying in cross-compiling environments, where the build's strip
-# is unlikely to handle the host's binaries.
-# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in `make install-strip', and initialize
-# STRIPPROG with the value of the STRIP variable (set by the user).
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'.  However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
-if test "$cross_compiling" != no; then
-  AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
-#                                                          -*- Autoconf -*-
-# Copyright (C) 2003  Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 1
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot.  For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
-  am__leading_dot=.
-else
-  am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# serial 5						-*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery.  Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
+# Modified to require ngettext
+# Matthias Clasen <mclasen at redhat.com> 08/06/2004
 #
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
+# We need this here as well, since someone might use autoconf-2.5x
+# to configure GLib then an older version to configure a package
+# using AM_GLIB_GNU_GETTEXT
+AC_PREREQ(2.53)
 
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
-                   [depcc="$$1"   am_compiler_list=])
+dnl
+dnl We go to great lengths to make sure that aclocal won't 
+dnl try to pull in the installed version of these macros
+dnl when running aclocal in the glib directory.
+dnl
+m4_copy([AC_DEFUN],[glib_DEFUN])
+m4_copy([AC_REQUIRE],[glib_REQUIRE])
+dnl
+dnl At the end, if we're not within glib, we'll define the public
+dnl definitions in terms of our private definitions.
+dnl
 
-AC_CACHE_CHECK([dependency style of $depcc],
-               [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
-  # We make a subdir and do the tests there.  Otherwise we can end up
-  # making bogus files that we don't know about and never remove.  For
-  # instance it was reported that on HP-UX the gcc test will end up
-  # making a dummy file named `D' -- because `-MD' means `put the output
-  # in D'.
-  mkdir conftest.dir
-  # Copy depcomp to subdir because otherwise we won't find it if we're
-  # using a relative directory.
-  cp "$am_depcomp" conftest.dir
-  cd conftest.dir
-  # We will build objects and dependencies in a subdirectory because
-  # it helps to detect inapplicable dependency modes.  For instance
-  # both Tru64's cc and ICC support -MD to output dependencies as a
-  # side effect of compilation, but ICC will put the dependencies in
-  # the current directory while Tru64 will put them in the object
-  # directory.
-  mkdir sub
+# GLIB_LC_MESSAGES
+#--------------------
+glib_DEFUN([GLIB_LC_MESSAGES],
+  [AC_CHECK_HEADERS([locale.h])
+    if test $ac_cv_header_locale_h = yes; then
+    AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
+      [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
+       am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
+    if test $am_cv_val_LC_MESSAGES = yes; then
+      AC_DEFINE(HAVE_LC_MESSAGES, 1,
+        [Define if your <locale.h> file defines LC_MESSAGES.])
+    fi
+  fi])
 
-  am_cv_$1_dependencies_compiler_type=none
-  if test "$am_compiler_list" = ""; then
-     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
-  fi
-  for depmode in $am_compiler_list; do
-    # Setup a source with many dependencies, because some compilers
-    # like to wrap large dependency lists on column 80 (with \), and
-    # we should not choose a depcomp mode which is confused by this.
-    #
-    # We need to recreate these files for each test, as the compiler may
-    # overwrite some of them when testing with obscure command lines.
-    # This happens at least with the AIX C compiler.
-    : > sub/conftest.c
-    for i in 1 2 3 4 5 6; do
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
-      : > sub/conftst$i.h
-    done
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
-    case $depmode in
-    nosideeffect)
-      # after this tag, mechanisms are not by side-effect, so they'll
-      # only be used when explicitly requested
-      if test "x$enable_dependency_tracking" = xyes; then
-	continue
-      else
+# GLIB_PATH_PROG_WITH_TEST
+#----------------------------
+dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
+dnl   TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
+glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
+[# Extract the first word of "$2", so it can be a program name with args.
+set dummy $2; ac_word=[$]2
+AC_MSG_CHECKING([for $ac_word])
+AC_CACHE_VAL(ac_cv_path_$1,
+[case "[$]$1" in
+  /*)
+  ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
+  ;;
+  *)
+  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+  for ac_dir in ifelse([$5], , $PATH, [$5]); do
+    test -z "$ac_dir" && ac_dir=.
+    if test -f $ac_dir/$ac_word; then
+      if [$3]; then
+	ac_cv_path_$1="$ac_dir/$ac_word"
 	break
       fi
-      ;;
-    none) break ;;
-    esac
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
-    # mode.  It turns out that the SunPro C++ compiler does not properly
-    # handle `-M -o', and we need to detect this.
-    if depmode=$depmode \
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
-         >/dev/null 2>conftest.err &&
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
-      # icc doesn't choke on unknown options, it will just issue warnings
-      # (even with -Werror).  So we grep stderr for any message
-      # that says an option was ignored.
-      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
-        am_cv_$1_dependencies_compiler_type=$depmode
-        break
-      fi
     fi
   done
-
-  cd ..
-  rm -rf conftest.dir
+  IFS="$ac_save_ifs"
+dnl If no 4th arg is given, leave the cache variable unset,
+dnl so AC_PATH_PROGS will keep looking.
+ifelse([$4], , , [  test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
+])dnl
+  ;;
+esac])dnl
+$1="$ac_cv_path_$1"
+if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
+  AC_MSG_RESULT([$]$1)
 else
-  am_cv_$1_dependencies_compiler_type=none
+  AC_MSG_RESULT(no)
 fi
+AC_SUBST($1)dnl
 ])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
-  test "x$enable_dependency_tracking" != xno \
-  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
 
+# GLIB_WITH_NLS
+#-----------------
+glib_DEFUN([GLIB_WITH_NLS],
+  dnl NLS is obligatory
+  [USE_NLS=yes
+    AC_SUBST(USE_NLS)
 
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
+    gt_cv_have_gettext=no
 
+    CATOBJEXT=NONE
+    XGETTEXT=:
+    INTLLIBS=
 
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[  --disable-dependency-tracking Speeds up one-time builds
-  --enable-dependency-tracking  Do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
-  am_depcomp="$ac_aux_dir/depcomp"
-  AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
+    AC_CHECK_HEADER(libintl.h,
+     [gt_cv_func_dgettext_libintl="no"
+      libintl_extra_libs=""
 
-# Generate code to set up dependency tracking.   -*- Autoconf -*-
+      #
+      # First check in libc
+      #
+      AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
+        [AC_TRY_LINK([
+#include <libintl.h>
+],
+         [return !ngettext ("","", 1)],
+	  gt_cv_func_ngettext_libc=yes,
+          gt_cv_func_ngettext_libc=no)
+        ])
+  
+      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
+	      AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
+        	[AC_TRY_LINK([
+#include <libintl.h>
+],
+	          [return !dgettext ("","")],
+		  gt_cv_func_dgettext_libc=yes,
+	          gt_cv_func_dgettext_libc=no)
+        	])
+      fi
+  
+      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
+        AC_CHECK_FUNCS(bind_textdomain_codeset)
+      fi
 
-# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+      #
+      # If we don't have everything we want, check in libintl
+      #
+      if test "$gt_cv_func_dgettext_libc" != "yes" \
+	 || test "$gt_cv_func_ngettext_libc" != "yes" \
+         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
+        
+        AC_CHECK_LIB(intl, bindtextdomain,
+	    [AC_CHECK_LIB(intl, ngettext,
+		    [AC_CHECK_LIB(intl, dgettext,
+			          gt_cv_func_dgettext_libintl=yes)])])
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
+	  AC_MSG_CHECKING([if -liconv is needed to use gettext])
+	  AC_MSG_RESULT([])
+  	  AC_CHECK_LIB(intl, ngettext,
+          	[AC_CHECK_LIB(intl, dcgettext,
+		       [gt_cv_func_dgettext_libintl=yes
+			libintl_extra_libs=-liconv],
+			:,-liconv)],
+		:,-liconv)
+        fi
 
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+        #
+        # If we found libintl, then check in it for bind_textdomain_codeset();
+        # we'll prefer libc if neither have bind_textdomain_codeset(),
+        # and both have dgettext and ngettext
+        #
+        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
+          glib_save_LIBS="$LIBS"
+          LIBS="$LIBS -lintl $libintl_extra_libs"
+          unset ac_cv_func_bind_textdomain_codeset
+          AC_CHECK_FUNCS(bind_textdomain_codeset)
+          LIBS="$glib_save_LIBS"
 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
+            gt_cv_func_dgettext_libc=no
+          else
+            if test "$gt_cv_func_dgettext_libc" = "yes" \
+		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
+              gt_cv_func_dgettext_libintl=no
+            fi
+          fi
+        fi
+      fi
 
-#serial 2
+      if test "$gt_cv_func_dgettext_libc" = "yes" \
+	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
+        gt_cv_have_gettext=yes
+      fi
+  
+      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
+        INTLLIBS="-lintl $libintl_extra_libs"
+      fi
+  
+      if test "$gt_cv_have_gettext" = "yes"; then
+	AC_DEFINE(HAVE_GETTEXT,1,
+	  [Define if the GNU gettext() function is already present or preinstalled.])
+	GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
+	  [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
+	if test "$MSGFMT" != "no"; then
+          glib_save_LIBS="$LIBS"
+          LIBS="$LIBS $INTLLIBS"
+	  AC_CHECK_FUNCS(dcgettext)
+	  AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
+	  GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
+	    [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
+	  AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
+			 return _nl_msg_cat_cntr],
+	    [CATOBJEXT=.gmo 
+             DATADIRNAME=share],
+	    [case $host in
+	    *-*-solaris*)
+	    dnl On Solaris, if bind_textdomain_codeset is in libc,
+	    dnl GNU format message catalog is always supported,
+            dnl since both are added to the libc all together.
+	    dnl Hence, we'd like to go with DATADIRNAME=share and
+	    dnl and CATOBJEXT=.gmo in this case.
+            AC_CHECK_FUNC(bind_textdomain_codeset,
+	      [CATOBJEXT=.gmo 
+               DATADIRNAME=share],
+	      [CATOBJEXT=.mo
+               DATADIRNAME=lib])
+	    ;;
+	    *)
+	    CATOBJEXT=.mo
+            DATADIRNAME=lib
+	    ;;
+	    esac])
+          LIBS="$glib_save_LIBS"
+	  INSTOBJEXT=.mo
+	else
+	  gt_cv_have_gettext=no
+	fi
+      fi
+    ])
 
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
-  # Strip MF so we end up with the name of the file.
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
-  # Check whether this is an Automake generated Makefile or not.
-  # We used to match only the files named `Makefile.in', but
-  # some people rename them; so instead we look at the file content.
-  # Grep'ing the first line is not enough: some people post-process
-  # each Makefile.in and add a new line on top of each file to say so.
-  # So let's grep whole file.
-  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
-    dirpart=`AS_DIRNAME("$mf")`
-  else
-    continue
-  fi
-  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
-  # Extract the definition of DEP_FILES from the Makefile without
-  # running `make'.
-  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
-  test -z "$DEPDIR" && continue
-  # When using ansi2knr, U may be empty or an underscore; expand it
-  U=`sed -n -e '/^U = / s///p' < "$mf"`
-  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
-  # We invoke sed twice because it is the simplest approach to
-  # changing $(DEPDIR) to its actual value in the expansion.
-  for file in `sed -n -e '
-    /^DEP_FILES = .*\\\\$/ {
-      s/^DEP_FILES = //
-      :loop
-	s/\\\\$//
-	p
-	n
-	/\\\\$/ b loop
-      p
-    }
-    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
-    # Make sure the directory exists.
-    test -f "$dirpart/$file" && continue
-    fdir=`AS_DIRNAME(["$file"])`
-    AS_MKDIR_P([$dirpart/$fdir])
-    # echo "creating $dirpart/$file"
-    echo '# dummy' > "$dirpart/$file"
-  done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+    if test "$gt_cv_have_gettext" = "yes" ; then
+      AC_DEFINE(ENABLE_NLS, 1,
+        [always defined to indicate that i18n is enabled])
+    fi
 
+    dnl Test whether we really found GNU xgettext.
+    if test "$XGETTEXT" != ":"; then
+      dnl If it is not GNU xgettext we define it as : so that the
+      dnl Makefiles still can work.
+      if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
+        : ;
+      else
+        AC_MSG_RESULT(
+	  [found xgettext program is not GNU xgettext; ignore it])
+        XGETTEXT=":"
+      fi
+    fi
 
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled.  FIXME.  This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
-     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
-     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
+    # We need to process the po/ directory.
+    POSUB=po
 
-# Check to see how 'make' treats includes.	-*- Autoconf -*-
+    AC_OUTPUT_COMMANDS(
+      [case "$CONFIG_FILES" in *po/Makefile.in*)
+        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
+      esac])
 
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+    dnl These rules are solely for the distribution goal.  While doing this
+    dnl we only have to keep exactly one list of the available catalogs
+    dnl in configure.in.
+    for lang in $ALL_LINGUAS; do
+      GMOFILES="$GMOFILES $lang.gmo"
+      POFILES="$POFILES $lang.po"
+    done
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+    dnl Make all variables we use known to autoconf.
+    AC_SUBST(CATALOGS)
+    AC_SUBST(CATOBJEXT)
+    AC_SUBST(DATADIRNAME)
+    AC_SUBST(GMOFILES)
+    AC_SUBST(INSTOBJEXT)
+    AC_SUBST(INTLLIBS)
+    AC_SUBST(PO_IN_DATADIR_TRUE)
+    AC_SUBST(PO_IN_DATADIR_FALSE)
+    AC_SUBST(POFILES)
+    AC_SUBST(POSUB)
+  ])
 
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# AM_GLIB_GNU_GETTEXT
+# -------------------
+# Do checks necessary for use of gettext. If a suitable implementation 
+# of gettext is found in either in libintl or in the C library,
+# it will set INTLLIBS to the libraries needed for use of gettext
+# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
+# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
+# on various variables needed by the Makefile.in.in installed by 
+# glib-gettextize.
+dnl
+glib_DEFUN([GLIB_GNU_GETTEXT],
+  [AC_REQUIRE([AC_PROG_CC])dnl
+   AC_REQUIRE([AC_HEADER_STDC])dnl
+   
+   GLIB_LC_MESSAGES
+   GLIB_WITH_NLS
 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+   if test "$gt_cv_have_gettext" = "yes"; then
+     if test "x$ALL_LINGUAS" = "x"; then
+       LINGUAS=
+     else
+       AC_MSG_CHECKING(for catalogs to be installed)
+       NEW_LINGUAS=
+       for presentlang in $ALL_LINGUAS; do
+         useit=no
+         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
+           desiredlanguages="$LINGUAS"
+         else
+           desiredlanguages="$ALL_LINGUAS"
+         fi
+         for desiredlang in $desiredlanguages; do
+ 	   # Use the presentlang catalog if desiredlang is
+           #   a. equal to presentlang, or
+           #   b. a variant of presentlang (because in this case,
+           #      presentlang can be used as a fallback for messages
+           #      which are not translated in the desiredlang catalog).
+           case "$desiredlang" in
+             "$presentlang"*) useit=yes;;
+           esac
+         done
+         if test $useit = yes; then
+           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
+         fi
+       done
+       LINGUAS=$NEW_LINGUAS
+       AC_MSG_RESULT($LINGUAS)
+     fi
 
-# serial 2
+     dnl Construct list of names of catalog files to be constructed.
+     if test -n "$LINGUAS"; then
+       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
+     fi
+   fi
 
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
-	@echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
-   am__include=include
-   am__quote=
-   _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
-   echo '.include "confinc"' > confmf
-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
-      am__include=.include
-      am__quote="\""
-      _am_result=BSD
+   dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
+   dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
+   dnl Try to locate is.
+   MKINSTALLDIRS=
+   if test -n "$ac_aux_dir"; then
+     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
    fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
+   if test -z "$MKINSTALLDIRS"; then
+     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
+   fi
+   AC_SUBST(MKINSTALLDIRS)
 
-# AM_CONDITIONAL                                              -*- Autoconf -*-
+   dnl Generate list of files to be processed by xgettext which will
+   dnl be included in po/Makefile.
+   test -d po || mkdir po
+   if test "x$srcdir" != "x."; then
+     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
+       posrcprefix="$srcdir/"
+     else
+       posrcprefix="../$srcdir/"
+     fi
+   else
+     posrcprefix="../"
+   fi
+   rm -f po/POTFILES
+   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
+	< $srcdir/po/POTFILES.in > po/POTFILES
+  ])
 
-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 5
-
-AC_PREREQ(2.52)
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
-        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
-  $1_TRUE=
-  $1_FALSE='#'
+# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
+# -------------------------------
+# Define VARIABLE to the location where catalog files will
+# be installed by po/Makefile.
+glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
+[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
+glib_save_prefix="$prefix"
+glib_save_exec_prefix="$exec_prefix"
+glib_save_datarootdir="$datarootdir"
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+test "x$exec_prefix" = xNONE && exec_prefix=$prefix
+datarootdir=`eval echo "${datarootdir}"`
+if test "x$CATOBJEXT" = "x.mo" ; then
+  localedir=`eval echo "${libdir}/locale"`
 else
-  $1_TRUE='#'
-  $1_FALSE=
+  localedir=`eval echo "${datadir}/locale"`
 fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
-  AC_MSG_ERROR([conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.])
-fi])])
+prefix="$glib_save_prefix"
+exec_prefix="$glib_save_exec_prefix"
+datarootdir="$glib_save_datarootdir"
+AC_DEFINE_UNQUOTED($1, "$localedir",
+  [Define the location where the catalogs will be installed])
+])
 
-# Add --enable-maintainer-mode option to configure.
-# From Jim Meyering
+dnl
+dnl Now the definitions that aclocal will find
+dnl
+ifdef(glib_configure_in,[],[
+AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
+AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
+])dnl
 
-# Copyright 1996, 1998, 2000, 2001, 2002  Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 2
-
-AC_DEFUN([AM_MAINTAINER_MODE],
-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
-  dnl maintainer-mode is disabled by default
-  AC_ARG_ENABLE(maintainer-mode,
-[  --enable-maintainer-mode enable make rules and dependencies not useful
-                          (and sometimes confusing) to the casual installer],
-      USE_MAINTAINER_MODE=$enableval,
-      USE_MAINTAINER_MODE=no)
-  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
-  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
-  MAINT=$MAINTAINER_MODE_TRUE
-  AC_SUBST(MAINT)dnl
-]
-)
-
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 
 # serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
@@ -7267,188 +6782,6 @@
 AC_MSG_RESULT([$SED])
 ])
 
-
-dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
-# serial 35 IT_PROG_INTLTOOL
-AC_DEFUN([IT_PROG_INTLTOOL],
-[AC_PREREQ([2.50])dnl
-
-case "$am__api_version" in
-    1.[01234])
-	AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
-    ;;
-    *)
-    ;;
-esac
-
-if test -n "$1"; then
-    AC_MSG_CHECKING(for intltool >= $1)
-
-    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
-    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
-    [INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
-    ]
-    AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
-    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
-	AC_MSG_ERROR([Your intltool is too old.  You need intltool $1 or later.])
-fi
-
-  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
-     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' 
-      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
-    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
-
-AC_SUBST(INTLTOOL_DESKTOP_RULE)
-AC_SUBST(INTLTOOL_DIRECTORY_RULE)
-AC_SUBST(INTLTOOL_KEYS_RULE)
-AC_SUBST(INTLTOOL_PROP_RULE)
-AC_SUBST(INTLTOOL_OAF_RULE)
-AC_SUBST(INTLTOOL_PONG_RULE)
-AC_SUBST(INTLTOOL_SERVER_RULE)
-AC_SUBST(INTLTOOL_SHEET_RULE)
-AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
-AC_SUBST(INTLTOOL_UI_RULE)
-AC_SUBST(INTLTOOL_XAM_RULE)
-AC_SUBST(INTLTOOL_KBD_RULE)
-AC_SUBST(INTLTOOL_XML_RULE)
-AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
-AC_SUBST(INTLTOOL_CAVES_RULE)
-AC_SUBST(INTLTOOL_SCHEMAS_RULE)
-AC_SUBST(INTLTOOL_THEME_RULE)
-AC_SUBST(INTLTOOL_SERVICE_RULE)
-
-# Use the tools built into the package, not the ones that are installed.
-AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract')
-AC_SUBST(INTLTOOL_MERGE, '$(top_builddir)/intltool-merge')
-AC_SUBST(INTLTOOL_UPDATE, '$(top_builddir)/intltool-update')
-
-AC_PATH_PROG(INTLTOOL_PERL, perl)
-if test -z "$INTLTOOL_PERL"; then
-   AC_MSG_ERROR([perl not found; required for intltool])
-fi
-if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
-   AC_MSG_ERROR([perl 5.x required for intltool])
-fi
-if test "x$2" != "xno-xml"; then
-   AC_MSG_CHECKING([for XML::Parser])
-   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
-       AC_MSG_RESULT([ok])
-   else
-       AC_MSG_ERROR([XML::Parser perl module is required for intltool])
-   fi
-fi
-
-AC_PATH_PROG(INTLTOOL_ICONV, iconv, iconv)
-AC_PATH_PROG(INTLTOOL_MSGFMT, msgfmt, msgfmt)
-AC_PATH_PROG(INTLTOOL_MSGMERGE, msgmerge, msgmerge)
-AC_PATH_PROG(INTLTOOL_XGETTEXT, xgettext, xgettext)
-
-# Substitute ALL_LINGUAS so we can use it in po/Makefile
-AC_SUBST(ALL_LINGUAS)
-    
-IT_PO_SUBDIR([po])
-
-dnl The following is very similar to
-dnl
-dnl	AC_CONFIG_FILES([intltool-extract intltool-merge intltool-update])
-dnl
-dnl with the following slight differences:
-dnl  - the *.in files are in ac_aux_dir,
-dnl  - if the file haven't changed upon reconfigure, it's not touched,
-dnl  - the evaluation of the third parameter enables a hack which computes
-dnl    the actual value of $libdir,
-dnl  - the user sees "executing intltool commands", instead of
-dnl    "creating intltool-extract" and such.
-dnl
-dnl Nothing crucial here, and we could use AC_CONFIG_FILES, if there were
-dnl a reason for it.
-
-AC_CONFIG_COMMANDS([intltool], [
-
-for file in intltool-extract intltool-merge intltool-update; do
-  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
-      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
-      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
-      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
-      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
-      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
-      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
-	< ${ac_aux_dir}/${file}.in > ${file}.out
-  if cmp -s ${file} ${file}.out 2>/dev/null; then
-    rm -f ${file}.out
-  else
-    mv -f ${file}.out ${file}
-  fi
-  chmod ugo+x ${file}
-  chmod u+w ${file}
-done
-
-],
-[INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
-prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" 
-INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
-INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
-INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'])
-
-])
-
-
-# IT_PO_SUBDIR(DIRNAME)
-# ---------------------
-# All po subdirs have to be declared with this macro; the subdir "po" is
-# declared by IT_PROG_INTLTOOL.
-#
-AC_DEFUN([IT_PO_SUBDIR],
-[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
-dnl
-dnl The following CONFIG_COMMANDS should be exetuted at the very end
-dnl of config.status.
-AC_CONFIG_COMMANDS_PRE([
-  AC_CONFIG_COMMANDS([$1/stamp-it], [
-    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
-    >"$1/stamp-it.tmp"
-    [sed '/^#/d
-	 s/^[[].*] *//
-	 /^[ 	]*$/d
-	'"s|^|	$ac_top_srcdir/|" \
-      "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
-    ]
-    if test ! -f "$1/Makefile"; then
-      AC_MSG_ERROR([$1/Makefile is not ready.])
-    fi
-    mv "$1/Makefile" "$1/Makefile.tmp"
-    [sed '/^POTFILES =/,/[^\\]$/ {
-		/^POTFILES =/!d
-		r $1/POTFILES
-	  }
-	 ' "$1/Makefile.tmp" >"$1/Makefile"]
-    rm -f "$1/Makefile.tmp"
-    mv "$1/stamp-it.tmp" "$1/stamp-it"
-  ])
-])dnl
-])
-
-
-# deprecated macros
-AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
-# A hint is needed for aclocal from Automake <= 1.9.4:
-# AC_DEFUN([AC_PROG_INTLTOOL], ...)
-
-
 # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
 # 
 # Copyright © 2004 Scott James Remnant <scott at netsplit.com>.
@@ -7607,654 +6940,753 @@
 fi[]dnl
 ])# PKG_CHECK_MODULES
 
-# Copyright (C) 1995-2002 Free Software Foundation, Inc.
-# Copyright (C) 2001-2003,2004 Red Hat, Inc.
+# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 #
-# This file is free software, distributed under the terms of the GNU
-# General Public License.  As a special exception to the GNU General
-# Public License, this file may be distributed as part of a program
-# that contains a configuration script generated by Autoconf, under
-# the same distribution terms as the rest of that program.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION so it can be traced.
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+	 [AM_AUTOMAKE_VERSION([1.9.6])])
+
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
+
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 #
-# This file can be copied and used freely without restrictions.  It can
-# be used in projects which are not available under the GNU Public License
-# but which still want to provide support for the GNU gettext functionality.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
 #
-# Macro to add for using GNU gettext.
-# Ulrich Drepper <drepper at cygnus.com>, 1995, 1996
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory.  The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run.  This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
 #
-# Modified to never use included libintl. 
-# Owen Taylor <otaylor at redhat.com>, 12/15/1998
+# $ac_aux_dir/missing
+#    fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+#    fails if $ac_aux_dir is absolute,
+#    fails when called from a subdirectory in a VPATH build with
+#          a relative $ac_aux_dir
 #
-# Major rework to remove unused code
-# Owen Taylor <otaylor at redhat.com>, 12/11/2002
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir.  In an in-source build this is usually
+# harmless because $srcdir is `.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
 #
-# Added better handling of ALL_LINGUAS from GNU gettext version 
-# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+#   MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
 #
-# Modified to require ngettext
-# Matthias Clasen <mclasen at redhat.com> 08/06/2004
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH.  The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_CONDITIONAL                                            -*- Autoconf -*-
+
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
+# Free Software Foundation, Inc.
 #
-# We need this here as well, since someone might use autoconf-2.5x
-# to configure GLib then an older version to configure a package
-# using AM_GLIB_GNU_GETTEXT
-AC_PREREQ(2.53)
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-dnl
-dnl We go to great lengths to make sure that aclocal won't 
-dnl try to pull in the installed version of these macros
-dnl when running aclocal in the glib directory.
-dnl
-m4_copy([AC_DEFUN],[glib_DEFUN])
-m4_copy([AC_REQUIRE],[glib_REQUIRE])
-dnl
-dnl At the end, if we're not within glib, we'll define the public
-dnl definitions in terms of our private definitions.
-dnl
+# serial 7
 
-# GLIB_LC_MESSAGES
-#--------------------
-glib_DEFUN([GLIB_LC_MESSAGES],
-  [AC_CHECK_HEADERS([locale.h])
-    if test $ac_cv_header_locale_h = yes; then
-    AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
-      [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
-       am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
-    if test $am_cv_val_LC_MESSAGES = yes; then
-      AC_DEFINE(HAVE_LC_MESSAGES, 1,
-        [Define if your <locale.h> file defines LC_MESSAGES.])
-    fi
-  fi])
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ(2.52)dnl
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])
+AC_SUBST([$1_FALSE])
+if $2; then
+  $1_TRUE=
+  $1_FALSE='#'
+else
+  $1_TRUE='#'
+  $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+  AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
 
-# GLIB_PATH_PROG_WITH_TEST
-#----------------------------
-dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
-dnl   TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
-glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
-[# Extract the first word of "$2", so it can be a program name with args.
-set dummy $2; ac_word=[$]2
-AC_MSG_CHECKING([for $ac_word])
-AC_CACHE_VAL(ac_cv_path_$1,
-[case "[$]$1" in
-  /*)
-  ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
-  ;;
-  *)
-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
-  for ac_dir in ifelse([$5], , $PATH, [$5]); do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      if [$3]; then
-	ac_cv_path_$1="$ac_dir/$ac_word"
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 8
+
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery.  Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
+                   [depcc="$$1"   am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+               [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # instance it was reported that on HP-UX the gcc test will end up
+  # making a dummy file named `D' -- because `-MD' means `put the output
+  # in D'.
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+  # We will build objects and dependencies in a subdirectory because
+  # it helps to detect inapplicable dependency modes.  For instance
+  # both Tru64's cc and ICC support -MD to output dependencies as a
+  # side effect of compilation, but ICC will put the dependencies in
+  # the current directory while Tru64 will put them in the object
+  # directory.
+  mkdir sub
+
+  am_cv_$1_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+  fi
+  for depmode in $am_compiler_list; do
+    # Setup a source with many dependencies, because some compilers
+    # like to wrap large dependency lists on column 80 (with \), and
+    # we should not choose a depcomp mode which is confused by this.
+    #
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    : > sub/conftest.c
+    for i in 1 2 3 4 5 6; do
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+      # Solaris 8's {/usr,}/bin/sh.
+      touch sub/conftst$i.h
+    done
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+    case $depmode in
+    nosideeffect)
+      # after this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested
+      if test "x$enable_dependency_tracking" = xyes; then
+	continue
+      else
 	break
       fi
+      ;;
+    none) break ;;
+    esac
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle `-M -o', and we need to detect this.
+    if depmode=$depmode \
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+         >/dev/null 2>conftest.err &&
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      # icc doesn't choke on unknown options, it will just issue warnings
+      # or remarks (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored or not supported.
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
+      #   icc: Command line warning: ignoring option '-M'; no argument required
+      # The diagnosis changed in icc 8.0:
+      #   icc: Command line remark: option '-MP' not supported
+      if (grep 'ignoring option' conftest.err ||
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+        am_cv_$1_dependencies_compiler_type=$depmode
+        break
+      fi
     fi
   done
-  IFS="$ac_save_ifs"
-dnl If no 4th arg is given, leave the cache variable unset,
-dnl so AC_PATH_PROGS will keep looking.
-ifelse([$4], , , [  test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
-])dnl
-  ;;
-esac])dnl
-$1="$ac_cv_path_$1"
-if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
-  AC_MSG_RESULT([$]$1)
+
+  cd ..
+  rm -rf conftest.dir
 else
-  AC_MSG_RESULT(no)
+  am_cv_$1_dependencies_compiler_type=none
 fi
-AC_SUBST($1)dnl
 ])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
 
-# GLIB_WITH_NLS
-#-----------------
-glib_DEFUN([GLIB_WITH_NLS],
-  dnl NLS is obligatory
-  [USE_NLS=yes
-    AC_SUBST(USE_NLS)
 
-    gt_cv_have_gettext=no
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
 
-    CATOBJEXT=NONE
-    XGETTEXT=:
-    INTLLIBS=
 
-    AC_CHECK_HEADER(libintl.h,
-     [gt_cv_func_dgettext_libintl="no"
-      libintl_extra_libs=""
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE(dependency-tracking,
+[  --disable-dependency-tracking  speeds up one-time build
+  --enable-dependency-tracking   do not reject slow dependency extractors])
+if test "x$enable_dependency_tracking" != xno; then
+  am_depcomp="$ac_aux_dir/depcomp"
+  AMDEPBACKSLASH='\'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])
+])
 
-      #
-      # First check in libc
-      #
-      AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
-        [AC_TRY_LINK([
-#include <libintl.h>
-],
-         [return !ngettext ("","", 1)],
-	  gt_cv_func_ngettext_libc=yes,
-          gt_cv_func_ngettext_libc=no)
-        ])
-  
-      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
-	      AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
-        	[AC_TRY_LINK([
-#include <libintl.h>
-],
-	          [return !dgettext ("","")],
-		  gt_cv_func_dgettext_libc=yes,
-	          gt_cv_func_dgettext_libc=no)
-        	])
-      fi
-  
-      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
-        AC_CHECK_FUNCS(bind_textdomain_codeset)
-      fi
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
 
-      #
-      # If we don't have everything we want, check in libintl
-      #
-      if test "$gt_cv_func_dgettext_libc" != "yes" \
-	 || test "$gt_cv_func_ngettext_libc" != "yes" \
-         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
-        
-        AC_CHECK_LIB(intl, bindtextdomain,
-	    [AC_CHECK_LIB(intl, ngettext,
-		    [AC_CHECK_LIB(intl, dgettext,
-			          gt_cv_func_dgettext_libintl=yes)])])
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
-	  AC_MSG_CHECKING([if -liconv is needed to use gettext])
-	  AC_MSG_RESULT([])
-  	  AC_CHECK_LIB(intl, ngettext,
-          	[AC_CHECK_LIB(intl, dcgettext,
-		       [gt_cv_func_dgettext_libintl=yes
-			libintl_extra_libs=-liconv],
-			:,-liconv)],
-		:,-liconv)
-        fi
+#serial 3
 
-        #
-        # If we found libintl, then check in it for bind_textdomain_codeset();
-        # we'll prefer libc if neither have bind_textdomain_codeset(),
-        # and both have dgettext and ngettext
-        #
-        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
-          glib_save_LIBS="$LIBS"
-          LIBS="$LIBS -lintl $libintl_extra_libs"
-          unset ac_cv_func_bind_textdomain_codeset
-          AC_CHECK_FUNCS(bind_textdomain_codeset)
-          LIBS="$glib_save_LIBS"
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[for mf in $CONFIG_FILES; do
+  # Strip MF so we end up with the name of the file.
+  mf=`echo "$mf" | sed -e 's/:.*$//'`
+  # Check whether this is an Automake generated Makefile or not.
+  # We used to match only the files named `Makefile.in', but
+  # some people rename them; so instead we look at the file content.
+  # Grep'ing the first line is not enough: some people post-process
+  # each Makefile.in and add a new line on top of each file to say so.
+  # So let's grep whole file.
+  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+    dirpart=`AS_DIRNAME("$mf")`
+  else
+    continue
+  fi
+  # Extract the definition of DEPDIR, am__include, and am__quote
+  # from the Makefile without running `make'.
+  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+  test -z "$DEPDIR" && continue
+  am__include=`sed -n 's/^am__include = //p' < "$mf"`
+  test -z "am__include" && continue
+  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+  # When using ansi2knr, U may be empty or an underscore; expand it
+  U=`sed -n 's/^U = //p' < "$mf"`
+  # Find all dependency output files, they are included files with
+  # $(DEPDIR) in their names.  We invoke sed twice because it is the
+  # simplest approach to changing $(DEPDIR) to its actual value in the
+  # expansion.
+  for file in `sed -n "
+    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+    # Make sure the directory exists.
+    test -f "$dirpart/$file" && continue
+    fdir=`AS_DIRNAME(["$file"])`
+    AS_MKDIR_P([$dirpart/$fdir])
+    # echo "creating $dirpart/$file"
+    echo '# dummy' > "$dirpart/$file"
+  done
+done
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
 
-          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
-            gt_cv_func_dgettext_libc=no
-          else
-            if test "$gt_cv_func_dgettext_libc" = "yes" \
-		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
-              gt_cv_func_dgettext_libintl=no
-            fi
-          fi
-        fi
-      fi
 
-      if test "$gt_cv_func_dgettext_libc" = "yes" \
-	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
-        gt_cv_have_gettext=yes
-      fi
-  
-      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
-        INTLLIBS="-lintl $libintl_extra_libs"
-      fi
-  
-      if test "$gt_cv_have_gettext" = "yes"; then
-	AC_DEFINE(HAVE_GETTEXT,1,
-	  [Define if the GNU gettext() function is already present or preinstalled.])
-	GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
-	  [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
-	if test "$MSGFMT" != "no"; then
-          glib_save_LIBS="$LIBS"
-          LIBS="$LIBS $INTLLIBS"
-	  AC_CHECK_FUNCS(dcgettext)
-	  AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
-	  GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
-	    [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
-	  AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
-			 return _nl_msg_cat_cntr],
-	    [CATOBJEXT=.gmo 
-             DATADIRNAME=share],
-	    [case $host in
-	    *-*-solaris*)
-	    dnl On Solaris, if bind_textdomain_codeset is in libc,
-	    dnl GNU format message catalog is always supported,
-            dnl since both are added to the libc all together.
-	    dnl Hence, we'd like to go with DATADIRNAME=share and
-	    dnl and CATOBJEXT=.gmo in this case.
-            AC_CHECK_FUNC(bind_textdomain_codeset,
-	      [CATOBJEXT=.gmo 
-               DATADIRNAME=share],
-	      [CATOBJEXT=.mo
-               DATADIRNAME=lib])
-	    ;;
-	    *)
-	    CATOBJEXT=.mo
-            DATADIRNAME=lib
-	    ;;
-	    esac])
-          LIBS="$glib_save_LIBS"
-	  INSTOBJEXT=.mo
-	else
-	  gt_cv_have_gettext=no
-	fi
-      fi
-    ])
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled.  FIXME.  This creates each `.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
 
-    if test "$gt_cv_have_gettext" = "yes" ; then
-      AC_DEFINE(ENABLE_NLS, 1,
-        [always defined to indicate that i18n is enabled])
-    fi
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-    dnl Test whether we really found GNU xgettext.
-    if test "$XGETTEXT" != ":"; then
-      dnl If it is not GNU xgettext we define it as : so that the
-      dnl Makefiles still can work.
-      if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
-        : ;
-      else
-        AC_MSG_RESULT(
-	  [found xgettext program is not GNU xgettext; ignore it])
-        XGETTEXT=":"
-      fi
-    fi
+# serial 8
 
-    # We need to process the po/ directory.
-    POSUB=po
+# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
 
-    AC_OUTPUT_COMMANDS(
-      [case "$CONFIG_FILES" in *po/Makefile.in*)
-        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
-      esac])
+# Do all the work for Automake.                             -*- Autoconf -*-
 
-    dnl These rules are solely for the distribution goal.  While doing this
-    dnl we only have to keep exactly one list of the available catalogs
-    dnl in configure.in.
-    for lang in $ALL_LINGUAS; do
-      GMOFILES="$GMOFILES $lang.gmo"
-      POFILES="$POFILES $lang.po"
-    done
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-    dnl Make all variables we use known to autoconf.
-    AC_SUBST(CATALOGS)
-    AC_SUBST(CATOBJEXT)
-    AC_SUBST(DATADIRNAME)
-    AC_SUBST(GMOFILES)
-    AC_SUBST(INSTOBJEXT)
-    AC_SUBST(INTLLIBS)
-    AC_SUBST(PO_IN_DATADIR_TRUE)
-    AC_SUBST(PO_IN_DATADIR_FALSE)
-    AC_SUBST(POFILES)
-    AC_SUBST(POSUB)
-  ])
+# serial 12
 
-# AM_GLIB_GNU_GETTEXT
-# -------------------
-# Do checks necessary for use of gettext. If a suitable implementation 
-# of gettext is found in either in libintl or in the C library,
-# it will set INTLLIBS to the libraries needed for use of gettext
-# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
-# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
-# on various variables needed by the Makefile.in.in installed by 
-# glib-gettextize.
-dnl
-glib_DEFUN([GLIB_GNU_GETTEXT],
-  [AC_REQUIRE([AC_PROG_CC])dnl
-   AC_REQUIRE([AC_HEADER_STDC])dnl
-   
-   GLIB_LC_MESSAGES
-   GLIB_WITH_NLS
+# This macro actually does too much.  Some checks are only needed if
+# your package does certain things.  But this isn't really a big deal.
 
-   if test "$gt_cv_have_gettext" = "yes"; then
-     if test "x$ALL_LINGUAS" = "x"; then
-       LINGUAS=
-     else
-       AC_MSG_CHECKING(for catalogs to be installed)
-       NEW_LINGUAS=
-       for presentlang in $ALL_LINGUAS; do
-         useit=no
-         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
-           desiredlanguages="$LINGUAS"
-         else
-           desiredlanguages="$ALL_LINGUAS"
-         fi
-         for desiredlang in $desiredlanguages; do
- 	   # Use the presentlang catalog if desiredlang is
-           #   a. equal to presentlang, or
-           #   b. a variant of presentlang (because in this case,
-           #      presentlang can be used as a fallback for messages
-           #      which are not translated in the desiredlang catalog).
-           case "$desiredlang" in
-             "$presentlang"*) useit=yes;;
-           esac
-         done
-         if test $useit = yes; then
-           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
-         fi
-       done
-       LINGUAS=$NEW_LINGUAS
-       AC_MSG_RESULT($LINGUAS)
-     fi
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition.  After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.58])dnl
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+# test to see if srcdir already configured
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
+   test -f $srcdir/config.status; then
+  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+fi
 
-     dnl Construct list of names of catalog files to be constructed.
-     if test -n "$LINGUAS"; then
-       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
-     fi
-   fi
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+  if (cygpath --version) >/dev/null 2>/dev/null; then
+    CYGPATH_W='cygpath -w'
+  else
+    CYGPATH_W=echo
+  fi
+fi
+AC_SUBST([CYGPATH_W])
 
-   dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
-   dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
-   dnl Try to locate is.
-   MKINSTALLDIRS=
-   if test -n "$ac_aux_dir"; then
-     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
-   fi
-   if test -z "$MKINSTALLDIRS"; then
-     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
-   fi
-   AC_SUBST(MKINSTALLDIRS)
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
 
-   dnl Generate list of files to be processed by xgettext which will
-   dnl be included in po/Makefile.
-   test -d po || mkdir po
-   if test "x$srcdir" != "x."; then
-     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
-       posrcprefix="$srcdir/"
-     else
-       posrcprefix="../$srcdir/"
-     fi
-   else
-     posrcprefix="../"
-   fi
-   rm -f po/POTFILES
-   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
-	< $srcdir/po/POTFILES.in > po/POTFILES
-  ])
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
 
-# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
-# -------------------------------
-# Define VARIABLE to the location where catalog files will
-# be installed by po/Makefile.
-glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
-[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
-glib_save_prefix="$prefix"
-glib_save_exec_prefix="$exec_prefix"
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-test "x$exec_prefix" = xNONE && exec_prefix=$prefix
-if test "x$CATOBJEXT" = "x.mo" ; then
-  localedir=`eval echo "${libdir}/locale"`
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
+AM_MISSING_PROG(AUTOCONF, autoconf)
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
+AM_MISSING_PROG(AUTOHEADER, autoheader)
+AM_MISSING_PROG(MAKEINFO, makeinfo)
+AM_PROG_INSTALL_SH
+AM_PROG_INSTALL_STRIP
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+	      		     [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+                  [_AM_DEPENDENCIES(CC)],
+                  [define([AC_PROG_CC],
+                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+                  [_AM_DEPENDENCIES(CXX)],
+                  [define([AC_PROG_CXX],
+                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+])
+])
+
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated.  The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+  case $_am_header in
+    $1 | $1:* )
+      break ;;
+    * )
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+  esac
+done
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
+AC_SUBST(install_sh)])
+
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot.  For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+  am__leading_dot=.
 else
-  localedir=`eval echo "${datadir}/locale"`
+  am__leading_dot=_
 fi
-prefix="$glib_save_prefix"
-exec_prefix="$glib_save_exec_prefix"
-AC_DEFINE_UNQUOTED($1, "$localedir",
-  [Define the location where the catalogs will be installed])
-])
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
 
-dnl
-dnl Now the definitions that aclocal will find
-dnl
-ifdef(glib_configure_in,[],[
-AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
-AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
-])dnl
+# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
+# From Jim Meyering
 
-dnl -*- mode: autoconf -*-
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# serial 1
+# serial 4
 
-dnl Usage:
-dnl   GTK_DOC_CHECK([minimum-gtk-doc-version])
-AC_DEFUN([GTK_DOC_CHECK],
-[
-  AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
-  AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
-  dnl for overriding the documentation installation directory
-  AC_ARG_WITH(html-dir,
-    AC_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
-    [with_html_dir='${datadir}/gtk-doc/html'])
-  HTML_DIR="$with_html_dir"
-  AC_SUBST(HTML_DIR)
+AC_DEFUN([AM_MAINTAINER_MODE],
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+  dnl maintainer-mode is disabled by default
+  AC_ARG_ENABLE(maintainer-mode,
+[  --enable-maintainer-mode  enable make rules and dependencies not useful
+			  (and sometimes confusing) to the casual installer],
+      USE_MAINTAINER_MODE=$enableval,
+      USE_MAINTAINER_MODE=no)
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
+  MAINT=$MAINTAINER_MODE_TRUE
+  AC_SUBST(MAINT)dnl
+]
+)
 
-  dnl enable/disable documentation building
-  AC_ARG_ENABLE(gtk-doc,
-    AC_HELP_STRING([--enable-gtk-doc],
-                   [use gtk-doc to build documentation [default=no]]),,
-    enable_gtk_doc=no)
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
 
-  have_gtk_doc=no
-  if test x$enable_gtk_doc = xyes; then
-    if test -z "$PKG_CONFIG"; then
-      AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-    fi
-    if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then
-      have_gtk_doc=yes
-    fi
+# Check to see how 'make' treats includes.	            -*- Autoconf -*-
 
-  dnl do we want to do a version check?
-ifelse([$1],[],,
-    [gtk_doc_min_version=$1
-    if test "$have_gtk_doc" = yes; then
-      AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version])
-      if $PKG_CONFIG --atleast-version $gtk_doc_min_version gtk-doc; then
-        AC_MSG_RESULT(yes)
-      else
-        AC_MSG_RESULT(no)
-        have_gtk_doc=no
-      fi
-    fi
-])
-    if test "$have_gtk_doc" != yes; then
-      enable_gtk_doc=no
-    fi
-  fi
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-  AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
-  AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, test -n "$LIBTOOL")
-])
+# serial 3
 
-dnl copied from pygtk
-dnl
-dnl a macro to check for ability to create python extensions
-dnl  AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
-dnl function also defines PYTHON_INCLUDES
-AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
-[AC_REQUIRE([AM_PATH_PYTHON])
-AC_MSG_CHECKING(for python development headers)
-dnl deduce PYTHON_INCLUDES
-py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
-py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
-if test "$py_prefix" != "$py_exec_prefix"; then
-  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+	@echo done
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# We grep out `Entering directory' and `Leaving directory'
+# messages which can occur if `w' ends up in MAKEFLAGS.
+# In particular we don't look at `^make:' because GNU make might
+# be invoked under some other name (usually "gmake"), in which
+# case it prints its new name instead of `make'.
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
+   am__include=include
+   am__quote=
+   _am_result=GNU
 fi
-AC_SUBST(PYTHON_INCLUDES)
-dnl check if the headers exist:
-save_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
-AC_TRY_CPP([#include <Python.h>],dnl
-[AC_MSG_RESULT(found)
-$1],dnl
-[AC_MSG_RESULT(not found)
-$2])
-CPPFLAGS="$save_CPPFLAGS"
-])
-
-dnl copied and modified from gnome-python
-dnl http://cvs.gnome.org/viewcvs/*checkout*/gnome-python/pygtk/m4/python.m4
-dnl
-dnl AM_CHECK_PYMOD(MODNAME [,VERSION, VERSION_MATCHER [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]])
-dnl Check if a module of a particular version is visible to python.
-AC_DEFUN([AM_CHECK_PYMOD],
-[AC_REQUIRE([AM_PATH_PYTHON])
-py_mod_var=`echo $1`
-AC_MSG_CHECKING(for python module $1 ifelse([$2],[],,[>= $2]))
-AC_CACHE_VAL(py_cv_mod_$py_mod_var, [
-ifelse([$2],[], [prog="
-import sys
-try:
-        import $1
-except ImportError:
-        sys.exit(1)
-except:
-        sys.exit(0)
-sys.exit(0)"], [prog="
-import sys, string, $1
-curverstr = $3
-# use method from AM_PYTHON_CHECK_VERSION
-minver = map(int, string.split('$2', '.')) + [[0, 0, 0]]
-minverhex = 0
-for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]]
-curver = map(int, string.split(curverstr, '.')) + [[0, 0, 0]]
-curverhex = 0
-for i in xrange(0, 4): curverhex = (curverhex << 8) + curver[[i]]
-if (curverhex >= minverhex):
-        sys.exit(0)
-else:
-        sys.exit(1)
-sys.exit(0)"])
-if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC
-  then
-    eval "py_cv_mod_$py_mod_var=yes"
-  else
-    eval "py_cv_mod_$py_mod_var=no"
-  fi
-])
-py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
-if test "x$py_val" != xno; then
-  AC_MSG_RESULT(yes)
-  ifelse([$4], [],, [$4
-])dnl
-else
-  AC_MSG_RESULT(no)
-  ifelse([$5], [],, [$5
-])dnl
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+   echo '.include "confinc"' > confmf
+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
+      am__include=.include
+      am__quote="\""
+      _am_result=BSD
+   fi
 fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
 ])
 
-dnl check for python
-AC_DEFUN([LIBGPOD_CHECK_PYTHON],
-[
-    dnl aclocal-1.7 is missing this when version is used in AM_PATH_PYTHON, fudge it
-    am_display_PYTHON=python
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
-    AC_ARG_WITH(python,
-        AC_HELP_STRING([--with-python=PATH],
-            [build python bindings [[default=yes]]]),
-        [with_python=$withval],[with_python=yes])
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-    AC_MSG_CHECKING(whether to build python bindings)
-    if test "X$with_python" != Xno; then
-        if test "X$with_python" != Xyes; then
-            PYTHON=$with_python
-        fi
-        with_python=yes
-    fi
-    AC_MSG_RESULT($with_python)
+# serial 4
 
-    if test "X$with_python" == Xyes; then
-        if test -z "$PYTHON"; then
-            AC_PATH_PROG(PYTHON, python)
-        fi
-    
-        if test -n "$PYTHON"; then
-            AM_PATH_PYTHON($PYTHON_MIN_VERSION)
-            AM_CHECK_PYTHON_HEADERS(with_python="yes",with_python="no")
-    
-            if test "X$with_python" == Xyes; then
-                dnl test for python ldflags
-                dnl copied from the Redland RDF bindings, http://librdf.org/
-                if test `uname` = Darwin; then
-                    PYTHON_LDFLAGS="-Wl,-F. -Wl,-F. -bundle"
-                    if $PYTHON -c 'import sys, string; sys.exit(string.find(sys.prefix,"Framework")+1)'; then
-                        :
-                    else
-                        PYTHON_LDFLAGS="$PYTHON_LDFLAGS -framework Python"
-                    fi
-                else
-                    PYTHON_LDFLAGS="-shared"
-                fi
-                AC_SUBST(PYTHON_LDFLAGS)
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
 
-                dnl check for eyeD3 module >= $PYTHON_EYED3_MIN_VERSION
-                AM_CHECK_PYMOD(eyeD3,$PYTHON_EYED3_MIN_VERSION,eyeD3.eyeD3Version,,with_python=no)
 
-                dnl check for swig
-                if test "X$with_python" == Xyes; then
-                    AC_PROG_SWIG($SWIG_MIN_VERSION)
-                    with_python="$has_swig"
-                fi
-            fi
-        else
-            AC_MSG_WARN(python not found.  try --with-python=/path/to/python)
-            with_python="no"
-        fi
-    fi
-    AM_CONDITIONAL(HAVE_PYTHON, test x$with_python = xyes)
-])dnl
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it supports --run.
+# If it does, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+  am_missing_run="$MISSING --run "
+else
+  am_missing_run=
+  AC_MSG_WARN([`missing' script is too old or missing])
+fi
+])
 
+# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
+# AM_PROG_MKDIR_P
+# ---------------
+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
+#
+# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
+# created by `make install' are always world readable, even if the
+# installer happens to have an overly restrictive umask (e.g. 077).
+# This was a mistake.  There are at least two reasons why we must not
+# use `-m 0755':
+#   - it causes special bits like SGID to be ignored,
+#   - it may be too restrictive (some setups expect 775 directories).
+#
+# Do not use -m 0755 and let people choose whatever they expect by
+# setting umask.
+#
+# We cannot accept any implementation of `mkdir' that recognizes `-p'.
+# Some implementations (such as Solaris 8's) are not thread-safe: if a
+# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
+# concurrently, both version can detect that a/ is missing, but only
+# one can create it and the other will error out.  Consequently we
+# restrict ourselves to GNU make (using the --version option ensures
+# this.)
+AC_DEFUN([AM_PROG_MKDIR_P],
+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
+  # We used to keeping the `.' as first argument, in order to
+  # allow $(mkdir_p) to be used without argument.  As in
+  #   $(mkdir_p) $(somedir)
+  # where $(somedir) is conditionally defined.  However this is wrong
+  # for two reasons:
+  #  1. if the package is installed by a user who cannot write `.'
+  #     make install will fail,
+  #  2. the above comment should most certainly read
+  #     $(mkdir_p) $(DESTDIR)$(somedir)
+  #     so it does not work when $(somedir) is undefined and
+  #     $(DESTDIR) is not.
+  #  To support the latter case, we have to write
+  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
+  #  so the `.' trick is pointless.
+  mkdir_p='mkdir -p --'
+else
+  # On NextStep and OpenStep, the `mkdir' command does not
+  # recognize any option.  It will interpret all options as
+  # directories to create, and then abort because `.' already
+  # exists.
+  for d in ./-p ./--version;
+  do
+    test -d $d && rmdir $d
+  done
+  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
+  if test -f "$ac_aux_dir/mkinstalldirs"; then
+    mkdir_p='$(mkinstalldirs)'
+  else
+    mkdir_p='$(install_sh) -d'
+  fi
+fi
+AC_SUBST([mkdir_p])])
 
-# Copyright 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
+# Helper functions for option handling.                     -*- Autoconf -*-
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# serial 3
 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 
-# AM_PATH_PYTHON([MINIMUM-VERSION])
+# _AM_SET_OPTION(NAME)
+# ------------------------------
+# Set option NAME.  Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
+# _AM_SET_OPTIONS(OPTIONS)
+# ----------------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# ---------------------------------------------------------------------------
 # Adds support for distributing Python modules and packages.  To
 # install modules, copy them to $(pythondir), using the python_PYTHON
 # automake variable.  To install a package with the same name as the
 # automake package, install to $(pkgpythondir), or use the
 # pkgpython_PYTHON automake variable.
-
+#
 # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
 # locations to install python extension modules (shared libraries).
 # Another macro is required to find the appropriate flags to compile
 # extension modules.
-
+#
 # If your package is configured with a different prefix to python,
 # users will have to add the install directory to the PYTHONPATH
 # environment variable, or create a .pth file (see the python
 # documentation for details).
-
+#
 # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
 # cause an error if the version of python installed on the system
 # doesn't meet the requirement.  MINIMUM-VERSION should consist of
 # numbers and dots only.
-
 AC_DEFUN([AM_PATH_PYTHON],
  [
   dnl Find a Python interpreter.  Python versions prior to 1.5 are not
   dnl supported because the default installation locations changed from
   dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
   dnl in 1.5.
-  m4_define([_AM_PYTHON_INTERPRETER_LIST],
-	    [python python2 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5])
+  m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
+                    [python python2 python2.5 python2.4 python2.3 python2.2 dnl
+python2.1 python2.0 python1.6 python1.5])
 
   m4_if([$1],[],[
     dnl No version check is needed.
     # Find any Python interpreter.
-    AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST)
+    if test -z "$PYTHON"; then
+      AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
+    fi
     am_display_PYTHON=python
   ], [
     dnl A version check is needed.
@@ -8264,23 +7696,31 @@
       AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
 			      [AC_MSG_RESULT(yes)],
 			      [AC_MSG_ERROR(too old)])
+      am_display_PYTHON=$PYTHON
     else
       # Otherwise, try each interpreter until we find one that satisfies
       # VERSION.
       AC_CACHE_CHECK([for a Python interpreter with version >= $1],
 	[am_cv_pathless_PYTHON],[
-	for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST : ; do
-          if test "$am_cv_pathless_PYTHON" = : ; then
-            AC_MSG_ERROR([no suitable Python interpreter found])
-	  fi
-          AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
-        done])
+	for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
+	  test "$am_cv_pathless_PYTHON" = none && break
+	  AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
+	done])
       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
-      AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
+      if test "$am_cv_pathless_PYTHON" = none; then
+	PYTHON=:
+      else
+        AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
+      fi
       am_display_PYTHON=$am_cv_pathless_PYTHON
     fi
   ])
 
+  if test "$PYTHON" = :; then
+  dnl Run any user-specified action, or abort.
+    m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
+  else
+
   dnl Query Python for its version number.  Getting [:3] seems to be
   dnl the best way to do this; it's what "site.py" does in the standard
   dnl library.
@@ -8340,6 +7780,11 @@
   dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
 
   AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
+
+  dnl Run any user-specified action.
+  $2
+  fi
+
 ])
 
 
@@ -8361,23 +7806,12 @@
 sys.exit(sys.hexversion < minverhex)"
   AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
 
-# Copyright 2001 Free Software Foundation, Inc.             -*- Autoconf -*-
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
 # AM_RUN_LOG(COMMAND)
 # -------------------
 # Run COMMAND, save the exit status in ac_status, and log it.
@@ -8389,160 +7823,183 @@
    echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
    (exit $ac_status); }])
 
-dnl @synopsis AC_PROG_SWIG([major.minor.micro])
-dnl
-dnl This macro searches for a SWIG installation on your system. If
-dnl found you should call SWIG via $(SWIG). You can use the optional
-dnl first argument to check if the version of the available SWIG is
-dnl greater than or equal to the value of the argument. It should have
-dnl the format: N[.N[.N]] (N is a number between 0 and 999. Only the
-dnl first N is mandatory.)
-dnl
-dnl If the version argument is given (e.g. 1.3.17), AC_PROG_SWIG checks
-dnl that the swig package is this version number or higher.
-dnl
-dnl In configure.in, use as:
-dnl
-dnl             AC_PROG_SWIG(1.3.17)
-dnl             SWIG_ENABLE_CXX
-dnl             SWIG_MULTI_MODULE_SUPPORT
-dnl             SWIG_PYTHON
-dnl
-dnl @category InstalledPackages
-dnl @author Sebastian Huber <sebastian-huber at web.de>
-dnl @author Alan W. Irwin <irwin at beluga.phys.uvic.ca>
-dnl @author Rafael Laboissiere <rafael at laboissiere.net>
-dnl @author Andrew Collier <abcollier at yahoo.com>
-dnl @version 2004-09-20
-dnl @license GPLWithACException
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
-AC_DEFUN([AC_PROG_SWIG],[
-        AC_PATH_PROG([SWIG],[swig])
-        if test -z "$SWIG" ; then
-                AC_MSG_WARN([cannot find 'swig' program. You should look at http://www.swig.org])
-                SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
-        elif test -n "$1" ; then
-                AC_MSG_CHECKING([for SWIG version])
-                [swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
-                AC_MSG_RESULT([$swig_version])
-                if test -n "$swig_version" ; then
-                        # Calculate the required version number components
-                        [required=$1]
-                        [required_major=`echo $required | sed 's/[^0-9].*//'`]
-                        if test -z "$required_major" ; then
-                                [required_major=0]
-                        fi
-                        [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
-                        [required_minor=`echo $required | sed 's/[^0-9].*//'`]
-                        if test -z "$required_minor" ; then
-                                [required_minor=0]
-                        fi
-                        [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
-                        [required_patch=`echo $required | sed 's/[^0-9].*//'`]
-                        if test -z "$required_patch" ; then
-                                [required_patch=0]
-                        fi
-                        # Calculate the available version number components
-                        [available=$swig_version]
-                        [available_major=`echo $available | sed 's/[^0-9].*//'`]
-                        if test -z "$available_major" ; then
-                                [available_major=0]
-                        fi
-                        [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
-                        [available_minor=`echo $available | sed 's/[^0-9].*//'`]
-                        if test -z "$available_minor" ; then
-                                [available_minor=0]
-                        fi
-                        [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
-                        [available_patch=`echo $available | sed 's/[^0-9].*//'`]
-                        if test -z "$available_patch" ; then
-                                [available_patch=0]
-                        fi
-                        if test $available_major -ne $required_major \
-                                -o $available_minor -ne $required_minor \
-                                -o $available_patch -lt $required_patch ; then
-                                AC_MSG_WARN([SWIG version >= $1 is required.  You have $swig_version.  You should look at http://www.swig.org])
-                                SWIG='echo "Error: SWIG version >= $1 is required.  You have '"$swig_version"'.  You should look at http://www.swig.org" ; false'
-                                has_swig="no"
-                        else
-                                SWIG_LIB=`$SWIG -swiglib`
-                                has_swig="yes"
-                        fi
-                else
-                        AC_MSG_WARN([cannot determine SWIG version])
-                        SWIG='echo "Error: Cannot determine SWIG version.  You should look at http://www.swig.org" ; false'
-                        has_swig="no"
-                fi
-        fi
-        AC_SUBST([SWIG_LIB])
-])
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# SWIG_ENABLE_CXX()
+# serial 4
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+   if test "$[*]" = "X"; then
+      # -L didn't work.
+      set X `ls -t $srcdir/configure conftest.file`
+   fi
+   rm -f conftest.file
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+      # If neither matched, then we have a broken ls.  This can happen
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
+      # broken ls alias from the environment.  This has actually
+      # happened.  Such a system could not be considered "sane".
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
+alias in your environment])
+   fi
+
+   test "$[2]" = conftest.file
+   )
+then
+   # Ok.
+   :
+else
+   AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT(yes)])
+
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 #
-# Enable SWIG C++ support.  This affects all invocations of $(SWIG).
-AC_DEFUN([SWIG_ENABLE_CXX],[
-        AC_REQUIRE([AC_PROG_SWIG])
-        AC_REQUIRE([AC_PROG_CXX])
-        SWIG="$SWIG -c++"
-])
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# SWIG_MULTI_MODULE_SUPPORT()
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor `install' (even GNU) is that you can't
+# specify the program used to strip binaries.  This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in `make install-strip', and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'.  However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+if test "$cross_compiling" != no; then
+  AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Check how to create a tarball.                            -*- Autoconf -*-
+
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 #
-# Enable support for multiple modules.  This effects all invocations
-# of $(SWIG).  You have to link all generated modules against the
-# appropriate SWIG runtime library.  If you want to build Python
-# modules for example, use the SWIG_PYTHON() macro and link the
-# modules against $(SWIG_PYTHON_LIBS).
-#
-AC_DEFUN([SWIG_MULTI_MODULE_SUPPORT],[
-        AC_REQUIRE([AC_PROG_SWIG])
-        SWIG="$SWIG -noruntime"
-])
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# SWIG_PYTHON([use-shadow-classes = {no, yes}])
+# serial 2
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of `v7', `ustar', or `pax'.
 #
-# Checks for Python and provides the $(SWIG_PYTHON_CPPFLAGS),
-# and $(SWIG_PYTHON_OPT) output variables.
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+#     tardir=directory && $(am__tar) > result.tar
 #
-# $(SWIG_PYTHON_OPT) contains all necessary SWIG options to generate
-# code for Python.  Shadow classes are enabled unless the value of the
-# optional first argument is exactly 'no'.  If you need multi module
-# support (provided by the SWIG_MULTI_MODULE_SUPPORT() macro) use
-# $(SWIG_PYTHON_LIBS) to link against the appropriate library.  It
-# contains the SWIG Python runtime library that is needed by the type
-# check system for example.
-AC_DEFUN([SWIG_PYTHON],[
-        AC_REQUIRE([AC_PROG_SWIG])
-        AC_REQUIRE([AC_PYTHON_DEVEL])
-        test "x$1" != "xno" || swig_shadow=" -noproxy"
-        AC_SUBST([SWIG_PYTHON_OPT],[-python$swig_shadow])
-        AC_SUBST([SWIG_PYTHON_CPPFLAGS],[$PYTHON_CPPFLAGS])
-])
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+#     $(am__untar) < result.tar
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility.
+AM_MISSING_PROG([AMTAR], [tar])
+m4_if([$1], [v7],
+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
+     [m4_case([$1], [ustar],, [pax],,
+              [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of `-'.
+for _am_tool in $_am_tools
+do
+  case $_am_tool in
+  gnutar)
+    for _am_tar in tar gnutar gtar;
+    do
+      AM_RUN_LOG([$_am_tar --version]) && break
+    done
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+    am__untar="$_am_tar -xf -"
+    ;;
+  plaintar)
+    # Must skip GNU tar: if it does not support --format= it doesn't create
+    # ustar tarball either.
+    (tar --version) >/dev/null 2>&1 && continue
+    am__tar='tar chf - "$$tardir"'
+    am__tar_='tar chf - "$tardir"'
+    am__untar='tar xf -'
+    ;;
+  pax)
+    am__tar='pax -L -x $1 -w "$$tardir"'
+    am__tar_='pax -L -x $1 -w "$tardir"'
+    am__untar='pax -r'
+    ;;
+  cpio)
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+    am__untar='cpio -i -H $1 -d'
+    ;;
+  none)
+    am__tar=false
+    am__tar_=false
+    am__untar=false
+    ;;
+  esac
 
+  # If the value was cached, stop now.  We just wanted to have am__tar
+  # and am__untar set.
+  test -n "${am_cv_prog_tar_$1}" && break
 
-dnl @synopsis AC_LIB_WAD
-dnl
-dnl This macro searches for installed WAD library.
-dnl
-AC_DEFUN([AC_LIB_WAD],
-[
-        AC_REQUIRE([AC_PYTHON_DEVEL])
-        AC_ARG_ENABLE(wad,
-        AC_HELP_STRING([--enable-wad], [enable wad module]),
-        [
-                case "${enableval}" in
-                        no)     ;;
-                        *)      if test "x${enableval}" = xyes;
-                                then
-                                        check_wad="yes"
-                                fi ;;
-                esac
-        ], [])
+  # tar/untar a dummy directory, and stop if the command works
+  rm -rf conftest.dir
+  mkdir conftest.dir
+  echo GrepMe > conftest.dir/file
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+  rm -rf conftest.dir
+  if test -s conftest.tar; then
+    AM_RUN_LOG([$am__untar <conftest.tar])
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+  fi
+done
+rm -rf conftest.dir
 
-        if test -n "$check_wad";
-        then
-                AC_CHECK_LIB(wadpy, _init, [WADPY=-lwadpy], [], $PYTHON_LDFLAGS $PYTHON_EXTRA_LIBS)
-                AC_SUBST(WADPY)
-        fi
-])
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
 
+m4_include([m4/gtk-doc.m4])
+m4_include([m4/intltool.m4])
+m4_include([m4/python.m4])
+m4_include([m4/swig.m4])

Modified: libgpod/branches/upstream/current/bindings/Makefile.in
===================================================================
--- libgpod/branches/upstream/current/bindings/Makefile.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/Makefile.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -13,7 +13,6 @@
 # PARTICULAR PURPOSE.
 
 @SET_MAKE@
-
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
@@ -21,7 +20,6 @@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 top_builddir = ..
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
@@ -35,7 +33,31 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+build_triplet = @build@
 host_triplet = @host@
+subdir = bindings
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+	$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
+	$(top_srcdir)/m4/swig.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+	html-recursive info-recursive install-data-recursive \
+	install-exec-recursive install-info-recursive \
+	install-recursive installcheck-recursive installdirs-recursive \
+	pdf-recursive ps-recursive uninstall-info-recursive \
+	uninstall-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 ALL_LINGUAS = @ALL_LINGUAS@
@@ -120,11 +142,9 @@
 INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 LDFLAGS = @LDFLAGS@
-LIBGPOD_AGE = @LIBGPOD_AGE@
 LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
-LIBGPOD_CURRENT = @LIBGPOD_CURRENT@
 LIBGPOD_LIBS = @LIBGPOD_LIBS@
-LIBGPOD_REVISION = @LIBGPOD_REVISION@
+LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
 LIBGPOD_VERSION = @LIBGPOD_VERSION@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
@@ -178,6 +198,8 @@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -203,6 +225,7 @@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 pkgpyexecdir = @pkgpyexecdir@
@@ -217,29 +240,39 @@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 SUBDIRS = python
-subdir = bindings
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-DIST_SOURCES =
-
-RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
-	ps-recursive install-info-recursive uninstall-info-recursive \
-	all-recursive install-data-recursive install-exec-recursive \
-	installdirs-recursive install-recursive uninstall-recursive \
-	check-recursive installcheck-recursive
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
-DIST_SUBDIRS = $(SUBDIRS)
 all: all-recursive
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  bindings/Makefile'; \
 	cd $(top_srcdir) && \
 	  $(AUTOMAKE) --gnu  bindings/Makefile
-Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
 
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
 mostlyclean-libtool:
 	-rm -f *.lo
 
@@ -257,7 +290,13 @@
 #     (which will cause the Makefiles to be regenerated when you run `make');
 # (2) otherwise, pass the desired values on the `make' command line.
 $(RECURSIVE_TARGETS):
-	@set fnord $$MAKEFLAGS; amf=$$2; \
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
 	dot_seen=no; \
 	target=`echo $@ | sed s/-recursive//`; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -269,7 +308,7 @@
 	    local_target="$$target"; \
 	  fi; \
 	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	  || eval $$failcom; \
 	done; \
 	if test "$$dot_seen" = "no"; then \
 	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
@@ -277,7 +316,13 @@
 
 mostlyclean-recursive clean-recursive distclean-recursive \
 maintainer-clean-recursive:
-	@set fnord $$MAKEFLAGS; amf=$$2; \
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
 	dot_seen=no; \
 	case "$@" in \
 	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
@@ -298,7 +343,7 @@
 	    local_target="$$target"; \
 	  fi; \
 	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	  || eval $$failcom; \
 	done && test -z "$$fail"
 tags-recursive:
 	list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -309,14 +354,6 @@
 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 	done
 
-ETAGS = etags
-ETAGSFLAGS =
-
-CTAGS = ctags
-CTAGSFLAGS =
-
-tags: TAGS
-
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
@@ -325,19 +362,22 @@
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	mkid -fID $$unique
+tags: TAGS
 
 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
 	tags=; \
 	here=`pwd`; \
-	if (etags --etags-include --version) >/dev/null 2>&1; then \
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 	  include_option=--etags-include; \
+	  empty_fix=.; \
 	else \
 	  include_option=--include; \
+	  empty_fix=; \
 	fi; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
-	    test -f $$subdir/TAGS && \
+	    test ! -f $$subdir/TAGS || \
 	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
 	  fi; \
 	done; \
@@ -347,10 +387,11 @@
 	  done | \
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
-	test -z "$(ETAGS_ARGS)$$tags$$unique" \
-	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	     $$tags $$unique
-
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
 ctags: CTAGS
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
@@ -373,11 +414,7 @@
 
 distclean-tags:
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = ..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
-
 distdir: $(DISTFILES)
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
@@ -390,7 +427,7 @@
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 	    dir="/$$dir"; \
-	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
 	  else \
 	    dir=''; \
 	  fi; \
@@ -405,15 +442,17 @@
 	    || exit 1; \
 	  fi; \
 	done
-	list='$(SUBDIRS)'; for subdir in $$list; do \
+	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
-	    test -d $(distdir)/$$subdir \
-	    || mkdir $(distdir)/$$subdir \
+	    test -d "$(distdir)/$$subdir" \
+	    || $(mkdir_p) "$(distdir)/$$subdir" \
 	    || exit 1; \
+	    distdir=`$(am__cd) $(distdir) && pwd`; \
+	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
 	    (cd $$subdir && \
 	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$(top_distdir)" \
-	        distdir=../$(distdir)/$$subdir \
+	        top_distdir="$$top_distdir" \
+	        distdir="$$distdir/$$subdir" \
 	        distdir) \
 	      || exit 1; \
 	  fi; \
@@ -423,7 +462,6 @@
 all-am: Makefile
 installdirs: installdirs-recursive
 installdirs-am:
-
 install: install-recursive
 install-exec: install-exec-recursive
 install-data: install-data-recursive
@@ -443,7 +481,7 @@
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
@@ -461,6 +499,8 @@
 
 dvi-am:
 
+html: html-recursive
+
 info: info-recursive
 
 info-am:
@@ -495,22 +535,18 @@
 
 uninstall-info: uninstall-info-recursive
 
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
-	clean-generic clean-libtool clean-recursive ctags \
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
+	clean clean-generic clean-libtool clean-recursive ctags \
 	ctags-recursive distclean distclean-generic distclean-libtool \
-	distclean-recursive distclean-tags distdir dvi dvi-am \
-	dvi-recursive info info-am info-recursive install install-am \
-	install-data install-data-am install-data-recursive \
-	install-exec install-exec-am install-exec-recursive \
-	install-info install-info-am install-info-recursive install-man \
-	install-recursive install-strip installcheck installcheck-am \
-	installdirs installdirs-am installdirs-recursive \
-	maintainer-clean maintainer-clean-generic \
-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
-	pdf-recursive ps ps-am ps-recursive tags tags-recursive \
-	uninstall uninstall-am uninstall-info-am \
-	uninstall-info-recursive uninstall-recursive
+	distclean-recursive distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs installdirs-am maintainer-clean \
+	maintainer-clean-generic maintainer-clean-recursive \
+	mostlyclean mostlyclean-generic mostlyclean-libtool \
+	mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
+	uninstall uninstall-am uninstall-info-am
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

Modified: libgpod/branches/upstream/current/bindings/python/Makefile.am
===================================================================
--- libgpod/branches/upstream/current/bindings/python/Makefile.am	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/Makefile.am	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,45 +1,62 @@
 SUBDIRS = examples
 
-EXTRA_DIST =		\
-	gpod.i 		\
-	ipod.py 	\
-	__init__.py	\
-	gtkpod.py
+EXTRA_DIST =                \
+        README.in           \
+        __init__.py         \
+        gpod.i.in           \
+        gpod_doc.i.in       \
+        gtkdoc-to-swig.xsl  \
+        gtkpod.py           \
+        ipod.py
 
-CLEANFILES =		\
-	*.pyc		\
-	*.pyo		\
-	_gpod.so	\
-	gpod.py		\
-	gpod_wrap.c	\
-	gpod_wrap.o
+CLEANFILES =                \
+        *.pyc               \
+        *.pyo               \
+        _gpod.so            \
+        gpod.py             \
+        gpod_doc.i          \
+        gpod_wrap.*
 
-if HAVE_PYTHON
-MODULE_CFLAGS	= `$(PKG_CONFIG) --cflags $(top_srcdir)/libgpod-1.0.pc` $(PYTHON_INCLUDES)
-MODULE_LIBS	= `$(PKG_CONFIG) --libs $(top_srcdir)/libgpod-1.0.pc` -L$(top_srcdir)/src/.libs
-python_DATA	= gpod.py _gpod.so
+DISTCLEANFILES =            \
+        README              \
+        gpod.i
 
-gpod_wrap.c: gpod.i
-	$(SWIG) -python gpod.i
+README: README.in gpod.i
+	WRAPPER_LIST=`grep 'PyObject\* sw_[^_].*;' gpod.i | awk -F "[ (]" '{ print $$2 }' | sort -u | tr '\n' ' '`; \
+	sed \
+	    -e "s/@WRAPPER_LIST@/$${WRAPPER_LIST}/" \
+	    -e "/^sw_/ s/ $$//" \
+	    -e "/^sw_/ s/ /\n/g" \
+	    $< > $@
 
-gpod.py: gpod.i
-	$(SWIG) -python gpod.i
+if HAVE_PYTHON
+BUILT_SOURCES = gpod_wrap.c
+SWIG_INTERFACES = gpod.i gpod_doc.i
+LIBGPOD_CFLAGS += -fno-strict-aliasing
+INCLUDES = -I$(top_srcdir)/src
 
-gpod_wrap.o: gpod_wrap.c
-	$(CC) $(MODULE_CFLAGS) -c -fpic gpod_wrap.c
+gpoddir = $(pyexecdir)/gpod
+gpod_PYTHON =  __init__.py gtkpod.py ipod.py
+nodist_gpod_PYTHON = gpod.py
+gpod_LTLIBRARIES = _gpod.la
+nodist__gpod_la_SOURCES = gpod_wrap.c
+_gpod_la_CPPFLAGS = $(PYTHON_INCLUDES) $(LIBGPOD_CFLAGS) $(INCLUDES)
+_gpod_la_LDFLAGS = -module -avoid-version
+_gpod_la_LIBADD = $(LIBGPOD_LIBS) $(top_builddir)/src/libgpod.la
 
-_gpod.so: gpod_wrap.o
-	$(CC) $(MODULE_LIBS) @PYTHON_LDFLAGS@ gpod_wrap.o -o $@
+gpod_doc.i: $(srcdir)/gpod_doc.i.in $(srcdir)/gtkdoc-to-swig.xsl
+	cat $< > $@
+if ENABLE_GTK_DOC
+	-for xml in $(top_srcdir)/docs/reference/xml/*.xml; do \
+	    xsltproc $(srcdir)/gtkdoc-to-swig.xsl $$xml; \
+	done >> $@
+endif
 
-install-pythonDATA: $(python_DATA)
-	$(mkinstalldirs) $(DESTDIR)$(pythondir)/gpod
-	$(INSTALL_PROGRAM) _gpod.so  $(DESTDIR)$(pythondir)/gpod/_gpod.so
-	$(INSTALL_DATA) *.py         $(DESTDIR)$(pythondir)/gpod/
-	$(PYTHON) -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
-	$(PYTHON) -O -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
+gpod_wrap.c: $(SWIG_INTERFACES) $(nodist_gpod_PYTHON)
+	$(SWIG) -python $(INCLUDES) -o $@ $<
 
-uninstall-pythonDATA: $(python_DATA)
-	rm -rf $(DESTDIR)$(pythondir)/gpod
+gpod.py: $(SWIG_INTERFACES)
+	$(SWIG) -python -o $@ $<
 
 test:
 	cd tests && python tests.py

Modified: libgpod/branches/upstream/current/bindings/python/Makefile.in
===================================================================
--- libgpod/branches/upstream/current/bindings/python/Makefile.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/Makefile.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -21,7 +21,6 @@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 top_builddir = ../..
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
@@ -35,7 +34,64 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+build_triplet = @build@
 host_triplet = @host@
+ at HAVE_PYTHON_TRUE@am__append_1 = -fno-strict-aliasing
+subdir = bindings/python
+DIST_COMMON = README $(am__gpod_PYTHON_DIST) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in $(srcdir)/gpod.i.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+	$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
+	$(top_srcdir)/m4/swig.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES = gpod.i
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(gpoddir)" "$(DESTDIR)$(gpoddir)" \
+	"$(DESTDIR)$(gpoddir)"
+gpodLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(gpod_LTLIBRARIES)
+am__DEPENDENCIES_1 =
+ at HAVE_PYTHON_TRUE@_gpod_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+ at HAVE_PYTHON_TRUE@	$(top_builddir)/src/libgpod.la
+ at HAVE_PYTHON_TRUE@nodist__gpod_la_OBJECTS = _gpod_la-gpod_wrap.lo
+_gpod_la_OBJECTS = $(nodist__gpod_la_OBJECTS)
+ at HAVE_PYTHON_TRUE@am__gpod_la_rpath = -rpath $(gpoddir)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(nodist__gpod_la_SOURCES)
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+	html-recursive info-recursive install-data-recursive \
+	install-exec-recursive install-info-recursive \
+	install-recursive installcheck-recursive installdirs-recursive \
+	pdf-recursive ps-recursive uninstall-info-recursive \
+	uninstall-recursive
+am__gpod_PYTHON_DIST = __init__.py gtkpod.py ipod.py
+gpodPYTHON_INSTALL = $(INSTALL_DATA)
+nodist_gpodPYTHON_INSTALL = $(INSTALL_DATA)
+py_compile = $(top_srcdir)/py-compile
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 ALL_LINGUAS = @ALL_LINGUAS@
@@ -120,11 +176,9 @@
 INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 LDFLAGS = @LDFLAGS@
-LIBGPOD_AGE = @LIBGPOD_AGE@
-LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
-LIBGPOD_CURRENT = @LIBGPOD_CURRENT@
+LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@ $(am__append_1)
 LIBGPOD_LIBS = @LIBGPOD_LIBS@
-LIBGPOD_REVISION = @LIBGPOD_REVISION@
+LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
 LIBGPOD_VERSION = @LIBGPOD_VERSION@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
@@ -178,6 +232,8 @@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -203,6 +259,7 @@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 pkgpyexecdir = @pkgpyexecdir@
@@ -217,51 +274,140 @@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 SUBDIRS = examples
-
 EXTRA_DIST = \
-	gpod.i 		\
-	ipod.py 	\
-	__init__.py	\
-	gtkpod.py
+        README.in           \
+        __init__.py         \
+        gpod.i.in           \
+        gpod_doc.i.in       \
+        gtkdoc-to-swig.xsl  \
+        gtkpod.py           \
+        ipod.py
 
-
 CLEANFILES = \
-	*.pyc		\
-	*.pyo		\
-	_gpod.so	\
-	gpod.py		\
-	gpod_wrap.c	\
-	gpod_wrap.o
+        *.pyc               \
+        *.pyo               \
+        _gpod.so            \
+        gpod.py             \
+        gpod_doc.i          \
+        gpod_wrap.*
 
+DISTCLEANFILES = \
+        README              \
+        gpod.i
 
- at HAVE_PYTHON_TRUE@MODULE_CFLAGS = `$(PKG_CONFIG) --cflags $(top_srcdir)/libgpod-1.0.pc` $(PYTHON_INCLUDES)
- at HAVE_PYTHON_TRUE@MODULE_LIBS = `$(PKG_CONFIG) --libs $(top_srcdir)/libgpod-1.0.pc` -L$(top_srcdir)/src/.libs
- at HAVE_PYTHON_TRUE@python_DATA = gpod.py _gpod.so
-subdir = bindings/python
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-DIST_SOURCES =
-DATA = $(python_DATA)
+ at HAVE_PYTHON_TRUE@BUILT_SOURCES = gpod_wrap.c
+ at HAVE_PYTHON_TRUE@SWIG_INTERFACES = gpod.i gpod_doc.i
+ at HAVE_PYTHON_TRUE@INCLUDES = -I$(top_srcdir)/src
+ at HAVE_PYTHON_TRUE@gpoddir = $(pyexecdir)/gpod
+ at HAVE_PYTHON_TRUE@gpod_PYTHON = __init__.py gtkpod.py ipod.py
+ at HAVE_PYTHON_TRUE@nodist_gpod_PYTHON = gpod.py
+ at HAVE_PYTHON_TRUE@gpod_LTLIBRARIES = _gpod.la
+ at HAVE_PYTHON_TRUE@nodist__gpod_la_SOURCES = gpod_wrap.c
+ at HAVE_PYTHON_TRUE@_gpod_la_CPPFLAGS = $(PYTHON_INCLUDES) $(LIBGPOD_CFLAGS) $(INCLUDES)
+ at HAVE_PYTHON_TRUE@_gpod_la_LDFLAGS = -module -avoid-version
+ at HAVE_PYTHON_TRUE@_gpod_la_LIBADD = $(LIBGPOD_LIBS) $(top_builddir)/src/libgpod.la
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-recursive
 
-
-RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
-	ps-recursive install-info-recursive uninstall-info-recursive \
-	all-recursive install-data-recursive install-exec-recursive \
-	installdirs-recursive install-recursive uninstall-recursive \
-	check-recursive installcheck-recursive
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
-DIST_SUBDIRS = $(SUBDIRS)
-all: all-recursive
-
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  bindings/python/Makefile'; \
 	cd $(top_srcdir) && \
 	  $(AUTOMAKE) --gnu  bindings/python/Makefile
-Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
 
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+gpod.i: $(top_builddir)/config.status $(srcdir)/gpod.i.in
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+install-gpodLTLIBRARIES: $(gpod_LTLIBRARIES)
+	@$(NORMAL_INSTALL)
+	test -z "$(gpoddir)" || $(mkdir_p) "$(DESTDIR)$(gpoddir)"
+	@list='$(gpod_LTLIBRARIES)'; for p in $$list; do \
+	  if test -f $$p; then \
+	    f=$(am__strip_dir) \
+	    echo " $(LIBTOOL) --mode=install $(gpodLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(gpoddir)/$$f'"; \
+	    $(LIBTOOL) --mode=install $(gpodLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(gpoddir)/$$f"; \
+	  else :; fi; \
+	done
+
+uninstall-gpodLTLIBRARIES:
+	@$(NORMAL_UNINSTALL)
+	@set -x; list='$(gpod_LTLIBRARIES)'; for p in $$list; do \
+	  p=$(am__strip_dir) \
+	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(gpoddir)/$$p'"; \
+	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(gpoddir)/$$p"; \
+	done
+
+clean-gpodLTLIBRARIES:
+	-test -z "$(gpod_LTLIBRARIES)" || rm -f $(gpod_LTLIBRARIES)
+	@list='$(gpod_LTLIBRARIES)'; for p in $$list; do \
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+	  test "$$dir" != "$$p" || dir=.; \
+	  echo "rm -f \"$${dir}/so_locations\""; \
+	  rm -f "$${dir}/so_locations"; \
+	done
+_gpod.la: $(_gpod_la_OBJECTS) $(_gpod_la_DEPENDENCIES) 
+	$(LINK) $(am__gpod_la_rpath) $(_gpod_la_LDFLAGS) $(_gpod_la_OBJECTS) $(_gpod_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/_gpod_la-gpod_wrap.Plo at am__quote@
+
+.c.o:
+ at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(COMPILE) -c $<
+
+.c.obj:
+ at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+ at am__fastdepCC_TRUE@	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<
+
+_gpod_la-gpod_wrap.lo: gpod_wrap.c
+ at am__fastdepCC_TRUE@	if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gpod_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT _gpod_la-gpod_wrap.lo -MD -MP -MF "$(DEPDIR)/_gpod_la-gpod_wrap.Tpo" -c -o _gpod_la-gpod_wrap.lo `test -f 'gpod_wrap.c' || echo '$(srcdir)/'`gpod_wrap.c; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/_gpod_la-gpod_wrap.Tpo" "$(DEPDIR)/_gpod_la-gpod_wrap.Plo"; else rm -f "$(DEPDIR)/_gpod_la-gpod_wrap.Tpo"; exit 1; fi
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='gpod_wrap.c' object='_gpod_la-gpod_wrap.lo' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gpod_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o _gpod_la-gpod_wrap.lo `test -f 'gpod_wrap.c' || echo '$(srcdir)/'`gpod_wrap.c
+
 mostlyclean-libtool:
 	-rm -f *.lo
 
@@ -271,25 +417,63 @@
 distclean-libtool:
 	-rm -f libtool
 uninstall-info-am:
-pythonDATA_INSTALL = $(INSTALL_DATA)
- at HAVE_PYTHON_FALSE@install-pythonDATA: $(python_DATA)
- at HAVE_PYTHON_FALSE@	@$(NORMAL_INSTALL)
- at HAVE_PYTHON_FALSE@	$(mkinstalldirs) $(DESTDIR)$(pythondir)
- at HAVE_PYTHON_FALSE@	@list='$(python_DATA)'; for p in $$list; do \
- at HAVE_PYTHON_FALSE@	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- at HAVE_PYTHON_FALSE@	  f="`echo $$p | sed -e 's|^.*/||'`"; \
- at HAVE_PYTHON_FALSE@	  echo " $(pythonDATA_INSTALL) $$d$$p $(DESTDIR)$(pythondir)/$$f"; \
- at HAVE_PYTHON_FALSE@	  $(pythonDATA_INSTALL) $$d$$p $(DESTDIR)$(pythondir)/$$f; \
- at HAVE_PYTHON_FALSE@	done
+install-gpodPYTHON: $(gpod_PYTHON)
+	@$(NORMAL_INSTALL)
+	test -z "$(gpoddir)" || $(mkdir_p) "$(DESTDIR)$(gpoddir)"
+	@list='$(gpod_PYTHON)'; dlist=''; for p in $$list; do\
+	  if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
+	  if test -f $$b$$p; then \
+	    f=$(am__strip_dir) \
+	    dlist="$$dlist $$f"; \
+	    echo " $(gpodPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(gpoddir)/$$f'"; \
+	    $(gpodPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(gpoddir)/$$f"; \
+	  else :; fi; \
+	done; \
+	if test -n "$$dlist"; then \
+	  if test -z "$(DESTDIR)"; then \
+	    PYTHON=$(PYTHON) $(py_compile) --basedir "$(gpoddir)" $$dlist; \
+	  else \
+	    PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(gpoddir)" $$dlist; \
+	  fi; \
+	else :; fi
 
- at HAVE_PYTHON_FALSE@uninstall-pythonDATA:
- at HAVE_PYTHON_FALSE@	@$(NORMAL_UNINSTALL)
- at HAVE_PYTHON_FALSE@	@list='$(python_DATA)'; for p in $$list; do \
- at HAVE_PYTHON_FALSE@	  f="`echo $$p | sed -e 's|^.*/||'`"; \
- at HAVE_PYTHON_FALSE@	  echo " rm -f $(DESTDIR)$(pythondir)/$$f"; \
- at HAVE_PYTHON_FALSE@	  rm -f $(DESTDIR)$(pythondir)/$$f; \
- at HAVE_PYTHON_FALSE@	done
+uninstall-gpodPYTHON:
+	@$(NORMAL_UNINSTALL)
+	@list='$(gpod_PYTHON)'; dlist=''; for p in $$list; do\
+	  f=$(am__strip_dir) \
+	  rm -f "$(DESTDIR)$(gpoddir)/$$f"; \
+	  rm -f "$(DESTDIR)$(gpoddir)/$${f}c"; \
+	  rm -f "$(DESTDIR)$(gpoddir)/$${f}o"; \
+	done
+install-nodist_gpodPYTHON: $(nodist_gpod_PYTHON)
+	@$(NORMAL_INSTALL)
+	test -z "$(gpoddir)" || $(mkdir_p) "$(DESTDIR)$(gpoddir)"
+	@list='$(nodist_gpod_PYTHON)'; dlist=''; for p in $$list; do\
+	  if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
+	  if test -f $$b$$p; then \
+	    f=$(am__strip_dir) \
+	    dlist="$$dlist $$f"; \
+	    echo " $(nodist_gpodPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(gpoddir)/$$f'"; \
+	    $(nodist_gpodPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(gpoddir)/$$f"; \
+	  else :; fi; \
+	done; \
+	if test -n "$$dlist"; then \
+	  if test -z "$(DESTDIR)"; then \
+	    PYTHON=$(PYTHON) $(py_compile) --basedir "$(gpoddir)" $$dlist; \
+	  else \
+	    PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(gpoddir)" $$dlist; \
+	  fi; \
+	else :; fi
 
+uninstall-nodist_gpodPYTHON:
+	@$(NORMAL_UNINSTALL)
+	@list='$(nodist_gpod_PYTHON)'; dlist=''; for p in $$list; do\
+	  f=$(am__strip_dir) \
+	  rm -f "$(DESTDIR)$(gpoddir)/$$f"; \
+	  rm -f "$(DESTDIR)$(gpoddir)/$${f}c"; \
+	  rm -f "$(DESTDIR)$(gpoddir)/$${f}o"; \
+	done
+
 # This directory's subdirectories are mostly independent; you can cd
 # into them and run `make' without going through this Makefile.
 # To change the values of `make' variables: instead of editing Makefiles,
@@ -297,7 +481,13 @@
 #     (which will cause the Makefiles to be regenerated when you run `make');
 # (2) otherwise, pass the desired values on the `make' command line.
 $(RECURSIVE_TARGETS):
-	@set fnord $$MAKEFLAGS; amf=$$2; \
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
 	dot_seen=no; \
 	target=`echo $@ | sed s/-recursive//`; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -309,7 +499,7 @@
 	    local_target="$$target"; \
 	  fi; \
 	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	  || eval $$failcom; \
 	done; \
 	if test "$$dot_seen" = "no"; then \
 	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
@@ -317,7 +507,13 @@
 
 mostlyclean-recursive clean-recursive distclean-recursive \
 maintainer-clean-recursive:
-	@set fnord $$MAKEFLAGS; amf=$$2; \
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
 	dot_seen=no; \
 	case "$@" in \
 	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
@@ -338,7 +534,7 @@
 	    local_target="$$target"; \
 	  fi; \
 	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	  || eval $$failcom; \
 	done && test -z "$$fail"
 tags-recursive:
 	list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -349,14 +545,6 @@
 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 	done
 
-ETAGS = etags
-ETAGSFLAGS =
-
-CTAGS = ctags
-CTAGSFLAGS =
-
-tags: TAGS
-
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
@@ -365,19 +553,22 @@
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	mkid -fID $$unique
+tags: TAGS
 
 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
 	tags=; \
 	here=`pwd`; \
-	if (etags --etags-include --version) >/dev/null 2>&1; then \
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 	  include_option=--etags-include; \
+	  empty_fix=.; \
 	else \
 	  include_option=--include; \
+	  empty_fix=; \
 	fi; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
-	    test -f $$subdir/TAGS && \
+	    test ! -f $$subdir/TAGS || \
 	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
 	  fi; \
 	done; \
@@ -387,10 +578,11 @@
 	  done | \
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
-	test -z "$(ETAGS_ARGS)$$tags$$unique" \
-	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	     $$tags $$unique
-
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
 ctags: CTAGS
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
@@ -413,11 +605,7 @@
 
 distclean-tags:
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = ../..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
-
 distdir: $(DISTFILES)
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
@@ -430,7 +618,7 @@
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 	    dir="/$$dir"; \
-	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
 	  else \
 	    dir=''; \
 	  fi; \
@@ -445,27 +633,32 @@
 	    || exit 1; \
 	  fi; \
 	done
-	list='$(SUBDIRS)'; for subdir in $$list; do \
+	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
-	    test -d $(distdir)/$$subdir \
-	    || mkdir $(distdir)/$$subdir \
+	    test -d "$(distdir)/$$subdir" \
+	    || $(mkdir_p) "$(distdir)/$$subdir" \
 	    || exit 1; \
+	    distdir=`$(am__cd) $(distdir) && pwd`; \
+	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
 	    (cd $$subdir && \
 	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$(top_distdir)" \
-	        distdir=../$(distdir)/$$subdir \
+	        top_distdir="$$top_distdir" \
+	        distdir="$$distdir/$$subdir" \
 	        distdir) \
 	      || exit 1; \
 	  fi; \
 	done
 check-am: all-am
-check: check-recursive
-all-am: Makefile $(DATA)
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-recursive
+all-am: Makefile $(LTLIBRARIES)
 installdirs: installdirs-recursive
 installdirs-am:
-	$(mkinstalldirs) $(DESTDIR)$(pythondir)
-
-install: install-recursive
+	for dir in "$(DESTDIR)$(gpoddir)" "$(DESTDIR)$(gpoddir)" "$(DESTDIR)$(gpoddir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-recursive
 install-exec: install-exec-recursive
 install-data: install-data-recursive
 uninstall: uninstall-recursive
@@ -485,29 +678,36 @@
 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
 	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
 clean: clean-recursive
 
-clean-am: clean-generic clean-libtool mostlyclean-am
+clean-am: clean-generic clean-gpodLTLIBRARIES clean-libtool \
+	mostlyclean-am
 
 distclean: distclean-recursive
+	-rm -rf ./$(DEPDIR)
 	-rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-libtool \
-	distclean-tags
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
 
 dvi: dvi-recursive
 
 dvi-am:
 
+html: html-recursive
+
 info: info-recursive
 
 info-am:
 
-install-data-am: install-pythonDATA
+install-data-am: install-gpodLTLIBRARIES install-gpodPYTHON \
+	install-nodist_gpodPYTHON
 
 install-exec-am:
 
@@ -518,12 +718,14 @@
 installcheck-am:
 
 maintainer-clean: maintainer-clean-recursive
+	-rm -rf ./$(DEPDIR)
 	-rm -f Makefile
 maintainer-clean-am: distclean-am maintainer-clean-generic
 
 mostlyclean: mostlyclean-recursive
 
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
 
 pdf: pdf-recursive
 
@@ -533,51 +735,49 @@
 
 ps-am:
 
-uninstall-am: uninstall-info-am uninstall-pythonDATA
+uninstall-am: uninstall-gpodLTLIBRARIES uninstall-gpodPYTHON \
+	uninstall-info-am uninstall-nodist_gpodPYTHON
 
 uninstall-info: uninstall-info-recursive
 
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
-	clean-generic clean-libtool clean-recursive ctags \
-	ctags-recursive distclean distclean-generic distclean-libtool \
-	distclean-recursive distclean-tags distdir dvi dvi-am \
-	dvi-recursive info info-am info-recursive install install-am \
-	install-data install-data-am install-data-recursive \
-	install-exec install-exec-am install-exec-recursive \
-	install-info install-info-am install-info-recursive install-man \
-	install-pythonDATA install-recursive install-strip installcheck \
-	installcheck-am installdirs installdirs-am \
-	installdirs-recursive maintainer-clean maintainer-clean-generic \
-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
-	pdf-recursive ps ps-am ps-recursive tags tags-recursive \
-	uninstall uninstall-am uninstall-info-am \
-	uninstall-info-recursive uninstall-pythonDATA \
-	uninstall-recursive
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
+	clean clean-generic clean-gpodLTLIBRARIES clean-libtool \
+	clean-recursive ctags ctags-recursive distclean \
+	distclean-compile distclean-generic distclean-libtool \
+	distclean-recursive distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am \
+	install-gpodLTLIBRARIES install-gpodPYTHON install-info \
+	install-info-am install-man install-nodist_gpodPYTHON \
+	install-strip installcheck installcheck-am installdirs \
+	installdirs-am maintainer-clean maintainer-clean-generic \
+	maintainer-clean-recursive mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
+	pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
+	uninstall-gpodLTLIBRARIES uninstall-gpodPYTHON \
+	uninstall-info-am uninstall-nodist_gpodPYTHON
 
 
- at HAVE_PYTHON_TRUE@gpod_wrap.c: gpod.i
- at HAVE_PYTHON_TRUE@	$(SWIG) -python gpod.i
+README: README.in gpod.i
+	WRAPPER_LIST=`grep 'PyObject\* sw_[^_].*;' gpod.i | awk -F "[ (]" '{ print $$2 }' | sort -u | tr '\n' ' '`; \
+	sed \
+	    -e "s/@WRAPPER_LIST@/$${WRAPPER_LIST}/" \
+	    -e "/^sw_/ s/ $$//" \
+	    -e "/^sw_/ s/ /\n/g" \
+	    $< > $@
 
- at HAVE_PYTHON_TRUE@gpod.py: gpod.i
- at HAVE_PYTHON_TRUE@	$(SWIG) -python gpod.i
+ at HAVE_PYTHON_TRUE@gpod_doc.i: $(srcdir)/gpod_doc.i.in $(srcdir)/gtkdoc-to-swig.xsl
+ at HAVE_PYTHON_TRUE@	cat $< > $@
+ at ENABLE_GTK_DOC_TRUE@@HAVE_PYTHON_TRUE@	-for xml in $(top_srcdir)/docs/reference/xml/*.xml; do \
+ at ENABLE_GTK_DOC_TRUE@@HAVE_PYTHON_TRUE@	    xsltproc $(srcdir)/gtkdoc-to-swig.xsl $$xml; \
+ at ENABLE_GTK_DOC_TRUE@@HAVE_PYTHON_TRUE@	done >> $@
 
- at HAVE_PYTHON_TRUE@gpod_wrap.o: gpod_wrap.c
- at HAVE_PYTHON_TRUE@	$(CC) $(MODULE_CFLAGS) -c -fpic gpod_wrap.c
+ at HAVE_PYTHON_TRUE@gpod_wrap.c: $(SWIG_INTERFACES) $(nodist_gpod_PYTHON)
+ at HAVE_PYTHON_TRUE@	$(SWIG) -python $(INCLUDES) -o $@ $<
 
- at HAVE_PYTHON_TRUE@_gpod.so: gpod_wrap.o
- at HAVE_PYTHON_TRUE@	$(CC) $(MODULE_LIBS) @PYTHON_LDFLAGS@ gpod_wrap.o -o $@
+ at HAVE_PYTHON_TRUE@gpod.py: $(SWIG_INTERFACES)
+ at HAVE_PYTHON_TRUE@	$(SWIG) -python -o $@ $<
 
- at HAVE_PYTHON_TRUE@install-pythonDATA: $(python_DATA)
- at HAVE_PYTHON_TRUE@	$(mkinstalldirs) $(DESTDIR)$(pythondir)/gpod
- at HAVE_PYTHON_TRUE@	$(INSTALL_PROGRAM) _gpod.so  $(DESTDIR)$(pythondir)/gpod/_gpod.so
- at HAVE_PYTHON_TRUE@	$(INSTALL_DATA) *.py         $(DESTDIR)$(pythondir)/gpod/
- at HAVE_PYTHON_TRUE@	$(PYTHON) -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
- at HAVE_PYTHON_TRUE@	$(PYTHON) -O -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
-
- at HAVE_PYTHON_TRUE@uninstall-pythonDATA: $(python_DATA)
- at HAVE_PYTHON_TRUE@	rm -rf $(DESTDIR)$(pythondir)/gpod
-
 @HAVE_PYTHON_TRUE at test:
 @HAVE_PYTHON_TRUE@	cd tests && python tests.py
 # Tell versions [3.59,3.63) of GNU make to not export all variables.

Added: libgpod/branches/upstream/current/bindings/python/README
===================================================================
--- libgpod/branches/upstream/current/bindings/python/README	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/README	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,51 @@
+There are two ways to use the python libgpod bindings.  Both methods use the
+same namespace (gpod) for convenience.  Just "import gpod" to get started using
+either of them.
+
+The first method provides a 'Pythonic' API.  Most uses of this API will start by
+opening the database with gpod.Database() and then calling methods on the
+returned object.  For example, to read an iTunesDB from an iPod at /mnt/ipod
+and print the title for the tracks in the database:
+
+    import gpod
+    db = gpod.Database('/mnt/ipod')
+    for track in db:
+        print track['title']
+
+Please see ipod.py for the implementation details and the scripts in the
+examples directory for some ideas on how to use the bindings.
+
+
+The second method uses the same API as the C implementation.  Prefix the C
+function names with gpod.  For example, to read an iTunesDB from an iPod at
+/mnt/ipod and display the titles for each track:
+
+    import gpod
+    db = gpod.itdb_parse('/mnt/ipod', None)
+    tracks = gpod.sw_get_tracks(db)
+    for track in tracks:
+        print track.title
+
+See the libgpod C API documentation for the details and available functions.
+
+Note: The C API is translated to Python using SWIG (Simplified Wrapper and
+Interface Generator).  This automated translation sometimes exposes functions
+which return data types that are not useful in Python and require helper
+functions in the bindings.  An example is listing playlists; the C API would
+return a GList which means nothing to Python, so a helper function is provided
+that returns a Python list.  These helper functions are prefixed with sw_ to
+denote that they are not native libgpod functions.
+
+The current helper functions are:
+
+sw_get_list_len
+sw_get_playlist
+sw_get_playlists
+sw_get_playlist_tracks
+sw_get_rule
+sw_get_track
+sw_get_tracks
+sw_get_track_userdata
+sw_set_track_userdata
+
+Please see the example scripts for ideas on how to use these functions.

Added: libgpod/branches/upstream/current/bindings/python/README.in
===================================================================
--- libgpod/branches/upstream/current/bindings/python/README.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/README.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,43 @@
+There are two ways to use the python libgpod bindings.  Both methods use the
+same namespace (gpod) for convenience.  Just "import gpod" to get started using
+either of them.
+
+The first method provides a 'Pythonic' API.  Most uses of this API will start by
+opening the database with gpod.Database() and then calling methods on the
+returned object.  For example, to read an iTunesDB from an iPod at /mnt/ipod
+and print the title for the tracks in the database:
+
+    import gpod
+    db = gpod.Database('/mnt/ipod')
+    for track in db:
+        print track['title']
+
+Please see ipod.py for the implementation details and the scripts in the
+examples directory for some ideas on how to use the bindings.
+
+
+The second method uses the same API as the C implementation.  Prefix the C
+function names with gpod.  For example, to read an iTunesDB from an iPod at
+/mnt/ipod and display the titles for each track:
+
+    import gpod
+    db = gpod.itdb_parse('/mnt/ipod', None)
+    tracks = gpod.sw_get_tracks(db)
+    for track in tracks:
+        print track.title
+
+See the libgpod C API documentation for the details and available functions.
+
+Note: The C API is translated to Python using SWIG (Simplified Wrapper and
+Interface Generator).  This automated translation sometimes exposes functions
+which return data types that are not useful in Python and require helper
+functions in the bindings.  An example is listing playlists; the C API would
+return a GList which means nothing to Python, so a helper function is provided
+that returns a Python list.  These helper functions are prefixed with sw_ to
+denote that they are not native libgpod functions.
+
+The current helper functions are:
+
+ at WRAPPER_LIST@
+
+Please see the example scripts for ideas on how to use these functions.

Modified: libgpod/branches/upstream/current/bindings/python/__init__.py
===================================================================
--- libgpod/branches/upstream/current/bindings/python/__init__.py	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/__init__.py	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,3 +1,10 @@
+"""Manage tracks and playlists on an iPod.
+
+The gpod module allows you to add and remove tracks, create and edit
+playlists, and other iPod tasks.
+
+"""
+
 from gpod import *
 from ipod import *
 
@@ -3,3 +10,2 @@
 __all__ = ["DatabaseException", "TrackException",
            "Database","Track","Playlist"]
-

Modified: libgpod/branches/upstream/current/bindings/python/examples/Makefile.in
===================================================================
--- libgpod/branches/upstream/current/bindings/python/examples/Makefile.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/examples/Makefile.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -13,7 +13,6 @@
 # PARTICULAR PURPOSE.
 
 @SET_MAKE@
-
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
@@ -21,7 +20,6 @@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 top_builddir = ../../..
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
@@ -35,7 +33,22 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+build_triplet = @build@
 host_triplet = @host@
+subdir = bindings/python/examples
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+	$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
+	$(top_srcdir)/m4/swig.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 ALL_LINGUAS = @ALL_LINGUAS@
@@ -120,11 +133,9 @@
 INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 LDFLAGS = @LDFLAGS@
-LIBGPOD_AGE = @LIBGPOD_AGE@
 LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
-LIBGPOD_CURRENT = @LIBGPOD_CURRENT@
 LIBGPOD_LIBS = @LIBGPOD_LIBS@
-LIBGPOD_REVISION = @LIBGPOD_REVISION@
+LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
 LIBGPOD_VERSION = @LIBGPOD_VERSION@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
@@ -178,6 +189,8 @@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -203,6 +216,7 @@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 pkgpyexecdir = @pkgpyexecdir@
@@ -221,22 +235,39 @@
              play_with_ipod_api.py create_mp3_tags_from_itdb.py \
              play_with_smart_playlists.py
 
-subdir = bindings/python/examples
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-DIST_SOURCES =
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  bindings/python/examples/Makefile'; \
 	cd $(top_srcdir) && \
 	  $(AUTOMAKE) --gnu  bindings/python/examples/Makefile
-Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
 
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
 mostlyclean-libtool:
 	-rm -f *.lo
 
@@ -252,11 +283,7 @@
 ctags: CTAGS
 CTAGS:
 
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = ../../..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
-
 distdir: $(DISTFILES)
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
@@ -269,7 +296,7 @@
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 	    dir="/$$dir"; \
-	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
 	  else \
 	    dir=''; \
 	  fi; \
@@ -287,7 +314,6 @@
 check-am: all-am
 check: check-am
 all-am: Makefile
-
 installdirs:
 install: install-am
 install-exec: install-exec-am
@@ -308,7 +334,7 @@
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
@@ -325,6 +351,8 @@
 
 dvi-am:
 
+html: html-am
+
 info: info-am
 
 info-am:
@@ -359,10 +387,10 @@
 
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
 	distclean distclean-generic distclean-libtool distdir dvi \
-	dvi-am info info-am install install-am install-data \
-	install-data-am install-exec install-exec-am install-info \
-	install-info-am install-man install-strip installcheck \
-	installcheck-am installdirs maintainer-clean \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-exec install-exec-am \
+	install-info install-info-am install-man install-strip \
+	installcheck installcheck-am installdirs maintainer-clean \
 	maintainer-clean-generic mostlyclean mostlyclean-generic \
 	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
 	uninstall-info-am

Modified: libgpod/branches/upstream/current/bindings/python/examples/create_mp3_tags_from_itdb.py
===================================================================
--- libgpod/branches/upstream/current/bindings/python/examples/create_mp3_tags_from_itdb.py	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/examples/create_mp3_tags_from_itdb.py	2007-01-25 10:43:09 UTC (rev 166)
@@ -32,7 +32,7 @@
 import eyeD3
 
 # please specify your iPod mountpoint here..
-IPOD_MOUNT = '/media/ipod/'
+IPOD_MOUNT = '/mnt/ipod/'
 
 itdb = gpod.itdb_parse( IPOD_MOUNT, None)
 

Modified: libgpod/branches/upstream/current/bindings/python/gpod.i.in
===================================================================
--- libgpod/branches/upstream/current/bindings/python/gpod.i.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/gpod.i.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,4 @@
-/* File : gpod.i */
+/* File : gpod.i.in */
 
 /*
  Copyright (C) 2005 Nick Piper <nick-gtkpod at nickpiper co uk>
@@ -21,23 +21,48 @@
  License along with this code; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
- $Id: gpod.i,v 1.15 2006/05/17 08:26:11 nicholas Exp $
+ $Id: gpod.i.in,v 1.3 2007/01/14 20:29:38 nicholas Exp $
 
 Please send any fixes, improvements or suggestions to
 <nick-gtkpod at nickpiper co uk>.
 
 */
 
-%module gpod
+%define DOCSTRING
+"This module gives access to an iPod's content. It provides an easy to
+use API to retrieve the list of files and playlists stored on an iPod,
+modify them, and save them back to the iPod.
+
+This module implements the libgpod C API as directly as possible in
+Python.  See the main gpod module for a more traditional Python
+interface."
+%enddef
+
+%module(docstring=DOCSTRING) gpod
 %{
-#include "../../src/db-artwork-debug.h" 
-#include "../../src/db-artwork-parser.h" 
-#include "../../src/db-image-parser.h" 
-#include "../../src/db-itunes-parser.h" 
-#include "../../src/db-parse-context.h" 
-#include "../../src/itdb.h" 
-#include "../../src/itdb_private.h"
+#include "db-artwork-debug.h" 
+#include "db-artwork-parser.h" 
+#include "db-image-parser.h" 
+#include "db-itunes-parser.h" 
+#include "db-parse-context.h" 
+#include "itdb.h" 
+#include "itdb_private.h"
 
+/* include prototypes for all functions so builds using
+ * -Wmissing-prototypes don't fail. */
+PyObject* sw_get_tracks(Itdb_iTunesDB *itdb);
+PyObject* sw_get_track(GList *list, gint index);
+PyObject* sw_get_rule(GList *list, gint index);
+PyObject* sw_get_playlist(GList *list, gint index);
+PyObject* sw_get_list_len(GList *list);
+PyObject* sw_get_playlists(Itdb_iTunesDB *itdb);
+PyObject* sw_get_playlist_tracks(Itdb_Playlist *pl);
+PyObject* sw_set_track_userdata(Itdb_Track *track, PyObject *data);
+PyObject* sw_get_track_userdata(Itdb_Track *track);
+PyObject *sw__track_extra_duplicate (PyObject *data);
+void sw__track_extra_destroy (PyObject *data);
+void SWIG_init(void);
+
 PyObject* sw_get_tracks(Itdb_iTunesDB *itdb) {
   PyObject    *list;
   gint        i;
@@ -148,6 +173,8 @@
  
 %}
 
+%include "gpod_doc.i"
+
 # be nicer to decode these utf8 strings into Unicode objects in the C
 # layer. Here we are leaving it to the Python side, and just giving
 # them utf8 encoded Strings.
@@ -280,4 +307,4 @@
 PyObject* sw_set_track_userdata(Itdb_Track *track, PyObject *data);
 PyObject* sw_get_track_userdata(Itdb_Track *track);
 
-%include "../../src/itdb.h"
+%include "@top_srcdir@/src/itdb.h"

Added: libgpod/branches/upstream/current/bindings/python/gpod_doc.i.in
===================================================================
--- libgpod/branches/upstream/current/bindings/python/gpod_doc.i.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/gpod_doc.i.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,86 @@
+%feature("autodoc", "1");
+
+%feature("autodoc", "sw_get_tracks(Itdb_iTunesDB itdb) -> [Itdb_Track, ...]") sw_get_tracks;
+%feature("docstring", "
+Get tracks in itdb.
+
+Parameters
+itdb: an Itdb_iTunesDB
+Returns: a list of Itdb_Track objects
+") sw_get_tracks;
+
+%feature("autodoc", "sw_get_track(GList list, gint index) -> Itdb_Track") sw_get_track;
+%feature("docstring", "
+Get a track
+
+Parameters
+list: a GList
+index: position of the track
+Returns: an Itdb_Track
+") sw_get_track;
+
+%feature("autodoc", "sw_get_rule(GList list, gint index) -> SPLRule") sw_get_rule;
+%feature("docstring", "
+Get a rule
+
+Parameters
+list: a GList
+index: position of the rule
+Returns: an SPLRule
+") sw_get_rule;
+
+%feature("autodoc", "sw_get_playlist(GList list, gint index) -> Itdb_Playlist") sw_get_playlist;
+%feature("docstring", "
+Get a playlist
+
+Parameters
+list: a GList
+index: position of the playlist
+Returns: an Itdb_Playlist
+") sw_get_playlist;
+
+%feature("autodoc", "sw_get_list_len(GList list) -> Int") sw_get_list_len;
+%feature("docstring", "
+Get the length of list
+
+Parameters
+list: a GList
+Returns: length of list
+") sw_get_list_len;
+
+%feature("autodoc", "sw_get_playlists(Itdb_iTunesDB itdb) -> [Itdb_Playlist, ...]") sw_get_playlists;
+%feature("docstring", "
+Get playlists
+
+Parameters
+itdb: an Itdb_iTunesDB
+Returns: a list of Itdb_Playlist objects
+") sw_get_playlists;
+
+%feature("autodoc", "sw_get_playlist_tracks(Itdb_Playlist pl) -> [Itdb_Track, ...]") sw_get_playlist_tracks;
+%feature("docstring", "
+Get tracks in playlist
+
+pl: an Itdb_Playlist
+Returns: a list of Itdb_Track objects
+") sw_get_playlist_tracks;
+
+%feature("autodoc", "sw_set_track_userdata(Itdb_Track track, Dictionary userdata)") sw_set_track_userdata;
+%feature("docstring", "
+Set a tracks userdata
+
+Parameters
+track: an Itdb_Track
+userdata: a dictionary.  Note that userdata can be None, in order to
+clear all userdata.
+") sw_set_track_userdata;
+
+%feature("autodoc", "sw_get_track_userdata(Itdb_Track track) -> Dictionary") sw_get_track_userdata;
+%feature("docstring", "
+Get track userdata
+
+Parameters
+track: an Itdb_Track
+Returns: a dictionary containing any userdata for track
+") sw_get_track_userdata;
+

Added: libgpod/branches/upstream/current/bindings/python/gtkdoc-to-swig.xsl
===================================================================
--- libgpod/branches/upstream/current/bindings/python/gtkdoc-to-swig.xsl	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/gtkdoc-to-swig.xsl	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+  <xsl:output 
+      encoding="ASCII"
+      method="text"/>
+
+  <xsl:template match="/">
+    <xsl:for-each select="//refsect2[./title/anchor/@role='function']">
+      <xsl:text>%feature("docstring", "</xsl:text>
+      <xsl:call-template name="CleanQuotes">
+        <xsl:with-param name="body" select="para"/>
+      </xsl:call-template>
+      <xsl:if test="variablelist[@role='params']">
+	<xsl:text>&#10;&#10;Parameters&#10;</xsl:text>
+	<xsl:for-each select="variablelist[@role='params']/varlistentry">
+	  <xsl:call-template name="CleanQuotes">
+	    <!-- We're going to remove the nbsp chars as we're rendering to python docstrings -->
+	    <xsl:with-param name="body" select="translate(term,'&#160;','')"/>
+	  </xsl:call-template>
+	  <xsl:call-template name="CleanQuotes">
+	    <xsl:with-param name="body" select="translate(listitem,'&#160;','')"/>
+	  </xsl:call-template>
+	</xsl:for-each>
+      </xsl:if>
+      <xsl:text>") </xsl:text>
+      <xsl:value-of select="substring-before(./title[./anchor/@role='function'],' ')"/>
+      <xsl:text>; &#10;</xsl:text>
+    </xsl:for-each>
+  </xsl:template>
+
+  <!-- recursive cleaner, matches string to first quote then recurses to
+       process the rest
+       Note how it uses a When to test if the termination condition of no
+       quotes has been reached
+       -->
+
+
+  <xsl:template name="CleanQuotes"><xsl:param name="body"/>
+  <xsl:choose>
+    <xsl:when test="contains($body, '&quot;')">
+      <xsl:value-of select="substring-before($body, '&quot;')" />
+        <xsl:text>\&quot;</xsl:text>
+        <xsl:call-template name="CleanQuotes">
+          <xsl:with-param name="body" select="substring-after($body,'&quot;')"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$body"/><!-- finished recursing -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  
+</xsl:stylesheet>

Modified: libgpod/branches/upstream/current/bindings/python/gtkpod.py
===================================================================
--- libgpod/branches/upstream/current/bindings/python/gtkpod.py	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/gtkpod.py	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,21 +1,28 @@
-#!/usr/bin/env python
+"""Read and write Gtkpod extended info files."""
+
 import sha
 import os
 import socket
+import types
+import locale
 
 # This file is originally stolen from pypod-0.5.0
 # http://superduper.net/index.py?page=pypod
 # I hope that's ok, both works are GPL.
 
 hostname = socket.gethostname()
+defaultencoding = locale.getpreferredencoding()
 
 class ParseError(Exception):
+    """Exception for parse errors."""
     pass
 
 class SyncError(Exception):
+    """Exception for sync errors."""
     pass
 
 def sha1_hash(filename):
+    """Return an SHA1 hash on the first 16k of a file."""
     import struct
     # only hash the first 16k
     hash_len = 4*4096
@@ -26,34 +33,71 @@
     return hash.hexdigest()
 
 def write(filename, db, itunesdb_file):
+    """Save extended info to a file.
+
+    db is a gpod.Database instance
+
+    Extended info is written for the iTunesDB specified in
+    itunesdb_file
+
+    """
+
     file = open(filename, "w")
 
     def write_pair(name, value):
-        value = unicode(value).encode("utf-8")
+        if isinstance(value,types.UnicodeType):
+            # encode as UTF-8
+            value = value.encode("utf-8")
+        elif isinstance(value,types.StringType):
+            # assume it's in our default locale, so decode
+            # then re-encode as UTF-8
+            value = unicode(value,
+                            defaultencoding).encode("utf-8")
+        else:
+            value = str(value)
+            
+            
         file.write("=".join([name, value]))
         file.write('\n')
 
     write_pair("itunesdb_hash", sha1_hash(itunesdb_file))
-    write_pair("version", "0.88.1")
+    write_pair("version", "0.99.9")
 
     for track in db:
         write_pair("id", track['id'])
         if not track['userdata']:
             track['userdata'] = {}
-        track['userdata']['filename_ipod'] = track.ipod_filename()
+        if track['ipod_path']:
+            track['userdata']['filename_ipod'] = track['ipod_path']
+        hash_name = 'sha1_hash'
         try:
-            del track['userdata']['md5_hash']
-        except IndexError:
-            pass
-        if track['userdata'].has_key('filename_locale') and not track['userdata'].has_key('md5_hash'):
+            del track['userdata'][hash_name]
+        except KeyError:
+            # recent gpod uses sha1_hash, older uses md5_hash            
+            try:
+                del track['userdata'][hash_name]
+                hash_name = 'md5_hash'
+            except KeyError:
+                # we'll just write a sha1_hash then
+                pass
+        if track['userdata'].has_key('filename_locale') and not track['userdata'].has_key(hash_name):
             if os.path.exists(track['userdata']['filename_locale']):
-                track['userdata']['md5_hash'] = sha1_hash(
+                track['userdata'][hash_name] = sha1_hash(
                     track['userdata']['filename_locale'])
         [write_pair(i[0],i[1]) for i in track['userdata'].items()]
 
     write_pair("id", "xxx")
 
 def parse(filename, db, itunesdb_file=None):
+    """Load extended info from a file.
+
+    db is a gpod.Database instance
+
+    If itunesdb_file is set and it's hash is valid some expensive
+    checks are skipped.
+
+    """
+
     tracks_by_id  = {}
     tracks_by_sha = {}    
     id = 0
@@ -93,7 +137,13 @@
             tracks_by_id[id]['userdata'] = ext_block
     else:
         for track in db:
+            # make a dict to allow us to find each track by the sha1_hash
             tracks_by_sha[sha1_hash(track.ipod_filename())] = track
         for ext_block in ext_data.values():
-            tracks_by_sha[ext_block['md5_hash']]['userdata'] = ext_block
+            try:
+                track = tracks_by_sha[ext_block['sha1_hash']]
+            except KeyError:
+                # recent gpod uses sha1_hash, older uses md5_hash
+                track = tracks_by_sha[ext_block['md5_hash']]                
+            track['userdata'] = ext_block
 

Modified: libgpod/branches/upstream/current/bindings/python/ipod.py
===================================================================
--- libgpod/branches/upstream/current/bindings/python/ipod.py	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/bindings/python/ipod.py	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,6 +1,8 @@
-"""Documentation for this module.
+"""Manage tracks and playlists on an iPod.
 
-More details.
+You should normally just import the gpod module which will import the
+classes and methods provided here.
+
 """
 
 import gpod
@@ -10,13 +12,41 @@
 import os
 
 class DatabaseException(RuntimeError):
+    """Exception for database errors."""
     pass
 
 class TrackException(RuntimeError):
+    """Exception for track errors."""
     pass
 
 class Database:
+    """An iTunes database.
+
+    A database contains playlists and tracks.
+
+    """
+
     def __init__(self, mountpoint="/mnt/ipod", local=False, localdb=None):
+        """Create a Database object.
+
+        You can create the object from a mounted iPod or from a local
+        database file.
+
+        To use a mounted iPod:
+
+            db = gpod.Database('/mnt/ipod')
+
+        To use a local database file:
+
+            db = gpod.Database(localdb='/path/to/iTunesDB')
+
+        If you specify local=True then the default local database from
+        gtkpod will be used (~/.gtkpod/local_0.itdb):
+
+            db = gpod.Database(local=True)
+
+        """
+
         if local or localdb:
             if localdb:
                 self._itdb_file = localdb
@@ -37,7 +67,7 @@
 
     def __str__(self):
         return self.__repr__()
-    
+
     def __repr__(self):
         return "<Database Filename:%s Playlists:%s Tracks:%s>" % (
             repr(self._itdb.filename),
@@ -45,12 +75,21 @@
             len(self))
 
     def _load_gtkpod_extended_info(self):
+        """Read extended information from a gtkpod .ext file."""
         itdbext_file = "%s.ext" % (self._itdb_file)
 
         if os.path.exists(self._itdb_file) and os.path.exists(itdbext_file):
             gtkpod.parse(itdbext_file, self, self._itdb_file)
 
     def close(self):
+        """Save and close the database.
+
+        Note: If you are working with an iPod you should normally call
+        copy_delayed_files() prior to close() to ensure that newly
+        added or updated tracks are transferred to the iPod.
+
+        """
+
         if not gpod.itdb_write_file(self._itdb, self._itdb_file, None):
             raise DatabaseException("Unable to save iTunes database %s" % self)
         itdbext_file = "%s.ext" % (self._itdb_file)        
@@ -62,24 +101,49 @@
         else:
             if index < 0:
                 index += len(self)
-            return Track(proxied_track=gpod.sw_get_track(self._itdb.tracks, index))
+            return Track(proxied_track=gpod.sw_get_track(self._itdb.tracks, index),
+                         ownerdb=self)
 
     def __len__(self):
         return gpod.sw_get_list_len(self._itdb.tracks)
 
     def import_file(self, filename):
+        """Import a file.
+
+        filename is added to the end of the master playlist.
+
+        """
         track = Track(filename)
         track.copy_to_ipod()
         gpod.itdb_playlist_add_track(gpod.itdb_playlist_mpl(self._itdb),
                                      track._track, -1)
+        track.__database = self # so the db doesn't get gc'd
 
     def __del__(self):
         gpod.itdb_free(self._itdb)
 
     def add(self, track, pos=-1):
+        """Add a track to a database.
+
+        If pos is set the track will be inserted at that position.  By
+        default the track will be added at the end of the database.
+
+        """
+
         gpod.itdb_track_add(self._itdb, track._track, pos)
+        track.__database = self # so the db doesn't get gc'd
 
     def remove(self, item, harddisk=False, ipod=True):
+        """Remove a playlist or track from a database.
+
+        item is either a playlist or track object.
+
+        If harddisk is True the item will be removed from the the hard drive.
+
+        If ipod is True the item will be removed from the iPod.
+
+        """
+
         if isinstance(item, Playlist):
             if ipod or harddisk:
                 # remove all the tracks that were in this playlist
@@ -109,12 +173,15 @@
             raise DatabaseException("Unable to remove a %s from database" % type(item))
 
     def get_master(self):
+        """Get the Master playlist."""
         return Playlist(self,proxied_playlist=gpod.itdb_playlist_mpl(self._itdb))
 
     def get_podcasts(self):
+        """Get the podcasts playlist."""
         return Playlist(self,proxied_playlist=gpod.itdb_playlist_podcasts(self._itdb))
 
     def get_playlists(self):
+        """Get all playlists."""
         return _Playlists(self)
 
     Master   = property(get_master)
@@ -122,21 +189,48 @@
     Playlists= property(get_playlists) 
 
     def smart_update(self):
+        """Update all smart playlists."""
         gpod.itdb_spl_update_all(self._itdb)
 
     def new_Playlist(self,*args,**kwargs):
+        """Create a new Playlist.
+
+        See Playlist.__init__() for details.
+
+        """
+
         return Playlist(self, *args,**kwargs)
 
     def new_Track(self,**kwargs):
+        """Create a new Track.
+
+        See Track.__init__() for details.
+
+        """
+
         track = Track(**kwargs)
         self.add(track)
         if kwargs.has_key('podcast') and kwargs['podcast'] == True:
             self.Podcasts.add(track)
         else:
             self.Master.add(track)
+        track.__database = self # so the db doesn't get gc'd            
         return track
 
     def copy_delayed_files(self,callback=False):
+        """Copy files not marked as transferred to the iPod.
+
+        callback is an optional function that will be called for each
+        track that is copied.  It will be passed the following
+        arguments:
+
+            database -> the database object
+            track    -> the track being copied
+            iterator -> the current track number being copied
+            total    -> the total tracks to be copied
+
+        """
+
         if not gpod.itdb_get_mountpoint(self._itdb):
             # we're not working with a real ipod.
             return
@@ -157,10 +251,22 @@
             track.copy_to_ipod()
 
 class Track:
+    """A track in an iTunes database.
+
+    A track contains information like the artist, title, album, etc.
+    It also contains data like the location on the iPod, whether there
+    is artwork stored, the track has lyrics, etc.
+
+    Information from a gtkpod extended info file (if one exists for
+    the iTunesDB) is also available in Track['userdata'].
+
+    The information is stored in a dictionary.
+
+    """
+
     # Note we don't free the underlying structure, as it's still used
     # by the itdb.
-    
-    
+
     _proxied_attributes = ("title","ipod_path","album","artist","genre","filetype",
                            "comment","category","composer","grouping","description",
                            "podcasturl","podcastrss","chapterdata","subtitle","id",
@@ -178,7 +284,21 @@
                            "usertype")
 
     def __init__(self, filename=None, from_file=None,
-                 proxied_track=None, podcast=False):
+                 proxied_track=None, podcast=False, ownerdb=None):
+        """Create a Track object.
+
+        If from_file or filename is set, the file specified will be
+        used to create the track.
+
+        If proxied_track is set, it is expected to be an Itdb_Track
+        object.
+
+        If podcast is True then the track will be setup as a Podcast,
+        unless proxied_track is set. 
+
+        """
+
+        # XXX couldn't from_file and filename be merged? 
         if from_file:
             filename = from_file
         if filename:
@@ -216,11 +336,13 @@
             self.set_podcast(podcast)
         elif proxied_track:
             self._track = proxied_track
+            self.__database = ownerdb # so the db doesn't get gc'd
         else:
             self._track = gpod.itdb_track_new()
-        self.set_podcast(podcast)
+            self.set_podcast(podcast)
 
     def copy_to_ipod(self):
+        """Copy the track to the iPod."""
         self['userdata']['md5_hash'] = gtkpod.sha1_hash(
             self['userdata']['filename_locale'])
         if not gpod.itdb_get_mountpoint(self._track.itdb):
@@ -234,21 +356,37 @@
         return True
 
     def ipod_filename(self):
+        """Get the full path to the track on the iPod.
+
+        Note (from the libgpod documentation): This code works around
+        a problem on some systems and might return a filename with
+        different case than the original filename. Don't copy it back
+        to track unless you must.
+
+        """
+
         return gpod.itdb_filename_on_ipod(self._track)
 
     def set_podcast(self, value):
+        """Mark the track as a podcast.
+
+        If value is True flags appropriate for podcasts are set,
+        otherwise those flags are unset.
+
+        """
+
         if value:
             self['skip_when_shuffling'] = 0x01
             self['remember_playback_position'] = 0x01
-            self['flag4'] = 0x01 # Show Title/Album on the 'Now Playing' page            
+            self['flag4'] = 0x01 # Show Title/Album on the 'Now Playing' page
         else:
             self['skip_when_shuffling'] = 0x00
             self['remember_playback_position'] = 0x00
-            self['flag4'] = 0x00 # Show Title/Album/Artist on the 'New Playing' page
+            self['flag4'] = 0x00 # Show Title/Album/Artist on the 'Now Playing' page
 
     def __str__(self):
         return self.__repr__()
-    
+
     def __repr__(self):
         return "<Track Artist:%s Title:%s Album:%s>" % (
             repr(self['artist']),
@@ -284,6 +422,8 @@
         else:
             raise KeyError('No such key: %s' % item)
 
+# XXX would this be better as a public variable so that the docs would
+# list valid sort order values?
 _playlist_sorting = {
     1:'playlist',
     2:'unknown2',
@@ -323,7 +463,7 @@
 
     def __nonzero__(self):
         return True
-    
+
     def __getitem__(self, index):
         if type(index) == types.SliceType:
             return [self[i] for i in xrange(*index.indices(len(self)))]
@@ -336,7 +476,7 @@
 
     def __repr__(self):
         return "<Playlists from %s>" % self._db
-    
+
     def __call__(self, id=None, number=None, name=None):
         if ((id and (number or name)) or (number and name)):
             raise ValueError("Only specify id, number OR name")
@@ -373,10 +513,30 @@
                                     proxied_playlist=pl)
                 else:
                     raise KeyError("Playlist with number %s not found." % repr(number))
-        
+
 class Playlist:
+    """A playlist in an iTunes database."""
+
     def __init__(self, parent_db, title="New Playlist",
                  smart=False, pos=-1, proxied_playlist=None):
+        """Create a playlist object.
+
+        parent_db is the database object to which the playlist
+        belongs.
+
+        title is a string that provides a name for the playlist.
+
+        If smart is true the playlist will be a smart playlist.
+
+        If pos is set the track will be inserted at that position.  By
+        default the playlist will be added at the end of the database.
+
+        If proxied_playlist is set it is expected to be an
+        Itdb_Playlist object (as returned by gpod.sw_get_playlist() or
+        similar functions).
+
+        """
+
         self._db = parent_db
         if proxied_playlist:
             self._pl = proxied_playlist
@@ -389,32 +549,71 @@
             gpod.itdb_playlist_add(self._db._itdb, self._pl, pos)
 
     def smart_update(self):
+        """Update the content of the smart playlist."""
         gpod.itdb_spl_update(self._pl)
 
     def randomize(self):
+        """Randomizes the playlist."""
         gpod.itdb_playlist_randomize(self._pl)
 
     def get_name(self):
+        """Get the name of the playlist."""
         return self._pl.name
+
     def set_name(self, name):
+        """Set the name for the playlist."""
         self._pl.name = name
+
     def get_id(self):
+        """Get the id of the playlist."""
         return self._pl.id
+
+    # XXX would this be more aptly named is_smart?  If it was, I think
+    # the docstring could skip the explanation of the return value.
+    # (Same question for get_master and get_podcast.)
     def get_smart(self):
+        """Check if the playlist is smart or not.
+
+        Returns True for a smart playlist, False for a regular
+        playlist.
+
+        """
+
         if self._pl.is_spl == 1:
             return True
         return False
+
     def get_master(self):
+        """Check if the playlist is the master playlist (MPL).
+
+        Returns True if the playlist is the MPL, False if not.
+
+        """
+
         if gpod.itdb_playlist_is_mpl(self._pl) == 1:
             return True
         return False
+
     def get_podcast(self):
+        """Check if the playlist is the podcasts playlist.
+
+        Returns True if the playlist is the podcasts playlist, False
+        if not.
+
+        """
+
         if gpod.itdb_playlist_is_podcasts(self._pl) == 1:
             return True
         return False
+
     def get_sort(self):
+        """Get the sort order for the playlist."""
         return _playlist_sorting[self._pl.sortorder]
+
+    # XXX how does one find out what values are allowed for order without
+    # poking into this file?  (See similar question @ _playlist_order)
     def set_sort(self, order):
+        """Set the sort order for the playlist."""
         order = order.lower()
         for k, v in _playlist_sorting.items():
             if v == order:
@@ -431,7 +630,7 @@
 
     def __str__(self):
         return self.__repr__()
-    
+
     def __repr__(self):
         return "<Playlist Title:%s Sort:%s Smart:%s Master:%s Podcast:%s Tracks:%d>" % (
             repr(self.name),
@@ -440,14 +639,15 @@
             repr(self.master),
             repr(self.podcast),
             len(self))
-        
+
     def __getitem__(self, index):
         if type(index) == types.SliceType:
             return [self[i] for i in xrange(*index.indices(len(self)))]
         else:
             if index < 0:
                 index += len(self)
-            return Track(proxied_track=gpod.sw_get_track(self._pl.members, index))
+            return Track(proxied_track=gpod.sw_get_track(self._pl.members, index),
+                         ownerdb=self)
 
     def __len__(self):
         #return self._pl.num # Always 0 ?
@@ -461,11 +661,26 @@
             return True
         else:
             return False
-    
+
     def add(self, track, pos=-1):
+        """Add a track to the playlist.
+
+        track is a track object to add.
+
+        If pos is set the track will be inserted at that position.  By
+        default the track will be added at the end of the playlist.
+
+        """
+
         gpod.itdb_playlist_add_track(self._pl, track._track, pos)
 
     def remove(self, track):
+        """Remove a track from the playlist.
+
+        track is a track object to remove.
+
+        """
+
         if self.__contains__(track):
             gpod.itdb_playlist_remove_track(self._pl, track._track)
         else:

Modified: libgpod/branches/upstream/current/compile
===================================================================
--- libgpod/branches/upstream/current/compile	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/compile	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,9 @@
 #! /bin/sh
-
 # Wrapper for compilers which do not understand `-c -o'.
 
-# Copyright 1999, 2000 Free Software Foundation, Inc.
+scriptversion=2005-05-14.22
+
+# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
 # Written by Tom Tromey <tromey at cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -17,91 +18,125 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
 # configuration script generated by Autoconf, you may include it under
 # the same distribution terms that you use for the rest of that program.
 
-# Usage:
-# compile PROGRAM [ARGS]...
-# `-o FOO.o' is removed from the args passed to the actual compile.
+# This file is maintained in Automake, please report
+# bugs to <bug-automake at gnu.org> or send patches to
+# <automake-patches at gnu.org>.
 
-# Usage statement added by Billy Biggs <vektor at dumbterm.net>.
-if [ -z $1 ]; then
-    echo "Wrapper for compilers which do not understand '-c -o'."
-    echo "usage: compile PROGRAM [ARGS]..."
-    echo "'-o FOO.o' is removed from the args passed to the actual compile."
-    exit 1
-fi
+case $1 in
+  '')
+     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
+     exit 1;
+     ;;
+  -h | --h*)
+    cat <<\EOF
+Usage: compile [--help] [--version] PROGRAM [ARGS]
 
-prog=$1
-shift
+Wrapper for compilers which do not understand `-c -o'.
+Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
+arguments, and rename the output as expected.
 
+If you are trying to build a whole package this is not the
+right script to run: please start by reading the file `INSTALL'.
+
+Report bugs to <bug-automake at gnu.org>.
+EOF
+    exit $?
+    ;;
+  -v | --v*)
+    echo "compile $scriptversion"
+    exit $?
+    ;;
+esac
+
 ofile=
 cfile=
-args=
-while test $# -gt 0; do
-   case "$1" in
-    -o)
-       # configure might choose to run compile as `compile cc -o foo foo.c'.
-       # So we do something ugly here.
-       ofile=$2
-       shift
-       case "$ofile" in
-	*.o | *.obj)
-	   ;;
-	*)
-	   args="$args -o $ofile"
-	   ofile=
-	   ;;
-       esac
-       ;;
-    *.c)
-       cfile=$1
-       args="$args $1"
-       ;;
-    *)
-       args="$args $1"
-       ;;
-   esac
-   shift
+eat=
+
+for arg
+do
+  if test -n "$eat"; then
+    eat=
+  else
+    case $1 in
+      -o)
+	# configure might choose to run compile as `compile cc -o foo foo.c'.
+	# So we strip `-o arg' only if arg is an object.
+	eat=1
+	case $2 in
+	  *.o | *.obj)
+	    ofile=$2
+	    ;;
+	  *)
+	    set x "$@" -o "$2"
+	    shift
+	    ;;
+	esac
+	;;
+      *.c)
+	cfile=$1
+	set x "$@" "$1"
+	shift
+	;;
+      *)
+	set x "$@" "$1"
+	shift
+	;;
+    esac
+  fi
+  shift
 done
 
 if test -z "$ofile" || test -z "$cfile"; then
-   # If no `-o' option was seen then we might have been invoked from a
-   # pattern rule where we don't need one.  That is ok -- this is a
-   # normal compilation that the losing compiler can handle.  If no
-   # `.c' file was seen then we are probably linking.  That is also
-   # ok.
-   exec "$prog" $args
+  # If no `-o' option was seen then we might have been invoked from a
+  # pattern rule where we don't need one.  That is ok -- this is a
+  # normal compilation that the losing compiler can handle.  If no
+  # `.c' file was seen then we are probably linking.  That is also
+  # ok.
+  exec "$@"
 fi
 
 # Name of file we expect compiler to create.
-cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
+cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
 
 # Create the lock directory.
 # Note: use `[/.-]' here to ensure that we don't use the same name
 # that we are using for the .o file.  Also, base the name on the expected
 # object file name, since that is what matters with a parallel build.
-lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
+lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
 while true; do
-   if mkdir $lockdir > /dev/null 2>&1; then
-      break
-   fi
-   sleep 1
+  if mkdir "$lockdir" >/dev/null 2>&1; then
+    break
+  fi
+  sleep 1
 done
 # FIXME: race condition here if user kills between mkdir and trap.
-trap "rmdir $lockdir; exit 1" 1 2 15
+trap "rmdir '$lockdir'; exit 1" 1 2 15
 
 # Run the compile.
-"$prog" $args
-status=$?
+"$@"
+ret=$?
 
 if test -f "$cofile"; then
-   mv "$cofile" "$ofile"
+  mv "$cofile" "$ofile"
+elif test -f "${cofile}bj"; then
+  mv "${cofile}bj" "$ofile"
 fi
 
-rmdir $lockdir
-exit $status
+rmdir "$lockdir"
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:

Modified: libgpod/branches/upstream/current/configure
===================================================================
--- libgpod/branches/upstream/current/configure	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/configure	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60a.
+# Generated by GNU Autoconf 2.61.
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -10,7 +10,8 @@
 ## M4sh Initialization.  ##
 ## --------------------- ##
 
-# Be Bourne compatible
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
   NULLCMD=:
@@ -19,12 +20,15 @@
   alias -g '${1+"$@"}'='"$@"'
   setopt NO_GLOB_SUBST
 else
-  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
+  case `(set -o) 2>/dev/null` in
+  *posix*) set -o posix ;;
+esac
+
 fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
-DUALCASE=1; export DUALCASE # for MKS sh
 
 
+
+
 # PATH needs CR
 # Avoid depending upon Character Ranges.
 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
@@ -215,7 +219,7 @@
 else
   as_candidate_shells=
     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
@@ -233,7 +237,6 @@
 	 # Try only shells that exist, to save several forks.
 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
-# Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
   NULLCMD=:
@@ -242,18 +245,19 @@
   alias -g '${1+"$@"}'='"$@"'
   setopt NO_GLOB_SUBST
 else
-  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
+  case `(set -o) 2>/dev/null` in
+  *posix*) set -o posix ;;
+esac
+
 fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
-DUALCASE=1; export DUALCASE # for MKS sh
 
+
 :
 _ASEOF
 }; then
   CONFIG_SHELL=$as_shell
 	       as_have_required=yes
 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
-# Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
   NULLCMD=:
@@ -262,11 +266,13 @@
   alias -g '${1+"$@"}'='"$@"'
   setopt NO_GLOB_SUBST
 else
-  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
+  case `(set -o) 2>/dev/null` in
+  *posix*) set -o posix ;;
+esac
+
 fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
-DUALCASE=1; export DUALCASE # for MKS sh
 
+
 :
 (as_func_return () {
   (exit $1)
@@ -512,19 +518,28 @@
   as_mkdir_p=false
 fi
 
-# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
-# systems may use methods other than mode bits to determine executability.
-cat >conf$$.file <<_ASEOF
-#! /bin/sh
-exit 0
-_ASEOF
-chmod +x conf$$.file
-if test -x conf$$.file >/dev/null 2>&1; then
-  as_executable_p="test -x"
+if test -x / >/dev/null 2>&1; then
+  as_test_x='test -x'
 else
-  as_executable_p=:
+  if ls -dL / >/dev/null 2>&1; then
+    as_ls_L_option=L
+  else
+    as_ls_L_option=
+  fi
+  as_test_x='
+    eval sh -c '\''
+      if test -d "$1"; then
+        test -d "$1/.";
+      else
+	case $1 in
+        -*)set "./$1";;
+	esac;
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+	???[sx]*):;;*)false;;esac;fi
+    '\'' sh
+  '
 fi
-rm -f conf$$.file
+as_executable_p=$as_test_x
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -790,9 +805,7 @@
 build_alias
 host_alias
 target_alias
-LIBGPOD_CURRENT
-LIBGPOD_REVISION
-LIBGPOD_AGE
+LIBGPOD_SO_VERSION
 LIBGPOD_VERSION
 INSTALL_PROGRAM
 INSTALL_SCRIPT
@@ -805,13 +818,16 @@
 AUTOMAKE
 AUTOHEADER
 MAKEINFO
-AMTAR
 install_sh
 STRIP
 INSTALL_STRIP_PROGRAM
+mkdir_p
 AWK
 SET_MAKE
 am__leading_dot
+AMTAR
+am__tar
+am__untar
 ACLOCAL_AMFLAGS
 MAINTAINER_MODE_TRUE
 MAINTAINER_MODE_FALSE
@@ -832,6 +848,12 @@
 CCDEPMODE
 am__fastdepCC_TRUE
 am__fastdepCC_FALSE
+CXX
+CXXFLAGS
+ac_ct_CXX
+CXXDEPMODE
+am__fastdepCXX_TRUE
+am__fastdepCXX_FALSE
 build
 build_cpu
 build_vendor
@@ -847,12 +869,6 @@
 ECHO
 AR
 RANLIB
-CXX
-CXXFLAGS
-ac_ct_CXX
-CXXDEPMODE
-am__fastdepCXX_TRUE
-am__fastdepCXX_FALSE
 CXXCPP
 F77
 FFLAGS
@@ -885,6 +901,7 @@
 INTLTOOL_MSGMERGE
 INTLTOOL_XGETTEXT
 ALL_LINGUAS
+DATADIRNAME
 PKG_CONFIG
 LIBGPOD_CFLAGS
 LIBGPOD_LIBS
@@ -903,7 +920,6 @@
 XGETTEXT
 CATALOGS
 CATOBJEXT
-DATADIRNAME
 GMOFILES
 INSTOBJEXT
 INTLLIBS
@@ -941,11 +957,12 @@
 CC
 CFLAGS
 LDFLAGS
+LIBS
 CPPFLAGS
-CPP
 CXX
 CXXFLAGS
 CCC
+CPP
 CXXCPP
 F77
 FFLAGS
@@ -1061,10 +1078,10 @@
   -disable-* | --disable-*)
     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     eval enable_$ac_feature=no ;;
 
   -docdir | --docdir | --docdi | --doc | --do)
@@ -1080,10 +1097,10 @@
   -enable-* | --enable-*)
     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     eval enable_$ac_feature=\$ac_optarg ;;
 
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
@@ -1277,19 +1294,19 @@
   -with-* | --with-*)
     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       { echo "$as_me: error: invalid package name: $ac_package" >&2
    { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package| sed 's/-/_/g'`
+    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     eval with_$ac_package=\$ac_optarg ;;
 
   -without-* | --without-*)
     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       { echo "$as_me: error: invalid package name: $ac_package" >&2
    { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package | sed 's/-/_/g'`
+    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     eval with_$ac_package=no ;;
 
   --x)
@@ -1533,10 +1550,10 @@
 Optional Features:
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
-  --enable-maintainer-mode enable make rules and dependencies not useful
-                          (and sometimes confusing) to the casual installer
-  --disable-dependency-tracking Speeds up one-time builds
-  --enable-dependency-tracking  Do not reject slow dependency extractors
+  --enable-maintainer-mode  enable make rules and dependencies not useful
+			  (and sometimes confusing) to the casual installer
+  --disable-dependency-tracking  speeds up one-time build
+  --enable-dependency-tracking   do not reject slow dependency extractors
   --enable-shared[=PKGS]  build shared libraries [default=yes]
   --enable-static[=PKGS]  build static libraries [default=yes]
   --enable-fast-install[=PKGS]
@@ -1561,11 +1578,12 @@
   CFLAGS      C compiler flags
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
               nonstandard directory <lib dir>
+  LIBS        libraries to pass to the linker, e.g. -l<library>
   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
               you have headers in a nonstandard directory <include dir>
-  CPP         C preprocessor
   CXX         C++ compiler command
   CXXFLAGS    C++ compiler flags
+  CPP         C preprocessor
   CXXCPP      C++ preprocessor
   F77         Fortran 77 compiler command
   FFLAGS      Fortran 77 compiler flags
@@ -1646,7 +1664,7 @@
 if $ac_init_version; then
   cat <<\_ACEOF
 configure
-generated by GNU Autoconf 2.60a
+generated by GNU Autoconf 2.61
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -1660,7 +1678,7 @@
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by $as_me, which was
-generated by GNU Autoconf 2.60a.  Invocation command line was
+generated by GNU Autoconf 2.61.  Invocation command line was
 
   $ $0 $@
 
@@ -2005,14 +2023,6 @@
 
 
 
-case m4 in
-  [\\/]* | ?:[\\/]* ) ac_macro_dir=m4         ;;
-  *)                      ac_macro_dir=$srcdir/m4 ;;
-esac
-test -d "$ac_macro_dir" ||
-  { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
-echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
-   { (exit 1); exit 1; }; }
 
 
 ac_config_headers="$ac_config_headers config.h"
@@ -2020,32 +2030,28 @@
 
 # Making releases:
 #   LIBGPOD_MICRO_VERSION += 1;
-#   LIBGPOD_INTERFACE_AGE += 1;
-# if any functions have been added, set LIBGPOD_INTERFACE_AGE to 0.
-# if backwards compatibility has been broken,
-# set LIBGPOD_BINARY_AGE and LIBGPOD_INTERFACE_AGE to 0.
+#   LIBGPOD_SO_VERSION - see comments
 #
 LIBGPOD_MAJOR_VERSION=0
 LIBGPOD_MINOR_VERSION=4
-LIBGPOD_MICRO_VERSION=0
-LIBGPOD_INTERFACE_AGE=0
+LIBGPOD_MICRO_VERSION=2
 # If you need a modifier for the version number.
 # Normally empty, but can be used to make "fixup" releases.
 LIBGPOD_EXTRAVERSION=
 
-
-LIBGPOD_CURRENT=`expr 100 '*' $LIBGPOD_MINOR_VERSION + $LIBGPOD_MICRO_VERSION - $LIBGPOD_INTERFACE_AGE`
-LIBGPOD_BINARY_AGE=`expr 100 '*' $LIBGPOD_MINOR_VERSION + $LIBGPOD_MICRO_VERSION`
-LIBGPOD_REVISION=$LIBGPOD_INTERFACE_AGE
-LIBGPOD_AGE=`expr $LIBGPOD_BINARY_AGE - $LIBGPOD_INTERFACE_AGE`
 LIBGPOD_VERSION=$LIBGPOD_MAJOR_VERSION.$LIBGPOD_MINOR_VERSION.$LIBGPOD_MICRO_VERSION$LIBGPOD_EXTRAVERSION
 
+# +1 : 0 : +1  == adds new functions to the interface
+# +1 : 0 : 0   == changes or removes functions (changes include both
+#                 changes to the signature and the semantic)
+#  ? :+1 : ?   == just internal changes
+# CURRENT : REVISION : AGE
+LIBGPOD_SO_VERSION=1:0:0
 
 
 
 
-
-am__api_version="1.7"
+am__api_version="1.9"
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   if test -f "$ac_dir/install-sh"; then
@@ -2113,7 +2119,7 @@
     # by default.
     for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do
-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 	  if test $ac_prog = install &&
 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 	    # AIX install.  It has an incompatible calling convention.
@@ -2215,7 +2221,6 @@
 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 rm -f conftest.sed
 
-
 # expand $ac_aux_dir to an absolute path
 am_aux_dir=`cd $ac_aux_dir && pwd`
 
@@ -2229,6 +2234,39 @@
 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 fi
 
+if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
+  # We used to keeping the `.' as first argument, in order to
+  # allow $(mkdir_p) to be used without argument.  As in
+  #   $(mkdir_p) $(somedir)
+  # where $(somedir) is conditionally defined.  However this is wrong
+  # for two reasons:
+  #  1. if the package is installed by a user who cannot write `.'
+  #     make install will fail,
+  #  2. the above comment should most certainly read
+  #     $(mkdir_p) $(DESTDIR)$(somedir)
+  #     so it does not work when $(somedir) is undefined and
+  #     $(DESTDIR) is not.
+  #  To support the latter case, we have to write
+  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
+  #  so the `.' trick is pointless.
+  mkdir_p='mkdir -p --'
+else
+  # On NextStep and OpenStep, the `mkdir' command does not
+  # recognize any option.  It will interpret all options as
+  # directories to create, and then abort because `.' already
+  # exists.
+  for d in ./-p ./--version;
+  do
+    test -d $d && rmdir $d
+  done
+  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
+  if test -f "$ac_aux_dir/mkinstalldirs"; then
+    mkdir_p='$(mkinstalldirs)'
+  else
+    mkdir_p='$(install_sh) -d'
+  fi
+fi
+
 for ac_prog in gawk mawk nawk awk
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
@@ -2247,7 +2285,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_AWK="$ac_prog"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2310,7 +2348,7 @@
 fi
 rmdir .tst 2>/dev/null
 
- # test to see if srcdir already configured
+# test to see if srcdir already configured
 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    test -f $srcdir/config.status; then
   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
@@ -2358,9 +2396,6 @@
 
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
-
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-
 install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
 # Installed binaries are usually stripped using `strip' when the user
@@ -2385,7 +2420,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2425,7 +2460,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_STRIP="strip"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2469,10 +2504,17 @@
 
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
+# Always define AMTAR for backward compatibility.
 
+AMTAR=${AMTAR-"${am_missing_run}tar"}
 
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
 
+
+
+
+
 ACLOCAL_AMFLAGS="$ACLOCAL_FLAGS"
 
 
@@ -2529,7 +2571,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2569,7 +2611,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_CC="gcc"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2626,7 +2668,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_CC="${ac_tool_prefix}cc"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2667,7 +2709,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
        continue
@@ -2725,7 +2767,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2769,7 +2811,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_CC="$ac_prog"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3132,27 +3174,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_compiler_gnu=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -3207,27 +3232,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_cv_prog_cc_g=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -3262,27 +3270,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   :
 else
   echo "$as_me: failed program was:" >&5
@@ -3318,27 +3309,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_cv_prog_cc_g=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -3454,27 +3428,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_cv_prog_cc_c89=$ac_arg
 else
   echo "$as_me: failed program was:" >&5
@@ -3617,7 +3574,9 @@
     : > sub/conftest.c
     for i in 1 2 3 4 5 6; do
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
-      : > sub/conftst$i.h
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+      # Solaris 8's {/usr,}/bin/sh.
+      touch sub/conftst$i.h
     done
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
@@ -3645,9 +3604,14 @@
        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
       # icc doesn't choke on unknown options, it will just issue warnings
-      # (even with -Werror).  So we grep stderr for any message
-      # that says an option was ignored.
-      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
+      # or remarks (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored or not supported.
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
+      #   icc: Command line warning: ignoring option '-M'; no argument required
+      # The diagnosis changed in icc 8.0:
+      #   icc: Command line remark: option '-MP' not supported
+      if (grep 'ignoring option' conftest.err ||
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
         am_cv_CC_dependencies_compiler_type=$depmode
         break
       fi
@@ -3678,6 +3642,484 @@
 fi
 
 
+
+# AC_PROG_CXX is only needed for the test program tests/test-rebuild-db.cc.
+# You can safely remove AC_PROG_CXX and the test program (edit tests/Makefile.am)
+# if you should run into problems.
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+  if test -n "$CCC"; then
+    CXX=$CCC
+  else
+    if test -n "$ac_tool_prefix"; then
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CXX+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CXX"; then
+  ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+  { echo "$as_me:$LINENO: result: $CXX" >&5
+echo "${ECHO_T}$CXX" >&6; }
+else
+  { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+    test -n "$CXX" && break
+  done
+fi
+if test -z "$CXX"; then
+  ac_ct_CXX=$CXX
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_CXX"; then
+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_ac_ct_CXX="$ac_prog"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
+echo "${ECHO_T}$ac_ct_CXX" >&6; }
+else
+  { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+  test -n "$ac_ct_CXX" && break
+done
+
+  if test "x$ac_ct_CXX" = x; then
+    CXX="g++"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet.  If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet.  If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+    CXX=$ac_ct_CXX
+  fi
+fi
+
+  fi
+fi
+# Provide some information about the compiler.
+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (ac_try="$ac_compiler --version >&5"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compiler --version >&5") 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compiler -v >&5") 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compiler -V >&5") 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+#ifndef __GNUC__
+       choke me
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_compiler_gnu=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_compiler_gnu=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
+GXX=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cxx_g+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+   ac_cxx_werror_flag=yes
+   ac_cv_prog_cxx_g=no
+   CXXFLAGS="-g"
+   cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_cv_prog_cxx_g=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	CXXFLAGS=""
+      cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  :
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+	 CXXFLAGS="-g"
+	 cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  ac_cv_prog_cxx_g=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+  CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+  if test "$GXX" = yes; then
+    CXXFLAGS="-g -O2"
+  else
+    CXXFLAGS="-g"
+  fi
+else
+  if test "$GXX" = yes; then
+    CXXFLAGS="-O2"
+  else
+    CXXFLAGS=
+  fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CXX"  am_compiler_list=
+
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # instance it was reported that on HP-UX the gcc test will end up
+  # making a dummy file named `D' -- because `-MD' means `put the output
+  # in D'.
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+  # We will build objects and dependencies in a subdirectory because
+  # it helps to detect inapplicable dependency modes.  For instance
+  # both Tru64's cc and ICC support -MD to output dependencies as a
+  # side effect of compilation, but ICC will put the dependencies in
+  # the current directory while Tru64 will put them in the object
+  # directory.
+  mkdir sub
+
+  am_cv_CXX_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+  fi
+  for depmode in $am_compiler_list; do
+    # Setup a source with many dependencies, because some compilers
+    # like to wrap large dependency lists on column 80 (with \), and
+    # we should not choose a depcomp mode which is confused by this.
+    #
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    : > sub/conftest.c
+    for i in 1 2 3 4 5 6; do
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+      # Solaris 8's {/usr,}/bin/sh.
+      touch sub/conftst$i.h
+    done
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+    case $depmode in
+    nosideeffect)
+      # after this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested
+      if test "x$enable_dependency_tracking" = xyes; then
+	continue
+      else
+	break
+      fi
+      ;;
+    none) break ;;
+    esac
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle `-M -o', and we need to detect this.
+    if depmode=$depmode \
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+         >/dev/null 2>conftest.err &&
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      # icc doesn't choke on unknown options, it will just issue warnings
+      # or remarks (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored or not supported.
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
+      #   icc: Command line warning: ignoring option '-M'; no argument required
+      # The diagnosis changed in icc 8.0:
+      #   icc: Command line remark: option '-MP' not supported
+      if (grep 'ignoring option' conftest.err ||
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+        am_cv_CXX_dependencies_compiler_type=$depmode
+        break
+      fi
+    fi
+  done
+
+  cd ..
+  rm -rf conftest.dir
+else
+  am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+
+
+if
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+  am__fastdepCXX_TRUE=
+  am__fastdepCXX_FALSE='#'
+else
+  am__fastdepCXX_TRUE='#'
+  am__fastdepCXX_FALSE=
+fi
+
+
+
 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 if test "${lt_cv_path_SED+set}" = set; then
@@ -3839,7 +4281,7 @@
   for ac_prog in grep ggrep; do
   for ac_exec_ext in '' $ac_executable_extensions; do
     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
+    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     # Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP
 case `"$ac_path_GREP" --version 2>&1` in
@@ -3921,7 +4363,7 @@
   for ac_prog in egrep; do
   for ac_exec_ext in '' $ac_executable_extensions; do
     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
+    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     # Check for GNU ac_path_EGREP and select it if it is found.
   # Check for GNU $ac_path_EGREP
 case `"$ac_path_EGREP" --version 2>&1` in
@@ -4140,17 +4582,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   :
 else
   echo "$as_me: failed program was:" >&5
@@ -4184,17 +4619,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   # Broken: success on invalid input.
 continue
 else
@@ -4259,17 +4687,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   :
 else
   echo "$as_me: failed program was:" >&5
@@ -4303,17 +4724,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   # Broken: success on invalid input.
 continue
 else
@@ -4384,27 +4798,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_cv_header_stdc=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -4574,7 +4971,7 @@
     # by default.
     for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do
-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 	  if test $ac_prog = install &&
 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 	    # AIX install.  It has an incompatible calling convention.
@@ -5004,7 +5401,7 @@
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 5007 "configure"' > conftest.$ac_ext
+  echo '#line 5404 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -5128,27 +5525,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   lt_cv_cc_needs_belf=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -5241,27 +5622,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   eval "$as_ac_Header=yes"
 else
   echo "$as_me: failed program was:" >&5
@@ -5324,27 +5688,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -5380,17 +5727,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   ac_header_preproc=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -5449,542 +5789,8 @@
 
 done
 
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-if test -z "$CXX"; then
-  if test -n "$CCC"; then
-    CXX=$CCC
-  else
-    if test -n "$ac_tool_prefix"; then
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CXX+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  if test -n "$CXX"; then
-  ac_cv_prog_CXX="$CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-IFS=$as_save_IFS
 
-fi
-fi
-CXX=$ac_cv_prog_CXX
-if test -n "$CXX"; then
-  { echo "$as_me:$LINENO: result: $CXX" >&5
-echo "${ECHO_T}$CXX" >&6; }
-else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
 
-
-    test -n "$CXX" && break
-  done
-fi
-if test -z "$CXX"; then
-  ac_ct_CXX=$CXX
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  if test -n "$ac_ct_CXX"; then
-  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_CXX="$ac_prog"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
-if test -n "$ac_ct_CXX"; then
-  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
-echo "${ECHO_T}$ac_ct_CXX" >&6; }
-else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-  test -n "$ac_ct_CXX" && break
-done
-
-  if test "x$ac_ct_CXX" = x; then
-    CXX="g++"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf at gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf at gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
-    CXX=$ac_ct_CXX
-  fi
-fi
-
-  fi
-fi
-# Provide some information about the compiler.
-echo "$as_me:$LINENO: checking for C++ compiler version" >&5
-ac_compiler=`set X $ac_compile; echo $2`
-{ (ac_try="$ac_compiler --version >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compiler --version >&5") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
-{ (ac_try="$ac_compiler -v >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compiler -v >&5") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
-{ (ac_try="$ac_compiler -V >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compiler -V >&5") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
-
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-int
-main ()
-{
-#ifndef __GNUC__
-       choke me
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ac_compiler_gnu=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_compiler_gnu=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
-GXX=`test $ac_compiler_gnu = yes && echo yes`
-ac_test_CXXFLAGS=${CXXFLAGS+set}
-ac_save_CXXFLAGS=$CXXFLAGS
-{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cxx_g+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
-   ac_cxx_werror_flag=yes
-   ac_cv_prog_cxx_g=no
-   CXXFLAGS="-g"
-   cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ac_cv_prog_cxx_g=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	CXXFLAGS=""
-      cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  :
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-	 CXXFLAGS="-g"
-	 cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ac_cv_prog_cxx_g=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
-if test "$ac_test_CXXFLAGS" = set; then
-  CXXFLAGS=$ac_save_CXXFLAGS
-elif test $ac_cv_prog_cxx_g = yes; then
-  if test "$GXX" = yes; then
-    CXXFLAGS="-g -O2"
-  else
-    CXXFLAGS="-g"
-  fi
-else
-  if test "$GXX" = yes; then
-    CXXFLAGS="-O2"
-  else
-    CXXFLAGS=
-  fi
-fi
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-depcc="$CXX"  am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
-  # We make a subdir and do the tests there.  Otherwise we can end up
-  # making bogus files that we don't know about and never remove.  For
-  # instance it was reported that on HP-UX the gcc test will end up
-  # making a dummy file named `D' -- because `-MD' means `put the output
-  # in D'.
-  mkdir conftest.dir
-  # Copy depcomp to subdir because otherwise we won't find it if we're
-  # using a relative directory.
-  cp "$am_depcomp" conftest.dir
-  cd conftest.dir
-  # We will build objects and dependencies in a subdirectory because
-  # it helps to detect inapplicable dependency modes.  For instance
-  # both Tru64's cc and ICC support -MD to output dependencies as a
-  # side effect of compilation, but ICC will put the dependencies in
-  # the current directory while Tru64 will put them in the object
-  # directory.
-  mkdir sub
-
-  am_cv_CXX_dependencies_compiler_type=none
-  if test "$am_compiler_list" = ""; then
-     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
-  fi
-  for depmode in $am_compiler_list; do
-    # Setup a source with many dependencies, because some compilers
-    # like to wrap large dependency lists on column 80 (with \), and
-    # we should not choose a depcomp mode which is confused by this.
-    #
-    # We need to recreate these files for each test, as the compiler may
-    # overwrite some of them when testing with obscure command lines.
-    # This happens at least with the AIX C compiler.
-    : > sub/conftest.c
-    for i in 1 2 3 4 5 6; do
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
-      : > sub/conftst$i.h
-    done
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
-    case $depmode in
-    nosideeffect)
-      # after this tag, mechanisms are not by side-effect, so they'll
-      # only be used when explicitly requested
-      if test "x$enable_dependency_tracking" = xyes; then
-	continue
-      else
-	break
-      fi
-      ;;
-    none) break ;;
-    esac
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
-    # mode.  It turns out that the SunPro C++ compiler does not properly
-    # handle `-M -o', and we need to detect this.
-    if depmode=$depmode \
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
-         >/dev/null 2>conftest.err &&
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
-      # icc doesn't choke on unknown options, it will just issue warnings
-      # (even with -Werror).  So we grep stderr for any message
-      # that says an option was ignored.
-      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
-        am_cv_CXX_dependencies_compiler_type=$depmode
-        break
-      fi
-    fi
-  done
-
-  cd ..
-  rm -rf conftest.dir
-else
-  am_cv_CXX_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
-CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
-
-
-
-if
-  test "x$enable_dependency_tracking" != xno \
-  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
-  am__fastdepCXX_TRUE=
-  am__fastdepCXX_FALSE='#'
-else
-  am__fastdepCXX_TRUE='#'
-  am__fastdepCXX_FALSE=
-fi
-
-
-
-
 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
     (test "X$CXX" != "Xg++"))) ; then
@@ -6036,17 +5842,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_cxx_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   :
 else
   echo "$as_me: failed program was:" >&5
@@ -6080,17 +5879,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_cxx_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   # Broken: success on invalid input.
 continue
 else
@@ -6155,17 +5947,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_cxx_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   :
 else
   echo "$as_me: failed program was:" >&5
@@ -6199,17 +5984,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_cxx_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   # Broken: success on invalid input.
 continue
 else
@@ -6250,7 +6028,7 @@
 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 if test -n "$ac_tool_prefix"; then
-  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
+  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
@@ -6268,7 +6046,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6294,7 +6072,7 @@
 fi
 if test -z "$F77"; then
   ac_ct_F77=$F77
-  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
+  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -6312,7 +6090,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_F77="$ac_prog"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6419,27 +6197,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_f77_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_compiler_gnu=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -6482,27 +6243,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_f77_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_cv_prog_f77_g=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -6957,7 +6701,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_AR="${ac_tool_prefix}ar"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6997,7 +6741,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_AR="ar"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7053,7 +6797,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7093,7 +6837,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_RANLIB="ranlib"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7149,7 +6893,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7189,7 +6933,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_STRIP="strip"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7506,11 +7250,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7509: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:7253: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:7513: \$? = $ac_status" >&5
+   echo "$as_me:7257: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -7774,11 +7518,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7777: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:7521: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:7781: \$? = $ac_status" >&5
+   echo "$as_me:7525: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -7878,11 +7622,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7881: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:7625: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:7885: \$? = $ac_status" >&5
+   echo "$as_me:7629: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -8359,27 +8103,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
 
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 }'`
@@ -8434,27 +8162,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
 
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 }'`
@@ -9704,27 +9416,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_dl_dlopen=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -9815,27 +9511,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_func_shl_load=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -9894,27 +9574,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_dld_shl_load=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -9995,27 +9659,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_func_dlopen=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -10074,27 +9722,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_dl_dlopen=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -10154,27 +9786,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_svld_dlopen=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -10234,27 +9850,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_dld_dld_link=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -10319,7 +9919,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 10322 "configure"
+#line 9922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10419,7 +10019,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 10422 "configure"
+#line 10022 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11506,27 +11106,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
 
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 }'`
@@ -11582,27 +11166,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
 
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 }'`
@@ -12787,11 +12355,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12790: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12358: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:12794: \$? = $ac_status" >&5
+   echo "$as_me:12362: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -12891,11 +12459,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12894: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12462: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:12898: \$? = $ac_status" >&5
+   echo "$as_me:12466: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -14452,11 +14020,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14455: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14023: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:14459: \$? = $ac_status" >&5
+   echo "$as_me:14027: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -14556,11 +14124,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:14559: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:14127: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:14563: \$? = $ac_status" >&5
+   echo "$as_me:14131: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -15027,27 +14595,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_f77_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
 
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 }'`
@@ -15092,27 +14644,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_f77_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
 
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 }'`
@@ -16775,11 +16311,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:16778: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:16314: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:16782: \$? = $ac_status" >&5
+   echo "$as_me:16318: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -17043,11 +16579,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:17046: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:16582: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:17050: \$? = $ac_status" >&5
+   echo "$as_me:16586: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -17147,11 +16683,11 @@
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:17150: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:16686: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:17154: \$? = $ac_status" >&5
+   echo "$as_me:16690: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -17628,27 +17164,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
 
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 }'`
@@ -17703,27 +17223,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
 
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 }'`
@@ -19962,7 +19466,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -20025,7 +19529,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -20066,7 +19570,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -20107,7 +19611,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -20148,7 +19652,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -20175,9 +19679,152 @@
 # Substitute ALL_LINGUAS so we can use it in po/Makefile
 
 
+# Set DATADIRNAME correctly if it is not set yet
+# (copied from glib-gettext.m4)
+if test -z "$DATADIRNAME"; then
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
 
+int
+main ()
+{
+extern int _nl_msg_cat_cntr;
+                 return _nl_msg_cat_cntr
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_link") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
+  DATADIRNAME=share
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
+	case $host in
+    *-*-solaris*)
+                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
+echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
+if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
+#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char bind_textdomain_codeset (); below.
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+    <limits.h> exists even on freestanding compilers.  */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef bind_textdomain_codeset
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char bind_textdomain_codeset ();
+/* The GNU C library defines this for functions which it implements
+    to always fail with ENOSYS.  Some functions are actually named
+    something starting with __ and the normal name is an alias.  */
+#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
+choke me
+#endif
+
+int
+main ()
+{
+return bind_textdomain_codeset ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_link") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
+  ac_cv_func_bind_textdomain_codeset=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_cv_func_bind_textdomain_codeset=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+      conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
+echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
+if test $ac_cv_func_bind_textdomain_codeset = yes; then
+  DATADIRNAME=share
+else
+  DATADIRNAME=lib
+fi
+
+    ;;
+    *)
+    DATADIRNAME=lib
+    ;;
+    esac
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+      conftest$ac_exeext conftest.$ac_ext
+fi
+
+
+
+
+
 ac_config_commands="$ac_config_commands intltool"
 
 
@@ -20249,27 +19896,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   eval "$as_ac_var=yes"
 else
   echo "$as_me: failed program was:" >&5
@@ -20315,7 +19946,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -20358,7 +19989,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -20643,12 +20274,12 @@
         pkg_cv_GDKPIXBUF_CFLAGS="$GDKPIXBUF_CFLAGS"
     else
         if test -n "$PKG_CONFIG" && \
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
-  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
+    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.6.0\"") >&5
+  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.6.0") 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_GDKPIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
+  pkg_cv_GDKPIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.6.0" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -20661,12 +20292,12 @@
         pkg_cv_GDKPIXBUF_LIBS="$GDKPIXBUF_LIBS"
     else
         if test -n "$PKG_CONFIG" && \
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
-  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
+    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.6.0\"") >&5
+  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.6.0") 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_GDKPIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
+  pkg_cv_GDKPIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.6.0" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -20685,9 +20316,9 @@
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-	        GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdk-pixbuf-2.0"`
+	        GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdk-pixbuf-2.0 >= 2.6.0"`
         else
-	        GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-2.0"`
+	        GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-2.0 >= 2.6.0"`
         fi
 	# Put the nasty error message in config.log where it belongs
 	echo "$GDKPIXBUF_PKG_ERRORS" >&5
@@ -20774,27 +20405,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -20830,17 +20444,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   ac_header_preproc=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -20933,27 +20540,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   am_cv_val_LC_MESSAGES=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21018,27 +20609,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   ac_header_compiler=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21074,17 +20648,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   ac_header_preproc=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21175,27 +20742,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   gt_cv_func_ngettext_libc=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21247,27 +20798,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   gt_cv_func_dgettext_libc=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21352,27 +20887,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   eval "$as_ac_var=yes"
 else
   echo "$as_me: failed program was:" >&5
@@ -21446,27 +20965,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_intl_bindtextdomain=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21524,27 +21027,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_intl_ngettext=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21602,27 +21089,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_intl_dgettext=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21693,27 +21164,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_intl_ngettext=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21771,27 +21226,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_lib_intl_dcgettext=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -21895,27 +21334,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   eval "$as_ac_var=yes"
 else
   echo "$as_me: failed program was:" >&5
@@ -22071,27 +21494,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   eval "$as_ac_var=yes"
 else
   echo "$as_me: failed program was:" >&5
@@ -22132,7 +21539,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -22220,27 +21627,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   CATOBJEXT=.gmo
              DATADIRNAME=share
 else
@@ -22312,27 +21703,11 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
   ac_cv_func_bind_textdomain_codeset=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -22520,7 +21895,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -22636,7 +22011,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -22689,6 +22064,7 @@
    { (exit 1); exit 1; }; }
 fi
 
+      am_display_PYTHON=$PYTHON
     else
       # Otherwise, try each interpreter until we find one that satisfies
       # VERSION.
@@ -22698,13 +22074,9 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-	for am_cv_pathless_PYTHON in python python2 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 : ; do
-          if test "$am_cv_pathless_PYTHON" = : ; then
-            { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
-echo "$as_me: error: no suitable Python interpreter found" >&2;}
-   { (exit 1); exit 1; }; }
-	  fi
-          prog="import sys, string
+	for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
+	  test "$am_cv_pathless_PYTHON" = none && break
+	  prog="import sys, string
 # split strings by '.' and convert to numeric.  Append some zeros
 # because we need at least 4 digits for the hex conversion.
 minver = map(int, string.split('$PYTHON_MIN_VERSION', '.')) + [0, 0, 0]
@@ -22719,12 +22091,15 @@
   break
 fi
 
-        done
+	done
 fi
 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
-      # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
+      if test "$am_cv_pathless_PYTHON" = none; then
+	PYTHON=:
+      else
+        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
 set dummy $am_cv_pathless_PYTHON; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
@@ -22742,7 +22117,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -22764,11 +22139,18 @@
 fi
 
 
+      fi
       am_display_PYTHON=$am_cv_pathless_PYTHON
     fi
 
 
+  if test "$PYTHON" = :; then
+      { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
+echo "$as_me: error: no suitable Python interpreter found" >&2;}
+   { (exit 1); exit 1; }; }
+  else
 
+
   { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
 if test "${am_cv_python_version+set}" = set; then
@@ -22837,6 +22219,10 @@
 
 
 
+  fi
+
+
+
 { echo "$as_me:$LINENO: checking for python development headers" >&5
 echo $ECHO_N "checking for python development headers... $ECHO_C" >&6; }
 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
@@ -22868,17 +22254,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
+  (exit $ac_status); } >/dev/null && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then
   { echo "$as_me:$LINENO: result: found" >&5
 echo "${ECHO_T}found" >&6; }
 with_python="yes"
@@ -22971,7 +22350,7 @@
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -23138,27 +22517,10 @@
   rm -f conftest.er1
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
   has_option=yes
 else
   echo "$as_me: failed program was:" >&5
@@ -23188,7 +22550,7 @@
 
 
 
-ac_config_files="$ac_config_files Makefile bindings/Makefile bindings/python/Makefile bindings/python/examples/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml m4/Makefile po/Makefile.in src/Makefile tests/Makefile libgpod-1.0.pc"
+ac_config_files="$ac_config_files Makefile bindings/Makefile bindings/python/gpod.i bindings/python/Makefile bindings/python/examples/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml m4/Makefile po/Makefile.in src/Makefile tests/Makefile libgpod-1.0.pc"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -23377,7 +22739,8 @@
 ## M4sh Initialization.  ##
 ## --------------------- ##
 
-# Be Bourne compatible
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
   NULLCMD=:
@@ -23386,12 +22749,15 @@
   alias -g '${1+"$@"}'='"$@"'
   setopt NO_GLOB_SUBST
 else
-  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
+  case `(set -o) 2>/dev/null` in
+  *posix*) set -o posix ;;
+esac
+
 fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
-DUALCASE=1; export DUALCASE # for MKS sh
 
 
+
+
 # PATH needs CR
 # Avoid depending upon Character Ranges.
 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
@@ -23613,19 +22979,28 @@
   as_mkdir_p=false
 fi
 
-# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
-# systems may use methods other than mode bits to determine executability.
-cat >conf$$.file <<_ASEOF
-#! /bin/sh
-exit 0
-_ASEOF
-chmod +x conf$$.file
-if test -x conf$$.file >/dev/null 2>&1; then
-  as_executable_p="test -x"
+if test -x / >/dev/null 2>&1; then
+  as_test_x='test -x'
 else
-  as_executable_p=:
+  if ls -dL / >/dev/null 2>&1; then
+    as_ls_L_option=L
+  else
+    as_ls_L_option=
+  fi
+  as_test_x='
+    eval sh -c '\''
+      if test -d "$1"; then
+        test -d "$1/.";
+      else
+	case $1 in
+        -*)set "./$1";;
+	esac;
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+	???[sx]*):;;*)false;;esac;fi
+    '\'' sh
+  '
 fi
-rm -f conf$$.file
+as_executable_p=$as_test_x
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -23641,7 +23016,7 @@
 # values after options handling.
 ac_log="
 This file was extended by $as_me, which was
-generated by GNU Autoconf 2.60a.  Invocation command line was
+generated by GNU Autoconf 2.61.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -23694,7 +23069,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
 config.status
-configured by $0, generated by GNU Autoconf 2.60a,
+configured by $0, generated by GNU Autoconf 2.61,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
 Copyright (C) 2006 Free Software Foundation, Inc.
@@ -23818,6 +23193,7 @@
     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
+    "bindings/python/gpod.i") CONFIG_FILES="$CONFIG_FILES bindings/python/gpod.i" ;;
     "bindings/python/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
     "bindings/python/examples/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/examples/Makefile" ;;
     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
@@ -23928,9 +23304,7 @@
 build_alias!$build_alias$ac_delim
 host_alias!$host_alias$ac_delim
 target_alias!$target_alias$ac_delim
-LIBGPOD_CURRENT!$LIBGPOD_CURRENT$ac_delim
-LIBGPOD_REVISION!$LIBGPOD_REVISION$ac_delim
-LIBGPOD_AGE!$LIBGPOD_AGE$ac_delim
+LIBGPOD_SO_VERSION!$LIBGPOD_SO_VERSION$ac_delim
 LIBGPOD_VERSION!$LIBGPOD_VERSION$ac_delim
 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
@@ -23943,13 +23317,16 @@
 AUTOMAKE!$AUTOMAKE$ac_delim
 AUTOHEADER!$AUTOHEADER$ac_delim
 MAKEINFO!$MAKEINFO$ac_delim
-AMTAR!$AMTAR$ac_delim
 install_sh!$install_sh$ac_delim
 STRIP!$STRIP$ac_delim
 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
+mkdir_p!$mkdir_p$ac_delim
 AWK!$AWK$ac_delim
 SET_MAKE!$SET_MAKE$ac_delim
 am__leading_dot!$am__leading_dot$ac_delim
+AMTAR!$AMTAR$ac_delim
+am__tar!$am__tar$ac_delim
+am__untar!$am__untar$ac_delim
 ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
@@ -23970,6 +23347,12 @@
 CCDEPMODE!$CCDEPMODE$ac_delim
 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
+CXX!$CXX$ac_delim
+CXXFLAGS!$CXXFLAGS$ac_delim
+ac_ct_CXX!$ac_ct_CXX$ac_delim
+CXXDEPMODE!$CXXDEPMODE$ac_delim
+am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
+am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 build!$build$ac_delim
 build_cpu!$build_cpu$ac_delim
 build_vendor!$build_vendor$ac_delim
@@ -23981,13 +23364,6 @@
 GREP!$GREP$ac_delim
 EGREP!$EGREP$ac_delim
 CPP!$CPP$ac_delim
-LN_S!$LN_S$ac_delim
-ECHO!$ECHO$ac_delim
-AR!$AR$ac_delim
-RANLIB!$RANLIB$ac_delim
-CXX!$CXX$ac_delim
-CXXFLAGS!$CXXFLAGS$ac_delim
-ac_ct_CXX!$ac_ct_CXX$ac_delim
 _ACEOF
 
   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -24029,9 +23405,10 @@
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   cat >conf$$subs.sed <<_ACEOF
-CXXDEPMODE!$CXXDEPMODE$ac_delim
-am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
-am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
+LN_S!$LN_S$ac_delim
+ECHO!$ECHO$ac_delim
+AR!$AR$ac_delim
+RANLIB!$RANLIB$ac_delim
 CXXCPP!$CXXCPP$ac_delim
 F77!$F77$ac_delim
 FFLAGS!$FFLAGS$ac_delim
@@ -24064,6 +23441,7 @@
 INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
 INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
+DATADIRNAME!$DATADIRNAME$ac_delim
 PKG_CONFIG!$PKG_CONFIG$ac_delim
 LIBGPOD_CFLAGS!$LIBGPOD_CFLAGS$ac_delim
 LIBGPOD_LIBS!$LIBGPOD_LIBS$ac_delim
@@ -24082,7 +23460,6 @@
 XGETTEXT!$XGETTEXT$ac_delim
 CATALOGS!$CATALOGS$ac_delim
 CATOBJEXT!$CATOBJEXT$ac_delim
-DATADIRNAME!$DATADIRNAME$ac_delim
 GMOFILES!$GMOFILES$ac_delim
 INSTOBJEXT!$INSTOBJEXT$ac_delim
 INTLLIBS!$INTLLIBS$ac_delim
@@ -24115,7 +23492,7 @@
 LTLIBOBJS!$LTLIBOBJS$ac_delim
 _ACEOF
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
+  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
     break
   elif $ac_last_try; then
     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
@@ -24587,27 +23964,21 @@
   else
     continue
   fi
-  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
-  # Extract the definition of DEP_FILES from the Makefile without
-  # running `make'.
-  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
+  # Extract the definition of DEPDIR, am__include, and am__quote
+  # from the Makefile without running `make'.
+  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   test -z "$DEPDIR" && continue
+  am__include=`sed -n 's/^am__include = //p' < "$mf"`
+  test -z "am__include" && continue
+  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   # When using ansi2knr, U may be empty or an underscore; expand it
-  U=`sed -n -e '/^U = / s///p' < "$mf"`
-  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
-  # We invoke sed twice because it is the simplest approach to
-  # changing $(DEPDIR) to its actual value in the expansion.
-  for file in `sed -n -e '
-    /^DEP_FILES = .*\\\\$/ {
-      s/^DEP_FILES = //
-      :loop
-	s/\\\\$//
-	p
-	n
-	/\\\\$/ b loop
-      p
-    }
-    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
+  U=`sed -n 's/^U = //p' < "$mf"`
+  # Find all dependency output files, they are included files with
+  # $(DEPDIR) in their names.  We invoke sed twice because it is the
+  # simplest approach to changing $(DEPDIR) to its actual value in the
+  # expansion.
+  for file in `sed -n "
+    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     # Make sure the directory exists.
     test -f "$dirpart/$file" && continue

Modified: libgpod/branches/upstream/current/configure.ac
===================================================================
--- libgpod/branches/upstream/current/configure.ac	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/configure.ac	2007-01-25 10:43:09 UTC (rev 166)
@@ -7,30 +7,26 @@
 
 # Making releases:
 #   LIBGPOD_MICRO_VERSION += 1;
-#   LIBGPOD_INTERFACE_AGE += 1;
-# if any functions have been added, set LIBGPOD_INTERFACE_AGE to 0.
-# if backwards compatibility has been broken,
-# set LIBGPOD_BINARY_AGE and LIBGPOD_INTERFACE_AGE to 0.
+#   LIBGPOD_SO_VERSION - see comments
 #
 LIBGPOD_MAJOR_VERSION=0
 LIBGPOD_MINOR_VERSION=4
-LIBGPOD_MICRO_VERSION=0
-LIBGPOD_INTERFACE_AGE=0
+LIBGPOD_MICRO_VERSION=2
 # If you need a modifier for the version number. 
 # Normally empty, but can be used to make "fixup" releases.
 LIBGPOD_EXTRAVERSION=
 
-dnl libtool versioning from libgnome
-
-LIBGPOD_CURRENT=`expr 100 '*' $LIBGPOD_MINOR_VERSION + $LIBGPOD_MICRO_VERSION - $LIBGPOD_INTERFACE_AGE`
-LIBGPOD_BINARY_AGE=`expr 100 '*' $LIBGPOD_MINOR_VERSION + $LIBGPOD_MICRO_VERSION`
-LIBGPOD_REVISION=$LIBGPOD_INTERFACE_AGE
-LIBGPOD_AGE=`expr $LIBGPOD_BINARY_AGE - $LIBGPOD_INTERFACE_AGE`
 LIBGPOD_VERSION=$LIBGPOD_MAJOR_VERSION.$LIBGPOD_MINOR_VERSION.$LIBGPOD_MICRO_VERSION$LIBGPOD_EXTRAVERSION
 
-AC_SUBST(LIBGPOD_CURRENT)
-AC_SUBST(LIBGPOD_REVISION)
-AC_SUBST(LIBGPOD_AGE)
+dnl libtool versioning
+# +1 : 0 : +1  == adds new functions to the interface
+# +1 : 0 : 0   == changes or removes functions (changes include both
+#                 changes to the signature and the semantic)
+#  ? :+1 : ?   == just internal changes
+# CURRENT : REVISION : AGE
+LIBGPOD_SO_VERSION=1:0:0
+
+AC_SUBST(LIBGPOD_SO_VERSION)
 AC_SUBST(LIBGPOD_VERSION)
 
 AM_INIT_AUTOMAKE(libgpod, $LIBGPOD_VERSION)
@@ -42,6 +38,12 @@
 
 AC_GNU_SOURCE
 AC_PROG_CC
+
+# AC_PROG_CXX is only needed for the test program tests/test-rebuild-db.cc.
+# You can safely remove AC_PROG_CXX and the test program (edit tests/Makefile.am)
+# if you should run into problems.
+AC_PROG_CXX
+
 AC_PROG_LD
 AC_STDC_HEADERS
 AC_PROG_INSTALL
@@ -78,7 +80,7 @@
 esac], have_gdkpixbuf=yes)
 AH_TEMPLATE([HAVE_GDKPIXBUF], [Whether gdk-pixbuf is installed, ArtworkDB writing support will be disabled if it can't be found])
 if test x$have_gdkpixbuf = xyes; then
-   PKG_CHECK_MODULES(GDKPIXBUF, gdk-pixbuf-2.0, have_gdkpixbuf=yes, have_gdkpixbuf=no)
+   PKG_CHECK_MODULES(GDKPIXBUF, gdk-pixbuf-2.0 >= 2.6.0, have_gdkpixbuf=yes, have_gdkpixbuf=no)
    if test x"$have_gdkpixbuf" = xyes; then
       AC_DEFINE_UNQUOTED(HAVE_GDKPIXBUF, 1)
    fi
@@ -165,6 +167,7 @@
 AC_OUTPUT([
 Makefile
 bindings/Makefile
+bindings/python/gpod.i
 bindings/python/Makefile
 bindings/python/examples/Makefile
 docs/Makefile

Modified: libgpod/branches/upstream/current/depcomp
===================================================================
--- libgpod/branches/upstream/current/depcomp	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/depcomp	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,10 @@
 #! /bin/sh
-
 # depcomp - compile a program generating dependencies as side-effects
-# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
 
+scriptversion=2005-07-09.11
+
+# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
+
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2, or (at your option)
@@ -15,8 +17,8 @@
 
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -25,22 +27,45 @@
 
 # Originally written by Alexandre Oliva <oliva at dcc.unicamp.br>.
 
+case $1 in
+  '')
+     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
+     exit 1;
+     ;;
+  -h | --h*)
+    cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+  depmode     Dependency tracking mode.
+  source      Source file read by `PROGRAMS ARGS'.
+  object      Object file output by `PROGRAMS ARGS'.
+  DEPDIR      directory where to store dependencies.
+  depfile     Dependency file to output.
+  tmpdepfile  Temporary file to use when outputing dependencies.
+  libtool     Whether libtool is used (yes/no).
+
+Report bugs to <bug-automake at gnu.org>.
+EOF
+    exit $?
+    ;;
+  -v | --v*)
+    echo "depcomp $scriptversion"
+    exit $?
+    ;;
+esac
+
 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
   echo "depcomp: Variables source, object and depmode must be set" 1>&2
   exit 1
 fi
-# `libtool' can also be set to `yes' or `no'.
 
-if test -z "$depfile"; then
-   base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
-   dir=`echo "$object" | sed 's,/.*$,/,'`
-   if test "$dir" = "$object"; then
-      dir=
-   fi
-   # FIXME: should be _deps on DOS.
-   depfile="$dir.deps/$base"
-fi
-
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
 
 rm -f "$tmpdepfile"
@@ -262,27 +287,43 @@
    base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
 
    if test "$libtool" = yes; then
-      tmpdepfile1="$dir.libs/$base.lo.d"
-      tmpdepfile2="$dir.libs/$base.d"
+      # With Tru64 cc, shared objects can also be used to make a
+      # static library.  This mecanism is used in libtool 1.4 series to
+      # handle both shared and static libraries in a single compilation.
+      # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
+      #
+      # With libtool 1.5 this exception was removed, and libtool now
+      # generates 2 separate objects for the 2 libraries.  These two
+      # compilations output dependencies in in $dir.libs/$base.o.d and
+      # in $dir$base.o.d.  We have to check for both files, because
+      # one of the two compilations can be disabled.  We should prefer
+      # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+      # automatically cleaned when .libs/ is deleted, while ignoring
+      # the former would cause a distcleancheck panic.
+      tmpdepfile1=$dir.libs/$base.lo.d   # libtool 1.4
+      tmpdepfile2=$dir$base.o.d          # libtool 1.5
+      tmpdepfile3=$dir.libs/$base.o.d    # libtool 1.5
+      tmpdepfile4=$dir.libs/$base.d      # Compaq CCC V6.2-504
       "$@" -Wc,-MD
    else
-      tmpdepfile1="$dir$base.o.d"
-      tmpdepfile2="$dir$base.d"
+      tmpdepfile1=$dir$base.o.d
+      tmpdepfile2=$dir$base.d
+      tmpdepfile3=$dir$base.d
+      tmpdepfile4=$dir$base.d
       "$@" -MD
    fi
 
    stat=$?
    if test $stat -eq 0; then :
    else
-      rm -f "$tmpdepfile1" "$tmpdepfile2"
+      rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
       exit $stat
    fi
 
-   if test -f "$tmpdepfile1"; then
-      tmpdepfile="$tmpdepfile1"
-   else
-      tmpdepfile="$tmpdepfile2"
-   fi
+   for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
+   do
+     test -f "$tmpdepfile" && break
+   done
    if test -f "$tmpdepfile"; then
       sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
       # That's a tab and a space in the [].
@@ -426,7 +467,8 @@
   done
 
   "$@" -E |
-    sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
+    sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+       -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
     sed '$ s: \\$::' > "$tmpdepfile"
   rm -f "$depfile"
   echo "$object : \\" > "$depfile"
@@ -477,3 +519,12 @@
 esac
 
 exit 0
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:

Modified: libgpod/branches/upstream/current/docs/Makefile.in
===================================================================
--- libgpod/branches/upstream/current/docs/Makefile.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/Makefile.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -13,7 +13,6 @@
 # PARTICULAR PURPOSE.
 
 @SET_MAKE@
-
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
@@ -21,7 +20,6 @@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 top_builddir = ..
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
@@ -35,7 +33,31 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+build_triplet = @build@
 host_triplet = @host@
+subdir = docs
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+	$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
+	$(top_srcdir)/m4/swig.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+	html-recursive info-recursive install-data-recursive \
+	install-exec-recursive install-info-recursive \
+	install-recursive installcheck-recursive installdirs-recursive \
+	pdf-recursive ps-recursive uninstall-info-recursive \
+	uninstall-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 ALL_LINGUAS = @ALL_LINGUAS@
@@ -120,11 +142,9 @@
 INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 LDFLAGS = @LDFLAGS@
-LIBGPOD_AGE = @LIBGPOD_AGE@
 LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
-LIBGPOD_CURRENT = @LIBGPOD_CURRENT@
 LIBGPOD_LIBS = @LIBGPOD_LIBS@
-LIBGPOD_REVISION = @LIBGPOD_REVISION@
+LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
 LIBGPOD_VERSION = @LIBGPOD_VERSION@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
@@ -178,6 +198,8 @@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -203,6 +225,7 @@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 pkgpyexecdir = @pkgpyexecdir@
@@ -217,29 +240,39 @@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 SUBDIRS = reference
-subdir = docs
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-DIST_SOURCES =
-
-RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
-	ps-recursive install-info-recursive uninstall-info-recursive \
-	all-recursive install-data-recursive install-exec-recursive \
-	installdirs-recursive install-recursive uninstall-recursive \
-	check-recursive installcheck-recursive
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
-DIST_SUBDIRS = $(SUBDIRS)
 all: all-recursive
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  docs/Makefile'; \
 	cd $(top_srcdir) && \
 	  $(AUTOMAKE) --gnu  docs/Makefile
-Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
 
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
 mostlyclean-libtool:
 	-rm -f *.lo
 
@@ -257,7 +290,13 @@
 #     (which will cause the Makefiles to be regenerated when you run `make');
 # (2) otherwise, pass the desired values on the `make' command line.
 $(RECURSIVE_TARGETS):
-	@set fnord $$MAKEFLAGS; amf=$$2; \
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
 	dot_seen=no; \
 	target=`echo $@ | sed s/-recursive//`; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -269,7 +308,7 @@
 	    local_target="$$target"; \
 	  fi; \
 	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	  || eval $$failcom; \
 	done; \
 	if test "$$dot_seen" = "no"; then \
 	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
@@ -277,7 +316,13 @@
 
 mostlyclean-recursive clean-recursive distclean-recursive \
 maintainer-clean-recursive:
-	@set fnord $$MAKEFLAGS; amf=$$2; \
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
 	dot_seen=no; \
 	case "$@" in \
 	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
@@ -298,7 +343,7 @@
 	    local_target="$$target"; \
 	  fi; \
 	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	  || eval $$failcom; \
 	done && test -z "$$fail"
 tags-recursive:
 	list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -309,14 +354,6 @@
 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 	done
 
-ETAGS = etags
-ETAGSFLAGS =
-
-CTAGS = ctags
-CTAGSFLAGS =
-
-tags: TAGS
-
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
@@ -325,19 +362,22 @@
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	mkid -fID $$unique
+tags: TAGS
 
 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
 	tags=; \
 	here=`pwd`; \
-	if (etags --etags-include --version) >/dev/null 2>&1; then \
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 	  include_option=--etags-include; \
+	  empty_fix=.; \
 	else \
 	  include_option=--include; \
+	  empty_fix=; \
 	fi; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
-	    test -f $$subdir/TAGS && \
+	    test ! -f $$subdir/TAGS || \
 	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
 	  fi; \
 	done; \
@@ -347,10 +387,11 @@
 	  done | \
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
-	test -z "$(ETAGS_ARGS)$$tags$$unique" \
-	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	     $$tags $$unique
-
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
 ctags: CTAGS
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
@@ -373,11 +414,7 @@
 
 distclean-tags:
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = ..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
-
 distdir: $(DISTFILES)
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
@@ -390,7 +427,7 @@
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 	    dir="/$$dir"; \
-	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
 	  else \
 	    dir=''; \
 	  fi; \
@@ -405,15 +442,17 @@
 	    || exit 1; \
 	  fi; \
 	done
-	list='$(SUBDIRS)'; for subdir in $$list; do \
+	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
-	    test -d $(distdir)/$$subdir \
-	    || mkdir $(distdir)/$$subdir \
+	    test -d "$(distdir)/$$subdir" \
+	    || $(mkdir_p) "$(distdir)/$$subdir" \
 	    || exit 1; \
+	    distdir=`$(am__cd) $(distdir) && pwd`; \
+	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
 	    (cd $$subdir && \
 	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$(top_distdir)" \
-	        distdir=../$(distdir)/$$subdir \
+	        top_distdir="$$top_distdir" \
+	        distdir="$$distdir/$$subdir" \
 	        distdir) \
 	      || exit 1; \
 	  fi; \
@@ -423,7 +462,6 @@
 all-am: Makefile
 installdirs: installdirs-recursive
 installdirs-am:
-
 install: install-recursive
 install-exec: install-exec-recursive
 install-data: install-data-recursive
@@ -443,7 +481,7 @@
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
@@ -461,6 +499,8 @@
 
 dvi-am:
 
+html: html-recursive
+
 info: info-recursive
 
 info-am:
@@ -495,22 +535,18 @@
 
 uninstall-info: uninstall-info-recursive
 
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
-	clean-generic clean-libtool clean-recursive ctags \
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
+	clean clean-generic clean-libtool clean-recursive ctags \
 	ctags-recursive distclean distclean-generic distclean-libtool \
-	distclean-recursive distclean-tags distdir dvi dvi-am \
-	dvi-recursive info info-am info-recursive install install-am \
-	install-data install-data-am install-data-recursive \
-	install-exec install-exec-am install-exec-recursive \
-	install-info install-info-am install-info-recursive install-man \
-	install-recursive install-strip installcheck installcheck-am \
-	installdirs installdirs-am installdirs-recursive \
-	maintainer-clean maintainer-clean-generic \
-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
-	pdf-recursive ps ps-am ps-recursive tags tags-recursive \
-	uninstall uninstall-am uninstall-info-am \
-	uninstall-info-recursive uninstall-recursive
+	distclean-recursive distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs installdirs-am maintainer-clean \
+	maintainer-clean-generic maintainer-clean-recursive \
+	mostlyclean mostlyclean-generic mostlyclean-libtool \
+	mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
+	uninstall uninstall-am uninstall-info-am
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

Modified: libgpod/branches/upstream/current/docs/reference/Makefile.am
===================================================================
--- libgpod/branches/upstream/current/docs/reference/Makefile.am	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/Makefile.am	2007-01-25 10:43:09 UTC (rev 166)
@@ -74,5 +74,4 @@
 include $(top_srcdir)/gtk-doc.make
 
 # Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += 
+EXTRA_DIST += version.xml.in

Modified: libgpod/branches/upstream/current/docs/reference/Makefile.in
===================================================================
--- libgpod/branches/upstream/current/docs/reference/Makefile.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/Makefile.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -19,7 +19,6 @@
 ####################################
 # Everything below here is generic #
 ####################################
-
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
@@ -27,7 +26,6 @@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 top_builddir = ../..
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
@@ -41,7 +39,23 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+build_triplet = @build@
 host_triplet = @host@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+	$(srcdir)/version.xml.in $(top_srcdir)/gtk-doc.make
+subdir = docs/reference
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+	$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
+	$(top_srcdir)/m4/swig.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES = version.xml
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 ALL_LINGUAS = @ALL_LINGUAS@
@@ -126,11 +140,9 @@
 INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 LDFLAGS = @LDFLAGS@
-LIBGPOD_AGE = @LIBGPOD_AGE@
 LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
-LIBGPOD_CURRENT = @LIBGPOD_CURRENT@
 LIBGPOD_LIBS = @LIBGPOD_LIBS@
-LIBGPOD_REVISION = @LIBGPOD_REVISION@
+LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
 LIBGPOD_VERSION = @LIBGPOD_VERSION@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
@@ -184,6 +196,8 @@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -209,6 +223,7 @@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 pkgpyexecdir = @pkgpyexecdir@
@@ -293,7 +308,6 @@
 INCLUDES = 
 GTKDOC_LIBS = 
 @GTK_DOC_USE_LIBTOOL_FALSE at GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
-
 @GTK_DOC_USE_LIBTOOL_TRUE at GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
 @GTK_DOC_USE_LIBTOOL_FALSE at GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
 @GTK_DOC_USE_LIBTOOL_TRUE at GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
@@ -304,26 +318,17 @@
 # searched for in VPATH/GPATH.
 #
 GPATH = $(srcdir)
-
 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
 
-
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 
 # Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST = \
-	$(content_files)		\
-	$(HTML_IMAGES)			\
-	$(DOC_MAIN_SGML_FILE)		\
-	$(DOC_MODULE)-sections.txt	\
-	$(DOC_MODULE)-overrides.txt\
-
-
+EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \
+	$(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt \
+	version.xml.in
 DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \
 	   $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp
 
-
 SCANOBJ_FILES = \
 	$(DOC_MODULE).args 	 \
 	$(DOC_MODULE).hierarchy  \
@@ -331,25 +336,40 @@
 	$(DOC_MODULE).prerequisites \
 	$(DOC_MODULE).signals
 
-
 CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-unused.txt $(DOC_STAMPS)
-subdir = docs/reference
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES = version.xml
-DIST_SOURCES =
-DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/gtk-doc.make \
-	Makefile.am version.xml.in
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/gtk-doc.make $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  docs/reference/Makefile'; \
 	cd $(top_srcdir) && \
 	  $(AUTOMAKE) --gnu  docs/reference/Makefile
-Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
-version.xml: $(top_builddir)/config.status version.xml.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
 
 mostlyclean-libtool:
@@ -367,13 +387,9 @@
 ctags: CTAGS
 CTAGS:
 
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = ../..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
-
 distdir: $(DISTFILES)
-	$(mkinstalldirs) $(distdir)/../..
+	$(mkdir_p) $(distdir)/../..
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 	list='$(DISTFILES)'; for file in $$list; do \
@@ -385,7 +401,7 @@
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 	    dir="/$$dir"; \
-	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
 	  else \
 	    dir=''; \
 	  fi; \
@@ -406,7 +422,6 @@
 check-am: all-am
 check: check-am
 all-am: Makefile all-local
-
 installdirs:
 install: install-am
 install-exec: install-exec-am
@@ -428,7 +443,7 @@
 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
@@ -445,6 +460,8 @@
 
 dvi-am:
 
+html: html-am
+
 info: info-am
 
 info-am:
@@ -479,12 +496,13 @@
 uninstall-am: uninstall-info-am uninstall-local
 
 .PHONY: all all-am all-local check check-am clean clean-generic \
-	clean-libtool clean-local distclean distclean-generic \
-	distclean-libtool distdir dvi dvi-am info info-am install \
-	install-am install-data install-data-am install-data-local \
-	install-exec install-exec-am install-info install-info-am \
-	install-man install-strip installcheck installcheck-am \
-	installdirs maintainer-clean maintainer-clean-generic \
+	clean-libtool clean-local dist-hook distclean \
+	distclean-generic distclean-libtool distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-data-local install-exec \
+	install-exec-am install-info install-info-am install-man \
+	install-strip installcheck installcheck-am installdirs \
+	maintainer-clean maintainer-clean-generic \
 	maintainer-clean-local mostlyclean mostlyclean-generic \
 	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
 	uninstall-info-am uninstall-local

Modified: libgpod/branches/upstream/current/docs/reference/html/ch01.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/ch01.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/ch01.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -2,41 +2,45 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>iPod database</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
+<title>iPod database components</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="index.html" title="libgpod Reference Manual">
-<link rel="prev" href="index.html" title="libgpod Reference Manual">
-<link rel="next" href="libgpod-The-Itdb-iTunesDB-structure.html" title="iPod database reading/writing">
+<link rel="up" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="prev" href="libgpod-Low-level-functions.html" title="Low-level functions">
+<link rel="next" href="libgpod-Tracks.html" title="Tracks">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td>&#160;</td>
+<td><a accesskey="p" href="libgpod-Low-level-functions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="itunesdb.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 <th width="100%" align="center">libgpod Reference Manual</th>
-<td><a accesskey="n" href="libgpod-The-Itdb-iTunesDB-structure.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<td><a accesskey="n" href="libgpod-Tracks.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 </tr></table>
 <div class="chapter" lang="en">
 <div class="titlepage"><div><div><h2 class="title">
-<a name="id2546593"></a>iPod database</h2></div></div></div>
+<a name="id273614"></a>iPod database components</h2></div></div></div>
 <div class="toc"><dl>
 <dt>
-<span class="refentrytitle"><a href="libgpod-The-Itdb-iTunesDB-structure.html">iPod database reading/writing</a></span><span class="refpurpose"> &#8212; Functions to create, read, write the iPod database</span>
+<span class="refentrytitle"><a href="libgpod-Tracks.html">Tracks</a></span><span class="refpurpose"> &#8212; Data structure to store metadata about an iPod track</span>
 </dt>
 <dt>
-<span class="refentrytitle"><a href="libgpod-File-handling-functions.html">File handling functions</a></span><span class="refpurpose"> &#8212; Functions to copy new files to the iPod</span>
+<span class="refentrytitle"><a href="libgpod-Playlists.html">Playlists</a></span><span class="refpurpose"> &#8212; Data structure to represent an iPod playlist</span>
 </dt>
 <dt>
-<span class="refentrytitle"><a href="libgpod-Time-handling.html">Time handling</a></span><span class="refpurpose"> &#8212; Helper functions to convert between Epoch time and Mac (iPod) time</span>
+<span class="refentrytitle"><a href="libgpod-Smart-Playlists.html">Smart Playlists</a></span><span class="refpurpose"> &#8212; Data structure to represent an iPod smart playlist</span>
 </dt>
 <dt>
-<span class="refentrytitle"><a href="libgpod-Low-level-functions.html">Low-level functions</a></span><span class="refpurpose"> &#8212; Low-level functions which shouldn't be needed in normal situations</span>
+<span class="refentrytitle"><a href="libgpod-Artwork.html">Artwork</a></span><span class="refpurpose"> &#8212; Data structure to store iPod artwork (album covers)</span>
 </dt>
+<dt>
+<span class="refentrytitle"><a href="libgpod-Device.html">Device</a></span><span class="refpurpose"> &#8212; Data structure holding information about the iPod (model, mount point, etc.)</span>
+</dt>
 </dl></div>
 </div>
 </body>

Deleted: libgpod/branches/upstream/current/docs/reference/html/ch02.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/ch02.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/ch02.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,43 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>iPod database components</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
-<link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="index.html" title="libgpod Reference Manual">
-<link rel="prev" href="libgpod-Low-level-functions.html" title="Low-level functions">
-<link rel="next" href="libgpod-Tracks.html" title="Tracks">
-<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
-<link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
-</head>
-<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="libgpod-Low-level-functions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td>&#160;</td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">libgpod Reference Manual</th>
-<td><a accesskey="n" href="libgpod-Tracks.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr></table>
-<div class="chapter" lang="en">
-<div class="titlepage"><div><div><h2 class="title">
-<a name="id2510305"></a>iPod database components</h2></div></div></div>
-<div class="toc"><dl>
-<dt>
-<span class="refentrytitle"><a href="libgpod-Tracks.html">Tracks</a></span><span class="refpurpose"> &#8212; Data structure to store metadata about an iPod track</span>
-</dt>
-<dt>
-<span class="refentrytitle"><a href="libgpod-Playlists.html">Playlists</a></span><span class="refpurpose"> &#8212; Data structure to represent an iPod playlist</span>
-</dt>
-<dt>
-<span class="refentrytitle"><a href="libgpod-Artwork.html">Artwork</a></span><span class="refpurpose"> &#8212; Data structure to store iPod artwork (cover and photos)</span>
-</dt>
-<dt>
-<span class="refentrytitle"><a href="libgpod-Device.html">Device</a></span><span class="refpurpose"> &#8212; Data structure holding information about the iPod (model, mount point, ...)</span>
-</dt>
-</dl></div>
-</div>
-</body>
-</html>

Modified: libgpod/branches/upstream/current/docs/reference/html/index.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/index.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/index.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -3,14 +3,15 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>libgpod Reference Manual</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
-<meta name="description" content="This manual documents the interfaces of the libgpod library and has some short notes to help get you up to speed with using the library.">
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
+<meta name="description" content="This manual documents the interfaces of the libgpod library and has some short notes to help get you up to speed with using the library. Please see the programs in the tests/ directory of the source distribution for some usage examples. A more complete example can be found in the source for Gtkpod. You can also ask questions on the developer's mailing list: gtkpod-devel at lists.sourceforge.net.">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="next" href="ch01.html" title="iPod database">
+<link rel="next" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" lang="en">
 <div class="titlepage">
@@ -34,10 +35,10 @@
 	&#160;&#160;</p></div></div>
 </div>
 </div></div>
-<div><p class="releaseinfo">for libgpod <span>0.3.3</span></p></div>
+<div><p class="releaseinfo">for libgpod <span>0.4.2RC1</span></p></div>
 <div><p class="copyright">Copyright &#169; 2006 Christophe Fergeau</p></div>
 <div><div class="legalnotice">
-<a name="id2515455"></a><p>Permission is granted to copy, distribute and/or modify
+<a name="id270288"></a><p>Permission is granted to copy, distribute and/or modify
       this document under the terms of the <em class="citetitle">GNU Free
       Documentation License</em>, Version 1.1 or any later
       version published by the Free Software Foundation with no
@@ -56,21 +57,29 @@
 </div></div>
 <div><div class="abstract">
 <p class="title"><b>Abstract</b></p>
-<p>This manual documents the interfaces of the libgpod
-      library and has some short notes to help get you up to speed
-      with using the library.</p>
+<p>
+      This manual documents the interfaces of the libgpod library and
+      has some short notes to help get you up to speed with using the
+      library.
+      </p>
+<p>
+      Please see the programs in the <a href="http://gtkpod.cvs.sourceforge.net/gtkpod/libgpod/tests/" target="_top">tests/</a>
+      directory of the source distribution for some usage examples.  A more
+      complete example can be found in the source for <a href="http://www.gtkpod.org" target="_top"> Gtkpod</a>.  You can also ask questions
+      on the developer's mailing list: <a href="mailto:gtkpod-devel at lists.sourceforge.net" target="_top">gtkpod-devel at lists.sourceforge.net</a>.
+      </p>
 </div></div>
 </div>
 <hr>
 </div>
 <div class="toc"><dl>
-<dt><span class="chapter"><a href="ch01.html">iPod database</a></span></dt>
+<dt><span class="part"><a href="itunesdb.html">I. iPod database</a></span></dt>
 <dd><dl>
 <dt>
 <span class="refentrytitle"><a href="libgpod-The-Itdb-iTunesDB-structure.html">iPod database reading/writing</a></span><span class="refpurpose"> &#8212; Functions to create, read, write the iPod database</span>
 </dt>
 <dt>
-<span class="refentrytitle"><a href="libgpod-File-handling-functions.html">File handling functions</a></span><span class="refpurpose"> &#8212; Functions to copy new files to the iPod</span>
+<span class="refentrytitle"><a href="libgpod-File-handling-functions.html">File handling functions</a></span><span class="refpurpose"> &#8212; Managing files on the iPod</span>
 </dt>
 <dt>
 <span class="refentrytitle"><a href="libgpod-Time-handling.html">Time handling</a></span><span class="refpurpose"> &#8212; Helper functions to convert between Epoch time and Mac (iPod) time</span>
@@ -78,8 +87,7 @@
 <dt>
 <span class="refentrytitle"><a href="libgpod-Low-level-functions.html">Low-level functions</a></span><span class="refpurpose"> &#8212; Low-level functions which shouldn't be needed in normal situations</span>
 </dt>
-</dl></dd>
-<dt><span class="chapter"><a href="ch02.html">iPod database components</a></span></dt>
+<dt><span class="chapter"><a href="ch01.html">iPod database components</a></span></dt>
 <dd><dl>
 <dt>
 <span class="refentrytitle"><a href="libgpod-Tracks.html">Tracks</a></span><span class="refpurpose"> &#8212; Data structure to store metadata about an iPod track</span>
@@ -88,12 +96,20 @@
 <span class="refentrytitle"><a href="libgpod-Playlists.html">Playlists</a></span><span class="refpurpose"> &#8212; Data structure to represent an iPod playlist</span>
 </dt>
 <dt>
-<span class="refentrytitle"><a href="libgpod-Artwork.html">Artwork</a></span><span class="refpurpose"> &#8212; Data structure to store iPod artwork (cover and photos)</span>
+<span class="refentrytitle"><a href="libgpod-Smart-Playlists.html">Smart Playlists</a></span><span class="refpurpose"> &#8212; Data structure to represent an iPod smart playlist</span>
 </dt>
 <dt>
-<span class="refentrytitle"><a href="libgpod-Device.html">Device</a></span><span class="refpurpose"> &#8212; Data structure holding information about the iPod (model, mount point, ...)</span>
+<span class="refentrytitle"><a href="libgpod-Artwork.html">Artwork</a></span><span class="refpurpose"> &#8212; Data structure to store iPod artwork (album covers)</span>
 </dt>
+<dt>
+<span class="refentrytitle"><a href="libgpod-Device.html">Device</a></span><span class="refpurpose"> &#8212; Data structure holding information about the iPod (model, mount point, etc.)</span>
+</dt>
 </dl></dd>
+</dl></dd>
+<dt><span class="part"><a href="photodb.html">II. Photo database</a></span></dt>
+<dd><dl><dt>
+<span class="refentrytitle"><a href="libgpod-Photo-database.html">Photo database</a></span><span class="refpurpose"> &#8212; Functions to create, read, write the photo database</span>
+</dt></dl></dd>
 </dl></div>
 </div></body>
 </html>

Modified: libgpod/branches/upstream/current/docs/reference/html/index.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/index.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/index.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -28,8 +28,12 @@
 <ANCHOR id="itdb-get-music-dir" href="libgpod/libgpod-Low-level-functions.html#itdb-get-music-dir">
 <ANCHOR id="itdb-get-artwork-dir" href="libgpod/libgpod-Low-level-functions.html#itdb-get-artwork-dir">
 <ANCHOR id="itdb-get-device-dir" href="libgpod/libgpod-Low-level-functions.html#itdb-get-device-dir">
+<ANCHOR id="itdb-get-photos-dir" href="libgpod/libgpod-Low-level-functions.html#itdb-get-photos-dir">
 <ANCHOR id="itdb-get-itunesdb-path" href="libgpod/libgpod-Low-level-functions.html#itdb-get-itunesdb-path">
+<ANCHOR id="itdb-get-itunessd-path" href="libgpod/libgpod-Low-level-functions.html#itdb-get-itunessd-path">
 <ANCHOR id="itdb-get-artworkdb-path" href="libgpod/libgpod-Low-level-functions.html#itdb-get-artworkdb-path">
+<ANCHOR id="itdb-get-photodb-path" href="libgpod/libgpod-Low-level-functions.html#itdb-get-photodb-path">
+<ANCHOR id="itdb-get-photos-thumb-dir" href="libgpod/libgpod-Low-level-functions.html#itdb-get-photos-thumb-dir">
 <ANCHOR id="itdb-get-path" href="libgpod/libgpod-Low-level-functions.html#itdb-get-path">
 <ANCHOR id="itdb-resolve-path" href="libgpod/libgpod-Low-level-functions.html#itdb-resolve-path">
 <ANCHOR id="itdb-shuffle-write" href="libgpod/libgpod-Low-level-functions.html#itdb-shuffle-write">
@@ -51,6 +55,7 @@
 <ANCHOR id="itdb-track-id-tree-destroy" href="libgpod/libgpod-Tracks.html#itdb-track-id-tree-destroy">
 <ANCHOR id="itdb-track-id-tree-by-id" href="libgpod/libgpod-Tracks.html#itdb-track-id-tree-by-id">
 <ANCHOR id="itdb-track-set-thumbnails" href="libgpod/libgpod-Tracks.html#itdb-track-set-thumbnails">
+<ANCHOR id="itdb-track-set-thumbnails-from-data" href="libgpod/libgpod-Tracks.html#itdb-track-set-thumbnails-from-data">
 <ANCHOR id="itdb-track-remove-thumbnails" href="libgpod/libgpod-Tracks.html#itdb-track-remove-thumbnails">
 <ANCHOR id="ITDB-RATING-STEP:CAPS" href="libgpod/libgpod-Tracks.html#ITDB-RATING-STEP:CAPS">
 <ANCHOR id="libgpod-Playlists" href="libgpod/libgpod-Playlists.html">
@@ -79,6 +84,29 @@
 <ANCHOR id="itdb-playlist-by-nr" href="libgpod/libgpod-Playlists.html#itdb-playlist-by-nr">
 <ANCHOR id="itdb-playlist-by-name" href="libgpod/libgpod-Playlists.html#itdb-playlist-by-name">
 <ANCHOR id="itdb-playlist-randomize" href="libgpod/libgpod-Playlists.html#itdb-playlist-randomize">
+<ANCHOR id="libgpod-Smart-Playlists" href="libgpod/libgpod-Smart-Playlists.html">
+<ANCHOR id="SPLPref" href="libgpod/libgpod-Smart-Playlists.html#SPLPref">
+<ANCHOR id="SPLRule" href="libgpod/libgpod-Smart-Playlists.html#SPLRule">
+<ANCHOR id="SPLRules" href="libgpod/libgpod-Smart-Playlists.html#SPLRules">
+<ANCHOR id="SPLAction" href="libgpod/libgpod-Smart-Playlists.html#SPLAction">
+<ANCHOR id="SPLFieldType" href="libgpod/libgpod-Smart-Playlists.html#SPLFieldType">
+<ANCHOR id="SPLActionType" href="libgpod/libgpod-Smart-Playlists.html#SPLActionType">
+<ANCHOR id="SPLField" href="libgpod/libgpod-Smart-Playlists.html#SPLField">
+<ANCHOR id="SPLDATE-IDENTIFIER:CAPS" href="libgpod/libgpod-Smart-Playlists.html#SPLDATE-IDENTIFIER:CAPS">
+<ANCHOR id="SPL-MAXSTRINGLENGTH:CAPS" href="libgpod/libgpod-Smart-Playlists.html#SPL-MAXSTRINGLENGTH:CAPS">
+<ANCHOR id="SPL-STRING-MAXLEN:CAPS" href="libgpod/libgpod-Smart-Playlists.html#SPL-STRING-MAXLEN:CAPS">
+<ANCHOR id="itdb-splr-get-field-type" href="libgpod/libgpod-Smart-Playlists.html#itdb-splr-get-field-type">
+<ANCHOR id="itdb-splr-get-action-type" href="libgpod/libgpod-Smart-Playlists.html#itdb-splr-get-action-type">
+<ANCHOR id="itdb-splr-validate" href="libgpod/libgpod-Smart-Playlists.html#itdb-splr-validate">
+<ANCHOR id="itdb-splr-remove" href="libgpod/libgpod-Smart-Playlists.html#itdb-splr-remove">
+<ANCHOR id="itdb-splr-new" href="libgpod/libgpod-Smart-Playlists.html#itdb-splr-new">
+<ANCHOR id="itdb-splr-add" href="libgpod/libgpod-Smart-Playlists.html#itdb-splr-add">
+<ANCHOR id="itdb-splr-add-new" href="libgpod/libgpod-Smart-Playlists.html#itdb-splr-add-new">
+<ANCHOR id="itdb-spl-copy-rules" href="libgpod/libgpod-Smart-Playlists.html#itdb-spl-copy-rules">
+<ANCHOR id="itdb-splr-eval" href="libgpod/libgpod-Smart-Playlists.html#itdb-splr-eval">
+<ANCHOR id="itdb-spl-update" href="libgpod/libgpod-Smart-Playlists.html#itdb-spl-update">
+<ANCHOR id="itdb-spl-update-all" href="libgpod/libgpod-Smart-Playlists.html#itdb-spl-update-all">
+<ANCHOR id="itdb-spl-update-live" href="libgpod/libgpod-Smart-Playlists.html#itdb-spl-update-live">
 <ANCHOR id="libgpod-Artwork" href="libgpod/libgpod-Artwork.html">
 <ANCHOR id="Itdb-Artwork" href="libgpod/libgpod-Artwork.html#Itdb-Artwork">
 <ANCHOR id="Itdb-Thumb" href="libgpod/libgpod-Artwork.html#Itdb-Thumb">
@@ -87,6 +115,7 @@
 <ANCHOR id="itdb-artwork-duplicate" href="libgpod/libgpod-Artwork.html#itdb-artwork-duplicate">
 <ANCHOR id="itdb-artwork-free" href="libgpod/libgpod-Artwork.html#itdb-artwork-free">
 <ANCHOR id="itdb-artwork-add-thumbnail" href="libgpod/libgpod-Artwork.html#itdb-artwork-add-thumbnail">
+<ANCHOR id="itdb-artwork-add-thumbnail-from-data" href="libgpod/libgpod-Artwork.html#itdb-artwork-add-thumbnail-from-data">
 <ANCHOR id="itdb-artwork-remove-thumbnail" href="libgpod/libgpod-Artwork.html#itdb-artwork-remove-thumbnail">
 <ANCHOR id="itdb-artwork-remove-thumbnails" href="libgpod/libgpod-Artwork.html#itdb-artwork-remove-thumbnails">
 <ANCHOR id="itdb-artwork-get-thumb-by-type" href="libgpod/libgpod-Artwork.html#itdb-artwork-get-thumb-by-type">
@@ -102,5 +131,28 @@
 <ANCHOR id="itdb-device-set-mountpoint" href="libgpod/libgpod-Device.html#itdb-device-set-mountpoint">
 <ANCHOR id="itdb-device-read-sysinfo" href="libgpod/libgpod-Device.html#itdb-device-read-sysinfo">
 <ANCHOR id="itdb-device-get-sysinfo" href="libgpod/libgpod-Device.html#itdb-device-get-sysinfo">
+<ANCHOR id="itdb-device-set-sysinfo" href="libgpod/libgpod-Device.html#itdb-device-set-sysinfo">
+<ANCHOR id="itdb-device-write-sysinfo" href="libgpod/libgpod-Device.html#itdb-device-write-sysinfo">
+<ANCHOR id="itdb-device-get-ipod-info" href="libgpod/libgpod-Device.html#itdb-device-get-ipod-info">
+<ANCHOR id="itdb-info-get-ipod-info-table" href="libgpod/libgpod-Device.html#itdb-info-get-ipod-info-table">
+<ANCHOR id="itdb-info-get-ipod-generation-string" href="libgpod/libgpod-Device.html#itdb-info-get-ipod-generation-string">
+<ANCHOR id="itdb-info-get-ipod-model-name-string" href="libgpod/libgpod-Device.html#itdb-info-get-ipod-model-name-string">
+<ANCHOR id="itdb-init-ipod" href="libgpod/libgpod-Device.html#itdb-init-ipod">
+<ANCHOR id="Itdb-IpodGeneration" href="libgpod/libgpod-Device.html#Itdb-IpodGeneration">
+<ANCHOR id="Itdb-IpodInfo" href="libgpod/libgpod-Device.html#Itdb-IpodInfo">
 <ANCHOR id="Itdb-IpodModel" href="libgpod/libgpod-Device.html#Itdb-IpodModel">
 <ANCHOR id="Itdb-ArtworkFormat" href="libgpod/libgpod-Device.html#Itdb-ArtworkFormat">
+<ANCHOR id="libgpod-Photo-database" href="libgpod/libgpod-Photo-database.html">
+<ANCHOR id="Itdb-PhotoAlbum" href="libgpod/libgpod-Photo-database.html#Itdb-PhotoAlbum">
+<ANCHOR id="Itdb-PhotoDB" href="libgpod/libgpod-Photo-database.html#Itdb-PhotoDB">
+<ANCHOR id="itdb-photodb-add-photo" href="libgpod/libgpod-Photo-database.html#itdb-photodb-add-photo">
+<ANCHOR id="itdb-photodb-add-photo-from-data" href="libgpod/libgpod-Photo-database.html#itdb-photodb-add-photo-from-data">
+<ANCHOR id="itdb-photodb-create" href="libgpod/libgpod-Photo-database.html#itdb-photodb-create">
+<ANCHOR id="itdb-photodb-free" href="libgpod/libgpod-Photo-database.html#itdb-photodb-free">
+<ANCHOR id="itdb-photodb-parse" href="libgpod/libgpod-Photo-database.html#itdb-photodb-parse">
+<ANCHOR id="itdb-photodb-photoalbum-add-photo" href="libgpod/libgpod-Photo-database.html#itdb-photodb-photoalbum-add-photo">
+<ANCHOR id="itdb-photodb-photoalbum-by-name" href="libgpod/libgpod-Photo-database.html#itdb-photodb-photoalbum-by-name">
+<ANCHOR id="itdb-photodb-photoalbum-create" href="libgpod/libgpod-Photo-database.html#itdb-photodb-photoalbum-create">
+<ANCHOR id="itdb-photodb-photoalbum-remove" href="libgpod/libgpod-Photo-database.html#itdb-photodb-photoalbum-remove">
+<ANCHOR id="itdb-photodb-remove-photo" href="libgpod/libgpod-Photo-database.html#itdb-photodb-remove-photo">
+<ANCHOR id="itdb-photodb-write" href="libgpod/libgpod-Photo-database.html#itdb-photodb-write">

Added: libgpod/branches/upstream/current/docs/reference/html/itunesdb.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/itunesdb.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/itunesdb.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Part&#160;I.&#160;iPod database</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
+<link rel="start" href="index.html" title="libgpod Reference Manual">
+<link rel="up" href="index.html" title="libgpod Reference Manual">
+<link rel="prev" href="index.html" title="libgpod Reference Manual">
+<link rel="next" href="libgpod-The-Itdb-iTunesDB-structure.html" title="iPod database reading/writing">
+<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
+<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td>&#160;</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">libgpod Reference Manual</th>
+<td><a accesskey="n" href="libgpod-The-Itdb-iTunesDB-structure.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="part" lang="en">
+<div class="titlepage"><div><div><h1 class="title">
+<a name="itunesdb"></a>Part&#160;I.&#160;iPod database</h1></div></div></div>
+<div class="partintro" lang="en">
+<div></div>
+<p>
+      The iPod database functions are used for adding audio and video
+      to the iPod.
+      </p>
+</div>
+</div>
+</body>
+</html>

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod-Artwork.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-Artwork.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-Artwork.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -3,37 +3,38 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>Artwork</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="ch02.html" title="iPod database components">
-<link rel="prev" href="libgpod-Playlists.html" title="Playlists">
+<link rel="up" href="ch01.html" title="iPod database components">
+<link rel="prev" href="libgpod-Smart-Playlists.html" title="Smart Playlists">
 <link rel="next" href="libgpod-Device.html" title="Device">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 <tr valign="middle">
-<td><a accesskey="p" href="libgpod-Playlists.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="libgpod-Smart-Playlists.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 <th width="100%" align="center">libgpod Reference Manual</th>
 <td><a accesskey="n" href="libgpod-Device.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 </tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2566586" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id328167" class="shortcut">Top</a>
                   &#160;|&#160;
-                  <a href="#id2596749" class="shortcut">Description</a></nobr></td></tr>
+                  <a href="#id355172" class="shortcut">Description</a></nobr></td></tr>
 </table>
 <div class="refentry" lang="en">
 <a name="libgpod-Artwork"></a><div class="titlepage"></div>
 <div class="refnamediv"><table width="100%"><tr>
 <td valign="top">
 <h2>
-<a name="id2566586"></a><span class="refentrytitle">Artwork</span>
+<a name="id328167"></a><span class="refentrytitle">Artwork</span>
 </h2>
-<p>Artwork &#8212; Data structure to store iPod artwork (cover and photos)</p>
+<p>Artwork &#8212; Data structure to store iPod artwork (album covers)</p>
 </td>
 <td valign="top" align="right"></td>
 </tr></table></div>
@@ -51,7 +52,16 @@
 void        <a href="libgpod-Artwork.html#itdb-artwork-free">itdb_artwork_free</a>               (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork);
 gboolean    <a href="libgpod-Artwork.html#itdb-artwork-add-thumbnail">itdb_artwork_add_thumbnail</a>      (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
                                              <a href="libgpod-Artwork.html#ItdbThumbType">ItdbThumbType</a> type,
-                                             const gchar *filename);
+                                             const gchar *filename,
+                                             gint rotation,
+                                             GError **error);
+gboolean    <a href="libgpod-Artwork.html#itdb-artwork-add-thumbnail-from-data">itdb_artwork_add_thumbnail_from_data</a>
+                                            (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
+                                             <a href="libgpod-Artwork.html#ItdbThumbType">ItdbThumbType</a> type,
+                                             const guchar *image_data,
+                                             gsize image_data_len,
+                                             gint rotation,
+                                             GError **error);
 void        <a href="libgpod-Artwork.html#itdb-artwork-remove-thumbnail">itdb_artwork_remove_thumbnail</a>   (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
                                              <a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a> *thumb);
 void        <a href="libgpod-Artwork.html#itdb-artwork-remove-thumbnails">itdb_artwork_remove_thumbnails</a>  (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork);
@@ -67,28 +77,38 @@
 </pre>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2596749"></a><h2>Description</h2>
+<a name="id355172"></a><h2>Description</h2>
 <p>
-
+These functions and structures are for adding, changing, and removing
+album/track artwork.  For working with photos, see the
+<a href="photodb.html" title="Part&#160;II.&#160;Photo database">Photo database</a> section.
 </p>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2596764"></a><h2>Details</h2>
+<a name="id355194"></a><h2>Details</h2>
 <div class="refsect2" lang="en">
-<a name="id2596775"></a><h3>
+<a name="id355205"></a><h3>
 <a name="Itdb-Artwork"></a>Itdb_Artwork</h3>
-<a class="indexterm" name="id2596788"></a><pre class="programlisting">typedef struct {
-    GList *thumbnails;    /* list of Itdb_Thumbs */
-    guint32 artwork_size; /* Size in bytes of the original source image */
-    guint32 id;           /* Artwork id used by photoalbums, starts at
-			   * 0x40... libgpod will set this on sync. */
-    gint32 creation_date; /* Date the image was created */
+<a class="indexterm" name="id355217"></a><pre class="programlisting">typedef struct {
+    GList *thumbnails;     /* list of Itdb_Thumbs */
+    guint32 id;            /* Artwork id used by photoalbums, starts at
+			    * 0x40... libgpod will set this on sync. */
+    gint32  unk028;
+    guint32 rating;        /* Rating from iPhoto * 20 (PhotoDB only) */
+    gint32  unk036;
+    guint32 creation_date; /* Date the image file was created
+			      (creation date of image file (Mac type,
+			      PhotoDB only) */
+    guint32 digitized_date;/* Date the image was taken (EXIF
+			      information, Mac type, PhotoDB only) */
+    guint32 artwork_size;  /* Size in bytes of the original source
+			      image (PhotoDB only -- don't touch in
+			      case of ArtworkDB!) */
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 } Itdb_Artwork;
 </pre>
@@ -98,21 +118,22 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2598292"></a><h3>
+<a name="id352692"></a><h3>
 <a name="Itdb-Thumb"></a>Itdb_Thumb</h3>
-<a class="indexterm" name="id2574183"></a><pre class="programlisting">typedef struct {
+<a class="indexterm" name="id334618"></a><pre class="programlisting">typedef struct {
     ItdbThumbType type;
-    gchar *filename;
-    guchar *image_data;      /* holds the thumbnail data of
-				non-transfered thumbnails when
-				filename == NULL */
-    gsize  image_data_len;   /* length of data */
+    gchar   *filename;
+    guchar  *image_data;      /* holds the thumbnail data of
+				 non-transfered thumbnails when
+				 filename == NULL */
+    gsize   image_data_len;   /* length of data */
+    gint    rotation;         /* angle (0, 90, 180, 270) to rotate the image */
     guint32 offset;
     guint32 size;
-    gint16 width;
-    gint16 height;
-    gint16 horizontal_padding;
-    gint16 vertical_padding;
+    gint16  width;
+    gint16  height;
+    gint16  horizontal_padding;
+    gint16  vertical_padding;
 } Itdb_Thumb;
 </pre>
 <p>
@@ -121,9 +142,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2596819"></a><h3>
+<a name="id355244"></a><h3>
 <a name="ItdbThumbType"></a>enum ItdbThumbType</h3>
-<a class="indexterm" name="id2596832"></a><pre class="programlisting">typedef enum { 
+<a class="indexterm" name="id355256"></a><pre class="programlisting">typedef enum { 
     ITDB_THUMB_COVER_SMALL,
     ITDB_THUMB_COVER_LARGE,
     ITDB_THUMB_PHOTO_SMALL,
@@ -138,9 +159,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2596851"></a><h3>
+<a name="id355273"></a><h3>
 <a name="itdb-artwork-new"></a>itdb_artwork_new ()</h3>
-<a class="indexterm" name="id2596863"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a>* itdb_artwork_new              (void);</pre>
+<a class="indexterm" name="id355285"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a>* itdb_artwork_new              (void);</pre>
 <p>
 Creates a new <a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a></p>
 <p>
@@ -149,8 +170,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a new <a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a> to be freed with <a href="libgpod-Artwork.html#itdb-artwork-free"><code class="function">itdb_artwork_free()</code></a> when
 no longer needed
 </td>
@@ -159,9 +179,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2604688"></a><h3>
+<a name="id355346"></a><h3>
 <a name="itdb-artwork-duplicate"></a>itdb_artwork_duplicate ()</h3>
-<a class="indexterm" name="id2604699"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a>* itdb_artwork_duplicate        (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork);</pre>
+<a class="indexterm" name="id355359"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a>* itdb_artwork_duplicate        (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork);</pre>
 <p>
 Duplicates <em class="parameter"><code>artwork</code></em></p>
 <p>
@@ -171,14 +191,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a new copy of <em class="parameter"><code>artwork</code></em>
 </td>
 </tr>
@@ -187,9 +205,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2604777"></a><h3>
+<a name="id359808"></a><h3>
 <a name="itdb-artwork-free"></a>itdb_artwork_free ()</h3>
-<a class="indexterm" name="id2604789"></a><pre class="programlisting">void        itdb_artwork_free               (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork);</pre>
+<a class="indexterm" name="id359819"></a><pre class="programlisting">void        itdb_artwork_free               (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork);</pre>
 <p>
 Frees memory used by <em class="parameter"><code>artwork</code></em></p>
 <p>
@@ -198,8 +216,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a>
 </td>
 </tr></tbody>
@@ -207,44 +224,58 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2604850"></a><h3>
+<a name="id359872"></a><h3>
 <a name="itdb-artwork-add-thumbnail"></a>itdb_artwork_add_thumbnail ()</h3>
-<a class="indexterm" name="id2604861"></a><pre class="programlisting">gboolean    itdb_artwork_add_thumbnail      (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
+<a class="indexterm" name="id359882"></a><pre class="programlisting">gboolean    itdb_artwork_add_thumbnail      (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
                                              <a href="libgpod-Artwork.html#ItdbThumbType">ItdbThumbType</a> type,
-                                             const gchar *filename);</pre>
+                                             const gchar *filename,
+                                             gint rotation,
+                                             GError **error);</pre>
 <p>
 Appends a thumbnail of type <em class="parameter"><code>type</code></em> to existing thumbnails in <em class="parameter"><code>artwork</code></em>. No 
 data is read from <em class="parameter"><code>filename</code></em> yet, the file will be when <em class="parameter"><code>artwork</code></em> is saved to
-disk. <em class="parameter"><code>filename</code></em> must still exist when that happens.</p>
+disk. <em class="parameter"><code>filename</code></em> must still exist when that happens.
+</p>
 <p>
+For the rotation angle you can also use the gdk constants
+GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+..._CLOCKWISE.</p>
+<p>
 
 </p>
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
 <td> an <span class="type">Itdb_Thumbnail</span>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
 <td> thumbnail size
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
 <td> image file to use to create the thumbnail
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>rotation</code></em>&#160;:</span></td>
+<td> angle by which the image should be rotated
+counterclockwise. Valid values are 0, 90, 180 and 270.
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td> return location for a <span class="type">GError</span> or NULL
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE if the thumbnail could be successfully added, FALSE
-otherwise
+otherwise. <em class="parameter"><code>error</code></em> is set appropriately.
 </td>
 </tr>
 </tbody>
@@ -252,9 +283,76 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2591189"></a><h3>
+<a name="id360057"></a><h3>
+<a name="itdb-artwork-add-thumbnail-from-data"></a>itdb_artwork_add_thumbnail_from_data ()</h3>
+<a class="indexterm" name="id360067"></a><pre class="programlisting">gboolean    itdb_artwork_add_thumbnail_from_data
+                                            (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
+                                             <a href="libgpod-Artwork.html#ItdbThumbType">ItdbThumbType</a> type,
+                                             const guchar *image_data,
+                                             gsize image_data_len,
+                                             gint rotation,
+                                             GError **error);</pre>
+<p>
+Appends a thumbnail of type <em class="parameter"><code>type</code></em> to existing thumbnails in
+<em class="parameter"><code>artwork</code></em>. No data is processed yet. This will be done when <em class="parameter"><code>artwork</code></em>
+is saved to disk.
+</p>
+<p>
+For the rotation angle you can also use the gdk constants
+GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+..._CLOCKWISE.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
+<td> an <span class="type">Itdb_Thumbnail</span>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
+<td> thumbnail size
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>image_data</code></em>&#160;:</span></td>
+<td> data used to create the thumbnail (the raw contents of
+             an image file)
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>image_data_len</code></em>&#160;:</span></td>
+<td> length of above data block
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>rotation</code></em>&#160;:</span></td>
+<td> angle by which the image should be rotated
+counterclockwise. Valid values are 0, 90, 180 and 270.
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td> return location for a <span class="type">GError</span> or NULL
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> TRUE if the thumbnail could be successfully added, FALSE
+otherwise. <em class="parameter"><code>error</code></em> is set appropriately.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id360254"></a><h3>
 <a name="itdb-artwork-remove-thumbnail"></a>itdb_artwork_remove_thumbnail ()</h3>
-<a class="indexterm" name="id2591201"></a><pre class="programlisting">void        itdb_artwork_remove_thumbnail   (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
+<a class="indexterm" name="id360264"></a><pre class="programlisting">void        itdb_artwork_remove_thumbnail   (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
                                              <a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a> *thumb);</pre>
 <p>
 Removes <em class="parameter"><code>thumb</code></em> from <em class="parameter"><code>artwork</code></em>. The memory used by <em class="parameter"><code>thumb</code></em> isn't freed.</p>
@@ -265,14 +363,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a>
 </td>
 </tr>
@@ -281,9 +377,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2591305"></a><h3>
+<a name="id360354"></a><h3>
 <a name="itdb-artwork-remove-thumbnails"></a>itdb_artwork_remove_thumbnails ()</h3>
-<a class="indexterm" name="id2591318"></a><pre class="programlisting">void        itdb_artwork_remove_thumbnails  (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork);</pre>
+<a class="indexterm" name="id360364"></a><pre class="programlisting">void        itdb_artwork_remove_thumbnails  (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork);</pre>
 <p>
 Removes all thumbnails from <em class="parameter"><code>artwork</code></em></p>
 <p>
@@ -292,8 +388,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a>
 </td>
 </tr></tbody>
@@ -301,9 +396,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2591381"></a><h3>
+<a name="id360417"></a><h3>
 <a name="itdb-artwork-get-thumb-by-type"></a>itdb_artwork_get_thumb_by_type ()</h3>
-<a class="indexterm" name="id2591394"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a>* itdb_artwork_get_thumb_by_type  (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
+<a class="indexterm" name="id360428"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a>* itdb_artwork_get_thumb_by_type  (<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *artwork,
                                              <a href="libgpod-Artwork.html#ItdbThumbType">ItdbThumbType</a> type);</pre>
 <p>
 Searches <em class="parameter"><code>artwork</code></em> for an <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a> of type <em class="parameter"><code>type</code></em>.</p>
@@ -314,20 +409,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>artwork</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
 <td> type of the <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a> to retrieve
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a> of type <em class="parameter"><code>type</code></em>, or NULL if such a thumbnail couldn't
 be found
 </td>
@@ -337,18 +429,14 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2591523"></a><h3>
+<a name="id360540"></a><h3>
 <a name="itdb-thumb-get-gdk-pixbuf"></a>itdb_thumb_get_gdk_pixbuf ()</h3>
-<a class="indexterm" name="id2591535"></a><pre class="programlisting">gpointer    itdb_thumb_get_gdk_pixbuf       (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
+<a class="indexterm" name="id360550"></a><pre class="programlisting">gpointer    itdb_thumb_get_gdk_pixbuf       (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
                                              <a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a> *thumb);</pre>
 <p>
-Converts <em class="parameter"><code>thumb</code></em> to a <a
-href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
-><span class="type">GdkPixbuf</span></a>.
+Converts <em class="parameter"><code>thumb</code></em> to a <span class="type">GdkPixbuf</span>.
 Since we want to have gdk-pixbuf dependency optional, a generic
-gpointer is returned which you have to cast to a <a
-href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
-><span class="type">GdkPixbuf</span></a> using 
+gpointer is returned which you have to cast to a <span class="type">GdkPixbuf</span> using 
 <code class="function">GDK_PIXBUF()</code> yourself.</p>
 <p>
 
@@ -357,25 +445,18 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
-<td> a <a
-href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
-><span class="type">GdkPixbuf</span></a> that must be unreffed with <a
-href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-refcounting.html#gdk-pixbuf-unref"
-><code class="function">gdk_pixbuf_unref()</code></a>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a <span class="type">GdkPixbuf</span> that must be unreffed with <code class="function">gdk_pixbuf_unref()</code>
 after use, or NULL if the creation of the gdk-pixbuf failed or if 
 libgpod was compiled without gdk-pixbuf support.
 </td>
@@ -385,9 +466,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2608220"></a><h3>
+<a name="id360676"></a><h3>
 <a name="itdb-thumb-duplicate"></a>itdb_thumb_duplicate ()</h3>
-<a class="indexterm" name="id2608230"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a>* itdb_thumb_duplicate            (<a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a> *thumb);</pre>
+<a class="indexterm" name="id360686"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a>* itdb_thumb_duplicate            (<a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a> *thumb);</pre>
 <p>
 Duplicates the data contained in <em class="parameter"><code>thumb</code></em></p>
 <p>
@@ -397,14 +478,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a newly allocated copy of <em class="parameter"><code>thumb</code></em> to be freed with 
 <a href="libgpod-Artwork.html#itdb-thumb-free"><code class="function">itdb_thumb_free()</code></a> after use
 </td>
@@ -414,9 +493,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2608308"></a><h3>
+<a name="id360762"></a><h3>
 <a name="itdb-thumb-free"></a>itdb_thumb_free ()</h3>
-<a class="indexterm" name="id2608318"></a><pre class="programlisting">void        itdb_thumb_free                 (<a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a> *thumb);</pre>
+<a class="indexterm" name="id360773"></a><pre class="programlisting">void        itdb_thumb_free                 (<a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a> *thumb);</pre>
 <p>
 Frees the memory used by <em class="parameter"><code>thumb</code></em></p>
 <p>
@@ -425,8 +504,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a>
 </td>
 </tr></tbody>
@@ -434,9 +512,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2608373"></a><h3>
+<a name="id360826"></a><h3>
 <a name="itdb-thumb-new"></a>itdb_thumb_new ()</h3>
-<a class="indexterm" name="id2608383"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a>* itdb_thumb_new                  (void);</pre>
+<a class="indexterm" name="id360836"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a>* itdb_thumb_new                  (void);</pre>
 <p>
 Creates a new <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a></p>
 <p>
@@ -445,8 +523,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> newly allocated <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a> to be freed with <a href="libgpod-Artwork.html#itdb-thumb-free"><code class="function">itdb_thumb_free()</code></a>
 after use
 </td>
@@ -455,9 +532,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2608438"></a><h3>
+<a name="id360891"></a><h3>
 <a name="itdb-thumb-get-filename"></a>itdb_thumb_get_filename ()</h3>
-<a class="indexterm" name="id2608449"></a><pre class="programlisting">gchar*      itdb_thumb_get_filename         (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
+<a class="indexterm" name="id360901"></a><pre class="programlisting">gchar*      itdb_thumb_get_filename         (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
                                              <a href="libgpod-Artwork.html#Itdb-Thumb">Itdb_Thumb</a> *thumb);</pre>
 <p>
 Get filename of thumbnail. If it's a thumbnail on the iPod, return
@@ -470,20 +547,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>thumb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Artwork.html#Itdb-Thumb"><span class="type">Itdb_Thumb</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> newly allocated string containing the absolute path to the 
 thumbnail file. 
 </td>
@@ -492,6 +566,12 @@
 </table></div>
 </div>
 </div>
+<div class="refsect1" lang="en">
+<a name="id360988"></a><h2>See Also</h2>
+<p>
+<a href="photodb.html" title="Part&#160;II.&#160;Photo database">Photo database</a>
+</p>
 </div>
+</div>
 </body>
 </html>

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod-Device.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-Device.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-Device.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -3,36 +3,38 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>Device</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="ch02.html" title="iPod database components">
+<link rel="up" href="ch01.html" title="iPod database components">
 <link rel="prev" href="libgpod-Artwork.html" title="Artwork">
+<link rel="next" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 <tr valign="middle">
 <td><a accesskey="p" href="libgpod-Artwork.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 <th width="100%" align="center">libgpod Reference Manual</th>
-<td>&#160;</td>
+<td><a accesskey="n" href="photodb.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 </tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2593802" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id269835" class="shortcut">Top</a>
                   &#160;|&#160;
-                  <a href="#id2602112" class="shortcut">Description</a></nobr></td></tr>
+                  <a href="#id355105" class="shortcut">Description</a></nobr></td></tr>
 </table>
 <div class="refentry" lang="en">
 <a name="libgpod-Device"></a><div class="titlepage"></div>
 <div class="refnamediv"><table width="100%"><tr>
 <td valign="top">
 <h2>
-<a name="id2593802"></a><span class="refentrytitle">Device</span>
+<a name="id269835"></a><span class="refentrytitle">Device</span>
 </h2>
-<p>Device &#8212; Data structure holding information about the iPod (model, mount point, ...)</p>
+<p>Device &#8212; Data structure holding information about the iPod (model, mount point, etc.)</p>
 </td>
 <td valign="top" align="right"></td>
 </tr></table></div>
@@ -50,22 +52,41 @@
 gboolean    <a href="libgpod-Device.html#itdb-device-read-sysinfo">itdb_device_read_sysinfo</a>        (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device);
 gchar*      <a href="libgpod-Device.html#itdb-device-get-sysinfo">itdb_device_get_sysinfo</a>         (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
                                              const gchar *field);
+void        <a href="libgpod-Device.html#itdb-device-set-sysinfo">itdb_device_set_sysinfo</a>         (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
+                                             const gchar *field,
+                                             const gchar *value);
+gboolean    <a href="libgpod-Device.html#itdb-device-write-sysinfo">itdb_device_write_sysinfo</a>       (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
+                                             GError **error);
+const <a href="libgpod-Device.html#Itdb-IpodInfo">Itdb_IpodInfo</a>* <a href="libgpod-Device.html#itdb-device-get-ipod-info">itdb_device_get_ipod_info</a>
+                                            (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device);
+const <a href="libgpod-Device.html#Itdb-IpodInfo">Itdb_IpodInfo</a>* <a href="libgpod-Device.html#itdb-info-get-ipod-info-table">itdb_info_get_ipod_info_table</a>
+                                            (void);
+const gchar* <a href="libgpod-Device.html#itdb-info-get-ipod-generation-string">itdb_info_get_ipod_generation_string</a>
+                                            (<a href="libgpod-Device.html#Itdb-IpodGeneration">Itdb_IpodGeneration</a> generation);
+const gchar* <a href="libgpod-Device.html#itdb-info-get-ipod-model-name-string">itdb_info_get_ipod_model_name_string</a>
+                                            (<a href="libgpod-Device.html#Itdb-IpodModel">Itdb_IpodModel</a> model);
+gboolean    <a href="libgpod-Device.html#itdb-init-ipod">itdb_init_ipod</a>                  (const gchar *mountpoint,
+                                             const gchar *model_number,
+                                             const gchar *ipod_name,
+                                             GError **error);
+enum        <a href="libgpod-Device.html#Itdb-IpodGeneration">Itdb_IpodGeneration</a>;
+            <a href="libgpod-Device.html#Itdb-IpodInfo">Itdb_IpodInfo</a>;
 enum        <a href="libgpod-Device.html#Itdb-IpodModel">Itdb_IpodModel</a>;
             <a href="libgpod-Device.html#Itdb-ArtworkFormat">Itdb_ArtworkFormat</a>;
 </pre>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2602112"></a><h2>Description</h2>
+<a name="id355105"></a><h2>Description</h2>
 <p>
-
+These functions are for reading and setting information about the iPod.
 </p>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2602128"></a><h2>Details</h2>
+<a name="id358894"></a><h2>Details</h2>
 <div class="refsect2" lang="en">
-<a name="id2602138"></a><h3>
+<a name="id358905"></a><h3>
 <a name="Itdb-Device"></a>Itdb_Device</h3>
-<a class="indexterm" name="id2602150"></a><pre class="programlisting">typedef struct {
+<a class="indexterm" name="id358917"></a><pre class="programlisting">typedef struct {
     gchar *mountpoint;    /* mountpoint of the iPod */
     gint   musicdirs;     /* number of /iPod_Control/Music/F.. dirs */
     guint  byte_order;    /* G_LITTLE_ENDIAN "regular" endianness 
@@ -84,9 +105,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2564681"></a><h3>
+<a name="id339125"></a><h3>
 <a name="itdb-device-new"></a>itdb_device_new ()</h3>
-<a class="indexterm" name="id2589961"></a><pre class="programlisting"><a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a>* itdb_device_new                (void);</pre>
+<a class="indexterm" name="id315771"></a><pre class="programlisting"><a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a>* itdb_device_new                (void);</pre>
 <p>
 Creates a new <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a> structure</p>
 <p>
@@ -95,8 +116,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a newly allocated <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a> which must be freed with
 <a href="libgpod-Device.html#itdb-device-free"><code class="function">itdb_device_free()</code></a> when no longer needed
 </td>
@@ -105,9 +125,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2596116"></a><h3>
+<a name="id358980"></a><h3>
 <a name="itdb-device-free"></a>itdb_device_free ()</h3>
-<a class="indexterm" name="id2596129"></a><pre class="programlisting">void        itdb_device_free                (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device);</pre>
+<a class="indexterm" name="id358992"></a><pre class="programlisting">void        itdb_device_free                (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device);</pre>
 <p>
 Frees memory used by <em class="parameter"><code>device</code></em></p>
 <p>
@@ -116,8 +136,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a>
 </td>
 </tr></tbody>
@@ -125,9 +144,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2596189"></a><h3>
+<a name="id359052"></a><h3>
 <a name="itdb-device-set-mountpoint"></a>itdb_device_set_mountpoint ()</h3>
-<a class="indexterm" name="id2596200"></a><pre class="programlisting">void        itdb_device_set_mountpoint      (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
+<a class="indexterm" name="id359065"></a><pre class="programlisting">void        itdb_device_set_mountpoint      (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
                                              const gchar *mp);</pre>
 <p>
 Sets the mountpoint of <em class="parameter"><code>device</code></em> to <em class="parameter"><code>mp</code></em> and update the cached device 
@@ -139,14 +158,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mp</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mp</code></em>&#160;:</span></td>
 <td> the new mount point
 </td>
 </tr>
@@ -155,9 +172,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2605941"></a><h3>
+<a name="id361489"></a><h3>
 <a name="itdb-device-read-sysinfo"></a>itdb_device_read_sysinfo ()</h3>
-<a class="indexterm" name="id2605953"></a><pre class="programlisting">gboolean    itdb_device_read_sysinfo        (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device);</pre>
+<a class="indexterm" name="id361499"></a><pre class="programlisting">gboolean    itdb_device_read_sysinfo        (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device);</pre>
 <p>
 Reads the SysInfo file and stores information in device-&gt;sysinfo for
 later use.</p>
@@ -168,14 +185,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE if file could be read, FALSE otherwise 
 </td>
 </tr>
@@ -184,9 +199,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606021"></a><h3>
+<a name="id361559"></a><h3>
 <a name="itdb-device-get-sysinfo"></a>itdb_device_get_sysinfo ()</h3>
-<a class="indexterm" name="id2606032"></a><pre class="programlisting">gchar*      itdb_device_get_sysinfo         (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
+<a class="indexterm" name="id361569"></a><pre class="programlisting">gchar*      itdb_device_get_sysinfo         (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
                                              const gchar *field);</pre>
 <p>
 Retrieve specified field from the SysInfo file.</p>
@@ -197,20 +212,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>field</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>field</code></em>&#160;:</span></td>
 <td> field to retrive information from
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the information associated with <em class="parameter"><code>field</code></em>, or NULL if <em class="parameter"><code>field</code></em>
 couldn't be found. <code class="function">g_free()</code> after use
 </td>
@@ -220,9 +232,274 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606140"></a><h3>
+<a name="id361665"></a><h3>
+<a name="itdb-device-set-sysinfo"></a>itdb_device_set_sysinfo ()</h3>
+<a class="indexterm" name="id361675"></a><pre class="programlisting">void        itdb_device_set_sysinfo         (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
+                                             const gchar *field,
+                                             const gchar *value);</pre>
+<p>
+Set specified field. It can later be written to the iPod using
+itdb_device_read_sysinfo</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>field</code></em>&#160;:</span></td>
+<td> field to set
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
+<td> value to set (or NULL to remove the field).
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id361761"></a><h3>
+<a name="itdb-device-write-sysinfo"></a>itdb_device_write_sysinfo ()</h3>
+<a class="indexterm" name="id361771"></a><pre class="programlisting">gboolean    itdb_device_write_sysinfo       (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device,
+                                             GError **error);</pre>
+<p>
+Fills the SysInfo file with information in device-&gt;sysinfo. Note:
+no directories are created if not already existent.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td> return location for a <span class="type">GError</span> or NULL
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> TRUE if file could be read, FALSE otherwise 
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id361855"></a><h3>
+<a name="itdb-device-get-ipod-info"></a>itdb_device_get_ipod_info ()</h3>
+<a class="indexterm" name="id361866"></a><pre class="programlisting">const <a href="libgpod-Device.html#Itdb-IpodInfo">Itdb_IpodInfo</a>* itdb_device_get_ipod_info
+                                            (<a href="libgpod-Device.html#Itdb-Device">Itdb_Device</a> *device);</pre>
+<p>
+Retrieve the <a href="libgpod-Device.html#Itdb-IpodInfo"><span class="type">Itdb_IpodInfo</span></a> entry for this iPod</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>device</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Device.html#Itdb-Device"><span class="type">Itdb_Device</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> the <a href="libgpod-Device.html#Itdb-IpodInfo"><span class="type">Itdb_IpodInfo</span></a> entry for this iPod
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id361939"></a><h3>
+<a name="itdb-info-get-ipod-info-table"></a>itdb_info_get_ipod_info_table ()</h3>
+<a class="indexterm" name="id361949"></a><pre class="programlisting">const <a href="libgpod-Device.html#Itdb-IpodInfo">Itdb_IpodInfo</a>* itdb_info_get_ipod_info_table
+                                            (void);</pre>
+<p>
+Return a pointer to the start of valid iPod model descriptions,
+which is an array of <a href="libgpod-Device.html#Itdb-IpodInfo"><span class="type">Itdb_IpodInfo</span></a> entries.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a pointer to the array of <a href="libgpod-Device.html#Itdb-IpodInfo"><span class="type">Itdb_IpodInfo</span></a> entries.
+</td>
+</tr></tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id361999"></a><h3>
+<a name="itdb-info-get-ipod-generation-string"></a>itdb_info_get_ipod_generation_string ()</h3>
+<a class="indexterm" name="id362010"></a><pre class="programlisting">const gchar* itdb_info_get_ipod_generation_string
+                                            (<a href="libgpod-Device.html#Itdb-IpodGeneration">Itdb_IpodGeneration</a> generation);</pre>
+<p>
+Return the iPod's generic generation name, like "First Generation",
+"Mobile Phone"...</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>generation</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Device.html#Itdb-IpodGeneration"><span class="type">Itdb_IpodGeneration</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a pointer to the generation name. This is a static
+string and must not be <code class="function">g_free()</code>d.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id362080"></a><h3>
+<a name="itdb-info-get-ipod-model-name-string"></a>itdb_info_get_ipod_model_name_string ()</h3>
+<a class="indexterm" name="id362091"></a><pre class="programlisting">const gchar* itdb_info_get_ipod_model_name_string
+                                            (<a href="libgpod-Device.html#Itdb-IpodModel">Itdb_IpodModel</a> model);</pre>
+<p>
+Return the iPod's generic model name, like "Color", "Nano"...</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Device.html#Itdb-IpodModel"><span class="type">Itdb_IpodModel</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a pointer to the model name. This is a static string
+and must not be <code class="function">g_free()</code>d.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id362160"></a><h3>
+<a name="itdb-init-ipod"></a>itdb_init_ipod ()</h3>
+<a class="indexterm" name="id362170"></a><pre class="programlisting">gboolean    itdb_init_ipod                  (const gchar *mountpoint,
+                                             const gchar *model_number,
+                                             const gchar *ipod_name,
+                                             GError **error);</pre>
+<p>
+Initialise an iPod device from scratch. The function attempts to
+create a blank database, complete with master playlist and device
+information as well as the directory structure required for the
+type of iPod.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td>   the iPod mountpoint
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>model_number</code></em>&#160;:</span></td>
+<td> the iPod model number
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>ipod_name</code></em>&#160;:</span></td>
+<td>    the name to give to the iPod. Will be displayed in
+               gtkpod or itunes
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td>        return location for a <span class="type">GError</span> or NULL
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> TRUE when successful, FALSE if a failure has occurred.
+
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id362288"></a><h3>
+<a name="Itdb-IpodGeneration"></a>enum Itdb_IpodGeneration</h3>
+<a class="indexterm" name="id362298"></a><pre class="programlisting">typedef enum {
+    ITDB_IPOD_GENERATION_UNKNOWN,
+    ITDB_IPOD_GENERATION_FIRST,
+    ITDB_IPOD_GENERATION_SECOND,
+    ITDB_IPOD_GENERATION_THIRD,
+    ITDB_IPOD_GENERATION_FOURTH,
+    ITDB_IPOD_GENERATION_FIFTH,
+    ITDB_IPOD_GENERATION_SIXTH,
+    ITDB_IPOD_GENERATION_MOBILE
+} Itdb_IpodGeneration;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id362314"></a><h3>
+<a name="Itdb-IpodInfo"></a>Itdb_IpodInfo</h3>
+<a class="indexterm" name="id362325"></a><pre class="programlisting">typedef struct {
+       /* model_number is abbreviated: if the first character is not
+	  numeric, it is ommited. e.g. "MA350 -&gt; A350", "M9829 -&gt; 9829" */
+	const gchar *model_number;
+        const double capacity;  /* in GB */
+	const Itdb_IpodModel ipod_model;
+	const Itdb_IpodGeneration ipod_generation;
+        /* Number of music (Fnn) dirs created by iTunes. The exact
+	   number seems to be version dependent. Therefore, the
+	   numbers here represent a mixture of reported values and
+	   common sense. Note: this number does not necessarily
+	   represent the number of dirs present on a particular
+	   iPod. It is used when setting up a new iPod from
+	   scratch. */
+        const guint musicdirs;
+} Itdb_IpodInfo;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id362344"></a><h3>
 <a name="Itdb-IpodModel"></a>enum Itdb_IpodModel</h3>
-<a class="indexterm" name="id2596279"></a><pre class="programlisting">typedef enum {
+<a class="indexterm" name="id362355"></a><pre class="programlisting">typedef enum {
     ITDB_IPOD_MODEL_INVALID,
     ITDB_IPOD_MODEL_UNKNOWN,
     ITDB_IPOD_MODEL_COLOR,
@@ -253,13 +530,14 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2596307"></a><h3>
+<a name="id362374"></a><h3>
 <a name="Itdb-ArtworkFormat"></a>Itdb_ArtworkFormat</h3>
-<a class="indexterm" name="id2596319"></a><pre class="programlisting">typedef struct {
+<a class="indexterm" name="id362385"></a><pre class="programlisting">typedef struct {
 	ItdbThumbType type;
 	gint16 width;
 	gint16 height;
 	gint16 correlation_id;
+        ItdbThumbFormat format;
 } Itdb_ArtworkFormat;
 </pre>
 <p>

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod-File-handling-functions.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-File-handling-functions.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-File-handling-functions.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -3,37 +3,38 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>File handling functions</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="ch01.html" title="iPod database">
+<link rel="up" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
 <link rel="prev" href="libgpod-The-Itdb-iTunesDB-structure.html" title="iPod database reading/writing">
 <link rel="next" href="libgpod-Time-handling.html" title="Time handling">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 <tr valign="middle">
 <td><a accesskey="p" href="libgpod-The-Itdb-iTunesDB-structure.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="u" href="itunesdb.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 <th width="100%" align="center">libgpod Reference Manual</th>
 <td><a accesskey="n" href="libgpod-Time-handling.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 </tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585793" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id321287" class="shortcut">Top</a>
                   &#160;|&#160;
-                  <a href="#id2584218" class="shortcut">Description</a></nobr></td></tr>
+                  <a href="#id317334" class="shortcut">Description</a></nobr></td></tr>
 </table>
 <div class="refentry" lang="en">
 <a name="libgpod-File-handling-functions"></a><div class="titlepage"></div>
 <div class="refnamediv"><table width="100%"><tr>
 <td valign="top">
 <h2>
-<a name="id2585793"></a><span class="refentrytitle">File handling functions</span>
+<a name="id321287"></a><span class="refentrytitle">File handling functions</span>
 </h2>
-<p>File handling functions &#8212; Functions to copy new files to the iPod</p>
+<p>File handling functions &#8212; Managing files on the iPod</p>
 </td>
 <td valign="top" align="right"></td>
 </tr></table></div>
@@ -55,17 +56,18 @@
 </pre>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2584218"></a><h2>Description</h2>
+<a name="id317334"></a><h2>Description</h2>
 <p>
-
+These functions are for copying, renaming, and getting information about the
+files and directories on the iPod
 </p>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2584233"></a><h2>Details</h2>
+<a name="id317350"></a><h2>Details</h2>
 <div class="refsect2" lang="en">
-<a name="id2584244"></a><h3>
+<a name="id317361"></a><h3>
 <a name="itdb-cp-track-to-ipod"></a>itdb_cp_track_to_ipod ()</h3>
-<a class="indexterm" name="id2584255"></a><pre class="programlisting">gboolean    itdb_cp_track_to_ipod           (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track,
+<a class="indexterm" name="id317373"></a><pre class="programlisting">gboolean    itdb_cp_track_to_ipod           (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track,
                                              gchar *filename,
                                              GError **error);</pre>
 <p>
@@ -103,26 +105,22 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> the <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a> to copy (containing <em class="parameter"><code>filename</code></em> metadata)
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
 <td> the source file
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
 <td> return location for a <span class="type">GError</span> or NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE on success, FALSE on error, in which case <em class="parameter"><code>error</code></em> is
 set accordingly.
 </td>
@@ -132,9 +130,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2577564"></a><h3>
+<a name="id346156"></a><h3>
 <a name="itdb-filename-fs2ipod"></a>itdb_filename_fs2ipod ()</h3>
-<a class="indexterm" name="id2577576"></a><pre class="programlisting">void        itdb_filename_fs2ipod           (gchar *filename);</pre>
+<a class="indexterm" name="id346168"></a><pre class="programlisting">void        itdb_filename_fs2ipod           (gchar *filename);</pre>
 <p>
 Convert string from casual PC file name to iPod iTunesDB format using ':' 
 instead of G_DIR_SEPARATOR_S (ie slashes on Unix-like systems). <em class="parameter"><code>ipod_file</code></em>
@@ -145,8 +143,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
 <td> a filename 'PC-style' (eg /iPod_Control/Music/f00/test.mp3)
 </td>
 </tr></tbody>
@@ -154,9 +151,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2577632"></a><h3>
+<a name="id346224"></a><h3>
 <a name="itdb-filename-ipod2fs"></a>itdb_filename_ipod2fs ()</h3>
-<a class="indexterm" name="id2577643"></a><pre class="programlisting">void        itdb_filename_ipod2fs           (gchar *ipod_file);</pre>
+<a class="indexterm" name="id346236"></a><pre class="programlisting">void        itdb_filename_ipod2fs           (gchar *ipod_file);</pre>
 <p>
 Convert string from from iPod iTunesDB format to casual PC file name
 using G_DIR_SEPARATOR (ie slashes on Unix-like systems) instead of ':'.
@@ -167,8 +164,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>ipod_file</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>ipod_file</code></em>&#160;:</span></td>
 <td> a filename 'PC-style' (eg /iPod_Control/Music/f00/test.mp3)
 </td>
 </tr></tbody>
@@ -176,9 +172,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2577700"></a><h3>
+<a name="id346292"></a><h3>
 <a name="itdb-filename-on-ipod"></a>itdb_filename_on_ipod ()</h3>
-<a class="indexterm" name="id2577712"></a><pre class="programlisting">gchar*      itdb_filename_on_ipod           (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
+<a class="indexterm" name="id346303"></a><pre class="programlisting">gchar*      itdb_filename_on_ipod           (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
 <p>
 Return the full iPod filename as stored in <em class="parameter"><code>track</code></em>.
 </p>
@@ -197,14 +193,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> full filename to <em class="parameter"><code>track</code></em> on the iPod or NULL if no
 filename is set in <em class="parameter"><code>track</code></em>. Must be freed with <code class="function">g_free()</code> after use.
 </td>
@@ -214,9 +208,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2583255"></a><h3>
+<a name="id347941"></a><h3>
 <a name="itdb-musicdirs-number"></a>itdb_musicdirs_number ()</h3>
-<a class="indexterm" name="id2583266"></a><pre class="programlisting">gint        itdb_musicdirs_number           (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<a class="indexterm" name="id347952"></a><pre class="programlisting">gint        itdb_musicdirs_number           (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Determine the number of F.. directories in iPod_Control/Music.
 </p>
@@ -231,14 +225,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> max number of directories in iPod_Control/Music
 </td>
 </tr>
@@ -247,9 +239,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2583341"></a><h3>
+<a name="id348023"></a><h3>
 <a name="itdb-rename-files"></a>itdb_rename_files ()</h3>
-<a class="indexterm" name="id2583354"></a><pre class="programlisting">gboolean    itdb_rename_files               (const gchar *mp,
+<a class="indexterm" name="id348035"></a><pre class="programlisting">gboolean    itdb_rename_files               (const gchar *mp,
                                              GError **error);</pre>
 <p>
 Renames/removes some files on the iPod (Playcounts, OTG
@@ -263,20 +255,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mp</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mp</code></em>&#160;:</span></td>
 <td> mount point of the iPod
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
 <td> return location for a <span class="type">GError</span> or NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> FALSE on error and sets <em class="parameter"><code>error</code></em> accordingly
 </td>
 </tr>

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod-Low-level-functions.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-Low-level-functions.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-Low-level-functions.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -3,35 +3,36 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>Low-level functions</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="ch01.html" title="iPod database">
+<link rel="up" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
 <link rel="prev" href="libgpod-Time-handling.html" title="Time handling">
-<link rel="next" href="ch02.html" title="iPod database components">
+<link rel="next" href="ch01.html" title="iPod database components">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 <tr valign="middle">
 <td><a accesskey="p" href="libgpod-Time-handling.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="u" href="itunesdb.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 <th width="100%" align="center">libgpod Reference Manual</th>
-<td><a accesskey="n" href="ch02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<td><a accesskey="n" href="ch01.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 </tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2563835" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id342329" class="shortcut">Top</a>
                   &#160;|&#160;
-                  <a href="#id2572170" class="shortcut">Description</a></nobr></td></tr>
+                  <a href="#id315035" class="shortcut">Description</a></nobr></td></tr>
 </table>
 <div class="refentry" lang="en">
 <a name="libgpod-Low-level-functions"></a><div class="titlepage"></div>
 <div class="refnamediv"><table width="100%"><tr>
 <td valign="top">
 <h2>
-<a name="id2563835"></a><span class="refentrytitle">Low-level functions</span>
+<a name="id342329"></a><span class="refentrytitle">Low-level functions</span>
 </h2>
 <p>Low-level functions &#8212; Low-level functions which shouldn't be needed in normal situations</p>
 </td>
@@ -48,8 +49,12 @@
 gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-music-dir">itdb_get_music_dir</a>              (const gchar *mountpoint);
 gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-artwork-dir">itdb_get_artwork_dir</a>            (const gchar *mountpoint);
 gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-device-dir">itdb_get_device_dir</a>             (const gchar *mountpoint);
+gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-photos-dir">itdb_get_photos_dir</a>             (const gchar *mountpoint);
 gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-itunesdb-path">itdb_get_itunesdb_path</a>          (const gchar *mountpoint);
+gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-itunessd-path">itdb_get_itunessd_path</a>          (const gchar *mountpoint);
 gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-artworkdb-path">itdb_get_artworkdb_path</a>         (const gchar *mountpoint);
+gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-photodb-path">itdb_get_photodb_path</a>           (const gchar *mountpoint);
+gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-photos-thumb-dir">itdb_get_photos_thumb_dir</a>       (const gchar *mountpoint);
 gchar*      <a href="libgpod-Low-level-functions.html#itdb-get-path">itdb_get_path</a>                   (const gchar *dir,
                                              const gchar *file);
 gchar*      <a href="libgpod-Low-level-functions.html#itdb-resolve-path">itdb_resolve_path</a>               (const gchar *root,
@@ -71,17 +76,18 @@
 </pre>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2572170"></a><h2>Description</h2>
+<a name="id315035"></a><h2>Description</h2>
 <p>
-
+These functions are not normally needed but are avalable to allow for finer
+control over the iPod database.
 </p>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2572186"></a><h2>Details</h2>
+<a name="id315052"></a><h2>Details</h2>
 <div class="refsect2" lang="en">
-<a name="id2572196"></a><h3>
+<a name="id315063"></a><h3>
 <a name="itdb-get-control-dir"></a>itdb_get_control_dir ()</h3>
-<a class="indexterm" name="id2572208"></a><pre class="programlisting">gchar*      itdb_get_control_dir            (const gchar *mountpoint);</pre>
+<a class="indexterm" name="id315075"></a><pre class="programlisting">gchar*      itdb_get_control_dir            (const gchar *mountpoint);</pre>
 <p>
 Get the i*_Control directory. Observed values are 'iPod_Control'
 for standard iPods and 'iTunes/iTunes_Control' for mobile
@@ -93,14 +99,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
 <td> the iPod mountpoint
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> path to the control dir or NULL of non-existent. Must
 <code class="function">g_free()</code> after use.
 </td>
@@ -110,9 +114,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2572280"></a><h3>
+<a name="id315144"></a><h3>
 <a name="itdb-get-itunes-dir"></a>itdb_get_itunes_dir ()</h3>
-<a class="indexterm" name="id2572292"></a><pre class="programlisting">gchar*      itdb_get_itunes_dir             (const gchar *mountpoint);</pre>
+<a class="indexterm" name="id315156"></a><pre class="programlisting">gchar*      itdb_get_itunes_dir             (const gchar *mountpoint);</pre>
 <p>
 Retrieve the iTunes directory (containing the iTunesDB) by first
 calling <a href="libgpod-Low-level-functions.html#itdb-get-control-dir"><code class="function">itdb_get_control_dir()</code></a> and then adding 'iTunes'</p>
@@ -123,14 +127,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
 <td> the iPod mountpoint
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> path to the iTunes directory or NULL of non-existent.
 Must <code class="function">g_free()</code> after use.
 </td>
@@ -140,9 +142,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2572372"></a><h3>
+<a name="id350796"></a><h3>
 <a name="itdb-get-music-dir"></a>itdb_get_music_dir ()</h3>
-<a class="indexterm" name="id2572384"></a><pre class="programlisting">gchar*      itdb_get_music_dir              (const gchar *mountpoint);</pre>
+<a class="indexterm" name="id350807"></a><pre class="programlisting">gchar*      itdb_get_music_dir              (const gchar *mountpoint);</pre>
 <p>
 Retrieve the Music directory (containing the Fnn dirs) by first
 calling <a href="libgpod-Low-level-functions.html#itdb-get-control-dir"><code class="function">itdb_get_control_dir()</code></a> and then adding 'Music'</p>
@@ -153,14 +155,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
 <td> the iPod mountpoint
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> path to the Music directory or NULL of
 non-existent. Must <code class="function">g_free()</code> after use.
 </td>
@@ -170,9 +170,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2593290"></a><h3>
+<a name="id350884"></a><h3>
 <a name="itdb-get-artwork-dir"></a>itdb_get_artwork_dir ()</h3>
-<a class="indexterm" name="id2593302"></a><pre class="programlisting">gchar*      itdb_get_artwork_dir            (const gchar *mountpoint);</pre>
+<a class="indexterm" name="id350896"></a><pre class="programlisting">gchar*      itdb_get_artwork_dir            (const gchar *mountpoint);</pre>
 <p>
 Retrieve the Artwork directory (containing the ArtworDB) by
 first calling <a href="libgpod-Low-level-functions.html#itdb-get-control-dir"><code class="function">itdb_get_control_dir()</code></a> and then adding 'Artwork'</p>
@@ -183,14 +183,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
 <td> the iPod mountpoint
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> path to the Artwork directory or NULL of
 non-existent. Must <code class="function">g_free()</code> after use.
 </td>
@@ -200,9 +198,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2593382"></a><h3>
+<a name="id350975"></a><h3>
 <a name="itdb-get-device-dir"></a>itdb_get_device_dir ()</h3>
-<a class="indexterm" name="id2593394"></a><pre class="programlisting">gchar*      itdb_get_device_dir             (const gchar *mountpoint);</pre>
+<a class="indexterm" name="id350987"></a><pre class="programlisting">gchar*      itdb_get_device_dir             (const gchar *mountpoint);</pre>
 <p>
 Retrieve the Device directory (containing the SysInfo file) by
 first calling <a href="libgpod-Low-level-functions.html#itdb-get-control-dir"><code class="function">itdb_get_control_dir()</code></a> and then adding 'Device'</p>
@@ -213,14 +211,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
 <td> the iPod mountpoint
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> path to the Device directory or NULL of
 non-existent. Must <code class="function">g_free()</code> after use.
 </td>
@@ -230,9 +226,37 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2593474"></a><h3>
+<a name="id351066"></a><h3>
+<a name="itdb-get-photos-dir"></a>itdb_get_photos_dir ()</h3>
+<a class="indexterm" name="id351078"></a><pre class="programlisting">gchar*      itdb_get_photos_dir             (const gchar *mountpoint);</pre>
+<p>
+Retrieve the Photo directory by
+first calling <a href="libgpod-Low-level-functions.html#itdb-get-control-dir"><code class="function">itdb_get_control_dir()</code></a> and then adding 'Photos'</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td> mountpoint of iPod
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> path to the Artwork directory or NULL of
+non-existent. Must <code class="function">g_free()</code> after use.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id351129"></a><h3>
 <a name="itdb-get-itunesdb-path"></a>itdb_get_itunesdb_path ()</h3>
-<a class="indexterm" name="id2593485"></a><pre class="programlisting">gchar*      itdb_get_itunesdb_path          (const gchar *mountpoint);</pre>
+<a class="indexterm" name="id351139"></a><pre class="programlisting">gchar*      itdb_get_itunesdb_path          (const gchar *mountpoint);</pre>
 <p>
 Retrieve a path to the iTunesDB</p>
 <p>
@@ -242,14 +266,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
 <td> the iPod mountpoint
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> path to the iTunesDB or NULL if non-existent. Must <code class="function">g_free()</code>
 after use.
 </td>
@@ -259,9 +281,36 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2601088"></a><h3>
+<a name="id351200"></a><h3>
+<a name="itdb-get-itunessd-path"></a>itdb_get_itunessd_path ()</h3>
+<a class="indexterm" name="id351210"></a><pre class="programlisting">gchar*      itdb_get_itunessd_path          (const gchar *mountpoint);</pre>
+<p>
+Retrieve a path to the iTunesSD</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td> the iPod mountpoint
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> path to the iTunesSD or NULL if non-existent. Must <code class="function">g_free()</code>
+after use.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id351271"></a><h3>
 <a name="itdb-get-artworkdb-path"></a>itdb_get_artworkdb_path ()</h3>
-<a class="indexterm" name="id2601098"></a><pre class="programlisting">gchar*      itdb_get_artworkdb_path         (const gchar *mountpoint);</pre>
+<a class="indexterm" name="id351282"></a><pre class="programlisting">gchar*      itdb_get_artworkdb_path         (const gchar *mountpoint);</pre>
 <p>
 Retrieve a path to the ArtworkDB</p>
 <p>
@@ -271,14 +320,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
 <td> the iPod mountpoint
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> path to the ArtworkDB or NULL if non-existent. Must <code class="function">g_free()</code> 
 after use.
 </td>
@@ -288,9 +335,64 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2601161"></a><h3>
+<a name="id351342"></a><h3>
+<a name="itdb-get-photodb-path"></a>itdb_get_photodb_path ()</h3>
+<a class="indexterm" name="id351353"></a><pre class="programlisting">gchar*      itdb_get_photodb_path           (const gchar *mountpoint);</pre>
+<p>
+Retrieve a path to the Photo DB</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td> the iPod mountpoint
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> path to the PhotoDB or NULL if non-existent. Must
+<code class="function">g_free()</code> after use.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id351414"></a><h3>
+<a name="itdb-get-photos-thumb-dir"></a>itdb_get_photos_thumb_dir ()</h3>
+<a class="indexterm" name="id351424"></a><pre class="programlisting">gchar*      itdb_get_photos_thumb_dir       (const gchar *mountpoint);</pre>
+<p>
+Retrieve the Photo Thumbnail directory by
+first calling <a href="libgpod-Low-level-functions.html#itdb-get-control-dir"><code class="function">itdb_get_control_dir()</code></a> and then adding 'Photos/Thumbs'</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td> the iPod mountpoint
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> path to the Artwork directory or NULL of
+non-existent. Must <code class="function">g_free()</code> after use.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id351494"></a><h3>
 <a name="itdb-get-path"></a>itdb_get_path ()</h3>
-<a class="indexterm" name="id2601171"></a><pre class="programlisting">gchar*      itdb_get_path                   (const gchar *dir,
+<a class="indexterm" name="id351505"></a><pre class="programlisting">gchar*      itdb_get_path                   (const gchar *dir,
                                              const gchar *file);</pre>
 <p>
 Retrieve a path to the <em class="parameter"><code>file</code></em> in <em class="parameter"><code>dir</code></em></p>
@@ -301,20 +403,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>dir</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>dir</code></em>&#160;:</span></td>
 <td> a directory
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>file</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>file</code></em>&#160;:</span></td>
 <td> a file
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> path to the <em class="parameter"><code>file</code></em> or NULL if non-existent. Must be <code class="function">g_free()</code>'d 
 after use.
 </td>
@@ -324,11 +423,14 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2601249"></a><h3>
+<a name="id351599"></a><h3>
 <a name="itdb-resolve-path"></a>itdb_resolve_path ()</h3>
-<a class="indexterm" name="id2601259"></a><pre class="programlisting">gchar*      itdb_resolve_path               (const gchar *root,
+<a class="indexterm" name="id351609"></a><pre class="programlisting">gchar*      itdb_resolve_path               (const gchar *root,
                                              const gchar * const *components);</pre>
 <p>
+Resolve the path to a track on the iPod
+</p>
+<p>
 We start by assuming that the ipod mount point exists.  Then, for
 each component c of track-&gt;ipod_path, we try to find an entry d in
 good_path that is case-insensitively equal to c.  If we find d, we
@@ -341,23 +443,18 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>root</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>root</code></em>&#160;:</span></td>
 <td> in local encoding
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>components</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>components</code></em>&#160;:</span></td>
 <td> in utf8
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
-<td>
-
-
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> path to track on the iPod or NULL.
 </td>
 </tr>
 </tbody>
@@ -365,9 +462,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2601337"></a><h3>
+<a name="id351686"></a><h3>
 <a name="itdb-shuffle-write"></a>itdb_shuffle_write ()</h3>
-<a class="indexterm" name="id2601347"></a><pre class="programlisting">gboolean    itdb_shuffle_write              (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id351696"></a><pre class="programlisting">gboolean    itdb_shuffle_write              (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              GError **error);</pre>
 <p>
 Write out an iTunesSD for the Shuffle.
@@ -385,20 +482,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> to write to disk
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
 <td> return location for a <span class="type">GError</span> or NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE on success, FALSE on error, in which case <em class="parameter"><code>error</code></em> is
 set accordingly.
 </td>
@@ -408,9 +502,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2601448"></a><h3>
+<a name="id351793"></a><h3>
 <a name="itdb-shuffle-write-file"></a>itdb_shuffle_write_file ()</h3>
-<a class="indexterm" name="id2601459"></a><pre class="programlisting">gboolean    itdb_shuffle_write_file         (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id351803"></a><pre class="programlisting">gboolean    itdb_shuffle_write_file         (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              const gchar *filename,
                                              GError **error);</pre>
 <p>
@@ -422,26 +516,22 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> to write to disk
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
 <td> file to write to, cannot be NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
 <td> return location for a <span class="type">GError</span> or NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE on success, FALSE on error, in which case <em class="parameter"><code>error</code></em> is
 set accordingly.
 </td>
@@ -451,9 +541,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2601568"></a><h3>
+<a name="id351911"></a><h3>
 <a name="itdb-cp"></a>itdb_cp ()</h3>
-<a class="indexterm" name="id2601578"></a><pre class="programlisting">gboolean    itdb_cp                         (const gchar *from_file,
+<a class="indexterm" name="id351921"></a><pre class="programlisting">gboolean    itdb_cp                         (const gchar *from_file,
                                              const gchar *to_file,
                                              GError **error);</pre>
 <p>
@@ -465,26 +555,22 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>from_file</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>from_file</code></em>&#160;:</span></td>
 <td> source file
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>to_file</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>to_file</code></em>&#160;:</span></td>
 <td> destination file
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
 <td> return location for a <span class="type">GError</span> or NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE on success, FALSE on error, in which case <em class="parameter"><code>error</code></em> is
 set accordingly.
 </td>
@@ -494,9 +580,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2601683"></a><h3>
+<a name="id352022"></a><h3>
 <a name="itdb-parse-file"></a>itdb_parse_file ()</h3>
-<a class="indexterm" name="id2601693"></a><pre class="programlisting"><a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a>* itdb_parse_file              (const gchar *filename,
+<a class="indexterm" name="id352032"></a><pre class="programlisting"><a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a>* itdb_parse_file              (const gchar *filename,
                                              GError **error);</pre>
 <p>
 Same as <code class="function">itunesdb_parse()</code>, but filename is specified directly.</p>
@@ -507,20 +593,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
 <td> path to a file in iTunesDB format
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
 <td> return location for a <span class="type">GError</span> or NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a newly allocated <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> struct holding the tracks and
 the playlists present on the iPod at <em class="parameter"><code>mp</code></em>, NULL if <em class="parameter"><code>mp</code></em> isn't an iPod mount
 point. If non-NULL, the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> is to be freed with <a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-free"><code class="function">itdb_free()</code></a> when
@@ -532,9 +615,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2601815"></a><h3>
+<a name="id352150"></a><h3>
 <a name="itdb-write-file"></a>itdb_write_file ()</h3>
-<a class="indexterm" name="id2601826"></a><pre class="programlisting">gboolean    itdb_write_file                 (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id352160"></a><pre class="programlisting">gboolean    itdb_write_file                 (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              const gchar *filename,
                                              GError **error);</pre>
 <p>
@@ -547,26 +630,22 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> to save
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
 <td> filename to save <em class="parameter"><code>itdb</code></em> to
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
 <td> return location for a <span class="type">GError</span> or NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE if all went well, FALSE otherwise
 </td>
 </tr>
@@ -575,9 +654,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2601952"></a><h3>
+<a name="id352283"></a><h3>
 <a name="itdb-duplicate"></a>itdb_duplicate ()</h3>
-<a class="indexterm" name="id2601962"></a><pre class="programlisting"><a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a>* itdb_duplicate               (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<a class="indexterm" name="id352294"></a><pre class="programlisting"><a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a>* itdb_duplicate               (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Duplicate <em class="parameter"><code>itdb</code></em> 
 FIXME: not implemented yet</p>
@@ -588,14 +667,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> always return NULL since it's unimplemented
 </td>
 </tr>

Added: libgpod/branches/upstream/current/docs/reference/html/libgpod-Photo-database.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-Photo-database.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-Photo-database.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,673 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Photo database</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
+<link rel="start" href="index.html" title="libgpod Reference Manual">
+<link rel="up" href="photodb.html" title="Part&#160;II.&#160;Photo database">
+<link rel="prev" href="photodb.html" title="Part&#160;II.&#160;Photo database">
+<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
+<tr valign="middle">
+<td><a accesskey="p" href="photodb.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="photodb.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">libgpod Reference Manual</th>
+<td>&#160;</td>
+</tr>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id333726" class="shortcut">Top</a>
+                  &#160;|&#160;
+                  <a href="#id361166" class="shortcut">Description</a></nobr></td></tr>
+</table>
+<div class="refentry" lang="en">
+<a name="libgpod-Photo-database"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2>
+<a name="id333726"></a><span class="refentrytitle">Photo database</span>
+</h2>
+<p>Photo database &#8212; Functions to create, read, write the photo database</p>
+</td>
+<td valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsynopsisdiv">
+<h2>Synopsis</h2>
+<pre class="synopsis">
+
+
+
+            <a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a>;
+            <a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a>;
+<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a>* <a href="libgpod-Photo-database.html#itdb-photodb-add-photo">itdb_photodb_add_photo</a>        (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             const gchar *filename,
+                                             gint position,
+                                             gint rotation,
+                                             GError **error);
+<a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a>* <a href="libgpod-Photo-database.html#itdb-photodb-add-photo-from-data">itdb_photodb_add_photo_from_data</a>
+                                            (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             const guchar *image_data,
+                                             gsize image_data_len,
+                                             gint position,
+                                             gint rotation,
+                                             GError **error);
+<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a>* <a href="libgpod-Photo-database.html#itdb-photodb-create">itdb_photodb_create</a>           (const gchar *mountpoint);
+void        <a href="libgpod-Photo-database.html#itdb-photodb-free">itdb_photodb_free</a>               (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *photodb);
+<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a>* <a href="libgpod-Photo-database.html#itdb-photodb-parse">itdb_photodb_parse</a>            (const gchar *mp,
+                                             GError **error);
+void        <a href="libgpod-Photo-database.html#itdb-photodb-photoalbum-add-photo">itdb_photodb_photoalbum_add_photo</a>
+                                            (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             <a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a> *album,
+                                             <a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *photo,
+                                             gint position);
+<a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a>* <a href="libgpod-Photo-database.html#itdb-photodb-photoalbum-by-name">itdb_photodb_photoalbum_by_name</a>
+                                            (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             const gchar *albumname);
+<a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a>* <a href="libgpod-Photo-database.html#itdb-photodb-photoalbum-create">itdb_photodb_photoalbum_create</a>
+                                            (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             const gchar *albumname,
+                                             gint pos);
+void        <a href="libgpod-Photo-database.html#itdb-photodb-photoalbum-remove">itdb_photodb_photoalbum_remove</a>  (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             <a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a> *album,
+                                             gboolean remove_pics);
+void        <a href="libgpod-Photo-database.html#itdb-photodb-remove-photo">itdb_photodb_remove_photo</a>       (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             <a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a> *album,
+                                             <a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *photo);
+gboolean    <a href="libgpod-Photo-database.html#itdb-photodb-write">itdb_photodb_write</a>              (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *photodb,
+                                             GError **error);
+</pre>
+</div>
+<div class="refsect1" lang="en">
+<a name="id361166"></a><h2>Description</h2>
+<p>
+These functions are for creating, reading, and writing the photo
+database.
+</p>
+<p>
+Overview of using the Photo database:
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-parse"><code class="function">itdb_photodb_parse()</code></a>:
+Read an existing PhotoDB.
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-create"><code class="function">itdb_photodb_create()</code></a>:
+Create a new <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a> structure. The Photo Library Album is
+(first album) is created automatically.
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-add-photo"><code class="function">itdb_photodb_add_photo()</code></a>, <a href="libgpod-Photo-database.html#itdb-photodb-add-photo-from-data"><code class="function">itdb_photodb_add_photo_from_data()</code></a>:
+Add a photo to the PhotoDB (from file or from a chunk of
+memory). It is automatically added to the Photo Library Album
+(first album), which is created if it does not exist already.
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-photoalbum-create"><code class="function">itdb_photodb_photoalbum_create()</code></a>:
+Create and add a new photoalbum.
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-photoalbum-add-photo"><code class="function">itdb_photodb_photoalbum_add_photo()</code></a>:
+Add a photo (<a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a>) to an existing photoalbum.
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-photoalbum-remove"><code class="function">itdb_photodb_photoalbum_remove()</code></a>:
+Remove an existing photoalbum. Pictures can be kept in the
+Photo Library or automatically removed as well.
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-remove-photo"><code class="function">itdb_photodb_remove_photo()</code></a>:
+Remove a photo either from a photoalbum or completely from the database.
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-write"><code class="function">itdb_photodb_write()</code></a>:
+Write out your PhotoDB.
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-free"><code class="function">itdb_photodb_free()</code></a>:
+Free all memory taken by the PhotoDB.
+</p>
+<p>
+<a href="libgpod-Photo-database.html#itdb-photodb-photoalbum-by-name"><code class="function">itdb_photodb_photoalbum_by_name()</code></a>:
+Find the first photoalbum with a given name or the Photo
+Library Album if called with no name.
+</p>
+<p>
+If you cannot add photos because your iPod is not recognized,
+you may have to set the iPod model by calling
+</p>
+<p>
+itdb_device_set_sysinfo (db-&gt;device, "ModelNumStr", model);
+</p>
+<p>
+For example, "MA450" would stand for an 80 GB 6th generation iPod Video. See
+<a href="http://gtkpod.cvs.sourceforge.net/*checkout*/gtkpod/libgpod/src/itdb_device.c" target="_top">itdb_device.c</a>
+for a list of supported models.
+</p>
+<p>
+This information will be written to the iPod when the PhotoDB is
+saved (<a href="libgpod-Device.html#itdb-device-write-sysinfo"><code class="function">itdb_device_write_sysinfo()</code></a> is called).
+</p>
+<p>
+Have a look at the <a href="http://gtkpod.cvs.sourceforge.net/*checkout*/gtkpod/libgpod/tests/test-photos.c" target="_top">test-photos</a>
+test program in the <a href="http://gtkpod.cvs.sourceforge.net/gtkpod/libgpod/tests/" target="_top">tests/</a>
+directory of the libgpod source for an example of how to use the interface.
+</p>
+</div>
+<div class="refsect1" lang="en">
+<a name="id361398"></a><h2>Details</h2>
+<div class="refsect2" lang="en">
+<a name="id363725"></a><h3>
+<a name="Itdb-PhotoAlbum"></a>Itdb_PhotoAlbum</h3>
+<a class="indexterm" name="id363735"></a><pre class="programlisting">typedef struct {
+    gchar *name;                 /* name of photoalbum in UTF8            */
+    GList *members;              /* photos in album (Itdb_Artwork *)      */
+    guint8 album_type;           /* 0x01 for master (Photo Library),
+				    0x02 otherwise (sometimes 4 and 5)    */
+    guint8 playmusic;            /* play music during slideshow (from
+				    iPhoto setting)                       */
+    guint8 repeat;               /* repeat the slideshow (from iPhoto
+				    setting)                              */
+    guint8 random;               /* show the slides in random order
+			            (from iPhoto setting)                 */
+    guint8 show_titles;          /* show slide captions (from iPhoto
+				    setting)                              */
+    guint8 transition_direction; /* 0=none, 1=left-to-right,
+				    2=right-to-left, 3=top-to-bottom,
+				    4=bottom-to-top (from iPhoto setting) */
+    gint32 slide_duration;       /* in seconds (from iPhoto setting)      */
+    gint32 transition_duration;  /* in milliseconds (from iPhoto setting) */
+    gint64 song_id;              /* dbid2 of track in iTunesDB to play
+				    during slideshow (from iPhoto setting)*/
+    gint32 unk024;               /* unknown, seems to be always 0         */
+    gint16 unk028;               /* unknown, seems to be always 0         */
+    gint32 unk044;               /* unknown, seems to always be 0         */
+    gint32 unk048;               /* unknown, seems to always be 0         */
+    /* set automatically at time of writing the PhotoDB */
+    gint32  album_id;
+    gint32  prev_album_id;
+    /* below is for use by application */
+    guint64 usertype;
+    gpointer userdata;
+    /* functions called to duplicate/free userdata */
+    ItdbUserDataDuplicateFunc userdata_duplicate;
+    ItdbUserDataDestroyFunc userdata_destroy;
+} Itdb_PhotoAlbum;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id342310"></a><h3>
+<a name="Itdb-PhotoDB"></a>Itdb_PhotoDB</h3>
+<a class="indexterm" name="id319157"></a><pre class="programlisting">typedef struct {
+    GList *photos;      /* (Itdb_Artwork *)     */
+    GList *photoalbums; /* (Itdb_PhotoAlbum *)  */
+    Itdb_Device *device;/* iPod device info     */
+    /* below is for use by application */
+    guint64 usertype;
+    gpointer userdata;
+    /* functions called to duplicate/free userdata */
+    ItdbUserDataDuplicateFunc userdata_duplicate;
+    ItdbUserDataDestroyFunc userdata_destroy;
+} Itdb_PhotoDB;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id363768"></a><h3>
+<a name="itdb-photodb-add-photo"></a>itdb_photodb_add_photo ()</h3>
+<a class="indexterm" name="id363778"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a>* itdb_photodb_add_photo        (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             const gchar *filename,
+                                             gint position,
+                                             gint rotation,
+                                             GError **error);</pre>
+<p>
+Add a photo to the PhotoDB. The photo is automatically added to the
+first Photoalbum, which by default contains a list of all photos in
+the database. If no Photoalbums exist one is created automatically.
+</p>
+<p>
+For the rotation angle you can also use the gdk constants
+GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+..._CLOCKWISE.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>db</code></em>&#160;:</span></td>
+<td> the <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a> to add the photo to.
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
+<td> file with the photo to add.
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>position</code></em>&#160;:</span></td>
+<td> position where to insert the new photo (-1 to append at
+the end)
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>rotation</code></em>&#160;:</span></td>
+<td> angle by which the image should be rotated
+counterclockwise. Valid values are 0, 90, 180 and 270.
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td> return location for a <span class="type">GError</span> or NULL
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a pointer to the added photo.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id363925"></a><h3>
+<a name="itdb-photodb-add-photo-from-data"></a>itdb_photodb_add_photo_from_data ()</h3>
+<a class="indexterm" name="id363936"></a><pre class="programlisting"><a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a>* itdb_photodb_add_photo_from_data
+                                            (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             const guchar *image_data,
+                                             gsize image_data_len,
+                                             gint position,
+                                             gint rotation,
+                                             GError **error);</pre>
+<p>
+Add a photo to the PhotoDB. The photo is automatically added to the
+first Photoalbum, which by default contains a list of all photos in
+the database. If no Photoalbums exist one is created automatically.
+</p>
+<p>
+For the rotation angle you can also use the gdk constants
+GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+..._CLOCKWISE.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>db</code></em>&#160;:</span></td>
+<td> the <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a> to add the photo to.
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>image_data</code></em>&#160;:</span></td>
+<td> chunk of memory containing the image data (for example
+a jpg file)
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>image_data_len</code></em>&#160;:</span></td>
+<td> length of above chunk of memory
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>position</code></em>&#160;:</span></td>
+<td> position where to insert the new photo (-1 to append at
+the end)
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>rotation</code></em>&#160;:</span></td>
+<td> angle by which the image should be rotated
+counterclockwise. Valid values are 0, 90, 180 and 270.
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td> return location for a <span class="type">GError</span> or NULL
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a pointer to the added photo.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id364103"></a><h3>
+<a name="itdb-photodb-create"></a>itdb_photodb_create ()</h3>
+<a class="indexterm" name="id364113"></a><pre class="programlisting"><a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a>* itdb_photodb_create           (const gchar *mountpoint);</pre>
+<p>
+Creates a new Itdb_PhotoDB. If mountpoint is NULL, you will have to
+set it manually later by calling <a href="libgpod-Device.html#itdb-device-set-mountpoint"><code class="function">itdb_device_set_mountpoint()</code></a>.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>mountpoint</code></em>&#160;:</span></td>
+<td> mountpoint or NULL.
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a newly created Itdb_PhotoDB to be freed with
+<a href="libgpod-Photo-database.html#itdb-photodb-free"><code class="function">itdb_photodb_free()</code></a> when it's no longer needed. The Photo Library
+Album is created automatically.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id364184"></a><h3>
+<a name="itdb-photodb-free"></a>itdb_photodb_free ()</h3>
+<a class="indexterm" name="id364194"></a><pre class="programlisting">void        itdb_photodb_free               (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *photodb);</pre>
+<p>
+Free the memory taken by <em class="parameter"><code>photodb</code></em>.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><span class="term"><em class="parameter"><code>photodb</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a>
+</td>
+</tr></tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id364249"></a><h3>
+<a name="itdb-photodb-parse"></a>itdb_photodb_parse ()</h3>
+<a class="indexterm" name="id364259"></a><pre class="programlisting"><a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a>* itdb_photodb_parse            (const gchar *mp,
+                                             GError **error);</pre>
+<p>
+Parses the photo database of an iPod mounted at <em class="parameter"><code>mp</code></em>.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>mp</code></em>&#160;:</span></td>
+<td> mountpoint of the iPod
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td> will contain the error description when an error occured.
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> the imported PhotoDB or NULL in case of an error.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id364335"></a><h3>
+<a name="itdb-photodb-photoalbum-add-photo"></a>itdb_photodb_photoalbum_add_photo ()</h3>
+<a class="indexterm" name="id364346"></a><pre class="programlisting">void        itdb_photodb_photoalbum_add_photo
+                                            (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             <a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a> *album,
+                                             <a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *photo,
+                                             gint position);</pre>
+<p>
+Adds a photo already in the library to the specified album
+<em class="parameter"><code>album</code></em>. Photos are automatically added to the first album (Photo
+Library) when calling <a href="libgpod-Photo-database.html#itdb-photodb-add-photo"><code class="function">itdb_photodb_add_photo()</code></a> or
+<a href="libgpod-Photo-database.html#itdb-photodb-add-photo-from-data"><code class="function">itdb_photodb_add_photo_from_data()</code></a>, so you don't have to use this
+function to add them there.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>db</code></em>&#160;:</span></td>
+<td> the <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a> to act on
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>album</code></em>&#160;:</span></td>
+<td> the <a href="libgpod-Photo-database.html#Itdb-PhotoAlbum"><span class="type">Itdb_PhotoAlbum</span></a> to add the photo to
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>photo</code></em>&#160;:</span></td>
+<td> a pointer to the photo (<a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a>) to add to the album
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>position</code></em>&#160;:</span></td>
+<td> position where to insert the new photo (-1 to append at
+the end)
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id364486"></a><h3>
+<a name="itdb-photodb-photoalbum-by-name"></a>itdb_photodb_photoalbum_by_name ()</h3>
+<a class="indexterm" name="id364497"></a><pre class="programlisting"><a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a>* itdb_photodb_photoalbum_by_name
+                                            (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             const gchar *albumname);</pre>
+<p>
+Find the first photoalbum with a given name or the Photo Library
+Album if called with no name.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>db</code></em>&#160;:</span></td>
+<td> the <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a> to retrieve the album from
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>albumname</code></em>&#160;:</span></td>
+<td> the name of the photoalbum to get or NULL for the
+master photoalbum.
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a pointer to the first photoalbum named <em class="parameter"><code>albumname</code></em>,
+else NULL
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id364582"></a><h3>
+<a name="itdb-photodb-photoalbum-create"></a>itdb_photodb_photoalbum_create ()</h3>
+<a class="indexterm" name="id364592"></a><pre class="programlisting"><a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a>* itdb_photodb_photoalbum_create
+                                            (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             const gchar *albumname,
+                                             gint pos);</pre>
+<p>
+Create and add a new photoalbum.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>db</code></em>&#160;:</span></td>
+<td> The database to create a new album in
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>albumname</code></em>&#160;:</span></td>
+<td> the name of the new album
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
+<td> position where to insert the newly created album (-1 for
+append to end).
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> the album which was created and added.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id364683"></a><h3>
+<a name="itdb-photodb-photoalbum-remove"></a>itdb_photodb_photoalbum_remove ()</h3>
+<a class="indexterm" name="id364694"></a><pre class="programlisting">void        itdb_photodb_photoalbum_remove  (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             <a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a> *album,
+                                             gboolean remove_pics);</pre>
+<p>
+Remove <em class="parameter"><code>album</code></em> from the Photo Database. If remove_pics is TRUE,
+remove all photos contained in <em class="parameter"><code>album</code></em> from the Photo Database.
+</p>
+<p>
+Memory used by the removed album will be freed and the album cannot
+be accessed any more.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>db</code></em>&#160;:</span></td>
+<td> the <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a> to apply changes to
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>album</code></em>&#160;:</span></td>
+<td> the album to be removed from the database
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>remove_pics</code></em>&#160;:</span></td>
+<td> TRUE to remove pics in that album permanently from
+the database.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id364795"></a><h3>
+<a name="itdb-photodb-remove-photo"></a>itdb_photodb_remove_photo ()</h3>
+<a class="indexterm" name="id364805"></a><pre class="programlisting">void        itdb_photodb_remove_photo       (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *db,
+                                             <a href="libgpod-Photo-database.html#Itdb-PhotoAlbum">Itdb_PhotoAlbum</a> *album,
+                                             <a href="libgpod-Artwork.html#Itdb-Artwork">Itdb_Artwork</a> *photo);</pre>
+<p>
+Remove photo. If <em class="parameter"><code>album</code></em> is not the first photoalbum, the photo will
+be removed from that album only. If <em class="parameter"><code>album</code></em> is NULL or the first
+photoalbum (Photo Library), the photo will be removed from all
+albums and the <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a>.
+</p>
+<p>
+<em class="parameter"><code>photo</code></em> will be freed and can no longer be used if removed from the
+first photoalbum.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>db</code></em>&#160;:</span></td>
+<td> the <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a> to remove the photo from
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>album</code></em>&#160;:</span></td>
+<td> the album to remove the photo from. If album is NULL, then
+it will first be removed from all photoalbums and then from the
+photo database as well.
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>photo</code></em>&#160;:</span></td>
+<td> <a href="libgpod-Artwork.html#Itdb-Artwork"><span class="type">Itdb_Artwork</span></a> (photo) to remove.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id364925"></a><h3>
+<a name="itdb-photodb-write"></a>itdb_photodb_write ()</h3>
+<a class="indexterm" name="id364936"></a><pre class="programlisting">gboolean    itdb_photodb_write              (<a href="libgpod-Photo-database.html#Itdb-PhotoDB">Itdb_PhotoDB</a> *photodb,
+                                             GError **error);</pre>
+<p>
+Write out a PhotoDB.
+</p>
+<p>
+FIXME: error is not set yet.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>photodb</code></em>&#160;:</span></td>
+<td> the <a href="libgpod-Photo-database.html#Itdb-PhotoDB"><span class="type">Itdb_PhotoDB</span></a> to write to disk
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td> return location for a <span class="type">GError</span> or NULL
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> TRUE on success, FALSE on error, in which case <em class="parameter"><code>error</code></em> is
+set accordingly.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</body>
+</html>

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod-Playlists.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-Playlists.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-Playlists.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -3,35 +3,36 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>Playlists</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="ch02.html" title="iPod database components">
+<link rel="up" href="ch01.html" title="iPod database components">
 <link rel="prev" href="libgpod-Tracks.html" title="Tracks">
-<link rel="next" href="libgpod-Artwork.html" title="Artwork">
+<link rel="next" href="libgpod-Smart-Playlists.html" title="Smart Playlists">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 <tr valign="middle">
 <td><a accesskey="p" href="libgpod-Tracks.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 <th width="100%" align="center">libgpod Reference Manual</th>
-<td><a accesskey="n" href="libgpod-Artwork.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<td><a accesskey="n" href="libgpod-Smart-Playlists.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 </tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2577099" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id317904" class="shortcut">Top</a>
                   &#160;|&#160;
-                  <a href="#id2602492" class="shortcut">Description</a></nobr></td></tr>
+                  <a href="#id349822" class="shortcut">Description</a></nobr></td></tr>
 </table>
 <div class="refentry" lang="en">
 <a name="libgpod-Playlists"></a><div class="titlepage"></div>
 <div class="refnamediv"><table width="100%"><tr>
 <td valign="top">
 <h2>
-<a name="id2577099"></a><span class="refentrytitle">Playlists</span>
+<a name="id317904"></a><span class="refentrytitle">Playlists</span>
 </h2>
 <p>Playlists &#8212; Data structure to represent an iPod playlist</p>
 </td>
@@ -84,17 +85,19 @@
 </pre>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2602492"></a><h2>Description</h2>
+<a name="id349822"></a><h2>Description</h2>
 <p>
-
+These functions and structures allow for adding and removing playlists,
+adding and removing tracks from playlists, sorting playlists, finding tracks in
+a playlist, etc.
 </p>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2602508"></a><h2>Details</h2>
+<a name="id349839"></a><h2>Details</h2>
 <div class="refsect2" lang="en">
-<a name="id2602519"></a><h3>
+<a name="id349849"></a><h3>
 <a name="Itdb-Playlist"></a>Itdb_Playlist</h3>
-<a class="indexterm" name="id2602531"></a><pre class="programlisting">typedef struct {
+<a class="indexterm" name="id349861"></a><pre class="programlisting">typedef struct {
     Itdb_iTunesDB *itdb;  /* pointer to iTunesDB (for convenience) */
     gchar *name;          /* name of playlist in UTF8              */
     guint8 type;          /* ITDB_PL_TYPE_NORM/_MPL                */
@@ -104,34 +107,19 @@
     gint  num;            /* number of tracks in playlist          */
     GList *members;       /* tracks in playlist (Track *)          */
     gboolean is_spl;      /* smart playlist?                       */
-    guint32 timestamp;    /* some timestamp                        */
+    guint32 timestamp;    /* timestamp of playlist creation        */
     guint64 id;           /* playlist ID                           */
-    guint32 mhodcount;    /* This appears to be the number of string
-			     MHODs (type &lt; 50) associated with this
-			     playlist (typically 0x01). Doesn't seem
-			     to be signficant unless you include Type
-			     52 MHODs. libgpod sets this to 1 when
-			     syncing */
-    guint16 libmhodcount; /* The number of Type 52 MHODs associated
-			     with this playlist. If you don't create
-			     Type 52 MHODs, this can be
-			     zero. Otherwise, if you have Type 52
-			     MHODs associated with this playlist and
-			     set this to zero, no songs appear on the
-			     iPod. jcsjcs: with iTunes 4.9 this seems
-			     to be set to 1 even without any Type 52
-			     MHODs present. libgpod sets this to 1
-			     when syncing */
     guint32 sortorder;    /* How to sort playlist -- see below     */
     guint32 podcastflag;  /* ITDB_PL_FLAG_NORM/_PODCAST            */
     SPLPref splpref;      /* smart playlist prefs                  */
     SPLRules splrules;    /* rules for smart playlists             */
+    gpointer reserved1;   /* reserved for MHOD100 implementation   */
+    gpointer reserved2;   /* reserved for MHOD100 implementation   */
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 } Itdb_Playlist;
 </pre>
@@ -141,9 +129,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2587305"></a><h3>
+<a name="id327508"></a><h3>
 <a name="ItdbPlaylistSortOrder"></a>enum ItdbPlaylistSortOrder</h3>
-<a class="indexterm" name="id2602934"></a><pre class="programlisting">typedef enum
+<a class="indexterm" name="id327413"></a><pre class="programlisting">typedef enum
 {
     ITDB_PSO_MANUAL = 1,
 /*    ITDB_PSO_UNKNOWN = 2, */
@@ -181,9 +169,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2587616"></a><h3>
+<a name="id349891"></a><h3>
 <a name="itdb-playlist-new"></a>itdb_playlist_new ()</h3>
-<a class="indexterm" name="id2602561"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_new            (const gchar *title,
+<a class="indexterm" name="id355786"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_new            (const gchar *title,
                                              gboolean spl);</pre>
 <p>
 Creates a new playlist. If <em class="parameter"><code>spl</code></em> is TRUE, a smart
@@ -196,20 +184,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
 <td> playlist title
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>spl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>spl</code></em>&#160;:</span></td>
 <td> smart playlist flag
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a new <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a> which must be freed with 
 <a href="libgpod-Playlists.html#itdb-playlist-free"><code class="function">itdb_playlist_free()</code></a> after use
 </td>
@@ -219,9 +204,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2600192"></a><h3>
+<a name="id355889"></a><h3>
 <a name="itdb-playlist-free"></a>itdb_playlist_free ()</h3>
-<a class="indexterm" name="id2600204"></a><pre class="programlisting">void        itdb_playlist_free              (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id355900"></a><pre class="programlisting">void        itdb_playlist_free              (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Frees the memory used by playlist <em class="parameter"><code>pl</code></em>.</p>
 <p>
@@ -230,8 +215,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr></tbody>
@@ -239,9 +223,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2600266"></a><h3>
+<a name="id355954"></a><h3>
 <a name="itdb-playlist-duplicate"></a>itdb_playlist_duplicate ()</h3>
-<a class="indexterm" name="id2600277"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_duplicate      (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id355964"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_duplicate      (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Duplicates an existing playlist. pl_dup-&gt;id is set to zero, so that
 it will be set to a unique value when adding it to an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>. The
@@ -253,14 +237,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a newly allocated <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a> that you'll have to free
 with <a href="libgpod-Playlists.html#itdb-playlist-free"><code class="function">itdb_playlist_free()</code></a> when you no longer need it. 
 </td>
@@ -270,9 +252,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606229"></a><h3>
+<a name="id356051"></a><h3>
 <a name="itdb-playlist-add"></a>itdb_playlist_add ()</h3>
-<a class="indexterm" name="id2606239"></a><pre class="programlisting">void        itdb_playlist_add               (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id356062"></a><pre class="programlisting">void        itdb_playlist_add               (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              <a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
                                              gint32 pos);</pre>
 <p>
@@ -287,20 +269,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
 <td> position to insert <em class="parameter"><code>pl</code></em> at
 </td>
 </tr>
@@ -309,9 +288,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606374"></a><h3>
+<a name="id356192"></a><h3>
 <a name="itdb-playlist-move"></a>itdb_playlist_move ()</h3>
-<a class="indexterm" name="id2606384"></a><pre class="programlisting">void        itdb_playlist_move              (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+<a class="indexterm" name="id356203"></a><pre class="programlisting">void        itdb_playlist_move              (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
                                              guint32 pos);</pre>
 <p>
 Moves playlist <em class="parameter"><code>pl</code></em> to position <em class="parameter"><code>pos</code></em></p>
@@ -322,14 +301,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
 <td> new position
 </td>
 </tr>
@@ -338,9 +315,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606462"></a><h3>
+<a name="id356279"></a><h3>
 <a name="itdb-playlist-remove"></a>itdb_playlist_remove ()</h3>
-<a class="indexterm" name="id2606472"></a><pre class="programlisting">void        itdb_playlist_remove            (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id356290"></a><pre class="programlisting">void        itdb_playlist_remove            (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Removes <em class="parameter"><code>pl</code></em> from the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> it's associated with 
 and frees memory</p>
@@ -350,8 +327,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr></tbody>
@@ -359,9 +335,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606533"></a><h3>
+<a name="id356350"></a><h3>
 <a name="itdb-playlist-unlink"></a>itdb_playlist_unlink ()</h3>
-<a class="indexterm" name="id2606543"></a><pre class="programlisting">void        itdb_playlist_unlink            (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id356361"></a><pre class="programlisting">void        itdb_playlist_unlink            (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Remove <em class="parameter"><code>pl</code></em> from the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> it's associated with but do not free 
 memory. pl-&gt;itdb is set to NULL after this function returns</p>
@@ -371,8 +347,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr></tbody>
@@ -380,9 +355,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606606"></a><h3>
+<a name="id356422"></a><h3>
 <a name="itdb-playlist-add-track"></a>itdb_playlist_add_track ()</h3>
-<a class="indexterm" name="id2606617"></a><pre class="programlisting">void        itdb_playlist_add_track         (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+<a class="indexterm" name="id356433"></a><pre class="programlisting">void        itdb_playlist_add_track         (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
                                              <a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track,
                                              gint32 pos);</pre>
 <p>
@@ -395,20 +370,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
 <td> position to insert <em class="parameter"><code>track</code></em> at
 </td>
 </tr>
@@ -417,9 +389,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606731"></a><h3>
+<a name="id356545"></a><h3>
 <a name="itdb-playlist-remove-track"></a>itdb_playlist_remove_track ()</h3>
-<a class="indexterm" name="id2606742"></a><pre class="programlisting">void        itdb_playlist_remove_track      (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+<a class="indexterm" name="id356555"></a><pre class="programlisting">void        itdb_playlist_remove_track      (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
                                              <a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
 <p>
 Removes <em class="parameter"><code>track</code></em> from <em class="parameter"><code>pl</code></em>. If <em class="parameter"><code>pl</code></em> is NULL, removes <em class="parameter"><code>track</code></em> from the
@@ -433,14 +405,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr>
@@ -449,9 +419,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606866"></a><h3>
+<a name="id356675"></a><h3>
 <a name="itdb-playlist-contains-track"></a>itdb_playlist_contains_track ()</h3>
-<a class="indexterm" name="id2606877"></a><pre class="programlisting">gboolean    itdb_playlist_contains_track    (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+<a class="indexterm" name="id356686"></a><pre class="programlisting">gboolean    itdb_playlist_contains_track    (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
                                              <a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
 <p>
 Checks if <em class="parameter"><code>track</code></em> is in <em class="parameter"><code>pl</code></em>.</p>
@@ -462,20 +432,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE if <em class="parameter"><code>track</code></em> is in <em class="parameter"><code>pl</code></em>, FALSE otherwise
 </td>
 </tr>
@@ -484,9 +451,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2606984"></a><h3>
+<a name="id356789"></a><h3>
 <a name="itdb-playlist-contain-track-number"></a>itdb_playlist_contain_track_number ()</h3>
-<a class="indexterm" name="id2606997"></a><pre class="programlisting">guint32     itdb_playlist_contain_track_number
+<a class="indexterm" name="id356800"></a><pre class="programlisting">guint32     itdb_playlist_contain_track_number
                                             (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *tr);</pre>
 <p>
 Counts the number of playlist <em class="parameter"><code>track</code></em> is a member of (not including the 
@@ -498,14 +465,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>tr</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>tr</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> number of playlist containing <em class="parameter"><code>track</code></em>
 </td>
 </tr>
@@ -514,9 +479,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607070"></a><h3>
+<a name="id356869"></a><h3>
 <a name="itdb-playlist-tracks-number"></a>itdb_playlist_tracks_number ()</h3>
-<a class="indexterm" name="id2607081"></a><pre class="programlisting">guint32     itdb_playlist_tracks_number     (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id356879"></a><pre class="programlisting">guint32     itdb_playlist_tracks_number     (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Counts the number of tracks in <em class="parameter"><code>pl</code></em></p>
 <p>
@@ -526,14 +491,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> track count
 </td>
 </tr>
@@ -542,9 +505,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607145"></a><h3>
+<a name="id356942"></a><h3>
 <a name="itdb-playlist-mpl"></a>itdb_playlist_mpl ()</h3>
-<a class="indexterm" name="id2607156"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_mpl            (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<a class="indexterm" name="id356953"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_mpl            (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Gets the master playlist of <em class="parameter"><code>itdb</code></em></p>
 <p>
@@ -554,14 +517,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the master playlist of <em class="parameter"><code>itdb</code></em> 
 </td>
 </tr>
@@ -570,9 +531,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607225"></a><h3>
+<a name="id357021"></a><h3>
 <a name="itdb-playlist-is-mpl"></a>itdb_playlist_is_mpl ()</h3>
-<a class="indexterm" name="id2607236"></a><pre class="programlisting">gboolean    itdb_playlist_is_mpl            (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id357031"></a><pre class="programlisting">gboolean    itdb_playlist_is_mpl            (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Checks if <em class="parameter"><code>pl</code></em> is the master playlist</p>
 <p>
@@ -582,14 +543,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE if <em class="parameter"><code>pl</code></em> is the master playlist, FALSE otherwise 
 </td>
 </tr>
@@ -598,9 +557,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607306"></a><h3>
+<a name="id357100"></a><h3>
 <a name="itdb-playlist-set-mpl"></a>itdb_playlist_set_mpl ()</h3>
-<a class="indexterm" name="id2607317"></a><pre class="programlisting">void        itdb_playlist_set_mpl           (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id357111"></a><pre class="programlisting">void        itdb_playlist_set_mpl           (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Sets <em class="parameter"><code>pl</code></em> to be a master playlist</p>
 <p>
@@ -609,8 +568,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr></tbody>
@@ -618,9 +576,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607372"></a><h3>
+<a name="id357165"></a><h3>
 <a name="itdb-playlist-podcasts"></a>itdb_playlist_podcasts ()</h3>
-<a class="indexterm" name="id2607382"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_podcasts       (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<a class="indexterm" name="id357176"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_podcasts       (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Gets the podcasts playlist of <em class="parameter"><code>itdb</code></em></p>
 <p>
@@ -630,14 +588,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the podcasts playlist of <em class="parameter"><code>itdb</code></em>, or NULL if it's there is none
 </td>
 </tr>
@@ -646,9 +602,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607453"></a><h3>
+<a name="id357244"></a><h3>
 <a name="itdb-playlist-is-podcasts"></a>itdb_playlist_is_podcasts ()</h3>
-<a class="indexterm" name="id2607464"></a><pre class="programlisting">gboolean    itdb_playlist_is_podcasts       (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id357254"></a><pre class="programlisting">gboolean    itdb_playlist_is_podcasts       (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Checks if <em class="parameter"><code>pl</code></em> is the podcasts playlist</p>
 <p>
@@ -658,14 +614,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE if <em class="parameter"><code>pl</code></em> is the podcasts playlist, FALSE otherwise 
 </td>
 </tr>
@@ -674,9 +628,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607535"></a><h3>
+<a name="id357323"></a><h3>
 <a name="itdb-playlist-set-podcasts"></a>itdb_playlist_set_podcasts ()</h3>
-<a class="indexterm" name="id2607546"></a><pre class="programlisting">void        itdb_playlist_set_podcasts      (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id357334"></a><pre class="programlisting">void        itdb_playlist_set_podcasts      (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Set <em class="parameter"><code>pl</code></em> to be a podcasts playlist</p>
 <p>
@@ -685,8 +639,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr></tbody>
@@ -694,9 +647,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607601"></a><h3>
+<a name="id357388"></a><h3>
 <a name="itdb-playlist-exists"></a>itdb_playlist_exists ()</h3>
-<a class="indexterm" name="id2607611"></a><pre class="programlisting">gboolean    itdb_playlist_exists            (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id357399"></a><pre class="programlisting">gboolean    itdb_playlist_exists            (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              <a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Checks if <em class="parameter"><code>pl</code></em> is present in <em class="parameter"><code>db</code></em></p>
@@ -707,20 +660,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE if <em class="parameter"><code>pl</code></em> exists in <em class="parameter"><code>db</code></em>, FALSE otherwise 
 </td>
 </tr>
@@ -729,9 +679,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607716"></a><h3>
+<a name="id357501"></a><h3>
 <a name="itdb-playlist-by-id"></a>itdb_playlist_by_id ()</h3>
-<a class="indexterm" name="id2607726"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_by_id          (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id357512"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_by_id          (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              guint64 id);</pre>
 <p>
 Looks up a playlist whose ID is <em class="parameter"><code>id</code></em></p>
@@ -742,20 +692,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
 <td> ID of the playlist to look for
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a> with ID <em class="parameter"><code>id</code></em> or NULL if there is no such
 playlist.
 </td>
@@ -765,9 +712,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607822"></a><h3>
+<a name="id357604"></a><h3>
 <a name="itdb-playlist-by-nr"></a>itdb_playlist_by_nr ()</h3>
-<a class="indexterm" name="id2607833"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_by_nr          (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id357614"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_by_nr          (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              guint32 num);</pre>
 <p>
 Gets the playlist at the given position in <em class="parameter"><code>itdb</code></em></p>
@@ -778,20 +725,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>num</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>num</code></em>&#160;:</span></td>
 <td> the position of the playlist, counting from 0
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>, or NULL if there is no playlist at <em class="parameter"><code>pos</code></em>
 </td>
 </tr>
@@ -800,9 +744,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2607929"></a><h3>
+<a name="id357707"></a><h3>
 <a name="itdb-playlist-by-name"></a>itdb_playlist_by_name ()</h3>
-<a class="indexterm" name="id2607940"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_by_name        (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id357717"></a><pre class="programlisting"><a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a>* itdb_playlist_by_name        (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              gchar *name);</pre>
 <p>
 Searches a playlist whose name is <em class="parameter"><code>name</code></em> in <em class="parameter"><code>itdb</code></em></p>
@@ -813,20 +757,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 <td> name of the playlist to look for
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the first <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a> with name <em class="parameter"><code>name</code></em>, NULL if there is no
 such playlist
 </td>
@@ -836,9 +777,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2608041"></a><h3>
+<a name="id357814"></a><h3>
 <a name="itdb-playlist-randomize"></a>itdb_playlist_randomize ()</h3>
-<a class="indexterm" name="id2608052"></a><pre class="programlisting">void        itdb_playlist_randomize         (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
+<a class="indexterm" name="id357825"></a><pre class="programlisting">void        itdb_playlist_randomize         (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl);</pre>
 <p>
 Randomizes <em class="parameter"><code>pl</code></em></p>
 <p>
@@ -847,8 +788,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a> to randomize
 </td>
 </tr></tbody>

Added: libgpod/branches/upstream/current/docs/reference/html/libgpod-Smart-Playlists.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-Smart-Playlists.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-Smart-Playlists.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,631 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Smart Playlists</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
+<link rel="start" href="index.html" title="libgpod Reference Manual">
+<link rel="up" href="ch01.html" title="iPod database components">
+<link rel="prev" href="libgpod-Playlists.html" title="Playlists">
+<link rel="next" href="libgpod-Artwork.html" title="Artwork">
+<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
+<tr valign="middle">
+<td><a accesskey="p" href="libgpod-Playlists.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">libgpod Reference Manual</th>
+<td><a accesskey="n" href="libgpod-Artwork.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id350713" class="shortcut">Top</a>
+                  &#160;|&#160;
+                  <a href="#id313091" class="shortcut">Description</a></nobr></td></tr>
+</table>
+<div class="refentry" lang="en">
+<a name="libgpod-Smart-Playlists"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2>
+<a name="id350713"></a><span class="refentrytitle">Smart Playlists</span>
+</h2>
+<p>Smart Playlists &#8212; Data structure to represent an iPod smart playlist</p>
+</td>
+<td valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsynopsisdiv">
+<h2>Synopsis</h2>
+<pre class="synopsis">
+
+
+
+            <a href="libgpod-Smart-Playlists.html#SPLPref">SPLPref</a>;
+            <a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a>;
+            <a href="libgpod-Smart-Playlists.html#SPLRules">SPLRules</a>;
+enum        <a href="libgpod-Smart-Playlists.html#SPLAction">SPLAction</a>;
+enum        <a href="libgpod-Smart-Playlists.html#SPLFieldType">SPLFieldType</a>;
+enum        <a href="libgpod-Smart-Playlists.html#SPLActionType">SPLActionType</a>;
+enum        <a href="libgpod-Smart-Playlists.html#SPLField">SPLField</a>;
+#define     <a href="libgpod-Smart-Playlists.html#SPLDATE-IDENTIFIER:CAPS">SPLDATE_IDENTIFIER</a>
+#define     <a href="libgpod-Smart-Playlists.html#SPL-MAXSTRINGLENGTH:CAPS">SPL_MAXSTRINGLENGTH</a>
+#define     <a href="libgpod-Smart-Playlists.html#SPL-STRING-MAXLEN:CAPS">SPL_STRING_MAXLEN</a>
+<a href="libgpod-Smart-Playlists.html#SPLFieldType">SPLFieldType</a> <a href="libgpod-Smart-Playlists.html#itdb-splr-get-field-type">itdb_splr_get_field_type</a>       (const <a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr);
+<a href="libgpod-Smart-Playlists.html#SPLActionType">SPLActionType</a> <a href="libgpod-Smart-Playlists.html#itdb-splr-get-action-type">itdb_splr_get_action_type</a>     (const <a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr);
+void        <a href="libgpod-Smart-Playlists.html#itdb-splr-validate">itdb_splr_validate</a>              (<a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr);
+void        <a href="libgpod-Smart-Playlists.html#itdb-splr-remove">itdb_splr_remove</a>                (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+                                             <a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr);
+<a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a>*    <a href="libgpod-Smart-Playlists.html#itdb-splr-new">itdb_splr_new</a>                   (void);
+void        <a href="libgpod-Smart-Playlists.html#itdb-splr-add">itdb_splr_add</a>                   (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+                                             <a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr,
+                                             gint pos);
+<a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a>*    <a href="libgpod-Smart-Playlists.html#itdb-splr-add-new">itdb_splr_add_new</a>               (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+                                             gint pos);
+void        <a href="libgpod-Smart-Playlists.html#itdb-spl-copy-rules">itdb_spl_copy_rules</a>             (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *dest,
+                                             <a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *src);
+gboolean    <a href="libgpod-Smart-Playlists.html#itdb-splr-eval">itdb_splr_eval</a>                  (<a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr,
+                                             <a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);
+void        <a href="libgpod-Smart-Playlists.html#itdb-spl-update">itdb_spl_update</a>                 (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *spl);
+void        <a href="libgpod-Smart-Playlists.html#itdb-spl-update-all">itdb_spl_update_all</a>             (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);
+void        <a href="libgpod-Smart-Playlists.html#itdb-spl-update-live">itdb_spl_update_live</a>            (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);
+</pre>
+</div>
+<div class="refsect1" lang="en">
+<a name="id313091"></a><h2>Description</h2>
+<p>
+These functions and structures are for dealing with smart playlists.
+</p>
+</div>
+<div class="refsect1" lang="en">
+<a name="id355636"></a><h2>Details</h2>
+<div class="refsect2" lang="en">
+<a name="id355647"></a><h3>
+<a name="SPLPref"></a>SPLPref</h3>
+<a class="indexterm" name="id355659"></a><pre class="programlisting">typedef struct {
+    guint8  liveupdate;        /* "live Updating" check box */
+    guint8  checkrules;        /* "Match X of the following
+				  conditions" check box */
+    guint8  checklimits;       /* "Limit To..." check box */
+    guint32 limittype;         /* See types defined above */
+    guint32 limitsort;         /* See types defined above */
+    guint32 limitvalue;        /* The value typed next to "Limit
+				  type" */
+    guint8  matchcheckedonly;  /* "Match only checked songs" check
+				  box */
+} SPLPref;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id331879"></a><h3>
+<a name="SPLRule"></a>SPLRule</h3>
+<a class="indexterm" name="id326503"></a><pre class="programlisting">typedef struct {
+    guint32 field;
+    guint32 action;
+    gchar *string;             /* data in UTF8  */
+    /* from and to are pretty stupid.. if it's a date type of field,
+       then
+         value = 0x2dae2dae2dae2dae,
+         date = some number, like 2 or -2
+         units = unit in seconds, like 604800 = a week
+       but if this is actually some kind of integer comparison, like
+       rating = 60 (3 stars)
+         value = the value we care about
+	 date = 0
+	 units = 1 */
+    guint64 fromvalue;
+    gint64 fromdate;
+    guint64 fromunits;
+    guint64 tovalue;
+    gint64 todate;
+    guint64 tounits;
+    guint32 unk052;
+    guint32 unk056;
+    guint32 unk060;
+    guint32 unk064;
+    guint32 unk068;
+} SPLRule;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id355680"></a><h3>
+<a name="SPLRules"></a>SPLRules</h3>
+<a class="indexterm" name="id355690"></a><pre class="programlisting">typedef struct {
+    guint32 unk004;
+    guint32 match_operator;  /* "All" (logical AND): SPLMATCH_AND,
+				"Any" (logical OR): SPLMATCH_OR */
+    GList *rules;
+} SPLRules;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id355706"></a><h3>
+<a name="SPLAction"></a>enum SPLAction</h3>
+<a class="indexterm" name="id355718"></a><pre class="programlisting">typedef enum {
+    SPLACTION_IS_INT = 0x00000001,          /* "Is Set" in iTunes */
+    SPLACTION_IS_GREATER_THAN = 0x00000010, /* "Is After" in iTunes */
+    SPLACTION_IS_LESS_THAN = 0x00000040,    /* "Is Before" in iTunes */
+    SPLACTION_IS_IN_THE_RANGE = 0x00000100,
+    SPLACTION_IS_IN_THE_LAST = 0x00000200,
+
+    SPLACTION_IS_STRING = 0x01000001,
+    SPLACTION_CONTAINS = 0x01000002,
+    SPLACTION_STARTS_WITH = 0x01000004,
+    SPLACTION_ENDS_WITH = 0x01000008,
+
+    SPLACTION_IS_NOT_INT = 0x02000001,     /* "Is Not Set" in iTunes */
+
+    /* Note: Not available in iTunes 4.5 (untested on iPod) */
+    SPLACTION_IS_NOT_GREATER_THAN = 0x02000010,
+    /* Note: Not available in iTunes 4.5 (untested on iPod) */
+    SPLACTION_IS_NOT_LESS_THAN = 0x02000040,
+    /* Note: Not available in iTunes 4.5 (seems to work on iPod) */
+    SPLACTION_IS_NOT_IN_THE_RANGE = 0x02000100,
+
+    SPLACTION_IS_NOT_IN_THE_LAST = 0x02000200,
+    SPLACTION_IS_NOT = 0x03000001,
+    SPLACTION_DOES_NOT_CONTAIN = 0x03000002,
+
+    /* Note: Not available in iTunes 4.5 (seems to work on iPod) */
+    SPLACTION_DOES_NOT_START_WITH = 0x03000004,
+    /* Note: Not available in iTunes 4.5 (seems to work on iPod) */
+    SPLACTION_DOES_NOT_END_WITH = 0x03000008,
+} SPLAction;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id355744"></a><h3>
+<a name="SPLFieldType"></a>enum SPLFieldType</h3>
+<a class="indexterm" name="id355756"></a><pre class="programlisting">typedef enum
+{
+    splft_string = 1,
+    splft_int,
+    splft_boolean,
+    splft_date,
+    splft_playlist,
+    splft_unknown
+} SPLFieldType;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id355772"></a><h3>
+<a name="SPLActionType"></a>enum SPLActionType</h3>
+<a class="indexterm" name="id330703"></a><pre class="programlisting">typedef enum
+{
+    splat_string = 1,
+    splat_int,
+    splat_date,
+    splat_range_int,
+    splat_range_date,
+    splat_inthelast,
+    splat_playlist,
+    splat_none,
+    splat_invalid,
+    splat_unknown
+} SPLActionType;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id330720"></a><h3>
+<a name="SPLField"></a>enum SPLField</h3>
+<a class="indexterm" name="id330732"></a><pre class="programlisting">typedef enum {
+    SPLFIELD_SONG_NAME = 0x02,    /* String */
+    SPLFIELD_ALBUM = 0x03,        /* String */
+    SPLFIELD_ARTIST = 0x04,       /* String */
+    SPLFIELD_BITRATE = 0x05,      /* Int (e.g. from/to = 128) */
+    SPLFIELD_SAMPLE_RATE = 0x06,  /* Int  (e.g. from/to = 44100) */
+    SPLFIELD_YEAR = 0x07,         /* Int  (e.g. from/to = 2004) */
+    SPLFIELD_GENRE = 0x08,        /* String */
+    SPLFIELD_KIND = 0x09,         /* String */
+    SPLFIELD_DATE_MODIFIED = 0x0a,/* Int/Mac Timestamp (e.g. from/to =
+                                     bcf93280 == is before 6/19/2004)*/
+    SPLFIELD_TRACKNUMBER = 0x0b,  /* Int (e.g. from = 1, to = 2) */
+    SPLFIELD_SIZE = 0x0c,         /* Int (e.g. from/to = 0x00600000
+				     for 6MB) */
+    SPLFIELD_TIME = 0x0d,         /* Int (e.g. from/to = 83999 for
+				     1:23/83 seconds) */
+    SPLFIELD_COMMENT = 0x0e,      /* String */
+    SPLFIELD_DATE_ADDED = 0x10,   /* Int/Mac Timestamp (e.g. from/to =
+                                     bcfa83ff == is after 6/19/2004) */
+    SPLFIELD_COMPOSER = 0x12,     /* String */
+    SPLFIELD_PLAYCOUNT = 0x16,    /* Int  (e.g. from/to = 1) */
+    SPLFIELD_LAST_PLAYED = 0x17,  /* Int/Mac Timestamp (e.g. from =
+                                     bcfa83ff (6/19/2004) to =
+                                     0xbcfbd57f (6/20/2004)) */
+    SPLFIELD_DISC_NUMBER = 0x18,  /* Int  (e.g. from/to = 1) */
+    SPLFIELD_RATING = 0x19,       /* Int/Stars Rating (e.g. from/to =
+                                     60 (3 stars)) */
+    SPLFIELD_COMPILATION = 0x1f,  /* Int (e.g. is set -&gt;
+				     SPLACTION_IS_INT/from=1,
+				     is not set -&gt;
+				     SPLACTION_IS_NOT_INT/from=1) */
+    SPLFIELD_BPM = 0x23,          /* Int  (e.g. from/to = 60) */
+    SPLFIELD_GROUPING = 0x27,     /* String */
+    SPLFIELD_PLAYLIST = 0x28,     /* XXX - Unknown...not parsed
+				     correctly...from/to = 0xb6fbad5f
+				     for * "Purchased Music".  Extra
+				     data after * "to"... */
+} SPLField;
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id330764"></a><h3>
+<a name="SPLDATE-IDENTIFIER:CAPS"></a>SPLDATE_IDENTIFIER</h3>
+<a class="indexterm" name="id330776"></a><pre class="programlisting">#define SPLDATE_IDENTIFIER (G_GINT64_CONSTANT (0x2dae2dae2dae2daeU))
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id330792"></a><h3>
+<a name="SPL-MAXSTRINGLENGTH:CAPS"></a>SPL_MAXSTRINGLENGTH</h3>
+<a class="indexterm" name="id330804"></a><pre class="programlisting">#define SPL_MAXSTRINGLENGTH 255
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id330819"></a><h3>
+<a name="SPL-STRING-MAXLEN:CAPS"></a>SPL_STRING_MAXLEN</h3>
+<a class="indexterm" name="id330831"></a><pre class="programlisting">#define SPL_STRING_MAXLEN 255
+</pre>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id330847"></a><h3>
+<a name="itdb-splr-get-field-type"></a>itdb_splr_get_field_type ()</h3>
+<a class="indexterm" name="id330859"></a><pre class="programlisting"><a href="libgpod-Smart-Playlists.html#SPLFieldType">SPLFieldType</a> itdb_splr_get_field_type       (const <a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr);</pre>
+<p>
+Gets the type of the field of the <em class="parameter"><code>splr</code></em> rule</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>splr</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Smart-Playlists.html#SPLRule"><span class="type">SPLRule</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> an <a href="libgpod-Smart-Playlists.html#SPLFieldType"><span class="type">SPLFieldType</span></a> corresponding to <em class="parameter"><code>splr</code></em> field type 
+(string, int, date, ...)
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id330946"></a><h3>
+<a name="itdb-splr-get-action-type"></a>itdb_splr_get_action_type ()</h3>
+<a class="indexterm" name="id357890"></a><pre class="programlisting"><a href="libgpod-Smart-Playlists.html#SPLActionType">SPLActionType</a> itdb_splr_get_action_type     (const <a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr);</pre>
+<p>
+Gets the type of the action associated with <em class="parameter"><code>splr</code></em>.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>splr</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Smart-Playlists.html#SPLRule"><span class="type">SPLRule</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> type (range, date, string...) of the action field 
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id357954"></a><h3>
+<a name="itdb-splr-validate"></a>itdb_splr_validate ()</h3>
+<a class="indexterm" name="id357964"></a><pre class="programlisting">void        itdb_splr_validate              (<a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr);</pre>
+<p>
+Validates a rule</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><span class="term"><em class="parameter"><code>splr</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Smart-Playlists.html#SPLRule"><span class="type">SPLRule</span></a>
+</td>
+</tr></tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id358013"></a><h3>
+<a name="itdb-splr-remove"></a>itdb_splr_remove ()</h3>
+<a class="indexterm" name="id358024"></a><pre class="programlisting">void        itdb_splr_remove                (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+                                             <a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr);</pre>
+<p>
+Removes the smart playlist rule <em class="parameter"><code>splr</code></em> from playlist <em class="parameter"><code>pl</code></em>. The memory used by
+<em class="parameter"><code>splr</code></em> is freed.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>splr</code></em>&#160;:</span></td>
+<td> an SPLRule
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id358106"></a><h3>
+<a name="itdb-splr-new"></a>itdb_splr_new ()</h3>
+<a class="indexterm" name="id358117"></a><pre class="programlisting"><a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a>*    itdb_splr_new                   (void);</pre>
+<p>
+Creates a new default smart rule</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a new <a href="libgpod-Smart-Playlists.html#SPLRule"><span class="type">SPLRule</span></a> that must be freed with <code class="function">itdb_splr_free()</code> when 
+no longer needed
+</td>
+</tr></tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id358166"></a><h3>
+<a name="itdb-splr-add"></a>itdb_splr_add ()</h3>
+<a class="indexterm" name="id358176"></a><pre class="programlisting">void        itdb_splr_add                   (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+                                             <a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr,
+                                             gint pos);</pre>
+<p>
+Adds the smart rule <em class="parameter"><code>splr</code></em> to <em class="parameter"><code>pl</code></em> at position <em class="parameter"><code>pos</code></em>. If <em class="parameter"><code>pos</code></em> is -1, <em class="parameter"><code>splr</code></em> gets
+appended to the end. After this call, <em class="parameter"><code>splr</code></em> memory is managed by <em class="parameter"><code>pl</code></em>, so 
+you no longer need to call <code class="function">itdb_splr_free()</code></p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>splr</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Smart-Playlists.html#SPLRule"><span class="type">SPLRule</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
+<td> position of the rule
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id358311"></a><h3>
+<a name="itdb-splr-add-new"></a>itdb_splr_add_new ()</h3>
+<a class="indexterm" name="id358322"></a><pre class="programlisting"><a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a>*    itdb_splr_add_new               (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *pl,
+                                             gint pos);</pre>
+<p>
+Creates a new smart rule and inserts it at position <em class="parameter"><code>pos</code></em> in <em class="parameter"><code>pl</code></em>. If <em class="parameter"><code>pos</code></em> is
+-1, the new rule gets appended to the end.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>pl</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
+<td> position to insert the rule at
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> pointer to the newly created <a href="libgpod-Smart-Playlists.html#SPLRule"><span class="type">SPLRule</span></a>. Its memory is handled 
+by <em class="parameter"><code>pl</code></em> though, so you don't need to explicitly call <code class="function">itdb_splr_free()</code> on it
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id358434"></a><h3>
+<a name="itdb-spl-copy-rules"></a>itdb_spl_copy_rules ()</h3>
+<a class="indexterm" name="id358444"></a><pre class="programlisting">void        itdb_spl_copy_rules             (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *dest,
+                                             <a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *src);</pre>
+<p>
+Copy all relevant information for smart playlist from playlist <em class="parameter"><code>src</code></em>
+to playlist <em class="parameter"><code>dest</code></em>. If <em class="parameter"><code>dest</code></em> is already a smart playlist, the existing data
+is overwritten/deleted.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>dest</code></em>&#160;:</span></td>
+<td> destination <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>src</code></em>&#160;:</span></td>
+<td> source <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id358533"></a><h3>
+<a name="itdb-splr-eval"></a>itdb_splr_eval ()</h3>
+<a class="indexterm" name="id358543"></a><pre class="programlisting">gboolean    itdb_splr_eval                  (<a href="libgpod-Smart-Playlists.html#SPLRule">SPLRule</a> *splr,
+                                             <a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
+<p>
+Evaluates <em class="parameter"><code>splr</code></em>'s truth against <em class="parameter"><code>track</code></em>. track-&gt;itdb must be set.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>splr</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Smart-Playlists.html#SPLRule"><span class="type">SPLRule</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> TRUE if <em class="parameter"><code>track</code></em> matches <em class="parameter"><code>splr</code></em>, FALSE otherwise.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id358647"></a><h3>
+<a name="itdb-spl-update"></a>itdb_spl_update ()</h3>
+<a class="indexterm" name="id358657"></a><pre class="programlisting">void        itdb_spl_update                 (<a href="libgpod-Playlists.html#Itdb-Playlist">Itdb_Playlist</a> *spl);</pre>
+<p>
+Updates the content of the smart playlist <em class="parameter"><code>spl</code></em> (meant to be called if the 
+tracks stored in the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> associated with <em class="parameter"><code>spl</code></em> have changed 
+somehow and you want spl-&gt;members to be accurate with regards to those 
+changes. Does nothing if <em class="parameter"><code>spl</code></em> isn't a smart playlist.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><span class="term"><em class="parameter"><code>spl</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a>
+</td>
+</tr></tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id358730"></a><h3>
+<a name="itdb-spl-update-all"></a>itdb_spl_update_all ()</h3>
+<a class="indexterm" name="id358740"></a><pre class="programlisting">void        itdb_spl_update_all             (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<p>
+Updates all smart playlists contained in <em class="parameter"><code>itdb</code></em></p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
+</td>
+</tr></tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id358793"></a><h3>
+<a name="itdb-spl-update-live"></a>itdb_spl_update_live ()</h3>
+<a class="indexterm" name="id358804"></a><pre class="programlisting">void        itdb_spl_update_live            (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<p>
+Updates all 'live' smart playlists contained in <em class="parameter"><code>itdb</code></em>, ie those which have 
+the 'live updating' flag set</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
+</td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<div class="refsect1" lang="en">
+<a name="id358859"></a><h2>See Also</h2>
+<p>
+<a href="libgpod-Playlists.html" title="Playlists">Playlists</a>
+</p>
+</div>
+</div>
+</body>
+</html>

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod-The-Itdb-iTunesDB-structure.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-The-Itdb-iTunesDB-structure.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-The-Itdb-iTunesDB-structure.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -3,35 +3,36 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>iPod database reading/writing</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="ch01.html" title="iPod database">
-<link rel="prev" href="ch01.html" title="iPod database">
+<link rel="up" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="prev" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
 <link rel="next" href="libgpod-File-handling-functions.html" title="File handling functions">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 <tr valign="middle">
-<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="itunesdb.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="itunesdb.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 <th width="100%" align="center">libgpod Reference Manual</th>
 <td><a accesskey="n" href="libgpod-File-handling-functions.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 </tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2571146" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id323631" class="shortcut">Top</a>
                   &#160;|&#160;
-                  <a href="#id2510392" class="shortcut">Description</a></nobr></td></tr>
+                  <a href="#id270938" class="shortcut">Description</a></nobr></td></tr>
 </table>
 <div class="refentry" lang="en">
 <a name="libgpod-The-Itdb-iTunesDB-structure"></a><div class="titlepage"></div>
 <div class="refnamediv"><table width="100%"><tr>
 <td valign="top">
 <h2>
-<a name="id2571146"></a><span class="refentrytitle">iPod database reading/writing</span>
+<a name="id323631"></a><span class="refentrytitle">iPod database reading/writing</span>
 </h2>
 <p>iPod database reading/writing &#8212; Functions to create, read, write the iPod database</p>
 </td>
@@ -50,7 +51,7 @@
 void        <a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-free">itdb_free</a>                       (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);
 <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a>* <a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-parse">itdb_parse</a>                   (const gchar *mp,
                                              GError **error);
-gboolean    <a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-write">itdb_write</a>                      (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *db,
+gboolean    <a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-write">itdb_write</a>                      (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              GError **error);
 void        <a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-set-mountpoint">itdb_set_mountpoint</a>             (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              const gchar *mp);
@@ -62,17 +63,98 @@
 </pre>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2510392"></a><h2>Description</h2>
+<a name="id270938"></a><h2>Description</h2>
 <p>
-
+These functions are for creating, reading, writing, and deleting the iPod
+database and getting the total number of tracks and playlists.
 </p>
+<p>
+Overview of using the iPod database:
+</p>
+<p>
+<a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-parse"><code class="function">itdb_parse()</code></a>: read the iTunesDB and ArtworkDB
+</p>
+<p>
+<a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-write"><code class="function">itdb_write()</code></a>: write the iTunesDB and ArtworkDB
+</p>
+<p>
+<a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-parse"><code class="function">itdb_parse()</code></a> will return a <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> structure with GLists
+containing all tracks (each track is represented by a <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
+structure) and the playlists (each playlist is represented by a
+<a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a> structure).
+</p>
+<p>
+A number of functions for adding, removing, duplicating tracks
+are available.  Please see
+<a href="libgpod-Tracks.html" title="Tracks">Tracks</a> for details.
+</p>
+<p>
+In each <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a> structure you can find a GList called
+'members' with listing all member tracks. Each track referenced
+in a playlist must also be present in the tracks GList of the
+iTunesDB.
+</p>
+<p>
+The iPod must contain one master playlist (MPL) containing all
+tracks accessible on the iPod through the
+Music-&gt;Tracks/Albums/Artists... menu. Besides the MPL there can
+be a number of normal playlists accessible through the
+Music-&gt;Playlists menu on the iPod. Tracks that are a member of
+one of these normal playlists must also be a member of the MPL.
+</p>
+<p>
+The Podcasts playlist is just another playlist with some
+internal flags set differently. Also, member tracks in the
+Podcasts playlist are not normally members of the MPL (so on the
+iPod they will only show up under the Podcasts menu). All tracks
+referenced must be in the tracklist of the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>,
+however.
+</p>
+<p>
+A number of functions to add/remove playlists, or add/remove
+tracks are available. Please see
+<a href="libgpod-Playlists.html" title="Playlists">Playlists</a> for details.
+</p>
+<p>
+Each track can have a thumbnail associated with it. You can
+retrieve a GdkPixmap of the thumbnail using
+<a href="libgpod-Artwork.html#itdb-thumb-get-gdk-pixbuf"><code class="function">itdb_thumb_get_gdk_pixbuf()</code></a> (tracks have thumbnails of the
+following types associated: <em class="parameter"><code>ITDB_THUMB_COVER_SMALL</code></em> and
+<em class="parameter"><code>ITDB_THUMB_COVER_LARGE</code></em>).  You can remove a thumbnail with
+<a href="libgpod-Tracks.html#itdb-track-remove-thumbnails"><code class="function">itdb_track_remove_thumbnails()</code></a>.  And finally, you can set a
+new thumbnail using <a href="libgpod-Tracks.html#itdb-track-set-thumbnails"><code class="function">itdb_track_set_thumbnails()</code></a>.
+</p>
+<p>
+Please note that iTunes additionally stores the artwork as tags
+in the original music file. That's also from where the data is
+read when artwork is displayed in iTunes, and there can be more
+than one piece of artwork. libgpod does not store the artwork as
+tags in the original music file. As a consequence, if you iTunes
+attempts to access the artwork, it will find none, and remove
+libgpod's artwork. Luckily, iTunes will only attempt to access
+the artwork if you select a track in Tunes. (To work around
+this, gtkpod keeps a list of the original filename of all
+artwork and silently adds the thumbnails if they were 'lost'.
+Your application might want to do something similar, or you can
+supply patches for optionally! adding tags to the original music
+files.)
+</p>
+<p>
+The <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>, <a href="libgpod-Playlists.html#Itdb-Playlist"><span class="type">Itdb_Playlist</span></a> and <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a> structures each
+have a userdata and a usertype field that can be used by the
+application to store application-specific additional data. If
+userdata is a pointer to an external structure, you can supply a
+<a href="libgpod-The-Itdb-iTunesDB-structure.html#ItdbUserDataDuplicateFunc"><span class="type">ItdbUserDataDuplicateFunc</span></a> and a <a href="libgpod-The-Itdb-iTunesDB-structure.html#ItdbUserDataDestroyFunc"><span class="type">ItdbUserDataDestroyFunc</span></a> so that
+this data can be duplicated or freed automatically with a call
+to the library <code class="function">_duplicate()</code>/<code class="function">_free()</code> functions.
+</p>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2510407"></a><h2>Details</h2>
+<a name="id332997"></a><h2>Details</h2>
 <div class="refsect2" lang="en">
-<a name="id2510418"></a><h3>
+<a name="id333007"></a><h3>
 <a name="Itdb-iTunesDB"></a>Itdb_iTunesDB</h3>
-<a class="indexterm" name="id2510431"></a><pre class="programlisting">typedef struct {
+<a class="indexterm" name="id333019"></a><pre class="programlisting">typedef struct {
     GList *tracks;
     GList *playlists;
     gchar *filename;    /* filename of iTunesDB */
@@ -82,9 +164,8 @@
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 } Itdb_iTunesDB;
 </pre>
@@ -94,18 +175,17 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2510454"></a><h3>
+<a name="id333038"></a><h3>
 <a name="ItdbUserDataDestroyFunc"></a>ItdbUserDataDestroyFunc ()</h3>
-<a class="indexterm" name="id2510466"></a><pre class="programlisting">void        (*ItdbUserDataDestroyFunc)      (gpointer userdata);</pre>
+<a class="indexterm" name="id333051"></a><pre class="programlisting">void        (*ItdbUserDataDestroyFunc)      (gpointer userdata);</pre>
 <p>
 
 </p>
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
+<td><span class="term"><em class="parameter"><code>userdata</code></em>&#160;:</span></td>
 <td>
-<span class="term"><em class="parameter"><code>userdata</code></em>&#160;:</span></td>
-<td>
 
 
 </td>
@@ -114,9 +194,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2574700"></a><h3>
+<a name="id333095"></a><h3>
 <a name="ItdbUserDataDuplicateFunc"></a>ItdbUserDataDuplicateFunc ()</h3>
-<a class="indexterm" name="id2574711"></a><pre class="programlisting">gpointer    (*ItdbUserDataDuplicateFunc)    (gpointer userdata);</pre>
+<a class="indexterm" name="id333108"></a><pre class="programlisting">gpointer    (*ItdbUserDataDuplicateFunc)    (gpointer userdata);</pre>
 <p>
 
 </p>
@@ -124,15 +204,13 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
+<td><span class="term"><em class="parameter"><code>userdata</code></em>&#160;:</span></td>
 <td>
-<span class="term"><em class="parameter"><code>userdata</code></em>&#160;:</span></td>
-<td>
 </td>
 </tr>
 <tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
-<td>
 
 
 </td>
@@ -142,9 +220,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2574767"></a><h3>
+<a name="id347091"></a><h3>
 <a name="itdb-new"></a>itdb_new ()</h3>
-<a class="indexterm" name="id2574779"></a><pre class="programlisting"><a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a>* itdb_new                     (void);</pre>
+<a class="indexterm" name="id347101"></a><pre class="programlisting"><a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a>* itdb_new                     (void);</pre>
 <p>
 Creates a new Itdb_iTunesDB with the unknowns filled in to reasonable
 values.</p>
@@ -154,8 +232,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a newly created Itdb_iTunesDB to be freed with <a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-free"><code class="function">itdb_free()</code></a>
 when it's no longer needed
 </td>
@@ -164,9 +241,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2574829"></a><h3>
+<a name="id347144"></a><h3>
 <a name="itdb-free"></a>itdb_free ()</h3>
-<a class="indexterm" name="id2574841"></a><pre class="programlisting">void        itdb_free                       (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<a class="indexterm" name="id347154"></a><pre class="programlisting">void        itdb_free                       (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Free the memory taken by <em class="parameter"><code>itdb</code></em>.</p>
 <p>
@@ -175,8 +252,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr></tbody>
@@ -184,9 +260,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2574903"></a><h3>
+<a name="id347209"></a><h3>
 <a name="itdb-parse"></a>itdb_parse ()</h3>
-<a class="indexterm" name="id2574915"></a><pre class="programlisting"><a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a>* itdb_parse                   (const gchar *mp,
+<a class="indexterm" name="id347219"></a><pre class="programlisting"><a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a>* itdb_parse                   (const gchar *mp,
                                              GError **error);</pre>
 <p>
 Parse the Itdb_iTunesDB of the iPod located at <em class="parameter"><code>mp</code></em></p>
@@ -197,20 +273,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mp</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mp</code></em>&#160;:</span></td>
 <td> mount point of the iPod (eg "/mnt/ipod) in local encoding
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
 <td> return location for a <span class="type">GError</span> or NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a newly allocated <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> struct holding the tracks and
 the playlists present on the iPod at <em class="parameter"><code>mp</code></em>, NULL if <em class="parameter"><code>mp</code></em> isn't an iPod mount
 point. If non-NULL, the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> is to be freed with <a href="libgpod-The-Itdb-iTunesDB-structure.html#itdb-free"><code class="function">itdb_free()</code></a> when
@@ -222,9 +295,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2514955"></a><h3>
+<a name="id347331"></a><h3>
 <a name="itdb-write"></a>itdb_write ()</h3>
-<a class="indexterm" name="id2514967"></a><pre class="programlisting">gboolean    itdb_write                      (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *db,
+<a class="indexterm" name="id347342"></a><pre class="programlisting">gboolean    itdb_write                      (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              GError **error);</pre>
 <p>
 Write out an iTunesDB. It reassigns unique IDs to all tracks. 
@@ -239,20 +312,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>db</code></em>&#160;:</span></td>
-<td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td> the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> to write to disk
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
 <td> return location for a <span class="type">GError</span> or NULL
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE on success, FALSE on error, in which case <em class="parameter"><code>error</code></em> is
 set accordingly.
 </td>
@@ -262,9 +332,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2515065"></a><h3>
+<a name="id347432"></a><h3>
 <a name="itdb-set-mountpoint"></a>itdb_set_mountpoint ()</h3>
-<a class="indexterm" name="id2515077"></a><pre class="programlisting">void        itdb_set_mountpoint             (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id347442"></a><pre class="programlisting">void        itdb_set_mountpoint             (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              const gchar *mp);</pre>
 <p>
 Sets the mountpoint of <em class="parameter"><code>db</code></em>. Always use this function to set the mountpoint
@@ -278,14 +348,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mp</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mp</code></em>&#160;:</span></td>
 <td> new mount point
 </td>
 </tr>
@@ -294,9 +362,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2597709"></a><h3>
+<a name="id347527"></a><h3>
 <a name="itdb-get-mountpoint"></a>itdb_get_mountpoint ()</h3>
-<a class="indexterm" name="id2597720"></a><pre class="programlisting">const gchar* itdb_get_mountpoint            (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<a class="indexterm" name="id347538"></a><pre class="programlisting">const gchar* itdb_get_mountpoint            (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Retrieve a reference to the mountpoint of <em class="parameter"><code>itdb</code></em></p>
 <p>
@@ -306,14 +374,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the <em class="parameter"><code>itdb</code></em> mountpoint, this string shouldn't be freed nor 
 modified
 </td>
@@ -323,9 +389,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2597791"></a><h3>
+<a name="id347607"></a><h3>
 <a name="itdb-tracks-number"></a>itdb_tracks_number ()</h3>
-<a class="indexterm" name="id2597803"></a><pre class="programlisting">guint32     itdb_tracks_number              (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<a class="indexterm" name="id347618"></a><pre class="programlisting">guint32     itdb_tracks_number              (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Counts the number of tracks stored in <em class="parameter"><code>itdb</code></em></p>
 <p>
@@ -335,14 +401,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the number of tracks in <em class="parameter"><code>itdb</code></em>
 </td>
 </tr>
@@ -351,9 +415,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2597882"></a><h3>
+<a name="id347686"></a><h3>
 <a name="itdb-tracks-number-nontransferred"></a>itdb_tracks_number_nontransferred ()</h3>
-<a class="indexterm" name="id2597896"></a><pre class="programlisting">guint32     itdb_tracks_number_nontransferred
+<a class="indexterm" name="id347696"></a><pre class="programlisting">guint32     itdb_tracks_number_nontransferred
                                             (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Counts the number of non-transferred tracks in <em class="parameter"><code>itdb</code></em></p>
@@ -364,14 +428,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the number of tracks in <em class="parameter"><code>itdb</code></em> that haven't been transferred
 to the iPod yet (ie the number of <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a> in which the transferred field
 is false)
@@ -382,9 +444,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2597982"></a><h3>
+<a name="id347772"></a><h3>
 <a name="itdb-playlists-number"></a>itdb_playlists_number ()</h3>
-<a class="indexterm" name="id2597994"></a><pre class="programlisting">guint32     itdb_playlists_number           (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<a class="indexterm" name="id347783"></a><pre class="programlisting">guint32     itdb_playlists_number           (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Counts the number of playlists stored in <em class="parameter"><code>itdb</code></em></p>
 <p>
@@ -394,14 +456,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the number of playlists in <em class="parameter"><code>itdb</code></em> (including the master 
 playlist)
 </td>

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod-Time-handling.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-Time-handling.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-Time-handling.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -3,35 +3,36 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>Time handling</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="ch01.html" title="iPod database">
+<link rel="up" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
 <link rel="prev" href="libgpod-File-handling-functions.html" title="File handling functions">
 <link rel="next" href="libgpod-Low-level-functions.html" title="Low-level functions">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 <tr valign="middle">
 <td><a accesskey="p" href="libgpod-File-handling-functions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="u" href="itunesdb.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 <th width="100%" align="center">libgpod Reference Manual</th>
 <td><a accesskey="n" href="libgpod-Low-level-functions.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 </tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2557423" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id329214" class="shortcut">Top</a>
                   &#160;|&#160;
-                  <a href="#id2594077" class="shortcut">Description</a></nobr></td></tr>
+                  <a href="#id321635" class="shortcut">Description</a></nobr></td></tr>
 </table>
 <div class="refentry" lang="en">
 <a name="libgpod-Time-handling"></a><div class="titlepage"></div>
 <div class="refnamediv"><table width="100%"><tr>
 <td valign="top">
 <h2>
-<a name="id2557423"></a><span class="refentrytitle">Time handling</span>
+<a name="id329214"></a><span class="refentrytitle">Time handling</span>
 </h2>
 <p>Time handling &#8212; Helper functions to convert between Epoch time and Mac (iPod) time</p>
 </td>
@@ -49,17 +50,17 @@
 </pre>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2594077"></a><h2>Description</h2>
+<a name="id321635"></a><h2>Description</h2>
 <p>
-
+The functions provide conversion between Epoch time and Mac (iPod) time
 </p>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2594093"></a><h2>Details</h2>
+<a name="id321651"></a><h2>Details</h2>
 <div class="refsect2" lang="en">
-<a name="id2594104"></a><h3>
+<a name="id321661"></a><h3>
 <a name="itdb-time-get-mac-time"></a>itdb_time_get_mac_time ()</h3>
-<a class="indexterm" name="id2594115"></a><pre class="programlisting">guint64     itdb_time_get_mac_time          (void);</pre>
+<a class="indexterm" name="id321673"></a><pre class="programlisting">guint64     itdb_time_get_mac_time          (void);</pre>
 <p>
 Gets the current time expressed in 'Mac' unit (ie in number of seconds since
 1/1/1904).</p>
@@ -69,8 +70,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> current time in 'Mac' unit.
 </td>
 </tr></tbody>
@@ -78,9 +78,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2594156"></a><h3>
+<a name="id316273"></a><h3>
 <a name="itdb-time-mac-to-host"></a>itdb_time_mac_to_host ()</h3>
-<a class="indexterm" name="id2594167"></a><pre class="programlisting">time_t      itdb_time_mac_to_host           (guint64 mactime);</pre>
+<a class="indexterm" name="id316285"></a><pre class="programlisting">time_t      itdb_time_mac_to_host           (guint64 mactime);</pre>
 <p>
 Convert a Mac timestamp to host system time stamp -- modify
 this function if necessary to port to host systems with different
@@ -93,14 +93,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>mactime</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>mactime</code></em>&#160;:</span></td>
 <td> time expressed in 'Mac' unit
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> timestamp for the host system
 </td>
 </tr>
@@ -109,9 +107,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2589005"></a><h3>
+<a name="id316888"></a><h3>
 <a name="itdb-time-host-to-mac"></a>itdb_time_host_to_mac ()</h3>
-<a class="indexterm" name="id2589016"></a><pre class="programlisting">guint64     itdb_time_host_to_mac           (time_t time);</pre>
+<a class="indexterm" name="id316898"></a><pre class="programlisting">guint64     itdb_time_host_to_mac           (time_t time);</pre>
 <p>
 Convert host system timestamp to Mac time stamp -- modify
 this function if necessary to port to host systems with different
@@ -123,14 +121,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>time</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>time</code></em>&#160;:</span></td>
 <td> time expressed in host unit
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a Mac timestamp
 </td>
 </tr>

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod-Tracks.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod-Tracks.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod-Tracks.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -3,35 +3,36 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>Tracks</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 <link rel="start" href="index.html" title="libgpod Reference Manual">
-<link rel="up" href="ch02.html" title="iPod database components">
-<link rel="prev" href="ch02.html" title="iPod database components">
+<link rel="up" href="ch01.html" title="iPod database components">
+<link rel="prev" href="ch01.html" title="iPod database components">
 <link rel="next" href="libgpod-Playlists.html" title="Playlists">
 <meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="ch01.html" title="iPod database">
-<link rel="chapter" href="ch02.html" title="iPod database components">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
 </head>
 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 <tr valign="middle">
-<td><a accesskey="p" href="ch02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 <th width="100%" align="center">libgpod Reference Manual</th>
 <td><a accesskey="n" href="libgpod-Playlists.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 </tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2590973" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id315541" class="shortcut">Top</a>
                   &#160;|&#160;
-                  <a href="#id2579784" class="shortcut">Description</a></nobr></td></tr>
+                  <a href="#id312127" class="shortcut">Description</a></nobr></td></tr>
 </table>
 <div class="refentry" lang="en">
 <a name="libgpod-Tracks"></a><div class="titlepage"></div>
 <div class="refnamediv"><table width="100%"><tr>
 <td valign="top">
 <h2>
-<a name="id2590973"></a><span class="refentrytitle">Tracks</span>
+<a name="id315541"></a><span class="refentrytitle">Tracks</span>
 </h2>
 <p>Tracks &#8212; Data structure to store metadata about an iPod track</p>
 </td>
@@ -60,22 +61,27 @@
                                              guint32 id);
 gboolean    <a href="libgpod-Tracks.html#itdb-track-set-thumbnails">itdb_track_set_thumbnails</a>       (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track,
                                              const gchar *filename);
+gboolean    <a href="libgpod-Tracks.html#itdb-track-set-thumbnails-from-data">itdb_track_set_thumbnails_from_data</a>
+                                            (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track,
+                                             const guchar *image_data,
+                                             gsize image_data_len);
 void        <a href="libgpod-Tracks.html#itdb-track-remove-thumbnails">itdb_track_remove_thumbnails</a>    (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);
 #define     <a href="libgpod-Tracks.html#ITDB-RATING-STEP:CAPS">ITDB_RATING_STEP</a>
 </pre>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2579784"></a><h2>Description</h2>
+<a name="id312127"></a><h2>Description</h2>
 <p>
-
+These functions and structures are for storing and retrieving
+information about an iPod track.
 </p>
 </div>
 <div class="refsect1" lang="en">
-<a name="id2579800"></a><h2>Details</h2>
+<a name="id312143"></a><h2>Details</h2>
 <div class="refsect2" lang="en">
-<a name="id2579811"></a><h3>
+<a name="id312154"></a><h3>
 <a name="Itdb-Track"></a>Itdb_Track</h3>
-<a class="indexterm" name="id2579823"></a><pre class="programlisting">typedef struct {
+<a class="indexterm" name="id350431"></a><pre class="programlisting">typedef struct {
   Itdb_iTunesDB *itdb;       /* pointer to iTunesDB (for convenience) */
   gchar   *title;            /* title (utf8)           */
   gchar   *ipod_path;        /* name of file on iPod: uses ":"
@@ -93,6 +99,14 @@
   gchar   *podcastrss;       /* see note for MHOD_ID in itdb_itunesdb.c */
   gchar   *chapterdata;      /* see note for MHOD_ID in itdb_itunesdb.c */
   gchar   *subtitle;         /* see note for MHOD_ID in itdb_itunesdb.c */
+/* the following 6 are new in libgpod 0.4.2... */
+  gchar   *tvshow;           /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *tvepisode;        /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *tvnetwork;        /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *albumartist;      /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *keywords;         /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *reserved;         /* will probably be used for artistthe     */
+/* ... to here */
   guint32 id;                /* unique ID of track     */
   gint32  size;              /* size of file in bytes  */
   gint32  tracklen;          /* Length of track in ms  */
@@ -179,13 +193,18 @@
 			 0x000c, AAC songs are always 0x0033, Audible
 			 files are 0x0029, WAV files are 0x0. itdb
 			 will attempt to set this value when adding a
-			 track. */  
+			 track. */ 
   guint16 unk146;     /* unknown, but appears to be 1 if played at
 			 least once in iTunes and 0 otherwise. */
   guint32 unk148;     /* unknown - used for Apple Store DRM songs
 			 (always 0x01010100?), zero otherwise */
   guint32 unk152;     /* unknown */
-  guint32 unk156, unk160;
+  guint32 skipcount;  /* Number of times the track has been skipped.
+			 Formerly unk156 (added in dbversion 0x0c) */
+  guint32 recent_skipcount; /* number of times track was skipped since
+			       last sync */
+  guint32 last_skipped;/* Date/time last skipped. Formerly unk160
+			 (added in dbversion 0x0c) */
   guint8 has_artwork; /* 0x01: artwork is present. 0x02: no artwork is
 			 present for this track (used by the iPod to
 			 decide whether to display Artwork or not) */
@@ -204,7 +223,9 @@
 			 (middle button) with further information
 			 about the track will be shown. */
   guint64 dbid2;      /* not clear. if not set, itdb will set this to
-			 the same value as dbid when adding a track */
+			 the same value as dbid when adding a
+			 track. (With iTunes, since V0x12, this field
+			 value differs from the dbid one.) */
   guint8 lyrics_flag; /* set to 0x01 if lyrics are present in MP3 tag
 			 ("ULST"), 0x00 otherwise */
   guint8 movie_flag;  /* set to 0x01 if it's a movie file, 0x00
@@ -213,17 +234,62 @@
 			   on the iPod (bullet) once played it is set to
 			   0x01. Non-podcasts have this set to 0x01. */
   guint8 unk179;      /* unknown (always 0x00 so far) */
-  guint32 unk180, unk184;
-  guint32 samplecount;/* Number of samples in the song. First observed
+  guint32 unk180;
+  guint32 pregap;     /* Number of samples of silence before the songs
+			 starts (for gapless playback). */
+  guint64 samplecount;/* Number of samples in the song. First observed
 			 in dbversion 0x0d, and only for AAC and WAV
-			 files (not MP3?!?). */
-  guint32 unk192, unk196, unk200;
-  guint32 unk204;     /*  unknown - added in dbversion 0x0c, first
-			  values observed in 0x0d. Observed to be 0x0
-			  or 0x1. */
-  guint32 unk208, unk212, unk216, unk220, unk224;
-  guint32 unk228, unk232, unk236, unk240;
+			 files (for gapless playback). */
+  guint32 unk196;
+  guint32 postgap;    /* Number of samples of silence at the end of
+			 the song (for gapless playback). */
+  guint32 unk204;     /* unknown - added in dbversion 0x0c, first
+			 values observed in 0x0d. Observed to be 0x0
+			 or 0x1. */
+  guint32 mediatype;  /* It seems that this field denotes the type of
+		         the file on (e.g.) the 5g video iPod. It must
+			 be set to 0x00000001 for audio files, and set
+			 to 0x00000002 for video files. If set to
+			 0x00, the files show up in both, the audio
+			 menus ("Songs", "Artists", etc.) and the
+			 video menus ("Movies", "Music Videos",
+			 etc.). It appears to be set to 0x20 for music
+			 videos, and if set to 0x60 the file shows up
+			 in "TV Shows" rather than "Movies". 
 
+			 The following list summarizes all observed types:
+
+			 * 0x00 00 00 00 - Audio/Video
+			 * 0x00 00 00 01 - Audio
+			 * 0x00 00 00 02 - Video
+			 * 0x00 00 00 04 - Podcast
+			 * 0x00 00 00 06 - Video Podcast
+			 * 0x00 00 00 08 - Audiobook
+			 * 0x00 00 00 20 - Music Video
+			 * 0x00 00 00 40 - TV Show (shows up ONLY in TV Shows
+			 * 0x00 00 00 60 - TV Show (shows up in the
+			                            Music lists as well) */
+  guint32 season_nr;  /* the season number of the track, for TV shows only. */
+  guint32 episode_nr; /* the episode number of the track, for TV shows
+			 only - although not displayed on the iPod,
+			 the episodes are sorted by episode number. */
+  guint32 unk220;     /* Has something to do with protected files -
+			 set to 0x0 for non-protected files. */
+  guint32 unk224;
+  guint32 unk228, unk232, unk236, unk240, unk244;
+  guint32 gapless_data;/* some magic number needed for gapless playback
+			  (added in dbversion 0x13) It has been observed
+			  that gapless playback does not work if this is
+			  set to zero. This number is related to the the
+			  filesize in bytes, but it is a couple of bytes
+			  less than the filesize. Maybe ID3 tags
+			  etc... taken off? */
+  guint32 unk252;
+  guint16 gapless_track_flag; /* if 1, this track has gapless playback data
+			         (added in dbversion 0x13) */
+  guint16 gapless_album_flag; /* if 1, this track does not use crossfading
+			         in iTunes (added in dbversion 0x13) */
+
     /* Chapter data: defines where the chapter stops are in the track,
        as well as what info should be displayed for each section of
        the track. Until it can be parsed and interpreted, the
@@ -238,9 +304,8 @@
   /* below is for use by application */
   guint64 usertype;
   gpointer userdata;
-  /* function called to duplicate userdata */
+  /* functions called to duplicate/free userdata */
   ItdbUserDataDuplicateFunc userdata_duplicate;
-  /* function called to free userdata */
   ItdbUserDataDestroyFunc userdata_destroy;
 } Itdb_Track;
 </pre>
@@ -250,9 +315,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2596057"></a><h3>
+<a name="id316213"></a><h3>
 <a name="itdb-track-new"></a>itdb_track_new ()</h3>
-<a class="indexterm" name="id2559796"></a><pre class="programlisting"><a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a>* itdb_track_new                  (void);</pre>
+<a class="indexterm" name="id334690"></a><pre class="programlisting"><a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a>* itdb_track_new                  (void);</pre>
 <p>
 Creates an empty <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a></p>
 <p>
@@ -261,8 +326,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the new <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>, free it with <a href="libgpod-Tracks.html#itdb-track-free"><code class="function">itdb_track_free()</code></a> when no
 longer needed
 </td>
@@ -271,9 +335,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2597275"></a><h3>
+<a name="id350582"></a><h3>
 <a name="itdb-track-free"></a>itdb_track_free ()</h3>
-<a class="indexterm" name="id2597288"></a><pre class="programlisting">void        itdb_track_free                 (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
+<a class="indexterm" name="id350594"></a><pre class="programlisting">void        itdb_track_free                 (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
 <p>
 Frees the memory used by <em class="parameter"><code>track</code></em></p>
 <p>
@@ -282,8 +346,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr></tbody>
@@ -291,9 +354,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2597348"></a><h3>
+<a name="id350654"></a><h3>
 <a name="itdb-track-add"></a>itdb_track_add ()</h3>
-<a class="indexterm" name="id2597360"></a><pre class="programlisting">void        itdb_track_add                  (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id350666"></a><pre class="programlisting">void        itdb_track_add                  (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              <a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track,
                                              gint32 pos);</pre>
 <p>
@@ -308,20 +371,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>pos</code></em>&#160;:</span></td>
 <td> position of the track to add
 </td>
 </tr>
@@ -330,9 +390,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2598771"></a><h3>
+<a name="id352865"></a><h3>
 <a name="itdb-track-remove"></a>itdb_track_remove ()</h3>
-<a class="indexterm" name="id2598784"></a><pre class="programlisting">void        itdb_track_remove               (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
+<a class="indexterm" name="id352876"></a><pre class="programlisting">void        itdb_track_remove               (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
 <p>
 Removes <em class="parameter"><code>track</code></em> from the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> it's associated with, and frees the
 memory it uses. It doesn't remove the track from the playlists it may have
@@ -343,8 +403,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr></tbody>
@@ -352,9 +411,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2598855"></a><h3>
+<a name="id352938"></a><h3>
 <a name="itdb-track-unlink"></a>itdb_track_unlink ()</h3>
-<a class="indexterm" name="id2598868"></a><pre class="programlisting">void        itdb_track_unlink               (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
+<a class="indexterm" name="id352948"></a><pre class="programlisting">void        itdb_track_unlink               (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
 <p>
 Removes <em class="parameter"><code>track</code></em> from the <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a> it's associated with, but do not free
 memory. It doesn't remove the track from the playlists it may have been 
@@ -366,8 +425,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr></tbody>
@@ -375,9 +433,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2603128"></a><h3>
+<a name="id353011"></a><h3>
 <a name="itdb-track-duplicate"></a>itdb_track_duplicate ()</h3>
-<a class="indexterm" name="id2603138"></a><pre class="programlisting"><a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a>* itdb_track_duplicate            (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *tr);</pre>
+<a class="indexterm" name="id353021"></a><pre class="programlisting"><a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a>* itdb_track_duplicate            (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *tr);</pre>
 <p>
 Duplicates an existing track</p>
 <p>
@@ -387,14 +445,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>tr</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>tr</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a newly allocated <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a> 
 </td>
 </tr>
@@ -403,9 +459,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2603204"></a><h3>
+<a name="id353086"></a><h3>
 <a name="itdb-track-by-id"></a>itdb_track_by_id ()</h3>
-<a class="indexterm" name="id2603214"></a><pre class="programlisting"><a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a>* itdb_track_by_id                (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
+<a class="indexterm" name="id353097"></a><pre class="programlisting"><a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a>* itdb_track_by_id                (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb,
                                              guint32 id);</pre>
 <p>
 Looks up a track using its ID in <em class="parameter"><code>itdb</code></em>. 
@@ -423,20 +479,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
 <td> ID of the track to look for
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a> with the ID <em class="parameter"><code>id</code></em> or NULL if the ID cannot be
 found. 
 </td>
@@ -446,9 +499,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2603341"></a><h3>
+<a name="id353218"></a><h3>
 <a name="itdb-track-id-tree-create"></a>itdb_track_id_tree_create ()</h3>
-<a class="indexterm" name="id2603352"></a><pre class="programlisting">GTree*      itdb_track_id_tree_create       (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
+<a class="indexterm" name="id353228"></a><pre class="programlisting">GTree*      itdb_track_id_tree_create       (<a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB">Itdb_iTunesDB</a> *itdb);</pre>
 <p>
 Creates a balanced-binary tree for quick ID lookup that is used in
 <code class="function">itdb_track_by_id_tree()</code> function below</p>
@@ -459,14 +512,12 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>itdb</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-The-Itdb-iTunesDB-structure.html#Itdb-iTunesDB"><span class="type">Itdb_iTunesDB</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> a <span class="type">GTree</span> indexed by track IDs to be freed with 
 <a href="libgpod-Tracks.html#itdb-track-id-tree-destroy"><code class="function">itdb_track_id_tree_destroy()</code></a> when no longer used
 </td>
@@ -476,9 +527,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2603437"></a><h3>
+<a name="id353310"></a><h3>
 <a name="itdb-track-id-tree-destroy"></a>itdb_track_id_tree_destroy ()</h3>
-<a class="indexterm" name="id2603448"></a><pre class="programlisting">void        itdb_track_id_tree_destroy      (GTree *idtree);</pre>
+<a class="indexterm" name="id353320"></a><pre class="programlisting">void        itdb_track_id_tree_destroy      (GTree *idtree);</pre>
 <p>
 Frees the memory used by <em class="parameter"><code>idtree</code></em></p>
 <p>
@@ -487,8 +538,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>idtree</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>idtree</code></em>&#160;:</span></td>
 <td> a <span class="type">GTree</span>
 </td>
 </tr></tbody>
@@ -496,9 +546,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2603503"></a><h3>
+<a name="id353374"></a><h3>
 <a name="itdb-track-id-tree-by-id"></a>itdb_track_id_tree_by_id ()</h3>
-<a class="indexterm" name="id2603513"></a><pre class="programlisting"><a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a>* itdb_track_id_tree_by_id        (GTree *idtree,
+<a class="indexterm" name="id353384"></a><pre class="programlisting"><a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a>* itdb_track_id_tree_by_id        (GTree *idtree,
                                              guint32 id);</pre>
 <p>
 Lookup an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a> by <em class="parameter"><code>id</code></em> using <em class="parameter"><code>idtree</code></em> for faster lookup (compared to
@@ -510,20 +560,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>idtree</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>idtree</code></em>&#160;:</span></td>
 <td> a <span class="type">GTree</span> created using <a href="libgpod-Tracks.html#itdb-track-id-tree-create"><code class="function">itdb_track_id_tree_create()</code></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
 <td> the ID of the track to search for
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> the <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a> whose ID is <em class="parameter"><code>id</code></em>, or NULL if such a track 
 couldn't be found
 </td>
@@ -533,9 +580,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2603630"></a><h3>
+<a name="id353497"></a><h3>
 <a name="itdb-track-set-thumbnails"></a>itdb_track_set_thumbnails ()</h3>
-<a class="indexterm" name="id2603641"></a><pre class="programlisting">gboolean    itdb_track_set_thumbnails       (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track,
+<a class="indexterm" name="id353508"></a><pre class="programlisting">gboolean    itdb_track_set_thumbnails       (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track,
                                              const gchar *filename);</pre>
 <p>
 Uses the image contained in <em class="parameter"><code>filename</code></em> to generate iPod thumbnails. The image
@@ -549,20 +596,17 @@
 <col align="left" valign="top">
 <tbody>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
 <td> image file to use as a thumbnail
 </td>
 </tr>
 <tr>
-<td>
-<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 <td> TRUE if the thumbnail could be added, FALSE otherwise.
 </td>
 </tr>
@@ -571,9 +615,52 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2603740"></a><h3>
+<a name="id353599"></a><h3>
+<a name="itdb-track-set-thumbnails-from-data"></a>itdb_track_set_thumbnails_from_data ()</h3>
+<a class="indexterm" name="id353610"></a><pre class="programlisting">gboolean    itdb_track_set_thumbnails_from_data
+                                            (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track,
+                                             const guchar *image_data,
+                                             gsize image_data_len);</pre>
+<p>
+Uses <em class="parameter"><code>image_data</code></em> to generate iPod thumbnails. The image can be in
+any format supported by gdk-pixbuf. To save memory, the thumbnails
+will only be generated when necessary, ie when <code class="function">itdb_save()</code> or a
+similar function is called.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>image_data</code></em>&#160;:</span></td>
+<td> data used to create the thumbnail (the raw contents of
+             an image file)
+</td>
+</tr>
+<tr>
+<td><span class="term"><em class="parameter"><code>image_data_len</code></em>&#160;:</span></td>
+<td> length of above data block
+</td>
+</tr>
+<tr>
+<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> TRUE if the thumbnail could be added, FALSE otherwise.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id353722"></a><h3>
 <a name="itdb-track-remove-thumbnails"></a>itdb_track_remove_thumbnails ()</h3>
-<a class="indexterm" name="id2603752"></a><pre class="programlisting">void        itdb_track_remove_thumbnails    (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
+<a class="indexterm" name="id353732"></a><pre class="programlisting">void        itdb_track_remove_thumbnails    (<a href="libgpod-Tracks.html#Itdb-Track">Itdb_Track</a> *track);</pre>
 <p>
 Removes the thumbnails associated with <em class="parameter"><code>track</code></em></p>
 <p>
@@ -582,8 +669,7 @@
 <div class="variablelist"><table border="0">
 <col align="left" valign="top">
 <tbody><tr>
-<td>
-<span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
+<td><span class="term"><em class="parameter"><code>track</code></em>&#160;:</span></td>
 <td> an <a href="libgpod-Tracks.html#Itdb-Track"><span class="type">Itdb_Track</span></a>
 </td>
 </tr></tbody>
@@ -591,9 +677,9 @@
 </div>
 <hr>
 <div class="refsect2" lang="en">
-<a name="id2603808"></a><h3>
+<a name="id353786"></a><h3>
 <a name="ITDB-RATING-STEP:CAPS"></a>ITDB_RATING_STEP</h3>
-<a class="indexterm" name="id2603818"></a><pre class="programlisting">#define ITDB_RATING_STEP 20
+<a class="indexterm" name="id353796"></a><pre class="programlisting">#define ITDB_RATING_STEP 20
 </pre>
 <p>
 

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod.devhelp
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod.devhelp	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod.devhelp	2007-01-25 10:43:09 UTC (rev 166)
@@ -2,17 +2,21 @@
 <!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
 <book xmlns="http://www.devhelp.net/book" title="libgpod Reference Manual" link="index.html" author="Jorg SchulerChristophe Fergeau" name="libgpod">
   <chapters>
-    <sub name="iPod database" link="ch01.html">
+    <sub name="iPod database" link="itunesdb.html">
       <sub name="iPod database reading/writing" link="libgpod-The-Itdb-iTunesDB-structure.html"/>
       <sub name="File handling functions" link="libgpod-File-handling-functions.html"/>
       <sub name="Time handling" link="libgpod-Time-handling.html"/>
       <sub name="Low-level functions" link="libgpod-Low-level-functions.html"/>
+      <sub name="iPod database components" link="ch01.html">
+        <sub name="Tracks" link="libgpod-Tracks.html"/>
+        <sub name="Playlists" link="libgpod-Playlists.html"/>
+        <sub name="Smart Playlists" link="libgpod-Smart-Playlists.html"/>
+        <sub name="Artwork" link="libgpod-Artwork.html"/>
+        <sub name="Device" link="libgpod-Device.html"/>
+      </sub>
     </sub>
-    <sub name="iPod database components" link="ch02.html">
-      <sub name="Tracks" link="libgpod-Tracks.html"/>
-      <sub name="Playlists" link="libgpod-Playlists.html"/>
-      <sub name="Artwork" link="libgpod-Artwork.html"/>
-      <sub name="Device" link="libgpod-Device.html"/>
+    <sub name="Photo database" link="photodb.html">
+      <sub name="Photo database" link="libgpod-Photo-database.html"/>
     </sub>
   </chapters>
   <functions>
@@ -42,8 +46,12 @@
     <function name="itdb_get_music_dir ()" link="libgpod-Low-level-functions.html#itdb-get-music-dir"/>
     <function name="itdb_get_artwork_dir ()" link="libgpod-Low-level-functions.html#itdb-get-artwork-dir"/>
     <function name="itdb_get_device_dir ()" link="libgpod-Low-level-functions.html#itdb-get-device-dir"/>
+    <function name="itdb_get_photos_dir ()" link="libgpod-Low-level-functions.html#itdb-get-photos-dir"/>
     <function name="itdb_get_itunesdb_path ()" link="libgpod-Low-level-functions.html#itdb-get-itunesdb-path"/>
+    <function name="itdb_get_itunessd_path ()" link="libgpod-Low-level-functions.html#itdb-get-itunessd-path"/>
     <function name="itdb_get_artworkdb_path ()" link="libgpod-Low-level-functions.html#itdb-get-artworkdb-path"/>
+    <function name="itdb_get_photodb_path ()" link="libgpod-Low-level-functions.html#itdb-get-photodb-path"/>
+    <function name="itdb_get_photos_thumb_dir ()" link="libgpod-Low-level-functions.html#itdb-get-photos-thumb-dir"/>
     <function name="itdb_get_path ()" link="libgpod-Low-level-functions.html#itdb-get-path"/>
     <function name="itdb_resolve_path ()" link="libgpod-Low-level-functions.html#itdb-resolve-path"/>
     <function name="itdb_shuffle_write ()" link="libgpod-Low-level-functions.html#itdb-shuffle-write"/>
@@ -64,6 +72,7 @@
     <function name="itdb_track_id_tree_destroy ()" link="libgpod-Tracks.html#itdb-track-id-tree-destroy"/>
     <function name="itdb_track_id_tree_by_id ()" link="libgpod-Tracks.html#itdb-track-id-tree-by-id"/>
     <function name="itdb_track_set_thumbnails ()" link="libgpod-Tracks.html#itdb-track-set-thumbnails"/>
+    <function name="itdb_track_set_thumbnails_from_data ()" link="libgpod-Tracks.html#itdb-track-set-thumbnails-from-data"/>
     <function name="itdb_track_remove_thumbnails ()" link="libgpod-Tracks.html#itdb-track-remove-thumbnails"/>
     <function name="ITDB_RATING_STEP" link="libgpod-Tracks.html#ITDB-RATING-STEP:CAPS"/>
     <function name="Itdb_Playlist" link="libgpod-Playlists.html#Itdb-Playlist"/>
@@ -91,6 +100,28 @@
     <function name="itdb_playlist_by_nr ()" link="libgpod-Playlists.html#itdb-playlist-by-nr"/>
     <function name="itdb_playlist_by_name ()" link="libgpod-Playlists.html#itdb-playlist-by-name"/>
     <function name="itdb_playlist_randomize ()" link="libgpod-Playlists.html#itdb-playlist-randomize"/>
+    <function name="SPLPref" link="libgpod-Smart-Playlists.html#SPLPref"/>
+    <function name="SPLRule" link="libgpod-Smart-Playlists.html#SPLRule"/>
+    <function name="SPLRules" link="libgpod-Smart-Playlists.html#SPLRules"/>
+    <function name="enum SPLAction" link="libgpod-Smart-Playlists.html#SPLAction"/>
+    <function name="enum SPLFieldType" link="libgpod-Smart-Playlists.html#SPLFieldType"/>
+    <function name="enum SPLActionType" link="libgpod-Smart-Playlists.html#SPLActionType"/>
+    <function name="enum SPLField" link="libgpod-Smart-Playlists.html#SPLField"/>
+    <function name="SPLDATE_IDENTIFIER" link="libgpod-Smart-Playlists.html#SPLDATE-IDENTIFIER:CAPS"/>
+    <function name="SPL_MAXSTRINGLENGTH" link="libgpod-Smart-Playlists.html#SPL-MAXSTRINGLENGTH:CAPS"/>
+    <function name="SPL_STRING_MAXLEN" link="libgpod-Smart-Playlists.html#SPL-STRING-MAXLEN:CAPS"/>
+    <function name="itdb_splr_get_field_type ()" link="libgpod-Smart-Playlists.html#itdb-splr-get-field-type"/>
+    <function name="itdb_splr_get_action_type ()" link="libgpod-Smart-Playlists.html#itdb-splr-get-action-type"/>
+    <function name="itdb_splr_validate ()" link="libgpod-Smart-Playlists.html#itdb-splr-validate"/>
+    <function name="itdb_splr_remove ()" link="libgpod-Smart-Playlists.html#itdb-splr-remove"/>
+    <function name="itdb_splr_new ()" link="libgpod-Smart-Playlists.html#itdb-splr-new"/>
+    <function name="itdb_splr_add ()" link="libgpod-Smart-Playlists.html#itdb-splr-add"/>
+    <function name="itdb_splr_add_new ()" link="libgpod-Smart-Playlists.html#itdb-splr-add-new"/>
+    <function name="itdb_spl_copy_rules ()" link="libgpod-Smart-Playlists.html#itdb-spl-copy-rules"/>
+    <function name="itdb_splr_eval ()" link="libgpod-Smart-Playlists.html#itdb-splr-eval"/>
+    <function name="itdb_spl_update ()" link="libgpod-Smart-Playlists.html#itdb-spl-update"/>
+    <function name="itdb_spl_update_all ()" link="libgpod-Smart-Playlists.html#itdb-spl-update-all"/>
+    <function name="itdb_spl_update_live ()" link="libgpod-Smart-Playlists.html#itdb-spl-update-live"/>
     <function name="Itdb_Artwork" link="libgpod-Artwork.html#Itdb-Artwork"/>
     <function name="Itdb_Thumb" link="libgpod-Artwork.html#Itdb-Thumb"/>
     <function name="enum ItdbThumbType" link="libgpod-Artwork.html#ItdbThumbType"/>
@@ -98,6 +129,7 @@
     <function name="itdb_artwork_duplicate ()" link="libgpod-Artwork.html#itdb-artwork-duplicate"/>
     <function name="itdb_artwork_free ()" link="libgpod-Artwork.html#itdb-artwork-free"/>
     <function name="itdb_artwork_add_thumbnail ()" link="libgpod-Artwork.html#itdb-artwork-add-thumbnail"/>
+    <function name="itdb_artwork_add_thumbnail_from_data ()" link="libgpod-Artwork.html#itdb-artwork-add-thumbnail-from-data"/>
     <function name="itdb_artwork_remove_thumbnail ()" link="libgpod-Artwork.html#itdb-artwork-remove-thumbnail"/>
     <function name="itdb_artwork_remove_thumbnails ()" link="libgpod-Artwork.html#itdb-artwork-remove-thumbnails"/>
     <function name="itdb_artwork_get_thumb_by_type ()" link="libgpod-Artwork.html#itdb-artwork-get-thumb-by-type"/>
@@ -112,7 +144,29 @@
     <function name="itdb_device_set_mountpoint ()" link="libgpod-Device.html#itdb-device-set-mountpoint"/>
     <function name="itdb_device_read_sysinfo ()" link="libgpod-Device.html#itdb-device-read-sysinfo"/>
     <function name="itdb_device_get_sysinfo ()" link="libgpod-Device.html#itdb-device-get-sysinfo"/>
+    <function name="itdb_device_set_sysinfo ()" link="libgpod-Device.html#itdb-device-set-sysinfo"/>
+    <function name="itdb_device_write_sysinfo ()" link="libgpod-Device.html#itdb-device-write-sysinfo"/>
+    <function name="itdb_device_get_ipod_info ()" link="libgpod-Device.html#itdb-device-get-ipod-info"/>
+    <function name="itdb_info_get_ipod_info_table ()" link="libgpod-Device.html#itdb-info-get-ipod-info-table"/>
+    <function name="itdb_info_get_ipod_generation_string ()" link="libgpod-Device.html#itdb-info-get-ipod-generation-string"/>
+    <function name="itdb_info_get_ipod_model_name_string ()" link="libgpod-Device.html#itdb-info-get-ipod-model-name-string"/>
+    <function name="itdb_init_ipod ()" link="libgpod-Device.html#itdb-init-ipod"/>
+    <function name="enum Itdb_IpodGeneration" link="libgpod-Device.html#Itdb-IpodGeneration"/>
+    <function name="Itdb_IpodInfo" link="libgpod-Device.html#Itdb-IpodInfo"/>
     <function name="enum Itdb_IpodModel" link="libgpod-Device.html#Itdb-IpodModel"/>
     <function name="Itdb_ArtworkFormat" link="libgpod-Device.html#Itdb-ArtworkFormat"/>
+    <function name="Itdb_PhotoAlbum" link="libgpod-Photo-database.html#Itdb-PhotoAlbum"/>
+    <function name="Itdb_PhotoDB" link="libgpod-Photo-database.html#Itdb-PhotoDB"/>
+    <function name="itdb_photodb_add_photo ()" link="libgpod-Photo-database.html#itdb-photodb-add-photo"/>
+    <function name="itdb_photodb_add_photo_from_data ()" link="libgpod-Photo-database.html#itdb-photodb-add-photo-from-data"/>
+    <function name="itdb_photodb_create ()" link="libgpod-Photo-database.html#itdb-photodb-create"/>
+    <function name="itdb_photodb_free ()" link="libgpod-Photo-database.html#itdb-photodb-free"/>
+    <function name="itdb_photodb_parse ()" link="libgpod-Photo-database.html#itdb-photodb-parse"/>
+    <function name="itdb_photodb_photoalbum_add_photo ()" link="libgpod-Photo-database.html#itdb-photodb-photoalbum-add-photo"/>
+    <function name="itdb_photodb_photoalbum_by_name ()" link="libgpod-Photo-database.html#itdb-photodb-photoalbum-by-name"/>
+    <function name="itdb_photodb_photoalbum_create ()" link="libgpod-Photo-database.html#itdb-photodb-photoalbum-create"/>
+    <function name="itdb_photodb_photoalbum_remove ()" link="libgpod-Photo-database.html#itdb-photodb-photoalbum-remove"/>
+    <function name="itdb_photodb_remove_photo ()" link="libgpod-Photo-database.html#itdb-photodb-remove-photo"/>
+    <function name="itdb_photodb_write ()" link="libgpod-Photo-database.html#itdb-photodb-write"/>
   </functions>
 </book>

Modified: libgpod/branches/upstream/current/docs/reference/html/libgpod.devhelp2
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/libgpod.devhelp2	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/libgpod.devhelp2	2007-01-25 10:43:09 UTC (rev 166)
@@ -2,17 +2,21 @@
 <!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
 <book xmlns="http://www.devhelp.net/book" title="libgpod Reference Manual" link="index.html" author="Jorg SchulerChristophe Fergeau" name="libgpod" version="2">
   <chapters>
-    <sub name="iPod database" link="ch01.html">
+    <sub name="iPod database" link="itunesdb.html">
       <sub name="iPod database reading/writing" link="libgpod-The-Itdb-iTunesDB-structure.html"/>
       <sub name="File handling functions" link="libgpod-File-handling-functions.html"/>
       <sub name="Time handling" link="libgpod-Time-handling.html"/>
       <sub name="Low-level functions" link="libgpod-Low-level-functions.html"/>
+      <sub name="iPod database components" link="ch01.html">
+        <sub name="Tracks" link="libgpod-Tracks.html"/>
+        <sub name="Playlists" link="libgpod-Playlists.html"/>
+        <sub name="Smart Playlists" link="libgpod-Smart-Playlists.html"/>
+        <sub name="Artwork" link="libgpod-Artwork.html"/>
+        <sub name="Device" link="libgpod-Device.html"/>
+      </sub>
     </sub>
-    <sub name="iPod database components" link="ch02.html">
-      <sub name="Tracks" link="libgpod-Tracks.html"/>
-      <sub name="Playlists" link="libgpod-Playlists.html"/>
-      <sub name="Artwork" link="libgpod-Artwork.html"/>
-      <sub name="Device" link="libgpod-Device.html"/>
+    <sub name="Photo database" link="photodb.html">
+      <sub name="Photo database" link="libgpod-Photo-database.html"/>
     </sub>
   </chapters>
   <functions>
@@ -42,8 +46,12 @@
     <keyword type="function" name="itdb_get_music_dir ()" link="libgpod-Low-level-functions.html#itdb-get-music-dir"/>
     <keyword type="function" name="itdb_get_artwork_dir ()" link="libgpod-Low-level-functions.html#itdb-get-artwork-dir"/>
     <keyword type="function" name="itdb_get_device_dir ()" link="libgpod-Low-level-functions.html#itdb-get-device-dir"/>
+    <keyword type="function" name="itdb_get_photos_dir ()" link="libgpod-Low-level-functions.html#itdb-get-photos-dir"/>
     <keyword type="function" name="itdb_get_itunesdb_path ()" link="libgpod-Low-level-functions.html#itdb-get-itunesdb-path"/>
+    <keyword type="function" name="itdb_get_itunessd_path ()" link="libgpod-Low-level-functions.html#itdb-get-itunessd-path"/>
     <keyword type="function" name="itdb_get_artworkdb_path ()" link="libgpod-Low-level-functions.html#itdb-get-artworkdb-path"/>
+    <keyword type="function" name="itdb_get_photodb_path ()" link="libgpod-Low-level-functions.html#itdb-get-photodb-path"/>
+    <keyword type="function" name="itdb_get_photos_thumb_dir ()" link="libgpod-Low-level-functions.html#itdb-get-photos-thumb-dir"/>
     <keyword type="function" name="itdb_get_path ()" link="libgpod-Low-level-functions.html#itdb-get-path"/>
     <keyword type="function" name="itdb_resolve_path ()" link="libgpod-Low-level-functions.html#itdb-resolve-path"/>
     <keyword type="function" name="itdb_shuffle_write ()" link="libgpod-Low-level-functions.html#itdb-shuffle-write"/>
@@ -64,6 +72,7 @@
     <keyword type="function" name="itdb_track_id_tree_destroy ()" link="libgpod-Tracks.html#itdb-track-id-tree-destroy"/>
     <keyword type="function" name="itdb_track_id_tree_by_id ()" link="libgpod-Tracks.html#itdb-track-id-tree-by-id"/>
     <keyword type="function" name="itdb_track_set_thumbnails ()" link="libgpod-Tracks.html#itdb-track-set-thumbnails"/>
+    <keyword type="function" name="itdb_track_set_thumbnails_from_data ()" link="libgpod-Tracks.html#itdb-track-set-thumbnails-from-data"/>
     <keyword type="function" name="itdb_track_remove_thumbnails ()" link="libgpod-Tracks.html#itdb-track-remove-thumbnails"/>
     <keyword type="macro" name="ITDB_RATING_STEP" link="libgpod-Tracks.html#ITDB-RATING-STEP:CAPS"/>
     <keyword type="struct" name="Itdb_Playlist" link="libgpod-Playlists.html#Itdb-Playlist"/>
@@ -91,6 +100,28 @@
     <keyword type="function" name="itdb_playlist_by_nr ()" link="libgpod-Playlists.html#itdb-playlist-by-nr"/>
     <keyword type="function" name="itdb_playlist_by_name ()" link="libgpod-Playlists.html#itdb-playlist-by-name"/>
     <keyword type="function" name="itdb_playlist_randomize ()" link="libgpod-Playlists.html#itdb-playlist-randomize"/>
+    <keyword type="struct" name="SPLPref" link="libgpod-Smart-Playlists.html#SPLPref"/>
+    <keyword type="struct" name="SPLRule" link="libgpod-Smart-Playlists.html#SPLRule"/>
+    <keyword type="struct" name="SPLRules" link="libgpod-Smart-Playlists.html#SPLRules"/>
+    <keyword type="enum" name="enum SPLAction" link="libgpod-Smart-Playlists.html#SPLAction"/>
+    <keyword type="enum" name="enum SPLFieldType" link="libgpod-Smart-Playlists.html#SPLFieldType"/>
+    <keyword type="enum" name="enum SPLActionType" link="libgpod-Smart-Playlists.html#SPLActionType"/>
+    <keyword type="enum" name="enum SPLField" link="libgpod-Smart-Playlists.html#SPLField"/>
+    <keyword type="macro" name="SPLDATE_IDENTIFIER" link="libgpod-Smart-Playlists.html#SPLDATE-IDENTIFIER:CAPS"/>
+    <keyword type="macro" name="SPL_MAXSTRINGLENGTH" link="libgpod-Smart-Playlists.html#SPL-MAXSTRINGLENGTH:CAPS"/>
+    <keyword type="macro" name="SPL_STRING_MAXLEN" link="libgpod-Smart-Playlists.html#SPL-STRING-MAXLEN:CAPS"/>
+    <keyword type="function" name="itdb_splr_get_field_type ()" link="libgpod-Smart-Playlists.html#itdb-splr-get-field-type"/>
+    <keyword type="function" name="itdb_splr_get_action_type ()" link="libgpod-Smart-Playlists.html#itdb-splr-get-action-type"/>
+    <keyword type="function" name="itdb_splr_validate ()" link="libgpod-Smart-Playlists.html#itdb-splr-validate"/>
+    <keyword type="function" name="itdb_splr_remove ()" link="libgpod-Smart-Playlists.html#itdb-splr-remove"/>
+    <keyword type="function" name="itdb_splr_new ()" link="libgpod-Smart-Playlists.html#itdb-splr-new"/>
+    <keyword type="function" name="itdb_splr_add ()" link="libgpod-Smart-Playlists.html#itdb-splr-add"/>
+    <keyword type="function" name="itdb_splr_add_new ()" link="libgpod-Smart-Playlists.html#itdb-splr-add-new"/>
+    <keyword type="function" name="itdb_spl_copy_rules ()" link="libgpod-Smart-Playlists.html#itdb-spl-copy-rules"/>
+    <keyword type="function" name="itdb_splr_eval ()" link="libgpod-Smart-Playlists.html#itdb-splr-eval"/>
+    <keyword type="function" name="itdb_spl_update ()" link="libgpod-Smart-Playlists.html#itdb-spl-update"/>
+    <keyword type="function" name="itdb_spl_update_all ()" link="libgpod-Smart-Playlists.html#itdb-spl-update-all"/>
+    <keyword type="function" name="itdb_spl_update_live ()" link="libgpod-Smart-Playlists.html#itdb-spl-update-live"/>
     <keyword type="struct" name="Itdb_Artwork" link="libgpod-Artwork.html#Itdb-Artwork"/>
     <keyword type="struct" name="Itdb_Thumb" link="libgpod-Artwork.html#Itdb-Thumb"/>
     <keyword type="enum" name="enum ItdbThumbType" link="libgpod-Artwork.html#ItdbThumbType"/>
@@ -98,6 +129,7 @@
     <keyword type="function" name="itdb_artwork_duplicate ()" link="libgpod-Artwork.html#itdb-artwork-duplicate"/>
     <keyword type="function" name="itdb_artwork_free ()" link="libgpod-Artwork.html#itdb-artwork-free"/>
     <keyword type="function" name="itdb_artwork_add_thumbnail ()" link="libgpod-Artwork.html#itdb-artwork-add-thumbnail"/>
+    <keyword type="function" name="itdb_artwork_add_thumbnail_from_data ()" link="libgpod-Artwork.html#itdb-artwork-add-thumbnail-from-data"/>
     <keyword type="function" name="itdb_artwork_remove_thumbnail ()" link="libgpod-Artwork.html#itdb-artwork-remove-thumbnail"/>
     <keyword type="function" name="itdb_artwork_remove_thumbnails ()" link="libgpod-Artwork.html#itdb-artwork-remove-thumbnails"/>
     <keyword type="function" name="itdb_artwork_get_thumb_by_type ()" link="libgpod-Artwork.html#itdb-artwork-get-thumb-by-type"/>
@@ -112,7 +144,29 @@
     <keyword type="function" name="itdb_device_set_mountpoint ()" link="libgpod-Device.html#itdb-device-set-mountpoint"/>
     <keyword type="function" name="itdb_device_read_sysinfo ()" link="libgpod-Device.html#itdb-device-read-sysinfo"/>
     <keyword type="function" name="itdb_device_get_sysinfo ()" link="libgpod-Device.html#itdb-device-get-sysinfo"/>
+    <keyword type="function" name="itdb_device_set_sysinfo ()" link="libgpod-Device.html#itdb-device-set-sysinfo"/>
+    <keyword type="function" name="itdb_device_write_sysinfo ()" link="libgpod-Device.html#itdb-device-write-sysinfo"/>
+    <keyword type="function" name="itdb_device_get_ipod_info ()" link="libgpod-Device.html#itdb-device-get-ipod-info"/>
+    <keyword type="function" name="itdb_info_get_ipod_info_table ()" link="libgpod-Device.html#itdb-info-get-ipod-info-table"/>
+    <keyword type="function" name="itdb_info_get_ipod_generation_string ()" link="libgpod-Device.html#itdb-info-get-ipod-generation-string"/>
+    <keyword type="function" name="itdb_info_get_ipod_model_name_string ()" link="libgpod-Device.html#itdb-info-get-ipod-model-name-string"/>
+    <keyword type="function" name="itdb_init_ipod ()" link="libgpod-Device.html#itdb-init-ipod"/>
+    <keyword type="enum" name="enum Itdb_IpodGeneration" link="libgpod-Device.html#Itdb-IpodGeneration"/>
+    <keyword type="struct" name="Itdb_IpodInfo" link="libgpod-Device.html#Itdb-IpodInfo"/>
     <keyword type="enum" name="enum Itdb_IpodModel" link="libgpod-Device.html#Itdb-IpodModel"/>
     <keyword type="struct" name="Itdb_ArtworkFormat" link="libgpod-Device.html#Itdb-ArtworkFormat"/>
+    <keyword type="struct" name="Itdb_PhotoAlbum" link="libgpod-Photo-database.html#Itdb-PhotoAlbum"/>
+    <keyword type="struct" name="Itdb_PhotoDB" link="libgpod-Photo-database.html#Itdb-PhotoDB"/>
+    <keyword type="function" name="itdb_photodb_add_photo ()" link="libgpod-Photo-database.html#itdb-photodb-add-photo"/>
+    <keyword type="function" name="itdb_photodb_add_photo_from_data ()" link="libgpod-Photo-database.html#itdb-photodb-add-photo-from-data"/>
+    <keyword type="function" name="itdb_photodb_create ()" link="libgpod-Photo-database.html#itdb-photodb-create"/>
+    <keyword type="function" name="itdb_photodb_free ()" link="libgpod-Photo-database.html#itdb-photodb-free"/>
+    <keyword type="function" name="itdb_photodb_parse ()" link="libgpod-Photo-database.html#itdb-photodb-parse"/>
+    <keyword type="function" name="itdb_photodb_photoalbum_add_photo ()" link="libgpod-Photo-database.html#itdb-photodb-photoalbum-add-photo"/>
+    <keyword type="function" name="itdb_photodb_photoalbum_by_name ()" link="libgpod-Photo-database.html#itdb-photodb-photoalbum-by-name"/>
+    <keyword type="function" name="itdb_photodb_photoalbum_create ()" link="libgpod-Photo-database.html#itdb-photodb-photoalbum-create"/>
+    <keyword type="function" name="itdb_photodb_photoalbum_remove ()" link="libgpod-Photo-database.html#itdb-photodb-photoalbum-remove"/>
+    <keyword type="function" name="itdb_photodb_remove_photo ()" link="libgpod-Photo-database.html#itdb-photodb-remove-photo"/>
+    <keyword type="function" name="itdb_photodb_write ()" link="libgpod-Photo-database.html#itdb-photodb-write"/>
   </functions>
 </book>

Added: libgpod/branches/upstream/current/docs/reference/html/photodb.html
===================================================================
--- libgpod/branches/upstream/current/docs/reference/html/photodb.html	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/html/photodb.html	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Part&#160;II.&#160;Photo database</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
+<link rel="start" href="index.html" title="libgpod Reference Manual">
+<link rel="up" href="index.html" title="libgpod Reference Manual">
+<link rel="prev" href="libgpod-Device.html" title="Device">
+<link rel="next" href="libgpod-Photo-database.html" title="Photo database">
+<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="itunesdb.html" title="Part&#160;I.&#160;iPod database">
+<link rel="chapter" href="ch01.html" title="iPod database components">
+<link rel="part" href="photodb.html" title="Part&#160;II.&#160;Photo database">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
+<td><a accesskey="p" href="libgpod-Device.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td>&#160;</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">libgpod Reference Manual</th>
+<td><a accesskey="n" href="libgpod-Photo-database.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="part" lang="en">
+<div class="titlepage"><div><div><h1 class="title">
+<a name="photodb"></a>Part&#160;II.&#160;Photo database</h1></div></div></div>
+<div class="partintro" lang="en">
+<div></div>
+<p>
+      The Photo database functions are used for adding pictures to
+      the iPod.
+      </p>
+</div>
+</div>
+</body>
+</html>

Modified: libgpod/branches/upstream/current/docs/reference/libgpod-docs.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/libgpod-docs.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/libgpod-docs.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -52,24 +52,54 @@
     </legalnotice>
 
     <abstract>
-      <para>This manual documents the interfaces of the libgpod
-      library and has some short notes to help get you up to speed
-      with using the library.</para>
+      <para>
+      This manual documents the interfaces of the libgpod library and
+      has some short notes to help get you up to speed with using the
+      library.
+      </para>
+      <para>
+      Please see the programs in the <ulink type="http"
+      url="http://gtkpod.cvs.sourceforge.net/gtkpod/libgpod/tests/">tests/</ulink>
+      directory of the source distribution for some usage examples.  A more
+      complete example can be found in the source for <ulink type="http"
+      url="http://www.gtkpod.org"> Gtkpod</ulink>.  You can also ask questions
+      on the developer's mailing list: <ulink
+      url="mailto:gtkpod-devel at lists.sourceforge.net">gtkpod-devel at lists.sourceforge.net</ulink>.
+      </para>
     </abstract>
   </bookinfo>
 
-  <chapter>
+  <part id="itunesdb">
     <title>iPod database</title>
+    <partintro>
+      <para>
+      The iPod database functions are used for adding audio and video
+      to the iPod.
+      </para>
+    </partintro>
+
     <xi:include href="xml/itunesdb-db.xml"/>
     <xi:include href="xml/itunesdb-copying.xml"/>
     <xi:include href="xml/itunesdb-time.xml"/>
     <xi:include href="xml/itunesdb-lowlevel.xml"/>
-  </chapter>
-  <chapter>
-    <title>iPod database components</title>
-    <xi:include href="xml/track.xml"/>
-    <xi:include href="xml/playlists.xml"/>
-    <xi:include href="xml/artwork.xml"/>
-    <xi:include href="xml/device.xml"/>
-  </chapter>
+    <chapter>
+      <title>iPod database components</title>
+      <xi:include href="xml/track.xml"/>
+      <xi:include href="xml/playlists.xml"/>
+      <xi:include href="xml/smart-playlists.xml"/>
+      <xi:include href="xml/artwork.xml"/>
+      <xi:include href="xml/device.xml"/>
+    </chapter>
+  </part>
+
+  <part id="photodb">
+    <title>Photo database</title>
+    <partintro>
+      <para>
+      The Photo database functions are used for adding pictures to
+      the iPod.
+      </para>
+    </partintro>
+    <xi:include href="xml/photodb.xml"/>
+  </part>
 </book>

Modified: libgpod/branches/upstream/current/docs/reference/libgpod-sections.txt
===================================================================
--- libgpod/branches/upstream/current/docs/reference/libgpod-sections.txt	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/libgpod-sections.txt	2007-01-25 10:43:09 UTC (rev 166)
@@ -36,8 +36,12 @@
 itdb_get_music_dir
 itdb_get_artwork_dir
 itdb_get_device_dir
+itdb_get_photos_dir
 itdb_get_itunesdb_path
+itdb_get_itunessd_path
 itdb_get_artworkdb_path
+itdb_get_photodb_path
+itdb_get_photos_thumb_dir
 itdb_get_path
 
 itdb_resolve_path
@@ -72,6 +76,7 @@
 itdb_track_id_tree_destroy
 itdb_track_id_tree_by_id
 itdb_track_set_thumbnails
+itdb_track_set_thumbnails_from_data
 itdb_track_remove_thumbnails
 ITDB_RATING_STEP
 </SECTION>
@@ -146,10 +151,17 @@
 itdb_device_set_mountpoint
 itdb_device_read_sysinfo
 itdb_device_get_sysinfo
+itdb_device_set_sysinfo
+itdb_device_write_sysinfo
+itdb_device_get_ipod_info
+itdb_info_get_ipod_info_table
+itdb_info_get_ipod_generation_string
+itdb_info_get_ipod_model_name_string
+itdb_init_ipod
+Itdb_IpodGeneration
+Itdb_IpodInfo
 Itdb_IpodModel
 Itdb_ArtworkFormat
-Itdb_Generation
-Itdb_ModelType
 </SECTION>
 
 <SECTION>
@@ -162,6 +174,7 @@
 itdb_artwork_duplicate
 itdb_artwork_free
 itdb_artwork_add_thumbnail
+itdb_artwork_add_thumbnail_from_data
 itdb_artwork_remove_thumbnail
 itdb_artwork_remove_thumbnails
 itdb_artwork_get_thumb_by_type
@@ -172,9 +185,27 @@
 itdb_thumb_get_filename
 </SECTION>
 
+<SECTION>
+<FILE>photodb</FILE>
+<TITLE>Photo database</TITLE>
+Itdb_PhotoAlbum
+Itdb_PhotoDB
+itdb_photodb_add_photo
+itdb_photodb_add_photo_from_data
+itdb_photodb_create
+itdb_photodb_free
+itdb_photodb_parse
+itdb_photodb_photoalbum_add_photo
+itdb_photodb_photoalbum_by_name
+itdb_photodb_photoalbum_create
+itdb_photodb_photoalbum_remove
+itdb_photodb_remove_photo
+itdb_photodb_write
+</SECTION>
 
 
 
+
 <SECTION>
 <FILE>Internal</FILE>
 <SUBSECTION Private>
@@ -247,6 +278,7 @@
 ItdbFileError
 ITDB_FILE_ERROR
 itdb_file_error_quark
+itdb_get_artwork_info_from_type
 
 SPLACTION_LAST_HOURS_VALUE
 SPLACTION_LAST_MINUTES_VALUE

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/Internal.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/Internal.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/Internal.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -6,7 +6,7 @@
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+These functions won't be documented because you won't be using them. ;)
 </para>
 
 <!-- ##### SECTION See_Also ##### -->

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/artwork.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/artwork.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/artwork.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -2,16 +2,18 @@
 Artwork
 
 <!-- ##### SECTION Short_Description ##### -->
-Data structure to store iPod artwork (cover and photos)
+Data structure to store iPod artwork (album covers)
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+These functions and structures are for adding, changing, and removing
+album/track artwork.  For working with photos, see the
+<link linkend="photodb">Photo database</link> section.
 </para>
 
 <!-- ##### SECTION See_Also ##### -->
 <para>
-
+<link linkend="photodb">Photo database</link>
 </para>
 
 <!-- ##### SECTION Stability_Level ##### -->
@@ -23,9 +25,13 @@
 </para>
 
 @thumbnails: 
- at artwork_size: 
 @id: 
+ at unk028: 
+ at rating: 
+ at unk036: 
 @creation_date: 
+ at digitized_date: 
+ at artwork_size: 
 @usertype: 
 @userdata: 
 @userdata_duplicate: 
@@ -40,6 +46,7 @@
 @filename: 
 @image_data: 
 @image_data_len: 
+ at rotation: 
 @offset: 
 @size: 
 @width: 
@@ -92,9 +99,25 @@
 @artwork: 
 @type: 
 @filename: 
+ at rotation: 
+ at error: 
 @Returns: 
 
 
+<!-- ##### FUNCTION itdb_artwork_add_thumbnail_from_data ##### -->
+<para>
+
+</para>
+
+ at artwork: 
+ at type: 
+ at image_data: 
+ at image_data_len: 
+ at rotation: 
+ at error: 
+ at Returns: 
+
+
 <!-- ##### FUNCTION itdb_artwork_remove_thumbnail ##### -->
 <para>
 

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/device.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/device.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/device.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -2,11 +2,11 @@
 Device
 
 <!-- ##### SECTION Short_Description ##### -->
-Data structure holding information about the iPod (model, mount point, ...)
+Data structure holding information about the iPod (model, mount point, etc.)
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+These functions are for reading and setting information about the iPod.
 </para>
 
 <!-- ##### SECTION See_Also ##### -->
@@ -72,6 +72,98 @@
 @Returns: 
 
 
+<!-- ##### FUNCTION itdb_device_set_sysinfo ##### -->
+<para>
+
+</para>
+
+ at device: 
+ at field: 
+ at value: 
+
+
+<!-- ##### FUNCTION itdb_device_write_sysinfo ##### -->
+<para>
+
+</para>
+
+ at device: 
+ at error: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_device_get_ipod_info ##### -->
+<para>
+
+</para>
+
+ at device: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_info_get_ipod_info_table ##### -->
+<para>
+
+</para>
+
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_info_get_ipod_generation_string ##### -->
+<para>
+
+</para>
+
+ at generation: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_info_get_ipod_model_name_string ##### -->
+<para>
+
+</para>
+
+ at model: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_init_ipod ##### -->
+<para>
+
+</para>
+
+ at mountpoint: 
+ at model_number: 
+ at ipod_name: 
+ at error: 
+ at Returns: 
+
+
+<!-- ##### ENUM Itdb_IpodGeneration ##### -->
+<para>
+
+</para>
+
+ at ITDB_IPOD_GENERATION_UNKNOWN: 
+ at ITDB_IPOD_GENERATION_FIRST: 
+ at ITDB_IPOD_GENERATION_SECOND: 
+ at ITDB_IPOD_GENERATION_THIRD: 
+ at ITDB_IPOD_GENERATION_FOURTH: 
+ at ITDB_IPOD_GENERATION_FIFTH: 
+ at ITDB_IPOD_GENERATION_SIXTH: 
+ at ITDB_IPOD_GENERATION_MOBILE: 
+
+<!-- ##### STRUCT Itdb_IpodInfo ##### -->
+<para>
+
+</para>
+
+ at model_number: 
+ at capacity: 
+ at ipod_model: 
+ at ipod_generation: 
+ at musicdirs: 
+
 <!-- ##### ENUM Itdb_IpodModel ##### -->
 <para>
 
@@ -109,4 +201,5 @@
 @width: 
 @height: 
 @correlation_id: 
+ at format: 
 

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-copying.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-copying.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-copying.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -2,11 +2,12 @@
 File handling functions
 
 <!-- ##### SECTION Short_Description ##### -->
-Functions to copy new files to the iPod
+Managing files on the iPod
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+These functions are for copying, renaming, and getting information about the
+files and directories on the iPod
 </para>
 
 <!-- ##### SECTION See_Also ##### -->

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-db.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-db.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-db.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -6,8 +6,89 @@
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+These functions are for creating, reading, writing, and deleting the iPod
+database and getting the total number of tracks and playlists.
 </para>
+<para>
+Overview of using the iPod database:
+</para>
+<para>
+itdb_parse(): read the iTunesDB and ArtworkDB
+</para>
+<para>
+itdb_write(): write the iTunesDB and ArtworkDB
+</para>
+<para>
+itdb_parse() will return a #Itdb_iTunesDB structure with GLists
+containing all tracks (each track is represented by a #Itdb_Track
+structure) and the playlists (each playlist is represented by a
+#Itdb_Playlist structure).
+</para>
+<para>
+A number of functions for adding, removing, duplicating tracks
+are available.  Please see
+<link linkend="libgpod-Tracks">Tracks</link> for details.
+</para>
+<para>
+In each #Itdb_Playlist structure you can find a GList called
+'members' with listing all member tracks. Each track referenced
+in a playlist must also be present in the tracks GList of the
+iTunesDB.
+</para>
+<para>
+The iPod must contain one master playlist (MPL) containing all
+tracks accessible on the iPod through the
+Music->Tracks/Albums/Artists... menu. Besides the MPL there can
+be a number of normal playlists accessible through the
+Music->Playlists menu on the iPod. Tracks that are a member of
+one of these normal playlists must also be a member of the MPL.
+</para>
+<para>
+The Podcasts playlist is just another playlist with some
+internal flags set differently. Also, member tracks in the
+Podcasts playlist are not normally members of the MPL (so on the
+iPod they will only show up under the Podcasts menu). All tracks
+referenced must be in the tracklist of the #Itdb_iTunesDB,
+however.
+</para>
+<para>
+A number of functions to add/remove playlists, or add/remove
+tracks are available. Please see
+<link linkend="libgpod-Playlists">Playlists</link> for details.
+</para>
+<para>
+Each track can have a thumbnail associated with it. You can
+retrieve a GdkPixmap of the thumbnail using
+itdb_thumb_get_gdk_pixbuf() (tracks have thumbnails of the
+following types associated: @ITDB_THUMB_COVER_SMALL and
+ at ITDB_THUMB_COVER_LARGE).  You can remove a thumbnail with
+itdb_track_remove_thumbnails().  And finally, you can set a
+new thumbnail using itdb_track_set_thumbnails().
+</para>
+<para>
+Please note that iTunes additionally stores the artwork as tags
+in the original music file. That's also from where the data is
+read when artwork is displayed in iTunes, and there can be more
+than one piece of artwork. libgpod does not store the artwork as
+tags in the original music file. As a consequence, if you iTunes
+attempts to access the artwork, it will find none, and remove
+libgpod's artwork. Luckily, iTunes will only attempt to access
+the artwork if you select a track in Tunes. (To work around
+this, gtkpod keeps a list of the original filename of all
+artwork and silently adds the thumbnails if they were 'lost'.
+Your application might want to do something similar, or you can
+supply patches for optionally! adding tags to the original music
+files.)
+</para>
+<para>
+The #Itdb_iTunesDB, #Itdb_Playlist and #Itdb_Track structures each
+have a userdata and a usertype field that can be used by the
+application to store application-specific additional data. If
+userdata is a pointer to an external structure, you can supply a
+#ItdbUserDataDuplicateFunc and a #ItdbUserDataDestroyFunc so that
+this data can be duplicated or freed automatically with a call
+to the library _duplicate()/_free() functions.
+</para>
 
 <!-- ##### SECTION See_Also ##### -->
 <para>
@@ -81,7 +162,7 @@
 
 </para>
 
- at db: 
+ at itdb: 
 @error: 
 @Returns: 
 

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-lowlevel.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-lowlevel.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-lowlevel.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -6,7 +6,8 @@
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+These functions are not normally needed but are avalable to allow for finer
+control over the iPod database.
 </para>
 
 <!-- ##### SECTION See_Also ##### -->
@@ -62,6 +63,15 @@
 @Returns: 
 
 
+<!-- ##### FUNCTION itdb_get_photos_dir ##### -->
+<para>
+
+</para>
+
+ at mountpoint: 
+ at Returns: 
+
+
 <!-- ##### FUNCTION itdb_get_itunesdb_path ##### -->
 <para>
 
@@ -71,6 +81,15 @@
 @Returns: 
 
 
+<!-- ##### FUNCTION itdb_get_itunessd_path ##### -->
+<para>
+
+</para>
+
+ at mountpoint: 
+ at Returns: 
+
+
 <!-- ##### FUNCTION itdb_get_artworkdb_path ##### -->
 <para>
 
@@ -80,6 +99,24 @@
 @Returns: 
 
 
+<!-- ##### FUNCTION itdb_get_photodb_path ##### -->
+<para>
+
+</para>
+
+ at mountpoint: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_get_photos_thumb_dir ##### -->
+<para>
+
+</para>
+
+ at mountpoint: 
+ at Returns: 
+
+
 <!-- ##### FUNCTION itdb_get_path ##### -->
 <para>
 

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-time.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-time.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/itunesdb-time.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -6,7 +6,7 @@
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+The functions provide conversion between Epoch time and Mac (iPod) time
 </para>
 
 <!-- ##### SECTION See_Also ##### -->

Added: libgpod/branches/upstream/current/docs/reference/tmpl/photodb.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/photodb.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/photodb.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,248 @@
+<!-- ##### SECTION Title ##### -->
+Photo database
+
+<!-- ##### SECTION Short_Description ##### -->
+Functions to create, read, write the photo database
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+These functions are for creating, reading, and writing the photo
+database.
+</para>
+<para>
+Overview of using the Photo database:
+</para>
+<para>
+itdb_photodb_parse():
+Read an existing PhotoDB.
+</para>
+<para>
+itdb_photodb_create():
+Create a new #Itdb_PhotoDB structure. The Photo Library Album is
+(first album) is created automatically.
+</para>
+<para>
+itdb_photodb_add_photo(), itdb_photodb_add_photo_from_data():
+Add a photo to the PhotoDB (from file or from a chunk of
+memory). It is automatically added to the Photo Library Album
+(first album), which is created if it does not exist already.
+</para>
+<para>
+itdb_photodb_photoalbum_create():
+Create and add a new photoalbum.
+</para>
+<para>
+itdb_photodb_photoalbum_add_photo():
+Add a photo (#Itdb_Artwork) to an existing photoalbum.
+</para>
+<para>
+itdb_photodb_photoalbum_remove():
+Remove an existing photoalbum. Pictures can be kept in the
+Photo Library or automatically removed as well.
+</para>
+<para>
+itdb_photodb_remove_photo():
+Remove a photo either from a photoalbum or completely from the database.
+</para>
+<para>
+itdb_photodb_write():
+Write out your PhotoDB.
+</para>
+<para>
+itdb_photodb_free():
+Free all memory taken by the PhotoDB.
+</para>
+<para>
+itdb_photodb_photoalbum_by_name():
+Find the first photoalbum with a given name or the Photo
+Library Album if called with no name.
+</para>
+<para>
+If you cannot add photos because your iPod is not recognized,
+you may have to set the iPod model by calling
+</para>
+<para>
+itdb_device_set_sysinfo (db->device, "ModelNumStr", model);
+</para>
+<para>
+For example, "MA450" would stand for an 80 GB 6th generation iPod Video. See
+<ulink type="http"
+url="http://gtkpod.cvs.sourceforge.net/*checkout*/gtkpod/libgpod/src/itdb_device.c">itdb_device.c</ulink>
+for a list of supported models.
+</para>
+<para>
+This information will be written to the iPod when the PhotoDB is
+saved (itdb_device_write_sysinfo() is called).
+</para>
+<para>
+Have a look at the <ulink type="http"
+url="http://gtkpod.cvs.sourceforge.net/*checkout*/gtkpod/libgpod/tests/test-photos.c">test-photos</ulink>
+test program in the <ulink type="http"
+url="http://gtkpod.cvs.sourceforge.net/gtkpod/libgpod/tests/">tests/</ulink>
+directory of the libgpod source for an example of how to use the interface.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### STRUCT Itdb_PhotoAlbum ##### -->
+<para>
+
+</para>
+
+ at name: 
+ at members: 
+ at album_type: 
+ at playmusic: 
+ at repeat: 
+ at random: 
+ at show_titles: 
+ at transition_direction: 
+ at slide_duration: 
+ at transition_duration: 
+ at song_id: 
+ at unk024: 
+ at unk028: 
+ at unk044: 
+ at unk048: 
+ at album_id: 
+ at prev_album_id: 
+ at usertype: 
+ at userdata: 
+ at userdata_duplicate: 
+ at userdata_destroy: 
+
+<!-- ##### STRUCT Itdb_PhotoDB ##### -->
+<para>
+
+</para>
+
+ at photos: 
+ at photoalbums: 
+ at device: 
+ at usertype: 
+ at userdata: 
+ at userdata_duplicate: 
+ at userdata_destroy: 
+
+<!-- ##### FUNCTION itdb_photodb_add_photo ##### -->
+<para>
+
+</para>
+
+ at db: 
+ at filename: 
+ at position: 
+ at rotation: 
+ at error: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_photodb_add_photo_from_data ##### -->
+<para>
+
+</para>
+
+ at db: 
+ at image_data: 
+ at image_data_len: 
+ at position: 
+ at rotation: 
+ at error: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_photodb_create ##### -->
+<para>
+
+</para>
+
+ at mountpoint: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_photodb_free ##### -->
+<para>
+
+</para>
+
+ at photodb: 
+
+
+<!-- ##### FUNCTION itdb_photodb_parse ##### -->
+<para>
+
+</para>
+
+ at mp: 
+ at error: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_photodb_photoalbum_add_photo ##### -->
+<para>
+
+</para>
+
+ at db: 
+ at album: 
+ at photo: 
+ at position: 
+
+
+<!-- ##### FUNCTION itdb_photodb_photoalbum_by_name ##### -->
+<para>
+
+</para>
+
+ at db: 
+ at albumname: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_photodb_photoalbum_create ##### -->
+<para>
+
+</para>
+
+ at db: 
+ at albumname: 
+ at pos: 
+ at Returns: 
+
+
+<!-- ##### FUNCTION itdb_photodb_photoalbum_remove ##### -->
+<para>
+
+</para>
+
+ at db: 
+ at album: 
+ at remove_pics: 
+
+
+<!-- ##### FUNCTION itdb_photodb_remove_photo ##### -->
+<para>
+
+</para>
+
+ at db: 
+ at album: 
+ at photo: 
+
+
+<!-- ##### FUNCTION itdb_photodb_write ##### -->
+<para>
+
+</para>
+
+ at photodb: 
+ at error: 
+ at Returns: 
+
+

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/playlists.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/playlists.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/playlists.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -6,7 +6,9 @@
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+These functions and structures allow for adding and removing playlists,
+adding and removing tracks from playlists, sorting playlists, finding tracks in
+a playlist, etc.
 </para>
 
 <!-- ##### SECTION See_Also ##### -->
@@ -33,12 +35,12 @@
 @is_spl: 
 @timestamp: 
 @id: 
- at mhodcount: 
- at libmhodcount: 
 @sortorder: 
 @podcastflag: 
 @splpref: 
 @splrules: 
+ at reserved1: 
+ at reserved2: 
 @usertype: 
 @userdata: 
 @userdata_duplicate: 

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/smart-playlists.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/smart-playlists.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/smart-playlists.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -2,16 +2,16 @@
 Smart Playlists
 
 <!-- ##### SECTION Short_Description ##### -->
-Data structures used to manipulate iPod smart playlists
+Data structure to represent an iPod smart playlist
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+These functions and structures are for dealing with smart playlists.
 </para>
 
 <!-- ##### SECTION See_Also ##### -->
 <para>
-
+<link linkend="libgpod-Playlists">Playlists</link>
 </para>
 
 <!-- ##### SECTION Stability_Level ##### -->

Modified: libgpod/branches/upstream/current/docs/reference/tmpl/track.sgml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/tmpl/track.sgml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/tmpl/track.sgml	2007-01-25 10:43:09 UTC (rev 166)
@@ -6,7 +6,8 @@
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+These functions and structures are for storing and retrieving
+information about an iPod track.
 </para>
 
 <!-- ##### SECTION See_Also ##### -->
@@ -38,6 +39,12 @@
 @podcastrss: 
 @chapterdata: 
 @subtitle: 
+ at tvshow: 
+ at tvepisode: 
+ at tvnetwork: 
+ at albumartist: 
+ at keywords: 
+ at reserved: 
 @id: 
 @size: 
 @tracklen: 
@@ -82,8 +89,9 @@
 @unk146: 
 @unk148: 
 @unk152: 
- at unk156: 
- at unk160: 
+ at skipcount: 
+ at recent_skipcount: 
+ at last_skipped: 
 @has_artwork: 
 @skip_when_shuffling: 
 @remember_playback_position: 
@@ -94,21 +102,25 @@
 @mark_unplayed: 
 @unk179: 
 @unk180: 
- at unk184: 
+ at pregap: 
 @samplecount: 
- at unk192: 
 @unk196: 
- at unk200: 
+ at postgap: 
 @unk204: 
- at unk208: 
- at unk212: 
- at unk216: 
+ at mediatype: 
+ at season_nr: 
+ at episode_nr: 
 @unk220: 
 @unk224: 
 @unk228: 
 @unk232: 
 @unk236: 
 @unk240: 
+ at unk244: 
+ at gapless_data: 
+ at unk252: 
+ at gapless_track_flag: 
+ at gapless_album_flag: 
 @chapterdata_raw: 
 @chapterdata_raw_length: 
 @artwork: 
@@ -215,6 +227,17 @@
 @Returns: 
 
 
+<!-- ##### FUNCTION itdb_track_set_thumbnails_from_data ##### -->
+<para>
+
+</para>
+
+ at track: 
+ at image_data: 
+ at image_data_len: 
+ at Returns: 
+
+
 <!-- ##### FUNCTION itdb_track_remove_thumbnails ##### -->
 <para>
 

Modified: libgpod/branches/upstream/current/docs/reference/xml/Internal.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/Internal.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/Internal.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -36,7 +36,7 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+These functions won't be documented because you won't be using them. ;)
 </para>
 </refsect1>
 

Modified: libgpod/branches/upstream/current/docs/reference/xml/artwork.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/artwork.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/artwork.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -10,7 +10,7 @@
 
 <refnamediv>
 <refname>Artwork</refname>
-<refpurpose>Data structure to store iPod artwork (cover and photos)</refpurpose>
+<refpurpose>Data structure to store iPod artwork (album covers)</refpurpose>
 <!--[<xref linkend="desc" endterm="desc.title"/>]-->
 </refnamediv>
 
@@ -29,7 +29,16 @@
 <link linkend="void">void</link>        <link linkend="itdb-artwork-free">itdb_artwork_free</link>               (<link linkend="Itdb-Artwork">Itdb_Artwork</link> *artwork);
 <link linkend="gboolean">gboolean</link>    <link linkend="itdb-artwork-add-thumbnail">itdb_artwork_add_thumbnail</link>      (<link linkend="Itdb-Artwork">Itdb_Artwork</link> *artwork,
                                              <link linkend="ItdbThumbType">ItdbThumbType</link> type,
-                                             const <link linkend="gchar">gchar</link> *filename);
+                                             const <link linkend="gchar">gchar</link> *filename,
+                                             <link linkend="gint">gint</link> rotation,
+                                             <link linkend="GError">GError</link> **error);
+<link linkend="gboolean">gboolean</link>    <link linkend="itdb-artwork-add-thumbnail-from-data">itdb_artwork_add_thumbnail_from_data</link>
+                                            (<link linkend="Itdb-Artwork">Itdb_Artwork</link> *artwork,
+                                             <link linkend="ItdbThumbType">ItdbThumbType</link> type,
+                                             const <link linkend="guchar">guchar</link> *image_data,
+                                             <link linkend="gsize">gsize</link> image_data_len,
+                                             <link linkend="gint">gint</link> rotation,
+                                             <link linkend="GError">GError</link> **error);
 <link linkend="void">void</link>        <link linkend="itdb-artwork-remove-thumbnail">itdb_artwork_remove_thumbnail</link>   (<link linkend="Itdb-Artwork">Itdb_Artwork</link> *artwork,
                                              <link linkend="Itdb-Thumb">Itdb_Thumb</link> *thumb);
 <link linkend="void">void</link>        <link linkend="itdb-artwork-remove-thumbnails">itdb_artwork_remove_thumbnails</link>  (<link linkend="Itdb-Artwork">Itdb_Artwork</link> *artwork);
@@ -56,7 +65,9 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+These functions and structures are for adding, changing, and removing
+album/track artwork.  For working with photos, see the
+<link linkend="photodb">Photo database</link> section.
 </para>
 </refsect1>
 
@@ -65,17 +76,25 @@
 <refsect2>
 <title><anchor id="Itdb-Artwork" role="struct"/>Itdb_Artwork</title>
 <indexterm><primary>Itdb_Artwork</primary></indexterm><programlisting>typedef struct {
-    GList *thumbnails;    /* list of Itdb_Thumbs */
-    guint32 artwork_size; /* Size in bytes of the original source image */
-    guint32 id;           /* Artwork id used by photoalbums, starts at
-			   * 0x40... libgpod will set this on sync. */
-    gint32 creation_date; /* Date the image was created */
+    GList *thumbnails;     /* list of Itdb_Thumbs */
+    guint32 id;            /* Artwork id used by photoalbums, starts at
+			    * 0x40... libgpod will set this on sync. */
+    gint32  unk028;
+    guint32 rating;        /* Rating from iPhoto * 20 (PhotoDB only) */
+    gint32  unk036;
+    guint32 creation_date; /* Date the image file was created
+			      (creation date of image file (Mac type,
+			      PhotoDB only) */
+    guint32 digitized_date;/* Date the image was taken (EXIF
+			      information, Mac type, PhotoDB only) */
+    guint32 artwork_size;  /* Size in bytes of the original source
+			      image (PhotoDB only -- don't touch in
+			      case of ArtworkDB!) */
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 } Itdb_Artwork;
 </programlisting>
@@ -86,17 +105,18 @@
 <title><anchor id="Itdb-Thumb" role="struct"/>Itdb_Thumb</title>
 <indexterm><primary>Itdb_Thumb</primary></indexterm><programlisting>typedef struct {
     ItdbThumbType type;
-    gchar *filename;
-    guchar *image_data;      /* holds the thumbnail data of
-				non-transfered thumbnails when
-				filename == NULL */
-    gsize  image_data_len;   /* length of data */
+    gchar   *filename;
+    guchar  *image_data;      /* holds the thumbnail data of
+				 non-transfered thumbnails when
+				 filename == NULL */
+    gsize   image_data_len;   /* length of data */
+    gint    rotation;         /* angle (0, 90, 180, 270) to rotate the image */
     guint32 offset;
     guint32 size;
-    gint16 width;
-    gint16 height;
-    gint16 horizontal_padding;
-    gint16 vertical_padding;
+    gint16  width;
+    gint16  height;
+    gint16  horizontal_padding;
+    gint16  vertical_padding;
 } Itdb_Thumb;
 </programlisting>
 <para>
@@ -158,12 +178,19 @@
 <title><anchor id="itdb-artwork-add-thumbnail" role="function"/>itdb_artwork_add_thumbnail ()</title>
 <indexterm><primary>itdb_artwork_add_thumbnail</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    itdb_artwork_add_thumbnail      (<link linkend="Itdb-Artwork">Itdb_Artwork</link> *artwork,
                                              <link linkend="ItdbThumbType">ItdbThumbType</link> type,
-                                             const <link linkend="gchar">gchar</link> *filename);</programlisting>
+                                             const <link linkend="gchar">gchar</link> *filename,
+                                             <link linkend="gint">gint</link> rotation,
+                                             <link linkend="GError">GError</link> **error);</programlisting>
 <para>
 Appends a thumbnail of type <parameter>type</parameter> to existing thumbnails in <parameter>artwork</parameter>. No 
 data is read from <parameter>filename</parameter> yet, the file will be when <parameter>artwork</parameter> is saved to
-disk. <parameter>filename</parameter> must still exist when that happens.</para>
+disk. <parameter>filename</parameter> must still exist when that happens.
+</para>
 <para>
+For the rotation angle you can also use the gdk constants
+GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+..._CLOCKWISE.</para>
+<para>
 
 </para><variablelist role="params">
 <varlistentry><term><parameter>artwork</parameter>&nbsp;:</term>
@@ -175,11 +202,63 @@
 <varlistentry><term><parameter>filename</parameter>&nbsp;:</term>
 <listitem><simpara> image file to use to create the thumbnail
 </simpara></listitem></varlistentry>
+<varlistentry><term><parameter>rotation</parameter>&nbsp;:</term>
+<listitem><simpara> angle by which the image should be rotated
+counterclockwise. Valid values are 0, 90, 180 and 270.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara> return location for a <link linkend="GError"><type>GError</type></link> or NULL
+</simpara></listitem></varlistentry>
 <varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> TRUE if the thumbnail could be successfully added, FALSE
-otherwise
+otherwise. <parameter>error</parameter> is set appropriately.
 </simpara></listitem></varlistentry>
 </variablelist></refsect2>
 <refsect2>
+<title><anchor id="itdb-artwork-add-thumbnail-from-data" role="function"/>itdb_artwork_add_thumbnail_from_data ()</title>
+<indexterm><primary>itdb_artwork_add_thumbnail_from_data</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    itdb_artwork_add_thumbnail_from_data
+                                            (<link linkend="Itdb-Artwork">Itdb_Artwork</link> *artwork,
+                                             <link linkend="ItdbThumbType">ItdbThumbType</link> type,
+                                             const <link linkend="guchar">guchar</link> *image_data,
+                                             <link linkend="gsize">gsize</link> image_data_len,
+                                             <link linkend="gint">gint</link> rotation,
+                                             <link linkend="GError">GError</link> **error);</programlisting>
+<para>
+Appends a thumbnail of type <parameter>type</parameter> to existing thumbnails in
+<parameter>artwork</parameter>. No data is processed yet. This will be done when <parameter>artwork</parameter>
+is saved to disk.
+</para>
+<para>
+For the rotation angle you can also use the gdk constants
+GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+..._CLOCKWISE.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>artwork</parameter>&nbsp;:</term>
+<listitem><simpara> an <link linkend="Itdb-Thumbnail"><type>Itdb_Thumbnail</type></link>
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>type</parameter>&nbsp;:</term>
+<listitem><simpara> thumbnail size
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>image_data</parameter>&nbsp;:</term>
+<listitem><simpara> data used to create the thumbnail (the raw contents of
+             an image file)
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>image_data_len</parameter>&nbsp;:</term>
+<listitem><simpara> length of above data block
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>rotation</parameter>&nbsp;:</term>
+<listitem><simpara> angle by which the image should be rotated
+counterclockwise. Valid values are 0, 90, 180 and 270.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara> return location for a <link linkend="GError"><type>GError</type></link> or NULL
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> TRUE if the thumbnail could be successfully added, FALSE
+otherwise. <parameter>error</parameter> is set appropriately.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
 <title><anchor id="itdb-artwork-remove-thumbnail" role="function"/>itdb_artwork_remove_thumbnail ()</title>
 <indexterm><primary>itdb_artwork_remove_thumbnail</primary></indexterm><programlisting><link linkend="void">void</link>        itdb_artwork_remove_thumbnail   (<link linkend="Itdb-Artwork">Itdb_Artwork</link> *artwork,
                                              <link linkend="Itdb-Thumb">Itdb_Thumb</link> *thumb);</programlisting>
@@ -314,5 +393,11 @@
 
 
 
+<refsect1>
+<title>See Also</title>
+<para>
+<link linkend="photodb">Photo database</link>
+</para>
+</refsect1>
 
 </refentry>

Modified: libgpod/branches/upstream/current/docs/reference/xml/device.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/device.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/device.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -10,7 +10,7 @@
 
 <refnamediv>
 <refname>Device</refname>
-<refpurpose>Data structure holding information about the iPod (model, mount point, ...)</refpurpose>
+<refpurpose>Data structure holding information about the iPod (model, mount point, etc.)</refpurpose>
 <!--[<xref linkend="desc" endterm="desc.title"/>]-->
 </refnamediv>
 
@@ -29,6 +29,25 @@
 <link linkend="gboolean">gboolean</link>    <link linkend="itdb-device-read-sysinfo">itdb_device_read_sysinfo</link>        (<link linkend="Itdb-Device">Itdb_Device</link> *device);
 <link linkend="gchar">gchar</link>*      <link linkend="itdb-device-get-sysinfo">itdb_device_get_sysinfo</link>         (<link linkend="Itdb-Device">Itdb_Device</link> *device,
                                              const <link linkend="gchar">gchar</link> *field);
+<link linkend="void">void</link>        <link linkend="itdb-device-set-sysinfo">itdb_device_set_sysinfo</link>         (<link linkend="Itdb-Device">Itdb_Device</link> *device,
+                                             const <link linkend="gchar">gchar</link> *field,
+                                             const <link linkend="gchar">gchar</link> *value);
+<link linkend="gboolean">gboolean</link>    <link linkend="itdb-device-write-sysinfo">itdb_device_write_sysinfo</link>       (<link linkend="Itdb-Device">Itdb_Device</link> *device,
+                                             <link linkend="GError">GError</link> **error);
+const <link linkend="Itdb-IpodInfo">Itdb_IpodInfo</link>* <link linkend="itdb-device-get-ipod-info">itdb_device_get_ipod_info</link>
+                                            (<link linkend="Itdb-Device">Itdb_Device</link> *device);
+const <link linkend="Itdb-IpodInfo">Itdb_IpodInfo</link>* <link linkend="itdb-info-get-ipod-info-table">itdb_info_get_ipod_info_table</link>
+                                            (void);
+const <link linkend="gchar">gchar</link>* <link linkend="itdb-info-get-ipod-generation-string">itdb_info_get_ipod_generation_string</link>
+                                            (<link linkend="Itdb-IpodGeneration">Itdb_IpodGeneration</link> generation);
+const <link linkend="gchar">gchar</link>* <link linkend="itdb-info-get-ipod-model-name-string">itdb_info_get_ipod_model_name_string</link>
+                                            (<link linkend="Itdb-IpodModel">Itdb_IpodModel</link> model);
+<link linkend="gboolean">gboolean</link>    <link linkend="itdb-init-ipod">itdb_init_ipod</link>                  (const <link linkend="gchar">gchar</link> *mountpoint,
+                                             const <link linkend="gchar">gchar</link> *model_number,
+                                             const <link linkend="gchar">gchar</link> *ipod_name,
+                                             <link linkend="GError">GError</link> **error);
+enum        <link linkend="Itdb-IpodGeneration">Itdb_IpodGeneration</link>;
+            <link linkend="Itdb-IpodInfo">Itdb_IpodInfo</link>;
 enum        <link linkend="Itdb-IpodModel">Itdb_IpodModel</link>;
             <link linkend="Itdb-ArtworkFormat">Itdb_ArtworkFormat</link>;
 </synopsis>
@@ -45,7 +64,7 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+These functions are for reading and setting information about the iPod.
 </para>
 </refsect1>
 
@@ -145,6 +164,176 @@
 </simpara></listitem></varlistentry>
 </variablelist></refsect2>
 <refsect2>
+<title><anchor id="itdb-device-set-sysinfo" role="function"/>itdb_device_set_sysinfo ()</title>
+<indexterm><primary>itdb_device_set_sysinfo</primary></indexterm><programlisting><link linkend="void">void</link>        itdb_device_set_sysinfo         (<link linkend="Itdb-Device">Itdb_Device</link> *device,
+                                             const <link linkend="gchar">gchar</link> *field,
+                                             const <link linkend="gchar">gchar</link> *value);</programlisting>
+<para>
+Set specified field. It can later be written to the iPod using
+itdb_device_read_sysinfo</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>device</parameter>&nbsp;:</term>
+<listitem><simpara> an <link linkend="Itdb-Device"><type>Itdb_Device</type></link>
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>field</parameter>&nbsp;:</term>
+<listitem><simpara> field to set
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>value</parameter>&nbsp;:</term>
+<listitem><simpara> value to set (or NULL to remove the field).
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-device-write-sysinfo" role="function"/>itdb_device_write_sysinfo ()</title>
+<indexterm><primary>itdb_device_write_sysinfo</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    itdb_device_write_sysinfo       (<link linkend="Itdb-Device">Itdb_Device</link> *device,
+                                             <link linkend="GError">GError</link> **error);</programlisting>
+<para>
+Fills the SysInfo file with information in device->sysinfo. Note:
+no directories are created if not already existent.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>device</parameter>&nbsp;:</term>
+<listitem><simpara> an <link linkend="Itdb-Device"><type>Itdb_Device</type></link>
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara> return location for a <link linkend="GError"><type>GError</type></link> or NULL
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> TRUE if file could be read, FALSE otherwise 
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-device-get-ipod-info" role="function"/>itdb_device_get_ipod_info ()</title>
+<indexterm><primary>itdb_device_get_ipod_info</primary></indexterm><programlisting>const <link linkend="Itdb-IpodInfo">Itdb_IpodInfo</link>* itdb_device_get_ipod_info
+                                            (<link linkend="Itdb-Device">Itdb_Device</link> *device);</programlisting>
+<para>
+Retrieve the <link linkend="Itdb-IpodInfo"><type>Itdb_IpodInfo</type></link> entry for this iPod</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>device</parameter>&nbsp;:</term>
+<listitem><simpara> an <link linkend="Itdb-Device"><type>Itdb_Device</type></link>
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the <link linkend="Itdb-IpodInfo"><type>Itdb_IpodInfo</type></link> entry for this iPod
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-info-get-ipod-info-table" role="function"/>itdb_info_get_ipod_info_table ()</title>
+<indexterm><primary>itdb_info_get_ipod_info_table</primary></indexterm><programlisting>const <link linkend="Itdb-IpodInfo">Itdb_IpodInfo</link>* itdb_info_get_ipod_info_table
+                                            (void);</programlisting>
+<para>
+Return a pointer to the start of valid iPod model descriptions,
+which is an array of <link linkend="Itdb-IpodInfo"><type>Itdb_IpodInfo</type></link> entries.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a pointer to the array of <link linkend="Itdb-IpodInfo"><type>Itdb_IpodInfo</type></link> entries.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-info-get-ipod-generation-string" role="function"/>itdb_info_get_ipod_generation_string ()</title>
+<indexterm><primary>itdb_info_get_ipod_generation_string</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>* itdb_info_get_ipod_generation_string
+                                            (<link linkend="Itdb-IpodGeneration">Itdb_IpodGeneration</link> generation);</programlisting>
+<para>
+Return the iPod's generic generation name, like "First Generation",
+"Mobile Phone"...</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>generation</parameter>&nbsp;:</term>
+<listitem><simpara> an <link linkend="Itdb-IpodGeneration"><type>Itdb_IpodGeneration</type></link>
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a pointer to the generation name. This is a static
+string and must not be <link linkend="g-free"><function>g_free()</function></link>d.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-info-get-ipod-model-name-string" role="function"/>itdb_info_get_ipod_model_name_string ()</title>
+<indexterm><primary>itdb_info_get_ipod_model_name_string</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>* itdb_info_get_ipod_model_name_string
+                                            (<link linkend="Itdb-IpodModel">Itdb_IpodModel</link> model);</programlisting>
+<para>
+Return the iPod's generic model name, like "Color", "Nano"...</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>model</parameter>&nbsp;:</term>
+<listitem><simpara> an <link linkend="Itdb-IpodModel"><type>Itdb_IpodModel</type></link>
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a pointer to the model name. This is a static string
+and must not be <link linkend="g-free"><function>g_free()</function></link>d.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-init-ipod" role="function"/>itdb_init_ipod ()</title>
+<indexterm><primary>itdb_init_ipod</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    itdb_init_ipod                  (const <link linkend="gchar">gchar</link> *mountpoint,
+                                             const <link linkend="gchar">gchar</link> *model_number,
+                                             const <link linkend="gchar">gchar</link> *ipod_name,
+                                             <link linkend="GError">GError</link> **error);</programlisting>
+<para>
+Initialise an iPod device from scratch. The function attempts to
+create a blank database, complete with master playlist and device
+information as well as the directory structure required for the
+type of iPod.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>mountpoint</parameter>&nbsp;:</term>
+<listitem><simpara>   the iPod mountpoint
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>model_number</parameter>&nbsp;:</term>
+<listitem><simpara> the iPod model number
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>ipod_name</parameter>&nbsp;:</term>
+<listitem><simpara>    the name to give to the iPod. Will be displayed in
+               gtkpod or itunes
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara>        return location for a <link linkend="GError"><type>GError</type></link> or NULL
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> TRUE when successful, FALSE if a failure has occurred.
+
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="Itdb-IpodGeneration" role="enum"/>enum Itdb_IpodGeneration</title>
+<indexterm><primary>Itdb_IpodGeneration</primary></indexterm><programlisting>typedef enum {
+    ITDB_IPOD_GENERATION_UNKNOWN,
+    ITDB_IPOD_GENERATION_FIRST,
+    ITDB_IPOD_GENERATION_SECOND,
+    ITDB_IPOD_GENERATION_THIRD,
+    ITDB_IPOD_GENERATION_FOURTH,
+    ITDB_IPOD_GENERATION_FIFTH,
+    ITDB_IPOD_GENERATION_SIXTH,
+    ITDB_IPOD_GENERATION_MOBILE
+} Itdb_IpodGeneration;
+</programlisting>
+<para>
+
+</para></refsect2>
+<refsect2>
+<title><anchor id="Itdb-IpodInfo" role="struct"/>Itdb_IpodInfo</title>
+<indexterm><primary>Itdb_IpodInfo</primary></indexterm><programlisting>typedef struct {
+       /* model_number is abbreviated: if the first character is not
+	  numeric, it is ommited. e.g. "MA350 -&gt; A350", "M9829 -&gt; 9829" */
+	const gchar *model_number;
+        const double capacity;  /* in GB */
+	const Itdb_IpodModel ipod_model;
+	const Itdb_IpodGeneration ipod_generation;
+        /* Number of music (Fnn) dirs created by iTunes. The exact
+	   number seems to be version dependent. Therefore, the
+	   numbers here represent a mixture of reported values and
+	   common sense. Note: this number does not necessarily
+	   represent the number of dirs present on a particular
+	   iPod. It is used when setting up a new iPod from
+	   scratch. */
+        const guint musicdirs;
+} Itdb_IpodInfo;
+</programlisting>
+<para>
+
+</para></refsect2>
+<refsect2>
 <title><anchor id="Itdb-IpodModel" role="enum"/>enum Itdb_IpodModel</title>
 <indexterm><primary>Itdb_IpodModel</primary></indexterm><programlisting>typedef enum {
     ITDB_IPOD_MODEL_INVALID,
@@ -181,6 +370,7 @@
 	gint16 width;
 	gint16 height;
 	gint16 correlation_id;
+        ItdbThumbFormat format;
 } Itdb_ArtworkFormat;
 </programlisting>
 <para>

Modified: libgpod/branches/upstream/current/docs/reference/xml/itunesdb-copying.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/itunesdb-copying.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/itunesdb-copying.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -10,7 +10,7 @@
 
 <refnamediv>
 <refname>File handling functions</refname>
-<refpurpose>Functions to copy new files to the iPod</refpurpose>
+<refpurpose>Managing files on the iPod</refpurpose>
 <!--[<xref linkend="desc" endterm="desc.title"/>]-->
 </refnamediv>
 
@@ -44,7 +44,8 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+These functions are for copying, renaming, and getting information about the
+files and directories on the iPod
 </para>
 </refsect1>
 

Modified: libgpod/branches/upstream/current/docs/reference/xml/itunesdb-db.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/itunesdb-db.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/itunesdb-db.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -28,7 +28,7 @@
 <link linkend="void">void</link>        <link linkend="itdb-free">itdb_free</link>                       (<link linkend="Itdb-iTunesDB">Itdb_iTunesDB</link> *itdb);
 <link linkend="Itdb-iTunesDB">Itdb_iTunesDB</link>* <link linkend="itdb-parse">itdb_parse</link>                   (const <link linkend="gchar">gchar</link> *mp,
                                              <link linkend="GError">GError</link> **error);
-<link linkend="gboolean">gboolean</link>    <link linkend="itdb-write">itdb_write</link>                      (<link linkend="Itdb-iTunesDB">Itdb_iTunesDB</link> *db,
+<link linkend="gboolean">gboolean</link>    <link linkend="itdb-write">itdb_write</link>                      (<link linkend="Itdb-iTunesDB">Itdb_iTunesDB</link> *itdb,
                                              <link linkend="GError">GError</link> **error);
 <link linkend="void">void</link>        <link linkend="itdb-set-mountpoint">itdb_set_mountpoint</link>             (<link linkend="Itdb-iTunesDB">Itdb_iTunesDB</link> *itdb,
                                              const <link linkend="gchar">gchar</link> *mp);
@@ -51,8 +51,89 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+These functions are for creating, reading, writing, and deleting the iPod
+database and getting the total number of tracks and playlists.
 </para>
+<para>
+Overview of using the iPod database:
+</para>
+<para>
+<link linkend="itdb-parse"><function>itdb_parse()</function></link>: read the iTunesDB and ArtworkDB
+</para>
+<para>
+<link linkend="itdb-write"><function>itdb_write()</function></link>: write the iTunesDB and ArtworkDB
+</para>
+<para>
+<link linkend="itdb-parse"><function>itdb_parse()</function></link> will return a <link linkend="Itdb-iTunesDB"><type>Itdb_iTunesDB</type></link> structure with GLists
+containing all tracks (each track is represented by a <link linkend="Itdb-Track"><type>Itdb_Track</type></link>
+structure) and the playlists (each playlist is represented by a
+<link linkend="Itdb-Playlist"><type>Itdb_Playlist</type></link> structure).
+</para>
+<para>
+A number of functions for adding, removing, duplicating tracks
+are available.  Please see
+<link linkend="libgpod-Tracks">Tracks</link> for details.
+</para>
+<para>
+In each <link linkend="Itdb-Playlist"><type>Itdb_Playlist</type></link> structure you can find a GList called
+'members' with listing all member tracks. Each track referenced
+in a playlist must also be present in the tracks GList of the
+iTunesDB.
+</para>
+<para>
+The iPod must contain one master playlist (MPL) containing all
+tracks accessible on the iPod through the
+Music->Tracks/Albums/Artists... menu. Besides the MPL there can
+be a number of normal playlists accessible through the
+Music->Playlists menu on the iPod. Tracks that are a member of
+one of these normal playlists must also be a member of the MPL.
+</para>
+<para>
+The Podcasts playlist is just another playlist with some
+internal flags set differently. Also, member tracks in the
+Podcasts playlist are not normally members of the MPL (so on the
+iPod they will only show up under the Podcasts menu). All tracks
+referenced must be in the tracklist of the <link linkend="Itdb-iTunesDB"><type>Itdb_iTunesDB</type></link>,
+however.
+</para>
+<para>
+A number of functions to add/remove playlists, or add/remove
+tracks are available. Please see
+<link linkend="libgpod-Playlists">Playlists</link> for details.
+</para>
+<para>
+Each track can have a thumbnail associated with it. You can
+retrieve a GdkPixmap of the thumbnail using
+<link linkend="itdb-thumb-get-gdk-pixbuf"><function>itdb_thumb_get_gdk_pixbuf()</function></link> (tracks have thumbnails of the
+following types associated: <parameter>ITDB_THUMB_COVER_SMALL</parameter> and
+<parameter>ITDB_THUMB_COVER_LARGE</parameter>).  You can remove a thumbnail with
+<link linkend="itdb-track-remove-thumbnails"><function>itdb_track_remove_thumbnails()</function></link>.  And finally, you can set a
+new thumbnail using <link linkend="itdb-track-set-thumbnails"><function>itdb_track_set_thumbnails()</function></link>.
+</para>
+<para>
+Please note that iTunes additionally stores the artwork as tags
+in the original music file. That's also from where the data is
+read when artwork is displayed in iTunes, and there can be more
+than one piece of artwork. libgpod does not store the artwork as
+tags in the original music file. As a consequence, if you iTunes
+attempts to access the artwork, it will find none, and remove
+libgpod's artwork. Luckily, iTunes will only attempt to access
+the artwork if you select a track in Tunes. (To work around
+this, gtkpod keeps a list of the original filename of all
+artwork and silently adds the thumbnails if they were 'lost'.
+Your application might want to do something similar, or you can
+supply patches for optionally! adding tags to the original music
+files.)
+</para>
+<para>
+The <link linkend="Itdb-iTunesDB"><type>Itdb_iTunesDB</type></link>, <link linkend="Itdb-Playlist"><type>Itdb_Playlist</type></link> and <link linkend="Itdb-Track"><type>Itdb_Track</type></link> structures each
+have a userdata and a usertype field that can be used by the
+application to store application-specific additional data. If
+userdata is a pointer to an external structure, you can supply a
+<link linkend="ItdbUserDataDuplicateFunc"><type>ItdbUserDataDuplicateFunc</type></link> and a <link linkend="ItdbUserDataDestroyFunc"><type>ItdbUserDataDestroyFunc</type></link> so that
+this data can be duplicated or freed automatically with a call
+to the library <link linkend="duplicate"><function>_duplicate()</function></link>/<link linkend="free"><function>_free()</function></link> functions.
+</para>
 </refsect1>
 
 <refsect1 role="details">
@@ -69,9 +150,8 @@
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 } Itdb_iTunesDB;
 </programlisting>
@@ -152,7 +232,7 @@
 </variablelist></refsect2>
 <refsect2>
 <title><anchor id="itdb-write" role="function"/>itdb_write ()</title>
-<indexterm><primary>itdb_write</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    itdb_write                      (<link linkend="Itdb-iTunesDB">Itdb_iTunesDB</link> *db,
+<indexterm><primary>itdb_write</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    itdb_write                      (<link linkend="Itdb-iTunesDB">Itdb_iTunesDB</link> *itdb,
                                              <link linkend="GError">GError</link> **error);</programlisting>
 <para>
 Write out an iTunesDB. It reassigns unique IDs to all tracks. 
@@ -163,8 +243,8 @@
 <para>
 
 </para><variablelist role="params">
-<varlistentry><term><parameter>db</parameter>&nbsp;:</term>
-<listitem><simpara>
+<varlistentry><term><parameter>itdb</parameter>&nbsp;:</term>
+<listitem><simpara> the <link linkend="Itdb-iTunesDB"><type>Itdb_iTunesDB</type></link> to write to disk
 </simpara></listitem></varlistentry>
 <varlistentry><term><parameter>error</parameter>&nbsp;:</term>
 <listitem><simpara> return location for a <link linkend="GError"><type>GError</type></link> or NULL

Modified: libgpod/branches/upstream/current/docs/reference/xml/itunesdb-lowlevel.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/itunesdb-lowlevel.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/itunesdb-lowlevel.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -26,8 +26,12 @@
 <link linkend="gchar">gchar</link>*      <link linkend="itdb-get-music-dir">itdb_get_music_dir</link>              (const <link linkend="gchar">gchar</link> *mountpoint);
 <link linkend="gchar">gchar</link>*      <link linkend="itdb-get-artwork-dir">itdb_get_artwork_dir</link>            (const <link linkend="gchar">gchar</link> *mountpoint);
 <link linkend="gchar">gchar</link>*      <link linkend="itdb-get-device-dir">itdb_get_device_dir</link>             (const <link linkend="gchar">gchar</link> *mountpoint);
+<link linkend="gchar">gchar</link>*      <link linkend="itdb-get-photos-dir">itdb_get_photos_dir</link>             (const <link linkend="gchar">gchar</link> *mountpoint);
 <link linkend="gchar">gchar</link>*      <link linkend="itdb-get-itunesdb-path">itdb_get_itunesdb_path</link>          (const <link linkend="gchar">gchar</link> *mountpoint);
+<link linkend="gchar">gchar</link>*      <link linkend="itdb-get-itunessd-path">itdb_get_itunessd_path</link>          (const <link linkend="gchar">gchar</link> *mountpoint);
 <link linkend="gchar">gchar</link>*      <link linkend="itdb-get-artworkdb-path">itdb_get_artworkdb_path</link>         (const <link linkend="gchar">gchar</link> *mountpoint);
+<link linkend="gchar">gchar</link>*      <link linkend="itdb-get-photodb-path">itdb_get_photodb_path</link>           (const <link linkend="gchar">gchar</link> *mountpoint);
+<link linkend="gchar">gchar</link>*      <link linkend="itdb-get-photos-thumb-dir">itdb_get_photos_thumb_dir</link>       (const <link linkend="gchar">gchar</link> *mountpoint);
 <link linkend="gchar">gchar</link>*      <link linkend="itdb-get-path">itdb_get_path</link>                   (const <link linkend="gchar">gchar</link> *dir,
                                              const <link linkend="gchar">gchar</link> *file);
 <link linkend="gchar">gchar</link>*      <link linkend="itdb-resolve-path">itdb_resolve_path</link>               (const <link linkend="gchar">gchar</link> *root,
@@ -60,7 +64,8 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+These functions are not normally needed but are avalable to allow for finer
+control over the iPod database.
 </para>
 </refsect1>
 
@@ -148,6 +153,22 @@
 </simpara></listitem></varlistentry>
 </variablelist></refsect2>
 <refsect2>
+<title><anchor id="itdb-get-photos-dir" role="function"/>itdb_get_photos_dir ()</title>
+<indexterm><primary>itdb_get_photos_dir</primary></indexterm><programlisting><link linkend="gchar">gchar</link>*      itdb_get_photos_dir             (const <link linkend="gchar">gchar</link> *mountpoint);</programlisting>
+<para>
+Retrieve the Photo directory by
+first calling <link linkend="itdb-get-control-dir"><function>itdb_get_control_dir()</function></link> and then adding 'Photos'</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>mountpoint</parameter>&nbsp;:</term>
+<listitem><simpara> mountpoint of iPod
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> path to the Artwork directory or NULL of
+non-existent. Must <link linkend="g-free"><function>g_free()</function></link> after use.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
 <title><anchor id="itdb-get-itunesdb-path" role="function"/>itdb_get_itunesdb_path ()</title>
 <indexterm><primary>itdb_get_itunesdb_path</primary></indexterm><programlisting><link linkend="gchar">gchar</link>*      itdb_get_itunesdb_path          (const <link linkend="gchar">gchar</link> *mountpoint);</programlisting>
 <para>
@@ -163,6 +184,21 @@
 </simpara></listitem></varlistentry>
 </variablelist></refsect2>
 <refsect2>
+<title><anchor id="itdb-get-itunessd-path" role="function"/>itdb_get_itunessd_path ()</title>
+<indexterm><primary>itdb_get_itunessd_path</primary></indexterm><programlisting><link linkend="gchar">gchar</link>*      itdb_get_itunessd_path          (const <link linkend="gchar">gchar</link> *mountpoint);</programlisting>
+<para>
+Retrieve a path to the iTunesSD</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>mountpoint</parameter>&nbsp;:</term>
+<listitem><simpara> the iPod mountpoint
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> path to the iTunesSD or NULL if non-existent. Must <link linkend="g-free"><function>g_free()</function></link>
+after use.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
 <title><anchor id="itdb-get-artworkdb-path" role="function"/>itdb_get_artworkdb_path ()</title>
 <indexterm><primary>itdb_get_artworkdb_path</primary></indexterm><programlisting><link linkend="gchar">gchar</link>*      itdb_get_artworkdb_path         (const <link linkend="gchar">gchar</link> *mountpoint);</programlisting>
 <para>
@@ -178,6 +214,37 @@
 </simpara></listitem></varlistentry>
 </variablelist></refsect2>
 <refsect2>
+<title><anchor id="itdb-get-photodb-path" role="function"/>itdb_get_photodb_path ()</title>
+<indexterm><primary>itdb_get_photodb_path</primary></indexterm><programlisting><link linkend="gchar">gchar</link>*      itdb_get_photodb_path           (const <link linkend="gchar">gchar</link> *mountpoint);</programlisting>
+<para>
+Retrieve a path to the Photo DB</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>mountpoint</parameter>&nbsp;:</term>
+<listitem><simpara> the iPod mountpoint
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> path to the PhotoDB or NULL if non-existent. Must
+<link linkend="g-free"><function>g_free()</function></link> after use.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-get-photos-thumb-dir" role="function"/>itdb_get_photos_thumb_dir ()</title>
+<indexterm><primary>itdb_get_photos_thumb_dir</primary></indexterm><programlisting><link linkend="gchar">gchar</link>*      itdb_get_photos_thumb_dir       (const <link linkend="gchar">gchar</link> *mountpoint);</programlisting>
+<para>
+Retrieve the Photo Thumbnail directory by
+first calling <link linkend="itdb-get-control-dir"><function>itdb_get_control_dir()</function></link> and then adding 'Photos/Thumbs'</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>mountpoint</parameter>&nbsp;:</term>
+<listitem><simpara> the iPod mountpoint
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> path to the Artwork directory or NULL of
+non-existent. Must <link linkend="g-free"><function>g_free()</function></link> after use.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
 <title><anchor id="itdb-get-path" role="function"/>itdb_get_path ()</title>
 <indexterm><primary>itdb_get_path</primary></indexterm><programlisting><link linkend="gchar">gchar</link>*      itdb_get_path                   (const <link linkend="gchar">gchar</link> *dir,
                                              const <link linkend="gchar">gchar</link> *file);</programlisting>
@@ -201,6 +268,9 @@
 <indexterm><primary>itdb_resolve_path</primary></indexterm><programlisting><link linkend="gchar">gchar</link>*      itdb_resolve_path               (const <link linkend="gchar">gchar</link> *root,
                                              const <link linkend="gchar">gchar</link> * const *components);</programlisting>
 <para>
+Resolve the path to a track on the iPod
+</para>
+<para>
 We start by assuming that the ipod mount point exists.  Then, for
 each component c of track-&gt;ipod_path, we try to find an entry d in
 good_path that is case-insensitively equal to c.  If we find d, we
@@ -215,9 +285,7 @@
 <varlistentry><term><parameter>components</parameter>&nbsp;:</term>
 <listitem><simpara> in utf8
 </simpara></listitem></varlistentry>
-<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>
-
-
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> path to track on the iPod or NULL.
 </simpara></listitem></varlistentry>
 </variablelist></refsect2>
 <refsect2>

Modified: libgpod/branches/upstream/current/docs/reference/xml/itunesdb-time.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/itunesdb-time.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/itunesdb-time.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -38,7 +38,7 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+The functions provide conversion between Epoch time and Mac (iPod) time
 </para>
 </refsect1>
 

Added: libgpod/branches/upstream/current/docs/reference/xml/photodb.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/photodb.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/photodb.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,502 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<refentry id="libgpod-Photo-database">
+<refmeta>
+<refentrytitle role="top_of_page">Photo database</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>LIBGPOD Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Photo database</refname>
+<refpurpose>Functions to create, read, write the photo database</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+            <link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link>;
+            <link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link>;
+<link linkend="Itdb-Artwork">Itdb_Artwork</link>* <link linkend="itdb-photodb-add-photo">itdb_photodb_add_photo</link>        (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             const <link linkend="gchar">gchar</link> *filename,
+                                             <link linkend="gint">gint</link> position,
+                                             <link linkend="gint">gint</link> rotation,
+                                             <link linkend="GError">GError</link> **error);
+<link linkend="Itdb-Artwork">Itdb_Artwork</link>* <link linkend="itdb-photodb-add-photo-from-data">itdb_photodb_add_photo_from_data</link>
+                                            (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             const <link linkend="guchar">guchar</link> *image_data,
+                                             <link linkend="gsize">gsize</link> image_data_len,
+                                             <link linkend="gint">gint</link> position,
+                                             <link linkend="gint">gint</link> rotation,
+                                             <link linkend="GError">GError</link> **error);
+<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link>* <link linkend="itdb-photodb-create">itdb_photodb_create</link>           (const <link linkend="gchar">gchar</link> *mountpoint);
+<link linkend="void">void</link>        <link linkend="itdb-photodb-free">itdb_photodb_free</link>               (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *photodb);
+<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link>* <link linkend="itdb-photodb-parse">itdb_photodb_parse</link>            (const <link linkend="gchar">gchar</link> *mp,
+                                             <link linkend="GError">GError</link> **error);
+<link linkend="void">void</link>        <link linkend="itdb-photodb-photoalbum-add-photo">itdb_photodb_photoalbum_add_photo</link>
+                                            (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             <link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link> *album,
+                                             <link linkend="Itdb-Artwork">Itdb_Artwork</link> *photo,
+                                             <link linkend="gint">gint</link> position);
+<link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link>* <link linkend="itdb-photodb-photoalbum-by-name">itdb_photodb_photoalbum_by_name</link>
+                                            (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             const <link linkend="gchar">gchar</link> *albumname);
+<link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link>* <link linkend="itdb-photodb-photoalbum-create">itdb_photodb_photoalbum_create</link>
+                                            (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             const <link linkend="gchar">gchar</link> *albumname,
+                                             <link linkend="gint">gint</link> pos);
+<link linkend="void">void</link>        <link linkend="itdb-photodb-photoalbum-remove">itdb_photodb_photoalbum_remove</link>  (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             <link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link> *album,
+                                             <link linkend="gboolean">gboolean</link> remove_pics);
+<link linkend="void">void</link>        <link linkend="itdb-photodb-remove-photo">itdb_photodb_remove_photo</link>       (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             <link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link> *album,
+                                             <link linkend="Itdb-Artwork">Itdb_Artwork</link> *photo);
+<link linkend="gboolean">gboolean</link>    <link linkend="itdb-photodb-write">itdb_photodb_write</link>              (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *photodb,
+                                             <link linkend="GError">GError</link> **error);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 role="desc">
+<title role="desc.title">Description</title>
+<para>
+These functions are for creating, reading, and writing the photo
+database.
+</para>
+<para>
+Overview of using the Photo database:
+</para>
+<para>
+<link linkend="itdb-photodb-parse"><function>itdb_photodb_parse()</function></link>:
+Read an existing PhotoDB.
+</para>
+<para>
+<link linkend="itdb-photodb-create"><function>itdb_photodb_create()</function></link>:
+Create a new <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link> structure. The Photo Library Album is
+(first album) is created automatically.
+</para>
+<para>
+<link linkend="itdb-photodb-add-photo"><function>itdb_photodb_add_photo()</function></link>, <link linkend="itdb-photodb-add-photo-from-data"><function>itdb_photodb_add_photo_from_data()</function></link>:
+Add a photo to the PhotoDB (from file or from a chunk of
+memory). It is automatically added to the Photo Library Album
+(first album), which is created if it does not exist already.
+</para>
+<para>
+<link linkend="itdb-photodb-photoalbum-create"><function>itdb_photodb_photoalbum_create()</function></link>:
+Create and add a new photoalbum.
+</para>
+<para>
+<link linkend="itdb-photodb-photoalbum-add-photo"><function>itdb_photodb_photoalbum_add_photo()</function></link>:
+Add a photo (<link linkend="Itdb-Artwork"><type>Itdb_Artwork</type></link>) to an existing photoalbum.
+</para>
+<para>
+<link linkend="itdb-photodb-photoalbum-remove"><function>itdb_photodb_photoalbum_remove()</function></link>:
+Remove an existing photoalbum. Pictures can be kept in the
+Photo Library or automatically removed as well.
+</para>
+<para>
+<link linkend="itdb-photodb-remove-photo"><function>itdb_photodb_remove_photo()</function></link>:
+Remove a photo either from a photoalbum or completely from the database.
+</para>
+<para>
+<link linkend="itdb-photodb-write"><function>itdb_photodb_write()</function></link>:
+Write out your PhotoDB.
+</para>
+<para>
+<link linkend="itdb-photodb-free"><function>itdb_photodb_free()</function></link>:
+Free all memory taken by the PhotoDB.
+</para>
+<para>
+<link linkend="itdb-photodb-photoalbum-by-name"><function>itdb_photodb_photoalbum_by_name()</function></link>:
+Find the first photoalbum with a given name or the Photo
+Library Album if called with no name.
+</para>
+<para>
+If you cannot add photos because your iPod is not recognized,
+you may have to set the iPod model by calling
+</para>
+<para>
+itdb_device_set_sysinfo (db->device, "ModelNumStr", model);
+</para>
+<para>
+For example, "MA450" would stand for an 80 GB 6th generation iPod Video. See
+<ulink type="http"
+url="http://gtkpod.cvs.sourceforge.net/*checkout*/gtkpod/libgpod/src/itdb_device.c">itdb_device.c</ulink>
+for a list of supported models.
+</para>
+<para>
+This information will be written to the iPod when the PhotoDB is
+saved (<link linkend="itdb-device-write-sysinfo"><function>itdb_device_write_sysinfo()</function></link> is called).
+</para>
+<para>
+Have a look at the <ulink type="http"
+url="http://gtkpod.cvs.sourceforge.net/*checkout*/gtkpod/libgpod/tests/test-photos.c">test-photos</ulink>
+test program in the <ulink type="http"
+url="http://gtkpod.cvs.sourceforge.net/gtkpod/libgpod/tests/">tests/</ulink>
+directory of the libgpod source for an example of how to use the interface.
+</para>
+</refsect1>
+
+<refsect1 role="details">
+<title role="details.title">Details</title>
+<refsect2>
+<title><anchor id="Itdb-PhotoAlbum" role="struct"/>Itdb_PhotoAlbum</title>
+<indexterm><primary>Itdb_PhotoAlbum</primary></indexterm><programlisting>typedef struct {
+    gchar *name;                 /* name of photoalbum in UTF8            */
+    GList *members;              /* photos in album (Itdb_Artwork *)      */
+    guint8 album_type;           /* 0x01 for master (Photo Library),
+				    0x02 otherwise (sometimes 4 and 5)    */
+    guint8 playmusic;            /* play music during slideshow (from
+				    iPhoto setting)                       */
+    guint8 repeat;               /* repeat the slideshow (from iPhoto
+				    setting)                              */
+    guint8 random;               /* show the slides in random order
+			            (from iPhoto setting)                 */
+    guint8 show_titles;          /* show slide captions (from iPhoto
+				    setting)                              */
+    guint8 transition_direction; /* 0=none, 1=left-to-right,
+				    2=right-to-left, 3=top-to-bottom,
+				    4=bottom-to-top (from iPhoto setting) */
+    gint32 slide_duration;       /* in seconds (from iPhoto setting)      */
+    gint32 transition_duration;  /* in milliseconds (from iPhoto setting) */
+    gint64 song_id;              /* dbid2 of track in iTunesDB to play
+				    during slideshow (from iPhoto setting)*/
+    gint32 unk024;               /* unknown, seems to be always 0         */
+    gint16 unk028;               /* unknown, seems to be always 0         */
+    gint32 unk044;               /* unknown, seems to always be 0         */
+    gint32 unk048;               /* unknown, seems to always be 0         */
+    /* set automatically at time of writing the PhotoDB */
+    gint32  album_id;
+    gint32  prev_album_id;
+    /* below is for use by application */
+    guint64 usertype;
+    gpointer userdata;
+    /* functions called to duplicate/free userdata */
+    ItdbUserDataDuplicateFunc userdata_duplicate;
+    ItdbUserDataDestroyFunc userdata_destroy;
+} Itdb_PhotoAlbum;
+</programlisting>
+<para>
+
+</para></refsect2>
+<refsect2>
+<title><anchor id="Itdb-PhotoDB" role="struct"/>Itdb_PhotoDB</title>
+<indexterm><primary>Itdb_PhotoDB</primary></indexterm><programlisting>typedef struct {
+    GList *photos;      /* (Itdb_Artwork *)     */
+    GList *photoalbums; /* (Itdb_PhotoAlbum *)  */
+    Itdb_Device *device;/* iPod device info     */
+    /* below is for use by application */
+    guint64 usertype;
+    gpointer userdata;
+    /* functions called to duplicate/free userdata */
+    ItdbUserDataDuplicateFunc userdata_duplicate;
+    ItdbUserDataDestroyFunc userdata_destroy;
+} Itdb_PhotoDB;
+</programlisting>
+<para>
+
+</para></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-add-photo" role="function"/>itdb_photodb_add_photo ()</title>
+<indexterm><primary>itdb_photodb_add_photo</primary></indexterm><programlisting><link linkend="Itdb-Artwork">Itdb_Artwork</link>* itdb_photodb_add_photo        (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             const <link linkend="gchar">gchar</link> *filename,
+                                             <link linkend="gint">gint</link> position,
+                                             <link linkend="gint">gint</link> rotation,
+                                             <link linkend="GError">GError</link> **error);</programlisting>
+<para>
+Add a photo to the PhotoDB. The photo is automatically added to the
+first Photoalbum, which by default contains a list of all photos in
+the database. If no Photoalbums exist one is created automatically.
+</para>
+<para>
+For the rotation angle you can also use the gdk constants
+GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+..._CLOCKWISE.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>db</parameter>&nbsp;:</term>
+<listitem><simpara> the <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link> to add the photo to.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>filename</parameter>&nbsp;:</term>
+<listitem><simpara> file with the photo to add.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>position</parameter>&nbsp;:</term>
+<listitem><simpara> position where to insert the new photo (-1 to append at
+the end)
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>rotation</parameter>&nbsp;:</term>
+<listitem><simpara> angle by which the image should be rotated
+counterclockwise. Valid values are 0, 90, 180 and 270.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara> return location for a <link linkend="GError"><type>GError</type></link> or NULL
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a pointer to the added photo.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-add-photo-from-data" role="function"/>itdb_photodb_add_photo_from_data ()</title>
+<indexterm><primary>itdb_photodb_add_photo_from_data</primary></indexterm><programlisting><link linkend="Itdb-Artwork">Itdb_Artwork</link>* itdb_photodb_add_photo_from_data
+                                            (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             const <link linkend="guchar">guchar</link> *image_data,
+                                             <link linkend="gsize">gsize</link> image_data_len,
+                                             <link linkend="gint">gint</link> position,
+                                             <link linkend="gint">gint</link> rotation,
+                                             <link linkend="GError">GError</link> **error);</programlisting>
+<para>
+Add a photo to the PhotoDB. The photo is automatically added to the
+first Photoalbum, which by default contains a list of all photos in
+the database. If no Photoalbums exist one is created automatically.
+</para>
+<para>
+For the rotation angle you can also use the gdk constants
+GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+..._CLOCKWISE.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>db</parameter>&nbsp;:</term>
+<listitem><simpara> the <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link> to add the photo to.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>image_data</parameter>&nbsp;:</term>
+<listitem><simpara> chunk of memory containing the image data (for example
+a jpg file)
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>image_data_len</parameter>&nbsp;:</term>
+<listitem><simpara> length of above chunk of memory
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>position</parameter>&nbsp;:</term>
+<listitem><simpara> position where to insert the new photo (-1 to append at
+the end)
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>rotation</parameter>&nbsp;:</term>
+<listitem><simpara> angle by which the image should be rotated
+counterclockwise. Valid values are 0, 90, 180 and 270.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara> return location for a <link linkend="GError"><type>GError</type></link> or NULL
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a pointer to the added photo.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-create" role="function"/>itdb_photodb_create ()</title>
+<indexterm><primary>itdb_photodb_create</primary></indexterm><programlisting><link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link>* itdb_photodb_create           (const <link linkend="gchar">gchar</link> *mountpoint);</programlisting>
+<para>
+Creates a new Itdb_PhotoDB. If mountpoint is NULL, you will have to
+set it manually later by calling <link linkend="itdb-device-set-mountpoint"><function>itdb_device_set_mountpoint()</function></link>.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>mountpoint</parameter>&nbsp;:</term>
+<listitem><simpara> mountpoint or NULL.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly created Itdb_PhotoDB to be freed with
+<link linkend="itdb-photodb-free"><function>itdb_photodb_free()</function></link> when it's no longer needed. The Photo Library
+Album is created automatically.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-free" role="function"/>itdb_photodb_free ()</title>
+<indexterm><primary>itdb_photodb_free</primary></indexterm><programlisting><link linkend="void">void</link>        itdb_photodb_free               (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *photodb);</programlisting>
+<para>
+Free the memory taken by <parameter>photodb</parameter>.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>photodb</parameter>&nbsp;:</term>
+<listitem><simpara> an <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link>
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-parse" role="function"/>itdb_photodb_parse ()</title>
+<indexterm><primary>itdb_photodb_parse</primary></indexterm><programlisting><link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link>* itdb_photodb_parse            (const <link linkend="gchar">gchar</link> *mp,
+                                             <link linkend="GError">GError</link> **error);</programlisting>
+<para>
+Parses the photo database of an iPod mounted at <parameter>mp</parameter>.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>mp</parameter>&nbsp;:</term>
+<listitem><simpara> mountpoint of the iPod
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara> will contain the error description when an error occured.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the imported PhotoDB or NULL in case of an error.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-photoalbum-add-photo" role="function"/>itdb_photodb_photoalbum_add_photo ()</title>
+<indexterm><primary>itdb_photodb_photoalbum_add_photo</primary></indexterm><programlisting><link linkend="void">void</link>        itdb_photodb_photoalbum_add_photo
+                                            (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             <link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link> *album,
+                                             <link linkend="Itdb-Artwork">Itdb_Artwork</link> *photo,
+                                             <link linkend="gint">gint</link> position);</programlisting>
+<para>
+Adds a photo already in the library to the specified album
+<parameter>album</parameter>. Photos are automatically added to the first album (Photo
+Library) when calling <link linkend="itdb-photodb-add-photo"><function>itdb_photodb_add_photo()</function></link> or
+<link linkend="itdb-photodb-add-photo-from-data"><function>itdb_photodb_add_photo_from_data()</function></link>, so you don't have to use this
+function to add them there.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>db</parameter>&nbsp;:</term>
+<listitem><simpara> the <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link> to act on
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>album</parameter>&nbsp;:</term>
+<listitem><simpara> the <link linkend="Itdb-PhotoAlbum"><type>Itdb_PhotoAlbum</type></link> to add the photo to
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>photo</parameter>&nbsp;:</term>
+<listitem><simpara> a pointer to the photo (<link linkend="Itdb-Artwork"><type>Itdb_Artwork</type></link>) to add to the album
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>position</parameter>&nbsp;:</term>
+<listitem><simpara> position where to insert the new photo (-1 to append at
+the end)
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-photoalbum-by-name" role="function"/>itdb_photodb_photoalbum_by_name ()</title>
+<indexterm><primary>itdb_photodb_photoalbum_by_name</primary></indexterm><programlisting><link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link>* itdb_photodb_photoalbum_by_name
+                                            (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             const <link linkend="gchar">gchar</link> *albumname);</programlisting>
+<para>
+Find the first photoalbum with a given name or the Photo Library
+Album if called with no name.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>db</parameter>&nbsp;:</term>
+<listitem><simpara> the <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link> to retrieve the album from
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>albumname</parameter>&nbsp;:</term>
+<listitem><simpara> the name of the photoalbum to get or NULL for the
+master photoalbum.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a pointer to the first photoalbum named <parameter>albumname</parameter>,
+else NULL
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-photoalbum-create" role="function"/>itdb_photodb_photoalbum_create ()</title>
+<indexterm><primary>itdb_photodb_photoalbum_create</primary></indexterm><programlisting><link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link>* itdb_photodb_photoalbum_create
+                                            (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             const <link linkend="gchar">gchar</link> *albumname,
+                                             <link linkend="gint">gint</link> pos);</programlisting>
+<para>
+Create and add a new photoalbum.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>db</parameter>&nbsp;:</term>
+<listitem><simpara> The database to create a new album in
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>albumname</parameter>&nbsp;:</term>
+<listitem><simpara> the name of the new album
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>pos</parameter>&nbsp;:</term>
+<listitem><simpara> position where to insert the newly created album (-1 for
+append to end).
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the album which was created and added.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-photoalbum-remove" role="function"/>itdb_photodb_photoalbum_remove ()</title>
+<indexterm><primary>itdb_photodb_photoalbum_remove</primary></indexterm><programlisting><link linkend="void">void</link>        itdb_photodb_photoalbum_remove  (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             <link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link> *album,
+                                             <link linkend="gboolean">gboolean</link> remove_pics);</programlisting>
+<para>
+Remove <parameter>album</parameter> from the Photo Database. If remove_pics is TRUE,
+remove all photos contained in <parameter>album</parameter> from the Photo Database.
+</para>
+<para>
+Memory used by the removed album will be freed and the album cannot
+be accessed any more.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>db</parameter>&nbsp;:</term>
+<listitem><simpara> the <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link> to apply changes to
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>album</parameter>&nbsp;:</term>
+<listitem><simpara> the album to be removed from the database
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>remove_pics</parameter>&nbsp;:</term>
+<listitem><simpara> TRUE to remove pics in that album permanently from
+the database.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-remove-photo" role="function"/>itdb_photodb_remove_photo ()</title>
+<indexterm><primary>itdb_photodb_remove_photo</primary></indexterm><programlisting><link linkend="void">void</link>        itdb_photodb_remove_photo       (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *db,
+                                             <link linkend="Itdb-PhotoAlbum">Itdb_PhotoAlbum</link> *album,
+                                             <link linkend="Itdb-Artwork">Itdb_Artwork</link> *photo);</programlisting>
+<para>
+Remove photo. If <parameter>album</parameter> is not the first photoalbum, the photo will
+be removed from that album only. If <parameter>album</parameter> is NULL or the first
+photoalbum (Photo Library), the photo will be removed from all
+albums and the <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link>.
+</para>
+<para>
+<parameter>photo</parameter> will be freed and can no longer be used if removed from the
+first photoalbum.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>db</parameter>&nbsp;:</term>
+<listitem><simpara> the <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link> to remove the photo from
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>album</parameter>&nbsp;:</term>
+<listitem><simpara> the album to remove the photo from. If album is NULL, then
+it will first be removed from all photoalbums and then from the
+photo database as well.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>photo</parameter>&nbsp;:</term>
+<listitem><simpara> <link linkend="Itdb-Artwork"><type>Itdb_Artwork</type></link> (photo) to remove.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="itdb-photodb-write" role="function"/>itdb_photodb_write ()</title>
+<indexterm><primary>itdb_photodb_write</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    itdb_photodb_write              (<link linkend="Itdb-PhotoDB">Itdb_PhotoDB</link> *photodb,
+                                             <link linkend="GError">GError</link> **error);</programlisting>
+<para>
+Write out a PhotoDB.
+</para>
+<para>
+FIXME: error is not set yet.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>photodb</parameter>&nbsp;:</term>
+<listitem><simpara> the <link linkend="Itdb-PhotoDB"><type>Itdb_PhotoDB</type></link> to write to disk
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara> return location for a <link linkend="GError"><type>GError</type></link> or NULL
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> TRUE on success, FALSE on error, in which case <parameter>error</parameter> is
+set accordingly.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Modified: libgpod/branches/upstream/current/docs/reference/xml/playlists.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/playlists.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/playlists.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -73,7 +73,9 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+These functions and structures allow for adding and removing playlists,
+adding and removing tracks from playlists, sorting playlists, finding tracks in
+a playlist, etc.
 </para>
 </refsect1>
 
@@ -91,34 +93,19 @@
     gint  num;            /* number of tracks in playlist          */
     GList *members;       /* tracks in playlist (Track *)          */
     gboolean is_spl;      /* smart playlist?                       */
-    guint32 timestamp;    /* some timestamp                        */
+    guint32 timestamp;    /* timestamp of playlist creation        */
     guint64 id;           /* playlist ID                           */
-    guint32 mhodcount;    /* This appears to be the number of string
-			     MHODs (type &lt; 50) associated with this
-			     playlist (typically 0x01). Doesn't seem
-			     to be signficant unless you include Type
-			     52 MHODs. libgpod sets this to 1 when
-			     syncing */
-    guint16 libmhodcount; /* The number of Type 52 MHODs associated
-			     with this playlist. If you don't create
-			     Type 52 MHODs, this can be
-			     zero. Otherwise, if you have Type 52
-			     MHODs associated with this playlist and
-			     set this to zero, no songs appear on the
-			     iPod. jcsjcs: with iTunes 4.9 this seems
-			     to be set to 1 even without any Type 52
-			     MHODs present. libgpod sets this to 1
-			     when syncing */
     guint32 sortorder;    /* How to sort playlist -- see below     */
     guint32 podcastflag;  /* ITDB_PL_FLAG_NORM/_PODCAST            */
     SPLPref splpref;      /* smart playlist prefs                  */
     SPLRules splrules;    /* rules for smart playlists             */
+    gpointer reserved1;   /* reserved for MHOD100 implementation   */
+    gpointer reserved2;   /* reserved for MHOD100 implementation   */
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 } Itdb_Playlist;
 </programlisting>

Modified: libgpod/branches/upstream/current/docs/reference/xml/smart-playlists.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/smart-playlists.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/smart-playlists.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -10,7 +10,7 @@
 
 <refnamediv>
 <refname>Smart Playlists</refname>
-<refpurpose>Data structures used to manipulate iPod smart playlists</refpurpose>
+<refpurpose>Data structure to represent an iPod smart playlist</refpurpose>
 <!--[<xref linkend="desc" endterm="desc.title"/>]-->
 </refnamediv>
 
@@ -63,7 +63,7 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+These functions and structures are for dealing with smart playlists.
 </para>
 </refsect1>
 
@@ -459,5 +459,11 @@
 
 
 
+<refsect1>
+<title>See Also</title>
+<para>
+<link linkend="libgpod-Playlists">Playlists</link>
+</para>
+</refsect1>
 
 </refentry>

Modified: libgpod/branches/upstream/current/docs/reference/xml/track.xml
===================================================================
--- libgpod/branches/upstream/current/docs/reference/xml/track.xml	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/docs/reference/xml/track.xml	2007-01-25 10:43:09 UTC (rev 166)
@@ -38,6 +38,10 @@
                                              <link linkend="guint32">guint32</link> id);
 <link linkend="gboolean">gboolean</link>    <link linkend="itdb-track-set-thumbnails">itdb_track_set_thumbnails</link>       (<link linkend="Itdb-Track">Itdb_Track</link> *track,
                                              const <link linkend="gchar">gchar</link> *filename);
+<link linkend="gboolean">gboolean</link>    <link linkend="itdb-track-set-thumbnails-from-data">itdb_track_set_thumbnails_from_data</link>
+                                            (<link linkend="Itdb-Track">Itdb_Track</link> *track,
+                                             const <link linkend="guchar">guchar</link> *image_data,
+                                             <link linkend="gsize">gsize</link> image_data_len);
 <link linkend="void">void</link>        <link linkend="itdb-track-remove-thumbnails">itdb_track_remove_thumbnails</link>    (<link linkend="Itdb-Track">Itdb_Track</link> *track);
 #define     <link linkend="ITDB-RATING-STEP:CAPS">ITDB_RATING_STEP</link>
 </synopsis>
@@ -54,7 +58,8 @@
 <refsect1 role="desc">
 <title role="desc.title">Description</title>
 <para>
-
+These functions and structures are for storing and retrieving
+information about an iPod track.
 </para>
 </refsect1>
 
@@ -80,6 +85,14 @@
   gchar   *podcastrss;       /* see note for MHOD_ID in itdb_itunesdb.c */
   gchar   *chapterdata;      /* see note for MHOD_ID in itdb_itunesdb.c */
   gchar   *subtitle;         /* see note for MHOD_ID in itdb_itunesdb.c */
+/* the following 6 are new in libgpod 0.4.2... */
+  gchar   *tvshow;           /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *tvepisode;        /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *tvnetwork;        /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *albumartist;      /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *keywords;         /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *reserved;         /* will probably be used for artistthe     */
+/* ... to here */
   guint32 id;                /* unique ID of track     */
   gint32  size;              /* size of file in bytes  */
   gint32  tracklen;          /* Length of track in ms  */
@@ -166,13 +179,18 @@
 			 0x000c, AAC songs are always 0x0033, Audible
 			 files are 0x0029, WAV files are 0x0. itdb
 			 will attempt to set this value when adding a
-			 track. */  
+			 track. */ 
   guint16 unk146;     /* unknown, but appears to be 1 if played at
 			 least once in iTunes and 0 otherwise. */
   guint32 unk148;     /* unknown - used for Apple Store DRM songs
 			 (always 0x01010100?), zero otherwise */
   guint32 unk152;     /* unknown */
-  guint32 unk156, unk160;
+  guint32 skipcount;  /* Number of times the track has been skipped.
+			 Formerly unk156 (added in dbversion 0x0c) */
+  guint32 recent_skipcount; /* number of times track was skipped since
+			       last sync */
+  guint32 last_skipped;/* Date/time last skipped. Formerly unk160
+			 (added in dbversion 0x0c) */
   guint8 has_artwork; /* 0x01: artwork is present. 0x02: no artwork is
 			 present for this track (used by the iPod to
 			 decide whether to display Artwork or not) */
@@ -191,7 +209,9 @@
 			 (middle button) with further information
 			 about the track will be shown. */
   guint64 dbid2;      /* not clear. if not set, itdb will set this to
-			 the same value as dbid when adding a track */
+			 the same value as dbid when adding a
+			 track. (With iTunes, since V0x12, this field
+			 value differs from the dbid one.) */
   guint8 lyrics_flag; /* set to 0x01 if lyrics are present in MP3 tag
 			 ("ULST"), 0x00 otherwise */
   guint8 movie_flag;  /* set to 0x01 if it's a movie file, 0x00
@@ -200,17 +220,62 @@
 			   on the iPod (bullet) once played it is set to
 			   0x01. Non-podcasts have this set to 0x01. */
   guint8 unk179;      /* unknown (always 0x00 so far) */
-  guint32 unk180, unk184;
-  guint32 samplecount;/* Number of samples in the song. First observed
+  guint32 unk180;
+  guint32 pregap;     /* Number of samples of silence before the songs
+			 starts (for gapless playback). */
+  guint64 samplecount;/* Number of samples in the song. First observed
 			 in dbversion 0x0d, and only for AAC and WAV
-			 files (not MP3?!?). */
-  guint32 unk192, unk196, unk200;
-  guint32 unk204;     /*  unknown - added in dbversion 0x0c, first
-			  values observed in 0x0d. Observed to be 0x0
-			  or 0x1. */
-  guint32 unk208, unk212, unk216, unk220, unk224;
-  guint32 unk228, unk232, unk236, unk240;
+			 files (for gapless playback). */
+  guint32 unk196;
+  guint32 postgap;    /* Number of samples of silence at the end of
+			 the song (for gapless playback). */
+  guint32 unk204;     /* unknown - added in dbversion 0x0c, first
+			 values observed in 0x0d. Observed to be 0x0
+			 or 0x1. */
+  guint32 mediatype;  /* It seems that this field denotes the type of
+		         the file on (e.g.) the 5g video iPod. It must
+			 be set to 0x00000001 for audio files, and set
+			 to 0x00000002 for video files. If set to
+			 0x00, the files show up in both, the audio
+			 menus ("Songs", "Artists", etc.) and the
+			 video menus ("Movies", "Music Videos",
+			 etc.). It appears to be set to 0x20 for music
+			 videos, and if set to 0x60 the file shows up
+			 in "TV Shows" rather than "Movies". 
 
+			 The following list summarizes all observed types:
+
+			 * 0x00 00 00 00 - Audio/Video
+			 * 0x00 00 00 01 - Audio
+			 * 0x00 00 00 02 - Video
+			 * 0x00 00 00 04 - Podcast
+			 * 0x00 00 00 06 - Video Podcast
+			 * 0x00 00 00 08 - Audiobook
+			 * 0x00 00 00 20 - Music Video
+			 * 0x00 00 00 40 - TV Show (shows up ONLY in TV Shows
+			 * 0x00 00 00 60 - TV Show (shows up in the
+			                            Music lists as well) */
+  guint32 season_nr;  /* the season number of the track, for TV shows only. */
+  guint32 episode_nr; /* the episode number of the track, for TV shows
+			 only - although not displayed on the iPod,
+			 the episodes are sorted by episode number. */
+  guint32 unk220;     /* Has something to do with protected files -
+			 set to 0x0 for non-protected files. */
+  guint32 unk224;
+  guint32 unk228, unk232, unk236, unk240, unk244;
+  guint32 gapless_data;/* some magic number needed for gapless playback
+			  (added in dbversion 0x13) It has been observed
+			  that gapless playback does not work if this is
+			  set to zero. This number is related to the the
+			  filesize in bytes, but it is a couple of bytes
+			  less than the filesize. Maybe ID3 tags
+			  etc... taken off? */
+  guint32 unk252;
+  guint16 gapless_track_flag; /* if 1, this track has gapless playback data
+			         (added in dbversion 0x13) */
+  guint16 gapless_album_flag; /* if 1, this track does not use crossfading
+			         in iTunes (added in dbversion 0x13) */
+
     /* Chapter data: defines where the chapter stops are in the track,
        as well as what info should be displayed for each section of
        the track. Until it can be parsed and interpreted, the
@@ -225,9 +290,8 @@
   /* below is for use by application */
   guint64 usertype;
   gpointer userdata;
-  /* function called to duplicate userdata */
+  /* functions called to duplicate/free userdata */
   ItdbUserDataDuplicateFunc userdata_duplicate;
-  /* function called to free userdata */
   ItdbUserDataDestroyFunc userdata_destroy;
 } Itdb_Track;
 </programlisting>
@@ -420,6 +484,33 @@
 </simpara></listitem></varlistentry>
 </variablelist></refsect2>
 <refsect2>
+<title><anchor id="itdb-track-set-thumbnails-from-data" role="function"/>itdb_track_set_thumbnails_from_data ()</title>
+<indexterm><primary>itdb_track_set_thumbnails_from_data</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    itdb_track_set_thumbnails_from_data
+                                            (<link linkend="Itdb-Track">Itdb_Track</link> *track,
+                                             const <link linkend="guchar">guchar</link> *image_data,
+                                             <link linkend="gsize">gsize</link> image_data_len);</programlisting>
+<para>
+Uses <parameter>image_data</parameter> to generate iPod thumbnails. The image can be in
+any format supported by gdk-pixbuf. To save memory, the thumbnails
+will only be generated when necessary, ie when <link linkend="itdb-save"><function>itdb_save()</function></link> or a
+similar function is called.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>track</parameter>&nbsp;:</term>
+<listitem><simpara> an <link linkend="Itdb-Track"><type>Itdb_Track</type></link>
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>image_data</parameter>&nbsp;:</term>
+<listitem><simpara> data used to create the thumbnail (the raw contents of
+             an image file)
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>image_data_len</parameter>&nbsp;:</term>
+<listitem><simpara> length of above data block
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> TRUE if the thumbnail could be added, FALSE otherwise.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
 <title><anchor id="itdb-track-remove-thumbnails" role="function"/>itdb_track_remove_thumbnails ()</title>
 <indexterm><primary>itdb_track_remove_thumbnails</primary></indexterm><programlisting><link linkend="void">void</link>        itdb_track_remove_thumbnails    (<link linkend="Itdb-Track">Itdb_Track</link> *track);</programlisting>
 <para>

Modified: libgpod/branches/upstream/current/install-sh
===================================================================
--- libgpod/branches/upstream/current/install-sh	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/install-sh	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,7 +1,8 @@
 #!/bin/sh
-#
 # install - install a program, script, or datafile
-#
+
+scriptversion=2005-05-14.22
+
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
 # following copyright and license.
@@ -41,13 +42,11 @@
 # from scratch.  It can only install one file at a time, a restriction
 # shared with many OS's install programs.
 
-
 # set DOITPROG to echo to test this script
 
 # Don't use :- since 4.3BSD and earlier shells don't like it.
 doit="${DOITPROG-}"
 
-
 # put in absolute paths if you don't have them in your path; or use env. vars.
 
 mvprog="${MVPROG-mv}"
@@ -59,236 +58,266 @@
 rmprog="${RMPROG-rm}"
 mkdirprog="${MKDIRPROG-mkdir}"
 
-transformbasename=""
-transform_arg=""
-instcmd="$mvprog"
 chmodcmd="$chmodprog 0755"
-chowncmd=""
-chgrpcmd=""
-stripcmd=""
+chowncmd=
+chgrpcmd=
+stripcmd=
 rmcmd="$rmprog -f"
 mvcmd="$mvprog"
-src=""
-dst=""
-dir_arg=""
+src=
+dst=
+dir_arg=
+dstarg=
+no_target_directory=
 
-while [ x"$1" != x ]; do
-    case $1 in
-	-c) instcmd=$cpprog
-	    shift
-	    continue;;
+usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+   or: $0 [OPTION]... SRCFILES... DIRECTORY
+   or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+   or: $0 [OPTION]... -d DIRECTORIES...
 
-	-d) dir_arg=true
-	    shift
-	    continue;;
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
 
-	-m) chmodcmd="$chmodprog $2"
-	    shift
-	    shift
-	    continue;;
+Options:
+-c         (ignored)
+-d         create directories instead of installing files.
+-g GROUP   $chgrpprog installed files to GROUP.
+-m MODE    $chmodprog installed files to MODE.
+-o USER    $chownprog installed files to USER.
+-s         $stripprog installed files.
+-t DIRECTORY  install into DIRECTORY.
+-T         report an error if DSTFILE is a directory.
+--help     display this help and exit.
+--version  display version info and exit.
 
-	-o) chowncmd="$chownprog $2"
-	    shift
-	    shift
-	    continue;;
+Environment variables override the default commands:
+  CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
+"
 
-	-g) chgrpcmd="$chgrpprog $2"
-	    shift
-	    shift
-	    continue;;
+while test -n "$1"; do
+  case $1 in
+    -c) shift
+        continue;;
 
-	-s) stripcmd=$stripprog
-	    shift
-	    continue;;
+    -d) dir_arg=true
+        shift
+        continue;;
 
-	-t=*) transformarg=`echo $1 | sed 's/-t=//'`
-	    shift
-	    continue;;
+    -g) chgrpcmd="$chgrpprog $2"
+        shift
+        shift
+        continue;;
 
-	-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
-	    shift
-	    continue;;
+    --help) echo "$usage"; exit $?;;
 
-	*)  if [ x"$src" = x ]
-	    then
-		src=$1
-	    else
-		# this colon is to work around a 386BSD /bin/sh bug
-		:
-		dst=$1
-	    fi
-	    shift
-	    continue;;
-    esac
-done
+    -m) chmodcmd="$chmodprog $2"
+        shift
+        shift
+        continue;;
 
-if [ x"$src" = x ]
-then
-	echo "$0: no input file specified" >&2
-	exit 1
-else
-	:
-fi
+    -o) chowncmd="$chownprog $2"
+        shift
+        shift
+        continue;;
 
-if [ x"$dir_arg" != x ]; then
-	dst=$src
-	src=""
+    -s) stripcmd=$stripprog
+        shift
+        continue;;
 
-	if [ -d "$dst" ]; then
-		instcmd=:
-		chmodcmd=""
-	else
-		instcmd=$mkdirprog
-	fi
-else
+    -t) dstarg=$2
+	shift
+	shift
+	continue;;
 
-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
-# might cause directories to be created, which would be especially bad
-# if $src (and thus $dsttmp) contains '*'.
+    -T) no_target_directory=true
+	shift
+	continue;;
 
-	if [ -f "$src" ] || [ -d "$src" ]
-	then
-		:
-	else
-		echo "$0: $src does not exist" >&2
-		exit 1
-	fi
+    --version) echo "$0 $scriptversion"; exit $?;;
 
-	if [ x"$dst" = x ]
-	then
-		echo "$0: no destination specified" >&2
-		exit 1
-	else
-		:
-	fi
+    *)  # When -d is used, all remaining arguments are directories to create.
+	# When -t is used, the destination is already specified.
+	test -n "$dir_arg$dstarg" && break
+        # Otherwise, the last argument is the destination.  Remove it from $@.
+	for arg
+	do
+          if test -n "$dstarg"; then
+	    # $@ is not empty: it contains at least $arg.
+	    set fnord "$@" "$dstarg"
+	    shift # fnord
+	  fi
+	  shift # arg
+	  dstarg=$arg
+	done
+	break;;
+  esac
+done
 
-# If destination is a directory, append the input filename; if your system
-# does not like double slashes in filenames, you may need to add some logic
-
-	if [ -d "$dst" ]
-	then
-		dst=$dst/`basename "$src"`
-	else
-		:
-	fi
+if test -z "$1"; then
+  if test -z "$dir_arg"; then
+    echo "$0: no input file specified." >&2
+    exit 1
+  fi
+  # It's OK to call `install-sh -d' without argument.
+  # This can happen when creating conditional directories.
+  exit 0
 fi
 
-## this sed command emulates the dirname command
-dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+for src
+do
+  # Protect names starting with `-'.
+  case $src in
+    -*) src=./$src ;;
+  esac
 
-# Make sure that the destination directory exists.
-#  this part is taken from Noah Friedman's mkinstalldirs script
+  if test -n "$dir_arg"; then
+    dst=$src
+    src=
 
-# Skip lots of stat calls in the usual case.
-if [ ! -d "$dstdir" ]; then
-defaultIFS='
-	'
-IFS="${IFS-$defaultIFS}"
+    if test -d "$dst"; then
+      mkdircmd=:
+      chmodcmd=
+    else
+      mkdircmd=$mkdirprog
+    fi
+  else
+    # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+    # might cause directories to be created, which would be especially bad
+    # if $src (and thus $dsttmp) contains '*'.
+    if test ! -f "$src" && test ! -d "$src"; then
+      echo "$0: $src does not exist." >&2
+      exit 1
+    fi
 
-oIFS=$IFS
-# Some sh's can't handle IFS=/ for some reason.
-IFS='%'
-set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
-IFS=$oIFS
+    if test -z "$dstarg"; then
+      echo "$0: no destination specified." >&2
+      exit 1
+    fi
 
-pathcomp=''
+    dst=$dstarg
+    # Protect names starting with `-'.
+    case $dst in
+      -*) dst=./$dst ;;
+    esac
 
-while [ $# -ne 0 ] ; do
-	pathcomp=$pathcomp$1
-	shift
+    # If destination is a directory, append the input filename; won't work
+    # if double slashes aren't ignored.
+    if test -d "$dst"; then
+      if test -n "$no_target_directory"; then
+	echo "$0: $dstarg: Is a directory" >&2
+	exit 1
+      fi
+      dst=$dst/`basename "$src"`
+    fi
+  fi
 
-	if [ ! -d "$pathcomp" ] ;
-        then
-		$mkdirprog "$pathcomp"
-	else
-		:
-	fi
+  # This sed command emulates the dirname command.
+  dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
 
-	pathcomp=$pathcomp/
-done
-fi
+  # Make sure that the destination directory exists.
 
-if [ x"$dir_arg" != x ]
-then
-	$doit $instcmd "$dst" &&
+  # Skip lots of stat calls in the usual case.
+  if test ! -d "$dstdir"; then
+    defaultIFS='
+	 '
+    IFS="${IFS-$defaultIFS}"
 
-	if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
-	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
-	if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
-	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
-else
+    oIFS=$IFS
+    # Some sh's can't handle IFS=/ for some reason.
+    IFS='%'
+    set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
+    shift
+    IFS=$oIFS
 
-# If we're going to rename the final executable, determine the name now.
+    pathcomp=
 
-	if [ x"$transformarg" = x ]
-	then
-		dstfile=`basename "$dst"`
-	else
-		dstfile=`basename "$dst" $transformbasename |
-			sed $transformarg`$transformbasename
-	fi
+    while test $# -ne 0 ; do
+      pathcomp=$pathcomp$1
+      shift
+      if test ! -d "$pathcomp"; then
+        $mkdirprog "$pathcomp"
+	# mkdir can fail with a `File exist' error in case several
+	# install-sh are creating the directory concurrently.  This
+	# is OK.
+	test -d "$pathcomp" || exit
+      fi
+      pathcomp=$pathcomp/
+    done
+  fi
 
-# don't allow the sed command to completely eliminate the filename
+  if test -n "$dir_arg"; then
+    $doit $mkdircmd "$dst" \
+      && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
+      && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
+      && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
+      && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
 
-	if [ x"$dstfile" = x ]
-	then
-		dstfile=`basename "$dst"`
-	else
-		:
-	fi
+  else
+    dstfile=`basename "$dst"`
 
-# Make a couple of temp file names in the proper directory.
+    # Make a couple of temp file names in the proper directory.
+    dsttmp=$dstdir/_inst.$$_
+    rmtmp=$dstdir/_rm.$$_
 
-	dsttmp=$dstdir/_inst.$$_
-	rmtmp=$dstdir/_rm.$$_
+    # Trap to clean up those temp files at exit.
+    trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+    trap '(exit $?); exit' 1 2 13 15
 
-# Trap to clean up temp files at exit.
+    # Copy the file name to the temp name.
+    $doit $cpprog "$src" "$dsttmp" &&
 
-	trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
-	trap '(exit $?); exit' 1 2 13 15
+    # and set any options; do chmod last to preserve setuid bits.
+    #
+    # If any of these fail, we abort the whole thing.  If we want to
+    # ignore errors from any of these, just make sure not to ignore
+    # errors from the above "$doit $cpprog $src $dsttmp" command.
+    #
+    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
+      && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
+      && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
+      && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
 
-# Move or copy the file name to the temp name
+    # Now rename the file to the real destination.
+    { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
+      || {
+	   # The rename failed, perhaps because mv can't rename something else
+	   # to itself, or perhaps because mv is so ancient that it does not
+	   # support -f.
 
-	$doit $instcmd "$src" "$dsttmp" &&
+	   # Now remove or move aside any old file at destination location.
+	   # We try this two ways since rm can't unlink itself on some
+	   # systems and the destination file might be busy for other
+	   # reasons.  In this case, the final cleanup might fail but the new
+	   # file should still install successfully.
+	   {
+	     if test -f "$dstdir/$dstfile"; then
+	       $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
+	       || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
+	       || {
+		 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
+		 (exit 1); exit 1
+	       }
+	     else
+	       :
+	     fi
+	   } &&
 
-# and set any options; do chmod last to preserve setuid bits
+	   # Now rename the file to the real destination.
+	   $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
+	 }
+    }
+  fi || { (exit 1); exit 1; }
+done
 
-# If any of these fail, we abort the whole thing.  If we want to
-# ignore errors from any of these, just make sure not to ignore
-# errors from the above "$doit $instcmd $src $dsttmp" command.
-
-	if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
-	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
-	if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
-	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
-
-# Now remove or move aside any old file at destination location.  We try this
-# two ways since rm can't unlink itself on some systems and the destination
-# file might be busy for other reasons.  In this case, the final cleanup
-# might fail but the new file should still install successfully.
-
-{
-	if [ -f "$dstdir/$dstfile" ]
-	then
-		$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
-		$doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
-		{
-		  echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
-		  (exit 1); exit
-		}
-	else
-		:
-	fi
-} &&
-
-# Now rename the file to the real destination.
-
-	$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
-
-fi &&
-
 # The final little trick to "correctly" pass the exit status to the exit trap.
-
 {
-	(exit 0); exit
+  (exit 0); exit 0
 }
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:

Modified: libgpod/branches/upstream/current/m4/Makefile.in
===================================================================
--- libgpod/branches/upstream/current/m4/Makefile.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/m4/Makefile.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -13,7 +13,6 @@
 # PARTICULAR PURPOSE.
 
 @SET_MAKE@
-
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
@@ -21,7 +20,6 @@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 top_builddir = ..
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
@@ -35,7 +33,22 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+build_triplet = @build@
 host_triplet = @host@
+subdir = m4
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+	$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
+	$(top_srcdir)/m4/swig.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 ALL_LINGUAS = @ALL_LINGUAS@
@@ -120,11 +133,9 @@
 INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 LDFLAGS = @LDFLAGS@
-LIBGPOD_AGE = @LIBGPOD_AGE@
 LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
-LIBGPOD_CURRENT = @LIBGPOD_CURRENT@
 LIBGPOD_LIBS = @LIBGPOD_LIBS@
-LIBGPOD_REVISION = @LIBGPOD_REVISION@
+LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
 LIBGPOD_VERSION = @LIBGPOD_VERSION@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
@@ -178,6 +189,8 @@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -203,6 +216,7 @@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 pkgpyexecdir = @pkgpyexecdir@
@@ -217,22 +231,39 @@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 EXTRA_DIST = python.m4 swig.m4
-subdir = m4
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-DIST_SOURCES =
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
 all: all-am
 
 .SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  m4/Makefile'; \
 	cd $(top_srcdir) && \
 	  $(AUTOMAKE) --gnu  m4/Makefile
-Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
 
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
 mostlyclean-libtool:
 	-rm -f *.lo
 
@@ -248,11 +279,7 @@
 ctags: CTAGS
 CTAGS:
 
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = ..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
-
 distdir: $(DISTFILES)
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
@@ -265,7 +292,7 @@
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 	    dir="/$$dir"; \
-	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
 	  else \
 	    dir=''; \
 	  fi; \
@@ -283,7 +310,6 @@
 check-am: all-am
 check: check-am
 all-am: Makefile
-
 installdirs:
 install: install-am
 install-exec: install-exec-am
@@ -304,7 +330,7 @@
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
@@ -321,6 +347,8 @@
 
 dvi-am:
 
+html: html-am
+
 info: info-am
 
 info-am:
@@ -355,10 +383,10 @@
 
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
 	distclean distclean-generic distclean-libtool distdir dvi \
-	dvi-am info info-am install install-am install-data \
-	install-data-am install-exec install-exec-am install-info \
-	install-info-am install-man install-strip installcheck \
-	installcheck-am installdirs maintainer-clean \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-exec install-exec-am \
+	install-info install-info-am install-man install-strip \
+	installcheck installcheck-am installdirs maintainer-clean \
 	maintainer-clean-generic mostlyclean mostlyclean-generic \
 	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
 	uninstall-info-am

Added: libgpod/branches/upstream/current/m4/gtk-doc.m4
===================================================================
--- libgpod/branches/upstream/current/m4/gtk-doc.m4	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/m4/gtk-doc.m4	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,53 @@
+dnl -*- mode: autoconf -*-
+
+# serial 1
+
+dnl Usage:
+dnl   GTK_DOC_CHECK([minimum-gtk-doc-version])
+AC_DEFUN([GTK_DOC_CHECK],
+[
+  AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
+  AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
+  dnl for overriding the documentation installation directory
+  AC_ARG_WITH(html-dir,
+    AC_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
+    [with_html_dir='${datadir}/gtk-doc/html'])
+  HTML_DIR="$with_html_dir"
+  AC_SUBST(HTML_DIR)
+
+  dnl enable/disable documentation building
+  AC_ARG_ENABLE(gtk-doc,
+    AC_HELP_STRING([--enable-gtk-doc],
+                   [use gtk-doc to build documentation [default=no]]),,
+    enable_gtk_doc=no)
+
+  have_gtk_doc=no
+  if test x$enable_gtk_doc = xyes; then
+    if test -z "$PKG_CONFIG"; then
+      AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+    fi
+    if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then
+      have_gtk_doc=yes
+    fi
+
+  dnl do we want to do a version check?
+ifelse([$1],[],,
+    [gtk_doc_min_version=$1
+    if test "$have_gtk_doc" = yes; then
+      AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version])
+      if $PKG_CONFIG --atleast-version $gtk_doc_min_version gtk-doc; then
+        AC_MSG_RESULT(yes)
+      else
+        AC_MSG_RESULT(no)
+        have_gtk_doc=no
+      fi
+    fi
+])
+    if test "$have_gtk_doc" != yes; then
+      enable_gtk_doc=no
+    fi
+  fi
+
+  AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
+  AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, test -n "$LIBTOOL")
+])

Added: libgpod/branches/upstream/current/m4/intltool.m4
===================================================================
--- libgpod/branches/upstream/current/m4/intltool.m4	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/m4/intltool.m4	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,227 @@
+## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*-
+## Copyright (C) 2001 Eazel, Inc.
+## Author: Maciej Stachowiak <mjs at noisehavoc.org>
+##         Kenneth Christiansen <kenneth at gnu.org>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+##
+## As a special exception to the GNU General Public License, if you
+## distribute this file as part of a program that contains a
+## configuration script generated by Autoconf, you may include it under
+## the same distribution terms that you use for the rest of that program.
+
+dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
+# serial 35 IT_PROG_INTLTOOL
+AC_DEFUN([IT_PROG_INTLTOOL],
+[AC_PREREQ([2.50])dnl
+
+case "$am__api_version" in
+    1.[01234])
+	AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
+    ;;
+    *)
+    ;;
+esac
+
+if test -n "$1"; then
+    AC_MSG_CHECKING(for intltool >= $1)
+
+    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
+    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
+    [INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
+    ]
+    AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
+    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
+	AC_MSG_ERROR([Your intltool is too old.  You need intltool $1 or later.])
+fi
+
+  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
+     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' 
+      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
+    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+
+AC_SUBST(INTLTOOL_DESKTOP_RULE)
+AC_SUBST(INTLTOOL_DIRECTORY_RULE)
+AC_SUBST(INTLTOOL_KEYS_RULE)
+AC_SUBST(INTLTOOL_PROP_RULE)
+AC_SUBST(INTLTOOL_OAF_RULE)
+AC_SUBST(INTLTOOL_PONG_RULE)
+AC_SUBST(INTLTOOL_SERVER_RULE)
+AC_SUBST(INTLTOOL_SHEET_RULE)
+AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
+AC_SUBST(INTLTOOL_UI_RULE)
+AC_SUBST(INTLTOOL_XAM_RULE)
+AC_SUBST(INTLTOOL_KBD_RULE)
+AC_SUBST(INTLTOOL_XML_RULE)
+AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
+AC_SUBST(INTLTOOL_CAVES_RULE)
+AC_SUBST(INTLTOOL_SCHEMAS_RULE)
+AC_SUBST(INTLTOOL_THEME_RULE)
+AC_SUBST(INTLTOOL_SERVICE_RULE)
+
+# Use the tools built into the package, not the ones that are installed.
+AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract')
+AC_SUBST(INTLTOOL_MERGE, '$(top_builddir)/intltool-merge')
+AC_SUBST(INTLTOOL_UPDATE, '$(top_builddir)/intltool-update')
+
+AC_PATH_PROG(INTLTOOL_PERL, perl)
+if test -z "$INTLTOOL_PERL"; then
+   AC_MSG_ERROR([perl not found; required for intltool])
+fi
+if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
+   AC_MSG_ERROR([perl 5.x required for intltool])
+fi
+if test "x$2" != "xno-xml"; then
+   AC_MSG_CHECKING([for XML::Parser])
+   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
+       AC_MSG_RESULT([ok])
+   else
+       AC_MSG_ERROR([XML::Parser perl module is required for intltool])
+   fi
+fi
+
+AC_PATH_PROG(INTLTOOL_ICONV, iconv, iconv)
+AC_PATH_PROG(INTLTOOL_MSGFMT, msgfmt, msgfmt)
+AC_PATH_PROG(INTLTOOL_MSGMERGE, msgmerge, msgmerge)
+AC_PATH_PROG(INTLTOOL_XGETTEXT, xgettext, xgettext)
+
+# Substitute ALL_LINGUAS so we can use it in po/Makefile
+AC_SUBST(ALL_LINGUAS)
+
+# Set DATADIRNAME correctly if it is not set yet
+# (copied from glib-gettext.m4)
+if test -z "$DATADIRNAME"; then
+  AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
+                 return _nl_msg_cat_cntr],
+    [DATADIRNAME=share],
+    [case $host in
+    *-*-solaris*)
+    dnl On Solaris, if bind_textdomain_codeset is in libc,
+    dnl GNU format message catalog is always supported,
+    dnl since both are added to the libc all together.
+    dnl Hence, we'd like to go with DATADIRNAME=share
+    dnl in this case.
+    AC_CHECK_FUNC(bind_textdomain_codeset,
+      [DATADIRNAME=share], [DATADIRNAME=lib])
+    ;;
+    *)
+    [DATADIRNAME=lib]
+    ;;
+    esac])
+fi
+AC_SUBST(DATADIRNAME)
+
+IT_PO_SUBDIR([po])
+
+dnl The following is very similar to
+dnl
+dnl	AC_CONFIG_FILES([intltool-extract intltool-merge intltool-update])
+dnl
+dnl with the following slight differences:
+dnl  - the *.in files are in ac_aux_dir,
+dnl  - if the file haven't changed upon reconfigure, it's not touched,
+dnl  - the evaluation of the third parameter enables a hack which computes
+dnl    the actual value of $libdir,
+dnl  - the user sees "executing intltool commands", instead of
+dnl    "creating intltool-extract" and such.
+dnl
+dnl Nothing crucial here, and we could use AC_CONFIG_FILES, if there were
+dnl a reason for it.
+
+AC_CONFIG_COMMANDS([intltool], [
+
+for file in intltool-extract intltool-merge intltool-update; do
+  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
+      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
+      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
+      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
+      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
+      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
+      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
+	< ${ac_aux_dir}/${file}.in > ${file}.out
+  if cmp -s ${file} ${file}.out 2>/dev/null; then
+    rm -f ${file}.out
+  else
+    mv -f ${file}.out ${file}
+  fi
+  chmod ugo+x ${file}
+  chmod u+w ${file}
+done
+
+],
+[INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
+prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" 
+INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
+INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
+INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'])
+
+])
+
+
+# IT_PO_SUBDIR(DIRNAME)
+# ---------------------
+# All po subdirs have to be declared with this macro; the subdir "po" is
+# declared by IT_PROG_INTLTOOL.
+#
+AC_DEFUN([IT_PO_SUBDIR],
+[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
+dnl
+dnl The following CONFIG_COMMANDS should be exetuted at the very end
+dnl of config.status.
+AC_CONFIG_COMMANDS_PRE([
+  AC_CONFIG_COMMANDS([$1/stamp-it], [
+    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
+    >"$1/stamp-it.tmp"
+    [sed '/^#/d
+	 s/^[[].*] *//
+	 /^[ 	]*$/d
+	'"s|^|	$ac_top_srcdir/|" \
+      "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
+    ]
+    if test ! -f "$1/Makefile"; then
+      AC_MSG_ERROR([$1/Makefile is not ready.])
+    fi
+    mv "$1/Makefile" "$1/Makefile.tmp"
+    [sed '/^POTFILES =/,/[^\\]$/ {
+		/^POTFILES =/!d
+		r $1/POTFILES
+	  }
+	 ' "$1/Makefile.tmp" >"$1/Makefile"]
+    rm -f "$1/Makefile.tmp"
+    mv "$1/stamp-it.tmp" "$1/stamp-it"
+  ])
+])dnl
+])
+
+
+# deprecated macros
+AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
+# A hint is needed for aclocal from Automake <= 1.9.4:
+# AC_DEFUN([AC_PROG_INTLTOOL], ...)
+

Modified: libgpod/branches/upstream/current/missing
===================================================================
--- libgpod/branches/upstream/current/missing	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/missing	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,6 +1,10 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+
+scriptversion=2005-06-08.21
+
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
+#   Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <pinard at iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -15,8 +19,8 @@
 
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -38,19 +42,25 @@
   configure_ac=configure.in
 fi
 
+msg="missing on your system"
+
 case "$1" in
 --run)
   # Try to run requested program, and just exit if it succeeds.
   run=
   shift
   "$@" && exit 0
+  # Exit code 63 means version mismatch.  This often happens
+  # when the user try to use an ancient version of a tool on
+  # a file that requires a minimum version.  In this case we
+  # we should proceed has if the program had been absent, or
+  # if --run hadn't been passed.
+  if test $? = 63; then
+    run=:
+    msg="probably too old"
+  fi
   ;;
-esac
 
-# If it does not exist, or fails to run (possibly an outdated version),
-# try to emulate it.
-case "$1" in
-
   -h|--h|--he|--hel|--help)
     echo "\
 $0 [OPTION]... PROGRAM [ARGUMENT]...
@@ -74,11 +84,15 @@
   lex          create \`lex.yy.c', if possible, from existing .c
   makeinfo     touch the output file
   tar          try tar, gnutar, gtar, then tar without non-portable flags
-  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"
+  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
+
+Send bug reports to <bug-automake at gnu.org>."
+    exit $?
     ;;
 
   -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
-    echo "missing 0.4 - GNU automake"
+    echo "missing $scriptversion (GNU Automake)"
+    exit $?
     ;;
 
   -*)
@@ -87,14 +101,44 @@
     exit 1
     ;;
 
-  aclocal*)
+esac
+
+# Now exit if we have it, but it failed.  Also exit now if we
+# don't have it and --version was passed (most likely to detect
+# the program).
+case "$1" in
+  lex|yacc)
+    # Not GNU programs, they don't have --version.
+    ;;
+
+  tar)
+    if test -n "$run"; then
+       echo 1>&2 "ERROR: \`tar' requires --run"
+       exit 1
+    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+       exit 1
+    fi
+    ;;
+
+  *)
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
        # We have it, but it failed.
        exit 1
+    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+       # Could not run --version or --help.  This is probably someone
+       # running `$TOOL --version' or `$TOOL --help' to check whether
+       # $TOOL exists and not knowing $TOOL uses missing.
+       exit 1
     fi
+    ;;
+esac
 
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case "$1" in
+  aclocal*)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
          to install the \`Automake' and \`Perl' packages.  Grab them from
          any GNU archive site."
@@ -102,13 +146,8 @@
     ;;
 
   autoconf)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified \`${configure_ac}'.  You might want to install the
          \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
          archive site."
@@ -116,13 +155,8 @@
     ;;
 
   autoheader)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified \`acconfig.h' or \`${configure_ac}'.  You might want
          to install the \`Autoconf' and \`GNU m4' packages.  Grab them
          from any GNU archive site."
@@ -140,13 +174,8 @@
     ;;
 
   automake*)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
          You might want to install the \`Automake' and \`Perl' packages.
          Grab them from any GNU archive site."
@@ -156,14 +185,9 @@
     ;;
 
   autom4te)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
-WARNING: \`$1' is needed, and you do not seem to have it handy on your
-         system.  You might have modified some files without having the
+WARNING: \`$1' is needed, but is $msg.
+         You might have modified some files without having the
          proper tools for further handling them.
          You can get \`$1' as part of \`Autoconf' from any GNU
          archive site."
@@ -185,7 +209,7 @@
 
   bison|yacc)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' $msg.  You should only need it if
          you modified a \`.y' file.  You may need the \`Bison' package
          in order for those modifications to take effect.  You can get
          \`Bison' from any GNU archive site."
@@ -215,7 +239,7 @@
 
   lex|flex)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified a \`.l' file.  You may need the \`Flex' package
          in order for those modifications to take effect.  You can get
          \`Flex' from any GNU archive site."
@@ -237,13 +261,8 @@
     ;;
 
   help2man)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
 	 you modified a dependency of a manual page.  You may need the
 	 \`Help2man' package in order for those modifications to take
 	 effect.  You can get \`Help2man' from any GNU archive site."
@@ -262,32 +281,30 @@
     ;;
 
   makeinfo)
-    if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
-       # We have makeinfo, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified a \`.texi' or \`.texinfo' file, or any other file
          indirectly affecting the aspect of the manual.  The spurious
          call might also be the consequence of using a buggy \`make' (AIX,
          DU, IRIX).  You might want to install the \`Texinfo' package or
          the \`GNU make' package.  Grab either from any GNU archive site."
+    # The file to touch is that specified with -o ...
     file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
     if test -z "$file"; then
-      file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
-      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
+      # ... or it is the one specified with @setfilename ...
+      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
+      # ... or it is derived from the source name (dir/f.texi becomes f.info)
+      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
     fi
+    # If the file does not exist, the user really needs makeinfo;
+    # let's fail without touching anything.
+    test -f $file || exit 1
     touch $file
     ;;
 
   tar)
     shift
-    if test -n "$run"; then
-      echo 1>&2 "ERROR: \`tar' requires --run"
-      exit 1
-    fi
 
     # We have already tried tar in the generic part.
     # Look for gnutar/gtar before invocation to avoid ugly error
@@ -323,8 +340,8 @@
 
   *)
     echo 1>&2 "\
-WARNING: \`$1' is needed, and you do not seem to have it handy on your
-         system.  You might have modified some files without having the
+WARNING: \`$1' is needed, and is $msg.
+         You might have modified some files without having the
          proper tools for further handling them.  Check the \`README' file,
          it often tells you about the needed prerequisites for installing
          this package.  You may also peek at any GNU archive site, in case
@@ -334,3 +351,10 @@
 esac
 
 exit 0
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:

Modified: libgpod/branches/upstream/current/mkinstalldirs
===================================================================
--- libgpod/branches/upstream/current/mkinstalldirs	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/mkinstalldirs	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,21 +1,33 @@
 #! /bin/sh
 # mkinstalldirs --- make directory hierarchy
-# Author: Noah Friedman <friedman at prep.ai.mit.edu>
+
+scriptversion=2005-06-29.22
+
+# Original author: Noah Friedman <friedman at prep.ai.mit.edu>
 # Created: 1993-05-16
-# Public domain
+# Public domain.
+#
+# This file is maintained in Automake, please report
+# bugs to <bug-automake at gnu.org> or send patches to
+# <automake-patches at gnu.org>.
 
 errstatus=0
-dirmode=""
+dirmode=
 
 usage="\
-Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
+Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
 
+Create each directory DIR (with mode MODE, if specified), including all
+leading file name components.
+
+Report bugs to <bug-automake at gnu.org>."
+
 # process command line arguments
 while test $# -gt 0 ; do
   case $1 in
     -h | --help | --h*)         # -h for help
-      echo "$usage" 1>&2
-      exit 0
+      echo "$usage"
+      exit $?
       ;;
     -m)                         # -m PERM arg
       shift
@@ -23,6 +35,10 @@
       dirmode=$1
       shift
       ;;
+    --version)
+      echo "$0 $scriptversion"
+      exit $?
+      ;;
     --)                         # stop option processing
       shift
       break
@@ -50,30 +66,58 @@
   0) exit 0 ;;
 esac
 
+# Solaris 8's mkdir -p isn't thread-safe.  If you mkdir -p a/b and
+# mkdir -p a/c at the same time, both will detect that a is missing,
+# one will create a, then the other will try to create a and die with
+# a "File exists" error.  This is a problem when calling mkinstalldirs
+# from a parallel make.  We use --version in the probe to restrict
+# ourselves to GNU mkdir, which is thread-safe.
 case $dirmode in
   '')
-    if mkdir -p -- . 2>/dev/null; then
+    if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
       echo "mkdir -p -- $*"
       exec mkdir -p -- "$@"
+    else
+      # On NextStep and OpenStep, the `mkdir' command does not
+      # recognize any option.  It will interpret all options as
+      # directories to create, and then abort because `.' already
+      # exists.
+      test -d ./-p && rmdir ./-p
+      test -d ./--version && rmdir ./--version
     fi
     ;;
   *)
-    if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
+    if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
+       test ! -d ./--version; then
       echo "mkdir -m $dirmode -p -- $*"
       exec mkdir -m "$dirmode" -p -- "$@"
+    else
+      # Clean up after NextStep and OpenStep mkdir.
+      for d in ./-m ./-p ./--version "./$dirmode";
+      do
+        test -d $d && rmdir $d
+      done
     fi
     ;;
 esac
 
 for file
 do
-  set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+  case $file in
+    /*) pathcomp=/ ;;
+    *)  pathcomp= ;;
+  esac
+  oIFS=$IFS
+  IFS=/
+  set fnord $file
   shift
+  IFS=$oIFS
 
-  pathcomp=
   for d
   do
-    pathcomp="$pathcomp$d"
+    test "x$d" = x && continue
+
+    pathcomp=$pathcomp$d
     case $pathcomp in
       -*) pathcomp=./$pathcomp ;;
     esac
@@ -84,21 +128,21 @@
       mkdir "$pathcomp" || lasterr=$?
 
       if test ! -d "$pathcomp"; then
-  	errstatus=$lasterr
+	errstatus=$lasterr
       else
-  	if test ! -z "$dirmode"; then
+	if test ! -z "$dirmode"; then
 	  echo "chmod $dirmode $pathcomp"
-    	  lasterr=""
-  	  chmod "$dirmode" "$pathcomp" || lasterr=$?
+	  lasterr=
+	  chmod "$dirmode" "$pathcomp" || lasterr=$?
 
-  	  if test ! -z "$lasterr"; then
-  	    errstatus=$lasterr
-  	  fi
-  	fi
+	  if test ! -z "$lasterr"; then
+	    errstatus=$lasterr
+	  fi
+	fi
       fi
     fi
 
-    pathcomp="$pathcomp/"
+    pathcomp=$pathcomp/
   done
 done
 
@@ -107,5 +151,8 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
 # End:
-# mkinstalldirs ends here

Modified: libgpod/branches/upstream/current/po/de.po
===================================================================
--- libgpod/branches/upstream/current/po/de.po	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/po/de.po	2007-01-25 10:43:09 UTC (rev 166)
@@ -7,8 +7,8 @@
 msgstr ""
 "Project-Id-Version: gtkpod 0.52\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-24 18:02+0900\n"
-"PO-Revision-Date: 2005-09-14 22:01+0900\n"
+"POT-Creation-Date: 2007-01-15 22:30+0900\n"
+"PO-Revision-Date: 2007-01-15 23:46+0900\n"
 "Last-Translator: Jörg Schuler <jcsjcs at users.sourceforge.net>\n"
 "Language-Team: none\n"
 "MIME-Version: 1.0\n"
@@ -16,205 +16,223 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 
-#: ../src/db-artwork-parser.c:133
+#: ../src/db-artwork-parser.c:131
 #, c-format
 msgid "Unexpected mhod3 string type: %d\n"
-msgstr ""
+msgstr "Unerwarteter mhod3 Stringtyp: %d\n"
 
-#: ../src/db-artwork-parser.c:360
+#: ../src/db-artwork-parser.c:265
 #, c-format
-msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"
+msgid "Could not find corresponding track (dbid: %s) for artwork entry.\n"
 msgstr ""
+"Konnte zugehöriges Musikstück (dbid: %s) für Artworkeintrag nicht finden.\n"
 
-#: ../src/db-artwork-parser.c:515
+#: ../src/db-artwork-parser.c:291
 #, c-format
+msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)\n"
+msgstr "Artwork-Größen in iTunesDB und ArtworkDB inkonsistent (%d+%d != %d)\n"
+
+#: ../src/db-artwork-parser.c:459
+#, c-format
 msgid "Unexpected mhsd index: %d\n"
-msgstr ""
+msgstr "Unerwarteter mhsd-Index: %d\n"
 
 #: ../src/db-image-parser.c:118
 #, c-format
 msgid "Unexpected image type in mhni: size: %ux%u (%d), offset: %d\n"
-msgstr ""
+msgstr "Unerwarter Bildtyp in mhni: Größe: %ux%u (%d), Offset: %d\n"
 
-#: ../src/itdb_artwork.c:306
+#: ../src/itdb_artwork.c:198
 #, c-format
+msgid "Could not access file '%s'."
+msgstr "Datei nicht auf Datei zugreifen: '%s'."
+
+#: ../src/itdb_artwork.c:215 ../src/itdb_artwork.c:276
+msgid "Artwork support not compiled into libgpod."
+msgstr "Artwork-Unterstützung ist nicht in libgpod einkompiliert worden."
+
+#: ../src/itdb_artwork.c:334
+#, c-format
 msgid "Illegal filename: '%s'.\n"
-msgstr ""
+msgstr "Nicht zulässiger Dateiname: '%s'.\n"
 
-#: ../src/itdb_artwork.c:312
+#: ../src/itdb_artwork.c:340
 msgid "Mountpoint not set.\n"
-msgstr ""
+msgstr "Mountpoint wurde nicht gesetzt.\n"
 
-#: ../src/itdb_artwork.c:387
-#, fuzzy, c-format
+#: ../src/itdb_artwork.c:493
+#, c-format
 msgid "Could not find on iPod: '%s'\n"
-msgstr "Datei nicht gefunden: '%s'."
+msgstr "Nicht auf dem iPod gefunden: '%s'\n"
 
-#: ../src/itdb_artwork.c:587
+#: ../src/itdb_artwork.c:701
 #, c-format
 msgid ""
 "Unable to retreive thumbnail (appears to be on iPod, but no image info "
 "available): type: %d, filename: '%s'\n"
 msgstr ""
+"Thumbnail konnte nicht geladen werden. Der Thumbnail scheint auf dem iPod zu "
+"sein, aber die Bilddaten sind nicht verfügbar): Typ: %d, Dateiname: '%s'\n"
 
 #: ../src/itdb_device.c:170
 msgid "Invalid"
-msgstr ""
+msgstr "Ungültig"
 
 #: ../src/itdb_device.c:171 ../src/itdb_device.c:197
 msgid "Unknown"
-msgstr ""
+msgstr "Unbekannt"
 
 #: ../src/itdb_device.c:172
 msgid "Color"
-msgstr ""
+msgstr "Color"
 
 #: ../src/itdb_device.c:173
 msgid "Color U2"
-msgstr ""
+msgstr "Color U2"
 
 #: ../src/itdb_device.c:174
 msgid "Grayscale"
-msgstr ""
+msgstr "Grayscale"
 
 #: ../src/itdb_device.c:175
 msgid "Grayscale U2"
-msgstr ""
+msgstr "Grayscale U2"
 
 #: ../src/itdb_device.c:176
 msgid "Mini (Silver)"
-msgstr ""
+msgstr "Mini (silber)"
 
 #: ../src/itdb_device.c:177
 msgid "Mini (Blue)"
-msgstr ""
+msgstr "Mini (blau)"
 
 #: ../src/itdb_device.c:178
 msgid "Mini (Pink)"
-msgstr ""
+msgstr "Mini (pink)"
 
 #: ../src/itdb_device.c:179
 msgid "Mini (Green)"
-msgstr ""
+msgstr "Mini (grün)"
 
 #: ../src/itdb_device.c:180
 msgid "Mini (Gold)"
-msgstr ""
+msgstr "Mini (gold)"
 
 #: ../src/itdb_device.c:181
 msgid "Shuffle"
-msgstr ""
+msgstr "Shuffle"
 
 #: ../src/itdb_device.c:182
 msgid "Nano (White)"
-msgstr ""
+msgstr "Nano (weiß)"
 
 #: ../src/itdb_device.c:183
 msgid "Nano (Black)"
-msgstr ""
+msgstr "Nano (schwarz)"
 
 #: ../src/itdb_device.c:184
 msgid "Video (White)"
-msgstr ""
+msgstr "Video (weiß)"
 
 #: ../src/itdb_device.c:185
 msgid "Video (Black)"
-msgstr ""
+msgstr "Video (schwarz)"
 
 #: ../src/itdb_device.c:186
 msgid "Mobile (1)"
-msgstr ""
+msgstr "Mobiltelefon (1)"
 
 #: ../src/itdb_device.c:187
 msgid "Video U2"
-msgstr ""
+msgstr "Video U2"
 
 #: ../src/itdb_device.c:188
 msgid "Nano (Silver)"
-msgstr ""
+msgstr "Nano (silber)"
 
+# Nano (blau)
 #: ../src/itdb_device.c:189
 msgid "Nano (Blue)"
-msgstr ""
+msgstr "Nano (blau)"
 
 #: ../src/itdb_device.c:190
 msgid "Nano (Green)"
-msgstr ""
+msgstr "Nano (grün)"
 
 #: ../src/itdb_device.c:191
 msgid "Nano (Pink)"
-msgstr ""
+msgstr "Nano (pink)"
 
 #: ../src/itdb_device.c:198
 msgid "First Generation"
-msgstr ""
+msgstr "Erste Generation"
 
 #: ../src/itdb_device.c:199
 msgid "Second Generation"
-msgstr ""
+msgstr "Zweite Generation"
 
 #: ../src/itdb_device.c:200
 msgid "Third Generation"
-msgstr ""
+msgstr "Dritte Generation"
 
 #: ../src/itdb_device.c:201
 msgid "Fourth Generation"
-msgstr ""
+msgstr "Vierte Generation"
 
 #: ../src/itdb_device.c:202
 msgid "Fifth Generation"
-msgstr ""
+msgstr "Fünfte Generation"
 
 #: ../src/itdb_device.c:203
 msgid "Sixth Generation"
-msgstr ""
+msgstr "Sechste Generation"
 
 #: ../src/itdb_device.c:204
 msgid "Mobile Phone"
-msgstr ""
+msgstr "Mobiltelefon"
 
-#: ../src/itdb_device.c:449
-#, fuzzy, c-format
+#: ../src/itdb_device.c:450
+#, c-format
 msgid "Could not open '%s' for writing."
-msgstr "Fehler beim Öffnen von '%s' zum Schreiben (%s)."
+msgstr "'%s' konnte nicht zum Schreiben geöffnet werden."
 
-#: ../src/itdb_device.c:458
+#: ../src/itdb_device.c:459
 msgid "Device directory does not exist."
-msgstr ""
+msgstr "Das 'Device'-Verzeichnis existiert nicht."
 
-#: ../src/itdb_itunesdb.c:371
+#: ../src/itdb_itunesdb.c:419
 #, c-format
 msgid "Illegal seek to offset %ld (length %ld) in file '%s'."
 msgstr "Illegaler seek bei Offset %ld (Länge %ld) in Datei '%s'."
 
-#: ../src/itdb_itunesdb.c:825
+#: ../src/itdb_itunesdb.c:873
 #, c-format
 msgid "Not a Play Counts file: '%s' (missing mhdp header)."
 msgstr "Keine Play Counts Datei: '%s' (mhdp-Header fehlt)."
 
-#: ../src/itdb_itunesdb.c:840
+#: ../src/itdb_itunesdb.c:888
 #, c-format
 msgid "Play Counts file ('%s'): header length smaller than expected (%d<96)."
 msgstr "Play Counts Datei ('%s'): Headerlänge kleiner als erwarted (%d<96)."
 
-#: ../src/itdb_itunesdb.c:853
+#: ../src/itdb_itunesdb.c:902
 #, c-format
 msgid "Play Counts file ('%s'): entry length smaller than expected (%d<12)."
 msgstr ""
 "Play Counts Datei ('%s'): Länge der Einträge kleiner als erwartet (%d<12)."
 
-#: ../src/itdb_itunesdb.c:931
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:981
+#, c-format
 msgid "iTunesStats file ('%s'): entry length smaller than expected (%d<18)."
 msgstr ""
-"Play Counts Datei ('%s'): Länge der Einträge kleiner als erwartet (%d<12)."
+"iTunesStats Datei ('%s'): Länge der Einträge kleiner als erwartet (%d<18)."
 
-#: ../src/itdb_itunesdb.c:1250
+#: ../src/itdb_itunesdb.c:1300
 #, c-format
 msgid "iTunesDB corrupt: no MHOD at offset %ld in file '%s'."
 msgstr "iTunesDB beschädigt: kein MHOD bei Offset %ld in Datei '%s'."
 
-#: ../src/itdb_itunesdb.c:1407
+#: ../src/itdb_itunesdb.c:1462
 #, c-format
 msgid ""
 "Length of smart playlist rule field (%d) not as expected. Trying to continue "
@@ -223,12 +241,12 @@
 "Die Länge einer Regel (%d) einer intelligenten Wiedergabeliste weicht von "
 "der erwarteten Länge ab. Es wird versucht fortzufahren.\n"
 
-#: ../src/itdb_itunesdb.c:1439
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1494
+#, c-format
 msgid "iTunesDB corrupt: no SLst at offset %ld in file '%s'."
-msgstr "iTunesDB beschädigt: kein MHOD bei Offset %ld in Datei '%s'."
+msgstr "iTunesDB beschädigt: kein SLst-Eintrag bei Offset %ld in Datei '%s'."
 
-#: ../src/itdb_itunesdb.c:1452
+#: ../src/itdb_itunesdb.c:1507
 #, c-format
 msgid ""
 "Encountered unknown MHOD type (%d) while parsing the iTunesDB. Ignoring.\n"
@@ -238,98 +256,108 @@
 "versucht fortzufahren.\n"
 "\n"
 
-#: ../src/itdb_itunesdb.c:1514
+#: ../src/itdb_itunesdb.c:1577
 #, c-format
 msgid "iTunesDB corrupt: hunk length 0 for hunk at %ld in file '%s'."
 msgstr ""
 "iTunesDB beschädigt: Hunklänge ist Null für den Hunk an Offset %ld in Datei "
 "'%s'."
 
-#: ../src/itdb_itunesdb.c:1527
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1590
+#, c-format
 msgid ""
 "iTunesDB corrupt: no section '%s' found in section '%s' starting at %ld."
-msgstr "iTunesDB beschädigt: kein MHOD bei Offset %ld in Datei '%s'."
+msgstr ""
+"iTunesDB beschädigt: kein '%s'-Eintrag in Sektion '%s' (startend bei %ld) "
+"gefunden."
 
-#: ../src/itdb_itunesdb.c:1541
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1604
+#, c-format
 msgid ""
 "header length of '%s' smaller than expected (%d < %d) at offset %ld in file "
 "'%s'."
 msgstr ""
-"iTunesDB ('%s'): Headerlänge des mhsd-Hunks is kleiner als erwartet (%"
-"ld<32). Breche ab."
+"Header-Länge des Abschnitts '%s' ist kleiner als erwartet (%d < %d) an "
+"Offset %ld in Datei '%s'."
 
-#: ../src/itdb_itunesdb.c:1626
+#: ../src/itdb_itunesdb.c:1689
 #, c-format
 msgid "Not a iTunesDB: '%s' (missing mhdb header)."
 msgstr "Keine iTunesDB Datei: '%s' (kein mhdb-Header)."
 
-#: ../src/itdb_itunesdb.c:1643
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1706
+#, c-format
 msgid ""
 "iTunesDB ('%s'): header length of mhsd hunk smaller than expected (%d<32). "
 "Aborting."
 msgstr ""
-"iTunesDB ('%s'): Headerlänge des mhsd-Hunks is kleiner als erwartet (%"
-"ld<32). Breche ab."
+"iTunesDB ('%s'): Headerlänge des mhsd-Hunks is kleiner als erwartet (%d<32). "
+"Breche ab."
 
-#: ../src/itdb_itunesdb.c:1664
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1727
+#, c-format
 msgid "iTunesDB '%s' corrupt: mhsd expected at %ld."
-msgstr "iTunesDB beschädigt: mhyp bei Offset %ld in Datei '%s' gefunden."
+msgstr ""
+"Die iTunesDB '%s' ist beschädigt: bei Offset %ld wird ein mhsd-Abschnitt "
+"erwartet."
 
-#: ../src/itdb_itunesdb.c:1781
+#: ../src/itdb_itunesdb.c:1844
 #, c-format
 msgid "Number of MHODs in mhip at %ld inconsistent in file '%s'."
 msgstr ""
+"Anzahl der MHODs-Abschnitte in der mhip-Sektion an Offset %ld ist in der "
+"Datei '%s' nicht konsistent."
 
-#: ../src/itdb_itunesdb.c:1799
+#: ../src/itdb_itunesdb.c:1862
 #, c-format
 msgid "Itdb_Track ID '%d' not found.\n"
 msgstr "Itdb_Track ID '%d' nicht gefunden.\n"
 
-#: ../src/itdb_itunesdb.c:1956
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:2024
+#, c-format
 msgid "Number of MHODs in mhyp at %ld inconsistent in file '%s'."
-msgstr "iTunesDB beschädigt: mhyp bei Offset %ld in Datei '%s' gefunden."
+msgstr ""
+"Anzahl der MHOD-Abschnitte in der mhyp-Sektion bei Offset %ld in der Datei '%"
+"s' ist inkonsistent."
 
-#: ../src/itdb_itunesdb.c:1966
+#: ../src/itdb_itunesdb.c:2034
 msgid "Master-PL"
 msgstr "Haupt-PL"
 
-#: ../src/itdb_itunesdb.c:1970
+#: ../src/itdb_itunesdb.c:2038
 msgid "Podcasts"
-msgstr ""
+msgstr "Podcasts"
 
-#: ../src/itdb_itunesdb.c:1972
+#: ../src/itdb_itunesdb.c:2040
 msgid "Playlist"
 msgstr "Wiedergabeliste"
 
-#: ../src/itdb_itunesdb.c:1994
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:2062
+#, c-format
 msgid ""
 "iTunesDB corrupt: number of mhip sections inconsistent in mhyp starting at %"
 "ld in file '%s'."
-msgstr "iTunesDB beschädigt: mhyp bei Offset %ld in Datei '%s' gefunden."
+msgstr ""
+"Die iTunesDB ist beschädigt: die Anzahl der mhip-Sektionen im mhyp-Abschnit "
+"startend bei %ld in Datei '%s' ist inkonsistent."
 
-#: ../src/itdb_itunesdb.c:2279
+#: ../src/itdb_itunesdb.c:2375
 msgid "OTG Playlist"
 msgstr "OTG-Wiedergabeliste"
 
-#: ../src/itdb_itunesdb.c:2297
+#: ../src/itdb_itunesdb.c:2393
 #, c-format
 msgid "Not a OTG playlist file: '%s' (missing mhpo header)."
 msgstr "Keine OTG (On-The-Go) Wiedergabelistendatei: '%s' (mhpo-Header fehlt)."
 
-#: ../src/itdb_itunesdb.c:2311
+#: ../src/itdb_itunesdb.c:2407
 #, c-format
 msgid "OTG playlist file ('%s'): header length smaller than expected (%d<20)."
 msgstr ""
 "OTG (On-The-Go) Wiedergabelistendatei ('%s'): Headerlänger kleiner als "
 "erwartet (%d<20)."
 
-#: ../src/itdb_itunesdb.c:2323
+#: ../src/itdb_itunesdb.c:2419
 #, c-format
 msgid ""
 "OTG playlist file file ('%s'): entry length smaller than expected (%d<4)."
@@ -337,30 +365,29 @@
 "OTG (On-The-Go) Wiedergabelistendatei ('%s'): Länge der Einträge kleiner als "
 "erwartet (%d<4)."
 
-#: ../src/itdb_itunesdb.c:2358
+#: ../src/itdb_itunesdb.c:2454
 #, c-format
 msgid "OTG playlist file '%s': reference to non-existent track (%d)."
 msgstr ""
 "OTG (On-The-Go) Wiedergabelistendateii '%s' bezieht sich auf ein nicht "
 "existierendes Stück (%d)."
 
-#: ../src/itdb_itunesdb.c:2403
+#: ../src/itdb_itunesdb.c:2499
 #, c-format
 msgid "OTG Playlist %d"
 msgstr "OTG-Wiedergabeliste %d"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2471
-#, fuzzy
+#: ../src/itdb_itunesdb.c:2567
 msgid ""
 "iTunesDB corrupt: number of tracks (mhit hunks) inconsistent. Trying to "
 "continue.\n"
 msgstr ""
-"iTunesDB möglicherweise beschädigt: Anzahl der Stücke (mhit-Hunks) ist nicht "
+"Die iTunesDB ist beschädigt: Anzahl der Stücke (mhit-Hunks) ist nicht "
 "konsistent. Versuche fortzufahren.\n"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2534
+#: ../src/itdb_itunesdb.c:2630
 msgid ""
 "iTunesDB possibly corrupt: number of playlists (mhyp hunks) inconsistent. "
 "Trying to continue.\n"
@@ -368,123 +395,169 @@
 "iTunesDB möglicherweise beschädigt: Anzahl der Wiedergabelisten (mhyp-Hunks) "
 "ist nicht konsistent. Versuche fortzufahren.\n"
 
-#: ../src/itdb_itunesdb.c:2581
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:2677
+#, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find tracklist (no mhsd type 1 section "
 "found)"
 msgstr ""
-"iTunesDB '%s' beschädigt: bereits zwei Wiedergabelisten mhsds-Hunks "
-"gefunden. Breche ab."
+"Die iTunesDB '%s' ist beschädigt: die Trackliste konnte nicht gefunden "
+"werden (kein mhsd-Abschnitt des Typs 1 gefunden)."
 
-#: ../src/itdb_itunesdb.c:2610
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:2706
+#, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find playlists (no mhsd type 2 or type 3 "
 "sections found)"
 msgstr ""
-"iTunesDB '%s' beschädigt: bereits zwei Wiedergabelisten mhsds-Hunks "
-"gefunden. Breche ab."
+"Die iTunesDB '%s' ist beschädigt: die Playlisten konnten nicht gefunden "
+"werden (keine mhsd-Abschnitte des Typs 2 oder 3 gefunden)."
 
-#: ../src/itdb_itunesdb.c:2632
+#: ../src/itdb_itunesdb.c:2728
 #, c-format
 msgid "iTunes directory not found: '%s' (or similar)."
 msgstr ""
+"Das 'iTunes'-Verzeichnis konnte nicht gefunden werden: '%s' (oder ähnlich)."
 
-#: ../src/itdb_itunesdb.c:2649
+#: ../src/itdb_itunesdb.c:2745
 #, c-format
 msgid "Music directory not found: '%s' (or similar)."
 msgstr ""
+"Das 'Music'-Verzeichnis konnte nicht gefunden werden: '%s' (oder ähnlich)."
 
-#: ../src/itdb_itunesdb.c:2667
+#: ../src/itdb_itunesdb.c:2763
 #, c-format
 msgid "Control directory not found: '%s' (or similar)."
 msgstr ""
+"Das 'Control'-Verzeichnis konnte nicht gefunden werden: '%s' (oder ähnlich)."
 
-#: ../src/itdb_itunesdb.c:2740
+#: ../src/itdb_itunesdb.c:2836
 #, c-format
 msgid "File not found: '%s'."
 msgstr "Datei nicht gefunden: '%s'."
 
-#: ../src/itdb_itunesdb.c:3542
+#: ../src/itdb_itunesdb.c:3654
 #, c-format
 msgid "Cannot write mhod of type %d\n"
 msgstr "Schreiben eines mhod-Hunks vom Typ %d ist nicht unterstützt.\n"
 
-#: ../src/itdb_itunesdb.c:4098
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:4245
+#, c-format
 msgid "Opening of '%s' for writing failed (%s)."
-msgstr "Öffnen der Datei '%s' zum Schreiben ist fehlgeschlagen."
+msgstr "Öffnen der Datei '%s' zum Schreiben ist fehlgeschlagen (%s)."
 
-#: ../src/itdb_itunesdb.c:4109 ../src/itdb_itunesdb.c:4120
+#: ../src/itdb_itunesdb.c:4256 ../src/itdb_itunesdb.c:4267
 #, c-format
 msgid "Writing to '%s' failed (%s)."
 msgstr "Schreiben in die Datei '%s' ist fehlgeschlagen (%s)."
 
-#: ../src/itdb_itunesdb.c:4470
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:4617
+#, c-format
 msgid "Path not found: '%s' (or similar)."
-msgstr "Pfad nicht gefunden: '%s'."
+msgstr "Pfad nicht gefunden: '%s' (oder ähnlich)."
 
-#: ../src/itdb_itunesdb.c:4689
+#: ../src/itdb_itunesdb.c:4836
 #, c-format
 msgid "Error renaming '%s' to '%s' (%s)."
 msgstr "Fehler beim Umbenennen von '%s' nach '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4706 ../src/itdb_itunesdb.c:4723
+#: ../src/itdb_itunesdb.c:4853 ../src/itdb_itunesdb.c:4870
 #, c-format
 msgid "Error removing '%s' (%s)."
 msgstr "Fehler beim Entfernen von '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4909
+#: ../src/itdb_itunesdb.c:5056
 #, c-format
 msgid "No 'F..' directories found in '%s'."
 msgstr "No 'F..' directories were found in '%s'."
 
-#: ../src/itdb_itunesdb.c:4937
+#: ../src/itdb_itunesdb.c:5084
 #, c-format
 msgid "Path not found: '%s'."
 msgstr "Pfad nicht gefunden: '%s'."
 
-#: ../src/itdb_itunesdb.c:5096
+#: ../src/itdb_itunesdb.c:5243
 #, c-format
 msgid "Error opening '%s' for reading (%s)."
 msgstr "Fehler beim Öffnen von '%s' zum Lesen (%s)."
 
-#: ../src/itdb_itunesdb.c:5107
+#: ../src/itdb_itunesdb.c:5254
 #, c-format
 msgid "Error opening '%s' for writing (%s)."
 msgstr "Fehler beim Öffnen von '%s' zum Schreiben (%s)."
 
-#: ../src/itdb_itunesdb.c:5124
+#: ../src/itdb_itunesdb.c:5271
 #, c-format
 msgid "Error while reading from '%s' (%s)."
 msgstr "Fehler beim Lesen aus '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5140
+#: ../src/itdb_itunesdb.c:5287
 #, c-format
 msgid "Error while writing to '%s' (%s)."
 msgstr "Fehler beim Schreiben in die Datei '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5153 ../src/itdb_itunesdb.c:5163
+#: ../src/itdb_itunesdb.c:5300 ../src/itdb_itunesdb.c:5310
 #, c-format
 msgid "Error when closing '%s' (%s)."
 msgstr "Fehler beim Schließen der Datei '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5526
+#: ../src/itdb_itunesdb.c:5673
 msgid "iPod"
-msgstr ""
+msgstr "iPod"
 
-#: ../src/itdb_itunesdb.c:5919
+#: ../src/itdb_itunesdb.c:6066
 #, c-format
 msgid "Problem creating iPod directory or file: '%s'."
 msgstr ""
+"Problem beim Erstellen eines Verzeichnisses oder einer Datei auf dem iPod: '%"
+"s'."
 
-#: ../src/itdb_photoalbum.c:25
-#, fuzzy, c-format
+#: ../src/itdb_photoalbum.c:107
+#, c-format
 msgid "Photos directory not found: '%s' (or similar)."
-msgstr "Pfad nicht gefunden: '%s'."
+msgstr ""
+"Der Pfad zum Fotoverzeichnis konnte nicht gefunden werden: '%s' (oder "
+"ähnlich)."
 
+#: ../src/itdb_photoalbum.c:245 ../src/itdb_photoalbum.c:442
+msgid "Photo Library"
+msgstr "Fotoarchiv"
+
+#: ../src/itdb_photoalbum.c:357
+msgid "You need to specify the iPod model used before photos can be added."
+msgstr ""
+"Siem müssen das iPod-Model angeben, bevor Fotos hinzugefügt werden können."
+
+#: ../src/itdb_photoalbum.c:378
+#, c-format
+msgid ""
+"Your iPod does not seem to support photos. Maybe you need to specify the "
+"correct iPod model number? It is currently set to 'x%s' (%s/%s)."
+msgstr ""
+"Ihr iPod scheint Fotos nicht zu unterstützen. Eventuell müssen Sie auch nur "
+"das korrekte iPod-Model angeben. Zur Zeit haben Sie folgendes Modell "
+"eingestellt: 'x%s' (%s/%s)."
+
+#: ../src/itdb_photoalbum.c:390
+#, c-format
+msgid "Could not access file '%s'. Photo not added."
+msgstr "Konnte nicht auf die Datei '%s' zugreifen. Foto nicht hinzugefügt."
+
+#: ../src/itdb_photoalbum.c:430
+msgid ""
+"Unexpected error in itdb_photodb_add_photo_internal() while adding photo, "
+"please report."
+msgstr ""
+"Unerwarteter Fehler in itdb_photodb_add_photo_internal() während des "
+"Hinzufügens eines Fotos. Bitter teilen Sie uns diesen Vorgang mit."
+
+#: ../src/itdb_photoalbum.c:450
+msgid ""
+"Library compiled without gdk-pixbuf support. Picture support is disabled."
+msgstr ""
+"Die Bibliothek wurde ohne gdk-pixbuf-Unterstützung kompiliert. Fotos werden "
+"daher nicht unterstützt."
+
 #. New action!
 #: ../src/itdb_playlist.c:78
 #, c-format
@@ -492,64 +565,145 @@
 msgstr ""
 "Unbekannte Aktion (%d) in intelligenter Wiedergabeliste wird ignoriert.\n"
 
-#: ../tests/test-photos.c:116
-msgid "Usage to add photos:\n"
+#: ../tests/test-photos.c:39
+#, c-format
+msgid ""
+"Usage to add photos:\n"
+"  %s add <mountpoint> <albumname> [<filename(s)>]\n"
+"  <albumname> should be set to 'NULL' to add photos to the master photo "
+"album\n"
+"  (Photo Library) only. If you don't specify any filenames an empty album "
+"will\n"
+"  be created.\n"
 msgstr ""
+"Syntax, um Fotos hinzuzufügen:\n"
+"\n"
+"  %s add <Mountpoint> <Name des Albums> [<Dateiname(n)>]\n"
+"  <Name des Albums> sollte als 'NULL' angegeben, um Fotos zum nur Haupalbum\n"
+"  (Fotoarchiv) hinzuzufügen. Wenn keine Dateinamen angegeben werden, wird\n"
+"  ein leeres Album erstellt.\n"
 
-#: ../tests/test-photos.c:117
+#: ../tests/test-photos.c:40
 #, c-format
-msgid "%s <mountpoint> <albumname> <filename(s)>\n"
+msgid ""
+"Usage to dump all photos to <output_dir>:\n"
+"  %s dump <mountpoint> <output_dir>\n"
 msgstr ""
+"Syntax, um alle vorhandenen Fotos nach <Verzeichnis> zu kopieren:\n"
+"  %s dump <mountpoint> <Verzeichnis>\n"
 
-#: ../tests/test-photos.c:118
+#: ../tests/test-photos.c:41
+#, c-format
 msgid ""
-"albumname should be set to 'master' to add photos to the master photo album\n"
+"Usage to list all photos IDs to stdout:\n"
+"  %s list <mountpoint>\n"
 msgstr ""
+"Syntax,  um eine Liste der IDs aller vorhandenen Fotos auszugeben:\n"
+"  %s list <mountpoint>\n"
 
-#: ../tests/test-photos.c:119
-msgid "\n"
+#: ../tests/test-photos.c:42
+#, c-format
+msgid ""
+"Usage to remove photo IDs from Photo Library:\n"
+"  %s remove <mountpoint> <albumname> [<ID(s)>]\n"
+"  <albumname> should be set to 'NULL' to to remove photos from the iPod\n"
+"  altogether. If you don't specify any IDs, the photoalbum will be removed\n"
+"  instead.\n"
+"  WARNING: IDs may change when writing the PhotoDB file.\n"
 msgstr ""
+"Syntax, um Fotos aus dem Fotoarchiv zu entfernen:\n"
+"  %s remove <Mountpoint> <Name des Albums> [<ID(s)>]\n"
+"  <Name des Albums> sollte als 'Null' angegeben werden, um Fotos "
+"vollständig\n"
+"  vom iPod zu entfernen. Wenn keine IDs angegeben werden, wird stattdessen\n"
+"  das bezeichnete Fotoalbum entfernt.\n"
+"  Vorsicht: IDs können sich verändern, wenn die Datenbank geschrieben wird.\n"
 
-#: ../tests/test-photos.c:120
-msgid "Usage to dump all photos to <output_dir>:\n"
-msgstr ""
+#: ../tests/test-photos.c:126
+msgid "Wrong number of command line arguments.\n"
+msgstr "Falsche Anzahl an Kommandozeilenargumenten.\n"
 
-#: ../tests/test-photos.c:121
+#: ../tests/test-photos.c:135
 #, c-format
-msgid "%s dump <mountpoint> <output_dir>\n"
-msgstr ""
-
-#: ../tests/test-photos.c:133
-#, fuzzy, c-format
 msgid "Error creating '%s' (mkdir)\n"
-msgstr "Fehler beim Entfernen von '%s' (%s)."
+msgstr "Fehler beim Erstellen von '%s' (mkdir).\n"
 
-#: ../tests/test-photos.c:139
+#: ../tests/test-photos.c:141
 #, c-format
 msgid "Error: '%s' is not a directory\n"
-msgstr ""
+msgstr "Fehler: '%s' ist kein Verzeichnis\n"
 
-#: ../tests/test-photos.c:148
-#, fuzzy, c-format
+#: ../tests/test-photos.c:150 ../tests/test-photos.c:184
+#: ../tests/test-photos.c:313
+#, c-format
 msgid "Error reading iPod photo database (%s).\n"
-msgstr "Fehler beim Umbenennen von '%s' nach '%s' (%s)."
+msgstr "Fehler beim Lesen des iPod Fotobarchivs (%s).\n"
 
-#: ../tests/test-photos.c:154
+#: ../tests/test-photos.c:156 ../tests/test-photos.c:190
 msgid "Error reading iPod photo database.\n"
-msgstr ""
+msgstr "Fehler beim Lesen der iPod Fotodatenbank.\n"
 
-#: ../tests/test-photos.c:168
+#: ../tests/test-photos.c:174 ../tests/test-photos.c:233
+#: ../tests/test-photos.c:303 ../tests/test-photos.c:386
+msgid "Insufficient number of command line arguments.\n"
+msgstr "Unzureichende Anzahl von Kommandozeilenargumenten.\n"
+
+#: ../tests/test-photos.c:201
+msgid "<Unnamed>"
+msgstr "<Unbenannt>"
+
+#: ../tests/test-photos.c:216
+msgid "<No members>\n"
+msgstr "<Keine Einträge>\n"
+
+#: ../tests/test-photos.c:243
 #, c-format
 msgid ""
 "Error reading iPod photo database (%s).\n"
 "Will attempt to create a new database.\n"
 msgstr ""
+"Fehler beim Lesen der iPod Fotobibliothek (%s).\n"
+"Es wird versucht, eine neue Datenbank zu erstellen.\n"
 
-#: ../tests/test-photos.c:174
+#: ../tests/test-photos.c:249
 msgid ""
 "Error reading iPod photo database, will attempt to create a new database\n"
 msgstr ""
+"Fehler beim Lesen der iPod Fotodatenbank. Es wird versucht, eine neue "
+"Datenbank zu erstellen.\n"
 
+#: ../tests/test-photos.c:274
+#, c-format
+msgid "Error adding photo (%s) to photo database: %s\n"
+msgstr "Fehler beim Hinzufügen des Fotos (%s) zur Fotobibliothek: %s\n"
+
+#: ../tests/test-photos.c:320
+msgid "Error reading iPod photo database"
+msgstr "Fehler beim Lesen des iPod Fotoarchivs"
+
+#: ../tests/test-photos.c:331
+#, c-format
+msgid "Specified album '%s' not found. Aborting.\n"
+msgstr "Gewünschtes Album '%s' nicht gefunden. Breche ab.\n"
+
+#: ../tests/test-photos.c:343
+msgid "Cannot remove Photo Library playlist. Aborting.\n"
+msgstr ""
+"Es ist nicht möglich, die 'Fotoarchiv'-Wiedergabeliste zu entfernen. Breche "
+"ab.\n"
+
+#: ../tests/test-photos.c:364
+#, c-format
+msgid "Warning: could not find photo with ID <%d>. Skipping...\n"
+msgstr ""
+"Warnung: das Foto mit der ID <%d> konnte nicht gefunden werden. Ich mache "
+"mit dem nächsten Foto weiter...\n"
+
+#: ../tests/test-photos.c:410
+#, c-format
+msgid "Unknown command '%s'\n"
+msgstr "Unbekanntes Kommando: '%s'\n"
+
 #~ msgid "Writing to '%s' failed."
 #~ msgstr "Fehler beim Schreiben in die Datei '%s'."
 

Modified: libgpod/branches/upstream/current/po/es.po
===================================================================
--- libgpod/branches/upstream/current/po/es.po	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/po/es.po	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,37 +1,44 @@
-# translation of es.po to 
-# translation of gtkpod.po to Spanish
+# translation of libgpod.po to
+# translation of es.po to
 # This file is distributed under the same license as the gtkpod package.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER.
-# Alejandro Lamas Daviña <alejandro.lamas at ific.uv.es>, 2006.
 #
 #
+# Alejandro Lamas Daviña <alejandro.lamas at ific.uv.es>, 2006, 2007.
 msgid ""
 msgstr ""
-"Project-Id-Version: es\n"
+"Project-Id-Version: libgpod\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-24 18:02+0900\n"
-"PO-Revision-Date: 2006-07-29 22:01+0200\n"
+"POT-Creation-Date: 2007-01-15 22:30+0900\n"
+"PO-Revision-Date: 2007-01-15 01:20+0900\n"
 "Last-Translator: Alejandro Lamas Daviña <alejandro.lamas at ific.uv.es>\n"
 "Language-Team:  <es_ES>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: KBabel 1.9.1\n"
+"X-Generator: KBabel 1.11.4\n"
 
-#: ../src/db-artwork-parser.c:133
+#: ../src/db-artwork-parser.c:131
 #, c-format
 msgid "Unexpected mhod3 string type: %d\n"
 msgstr "Tipo de cadena mhod3 no esperado: %d\n"
 
-#: ../src/db-artwork-parser.c:360
+#: ../src/db-artwork-parser.c:265
 #, c-format
-msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"
+msgid "Could not find corresponding track (dbid: %s) for artwork entry.\n"
 msgstr ""
+"No se ha podido encontrar la pista correspondiente (dbid: %s) a la "
+"carátula.\n"
+
+#: ../src/db-artwork-parser.c:291
+#, c-format
+msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)\n"
+msgstr ""
 "El tamaño de las carátulas de iTunesDB y ArtworkDB no es consistente (%d+%d !"
-"= %d)"
+"= %d)\n"
 
-#: ../src/db-artwork-parser.c:515
+#: ../src/db-artwork-parser.c:459
 #, c-format
 msgid "Unexpected mhsd index: %d\n"
 msgstr "Índice mhsd no esperado: %d\n"
@@ -42,21 +49,30 @@
 msgstr ""
 "Tipo de imágen en mhni no esperado: tamaño: %ux%u (%d), desplazamiento: %d\n"
 
-#: ../src/itdb_artwork.c:306
+#: ../src/itdb_artwork.c:198
 #, c-format
+msgid "Could not access file '%s'."
+msgstr "No se ha podido acceder al fichero '%s'"
+
+#: ../src/itdb_artwork.c:215 ../src/itdb_artwork.c:276
+msgid "Artwork support not compiled into libgpod."
+msgstr "libgpod compilado sin soporte de carátulas."
+
+#: ../src/itdb_artwork.c:334
+#, c-format
 msgid "Illegal filename: '%s'.\n"
 msgstr "Nombre de fichero no válido: '%s'.\n"
 
-#: ../src/itdb_artwork.c:312
+#: ../src/itdb_artwork.c:340
 msgid "Mountpoint not set.\n"
 msgstr "Punto de montaje no configurado.\n"
 
-#: ../src/itdb_artwork.c:387
+#: ../src/itdb_artwork.c:493
 #, c-format
 msgid "Could not find on iPod: '%s'\n"
 msgstr "Fichero no encontrado en el iPod: '%s'\n"
 
-#: ../src/itdb_artwork.c:587
+#: ../src/itdb_artwork.c:701
 #, c-format
 msgid ""
 "Unable to retreive thumbnail (appears to be on iPod, but no image info "
@@ -135,27 +151,23 @@
 
 #: ../src/itdb_device.c:187
 msgid "Video U2"
-msgstr ""
+msgstr "Video U2"
 
 #: ../src/itdb_device.c:188
-#, fuzzy
 msgid "Nano (Silver)"
-msgstr "Mini (Plata)"
+msgstr "Nano (Plata)"
 
 #: ../src/itdb_device.c:189
-#, fuzzy
 msgid "Nano (Blue)"
-msgstr "Nano (Negro)"
+msgstr "Nano (Azul)"
 
 #: ../src/itdb_device.c:190
-#, fuzzy
 msgid "Nano (Green)"
-msgstr "Mini (Verde)"
+msgstr "Nano (Verde)"
 
 #: ../src/itdb_device.c:191
-#, fuzzy
 msgid "Nano (Pink)"
-msgstr "Mini (Rosa)"
+msgstr "Nano (Rosa)"
 
 #: ../src/itdb_device.c:198
 msgid "First Generation"
@@ -178,61 +190,60 @@
 msgstr "Quinta generación"
 
 #: ../src/itdb_device.c:203
-#, fuzzy
 msgid "Sixth Generation"
-msgstr "Quinta generación"
+msgstr "Sexta generación"
 
 #: ../src/itdb_device.c:204
 msgid "Mobile Phone"
 msgstr "Teléfono móvil"
 
-#: ../src/itdb_device.c:449
+#: ../src/itdb_device.c:450
 #, c-format
 msgid "Could not open '%s' for writing."
 msgstr "Error al abrir '%s' para su escritura."
 
-#: ../src/itdb_device.c:458
+#: ../src/itdb_device.c:459
 msgid "Device directory does not exist."
 msgstr "No existe el directorio del dispositivo."
 
-#: ../src/itdb_itunesdb.c:371
+#: ../src/itdb_itunesdb.c:419
 #, c-format
 msgid "Illegal seek to offset %ld (length %ld) in file '%s'."
 msgstr "Acceso ilegal al desplazamiento %ld (tamaño %ld) en el fichero '%s'."
 
-#: ../src/itdb_itunesdb.c:825
+#: ../src/itdb_itunesdb.c:873
 #, c-format
 msgid "Not a Play Counts file: '%s' (missing mhdp header)."
 msgstr "No es un fichero cuenta reproducciones: '%s' (falta cabecera mhdp)."
 
-#: ../src/itdb_itunesdb.c:840
+#: ../src/itdb_itunesdb.c:888
 #, c-format
 msgid "Play Counts file ('%s'): header length smaller than expected (%d<96)."
 msgstr ""
 "Fichero cuenta reproducciones ('%s'): tamaño de la cabecera menor del "
 "esperado (%d<96)."
 
-#: ../src/itdb_itunesdb.c:853
+#: ../src/itdb_itunesdb.c:902
 #, c-format
 msgid "Play Counts file ('%s'): entry length smaller than expected (%d<12)."
 msgstr ""
 "Fichero cuenta reproducciones ('%s'): tamaño de la entrada menor del "
 "esperado (%d<12)."
 
-#: ../src/itdb_itunesdb.c:931
+#: ../src/itdb_itunesdb.c:981
 #, c-format
 msgid "iTunesStats file ('%s'): entry length smaller than expected (%d<18)."
 msgstr ""
 "Fichero cuenta reproducciones ('%s'): tamaño de la entrada menor del "
 "esperado (%d<18)."
 
-#: ../src/itdb_itunesdb.c:1250
+#: ../src/itdb_itunesdb.c:1300
 #, c-format
 msgid "iTunesDB corrupt: no MHOD at offset %ld in file '%s'."
 msgstr ""
 "iTunesDB corrupta: no hay MHOD en el desplazamiento %ld del fichero '%s'."
 
-#: ../src/itdb_itunesdb.c:1407
+#: ../src/itdb_itunesdb.c:1462
 #, c-format
 msgid ""
 "Length of smart playlist rule field (%d) not as expected. Trying to continue "
@@ -241,13 +252,13 @@
 "La longitud del campo de reglas (%d) de la lista de reproducción inteligente "
 "no es la esperada. Intentando continuar.\n"
 
-#: ../src/itdb_itunesdb.c:1439
+#: ../src/itdb_itunesdb.c:1494
 #, c-format
 msgid "iTunesDB corrupt: no SLst at offset %ld in file '%s'."
 msgstr ""
 "iTunesDB corrupta: no hay SLst en el desplazamiento %ld del fichero '%s'."
 
-#: ../src/itdb_itunesdb.c:1452
+#: ../src/itdb_itunesdb.c:1507
 #, c-format
 msgid ""
 "Encountered unknown MHOD type (%d) while parsing the iTunesDB. Ignoring.\n"
@@ -257,12 +268,12 @@
 "Ignorando.\n"
 "\n"
 
-#: ../src/itdb_itunesdb.c:1514
+#: ../src/itdb_itunesdb.c:1577
 #, c-format
 msgid "iTunesDB corrupt: hunk length 0 for hunk at %ld in file '%s'."
 msgstr "iTunesDB corrupta: tamaño 0 para la zona %ld en el fichero '%s'."
 
-#: ../src/itdb_itunesdb.c:1527
+#: ../src/itdb_itunesdb.c:1590
 #, c-format
 msgid ""
 "iTunesDB corrupt: no section '%s' found in section '%s' starting at %ld."
@@ -270,7 +281,7 @@
 "iTunesDB corrupta: no se ha encontrado la sección '%s' en la sección '%s' "
 "empezando en %ld."
 
-#: ../src/itdb_itunesdb.c:1541
+#: ../src/itdb_itunesdb.c:1604
 #, c-format
 msgid ""
 "header length of '%s' smaller than expected (%d < %d) at offset %ld in file "
@@ -279,12 +290,12 @@
 "Tamaño de la cabecera de '%s' menor del esperado (%d<%d). en el "
 "desplazamiento %ld del fichero '%s'."
 
-#: ../src/itdb_itunesdb.c:1626
+#: ../src/itdb_itunesdb.c:1689
 #, c-format
 msgid "Not a iTunesDB: '%s' (missing mhdb header)."
 msgstr "No es un fichero iTunesDB: '%s' (falta la cabecera mhdb)."
 
-#: ../src/itdb_itunesdb.c:1643
+#: ../src/itdb_itunesdb.c:1706
 #, c-format
 msgid ""
 "iTunesDB ('%s'): header length of mhsd hunk smaller than expected (%d<32). "
@@ -293,41 +304,41 @@
 "iTunesDB ('%s'): tamaño de la cabecera de la zona mhsd menor del esperado (%"
 "d<32). Cancelando."
 
-#: ../src/itdb_itunesdb.c:1664
+#: ../src/itdb_itunesdb.c:1727
 #, c-format
 msgid "iTunesDB '%s' corrupt: mhsd expected at %ld."
 msgstr "iTunesDB '%s' corrupta: se esperaba mhsd en %ld."
 
-#: ../src/itdb_itunesdb.c:1781
+#: ../src/itdb_itunesdb.c:1844
 #, c-format
 msgid "Number of MHODs in mhip at %ld inconsistent in file '%s'."
 msgstr ""
 "El número de MHODs en mhip en %ld no es consistente en el fichero '%s'."
 
-#: ../src/itdb_itunesdb.c:1799
+#: ../src/itdb_itunesdb.c:1862
 #, c-format
 msgid "Itdb_Track ID '%d' not found.\n"
 msgstr "Itdb_Track ID '%d' no encontrada.\n"
 
-#: ../src/itdb_itunesdb.c:1956
+#: ../src/itdb_itunesdb.c:2024
 #, c-format
 msgid "Number of MHODs in mhyp at %ld inconsistent in file '%s'."
 msgstr ""
 "El número de MHODs en mhyp en %ld no es consistente en el fichero '%s'."
 
-#: ../src/itdb_itunesdb.c:1966
+#: ../src/itdb_itunesdb.c:2034
 msgid "Master-PL"
 msgstr "Lista de reproducción principal"
 
-#: ../src/itdb_itunesdb.c:1970
+#: ../src/itdb_itunesdb.c:2038
 msgid "Podcasts"
 msgstr "Podcasts"
 
-#: ../src/itdb_itunesdb.c:1972
+#: ../src/itdb_itunesdb.c:2040
 msgid "Playlist"
 msgstr "Lista de reproducción"
 
-#: ../src/itdb_itunesdb.c:1994
+#: ../src/itdb_itunesdb.c:2062
 #, c-format
 msgid ""
 "iTunesDB corrupt: number of mhip sections inconsistent in mhyp starting at %"
@@ -336,23 +347,23 @@
 "iTunesDB corrupta: el número de secciones mhip no es consistente en mhyp "
 "empezando en %ld en el fichero '%s'."
 
-#: ../src/itdb_itunesdb.c:2279
+#: ../src/itdb_itunesdb.c:2375
 msgid "OTG Playlist"
 msgstr "Lista de reproducción OTG"
 
-#: ../src/itdb_itunesdb.c:2297
+#: ../src/itdb_itunesdb.c:2393
 #, c-format
 msgid "Not a OTG playlist file: '%s' (missing mhpo header)."
 msgstr "No es una lista de reproducción: '%s' (falta la cabecera mhpo)."
 
-#: ../src/itdb_itunesdb.c:2311
+#: ../src/itdb_itunesdb.c:2407
 #, c-format
 msgid "OTG playlist file ('%s'): header length smaller than expected (%d<20)."
 msgstr ""
 "Fichero de lista de reproducción OTG ('%s'): tamaño de la cabecera menor del "
 "esperado (%d<20)."
 
-#: ../src/itdb_itunesdb.c:2323
+#: ../src/itdb_itunesdb.c:2419
 #, c-format
 msgid ""
 "OTG playlist file file ('%s'): entry length smaller than expected (%d<4)."
@@ -360,20 +371,20 @@
 "Fichero de lista de reproducción OTG ('%s'): tamaño de la entrada menor del "
 "esperado (%d<4)."
 
-#: ../src/itdb_itunesdb.c:2358
+#: ../src/itdb_itunesdb.c:2454
 #, c-format
 msgid "OTG playlist file '%s': reference to non-existent track (%d)."
 msgstr ""
 "La lista de reproducción OTG '%s': hace referencia a una pista no existente "
 "(%d)."
 
-#: ../src/itdb_itunesdb.c:2403
+#: ../src/itdb_itunesdb.c:2499
 #, c-format
 msgid "OTG Playlist %d"
 msgstr "Lista de reproducción OTG %d"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2471
+#: ../src/itdb_itunesdb.c:2567
 msgid ""
 "iTunesDB corrupt: number of tracks (mhit hunks) inconsistent. Trying to "
 "continue.\n"
@@ -382,7 +393,7 @@
 "Intentando continuar.\n"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2534
+#: ../src/itdb_itunesdb.c:2630
 msgid ""
 "iTunesDB possibly corrupt: number of playlists (mhyp hunks) inconsistent. "
 "Trying to continue.\n"
@@ -390,7 +401,7 @@
 "Es posible que iTunesDB esté corrupta: el número de listas de reproducción "
 "(zonas mhyp) no es consistente. Intentando continuar.\n"
 
-#: ../src/itdb_itunesdb.c:2581
+#: ../src/itdb_itunesdb.c:2677
 #, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find tracklist (no mhsd type 1 section "
@@ -399,7 +410,7 @@
 "iTunesDB '%s' corrputa: No se ha encontrado la lista de pistas (no se ha "
 "encontrado la sección mhsd de tipo 1)"
 
-#: ../src/itdb_itunesdb.c:2610
+#: ../src/itdb_itunesdb.c:2706
 #, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find playlists (no mhsd type 2 or type 3 "
@@ -408,105 +419,142 @@
 "iTunesDB '%s' corrputa: No se han encontrado las listas de reproducción (no "
 "se han encontrado las secciones mhsd de tipo 2 o tipo 3)"
 
-#: ../src/itdb_itunesdb.c:2632
+#: ../src/itdb_itunesdb.c:2728
 #, c-format
 msgid "iTunes directory not found: '%s' (or similar)."
 msgstr "Directorio 'iTunes' no encontrado: '%s' (o similar)."
 
-#: ../src/itdb_itunesdb.c:2649
+#: ../src/itdb_itunesdb.c:2745
 #, c-format
 msgid "Music directory not found: '%s' (or similar)."
 msgstr "Directorio 'Music' no encontrado: '%s' (o similar)"
 
-#: ../src/itdb_itunesdb.c:2667
+#: ../src/itdb_itunesdb.c:2763
 #, c-format
 msgid "Control directory not found: '%s' (or similar)."
 msgstr "Directorio 'iPod Control' no encontrado: '%s' (o similar)."
 
-#: ../src/itdb_itunesdb.c:2740
+#: ../src/itdb_itunesdb.c:2836
 #, c-format
 msgid "File not found: '%s'."
 msgstr "Fichero no encontrado: '%s'."
 
-#: ../src/itdb_itunesdb.c:3542
+#: ../src/itdb_itunesdb.c:3654
 #, c-format
 msgid "Cannot write mhod of type %d\n"
 msgstr "No se puede escribir el mhod de tipo %d\n"
 
-#: ../src/itdb_itunesdb.c:4098
+#: ../src/itdb_itunesdb.c:4245
 #, c-format
 msgid "Opening of '%s' for writing failed (%s)."
 msgstr "No se ha podido abrir '%s' para su escritura (%s)."
 
-#: ../src/itdb_itunesdb.c:4109 ../src/itdb_itunesdb.c:4120
+#: ../src/itdb_itunesdb.c:4256 ../src/itdb_itunesdb.c:4267
 #, c-format
 msgid "Writing to '%s' failed (%s)."
 msgstr "No se ha podido escribir '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4470
+#: ../src/itdb_itunesdb.c:4617
 #, c-format
 msgid "Path not found: '%s' (or similar)."
 msgstr "Ruta no encontrada: '%s' (o similar)."
 
-#: ../src/itdb_itunesdb.c:4689
+#: ../src/itdb_itunesdb.c:4836
 #, c-format
 msgid "Error renaming '%s' to '%s' (%s)."
 msgstr "Error al renombrar '%s' a '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4706 ../src/itdb_itunesdb.c:4723
+#: ../src/itdb_itunesdb.c:4853 ../src/itdb_itunesdb.c:4870
 #, c-format
 msgid "Error removing '%s' (%s)."
 msgstr "Error al borrar '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4909
+#: ../src/itdb_itunesdb.c:5056
 #, c-format
 msgid "No 'F..' directories found in '%s'."
 msgstr "No se ha encontrado ningún directorio en '%s'."
 
-#: ../src/itdb_itunesdb.c:4937
+#: ../src/itdb_itunesdb.c:5084
 #, c-format
 msgid "Path not found: '%s'."
 msgstr "Ruta no encontrada: '%s'."
 
-#: ../src/itdb_itunesdb.c:5096
+#: ../src/itdb_itunesdb.c:5243
 #, c-format
 msgid "Error opening '%s' for reading (%s)."
 msgstr "Error al abrir '%s' para su lectura (%s)."
 
-#: ../src/itdb_itunesdb.c:5107
+#: ../src/itdb_itunesdb.c:5254
 #, c-format
 msgid "Error opening '%s' for writing (%s)."
 msgstr "Error al abrir '%s' para su escritura (%s)."
 
-#: ../src/itdb_itunesdb.c:5124
+#: ../src/itdb_itunesdb.c:5271
 #, c-format
 msgid "Error while reading from '%s' (%s)."
 msgstr "Error durante la lectura de '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5140
+#: ../src/itdb_itunesdb.c:5287
 #, c-format
 msgid "Error while writing to '%s' (%s)."
 msgstr "Error durante la escritura de '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5153 ../src/itdb_itunesdb.c:5163
+#: ../src/itdb_itunesdb.c:5300 ../src/itdb_itunesdb.c:5310
 #, c-format
 msgid "Error when closing '%s' (%s)."
 msgstr "Error al cerrar '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5526
+#: ../src/itdb_itunesdb.c:5673
 msgid "iPod"
 msgstr "iPod"
 
-#: ../src/itdb_itunesdb.c:5919
+#: ../src/itdb_itunesdb.c:6066
 #, c-format
 msgid "Problem creating iPod directory or file: '%s'."
 msgstr "Problema al crear el directorio iPod o el fichero: '%s'."
 
-#: ../src/itdb_photoalbum.c:25
+#: ../src/itdb_photoalbum.c:107
 #, c-format
 msgid "Photos directory not found: '%s' (or similar)."
 msgstr "Directorio 'Photos' no encontrado: '%s' (o similar)."
 
+#: ../src/itdb_photoalbum.c:245 ../src/itdb_photoalbum.c:442
+msgid "Photo Library"
+msgstr "Biblioteca de fotos"
+
+#: ../src/itdb_photoalbum.c:357
+msgid "You need to specify the iPod model used before photos can be added."
+msgstr ""
+"Es necesario especificar el modelo del iPod antes de poder añadir fotos."
+
+#: ../src/itdb_photoalbum.c:378
+#, c-format
+msgid ""
+"Your iPod does not seem to support photos. Maybe you need to specify the "
+"correct iPod model number? It is currently set to 'x%s' (%s/%s)."
+msgstr ""
+"Parece que el iPod no soporta fotos. Quizás sea necesario especificar el "
+"modelo de iPod correcto. Actualmente está configurado como 'x%s' (%s/%s)."
+
+#: ../src/itdb_photoalbum.c:390
+#, c-format
+msgid "Could not access file '%s'. Photo not added."
+msgstr "No se ha podido acceder al fichero '%s'. No se ha añadido la foto."
+
+#: ../src/itdb_photoalbum.c:430
+msgid ""
+"Unexpected error in itdb_photodb_add_photo_internal() while adding photo, "
+"please report."
+msgstr ""
+"Error inesperado en  itdb_photodb_add_photo_internal() mientras se añadía la "
+"foto. Informe, por favor."
+
+#: ../src/itdb_photoalbum.c:450
+msgid ""
+"Library compiled without gdk-pixbuf support. Picture support is disabled."
+msgstr ""
+"Biblioteca compilada sin soporte gdk-pixbuf. Soporte de imágenes desactivado."
+
 #. New action!
 #: ../src/itdb_playlist.c:78
 #, c-format
@@ -515,55 +563,98 @@
 "Acción desconocida (%d) en la lista de reproducción inteligente. Será "
 "ignorada.\n"
 
-#: ../tests/test-photos.c:116
-msgid "Usage to add photos:\n"
-msgstr "Uso para añadir fotos:\n"
+#: ../tests/test-photos.c:39
+#, c-format
+msgid ""
+"Usage to add photos:\n"
+"  %s add <mountpoint> <albumname> [<filename(s)>]\n"
+"  <albumname> should be set to 'NULL' to add photos to the master photo "
+"album\n"
+"  (Photo Library) only. If you don't specify any filenames an empty album "
+"will\n"
+"  be created.\n"
+msgstr ""
+"Uso para añadir fotos:\n"
+"  %s add <punto_de_montaje> <nombre_de_álbum> [<nombre_de_fichero(s)>]\n"
+"  Para añadir fotos al álbum maestro de fotos, debe ponerse "
+"<nombre_de_álbum> como 'NULL' \n"
+"  (Sólo para la biblioteca de fotos). Si no se especifica ningún nombre, se "
+"creará\n"
+" un álbum vacío.\n"
 
-#: ../tests/test-photos.c:117
+#: ../tests/test-photos.c:40
 #, c-format
-msgid "%s <mountpoint> <albumname> <filename(s)>\n"
-msgstr "%s <punto de montaje> <nombre del álbum> <fichero(s)>\n"
+msgid ""
+"Usage to dump all photos to <output_dir>:\n"
+"  %s dump <mountpoint> <output_dir>\n"
+msgstr ""
+"Uso para volcar todas las fotos a <directorio_de_salida>:\n"
+"  %s dump <punto_de_montaje> <directorio_de_salida>\n"
 
-#: ../tests/test-photos.c:118
+#: ../tests/test-photos.c:41
+#, c-format
 msgid ""
-"albumname should be set to 'master' to add photos to the master photo album\n"
+"Usage to list all photos IDs to stdout:\n"
+"  %s list <mountpoint>\n"
 msgstr ""
-"'Nombre del álbum' debe marcarse como 'maestro' para añadir fotos al álbum "
-"de fotos maestro\n"
+"Uso para listar todas las IDs de las fotos a la salida estándar:\n"
+"  %s list <punto_de_montaje>\n"
 
-#: ../tests/test-photos.c:119
-msgid "\n"
-msgstr "\n"
+#: ../tests/test-photos.c:42
+#, c-format
+msgid ""
+"Usage to remove photo IDs from Photo Library:\n"
+"  %s remove <mountpoint> <albumname> [<ID(s)>]\n"
+"  <albumname> should be set to 'NULL' to to remove photos from the iPod\n"
+"  altogether. If you don't specify any IDs, the photoalbum will be removed\n"
+"  instead.\n"
+"  WARNING: IDs may change when writing the PhotoDB file.\n"
+msgstr ""
+"Uso para borrar IDs de fotos de la biblioteca de fotos:\n"
+"  %s remove <punto_de_montaje> <nombre_de_álbum> [<ID(s)>]\n"
+"  Para borrar las fotos también del iPod, debe ponerse <nombre_de_álbum> "
+"como 'NULL'.\n"
+"  En caso de no especificar ningún ID, se borrará el álbum de fotos\n"
+"  AVISO: los IDs pueden cambiar cuando se escribe el fichero PhotoDB.\n"
 
-#: ../tests/test-photos.c:120
-msgid "Usage to dump all photos to <output_dir>:\n"
-msgstr "Uso para volcar todas las fotos a <directorio de salida>:\n"
+#: ../tests/test-photos.c:126
+msgid "Wrong number of command line arguments.\n"
+msgstr "Número de argumentos incorrecto.\n"
 
-#: ../tests/test-photos.c:121
+#: ../tests/test-photos.c:135
 #, c-format
-msgid "%s dump <mountpoint> <output_dir>\n"
-msgstr "%s volcar <punto de montaje> <directorio de salida>\n"
-
-#: ../tests/test-photos.c:133
-#, c-format
 msgid "Error creating '%s' (mkdir)\n"
 msgstr "Error al crear '%s' (mkdir)\n"
 
-#: ../tests/test-photos.c:139
+#: ../tests/test-photos.c:141
 #, c-format
 msgid "Error: '%s' is not a directory\n"
 msgstr "Error: '%s' no es un directorio\n"
 
-#: ../tests/test-photos.c:148
+#: ../tests/test-photos.c:150 ../tests/test-photos.c:184
+#: ../tests/test-photos.c:313
 #, c-format
 msgid "Error reading iPod photo database (%s).\n"
 msgstr "Error al leer la base de datos de fotos del iPod (%s).\n"
 
-#: ../tests/test-photos.c:154
+#: ../tests/test-photos.c:156 ../tests/test-photos.c:190
 msgid "Error reading iPod photo database.\n"
 msgstr "Error al leer la base de datos de fotos del iPod.\n"
 
-#: ../tests/test-photos.c:168
+#: ../tests/test-photos.c:174 ../tests/test-photos.c:233
+#: ../tests/test-photos.c:303 ../tests/test-photos.c:386
+msgid "Insufficient number of command line arguments.\n"
+msgstr "Número de argumentos insuficiente.\n"
+
+#: ../tests/test-photos.c:201
+msgid "<Unnamed>"
+msgstr "<Sin nombre>"
+
+#: ../tests/test-photos.c:216
+msgid "<No members>\n"
+msgstr "<No miembros>\n"
+
+#: ../tests/test-photos.c:243
 #, c-format
 msgid ""
 "Error reading iPod photo database (%s).\n"
@@ -572,9 +663,39 @@
 "Error al leer la base de datos de fotos del iPod (%s).\n"
 "Se intentará crear una nueva base de datos.\n"
 
-#: ../tests/test-photos.c:174
+#: ../tests/test-photos.c:249
 msgid ""
 "Error reading iPod photo database, will attempt to create a new database\n"
 msgstr ""
 "Error al leer la base de datos de fotos del iPod, se intentará crear una "
 "nueva base de datos\n"
+
+#: ../tests/test-photos.c:274
+#, c-format
+msgid "Error adding photo (%s) to photo database: %s\n"
+msgstr "Error al añadir la foto (%s) a la base de datos de fotos: %s\n"
+
+#: ../tests/test-photos.c:320
+msgid "Error reading iPod photo database"
+msgstr "Error al leer la base de datos de fotos del iPod"
+
+#: ../tests/test-photos.c:331
+#, c-format
+msgid "Specified album '%s' not found. Aborting.\n"
+msgstr "No se ha encontrado el álbum especificado '%s'. Cancelando.\n"
+
+#: ../tests/test-photos.c:343
+msgid "Cannot remove Photo Library playlist. Aborting.\n"
+msgstr ""
+"No se puede borrar la lista de reproducción de la biblioteca de fotos. "
+"Cancelando.\n"
+
+#: ../tests/test-photos.c:364
+#, fuzzy, c-format
+msgid "Warning: could not find photo with ID <%d>. Skipping...\n"
+msgstr "Error: no se puede encontrar la foto con ID <%d>. Ignorando...\n"
+
+#: ../tests/test-photos.c:410
+#, c-format
+msgid "Unknown command '%s'\n"
+msgstr "Comando desconocido '%s'\n"

Modified: libgpod/branches/upstream/current/po/fr.po
===================================================================
--- libgpod/branches/upstream/current/po/fr.po	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/po/fr.po	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,16 +1,16 @@
 # French language translation for gtkpod 
-# Copyright (C) 2005 Éric Lassauge
-# Éric Lassauge <lassauge at users.sf.net>, 2005.
+# Copyright (C) 2005-2006 Éric Lassauge
+# Éric Lassauge <lassauge at users.sf.net>, 2006.
 # Copyright (C) 2003 David Le Brun
 # David Le Brun <david at dyn-ns.net>, 2003.
 #
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: gtkpod 0.94\n"
+"Project-Id-Version: libgpod-0.4.0Report-Msgid-Bugs-To: \n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-24 18:02+0900\n"
-"PO-Revision-Date: 2005-09-14 21:46+0900\n"
+"POT-Creation-Date: 2007-01-15 22:30+0900\n"
+"PO-Revision-Date: 2006-12-05 11:35+01000\n"
 "Last-Translator: Éric Lassauge <lassauge at users.sf.net>\n"
 "Language-Team: FR\n"
 "MIME-Version: 1.0\n"
@@ -18,209 +18,226 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n>1;\n"
 
-#: ../src/db-artwork-parser.c:133
+#: ../src/db-artwork-parser.c:131
 #, c-format
 msgid "Unexpected mhod3 string type: %d\n"
-msgstr ""
+msgstr "Type de chaîne mhod3 inattendu : %d\n"
 
-#: ../src/db-artwork-parser.c:360
+#: ../src/db-artwork-parser.c:265
 #, c-format
-msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"
+msgid "Could not find corresponding track (dbid: %s) for artwork entry.\n"
 msgstr ""
 
-#: ../src/db-artwork-parser.c:515
+#: ../src/db-artwork-parser.c:291
+#, fuzzy, c-format
+msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)\n"
+msgstr ""
+"Tailles inconsistantes pour l'image entre iTunesDB et ArtworkDB (%d+%d != %d)"
+
+#: ../src/db-artwork-parser.c:459
 #, c-format
 msgid "Unexpected mhsd index: %d\n"
-msgstr ""
+msgstr "Index mhsd inattendu : %d\n"
 
 #: ../src/db-image-parser.c:118
 #, c-format
 msgid "Unexpected image type in mhni: size: %ux%u (%d), offset: %d\n"
+msgstr "Type d'image inattendu dans mhni : taille : %ux%u (%d), offset : %d\n"
+
+#: ../src/itdb_artwork.c:198
+#, fuzzy, c-format
+msgid "Could not access file '%s'."
+msgstr "Impossible de trouver sur le iPod : «%s»\n"
+
+#: ../src/itdb_artwork.c:215 ../src/itdb_artwork.c:276
+msgid "Artwork support not compiled into libgpod."
 msgstr ""
 
-#: ../src/itdb_artwork.c:306
+#: ../src/itdb_artwork.c:334
 #, c-format
 msgid "Illegal filename: '%s'.\n"
-msgstr ""
+msgstr "Nom de fichier illégal : «%s».\n"
 
-#: ../src/itdb_artwork.c:312
+#: ../src/itdb_artwork.c:340
 msgid "Mountpoint not set.\n"
-msgstr ""
+msgstr "Point de montage non défini.\n"
 
-#: ../src/itdb_artwork.c:387
-#, fuzzy, c-format
+#: ../src/itdb_artwork.c:493
+#, c-format
 msgid "Could not find on iPod: '%s'\n"
-msgstr "Fichier introuvable : «%s»."
+msgstr "Impossible de trouver sur le iPod : «%s»\n"
 
-#: ../src/itdb_artwork.c:587
+#: ../src/itdb_artwork.c:701
 #, c-format
 msgid ""
 "Unable to retreive thumbnail (appears to be on iPod, but no image info "
 "available): type: %d, filename: '%s'\n"
 msgstr ""
+"Impossible de récupérer l'imagette (apparemment sur l'iPod, mais aucune info "
+"d'image disponible : type : %d, fichier : «%s»\n"
 
 #: ../src/itdb_device.c:170
 msgid "Invalid"
-msgstr ""
+msgstr "Invalide"
 
 #: ../src/itdb_device.c:171 ../src/itdb_device.c:197
 msgid "Unknown"
-msgstr ""
+msgstr "Inconnu"
 
 #: ../src/itdb_device.c:172
 msgid "Color"
-msgstr ""
+msgstr "Couleur"
 
 #: ../src/itdb_device.c:173
 msgid "Color U2"
-msgstr ""
+msgstr "U2 Couleur"
 
 #: ../src/itdb_device.c:174
 msgid "Grayscale"
-msgstr ""
+msgstr "Niveaux de gris"
 
 #: ../src/itdb_device.c:175
 msgid "Grayscale U2"
-msgstr ""
+msgstr "U2 niveaux de gris"
 
 #: ../src/itdb_device.c:176
 msgid "Mini (Silver)"
-msgstr ""
+msgstr "Mini (Argent)"
 
 #: ../src/itdb_device.c:177
 msgid "Mini (Blue)"
-msgstr ""
+msgstr "Mini (Bleu)"
 
 #: ../src/itdb_device.c:178
 msgid "Mini (Pink)"
-msgstr ""
+msgstr "Mini (Rose)"
 
 #: ../src/itdb_device.c:179
 msgid "Mini (Green)"
-msgstr ""
+msgstr "Mini (Vert)"
 
 #: ../src/itdb_device.c:180
 msgid "Mini (Gold)"
-msgstr ""
+msgstr "Mini (Or)"
 
 #: ../src/itdb_device.c:181
 msgid "Shuffle"
-msgstr ""
+msgstr "Shuffle"
 
 #: ../src/itdb_device.c:182
 msgid "Nano (White)"
-msgstr ""
+msgstr "Nano (Blanc)"
 
 #: ../src/itdb_device.c:183
 msgid "Nano (Black)"
-msgstr ""
+msgstr "Nano (Noir)"
 
 #: ../src/itdb_device.c:184
 msgid "Video (White)"
-msgstr ""
+msgstr "Vidéo (Blanc)"
 
 #: ../src/itdb_device.c:185
 msgid "Video (Black)"
-msgstr ""
+msgstr "Vidéo (Noir)"
 
 #: ../src/itdb_device.c:186
 msgid "Mobile (1)"
-msgstr ""
+msgstr "Mobile (1)"
 
 #: ../src/itdb_device.c:187
 msgid "Video U2"
-msgstr ""
+msgstr "U2 Vidéo"
 
 #: ../src/itdb_device.c:188
 msgid "Nano (Silver)"
-msgstr ""
+msgstr "Nano (Argent)"
 
 #: ../src/itdb_device.c:189
 msgid "Nano (Blue)"
-msgstr ""
+msgstr "Nano (Bleu)"
 
 #: ../src/itdb_device.c:190
 msgid "Nano (Green)"
-msgstr ""
+msgstr "Nano (Vert)"
 
 #: ../src/itdb_device.c:191
 msgid "Nano (Pink)"
-msgstr ""
+msgstr "Nano (Rose)"
 
 #: ../src/itdb_device.c:198
 msgid "First Generation"
-msgstr ""
+msgstr "Premiére Génération"
 
 #: ../src/itdb_device.c:199
 msgid "Second Generation"
-msgstr ""
+msgstr "Seconde Génération"
 
 #: ../src/itdb_device.c:200
 msgid "Third Generation"
-msgstr ""
+msgstr "Troisième Génération"
 
 #: ../src/itdb_device.c:201
 msgid "Fourth Generation"
-msgstr ""
+msgstr "Quatrième Génération"
 
 #: ../src/itdb_device.c:202
 msgid "Fifth Generation"
-msgstr ""
+msgstr "Cinquième Génération"
 
 #: ../src/itdb_device.c:203
 msgid "Sixth Generation"
-msgstr ""
+msgstr "Sixième Génération"
 
 #: ../src/itdb_device.c:204
 msgid "Mobile Phone"
-msgstr ""
+msgstr "Téléphone Mobile"
 
-#: ../src/itdb_device.c:449
-#, fuzzy, c-format
+#: ../src/itdb_device.c:450
+#, c-format
 msgid "Could not open '%s' for writing."
-msgstr "Ne peut ouvrir en écriture le fichier «%s» (%s)."
+msgstr "Ne peut ouvrir en écriture le fichier «%s»."
 
-#: ../src/itdb_device.c:458
+#: ../src/itdb_device.c:459
 msgid "Device directory does not exist."
-msgstr ""
+msgstr "Le répertoire «Device» n'existe pas."
 
-#: ../src/itdb_itunesdb.c:371
+#: ../src/itdb_itunesdb.c:419
 #, c-format
 msgid "Illegal seek to offset %ld (length %ld) in file '%s'."
 msgstr "Erreur de flux à l'offset %ld (longueur %ld) dans le fichier «%s»."
 
-#: ../src/itdb_itunesdb.c:825
+#: ../src/itdb_itunesdb.c:873
 #, c-format
 msgid "Not a Play Counts file: '%s' (missing mhdp header)."
-msgstr "«%s» n»est pas un fichier de compteurs (entête mhdp manquant)"
+msgstr "«%s» n'est pas un fichier de compteurs (entête mhdp manquant)"
 
-#: ../src/itdb_itunesdb.c:840
+#: ../src/itdb_itunesdb.c:888
 #, c-format
 msgid "Play Counts file ('%s'): header length smaller than expected (%d<96)."
 msgstr ""
-"Fichier de compteurs ('%s') : longueur de l'entête plus petite que prévue (%"
-"d<96)."
+"Fichier de compteurs («%s») : longueur de l'entête plus petite que prévue (%"
+"d < 96)."
 
-#: ../src/itdb_itunesdb.c:853
+#: ../src/itdb_itunesdb.c:902
 #, c-format
 msgid "Play Counts file ('%s'): entry length smaller than expected (%d<12)."
 msgstr ""
-"Fichier de compteur ('%s') : longueur des données plus petite que prévue (%"
-"d<12)."
+"Fichier de compteur («%s») : longueur des données plus petite que prévue (%"
+"d < 12)."
 
-#: ../src/itdb_itunesdb.c:931
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:981
+#, c-format
 msgid "iTunesStats file ('%s'): entry length smaller than expected (%d<18)."
 msgstr ""
-"Fichier de compteur ('%s') : longueur des données plus petite que prévue (%"
-"d<12)."
+"Fichier iTunesStats («%s») : longueur des données plus petite que prévue (%"
+"d < 18)."
 
-#: ../src/itdb_itunesdb.c:1250
+#: ../src/itdb_itunesdb.c:1300
 #, c-format
 msgid "iTunesDB corrupt: no MHOD at offset %ld in file '%s'."
 msgstr "Corruption d'iTunesDB : pas de MHOD à l'offset %ld du fichier «%s»."
 
-#: ../src/itdb_itunesdb.c:1407
+#: ../src/itdb_itunesdb.c:1462
 #, c-format
 msgid ""
 "Length of smart playlist rule field (%d) not as expected. Trying to continue "
@@ -229,137 +246,141 @@
 "Longueur du champ de la règle (%d) de la liste intelligente inattendue. "
 "Tentative pour continuer quand même.\n"
 
-#: ../src/itdb_itunesdb.c:1439
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1494
+#, c-format
 msgid "iTunesDB corrupt: no SLst at offset %ld in file '%s'."
-msgstr "Corruption d'iTunesDB : pas de MHOD à l'offset %ld du fichier «%s»."
+msgstr "Corruption d'iTunesDB : pas de SLst à l'offset %ld du fichier «%s»."
 
-#: ../src/itdb_itunesdb.c:1452
+#: ../src/itdb_itunesdb.c:1507
 #, c-format
 msgid ""
 "Encountered unknown MHOD type (%d) while parsing the iTunesDB. Ignoring.\n"
 "\n"
-msgstr ""
-"Type MHOD inconnu (%d) lors du parcours de iTunesDB. Ignorance de l'erreur.\n"
+msgstr "Type MHOD inconnu (%d) lors du parcours de iTunesDB. Erreur ignorée.\n"
 
-#: ../src/itdb_itunesdb.c:1514
+#: ../src/itdb_itunesdb.c:1577
 #, c-format
 msgid "iTunesDB corrupt: hunk length 0 for hunk at %ld in file '%s'."
 msgstr "Corruption d'iTunesDB : longueur 0 à %ld du fichier «%s»."
 
-#: ../src/itdb_itunesdb.c:1527
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1590
+#, c-format
 msgid ""
 "iTunesDB corrupt: no section '%s' found in section '%s' starting at %ld."
-msgstr "Corruption d'iTunesDB : pas de MHOD à l'offset %ld du fichier «%s»."
+msgstr ""
+"Corruption d'iTunesDB : pas de section «%s» dans la section «%s» débutant à "
+"l'offset %ld."
 
-#: ../src/itdb_itunesdb.c:1541
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1604
+#, c-format
 msgid ""
 "header length of '%s' smaller than expected (%d < %d) at offset %ld in file "
 "'%s'."
 msgstr ""
-"iTunesDB ('%s') : longueur de l'entête mhsd plus petite que prévue (%ld<32). "
-"Interruption."
+"longueur de l'entête «%s» plus petite que prévue (%d <  %d) à l'offset %ld "
+"du fichier «%s»."
 
-#: ../src/itdb_itunesdb.c:1626
+#: ../src/itdb_itunesdb.c:1689
 #, c-format
 msgid "Not a iTunesDB: '%s' (missing mhdb header)."
-msgstr "«%s» n»est pas un fichier iTunesDB (entête mhdb manquante)"
+msgstr "«%s» n'est pas un fichier iTunesDB (entête mhdb manquante)."
 
-#: ../src/itdb_itunesdb.c:1643
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1706
+#, c-format
 msgid ""
 "iTunesDB ('%s'): header length of mhsd hunk smaller than expected (%d<32). "
 "Aborting."
 msgstr ""
-"iTunesDB ('%s') : longueur de l'entête mhsd plus petite que prévue (%ld<32). "
-"Interruption."
+"iTunesDB («%s») : longueur de l'entête mhsd plus petite que prévue (%"
+"d < 32). Interruption."
 
-#: ../src/itdb_itunesdb.c:1664
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:1727
+#, c-format
 msgid "iTunesDB '%s' corrupt: mhsd expected at %ld."
-msgstr "Corruption d'iTunesDB : trouvé mhyp à %ld du fichier «%s»."
+msgstr "Corruption d'iTunesDB «%s» : mhsd attendu à l'offset %ld."
 
-#: ../src/itdb_itunesdb.c:1781
+#: ../src/itdb_itunesdb.c:1844
 #, c-format
 msgid "Number of MHODs in mhip at %ld inconsistent in file '%s'."
 msgstr ""
+"Nombre de MHODs dans mhip à l'offset %ld inconsistant dans le fichier «%s»."
 
-#: ../src/itdb_itunesdb.c:1799
+#: ../src/itdb_itunesdb.c:1862
 #, c-format
 msgid "Itdb_Track ID '%d' not found.\n"
-msgstr "Itdb_Track ID «%d» non trouvé.\n"
+msgstr "Itdb_Track ID «%d» introuvable.\n"
 
-#: ../src/itdb_itunesdb.c:1956
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:2024
+#, c-format
 msgid "Number of MHODs in mhyp at %ld inconsistent in file '%s'."
-msgstr "Corruption d'iTunesDB : trouvé mhyp à %ld du fichier «%s»."
+msgstr ""
+"Nombre de MHODs dans mhyp à l'offset %ld inconsistant dans le fichier «%s»."
 
-#: ../src/itdb_itunesdb.c:1966
+#: ../src/itdb_itunesdb.c:2034
 msgid "Master-PL"
 msgstr "Liste principale"
 
-#: ../src/itdb_itunesdb.c:1970
+#: ../src/itdb_itunesdb.c:2038
 msgid "Podcasts"
-msgstr ""
+msgstr "Podcasts"
 
-#: ../src/itdb_itunesdb.c:1972
+#: ../src/itdb_itunesdb.c:2040
 msgid "Playlist"
 msgstr "Liste de lecture"
 
-#: ../src/itdb_itunesdb.c:1994
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:2062
+#, c-format
 msgid ""
 "iTunesDB corrupt: number of mhip sections inconsistent in mhyp starting at %"
 "ld in file '%s'."
-msgstr "Corruption d'iTunesDB : trouvé mhyp à %ld du fichier «%s»."
+msgstr ""
+"Corruption d'iTunesDB : nombre de sections mhip inconsistant dans mhyp à "
+"l'offset %ld du fichier «%s»."
 
-#: ../src/itdb_itunesdb.c:2279
+#: ../src/itdb_itunesdb.c:2375
 msgid "OTG Playlist"
 msgstr "Liste de lecture OTG"
 
-#: ../src/itdb_itunesdb.c:2297
+#: ../src/itdb_itunesdb.c:2393
 #, c-format
 msgid "Not a OTG playlist file: '%s' (missing mhpo header)."
 msgstr ""
-"Le fichier '%s' n'est pas un fichier de liste OTG (entête mhpo manquant)."
+"Le fichier «%s» n'est pas un fichier de liste OTG (entête mhpo manquant)."
 
-#: ../src/itdb_itunesdb.c:2311
+#: ../src/itdb_itunesdb.c:2407
 #, c-format
 msgid "OTG playlist file ('%s'): header length smaller than expected (%d<20)."
-msgstr "Fichier de liste OTG («%s») : entête plus petit que prévu (%d<20)."
+msgstr "Fichier de liste OTG («%s») : entête plus petit que prévu (%d < 20)."
 
-#: ../src/itdb_itunesdb.c:2323
+#: ../src/itdb_itunesdb.c:2419
 #, c-format
 msgid ""
 "OTG playlist file file ('%s'): entry length smaller than expected (%d<4)."
 msgstr ""
-"Fichier de liste OTG ('%s') : longueur de données plus petite que prévue (%"
-"d<4)."
+"Fichier de liste OTG («%s») : longueur de données plus petite que prévue (%"
+"d < 4)."
 
-#: ../src/itdb_itunesdb.c:2358
+#: ../src/itdb_itunesdb.c:2454
 #, c-format
 msgid "OTG playlist file '%s': reference to non-existent track (%d)."
 msgstr "Fichier de liste OTG «%s» : référence à un morceau inexistant (%d)."
 
-#: ../src/itdb_itunesdb.c:2403
+#: ../src/itdb_itunesdb.c:2499
 #, c-format
 msgid "OTG Playlist %d"
 msgstr "Liste de lecture OTG %d"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2471
-#, fuzzy
+#: ../src/itdb_itunesdb.c:2567
 msgid ""
 "iTunesDB corrupt: number of tracks (mhit hunks) inconsistent. Trying to "
 "continue.\n"
 msgstr ""
-"Corruption possible de iTunesDB : nombre de fichiers (mhit) incohérent. "
-"Tentative pour continuer quand même.\n"
+"Corruption d'iTunesDB : nombre de morceaux (mhit) incohérent. Tentative pour "
+"continuer quand même.\n"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2534
+#: ../src/itdb_itunesdb.c:2630
 msgid ""
 "iTunesDB possibly corrupt: number of playlists (mhyp hunks) inconsistent. "
 "Trying to continue.\n"
@@ -367,199 +388,296 @@
 "Corruption possible d'iTunesDB : nombre de listes (mhyp) incohérent. "
 "Tentative pour continuer quand même.\n"
 
-#: ../src/itdb_itunesdb.c:2581
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:2677
+#, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find tracklist (no mhsd type 1 section "
 "found)"
 msgstr ""
-"Corruption de iTunesDB ('%s') : déjà trouvés deux listes mhsds -- abandon."
+"Corruption de iTunesDB («%s») : impossible de trouver la liste des morceaux "
+"(pas de section mhsd de type 1)"
 
-#: ../src/itdb_itunesdb.c:2610
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:2706
+#, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find playlists (no mhsd type 2 or type 3 "
 "sections found)"
 msgstr ""
-"Corruption de iTunesDB ('%s') : déjà trouvés deux listes mhsds -- abandon."
+"Corruption de iTunesDB («%s») :  impossible de trouver les listes de lecture "
+"(pas de section mhsd de type 1 ou 3)"
 
-#: ../src/itdb_itunesdb.c:2632
+#: ../src/itdb_itunesdb.c:2728
 #, c-format
 msgid "iTunes directory not found: '%s' (or similar)."
-msgstr ""
+msgstr "Répertoire iTunes introuvable : «%s» (ou similaire)."
 
-#: ../src/itdb_itunesdb.c:2649
+#: ../src/itdb_itunesdb.c:2745
 #, c-format
 msgid "Music directory not found: '%s' (or similar)."
-msgstr ""
+msgstr "Répertoire «Music» introuvable : «%s» (ou similaire)."
 
-#: ../src/itdb_itunesdb.c:2667
+#: ../src/itdb_itunesdb.c:2763
 #, c-format
 msgid "Control directory not found: '%s' (or similar)."
-msgstr ""
+msgstr "Répertoire de contrôle introuvable :  «%s» (ou similaire)."
 
-#: ../src/itdb_itunesdb.c:2740
+#: ../src/itdb_itunesdb.c:2836
 #, c-format
 msgid "File not found: '%s'."
 msgstr "Fichier introuvable : «%s»."
 
-#: ../src/itdb_itunesdb.c:3542
+#: ../src/itdb_itunesdb.c:3654
 #, c-format
 msgid "Cannot write mhod of type %d\n"
 msgstr "Impossible d'écrire mhod du type %d\n"
 
-#: ../src/itdb_itunesdb.c:4098
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:4245
+#, c-format
 msgid "Opening of '%s' for writing failed (%s)."
-msgstr "Échec de l'ouverture en écriture de «%s»."
+msgstr "Échec de l'ouverture en écriture de «%s» (%s)."
 
-#: ../src/itdb_itunesdb.c:4109 ../src/itdb_itunesdb.c:4120
+#: ../src/itdb_itunesdb.c:4256 ../src/itdb_itunesdb.c:4267
 #, c-format
 msgid "Writing to '%s' failed (%s)."
 msgstr "Échec de l'écriture dans «%s» (%s)."
 
-#: ../src/itdb_itunesdb.c:4470
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:4617
+#, c-format
 msgid "Path not found: '%s' (or similar)."
-msgstr "Chemin non trouvé : «%s»."
+msgstr "Chemin introuvable : «%s» (ou similaire)."
 
-#: ../src/itdb_itunesdb.c:4689
+#: ../src/itdb_itunesdb.c:4836
 #, c-format
 msgid "Error renaming '%s' to '%s' (%s)."
 msgstr "Impossible de renommer «%s» en «%s» (%s)."
 
-#: ../src/itdb_itunesdb.c:4706 ../src/itdb_itunesdb.c:4723
+#: ../src/itdb_itunesdb.c:4853 ../src/itdb_itunesdb.c:4870
 #, c-format
 msgid "Error removing '%s' (%s)."
 msgstr "Erreur de suppression du fichier «%s» (%s)."
 
-#: ../src/itdb_itunesdb.c:4909
+#: ../src/itdb_itunesdb.c:5056
 #, c-format
 msgid "No 'F..' directories found in '%s'."
-msgstr ""
+msgstr "Répertoires «F..» introuvables dans «%s»."
 
-#: ../src/itdb_itunesdb.c:4937
+#: ../src/itdb_itunesdb.c:5084
 #, c-format
 msgid "Path not found: '%s'."
-msgstr "Chemin non trouvé : «%s»."
+msgstr "Chemin introuvable : «%s»."
 
-#: ../src/itdb_itunesdb.c:5096
+#: ../src/itdb_itunesdb.c:5243
 #, c-format
 msgid "Error opening '%s' for reading (%s)."
-msgstr "Ne peut ouvrir en lecture le fichier «%s» (%s)."
+msgstr "Échec de l'ouverture en lecture de «%s» (%s)."
 
-#: ../src/itdb_itunesdb.c:5107
+#: ../src/itdb_itunesdb.c:5254
 #, c-format
 msgid "Error opening '%s' for writing (%s)."
-msgstr "Ne peut ouvrir en écriture le fichier «%s» (%s)."
+msgstr "Échec de l'ouverture en écriture de «%s» (%s)."
 
-#: ../src/itdb_itunesdb.c:5124
+#: ../src/itdb_itunesdb.c:5271
 #, c-format
 msgid "Error while reading from '%s' (%s)."
-msgstr "Erreur lors de la lecture à partir de : %s (%s)."
+msgstr "Erreur lors de la lecture à partir de «%s» (%s)."
 
-#: ../src/itdb_itunesdb.c:5140
+#: ../src/itdb_itunesdb.c:5287
 #, c-format
 msgid "Error while writing to '%s' (%s)."
-msgstr "Erreur d'écriture dans «%s» (%s)."
+msgstr "Erreur lors de l'écriture dans «%s» (%s)."
 
-#: ../src/itdb_itunesdb.c:5153 ../src/itdb_itunesdb.c:5163
+#: ../src/itdb_itunesdb.c:5300 ../src/itdb_itunesdb.c:5310
 #, c-format
 msgid "Error when closing '%s' (%s)."
-msgstr "Erreur à la fermeture «%s» (%s)."
+msgstr "Erreur à la fermeture de «%s» (%s)."
 
-#: ../src/itdb_itunesdb.c:5526
+#: ../src/itdb_itunesdb.c:5673
 msgid "iPod"
-msgstr ""
+msgstr "iPod"
 
-#: ../src/itdb_itunesdb.c:5919
+#: ../src/itdb_itunesdb.c:6066
 #, c-format
 msgid "Problem creating iPod directory or file: '%s'."
-msgstr ""
+msgstr "Problème à la création du répertoire ou du fichier iPod : «%s»."
 
-#: ../src/itdb_photoalbum.c:25
-#, fuzzy, c-format
+#: ../src/itdb_photoalbum.c:107
+#, c-format
 msgid "Photos directory not found: '%s' (or similar)."
-msgstr "Chemin non trouvé : «%s»."
+msgstr "Répertoire «Photos» introuvable : «%s» (ou similaire)."
 
+#: ../src/itdb_photoalbum.c:245 ../src/itdb_photoalbum.c:442
+msgid "Photo Library"
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:357
+msgid "You need to specify the iPod model used before photos can be added."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:378
+#, c-format
+msgid ""
+"Your iPod does not seem to support photos. Maybe you need to specify the "
+"correct iPod model number? It is currently set to 'x%s' (%s/%s)."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:390
+#, c-format
+msgid "Could not access file '%s'. Photo not added."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:430
+msgid ""
+"Unexpected error in itdb_photodb_add_photo_internal() while adding photo, "
+"please report."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:450
+msgid ""
+"Library compiled without gdk-pixbuf support. Picture support is disabled."
+msgstr ""
+
 #. New action!
 #: ../src/itdb_playlist.c:78
 #, c-format
 msgid "Unknown action (%d) in smart playlist will be ignored.\n"
 msgstr "L'action inconnue (%d) dans la liste intelligente sera ignorée.\n"
 
-#: ../tests/test-photos.c:116
-msgid "Usage to add photos:\n"
+#: ../tests/test-photos.c:39
+#, c-format
+msgid ""
+"Usage to add photos:\n"
+"  %s add <mountpoint> <albumname> [<filename(s)>]\n"
+"  <albumname> should be set to 'NULL' to add photos to the master photo "
+"album\n"
+"  (Photo Library) only. If you don't specify any filenames an empty album "
+"will\n"
+"  be created.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:117
-#, c-format
-msgid "%s <mountpoint> <albumname> <filename(s)>\n"
+#: ../tests/test-photos.c:40
+#, fuzzy, c-format
+msgid ""
+"Usage to dump all photos to <output_dir>:\n"
+"  %s dump <mountpoint> <output_dir>\n"
 msgstr ""
+"Utilisation pour copier toutes les photos dans <répertoire_de_copie> :\n"
 
-#: ../tests/test-photos.c:118
+#: ../tests/test-photos.c:41
+#, fuzzy, c-format
 msgid ""
-"albumname should be set to 'master' to add photos to the master photo album\n"
+"Usage to list all photos IDs to stdout:\n"
+"  %s list <mountpoint>\n"
 msgstr ""
+"Utilisation pour copier toutes les photos dans <répertoire_de_copie> :\n"
 
-#: ../tests/test-photos.c:119
-msgid "\n"
+#: ../tests/test-photos.c:42
+#, c-format
+msgid ""
+"Usage to remove photo IDs from Photo Library:\n"
+"  %s remove <mountpoint> <albumname> [<ID(s)>]\n"
+"  <albumname> should be set to 'NULL' to to remove photos from the iPod\n"
+"  altogether. If you don't specify any IDs, the photoalbum will be removed\n"
+"  instead.\n"
+"  WARNING: IDs may change when writing the PhotoDB file.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:120
-msgid "Usage to dump all photos to <output_dir>:\n"
+#: ../tests/test-photos.c:126
+msgid "Wrong number of command line arguments.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:121
+#: ../tests/test-photos.c:135
 #, c-format
-msgid "%s dump <mountpoint> <output_dir>\n"
-msgstr ""
-
-#: ../tests/test-photos.c:133
-#, fuzzy, c-format
 msgid "Error creating '%s' (mkdir)\n"
-msgstr "Erreur de suppression du fichier «%s» (%s)."
+msgstr "Erreur à la création de «%s» (mkdir)\n"
 
-#: ../tests/test-photos.c:139
+#: ../tests/test-photos.c:141
 #, c-format
 msgid "Error: '%s' is not a directory\n"
-msgstr ""
+msgstr "Erreur : «%s» n'est pas un répertoire\n"
 
-#: ../tests/test-photos.c:148
-#, fuzzy, c-format
+#: ../tests/test-photos.c:150 ../tests/test-photos.c:184
+#: ../tests/test-photos.c:313
+#, c-format
 msgid "Error reading iPod photo database (%s).\n"
-msgstr "Impossible de renommer «%s» en «%s» (%s)."
+msgstr "Erreur à la lecture de la base de données des photos iPod (%s).\n"
 
-#: ../tests/test-photos.c:154
+#: ../tests/test-photos.c:156 ../tests/test-photos.c:190
 msgid "Error reading iPod photo database.\n"
+msgstr "Erreur à la lecture de la base de données des photos iPod.\n"
+
+#: ../tests/test-photos.c:174 ../tests/test-photos.c:233
+#: ../tests/test-photos.c:303 ../tests/test-photos.c:386
+msgid "Insufficient number of command line arguments.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:168
+#: ../tests/test-photos.c:201
+msgid "<Unnamed>"
+msgstr ""
+
+#: ../tests/test-photos.c:216
+msgid "<No members>\n"
+msgstr ""
+
+#: ../tests/test-photos.c:243
 #, c-format
 msgid ""
 "Error reading iPod photo database (%s).\n"
 "Will attempt to create a new database.\n"
 msgstr ""
+"Erreur à la lecture de la base de données des photos iPod (%s).\n"
+"Tentative de créer une nouvelle base de données.\n"
 
-#: ../tests/test-photos.c:174
+#: ../tests/test-photos.c:249
 msgid ""
 "Error reading iPod photo database, will attempt to create a new database\n"
 msgstr ""
+"Erreur à la lecture de la base de données des photos iPod, Tentative de "
+"créer une nouvelle base de données.\n"
 
-#~ msgid "Writing to '%s' failed."
-#~ msgstr "Erreur d'écriture du fichier «%s»."
+#: ../tests/test-photos.c:274
+#, fuzzy, c-format
+msgid "Error adding photo (%s) to photo database: %s\n"
+msgstr "Erreur à la lecture de la base de données des photos iPod (%s).\n"
 
-#~ msgid "Did not find SLst hunk as expected. Trying to continue.\n"
-#~ msgstr ""
-#~ "Ne peut trouver le SLst attendu. Tentative pour continuer quand même.\n"
+#: ../tests/test-photos.c:320
+#, fuzzy
+msgid "Error reading iPod photo database"
+msgstr "Erreur à la lecture de la base de données des photos iPod.\n"
 
-#~ msgid "Database in memory corrupt (track pointer == NULL). Aborting export."
-#~ msgstr ""
-#~ "Base de données en mémoire corrompue (track pointer == NULL). Abandon de "
-#~ "l'export."
+#: ../tests/test-photos.c:331
+#, c-format
+msgid "Specified album '%s' not found. Aborting.\n"
+msgstr ""
 
+#: ../tests/test-photos.c:343
+msgid "Cannot remove Photo Library playlist. Aborting.\n"
+msgstr ""
+
+#: ../tests/test-photos.c:364
+#, c-format
+msgid "Warning: could not find photo with ID <%d>. Skipping...\n"
+msgstr ""
+
+#: ../tests/test-photos.c:410
+#, c-format
+msgid "Unknown command '%s'\n"
+msgstr ""
+
+#~ msgid "Usage to add photos:\n"
+#~ msgstr "Utilisation pour ajouter des photos :\n"
+
+#~ msgid "%s <mountpoint> <albumname> <filename(s)>\n"
+#~ msgstr "%s <point_de_montage> <album> <fichier(s)>\n"
+
 #~ msgid ""
-#~ "Database in memory corrupt (playlist pointer == NULL). Aborting export."
+#~ "albumname should be set to 'master' to add photos to the master photo "
+#~ "album\n"
 #~ msgstr ""
-#~ "Base de données en mémoire corrompue (playlist pointer == NULL). Abandon "
-#~ "de l'export."
+#~ "Le nom de l'album doit être «master» pour ajouter des photos dans l'album "
+#~ "photo principal\n"
+
+#~ msgid "\n"
+#~ msgstr "\n"
+
+#~ msgid "%s dump <mountpoint> <output_dir>\n"
+#~ msgstr "%s dump <point_de_montage> <répertoire_de_copie>\n"

Modified: libgpod/branches/upstream/current/po/he.po
===================================================================
--- libgpod/branches/upstream/current/po/he.po	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/po/he.po	2007-01-25 10:43:09 UTC (rev 166)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: gtkpod\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-24 18:02+0900\n"
+"POT-Creation-Date: 2007-01-15 22:30+0900\n"
 "PO-Revision-Date: 2005-08-02 21:19+0300\n"
 "Last-Translator: Assaf Gillat\n"
 "Language-Team: HEBREW <kde-il at yahoogroups.com>\n"
@@ -17,18 +17,23 @@
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Generator: KBabel 1.9.1\n"
 
-#: ../src/db-artwork-parser.c:133
+#: ../src/db-artwork-parser.c:131
 #, c-format
 msgid "Unexpected mhod3 string type: %d\n"
 msgstr ""
 
-#: ../src/db-artwork-parser.c:360
+#: ../src/db-artwork-parser.c:265
 #, c-format
-msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"
+msgid "Could not find corresponding track (dbid: %s) for artwork entry.\n"
 msgstr ""
 
-#: ../src/db-artwork-parser.c:515
+#: ../src/db-artwork-parser.c:291
 #, c-format
+msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)\n"
+msgstr ""
+
+#: ../src/db-artwork-parser.c:459
+#, c-format
 msgid "Unexpected mhsd index: %d\n"
 msgstr ""
 
@@ -37,21 +42,30 @@
 msgid "Unexpected image type in mhni: size: %ux%u (%d), offset: %d\n"
 msgstr ""
 
-#: ../src/itdb_artwork.c:306
+#: ../src/itdb_artwork.c:198
+#, fuzzy, c-format
+msgid "Could not access file '%s'."
+msgstr "קובץ לא קיים: '%s'."
+
+#: ../src/itdb_artwork.c:215 ../src/itdb_artwork.c:276
+msgid "Artwork support not compiled into libgpod."
+msgstr ""
+
+#: ../src/itdb_artwork.c:334
 #, c-format
 msgid "Illegal filename: '%s'.\n"
 msgstr ""
 
-#: ../src/itdb_artwork.c:312
+#: ../src/itdb_artwork.c:340
 msgid "Mountpoint not set.\n"
 msgstr ""
 
-#: ../src/itdb_artwork.c:387
+#: ../src/itdb_artwork.c:493
 #, fuzzy, c-format
 msgid "Could not find on iPod: '%s'\n"
 msgstr "קובץ לא קיים: '%s'."
 
-#: ../src/itdb_artwork.c:587
+#: ../src/itdb_artwork.c:701
 #, c-format
 msgid ""
 "Unable to retreive thumbnail (appears to be on iPod, but no image info "
@@ -174,46 +188,46 @@
 msgid "Mobile Phone"
 msgstr ""
 
-#: ../src/itdb_device.c:449
+#: ../src/itdb_device.c:450
 #, fuzzy, c-format
 msgid "Could not open '%s' for writing."
 msgstr "תקלה בפתיחת '%s' לכתיבה (%s)."
 
-#: ../src/itdb_device.c:458
+#: ../src/itdb_device.c:459
 msgid "Device directory does not exist."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:371
+#: ../src/itdb_itunesdb.c:419
 #, c-format
 msgid "Illegal seek to offset %ld (length %ld) in file '%s'."
 msgstr "חיפוש לא חוקי בהיסט %ld (אורך %ld) בקובץ '%s'."
 
-#: ../src/itdb_itunesdb.c:825
+#: ../src/itdb_itunesdb.c:873
 #, c-format
 msgid "Not a Play Counts file: '%s' (missing mhdp header)."
 msgstr "זהו לא קובץ ספירת השמעה: '%s' (חסר תחילית mhdp)"
 
-#: ../src/itdb_itunesdb.c:840
+#: ../src/itdb_itunesdb.c:888
 #, c-format
 msgid "Play Counts file ('%s'): header length smaller than expected (%d<96)."
 msgstr "קובץ ספירת השמעה ('%s'): אורך תחילית קטן מהצפוי (%d<96)."
 
-#: ../src/itdb_itunesdb.c:853
+#: ../src/itdb_itunesdb.c:902
 #, c-format
 msgid "Play Counts file ('%s'): entry length smaller than expected (%d<12)."
 msgstr "קובץ ספירת השמעה ('%s'): אורך רשומה קטן מהצפוי (%d<12)."
 
-#: ../src/itdb_itunesdb.c:931
+#: ../src/itdb_itunesdb.c:981
 #, fuzzy, c-format
 msgid "iTunesStats file ('%s'): entry length smaller than expected (%d<18)."
 msgstr "קובץ ספירת השמעה ('%s'): אורך רשומה קטן מהצפוי (%d<12)."
 
-#: ../src/itdb_itunesdb.c:1250
+#: ../src/itdb_itunesdb.c:1300
 #, c-format
 msgid "iTunesDB corrupt: no MHOD at offset %ld in file '%s'."
 msgstr "iTunesDB שבור: אין MHOD בהיסט %ld בקובץ '%s'."
 
-#: ../src/itdb_itunesdb.c:1407
+#: ../src/itdb_itunesdb.c:1462
 #, c-format
 msgid ""
 "Length of smart playlist rule field (%d) not as expected. Trying to continue "
@@ -221,12 +235,12 @@
 msgstr ""
 "אורך שדה של חוק (%d) רשימת השמעה חכמה הוא לא כצפוי. מנסה להמשיך בכל זאת.\n"
 
-#: ../src/itdb_itunesdb.c:1439
+#: ../src/itdb_itunesdb.c:1494
 #, fuzzy, c-format
 msgid "iTunesDB corrupt: no SLst at offset %ld in file '%s'."
 msgstr "iTunesDB שבור: אין MHOD בהיסט %ld בקובץ '%s'."
 
-#: ../src/itdb_itunesdb.c:1452
+#: ../src/itdb_itunesdb.c:1507
 #, c-format
 msgid ""
 "Encountered unknown MHOD type (%d) while parsing the iTunesDB. Ignoring.\n"
@@ -235,18 +249,18 @@
 "נתקלנו בסוג לא ידוע של MHOD (%d) בזמן ניתוח ה-iTuneDB. מתעלם.\n"
 "\n"
 
-#: ../src/itdb_itunesdb.c:1514
+#: ../src/itdb_itunesdb.c:1577
 #, c-format
 msgid "iTunesDB corrupt: hunk length 0 for hunk at %ld in file '%s'."
 msgstr "iTunesDB שבור: אורך חתיכה 0 בחתיכה  %ld בקובץ '%s'."
 
-#: ../src/itdb_itunesdb.c:1527
+#: ../src/itdb_itunesdb.c:1590
 #, fuzzy, c-format
 msgid ""
 "iTunesDB corrupt: no section '%s' found in section '%s' starting at %ld."
 msgstr "iTunesDB שבור: אין MHOD בהיסט %ld בקובץ '%s'."
 
-#: ../src/itdb_itunesdb.c:1541
+#: ../src/itdb_itunesdb.c:1604
 #, fuzzy, c-format
 msgid ""
 "header length of '%s' smaller than expected (%d < %d) at offset %ld in file "
@@ -254,12 +268,12 @@
 msgstr ""
 "iTunesDB ('%s'): גודל תחילית של החתיכה mhsd קטנה מהצפוי (%ld<32). מבטל."
 
-#: ../src/itdb_itunesdb.c:1626
+#: ../src/itdb_itunesdb.c:1689
 #, c-format
 msgid "Not a iTunesDB: '%s' (missing mhdb header)."
 msgstr "זהו לא iTunesDB: '%s' (חסרה תחילית mhdb)."
 
-#: ../src/itdb_itunesdb.c:1643
+#: ../src/itdb_itunesdb.c:1706
 #, fuzzy, c-format
 msgid ""
 "iTunesDB ('%s'): header length of mhsd hunk smaller than expected (%d<32). "
@@ -267,77 +281,77 @@
 msgstr ""
 "iTunesDB ('%s'): גודל תחילית של החתיכה mhsd קטנה מהצפוי (%ld<32). מבטל."
 
-#: ../src/itdb_itunesdb.c:1664
+#: ../src/itdb_itunesdb.c:1727
 #, fuzzy, c-format
 msgid "iTunesDB '%s' corrupt: mhsd expected at %ld."
 msgstr "iTunesDB שבור: נמצא mhyp ב %ld בקובץ '%s'."
 
-#: ../src/itdb_itunesdb.c:1781
+#: ../src/itdb_itunesdb.c:1844
 #, c-format
 msgid "Number of MHODs in mhip at %ld inconsistent in file '%s'."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:1799
+#: ../src/itdb_itunesdb.c:1862
 #, c-format
 msgid "Itdb_Track ID '%d' not found.\n"
 msgstr "מזהה Itdb_Track '%d' לא נמצא.\n"
 
-#: ../src/itdb_itunesdb.c:1956
+#: ../src/itdb_itunesdb.c:2024
 #, fuzzy, c-format
 msgid "Number of MHODs in mhyp at %ld inconsistent in file '%s'."
 msgstr "iTunesDB שבור: נמצא mhyp ב %ld בקובץ '%s'."
 
-#: ../src/itdb_itunesdb.c:1966
+#: ../src/itdb_itunesdb.c:2034
 msgid "Master-PL"
 msgstr "רשימת ראשית"
 
-#: ../src/itdb_itunesdb.c:1970
+#: ../src/itdb_itunesdb.c:2038
 msgid "Podcasts"
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:1972
+#: ../src/itdb_itunesdb.c:2040
 msgid "Playlist"
 msgstr "רשימת השמעה"
 
-#: ../src/itdb_itunesdb.c:1994
+#: ../src/itdb_itunesdb.c:2062
 #, fuzzy, c-format
 msgid ""
 "iTunesDB corrupt: number of mhip sections inconsistent in mhyp starting at %"
 "ld in file '%s'."
 msgstr "iTunesDB שבור: נמצא mhyp ב %ld בקובץ '%s'."
 
-#: ../src/itdb_itunesdb.c:2279
+#: ../src/itdb_itunesdb.c:2375
 msgid "OTG Playlist"
 msgstr "רשימת השמעה OTG"
 
-#: ../src/itdb_itunesdb.c:2297
+#: ../src/itdb_itunesdb.c:2393
 #, c-format
 msgid "Not a OTG playlist file: '%s' (missing mhpo header)."
 msgstr "זהו לא קובץ רשימת השמעה OTG: '%s' (חסרה תחילת קובץ mhpo)."
 
-#: ../src/itdb_itunesdb.c:2311
+#: ../src/itdb_itunesdb.c:2407
 #, c-format
 msgid "OTG playlist file ('%s'): header length smaller than expected (%d<20)."
 msgstr "קובץ רשימת השמעה OTG ('%s'): גודל תחילית קטן מהצפוי (%d<20)."
 
-#: ../src/itdb_itunesdb.c:2323
+#: ../src/itdb_itunesdb.c:2419
 #, c-format
 msgid ""
 "OTG playlist file file ('%s'): entry length smaller than expected (%d<4)."
 msgstr "קובץ רשימת השמעה OTG ('%s'): גודל רשומה קטן מהצפוי (%d<4)."
 
-#: ../src/itdb_itunesdb.c:2358
+#: ../src/itdb_itunesdb.c:2454
 #, c-format
 msgid "OTG playlist file '%s': reference to non-existent track (%d)."
 msgstr "רשימת השמעה OTG '%s': התייחסות לרצועה לא קיימת (%d)."
 
-#: ../src/itdb_itunesdb.c:2403
+#: ../src/itdb_itunesdb.c:2499
 #, c-format
 msgid "OTG Playlist %d"
 msgstr "רשימת השמעה OTG %d"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2471
+#: ../src/itdb_itunesdb.c:2567
 #, fuzzy
 msgid ""
 "iTunesDB corrupt: number of tracks (mhit hunks) inconsistent. Trying to "
@@ -347,7 +361,7 @@
 "להמשיך.\n"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2534
+#: ../src/itdb_itunesdb.c:2630
 msgid ""
 "iTunesDB possibly corrupt: number of playlists (mhyp hunks) inconsistent. "
 "Trying to continue.\n"
@@ -355,183 +369,271 @@
 "יכול להיות ש-iTuneDB שבור: מספר רשימות השמעה (mhyp חתיכות) לא עקביות. מנסה "
 "להמשיך.\n"
 
-#: ../src/itdb_itunesdb.c:2581
+#: ../src/itdb_itunesdb.c:2677
 #, fuzzy, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find tracklist (no mhsd type 1 section "
 "found)"
 msgstr "iTunesDB '%s' שבור: כבר מצאנו mhsds של שתי רשימות השמעה -- מוותר."
 
-#: ../src/itdb_itunesdb.c:2610
+#: ../src/itdb_itunesdb.c:2706
 #, fuzzy, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find playlists (no mhsd type 2 or type 3 "
 "sections found)"
 msgstr "iTunesDB '%s' שבור: כבר מצאנו mhsds של שתי רשימות השמעה -- מוותר."
 
-#: ../src/itdb_itunesdb.c:2632
+#: ../src/itdb_itunesdb.c:2728
 #, c-format
 msgid "iTunes directory not found: '%s' (or similar)."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:2649
+#: ../src/itdb_itunesdb.c:2745
 #, c-format
 msgid "Music directory not found: '%s' (or similar)."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:2667
+#: ../src/itdb_itunesdb.c:2763
 #, c-format
 msgid "Control directory not found: '%s' (or similar)."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:2740
+#: ../src/itdb_itunesdb.c:2836
 #, c-format
 msgid "File not found: '%s'."
 msgstr "קובץ לא קיים: '%s'."
 
-#: ../src/itdb_itunesdb.c:3542
+#: ../src/itdb_itunesdb.c:3654
 #, c-format
 msgid "Cannot write mhod of type %d\n"
 msgstr "לא יכול לכתוב mhod של סוג %d\n"
 
-#: ../src/itdb_itunesdb.c:4098
+#: ../src/itdb_itunesdb.c:4245
 #, fuzzy, c-format
 msgid "Opening of '%s' for writing failed (%s)."
 msgstr "פתיחת '%s' לכתיבה נכשלה."
 
-#: ../src/itdb_itunesdb.c:4109 ../src/itdb_itunesdb.c:4120
+#: ../src/itdb_itunesdb.c:4256 ../src/itdb_itunesdb.c:4267
 #, c-format
 msgid "Writing to '%s' failed (%s)."
 msgstr "נכשלה כתיבה ל '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4470
+#: ../src/itdb_itunesdb.c:4617
 #, fuzzy, c-format
 msgid "Path not found: '%s' (or similar)."
 msgstr "נתיב לא נמצא: '%s'."
 
-#: ../src/itdb_itunesdb.c:4689
+#: ../src/itdb_itunesdb.c:4836
 #, c-format
 msgid "Error renaming '%s' to '%s' (%s)."
 msgstr "תקלה בשינוי שם '%s' ל '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4706 ../src/itdb_itunesdb.c:4723
+#: ../src/itdb_itunesdb.c:4853 ../src/itdb_itunesdb.c:4870
 #, c-format
 msgid "Error removing '%s' (%s)."
 msgstr "תקלה בהסרת '%s' (%s)"
 
-#: ../src/itdb_itunesdb.c:4909
+#: ../src/itdb_itunesdb.c:5056
 #, c-format
 msgid "No 'F..' directories found in '%s'."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:4937
+#: ../src/itdb_itunesdb.c:5084
 #, c-format
 msgid "Path not found: '%s'."
 msgstr "נתיב לא נמצא: '%s'."
 
-#: ../src/itdb_itunesdb.c:5096
+#: ../src/itdb_itunesdb.c:5243
 #, c-format
 msgid "Error opening '%s' for reading (%s)."
 msgstr "תקלה בפתיחת '%s' לקריאה (%s)."
 
-#: ../src/itdb_itunesdb.c:5107
+#: ../src/itdb_itunesdb.c:5254
 #, c-format
 msgid "Error opening '%s' for writing (%s)."
 msgstr "תקלה בפתיחת '%s' לכתיבה (%s)."
 
-#: ../src/itdb_itunesdb.c:5124
+#: ../src/itdb_itunesdb.c:5271
 #, c-format
 msgid "Error while reading from '%s' (%s)."
 msgstr "תקלה בזמן קריאה מ '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5140
+#: ../src/itdb_itunesdb.c:5287
 #, c-format
 msgid "Error while writing to '%s' (%s)."
 msgstr "תקלה בזמן כתיבה ל '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5153 ../src/itdb_itunesdb.c:5163
+#: ../src/itdb_itunesdb.c:5300 ../src/itdb_itunesdb.c:5310
 #, c-format
 msgid "Error when closing '%s' (%s)."
 msgstr "תקלה בזמן סגירה '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5526
+#: ../src/itdb_itunesdb.c:5673
 msgid "iPod"
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:5919
+#: ../src/itdb_itunesdb.c:6066
 #, c-format
 msgid "Problem creating iPod directory or file: '%s'."
 msgstr ""
 
-#: ../src/itdb_photoalbum.c:25
+#: ../src/itdb_photoalbum.c:107
 #, fuzzy, c-format
 msgid "Photos directory not found: '%s' (or similar)."
 msgstr "נתיב לא נמצא: '%s'."
 
+#: ../src/itdb_photoalbum.c:245 ../src/itdb_photoalbum.c:442
+msgid "Photo Library"
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:357
+msgid "You need to specify the iPod model used before photos can be added."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:378
+#, c-format
+msgid ""
+"Your iPod does not seem to support photos. Maybe you need to specify the "
+"correct iPod model number? It is currently set to 'x%s' (%s/%s)."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:390
+#, c-format
+msgid "Could not access file '%s'. Photo not added."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:430
+msgid ""
+"Unexpected error in itdb_photodb_add_photo_internal() while adding photo, "
+"please report."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:450
+msgid ""
+"Library compiled without gdk-pixbuf support. Picture support is disabled."
+msgstr ""
+
 #. New action!
 #: ../src/itdb_playlist.c:78
 #, c-format
 msgid "Unknown action (%d) in smart playlist will be ignored.\n"
 msgstr "התעלמות מפעולה לא ידועה (%d) ברשימת השמעה חכמה.\n"
 
-#: ../tests/test-photos.c:116
-msgid "Usage to add photos:\n"
+#: ../tests/test-photos.c:39
+#, c-format
+msgid ""
+"Usage to add photos:\n"
+"  %s add <mountpoint> <albumname> [<filename(s)>]\n"
+"  <albumname> should be set to 'NULL' to add photos to the master photo "
+"album\n"
+"  (Photo Library) only. If you don't specify any filenames an empty album "
+"will\n"
+"  be created.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:117
+#: ../tests/test-photos.c:40
 #, c-format
-msgid "%s <mountpoint> <albumname> <filename(s)>\n"
+msgid ""
+"Usage to dump all photos to <output_dir>:\n"
+"  %s dump <mountpoint> <output_dir>\n"
 msgstr ""
 
-#: ../tests/test-photos.c:118
+#: ../tests/test-photos.c:41
+#, c-format
 msgid ""
-"albumname should be set to 'master' to add photos to the master photo album\n"
+"Usage to list all photos IDs to stdout:\n"
+"  %s list <mountpoint>\n"
 msgstr ""
 
-#: ../tests/test-photos.c:119
-msgid "\n"
+#: ../tests/test-photos.c:42
+#, c-format
+msgid ""
+"Usage to remove photo IDs from Photo Library:\n"
+"  %s remove <mountpoint> <albumname> [<ID(s)>]\n"
+"  <albumname> should be set to 'NULL' to to remove photos from the iPod\n"
+"  altogether. If you don't specify any IDs, the photoalbum will be removed\n"
+"  instead.\n"
+"  WARNING: IDs may change when writing the PhotoDB file.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:120
-msgid "Usage to dump all photos to <output_dir>:\n"
+#: ../tests/test-photos.c:126
+msgid "Wrong number of command line arguments.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:121
-#, c-format
-msgid "%s dump <mountpoint> <output_dir>\n"
-msgstr ""
-
-#: ../tests/test-photos.c:133
+#: ../tests/test-photos.c:135
 #, fuzzy, c-format
 msgid "Error creating '%s' (mkdir)\n"
 msgstr "תקלה בהסרת '%s' (%s)"
 
-#: ../tests/test-photos.c:139
+#: ../tests/test-photos.c:141
 #, c-format
 msgid "Error: '%s' is not a directory\n"
 msgstr ""
 
-#: ../tests/test-photos.c:148
+#: ../tests/test-photos.c:150 ../tests/test-photos.c:184
+#: ../tests/test-photos.c:313
 #, fuzzy, c-format
 msgid "Error reading iPod photo database (%s).\n"
 msgstr "תקלה בשינוי שם '%s' ל '%s' (%s)."
 
-#: ../tests/test-photos.c:154
+#: ../tests/test-photos.c:156 ../tests/test-photos.c:190
 msgid "Error reading iPod photo database.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:168
+#: ../tests/test-photos.c:174 ../tests/test-photos.c:233
+#: ../tests/test-photos.c:303 ../tests/test-photos.c:386
+msgid "Insufficient number of command line arguments.\n"
+msgstr ""
+
+#: ../tests/test-photos.c:201
+msgid "<Unnamed>"
+msgstr ""
+
+#: ../tests/test-photos.c:216
+msgid "<No members>\n"
+msgstr ""
+
+#: ../tests/test-photos.c:243
 #, c-format
 msgid ""
 "Error reading iPod photo database (%s).\n"
 "Will attempt to create a new database.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:174
+#: ../tests/test-photos.c:249
 msgid ""
 "Error reading iPod photo database, will attempt to create a new database\n"
 msgstr ""
 
+#: ../tests/test-photos.c:274
+#, fuzzy, c-format
+msgid "Error adding photo (%s) to photo database: %s\n"
+msgstr "תקלה בשינוי שם '%s' ל '%s' (%s)."
+
+#: ../tests/test-photos.c:320
+#, fuzzy
+msgid "Error reading iPod photo database"
+msgstr "תקלה בשינוי שם '%s' ל '%s' (%s)."
+
+#: ../tests/test-photos.c:331
+#, c-format
+msgid "Specified album '%s' not found. Aborting.\n"
+msgstr ""
+
+#: ../tests/test-photos.c:343
+msgid "Cannot remove Photo Library playlist. Aborting.\n"
+msgstr ""
+
+#: ../tests/test-photos.c:364
+#, c-format
+msgid "Warning: could not find photo with ID <%d>. Skipping...\n"
+msgstr ""
+
+#: ../tests/test-photos.c:410
+#, c-format
+msgid "Unknown command '%s'\n"
+msgstr ""
+
 #~ msgid "Writing to '%s' failed."
 #~ msgstr "נכשלה כתיבה ל '%s'."
 

Modified: libgpod/branches/upstream/current/po/it.po
===================================================================
--- libgpod/branches/upstream/current/po/it.po	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/po/it.po	2007-01-25 10:43:09 UTC (rev 166)
@@ -11,7 +11,7 @@
 msgstr ""
 "Project-Id-Version: it2\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-24 18:02+0900\n"
+"POT-Creation-Date: 2007-01-15 22:30+0900\n"
 "PO-Revision-Date: 2005-06-20 23:25+0900\n"
 "Last-Translator: \n"
 "Language-Team:  <it at li.org>\n"
@@ -21,18 +21,23 @@
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Generator: KBabel 1.9.1\n"
 
-#: ../src/db-artwork-parser.c:133
+#: ../src/db-artwork-parser.c:131
 #, c-format
 msgid "Unexpected mhod3 string type: %d\n"
 msgstr ""
 
-#: ../src/db-artwork-parser.c:360
+#: ../src/db-artwork-parser.c:265
 #, c-format
-msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"
+msgid "Could not find corresponding track (dbid: %s) for artwork entry.\n"
 msgstr ""
 
-#: ../src/db-artwork-parser.c:515
+#: ../src/db-artwork-parser.c:291
 #, c-format
+msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)\n"
+msgstr ""
+
+#: ../src/db-artwork-parser.c:459
+#, c-format
 msgid "Unexpected mhsd index: %d\n"
 msgstr ""
 
@@ -41,21 +46,30 @@
 msgid "Unexpected image type in mhni: size: %ux%u (%d), offset: %d\n"
 msgstr ""
 
-#: ../src/itdb_artwork.c:306
+#: ../src/itdb_artwork.c:198
+#, fuzzy, c-format
+msgid "Could not access file '%s'."
+msgstr "file non trovato: '%s'."
+
+#: ../src/itdb_artwork.c:215 ../src/itdb_artwork.c:276
+msgid "Artwork support not compiled into libgpod."
+msgstr ""
+
+#: ../src/itdb_artwork.c:334
 #, c-format
 msgid "Illegal filename: '%s'.\n"
 msgstr ""
 
-#: ../src/itdb_artwork.c:312
+#: ../src/itdb_artwork.c:340
 msgid "Mountpoint not set.\n"
 msgstr ""
 
-#: ../src/itdb_artwork.c:387
+#: ../src/itdb_artwork.c:493
 #, fuzzy, c-format
 msgid "Could not find on iPod: '%s'\n"
 msgstr "file non trovato: '%s'."
 
-#: ../src/itdb_artwork.c:587
+#: ../src/itdb_artwork.c:701
 #, c-format
 msgid ""
 "Unable to retreive thumbnail (appears to be on iPod, but no image info "
@@ -178,52 +192,52 @@
 msgid "Mobile Phone"
 msgstr ""
 
-#: ../src/itdb_device.c:449
+#: ../src/itdb_device.c:450
 #, fuzzy, c-format
 msgid "Could not open '%s' for writing."
 msgstr "Errore nell'apertura in scrittura di '%s' (%s)."
 
-#: ../src/itdb_device.c:458
+#: ../src/itdb_device.c:459
 msgid "Device directory does not exist."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:371
+#: ../src/itdb_itunesdb.c:419
 #, c-format
 msgid "Illegal seek to offset %ld (length %ld) in file '%s'."
 msgstr "ricerca illegale all'offest %ld (lunghezza %ld) nel file '%s'"
 
-#: ../src/itdb_itunesdb.c:825
+#: ../src/itdb_itunesdb.c:873
 #, c-format
 msgid "Not a Play Counts file: '%s' (missing mhdp header)."
 msgstr "Non è un file conta riproduzioni: '%s' (intestazione mhdp mancante)"
 
-#: ../src/itdb_itunesdb.c:840
+#: ../src/itdb_itunesdb.c:888
 #, c-format
 msgid "Play Counts file ('%s'): header length smaller than expected (%d<96)."
 msgstr ""
 "File conta-riproduzioni ('%s'): lunghezza della intestazione più piccolo di "
 "quanto ci si aspettava (%d<96)"
 
-#: ../src/itdb_itunesdb.c:853
+#: ../src/itdb_itunesdb.c:902
 #, c-format
 msgid "Play Counts file ('%s'): entry length smaller than expected (%d<12)."
 msgstr ""
 "File conta-riproduzioni ('%s'): lunghezza della voce più piccoladi quanto ci "
 "si aspettava (%d<12)"
 
-#: ../src/itdb_itunesdb.c:931
+#: ../src/itdb_itunesdb.c:981
 #, fuzzy, c-format
 msgid "iTunesStats file ('%s'): entry length smaller than expected (%d<18)."
 msgstr ""
 "File conta-riproduzioni ('%s'): lunghezza della voce più piccoladi quanto ci "
 "si aspettava (%d<12)"
 
-#: ../src/itdb_itunesdb.c:1250
+#: ../src/itdb_itunesdb.c:1300
 #, c-format
 msgid "iTunesDB corrupt: no MHOD at offset %ld in file '%s'."
 msgstr "iTunesDB corrotto: nessun MHOD all'offest %ld nel file '%s'."
 
-#: ../src/itdb_itunesdb.c:1407
+#: ../src/itdb_itunesdb.c:1462
 #, c-format
 msgid ""
 "Length of smart playlist rule field (%d) not as expected. Trying to continue "
@@ -232,12 +246,12 @@
 "La lunghezza del campo della regola della playlist intelligente (%d) non è "
 "come la si aspettava. Si prova a continuare.\n"
 
-#: ../src/itdb_itunesdb.c:1439
+#: ../src/itdb_itunesdb.c:1494
 #, fuzzy, c-format
 msgid "iTunesDB corrupt: no SLst at offset %ld in file '%s'."
 msgstr "iTunesDB corrotto: nessun MHOD all'offest %ld nel file '%s'."
 
-#: ../src/itdb_itunesdb.c:1452
+#: ../src/itdb_itunesdb.c:1507
 #, c-format
 msgid ""
 "Encountered unknown MHOD type (%d) while parsing the iTunesDB. Ignoring.\n"
@@ -247,18 +261,18 @@
 "Ignorato.\n"
 "\n"
 
-#: ../src/itdb_itunesdb.c:1514
+#: ../src/itdb_itunesdb.c:1577
 #, c-format
 msgid "iTunesDB corrupt: hunk length 0 for hunk at %ld in file '%s'."
 msgstr "iTunesDB corrotto: hunk di lunghezza 0 per l'hunk %ld nel file '%s'."
 
-#: ../src/itdb_itunesdb.c:1527
+#: ../src/itdb_itunesdb.c:1590
 #, fuzzy, c-format
 msgid ""
 "iTunesDB corrupt: no section '%s' found in section '%s' starting at %ld."
 msgstr "iTunesDB corrotto: nessun MHOD all'offest %ld nel file '%s'."
 
-#: ../src/itdb_itunesdb.c:1541
+#: ../src/itdb_itunesdb.c:1604
 #, fuzzy, c-format
 msgid ""
 "header length of '%s' smaller than expected (%d < %d) at offset %ld in file "
@@ -267,12 +281,12 @@
 "iTunesDB ('%s'): lunghezza della intestazione del hunk mhsd più piccolo "
 "delle aspettative (%ld<32). Interrompo."
 
-#: ../src/itdb_itunesdb.c:1626
+#: ../src/itdb_itunesdb.c:1689
 #, c-format
 msgid "Not a iTunesDB: '%s' (missing mhdb header)."
 msgstr "Non è un file iTunesDB: '%s' (intestazione mhdb mancante)"
 
-#: ../src/itdb_itunesdb.c:1643
+#: ../src/itdb_itunesdb.c:1706
 #, fuzzy, c-format
 msgid ""
 "iTunesDB ('%s'): header length of mhsd hunk smaller than expected (%d<32). "
@@ -281,62 +295,62 @@
 "iTunesDB ('%s'): lunghezza della intestazione del hunk mhsd più piccolo "
 "delle aspettative (%ld<32). Interrompo."
 
-#: ../src/itdb_itunesdb.c:1664
+#: ../src/itdb_itunesdb.c:1727
 #, fuzzy, c-format
 msgid "iTunesDB '%s' corrupt: mhsd expected at %ld."
 msgstr "iTunesDB corrotto: trovato mhyp a %ld nel file '%s'."
 
-#: ../src/itdb_itunesdb.c:1781
+#: ../src/itdb_itunesdb.c:1844
 #, c-format
 msgid "Number of MHODs in mhip at %ld inconsistent in file '%s'."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:1799
+#: ../src/itdb_itunesdb.c:1862
 #, c-format
 msgid "Itdb_Track ID '%d' not found.\n"
 msgstr "itDB_Track ID '%d' non trovato.\n"
 
-#: ../src/itdb_itunesdb.c:1956
+#: ../src/itdb_itunesdb.c:2024
 #, fuzzy, c-format
 msgid "Number of MHODs in mhyp at %ld inconsistent in file '%s'."
 msgstr "iTunesDB corrotto: trovato mhyp a %ld nel file '%s'."
 
-#: ../src/itdb_itunesdb.c:1966
+#: ../src/itdb_itunesdb.c:2034
 msgid "Master-PL"
 msgstr "PL principale"
 
-#: ../src/itdb_itunesdb.c:1970
+#: ../src/itdb_itunesdb.c:2038
 msgid "Podcasts"
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:1972
+#: ../src/itdb_itunesdb.c:2040
 msgid "Playlist"
 msgstr "Playlist"
 
-#: ../src/itdb_itunesdb.c:1994
+#: ../src/itdb_itunesdb.c:2062
 #, fuzzy, c-format
 msgid ""
 "iTunesDB corrupt: number of mhip sections inconsistent in mhyp starting at %"
 "ld in file '%s'."
 msgstr "iTunesDB corrotto: trovato mhyp a %ld nel file '%s'."
 
-#: ../src/itdb_itunesdb.c:2279
+#: ../src/itdb_itunesdb.c:2375
 msgid "OTG Playlist"
 msgstr "Playlist OTG"
 
-#: ../src/itdb_itunesdb.c:2297
+#: ../src/itdb_itunesdb.c:2393
 #, c-format
 msgid "Not a OTG playlist file: '%s' (missing mhpo header)."
 msgstr "Non è una file playlist OTG: '%s' (manca l'intestazione mhpo)"
 
-#: ../src/itdb_itunesdb.c:2311
+#: ../src/itdb_itunesdb.c:2407
 #, c-format
 msgid "OTG playlist file ('%s'): header length smaller than expected (%d<20)."
 msgstr ""
 "File playlist OTG ('%s'): lunghezza della intestazione più piccola delle "
 "aspettative (%d<20)"
 
-#: ../src/itdb_itunesdb.c:2323
+#: ../src/itdb_itunesdb.c:2419
 #, c-format
 msgid ""
 "OTG playlist file file ('%s'): entry length smaller than expected (%d<4)."
@@ -344,18 +358,18 @@
 "File playlist OTG ('%s'): lunghezza della voce più piccola delle aspettative "
 "(%d<4)"
 
-#: ../src/itdb_itunesdb.c:2358
+#: ../src/itdb_itunesdb.c:2454
 #, c-format
 msgid "OTG playlist file '%s': reference to non-existent track (%d)."
 msgstr "Playlist OTG '%s': Punta ad una traccia non esistente (%d)."
 
-#: ../src/itdb_itunesdb.c:2403
+#: ../src/itdb_itunesdb.c:2499
 #, c-format
 msgid "OTG Playlist %d"
 msgstr "Playlist OTG %d"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2471
+#: ../src/itdb_itunesdb.c:2567
 #, fuzzy
 msgid ""
 "iTunesDB corrupt: number of tracks (mhit hunks) inconsistent. Trying to "
@@ -365,7 +379,7 @@
 "inconsistente. Provo a continuare.\n"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2534
+#: ../src/itdb_itunesdb.c:2630
 msgid ""
 "iTunesDB possibly corrupt: number of playlists (mhyp hunks) inconsistent. "
 "Trying to continue.\n"
@@ -373,183 +387,271 @@
 "L'iTunes è probabilmente corrotto: il numero di playlist (mhyp hunks) è "
 "inconsistente. Provo a continuare.\n"
 
-#: ../src/itdb_itunesdb.c:2581
+#: ../src/itdb_itunesdb.c:2677
 #, fuzzy, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find tracklist (no mhsd type 1 section "
 "found)"
 msgstr "iTunesDB '%s' corrotto: trovate già due playlist mhsds -- ci rinuncio."
 
-#: ../src/itdb_itunesdb.c:2610
+#: ../src/itdb_itunesdb.c:2706
 #, fuzzy, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find playlists (no mhsd type 2 or type 3 "
 "sections found)"
 msgstr "iTunesDB '%s' corrotto: trovate già due playlist mhsds -- ci rinuncio."
 
-#: ../src/itdb_itunesdb.c:2632
+#: ../src/itdb_itunesdb.c:2728
 #, c-format
 msgid "iTunes directory not found: '%s' (or similar)."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:2649
+#: ../src/itdb_itunesdb.c:2745
 #, c-format
 msgid "Music directory not found: '%s' (or similar)."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:2667
+#: ../src/itdb_itunesdb.c:2763
 #, c-format
 msgid "Control directory not found: '%s' (or similar)."
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:2740
+#: ../src/itdb_itunesdb.c:2836
 #, c-format
 msgid "File not found: '%s'."
 msgstr "file non trovato: '%s'."
 
-#: ../src/itdb_itunesdb.c:3542
+#: ../src/itdb_itunesdb.c:3654
 #, c-format
 msgid "Cannot write mhod of type %d\n"
 msgstr "Impossibile scrivere il mhod del tipo %d\n"
 
-#: ../src/itdb_itunesdb.c:4098
+#: ../src/itdb_itunesdb.c:4245
 #, fuzzy, c-format
 msgid "Opening of '%s' for writing failed (%s)."
 msgstr "Apertura di '%s' in scrittura fallita."
 
-#: ../src/itdb_itunesdb.c:4109 ../src/itdb_itunesdb.c:4120
+#: ../src/itdb_itunesdb.c:4256 ../src/itdb_itunesdb.c:4267
 #, c-format
 msgid "Writing to '%s' failed (%s)."
 msgstr "Scrittura verso '%s' falita (%s)."
 
-#: ../src/itdb_itunesdb.c:4470
+#: ../src/itdb_itunesdb.c:4617
 #, fuzzy, c-format
 msgid "Path not found: '%s' (or similar)."
 msgstr "Percorso non trovato: '%s'."
 
-#: ../src/itdb_itunesdb.c:4689
+#: ../src/itdb_itunesdb.c:4836
 #, c-format
 msgid "Error renaming '%s' to '%s' (%s)."
 msgstr "Errore nella rinominazione da '%s' a '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4706 ../src/itdb_itunesdb.c:4723
+#: ../src/itdb_itunesdb.c:4853 ../src/itdb_itunesdb.c:4870
 #, c-format
 msgid "Error removing '%s' (%s)."
 msgstr "Errore nella rimozione di '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4909
+#: ../src/itdb_itunesdb.c:5056
 #, c-format
 msgid "No 'F..' directories found in '%s'."
 msgstr "Nessuna directory 'F..' trovata in '%s'"
 
-#: ../src/itdb_itunesdb.c:4937
+#: ../src/itdb_itunesdb.c:5084
 #, c-format
 msgid "Path not found: '%s'."
 msgstr "Percorso non trovato: '%s'."
 
-#: ../src/itdb_itunesdb.c:5096
+#: ../src/itdb_itunesdb.c:5243
 #, c-format
 msgid "Error opening '%s' for reading (%s)."
 msgstr "Errore nell'apertura in lettura di '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5107
+#: ../src/itdb_itunesdb.c:5254
 #, c-format
 msgid "Error opening '%s' for writing (%s)."
 msgstr "Errore nell'apertura in scrittura di '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5124
+#: ../src/itdb_itunesdb.c:5271
 #, c-format
 msgid "Error while reading from '%s' (%s)."
 msgstr "Errore nella lettura da '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5140
+#: ../src/itdb_itunesdb.c:5287
 #, c-format
 msgid "Error while writing to '%s' (%s)."
 msgstr "Errore nella scrittura verso '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5153 ../src/itdb_itunesdb.c:5163
+#: ../src/itdb_itunesdb.c:5300 ../src/itdb_itunesdb.c:5310
 #, c-format
 msgid "Error when closing '%s' (%s)."
 msgstr "Errore nella chiusura di '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5526
+#: ../src/itdb_itunesdb.c:5673
 msgid "iPod"
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:5919
+#: ../src/itdb_itunesdb.c:6066
 #, c-format
 msgid "Problem creating iPod directory or file: '%s'."
 msgstr ""
 
-#: ../src/itdb_photoalbum.c:25
+#: ../src/itdb_photoalbum.c:107
 #, fuzzy, c-format
 msgid "Photos directory not found: '%s' (or similar)."
 msgstr "Percorso non trovato: '%s'."
 
+#: ../src/itdb_photoalbum.c:245 ../src/itdb_photoalbum.c:442
+msgid "Photo Library"
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:357
+msgid "You need to specify the iPod model used before photos can be added."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:378
+#, c-format
+msgid ""
+"Your iPod does not seem to support photos. Maybe you need to specify the "
+"correct iPod model number? It is currently set to 'x%s' (%s/%s)."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:390
+#, c-format
+msgid "Could not access file '%s'. Photo not added."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:430
+msgid ""
+"Unexpected error in itdb_photodb_add_photo_internal() while adding photo, "
+"please report."
+msgstr ""
+
+#: ../src/itdb_photoalbum.c:450
+msgid ""
+"Library compiled without gdk-pixbuf support. Picture support is disabled."
+msgstr ""
+
 #. New action!
 #: ../src/itdb_playlist.c:78
 #, c-format
 msgid "Unknown action (%d) in smart playlist will be ignored.\n"
 msgstr "Azione sconosciuta (%d) nella playlist intelligente verrà ignorata.\n"
 
-#: ../tests/test-photos.c:116
-msgid "Usage to add photos:\n"
+#: ../tests/test-photos.c:39
+#, c-format
+msgid ""
+"Usage to add photos:\n"
+"  %s add <mountpoint> <albumname> [<filename(s)>]\n"
+"  <albumname> should be set to 'NULL' to add photos to the master photo "
+"album\n"
+"  (Photo Library) only. If you don't specify any filenames an empty album "
+"will\n"
+"  be created.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:117
+#: ../tests/test-photos.c:40
 #, c-format
-msgid "%s <mountpoint> <albumname> <filename(s)>\n"
+msgid ""
+"Usage to dump all photos to <output_dir>:\n"
+"  %s dump <mountpoint> <output_dir>\n"
 msgstr ""
 
-#: ../tests/test-photos.c:118
+#: ../tests/test-photos.c:41
+#, c-format
 msgid ""
-"albumname should be set to 'master' to add photos to the master photo album\n"
+"Usage to list all photos IDs to stdout:\n"
+"  %s list <mountpoint>\n"
 msgstr ""
 
-#: ../tests/test-photos.c:119
-msgid "\n"
+#: ../tests/test-photos.c:42
+#, c-format
+msgid ""
+"Usage to remove photo IDs from Photo Library:\n"
+"  %s remove <mountpoint> <albumname> [<ID(s)>]\n"
+"  <albumname> should be set to 'NULL' to to remove photos from the iPod\n"
+"  altogether. If you don't specify any IDs, the photoalbum will be removed\n"
+"  instead.\n"
+"  WARNING: IDs may change when writing the PhotoDB file.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:120
-msgid "Usage to dump all photos to <output_dir>:\n"
+#: ../tests/test-photos.c:126
+msgid "Wrong number of command line arguments.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:121
-#, c-format
-msgid "%s dump <mountpoint> <output_dir>\n"
-msgstr ""
-
-#: ../tests/test-photos.c:133
+#: ../tests/test-photos.c:135
 #, fuzzy, c-format
 msgid "Error creating '%s' (mkdir)\n"
 msgstr "Errore nella rimozione di '%s' (%s)."
 
-#: ../tests/test-photos.c:139
+#: ../tests/test-photos.c:141
 #, c-format
 msgid "Error: '%s' is not a directory\n"
 msgstr ""
 
-#: ../tests/test-photos.c:148
+#: ../tests/test-photos.c:150 ../tests/test-photos.c:184
+#: ../tests/test-photos.c:313
 #, fuzzy, c-format
 msgid "Error reading iPod photo database (%s).\n"
 msgstr "Errore nella rinominazione da '%s' a '%s' (%s)."
 
-#: ../tests/test-photos.c:154
+#: ../tests/test-photos.c:156 ../tests/test-photos.c:190
 msgid "Error reading iPod photo database.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:168
+#: ../tests/test-photos.c:174 ../tests/test-photos.c:233
+#: ../tests/test-photos.c:303 ../tests/test-photos.c:386
+msgid "Insufficient number of command line arguments.\n"
+msgstr ""
+
+#: ../tests/test-photos.c:201
+msgid "<Unnamed>"
+msgstr ""
+
+#: ../tests/test-photos.c:216
+msgid "<No members>\n"
+msgstr ""
+
+#: ../tests/test-photos.c:243
 #, c-format
 msgid ""
 "Error reading iPod photo database (%s).\n"
 "Will attempt to create a new database.\n"
 msgstr ""
 
-#: ../tests/test-photos.c:174
+#: ../tests/test-photos.c:249
 msgid ""
 "Error reading iPod photo database, will attempt to create a new database\n"
 msgstr ""
 
+#: ../tests/test-photos.c:274
+#, fuzzy, c-format
+msgid "Error adding photo (%s) to photo database: %s\n"
+msgstr "Errore nella rinominazione da '%s' a '%s' (%s)."
+
+#: ../tests/test-photos.c:320
+#, fuzzy
+msgid "Error reading iPod photo database"
+msgstr "Errore nella rinominazione da '%s' a '%s' (%s)."
+
+#: ../tests/test-photos.c:331
+#, c-format
+msgid "Specified album '%s' not found. Aborting.\n"
+msgstr ""
+
+#: ../tests/test-photos.c:343
+msgid "Cannot remove Photo Library playlist. Aborting.\n"
+msgstr ""
+
+#: ../tests/test-photos.c:364
+#, c-format
+msgid "Warning: could not find photo with ID <%d>. Skipping...\n"
+msgstr ""
+
+#: ../tests/test-photos.c:410
+#, c-format
+msgid "Unknown command '%s'\n"
+msgstr ""
+
 #~ msgid "Writing to '%s' failed."
 #~ msgstr "Scrittura verso '%s' fallita."
 

Modified: libgpod/branches/upstream/current/po/ja.po
===================================================================
--- libgpod/branches/upstream/current/po/ja.po	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/po/ja.po	2007-01-25 10:43:09 UTC (rev 166)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: gtkpod 0.40\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-24 18:02+0900\n"
+"POT-Creation-Date: 2007-01-15 22:30+0900\n"
 "PO-Revision-Date: 2006-02-14 16:48+0900\n"
 "Last-Translator: Kentaro Fukuchi <fukuchi at users.sourceforge.net>\n"
 "Language-Team: n/a\n"
@@ -16,54 +16,72 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
-#: ../src/db-artwork-parser.c:133
+#: ../src/db-artwork-parser.c:131
 #, c-format
 msgid "Unexpected mhod3 string type: %d\n"
-msgstr ""
+msgstr "ͽ´ü¤»¤Ì mhod3 string type ¤Ç¤¹: %d\n"
 
-#: ../src/db-artwork-parser.c:360
+#: ../src/db-artwork-parser.c:265
 #, c-format
-msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"
+msgid "Could not find corresponding track (dbid: %s) for artwork entry.\n"
+msgstr "¥¢¡¼¥È¥ï¡¼¥¯¤ËÂбþ¤¹¤ë¶Ê (dbid: %s) ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó.\n"
+
+#: ../src/db-artwork-parser.c:291
+#, c-format
+msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)\n"
 msgstr ""
+"iTunesDB Æâ¤Î¾ðÊó¤È ArtworkDB ¤Î¥¢¡¼¥È¥ï¡¼¥¯¤Î¥µ¥¤¥º¤¬°ìÃפ·¤Þ¤»¤ó (%d+%d != "
+"%d)\n"
 
-#: ../src/db-artwork-parser.c:515
+#: ../src/db-artwork-parser.c:459
 #, c-format
 msgid "Unexpected mhsd index: %d\n"
-msgstr ""
+msgstr "ͽ´ü¤»¤Ì mhsd index: %d\n"
 
 #: ../src/db-image-parser.c:118
 #, c-format
 msgid "Unexpected image type in mhni: size: %ux%u (%d), offset: %d\n"
-msgstr ""
+msgstr "mhni ¤Ëͽ´ü¤»¤Ì¥¤¥á¡¼¥¸¥¿¥¤¥×: size: %ux%u (%d), offset: %d\n"
 
-#: ../src/itdb_artwork.c:306
+#: ../src/itdb_artwork.c:198
 #, c-format
+msgid "Could not access file '%s'."
+msgstr "¥Õ¥¡¥¤¥ë '%s' ¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿."
+
+#: ../src/itdb_artwork.c:215 ../src/itdb_artwork.c:276
+msgid "Artwork support not compiled into libgpod."
+msgstr "libgpod ¤Ë¥¢¡¼¥È¥ï¡¼¥¯¤Î¥µ¥Ý¡¼¥È¤¬ÁȤ߹þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó."
+
+#: ../src/itdb_artwork.c:334
+#, c-format
 msgid "Illegal filename: '%s'.\n"
-msgstr ""
+msgstr "ÉÔÀµ¤Ê¥Õ¥¡¥¤¥ë̾: '%s'.\n"
 
-#: ../src/itdb_artwork.c:312
+#: ../src/itdb_artwork.c:340
 msgid "Mountpoint not set.\n"
-msgstr ""
+msgstr "¥Þ¥¦¥ó¥È¾ì½ê¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó.\n"
 
-#: ../src/itdb_artwork.c:387
-#, fuzzy, c-format
+#: ../src/itdb_artwork.c:493
+#, c-format
 msgid "Could not find on iPod: '%s'\n"
-msgstr "¥Õ¥¡¥¤¥ë¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s'"
+msgstr "iPod ¤ÎÃæ¤Ë¸«Åö¤¿¤ê¤Þ¤»¤ó: '%s'\n"
 
-#: ../src/itdb_artwork.c:587
+#: ../src/itdb_artwork.c:701
 #, c-format
 msgid ""
 "Unable to retreive thumbnail (appears to be on iPod, but no image info "
 "available): type: %d, filename: '%s'\n"
 msgstr ""
+"¥µ¥à¥Í¥¤¥ë¤ò¼èÆÀ¤Ç¤­¤Þ¤»¤ó (iPod ¤ÎÃæ¤Ë¤¢¤ëȦ¤Ç¤¹¤¬, ²èÁü¾ðÊ󤬸«¤Ä¤«¤ê¤Þ¤»"
+"¤ó): type: %d, filename: '%s'\n"
 
 #: ../src/itdb_device.c:170
 msgid "Invalid"
-msgstr ""
+msgstr "°Û¾ï"
 
 #: ../src/itdb_device.c:171 ../src/itdb_device.c:197
 msgid "Unknown"
-msgstr ""
+msgstr "ÉÔÌÀ"
 
 #: ../src/itdb_device.c:172
 msgid "Color"
@@ -83,23 +101,23 @@
 
 #: ../src/itdb_device.c:176
 msgid "Mini (Silver)"
-msgstr ""
+msgstr "Mini (¶ä)"
 
 #: ../src/itdb_device.c:177
 msgid "Mini (Blue)"
-msgstr ""
+msgstr "Mini (ÀÄ)"
 
 #: ../src/itdb_device.c:178
 msgid "Mini (Pink)"
-msgstr ""
+msgstr "Mini (¥Ô¥ó¥¯)"
 
 #: ../src/itdb_device.c:179
 msgid "Mini (Green)"
-msgstr ""
+msgstr "Mini (ÎÐ)"
 
 #: ../src/itdb_device.c:180
 msgid "Mini (Gold)"
-msgstr ""
+msgstr "Mini (¶â)"
 
 #: ../src/itdb_device.c:181
 msgid "Shuffle"
@@ -107,19 +125,19 @@
 
 #: ../src/itdb_device.c:182
 msgid "Nano (White)"
-msgstr ""
+msgstr "Nano (Çò)"
 
 #: ../src/itdb_device.c:183
 msgid "Nano (Black)"
-msgstr ""
+msgstr "Nano (¹õ)"
 
 #: ../src/itdb_device.c:184
 msgid "Video (White)"
-msgstr ""
+msgstr "Video (Çò)"
 
 #: ../src/itdb_device.c:185
 msgid "Video (Black)"
-msgstr ""
+msgstr "Video (¹õ)"
 
 #: ../src/itdb_device.c:186
 msgid "Mobile (1)"
@@ -131,423 +149,531 @@
 
 #: ../src/itdb_device.c:188
 msgid "Nano (Silver)"
-msgstr ""
+msgstr "Nano (¶ä)"
 
 #: ../src/itdb_device.c:189
 msgid "Nano (Blue)"
-msgstr ""
+msgstr "Nano (ÀÄ)"
 
 #: ../src/itdb_device.c:190
 msgid "Nano (Green)"
-msgstr ""
+msgstr "Nano (ÎÐ)"
 
 #: ../src/itdb_device.c:191
 msgid "Nano (Pink)"
-msgstr ""
+msgstr "Nano (¥Ô¥ó¥¯)"
 
 #: ../src/itdb_device.c:198
 msgid "First Generation"
-msgstr ""
+msgstr "1G"
 
 #: ../src/itdb_device.c:199
 msgid "Second Generation"
-msgstr ""
+msgstr "2G"
 
 #: ../src/itdb_device.c:200
 msgid "Third Generation"
-msgstr ""
+msgstr "3G"
 
 #: ../src/itdb_device.c:201
 msgid "Fourth Generation"
-msgstr ""
+msgstr "4G"
 
 #: ../src/itdb_device.c:202
 msgid "Fifth Generation"
-msgstr ""
+msgstr "5G"
 
 #: ../src/itdb_device.c:203
 msgid "Sixth Generation"
-msgstr ""
+msgstr "6G"
 
 #: ../src/itdb_device.c:204
 msgid "Mobile Phone"
-msgstr ""
+msgstr "·ÈÂÓÅÅÏÃ"
 
-#: ../src/itdb_device.c:449
-#, fuzzy, c-format
+#: ../src/itdb_device.c:450
+#, c-format
 msgid "Could not open '%s' for writing."
-msgstr "'%s' ¤ò½ñ¤­¹þ¤ßÍѤ˳«¤¯¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£(%s)"
+msgstr "'%s' ¤ò½ñ¤­¹þ¤ßÍѤ˳«¤¯¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó."
 
-#: ../src/itdb_device.c:458
+#: ../src/itdb_device.c:459
 msgid "Device directory does not exist."
-msgstr ""
+msgstr "¥Ç¥Ð¥¤¥¹¥Ç¥£¥ì¥¯¥È¥ê¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó."
 
-#: ../src/itdb_itunesdb.c:371
+#: ../src/itdb_itunesdb.c:419
 #, c-format
 msgid "Illegal seek to offset %ld (length %ld) in file '%s'."
-msgstr "ÉÔÀµ¤Ê¥·¡¼¥¯: '%3$s', ¥ª¥Õ¥»¥Ã¥È %1$ld, Ťµ (%2$ld)"
+msgstr "ÉÔÀµ¤Ê¥·¡¼¥¯: '%3$s', ¥ª¥Õ¥»¥Ã¥È %1$ld (Ťµ %2$ld)"
 
-#: ../src/itdb_itunesdb.c:825
+#: ../src/itdb_itunesdb.c:873
 #, c-format
 msgid "Not a Play Counts file: '%s' (missing mhdp header)."
 msgstr "ºÆÀ¸²ó¿ô¥Õ¥¡¥¤¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó: '%s' (mhdp ¥Ø¥Ã¥À¤¬Ìµ¤¤)"
 
-#: ../src/itdb_itunesdb.c:840
+#: ../src/itdb_itunesdb.c:888
 #, c-format
 msgid "Play Counts file ('%s'): header length smaller than expected (%d<96)."
-msgstr "ºÆÀ¸²ó¿ô¥Õ¥¡¥¤¥ë ('%s'): ¥Ø¥Ã¥À¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó¡£(%d<96)"
+msgstr "ºÆÀ¸²ó¿ô¥Õ¥¡¥¤¥ë ('%s'): ¥Ø¥Ã¥À¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó (%d<96)."
 
-#: ../src/itdb_itunesdb.c:853
+#: ../src/itdb_itunesdb.c:902
 #, c-format
 msgid "Play Counts file ('%s'): entry length smaller than expected (%d<12)."
-msgstr "ºÆÀ¸²ó¿ô¥Õ¥¡¥¤¥ë ('%s'): ¥¨¥ó¥È¥ê¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó¡£(%d<12)"
+msgstr "ºÆÀ¸²ó¿ô¥Õ¥¡¥¤¥ë ('%s'): ¥¨¥ó¥È¥ê¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó (%d<12)."
 
-#: ../src/itdb_itunesdb.c:931
+#: ../src/itdb_itunesdb.c:981
 #, c-format
 msgid "iTunesStats file ('%s'): entry length smaller than expected (%d<18)."
-msgstr "iTunesStats ¥Õ¥¡¥¤¥ë ('%s'): ¥¨¥ó¥È¥ê¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó¡£(%d<18)"
+msgstr "iTunesStats ¥Õ¥¡¥¤¥ë ('%s'): ¥¨¥ó¥È¥ê¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó (%d<18)."
 
-#: ../src/itdb_itunesdb.c:1250
+#: ../src/itdb_itunesdb.c:1300
 #, c-format
 msgid "iTunesDB corrupt: no MHOD at offset %ld in file '%s'."
 msgstr ""
-"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: MHOD ¤¬¸«ÉÕ¤«¤ê¤Þ¤»¤ó¡£(¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È "
-"%1$ld)"
+"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: MHOD ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó (¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %"
+"1$ld)."
 
-#: ../src/itdb_itunesdb.c:1407
+#: ../src/itdb_itunesdb.c:1462
 #, c-format
 msgid ""
 "Length of smart playlist rule field (%d) not as expected. Trying to continue "
 "anyhow.\n"
 msgstr ""
-"¥¹¥Þ¡¼¥È¥×¥ì¥¤¥ê¥¹¥È¤Î¥ë¡¼¥ë¤ÎŤµ (%d) ¤¬´üÂÔ¤µ¤ì¤ëŤµ¤È°Û¤Ê¤ê¤Þ¤¹¡£½èÍý¤ò"
-"³¤±¤Þ¤¹¡£\n"
+"¥¹¥Þ¡¼¥È¥×¥ì¥¤¥ê¥¹¥È¤Î¥ë¡¼¥ë¤ÎŤµ (%d) ¤¬´üÂÔ¤µ¤ì¤ëŤµ¤È°Û¤Ê¤ê¤Þ¤¹. ½èÍý¤ò"
+"³¤±¤Þ¤¹.\n"
 
-#: ../src/itdb_itunesdb.c:1439
+#: ../src/itdb_itunesdb.c:1494
 #, c-format
 msgid "iTunesDB corrupt: no SLst at offset %ld in file '%s'."
 msgstr ""
-"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: SLst ¤¬¸«ÉÕ¤«¤ê¤Þ¤»¤ó¡£(¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È "
-"%1$ld)"
+"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: SLst ¤¬¸«ÉÕ¤«¤ê¤Þ¤»¤ó (¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %"
+"1$ld)."
 
-#: ../src/itdb_itunesdb.c:1452
+#: ../src/itdb_itunesdb.c:1507
 #, c-format
 msgid ""
 "Encountered unknown MHOD type (%d) while parsing the iTunesDB. Ignoring.\n"
 "\n"
 msgstr ""
-"iTunesDB ¤ÎÆɤ߹þ¤ßÃæ¤Ë¡¢Ì¤ÃΤΠMHOD ¥¿¥¤¥× (%d) ¤òȯ¸«¤·¤Þ¤·¤¿¡£Ìµ»ë¤·¤Þ"
-"¤¹¡£\n"
+"iTunesDB ¤ÎÆɤ߹þ¤ßÃæ¤Ë, ̤ÃΤΠMHOD ¥¿¥¤¥× (%d) ¤òȯ¸«¤·¤Þ¤·¤¿. ̵»ë¤·¤Þ"
+"¤¹.\n"
 "\n"
 
-#: ../src/itdb_itunesdb.c:1514
+#: ../src/itdb_itunesdb.c:1577
 #, c-format
 msgid "iTunesDB corrupt: hunk length 0 for hunk at %ld in file '%s'."
 msgstr ""
-"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: hunk ¤ÎŤµ¤¬ 0 ¤Ç¤¹¡£(¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %"
-"1$ld)"
+"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: hunk ¤ÎŤµ¤¬ 0 ¤Ç¤¹ (¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %1"
+"$ld)."
 
-#: ../src/itdb_itunesdb.c:1527
+#: ../src/itdb_itunesdb.c:1590
 #, c-format
 msgid ""
 "iTunesDB corrupt: no section '%s' found in section '%s' starting at %ld."
 msgstr ""
 "iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: %3$ld ¤Î°ÌÃ֤ˤ¢¤ë¥»¥¯¥·¥ç¥ó '%2$s' ¤ÎÃæ¤Ë¥»¥¯¥·¥ç"
-"¥ó '%1$s' ¤Ï¤¢¤ê¤Þ¤»¤ó¡£"
+"¥ó '%1$s' ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó."
 
-#: ../src/itdb_itunesdb.c:1541
+#: ../src/itdb_itunesdb.c:1604
 #, c-format
 msgid ""
 "header length of '%s' smaller than expected (%d < %d) at offset %ld in file "
 "'%s'."
 msgstr ""
 "'%1$s' ¤Î¥Ø¥Ã¥À¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó (%2$d < %3$d) (¥Õ¥¡¥¤¥ë '%5$s', ¥ª¥Õ¥»¥Ã¥È "
-"%4$ld)"
+"%4$ld)."
 
-#: ../src/itdb_itunesdb.c:1626
+#: ../src/itdb_itunesdb.c:1689
 #, c-format
 msgid "Not a iTunesDB: '%s' (missing mhdb header)."
-msgstr "iTunesDB ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó: '%s' (mhdb ¥Ø¥Ã¥À¤¬Ìµ¤¤)"
+msgstr "iTunesDB ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó: '%s' (mhdb ¥Ø¥Ã¥À¤¬Ìµ¤¤)."
 
-#: ../src/itdb_itunesdb.c:1643
+#: ../src/itdb_itunesdb.c:1706
 #, c-format
 msgid ""
 "iTunesDB ('%s'): header length of mhsd hunk smaller than expected (%d<32). "
 "Aborting."
-msgstr "iTunesDB ('%s'): mhsd ¤Î¥Ø¥Ã¥À¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó(%d<32)¡£Ãæ»ß¤·¤Þ¤¹¡£"
+msgstr "iTunesDB ('%s'): mhsd ¤Î¥Ø¥Ã¥À¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó (%d<32). Ãæ»ß¤·¤Þ¤¹."
 
-#: ../src/itdb_itunesdb.c:1664
+#: ../src/itdb_itunesdb.c:1727
 #, c-format
 msgid "iTunesDB '%s' corrupt: mhsd expected at %ld."
-msgstr "iTunesDB '%s' ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: mhsd ¤¬ %ld ¤Î°ÌÃ֤˸«ÉÕ¤«¤ê¤Þ¤»¤ó¡£"
+msgstr "iTunesDB '%s' ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: mhsd ¤¬ %ld ¤Î°ÌÃ֤˸«¤Ä¤«¤ê¤Þ¤»¤ó."
 
-#: ../src/itdb_itunesdb.c:1781
+#: ../src/itdb_itunesdb.c:1844
 #, c-format
 msgid "Number of MHODs in mhip at %ld inconsistent in file '%s'."
 msgstr ""
-"mhip ¤ÎÃæ¤Î MHOD ¤Î¿ô¤¬¿©¤¤°ã¤Ã¤Æ¤¤¤Þ¤¹¡£(¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %1$ld)"
+"mhip Ãæ¤Î MHOD ¤Î¿ô¤¬¿©¤¤°ã¤Ã¤Æ¤¤¤Þ¤¹ (¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %1$ld)."
 
-#: ../src/itdb_itunesdb.c:1799
+#: ../src/itdb_itunesdb.c:1862
 #, c-format
 msgid "Itdb_Track ID '%d' not found.\n"
-msgstr "Itdb_Track ID '%d' ¤¬¸«ÉÕ¤«¤ê¤Þ¤»¤ó¡£\n"
+msgstr "Itdb_Track ID '%d' ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó.\n"
 
-#: ../src/itdb_itunesdb.c:1956
+#: ../src/itdb_itunesdb.c:2024
 #, c-format
 msgid "Number of MHODs in mhyp at %ld inconsistent in file '%s'."
 msgstr ""
-"mhyp ¤ÎÃæ¤Î MHOD ¤Î¿ô¤¬¿©¤¤°ã¤Ã¤Æ¤¤¤Þ¤¹¡£(¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %1$ld)"
+"mhyp Ãæ¤Î MHOD ¤Î¿ô¤¬¿©¤¤°ã¤Ã¤Æ¤¤¤Þ¤¹ (¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %1$ld)."
 
-#: ../src/itdb_itunesdb.c:1966
+#: ../src/itdb_itunesdb.c:2034
 msgid "Master-PL"
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:1970
+#: ../src/itdb_itunesdb.c:2038
 msgid "Podcasts"
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:1972
+#: ../src/itdb_itunesdb.c:2040
 msgid "Playlist"
 msgstr "¥×¥ì¥¤¥ê¥¹¥È"
 
-#: ../src/itdb_itunesdb.c:1994
+#: ../src/itdb_itunesdb.c:2062
 #, c-format
 msgid ""
 "iTunesDB corrupt: number of mhip sections inconsistent in mhyp starting at %"
 "ld in file '%s'."
 msgstr ""
-"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: mhyp ¤ÎÃæ¤Î mhip ¥»¥¯¥·¥ç¥ó¤Î¿ô¤¬¿©¤¤°ã¤Ã¤Æ¤¤¤Þ¤¹¡£"
-"(¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %1$ld)"
+"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: mhyp Ãæ¤Î mhip ¥»¥¯¥·¥ç¥ó¤Î¿ô¤¬¿©¤¤°ã¤Ã¤Æ¤¤¤Þ¤¹ "
+"(¥Õ¥¡¥¤¥ë '%2$s', ¥ª¥Õ¥»¥Ã¥È %1$ld)."
 
-#: ../src/itdb_itunesdb.c:2279
+#: ../src/itdb_itunesdb.c:2375
 msgid "OTG Playlist"
 msgstr "OTG ¥×¥ì¥¤¥ê¥¹¥È"
 
-#: ../src/itdb_itunesdb.c:2297
+#: ../src/itdb_itunesdb.c:2393
 #, c-format
 msgid "Not a OTG playlist file: '%s' (missing mhpo header)."
-msgstr "OTG ¥×¥ì¥¤¥ê¥¹¥È¤Î¥Õ¥¡¥¤¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó: '%s' (mhpo ¥Ø¥Ã¥À¤¬Ìµ¤¤)"
+msgstr "OTG ¥×¥ì¥¤¥ê¥¹¥È¤Î¥Õ¥¡¥¤¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó: '%s' (mhpo ¥Ø¥Ã¥À¤¬Ìµ¤¤)."
 
-#: ../src/itdb_itunesdb.c:2311
+#: ../src/itdb_itunesdb.c:2407
 #, c-format
 msgid "OTG playlist file ('%s'): header length smaller than expected (%d<20)."
-msgstr "OTG ¥×¥ì¥¤¥ê¥¹¥È¥Õ¥¡¥¤¥ë ('%s'): ¥Ø¥Ã¥À¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó¡£(%d<20)"
+msgstr "OTG ¥×¥ì¥¤¥ê¥¹¥È¥Õ¥¡¥¤¥ë ('%s'): ¥Ø¥Ã¥À¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó (%d<20)."
 
-#: ../src/itdb_itunesdb.c:2323
+#: ../src/itdb_itunesdb.c:2419
 #, c-format
 msgid ""
 "OTG playlist file file ('%s'): entry length smaller than expected (%d<4)."
-msgstr "OTG ¥×¥ì¥¤¥ê¥¹¥È¥Õ¥¡¥¤¥ë ('%s'): ¥¨¥ó¥È¥ê¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó¡£(%d<4)"
+msgstr "OTG ¥×¥ì¥¤¥ê¥¹¥È¥Õ¥¡¥¤¥ë ('%s'): ¥¨¥ó¥È¥ê¤ÎŤµ¤¬Â­¤ê¤Þ¤»¤ó (%d<4)."
 
-#: ../src/itdb_itunesdb.c:2358
+#: ../src/itdb_itunesdb.c:2454
 #, c-format
 msgid "OTG playlist file '%s': reference to non-existent track (%d)."
 msgstr ""
-"OTG ¥×¥ì¥¤¥ê¥¹¥È¥Õ¥¡¥¤¥ë ('%s'): ¸ºß¤·¤Ê¤¤¶ÊÈÖ¹æ (%d) ¤Ø¤Î»²¾È¤¬¤¢¤ê¤Þ¤¹¡£"
+"OTG ¥×¥ì¥¤¥ê¥¹¥È¥Õ¥¡¥¤¥ë ('%s'): ¸ºß¤·¤Ê¤¤¶ÊÈÖ¹æ (%d) ¤Ø¤Î»²¾È¤¬¤¢¤ê¤Þ¤¹."
 
-#: ../src/itdb_itunesdb.c:2403
+#: ../src/itdb_itunesdb.c:2499
 #, c-format
 msgid "OTG Playlist %d"
 msgstr "OTG ¥×¥ì¥¤¥ê¥¹¥È %d"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2471
+#: ../src/itdb_itunesdb.c:2567
 msgid ""
 "iTunesDB corrupt: number of tracks (mhit hunks) inconsistent. Trying to "
 "continue.\n"
 msgstr ""
-"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: ¶Ê¿ô (mhit ¤Î¿ô) ¤¬¿©¤¤°ã¤Ã¤Æ¤¤¤Þ¤¹¡£½èÍý¤ò³¤±¤Þ"
-"¤¹¡£\n"
+"iTunesDB ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: ¶Ê¿ô (mhit ¤Î¿ô) ¤¬¿©¤¤°ã¤Ã¤Æ¤¤¤Þ¤¹. ½èÍý¤ò³¤±¤Þ"
+"¤¹.\n"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2534
+#: ../src/itdb_itunesdb.c:2630
 msgid ""
 "iTunesDB possibly corrupt: number of playlists (mhyp hunks) inconsistent. "
 "Trying to continue.\n"
 msgstr ""
 "iTunesDB ¤¬Â¿Ê¬²õ¤ì¤Æ¤¤¤Þ¤¹: ¥×¥ì¥¤¥ê¥¹¥È¤Î¿ô (mhyp ¤Î¿ô) ¤¬¿©¤¤°ã¤Ã¤Æ¤¤¤Þ"
-"¤¹¡£½èÍý¤ò³¤±¤Þ¤¹¡£\n"
+"¤¹. ½èÍý¤ò³¤±¤Þ¤¹.\n"
 
-#: ../src/itdb_itunesdb.c:2581
+#: ../src/itdb_itunesdb.c:2677
 #, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find tracklist (no mhsd type 1 section "
 "found)"
 msgstr ""
-"iTunesDB '%s' ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: ¶Ê¥ê¥¹¥È¤¬¸«ÉÕ¤«¤ê¤Þ¤»¤ó¡£(mhsd ¥¿¥¤¥× 1 ¥»¥¯"
-"¥·¥ç¥ó¤¬¸«ÉÕ¤«¤é¤Ê¤¤)"
+"iTunesDB '%s' ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: ¶Ê¥ê¥¹¥È¤¬¸«ÉÕ¤«¤ê¤Þ¤»¤ó. (mhsd ¥¿¥¤¥× 1 ¥»¥¯"
+"¥·¥ç¥ó¤¬¸«¤Ä¤«¤é¤Ê¤¤)"
 
-#: ../src/itdb_itunesdb.c:2610
+#: ../src/itdb_itunesdb.c:2706
 #, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find playlists (no mhsd type 2 or type 3 "
 "sections found)"
 msgstr ""
-"iTunesDB '%s' ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: ¥×¥ì¥¤¥ê¥¹¥È¤¬¸«ÉÕ¤«¤ê¤Þ¤»¤ó¡£(mhsd ¥¿¥¤¥× 2 "
-"¤È ¥¿¥¤¥× 3 ¤Î¥»¥¯¥·¥ç¥ó¤¬¸«ÉÕ¤«¤é¤Ê¤¤)"
+"iTunesDB '%s' ¤¬²õ¤ì¤Æ¤¤¤Þ¤¹: ¥×¥ì¥¤¥ê¥¹¥È¤¬¸«ÉÕ¤«¤ê¤Þ¤»¤ó. (mhsd ¥¿¥¤¥× 2 "
+"¤È ¥¿¥¤¥× 3 ¤Î¥»¥¯¥·¥ç¥ó¤¬¸«¤Ä¤«¤é¤Ê¤¤)"
 
-#: ../src/itdb_itunesdb.c:2632
+#: ../src/itdb_itunesdb.c:2728
 #, c-format
 msgid "iTunes directory not found: '%s' (or similar)."
-msgstr ""
+msgstr "iTunes ¥Ç¥£¥ì¥¯¥È¥ê¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s' (¤Ê¤É)."
 
-#: ../src/itdb_itunesdb.c:2649
+#: ../src/itdb_itunesdb.c:2745
 #, c-format
 msgid "Music directory not found: '%s' (or similar)."
-msgstr ""
+msgstr "Music ¥Ç¥£¥ì¥¯¥È¥ê¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s' (¤Ê¤É)."
 
-#: ../src/itdb_itunesdb.c:2667
+#: ../src/itdb_itunesdb.c:2763
 #, c-format
 msgid "Control directory not found: '%s' (or similar)."
-msgstr ""
+msgstr "Control ¥Ç¥£¥ì¥¯¥È¥ê¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s' (¤Ê¤É)."
 
-#: ../src/itdb_itunesdb.c:2740
+#: ../src/itdb_itunesdb.c:2836
 #, c-format
 msgid "File not found: '%s'."
-msgstr "¥Õ¥¡¥¤¥ë¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s'"
+msgstr "¥Õ¥¡¥¤¥ë¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s'."
 
-#: ../src/itdb_itunesdb.c:3542
+#: ../src/itdb_itunesdb.c:3654
 #, c-format
 msgid "Cannot write mhod of type %d\n"
-msgstr "mhod ¥¿¥¤¥× %d ¤¬½ñ¤­¹þ¤á¤Þ¤»¤ó¡£\n"
+msgstr "mhod ¥¿¥¤¥× %d ¤¬½ñ¤­¹þ¤á¤Þ¤»¤ó.\n"
 
-#: ../src/itdb_itunesdb.c:4098
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:4245
+#, c-format
 msgid "Opening of '%s' for writing failed (%s)."
-msgstr "'%s' ¤ò½ñ¤­¹þ¤ßÍѤ˳«¤¯¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£"
+msgstr "'%s' ¤ò½ñ¤­¹þ¤ßÍѤ˳«¤¯¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó (%s)."
 
-#: ../src/itdb_itunesdb.c:4109 ../src/itdb_itunesdb.c:4120
+#: ../src/itdb_itunesdb.c:4256 ../src/itdb_itunesdb.c:4267
 #, c-format
 msgid "Writing to '%s' failed (%s)."
-msgstr "'%s'¤Î½ñ¤­¹þ¤ß¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£(%s)"
+msgstr "'%s'¤Î½ñ¤­¹þ¤ß¤Ë¼ºÇÔ¤·¤Þ¤·¤¿ (%s)."
 
-#: ../src/itdb_itunesdb.c:4470
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:4617
+#, c-format
 msgid "Path not found: '%s' (or similar)."
-msgstr "¥Ñ¥¹¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s'"
+msgstr "¥Ñ¥¹¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s' (¤Ê¤É)."
 
-#: ../src/itdb_itunesdb.c:4689
+#: ../src/itdb_itunesdb.c:4836
 #, c-format
 msgid "Error renaming '%s' to '%s' (%s)."
-msgstr "'%s' ¤ò '%s' ¤ËÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£(%s)"
+msgstr "'%s' ¤ò '%s' ¤ËÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó (%s)."
 
-#: ../src/itdb_itunesdb.c:4706 ../src/itdb_itunesdb.c:4723
+#: ../src/itdb_itunesdb.c:4853 ../src/itdb_itunesdb.c:4870
 #, c-format
 msgid "Error removing '%s' (%s)."
-msgstr "'%s' ¤Îºï½üÃæ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿¡£(%s)"
+msgstr "'%s' ¤Îºï½üÃæ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿ (%s)."
 
-#: ../src/itdb_itunesdb.c:4909
+#: ../src/itdb_itunesdb.c:5056
 #, c-format
 msgid "No 'F..' directories found in '%s'."
-msgstr "'F..' ¥Ç¥£¥ì¥¯¥È¥ê¤¬ '%s' ¤ÎÃæ¤Ë¤¢¤ê¤Þ¤»¤ó¡£"
+msgstr "'F..' ¥Ç¥£¥ì¥¯¥È¥ê¤¬ '%s' ¤ÎÃæ¤Ë¤¢¤ê¤Þ¤»¤ó."
 
-#: ../src/itdb_itunesdb.c:4937
+#: ../src/itdb_itunesdb.c:5084
 #, c-format
 msgid "Path not found: '%s'."
-msgstr "¥Ñ¥¹¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s'"
+msgstr "¥Ñ¥¹¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s'."
 
-#: ../src/itdb_itunesdb.c:5096
+#: ../src/itdb_itunesdb.c:5243
 #, c-format
 msgid "Error opening '%s' for reading (%s)."
-msgstr "'%s' ¤òÆɤ߹þ¤ßÍѤ˳«¤¯¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£(%s)"
+msgstr "'%s' ¤òÆɤ߹þ¤ßÍѤ˳«¤¯¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó (%s)."
 
-#: ../src/itdb_itunesdb.c:5107
+#: ../src/itdb_itunesdb.c:5254
 #, c-format
 msgid "Error opening '%s' for writing (%s)."
-msgstr "'%s' ¤ò½ñ¤­¹þ¤ßÍѤ˳«¤¯¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£(%s)"
+msgstr "'%s' ¤ò½ñ¤­¹þ¤ßÍѤ˳«¤¯¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó (%s)."
 
-#: ../src/itdb_itunesdb.c:5124
+#: ../src/itdb_itunesdb.c:5271
 #, c-format
 msgid "Error while reading from '%s' (%s)."
-msgstr "'%s' ¤ÎÆɤ߹þ¤ßÃæ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿¡£(%s)"
+msgstr "'%s' ¤ÎÆɤ߹þ¤ßÃæ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿ (%s)."
 
-#: ../src/itdb_itunesdb.c:5140
+#: ../src/itdb_itunesdb.c:5287
 #, c-format
 msgid "Error while writing to '%s' (%s)."
-msgstr "'%s' ¤Î½ñ¤­¹þ¤ßÃæ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿¡£(%s)"
+msgstr "'%s' ¤Î½ñ¤­¹þ¤ßÃæ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿ (%s)."
 
-#: ../src/itdb_itunesdb.c:5153 ../src/itdb_itunesdb.c:5163
+#: ../src/itdb_itunesdb.c:5300 ../src/itdb_itunesdb.c:5310
 #, c-format
 msgid "Error when closing '%s' (%s)."
-msgstr "'%s' ¤òÊĤ¸¤ëºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿¡£(%s)"
+msgstr "'%s' ¤òÊĤ¸¤ëºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿ (%s)."
 
-#: ../src/itdb_itunesdb.c:5526
+#: ../src/itdb_itunesdb.c:5673
 msgid "iPod"
 msgstr ""
 
-#: ../src/itdb_itunesdb.c:5919
+#: ../src/itdb_itunesdb.c:6066
 #, c-format
 msgid "Problem creating iPod directory or file: '%s'."
-msgstr ""
+msgstr "iPod ¥Ç¥£¥ì¥¯¥È¥ê¤ÎºîÀ®¤Þ¤¿¤Ï¥Õ¥¡¥¤¥ë '%s' ¤ÎºîÀ®¤Ë¼ºÇÔ¤·¤Þ¤·¤¿."
 
-#: ../src/itdb_photoalbum.c:25
-#, fuzzy, c-format
+#: ../src/itdb_photoalbum.c:107
+#, c-format
 msgid "Photos directory not found: '%s' (or similar)."
-msgstr "¥Ñ¥¹¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s'"
+msgstr "Photos ¥Ç¥£¥ì¥¯¥È¥ê¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó: '%s' (¤Ê¤É)."
 
+#: ../src/itdb_photoalbum.c:245 ../src/itdb_photoalbum.c:442
+msgid "Photo Library"
+msgstr "¼Ì¿¿¥é¥¤¥Ö¥é¥ê"
+
+#: ../src/itdb_photoalbum.c:357
+msgid "You need to specify the iPod model used before photos can be added."
+msgstr ""
+"¼Ì¿¿¤òÄɲ乤ëÁ°¤Ë, »ÈÍѤ·¤Æ¤¤¤ë iPod ¤Î¥â¥Ç¥ë¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹."
+
+#: ../src/itdb_photoalbum.c:378
+#, c-format
+msgid ""
+"Your iPod does not seem to support photos. Maybe you need to specify the "
+"correct iPod model number? It is currently set to 'x%s' (%s/%s)."
+msgstr ""
+"¤ª»È¤¤¤Î iPod ¤Ï¼Ì¿¿¤Îɽ¼¨¤¬¤Ç¤­¤Þ¤»¤ó. ¤ª¤½¤é¤¯Àµ¤·¤¤ iPod ¤Î¥â¥Ç¥ë¤òÀßÄꤷ"
+"¤Æ¤¤¤Ê¤¤¤â¤Î¤È»×¤ï¤ì¤Þ¤¹. ¸½ºß¥â¥Ç¥ëÈÖ¹æ¤Ï 'x%s' ¤ËÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹ (%s%s)."
+
+#: ../src/itdb_photoalbum.c:390
+#, c-format
+msgid "Could not access file '%s'. Photo not added."
+msgstr "¥Õ¥¡¥¤¥ë '%s' ¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿. ¼Ì¿¿¤ÏÄɲ䵤ì¤Þ¤»¤ó."
+
+#: ../src/itdb_photoalbum.c:430
+msgid ""
+"Unexpected error in itdb_photodb_add_photo_internal() while adding photo, "
+"please report."
+msgstr ""
+"¼Ì¿¿¤ÎÄɲÃÃæ¤Ë itdb_photodb_add_photo_internal() Æâ¤Çͽ´ü¤»¤Ì¥¨¥é¡¼¤¬È¯À¸¤·¤Þ"
+"¤·¤¿. ³«È¯¼Ô¤Ø¤ÎÊó¹ð¤ò¤ª´ê¤¤¤·¤Þ¤¹."
+
+#: ../src/itdb_photoalbum.c:450
+msgid ""
+"Library compiled without gdk-pixbuf support. Picture support is disabled."
+msgstr ""
+"¤³¤Î¥½¥Õ¥È¤¬ gdkpixbuf ¤ò»È¤ï¤º¤Ë¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤Þ¤¹. ¼Ì¿¿¤Î¥µ¥Ý¡¼¥È¤Ï̵¸ú"
+"¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹."
+
 #. New action!
 #: ../src/itdb_playlist.c:78
 #, c-format
 msgid "Unknown action (%d) in smart playlist will be ignored.\n"
-msgstr "¥¹¥Þ¡¼¥È¥×¥ì¥¤¥ê¥¹¥ÈÆâ¤Î̤ÃΤΥ¢¥¯¥·¥ç¥ó (%d) ¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£\n"
+msgstr "¥¹¥Þ¡¼¥È¥×¥ì¥¤¥ê¥¹¥ÈÆâ¤Î̤ÃΤΥ¢¥¯¥·¥ç¥ó (%d) ¤Ï̵»ë¤µ¤ì¤Þ¤¹.\n"
 
-#: ../tests/test-photos.c:116
-msgid "Usage to add photos:\n"
+#: ../tests/test-photos.c:39
+#, c-format
+msgid ""
+"Usage to add photos:\n"
+"  %s add <mountpoint> <albumname> [<filename(s)>]\n"
+"  <albumname> should be set to 'NULL' to add photos to the master photo "
+"album\n"
+"  (Photo Library) only. If you don't specify any filenames an empty album "
+"will\n"
+"  be created.\n"
 msgstr ""
+"¼Ì¿¿¤òÄɲ乤ë:\n"
+"  %s add <¥Þ¥¦¥ó¥È¾ì½ê> <¥¢¥ë¥Ð¥à̾> [<¥Õ¥¡¥¤¥ë̾>]\n"
+"  ¥Þ¥¹¥¿¡¼¥¢¥ë¥Ð¥à¤Ë¤Î¤ß¼Ì¿¿¤òÄɲ乤ë¾ì¹ç¤Ï, <albumname> ¤ò 'NULL' ¤È¤·¤Æ¤¯"
+"¤À\n"
+"  ¤µ¤¤. ¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤷ¤Ê¤¤¤È, ¶õ¤Î¥¢¥ë¥Ð¥à¤¬ºîÀ®¤µ¤ì¤Þ¤¹.\n"
 
-#: ../tests/test-photos.c:117
+#: ../tests/test-photos.c:40
 #, c-format
-msgid "%s <mountpoint> <albumname> <filename(s)>\n"
+msgid ""
+"Usage to dump all photos to <output_dir>:\n"
+"  %s dump <mountpoint> <output_dir>\n"
 msgstr ""
+"¤¹¤Ù¤Æ¤Î¼Ì¿¿¤ò <½ÐÎÏÀè¥Ç¥£¥ì¥¯¥È¥ê> ¤ËÊݸ¤¹¤ë:\n"
+"  %s dump <¥Þ¥¦¥ó¥È¾ì½ê> <½ÐÎÏÀè¥Ç¥£¥ì¥¯¥È¥ê>\n"
 
-#: ../tests/test-photos.c:118
+#: ../tests/test-photos.c:41
+#, c-format
 msgid ""
-"albumname should be set to 'master' to add photos to the master photo album\n"
+"Usage to list all photos IDs to stdout:\n"
+"  %s list <mountpoint>\n"
 msgstr ""
+"¤¹¤Ù¤Æ¤Î¼Ì¿¿¤Î ID ¤òɸ½à½ÐÎϤ˽ÐÎϤ¹¤ë:\n"
+"  %s list <¥Þ¥¦¥ó¥È¾ì½ê>\n"
 
-#: ../tests/test-photos.c:119
-msgid "\n"
+#: ../tests/test-photos.c:42
+#, c-format
+msgid ""
+"Usage to remove photo IDs from Photo Library:\n"
+"  %s remove <mountpoint> <albumname> [<ID(s)>]\n"
+"  <albumname> should be set to 'NULL' to to remove photos from the iPod\n"
+"  altogether. If you don't specify any IDs, the photoalbum will be removed\n"
+"  instead.\n"
+"  WARNING: IDs may change when writing the PhotoDB file.\n"
 msgstr ""
+"¼Ì¿¿ ID ¤ò ¥é¥¤¥Ö¥é¥ê¤«¤éºï½ü¤¹¤ë:\n"
+"  %s remove <¥Þ¥¦¥ó¥È¾ì½ê> <¥¢¥ë¥Ð¥à̾> [<ID(s)>]\n"
+"  <¥¢¥ë¥Ð¥à̾> ¤ò 'NULL' ¤Ë¤¹¤ë¤È¤½¤Î¼Ì¿¿¤ò iPod ¤«¤é´°Á´¤Ëºï½ü¤·¤Þ¤¹.\n"
+"  ID ¤ò»ØÄꤷ¤Ê¤¤¤È, ¥¢¥ë¥Ð¥à¤½¤Î¤â¤Î¤òºï½ü¤·¤Þ¤¹.\n"
+"  ·Ù¹ð: PhotoDB ¥Õ¥¡¥¤¥ë¤ò¹¹¿·¤¹¤ë¤È ID ¤âÊѲ½¤·¤Æ¤¤¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹.\n"
 
-#: ../tests/test-photos.c:120
-msgid "Usage to dump all photos to <output_dir>:\n"
-msgstr ""
+#: ../tests/test-photos.c:126
+msgid "Wrong number of command line arguments.\n"
+msgstr "¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î°ú¿ô¤Î¿ô¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó.\n"
 
-#: ../tests/test-photos.c:121
+#: ../tests/test-photos.c:135
 #, c-format
-msgid "%s dump <mountpoint> <output_dir>\n"
-msgstr ""
-
-#: ../tests/test-photos.c:133
-#, fuzzy, c-format
 msgid "Error creating '%s' (mkdir)\n"
-msgstr "'%s' ¤Îºï½üÃæ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿¡£(%s)"
+msgstr "'%s' ¤òºîÀ®¤Ç¤­¤Þ¤»¤ó (mkdir)\n"
 
-#: ../tests/test-photos.c:139
+#: ../tests/test-photos.c:141
 #, c-format
 msgid "Error: '%s' is not a directory\n"
-msgstr ""
+msgstr "'%s' ¤Ï¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó\n"
 
-#: ../tests/test-photos.c:148
-#, fuzzy, c-format
+#: ../tests/test-photos.c:150 ../tests/test-photos.c:184
+#: ../tests/test-photos.c:313
+#, c-format
 msgid "Error reading iPod photo database (%s).\n"
-msgstr "'%s' ¤ò '%s' ¤ËÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£(%s)"
+msgstr "iPod ¤Î¼Ì¿¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÆɤ߹þ¤á¤Þ¤»¤ó (%s).\n"
 
-#: ../tests/test-photos.c:154
+#: ../tests/test-photos.c:156 ../tests/test-photos.c:190
 msgid "Error reading iPod photo database.\n"
+msgstr "iPod ¤Î¼Ì¿¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÆɤ߹þ¤á¤Þ¤»¤ó.\n"
+
+#: ../tests/test-photos.c:174 ../tests/test-photos.c:233
+#: ../tests/test-photos.c:303 ../tests/test-photos.c:386
+msgid "Insufficient number of command line arguments.\n"
+msgstr "¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î°ú¿ô¤Î¿ô¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó.\n"
+
+#: ../tests/test-photos.c:201
+msgid "<Unnamed>"
+msgstr "<̵̾¤·>"
+
+#: ../tests/test-photos.c:216
+msgid "<No members>\n"
 msgstr ""
 
-#: ../tests/test-photos.c:168
+#: ../tests/test-photos.c:243
 #, c-format
 msgid ""
 "Error reading iPod photo database (%s).\n"
 "Will attempt to create a new database.\n"
 msgstr ""
+"iPod ¤Î¼Ì¿¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÆɤ߹þ¤á¤Þ¤»¤ó (%s).\n"
+"¿·µ¬¤Ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºîÀ®¤·¤Þ¤¹.\n"
 
-#: ../tests/test-photos.c:174
+#: ../tests/test-photos.c:249
 msgid ""
 "Error reading iPod photo database, will attempt to create a new database\n"
 msgstr ""
+"iPod ¤Î¼Ì¿¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÆɤ߹þ¤á¤Þ¤»¤ó. ¿·µ¬¤Ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºîÀ®¤·¤Þ¤¹.\n"
 
-#~ msgid "Writing to '%s' failed."
-#~ msgstr "'%s'¤Î½ñ¤­¹þ¤ß¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£"
+#: ../tests/test-photos.c:274
+#, c-format
+msgid "Error adding photo (%s) to photo database: %s\n"
+msgstr "¼Ì¿¿ (%s) ¤ÎÄɲä˼ºÇÔ¤·¤Þ¤·¤¿: %s\n"
+
+#: ../tests/test-photos.c:320
+msgid "Error reading iPod photo database"
+msgstr "iPod ¤Î¼Ì¿¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤òÆɤ߹þ¤á¤Þ¤»¤ó"
+
+#: ../tests/test-photos.c:331
+#, c-format
+msgid "Specified album '%s' not found. Aborting.\n"
+msgstr "»ØÄꤵ¤ì¤¿¥¢¥ë¥Ð¥à '%s' ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó. Ãæ»ß¤·¤Þ¤¹.\n"
+
+#: ../tests/test-photos.c:343
+msgid "Cannot remove Photo Library playlist. Aborting.\n"
+msgstr "¼Ì¿¿¥é¥¤¥Ö¥é¥ê¤òºï½ü¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿. Ãæ»ß¤·¤Þ¤¹.\n"
+
+#: ../tests/test-photos.c:364
+#, fuzzy, c-format
+msgid "Warning: could not find photo with ID <%d>. Skipping...\n"
+msgstr "¼Ì¿¿ ID <%d> ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó. Èô¤Ð¤·¤Þ¤¹...\n"
+
+#: ../tests/test-photos.c:410
+#, c-format
+msgid "Unknown command '%s'\n"
+msgstr "̤ÃΤΥ³¥Þ¥ó¥É '%s'\n"

Modified: libgpod/branches/upstream/current/po/sv.po
===================================================================
--- libgpod/branches/upstream/current/po/sv.po	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/po/sv.po	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,34 +1,39 @@
 # Translation of gtkpod to Swedish.
 # This file is distributed under the same license as gtkpod.
-# Copyright (C) Stefan Asserhäll <stefan.asserhall at comhem.se>, 2004, 2005.
+# Copyright (C) Stefan Asserhäll <stefan.asserhall at comhem.se>, 2004, 2005, 2007.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: sv\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-24 18:02+0900\n"
-"PO-Revision-Date: 2006-05-26 00:41+0900\n"
+"POT-Creation-Date: 2007-01-15 22:30+0900\n"
+"PO-Revision-Date: 2007-01-14 15:53+0100\n"
 "Last-Translator: Stefan Asserhäll <stefan.asserhall at comhem.se>\n"
 "Language-Team: Svenska <sv at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms:  nplurals=2; plural=(n != 1);\n"
-"X-Generator: KBabel 1.11.2\n"
+"X-Generator: KBabel 1.11.4\n"
 
-#: ../src/db-artwork-parser.c:133
+#: ../src/db-artwork-parser.c:131
 #, c-format
 msgid "Unexpected mhod3 string type: %d\n"
 msgstr "Oväntad mhod3 strängtyp; %d\n"
 
-#: ../src/db-artwork-parser.c:360
+#: ../src/db-artwork-parser.c:265
 #, c-format
-msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"
+msgid "Could not find corresponding track (dbid: %s) for artwork entry.\n"
+msgstr "Kunde inte hitta motsvarande spår (dbid: %s) för grafikpost.\n"
+
+#: ../src/db-artwork-parser.c:291
+#, c-format
+msgid "iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)\n"
 msgstr ""
 "Grafikstorlekar i iTunes databas och grafikdatabas inte konseventa (%d + %d !"
-"= %d)"
+"= %d)\n"
 
-#: ../src/db-artwork-parser.c:515
+#: ../src/db-artwork-parser.c:459
 #, c-format
 msgid "Unexpected mhsd index: %d\n"
 msgstr "Oväntat mhsd index: %d\n"
@@ -36,23 +41,32 @@
 #: ../src/db-image-parser.c:118
 #, c-format
 msgid "Unexpected image type in mhni: size: %ux%u (%d), offset: %d\n"
-msgstr ""
+msgstr "Oväntad bildtyp i mhni: storlek: %ux%u (%d), position: %d\n"
 
-#: ../src/itdb_artwork.c:306
+#: ../src/itdb_artwork.c:198
 #, c-format
+msgid "Could not access file '%s'."
+msgstr "Kunde inte komma åt filen '%s'."
+
+#: ../src/itdb_artwork.c:215 ../src/itdb_artwork.c:276
+msgid "Artwork support not compiled into libgpod."
+msgstr "Grafikstöd inte kompilerat i libgpod."
+
+#: ../src/itdb_artwork.c:334
+#, c-format
 msgid "Illegal filename: '%s'.\n"
 msgstr "Ogiltigt filnamn: '%s'.\n"
 
-#: ../src/itdb_artwork.c:312
+#: ../src/itdb_artwork.c:340
 msgid "Mountpoint not set.\n"
 msgstr "Monteringsplats inte inställd.\n"
 
-#: ../src/itdb_artwork.c:387
+#: ../src/itdb_artwork.c:493
 #, c-format
 msgid "Could not find on iPod: '%s'\n"
 msgstr "Kunde inte hitta på iPod: '%s'\n"
 
-#: ../src/itdb_artwork.c:587
+#: ../src/itdb_artwork.c:701
 #, c-format
 msgid ""
 "Unable to retreive thumbnail (appears to be on iPod, but no image info "
@@ -63,160 +77,160 @@
 
 #: ../src/itdb_device.c:170
 msgid "Invalid"
-msgstr ""
+msgstr "Ogiltig"
 
 #: ../src/itdb_device.c:171 ../src/itdb_device.c:197
 msgid "Unknown"
-msgstr ""
+msgstr "Okänd"
 
 #: ../src/itdb_device.c:172
 msgid "Color"
-msgstr ""
+msgstr "Färg"
 
 #: ../src/itdb_device.c:173
 msgid "Color U2"
-msgstr ""
+msgstr "Färg U2"
 
 #: ../src/itdb_device.c:174
 msgid "Grayscale"
-msgstr ""
+msgstr "Gråskala"
 
 #: ../src/itdb_device.c:175
 msgid "Grayscale U2"
-msgstr ""
+msgstr "Gråskala U2"
 
 #: ../src/itdb_device.c:176
 msgid "Mini (Silver)"
-msgstr ""
+msgstr "Mini (silver)"
 
 #: ../src/itdb_device.c:177
 msgid "Mini (Blue)"
-msgstr ""
+msgstr "Mini (blå)"
 
 #: ../src/itdb_device.c:178
 msgid "Mini (Pink)"
-msgstr ""
+msgstr "Mini (rosa)"
 
 #: ../src/itdb_device.c:179
 msgid "Mini (Green)"
-msgstr ""
+msgstr "Mini (grön)"
 
 #: ../src/itdb_device.c:180
 msgid "Mini (Gold)"
-msgstr ""
+msgstr "Mini (guld)"
 
 #: ../src/itdb_device.c:181
 msgid "Shuffle"
-msgstr ""
+msgstr "Shuffle"
 
 #: ../src/itdb_device.c:182
 msgid "Nano (White)"
-msgstr ""
+msgstr "Nano (vit)"
 
 #: ../src/itdb_device.c:183
 msgid "Nano (Black)"
-msgstr ""
+msgstr "Nano (svart)"
 
 #: ../src/itdb_device.c:184
 msgid "Video (White)"
-msgstr ""
+msgstr "Video (vit)"
 
 #: ../src/itdb_device.c:185
 msgid "Video (Black)"
-msgstr ""
+msgstr "Video (svart)"
 
 #: ../src/itdb_device.c:186
 msgid "Mobile (1)"
-msgstr ""
+msgstr "Mobil (1)"
 
 #: ../src/itdb_device.c:187
 msgid "Video U2"
-msgstr ""
+msgstr "Video U2"
 
 #: ../src/itdb_device.c:188
 msgid "Nano (Silver)"
-msgstr ""
+msgstr "Nano (silver)"
 
 #: ../src/itdb_device.c:189
 msgid "Nano (Blue)"
-msgstr ""
+msgstr "Nano (blå)"
 
 #: ../src/itdb_device.c:190
 msgid "Nano (Green)"
-msgstr ""
+msgstr "Nano (grön)"
 
 #: ../src/itdb_device.c:191
 msgid "Nano (Pink)"
-msgstr ""
+msgstr "Nano (rosa)"
 
 #: ../src/itdb_device.c:198
 msgid "First Generation"
-msgstr ""
+msgstr "Första generationen"
 
 #: ../src/itdb_device.c:199
 msgid "Second Generation"
-msgstr ""
+msgstr "Andra generationen"
 
 #: ../src/itdb_device.c:200
 msgid "Third Generation"
-msgstr ""
+msgstr "Tredje generationen"
 
 #: ../src/itdb_device.c:201
 msgid "Fourth Generation"
-msgstr ""
+msgstr "Fjärde generationen"
 
 #: ../src/itdb_device.c:202
 msgid "Fifth Generation"
-msgstr ""
+msgstr "Femte generationen"
 
 #: ../src/itdb_device.c:203
 msgid "Sixth Generation"
-msgstr ""
+msgstr "Sjätte generationen"
 
 #: ../src/itdb_device.c:204
 msgid "Mobile Phone"
-msgstr ""
+msgstr "Mobiltelefon"
 
-#: ../src/itdb_device.c:449
-#, fuzzy, c-format
+#: ../src/itdb_device.c:450
+#, c-format
 msgid "Could not open '%s' for writing."
-msgstr "Fel när '%s' skulle öppnas för skrivning (%s)."
+msgstr "Kunde inte öppna '%s' för skrivning."
 
-#: ../src/itdb_device.c:458
+#: ../src/itdb_device.c:459
 msgid "Device directory does not exist."
-msgstr ""
+msgstr "Enhetskatalog finns inte."
 
-#: ../src/itdb_itunesdb.c:371
+#: ../src/itdb_itunesdb.c:419
 #, c-format
 msgid "Illegal seek to offset %ld (length %ld) in file '%s'."
 msgstr "Ogiltig sökning till position %ld (längd %ld) i filen '%s'."
 
-#: ../src/itdb_itunesdb.c:825
+#: ../src/itdb_itunesdb.c:873
 #, c-format
 msgid "Not a Play Counts file: '%s' (missing mhdp header)."
 msgstr "Inte en uppspelningsdatafil: '%s' (saknar mhdp-huvud)."
 
-#: ../src/itdb_itunesdb.c:840
+#: ../src/itdb_itunesdb.c:888
 #, c-format
 msgid "Play Counts file ('%s'): header length smaller than expected (%d<96)."
 msgstr "Uppspelningsdatafil ('%s'): Huvudlängd mindre än väntat (%d < 96)"
 
-#: ../src/itdb_itunesdb.c:853
+#: ../src/itdb_itunesdb.c:902
 #, c-format
 msgid "Play Counts file ('%s'): entry length smaller than expected (%d<12)."
 msgstr "Uppspelningsdatafil ('%s'): Postlängd mindre än väntat (%d < 12)"
 
-#: ../src/itdb_itunesdb.c:931
+#: ../src/itdb_itunesdb.c:981
 #, c-format
 msgid "iTunesStats file ('%s'): entry length smaller than expected (%d<18)."
 msgstr "iTunes statistikfil ('%s'): Postlängd mindre än väntat (%d < 18)"
 
-#: ../src/itdb_itunesdb.c:1250
+#: ../src/itdb_itunesdb.c:1300
 #, c-format
 msgid "iTunesDB corrupt: no MHOD at offset %ld in file '%s'."
 msgstr "iTunes databas skadad: Ingen MHOD på position %ld i filen '%s'."
 
-#: ../src/itdb_itunesdb.c:1407
+#: ../src/itdb_itunesdb.c:1462
 #, c-format
 msgid ""
 "Length of smart playlist rule field (%d) not as expected. Trying to continue "
@@ -225,12 +239,12 @@
 "Regelfältets längd (%d) i den smarta spellistan är inte den förväntade. "
 "Försöker fortsätta ändå.\n"
 
-#: ../src/itdb_itunesdb.c:1439
+#: ../src/itdb_itunesdb.c:1494
 #, c-format
 msgid "iTunesDB corrupt: no SLst at offset %ld in file '%s'."
 msgstr "iTunes databas skadad: Ingen SLst på position %ld i filen '%s'."
 
-#: ../src/itdb_itunesdb.c:1452
+#: ../src/itdb_itunesdb.c:1507
 #, c-format
 msgid ""
 "Encountered unknown MHOD type (%d) while parsing the iTunesDB. Ignoring.\n"
@@ -240,13 +254,13 @@
 "den.\n"
 "\n"
 
-#: ../src/itdb_itunesdb.c:1514
+#: ../src/itdb_itunesdb.c:1577
 #, c-format
 msgid "iTunesDB corrupt: hunk length 0 for hunk at %ld in file '%s'."
 msgstr ""
 "iTunes databas skadad: Datalängd 0 för data på position %ld i filen '%s'."
 
-#: ../src/itdb_itunesdb.c:1527
+#: ../src/itdb_itunesdb.c:1590
 #, c-format
 msgid ""
 "iTunesDB corrupt: no section '%s' found in section '%s' starting at %ld."
@@ -254,7 +268,7 @@
 "iTunes databas skadad: NÃ¥gon sektion '%s' hittades inte i sektion '%s' med "
 "början på %ld."
 
-#: ../src/itdb_itunesdb.c:1541
+#: ../src/itdb_itunesdb.c:1604
 #, c-format
 msgid ""
 "header length of '%s' smaller than expected (%d < %d) at offset %ld in file "
@@ -262,12 +276,12 @@
 msgstr ""
 "Huvudlängd för '%s' mindre än väntat (%d < %d) på position %ld i filen '%s'."
 
-#: ../src/itdb_itunesdb.c:1626
+#: ../src/itdb_itunesdb.c:1689
 #, c-format
 msgid "Not a iTunesDB: '%s' (missing mhdb header)."
 msgstr "Inte en iTunes databas: '%s' (saknar mhdb-huvud)."
 
-#: ../src/itdb_itunesdb.c:1643
+#: ../src/itdb_itunesdb.c:1706
 #, c-format
 msgid ""
 "iTunesDB ('%s'): header length of mhsd hunk smaller than expected (%d<32). "
@@ -276,39 +290,39 @@
 "iTunes databas ('%s'): Huvudlängd för mhsd-data mindre än väntat (%d < 32). "
 "Avbryter."
 
-#: ../src/itdb_itunesdb.c:1664
+#: ../src/itdb_itunesdb.c:1727
 #, c-format
 msgid "iTunesDB '%s' corrupt: mhsd expected at %ld."
 msgstr "iTunes databas '%s' skadad: Förväntade mhsd på position %ld."
 
-#: ../src/itdb_itunesdb.c:1781
+#: ../src/itdb_itunesdb.c:1844
 #, c-format
 msgid "Number of MHODs in mhip at %ld inconsistent in file '%s'."
 msgstr "Antal MHOD i mhip på position %ld inte konsekvent i filen '%s'."
 
-#: ../src/itdb_itunesdb.c:1799
+#: ../src/itdb_itunesdb.c:1862
 #, c-format
 msgid "Itdb_Track ID '%d' not found.\n"
 msgstr "ITunes databas spår-id '%d' hittades inte.\n"
 
-#: ../src/itdb_itunesdb.c:1956
+#: ../src/itdb_itunesdb.c:2024
 #, c-format
 msgid "Number of MHODs in mhyp at %ld inconsistent in file '%s'."
 msgstr "Antal MHOD i mhyp på position %ld inte konsekvent i filen '%s'."
 
-#: ../src/itdb_itunesdb.c:1966
+#: ../src/itdb_itunesdb.c:2034
 msgid "Master-PL"
 msgstr "Huvudspellista"
 
-#: ../src/itdb_itunesdb.c:1970
+#: ../src/itdb_itunesdb.c:2038
 msgid "Podcasts"
 msgstr "Podradiosändningar"
 
-#: ../src/itdb_itunesdb.c:1972
+#: ../src/itdb_itunesdb.c:2040
 msgid "Playlist"
 msgstr "Spellista"
 
-#: ../src/itdb_itunesdb.c:1994
+#: ../src/itdb_itunesdb.c:2062
 #, c-format
 msgid ""
 "iTunesDB corrupt: number of mhip sections inconsistent in mhyp starting at %"
@@ -317,38 +331,38 @@
 "iTunes databas skadad: Antal mhip sektioner inte konsekvent i mhyp med "
 "början på %ld i filen '%s'."
 
-#: ../src/itdb_itunesdb.c:2279
+#: ../src/itdb_itunesdb.c:2375
 msgid "OTG Playlist"
 msgstr "OTG-spellista"
 
-#: ../src/itdb_itunesdb.c:2297
+#: ../src/itdb_itunesdb.c:2393
 #, c-format
 msgid "Not a OTG playlist file: '%s' (missing mhpo header)."
 msgstr "Inte en OTG-spellistefil: '%s' (saknar mhpo-huvud)."
 
-#: ../src/itdb_itunesdb.c:2311
+#: ../src/itdb_itunesdb.c:2407
 #, c-format
 msgid "OTG playlist file ('%s'): header length smaller than expected (%d<20)."
 msgstr "OTG-spellistefil ('%s'): Huvudlängd mindre än väntat (%d < 20)"
 
-#: ../src/itdb_itunesdb.c:2323
+#: ../src/itdb_itunesdb.c:2419
 #, c-format
 msgid ""
 "OTG playlist file file ('%s'): entry length smaller than expected (%d<4)."
 msgstr "OTG-spellistefil ('%s'): Postlängd mindre än väntat (%d < 4)"
 
-#: ../src/itdb_itunesdb.c:2358
+#: ../src/itdb_itunesdb.c:2454
 #, c-format
 msgid "OTG playlist file '%s': reference to non-existent track (%d)."
 msgstr "OTG-spellistefil '%s': Referens till spår som inte finns (%d)."
 
-#: ../src/itdb_itunesdb.c:2403
+#: ../src/itdb_itunesdb.c:2499
 #, c-format
 msgid "OTG Playlist %d"
 msgstr "OTG-spellista %d"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2471
+#: ../src/itdb_itunesdb.c:2567
 msgid ""
 "iTunesDB corrupt: number of tracks (mhit hunks) inconsistent. Trying to "
 "continue.\n"
@@ -357,7 +371,7 @@
 "fortsätta.\n"
 
 #. this should not be -- issue warning
-#: ../src/itdb_itunesdb.c:2534
+#: ../src/itdb_itunesdb.c:2630
 msgid ""
 "iTunesDB possibly corrupt: number of playlists (mhyp hunks) inconsistent. "
 "Trying to continue.\n"
@@ -365,7 +379,7 @@
 "iTunes databas möjligen skadad: Antal spellistor (mhyp-data) inte "
 "konsekvent. Försöker fortsätta.\n"
 
-#: ../src/itdb_itunesdb.c:2581
+#: ../src/itdb_itunesdb.c:2677
 #, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find tracklist (no mhsd type 1 section "
@@ -374,7 +388,7 @@
 "iTunes databas '%s' skadad: Kunde inte hitta spårlista (någon mhsd av typ 1 "
 "hittades inte)"
 
-#: ../src/itdb_itunesdb.c:2610
+#: ../src/itdb_itunesdb.c:2706
 #, c-format
 msgid ""
 "iTunesDB '%s' corrupt: Could not find playlists (no mhsd type 2 or type 3 "
@@ -383,168 +397,275 @@
 "iTunes databas '%s' skadad: Kunde inte hitta spellistor (någon mhsd av typ 2 "
 "eller typ 3 hittades)"
 
-#: ../src/itdb_itunesdb.c:2632
+#: ../src/itdb_itunesdb.c:2728
 #, c-format
 msgid "iTunes directory not found: '%s' (or similar)."
 msgstr "iTunes katalog hittades inte: '%s' (eller liknande)."
 
-#: ../src/itdb_itunesdb.c:2649
+#: ../src/itdb_itunesdb.c:2745
 #, c-format
 msgid "Music directory not found: '%s' (or similar)."
 msgstr "Musikkatalog hittades inte: '%s' (eller liknande)."
 
-#: ../src/itdb_itunesdb.c:2667
+#: ../src/itdb_itunesdb.c:2763
 #, c-format
 msgid "Control directory not found: '%s' (or similar)."
 msgstr "Styrkatalog hittades inte: '%s' (eller liknande)."
 
-#: ../src/itdb_itunesdb.c:2740
+#: ../src/itdb_itunesdb.c:2836
 #, c-format
 msgid "File not found: '%s'."
 msgstr "Filen hittades inte: '%s'."
 
-#: ../src/itdb_itunesdb.c:3542
+#: ../src/itdb_itunesdb.c:3654
 #, c-format
 msgid "Cannot write mhod of type %d\n"
 msgstr "Kan inte skriva mhod av typen %d\n"
 
-#: ../src/itdb_itunesdb.c:4098
-#, fuzzy, c-format
+#: ../src/itdb_itunesdb.c:4245
+#, c-format
 msgid "Opening of '%s' for writing failed (%s)."
-msgstr "Fel när '%s' skulle öppnas för skrivning."
+msgstr "Fel när '%s' skulle öppnas för skrivning (%s)."
 
-#: ../src/itdb_itunesdb.c:4109 ../src/itdb_itunesdb.c:4120
+#: ../src/itdb_itunesdb.c:4256 ../src/itdb_itunesdb.c:4267
 #, c-format
 msgid "Writing to '%s' failed (%s)."
 msgstr "Fel vid skrivning till '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4470
+#: ../src/itdb_itunesdb.c:4617
 #, c-format
 msgid "Path not found: '%s' (or similar)."
 msgstr "Sökväg hittades inte: '%s' (eller liknande)."
 
-#: ../src/itdb_itunesdb.c:4689
+#: ../src/itdb_itunesdb.c:4836
 #, c-format
 msgid "Error renaming '%s' to '%s' (%s)."
 msgstr "Fel vid byte av namn på '%s' till '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4706 ../src/itdb_itunesdb.c:4723
+#: ../src/itdb_itunesdb.c:4853 ../src/itdb_itunesdb.c:4870
 #, c-format
 msgid "Error removing '%s' (%s)."
 msgstr "Fel vid borttagning av '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:4909
+#: ../src/itdb_itunesdb.c:5056
 #, c-format
 msgid "No 'F..' directories found in '%s'."
 msgstr "NÃ¥gra 'F..'-kataloger hittades inte i '%s'."
 
-#: ../src/itdb_itunesdb.c:4937
+#: ../src/itdb_itunesdb.c:5084
 #, c-format
 msgid "Path not found: '%s'."
 msgstr "Sökväg hittades inte: '%s'."
 
-#: ../src/itdb_itunesdb.c:5096
+#: ../src/itdb_itunesdb.c:5243
 #, c-format
 msgid "Error opening '%s' for reading (%s)."
 msgstr "Fel när '%s' skulle öppnas för läsning (%s)."
 
-#: ../src/itdb_itunesdb.c:5107
+#: ../src/itdb_itunesdb.c:5254
 #, c-format
 msgid "Error opening '%s' for writing (%s)."
 msgstr "Fel när '%s' skulle öppnas för skrivning (%s)."
 
-#: ../src/itdb_itunesdb.c:5124
+#: ../src/itdb_itunesdb.c:5271
 #, c-format
 msgid "Error while reading from '%s' (%s)."
 msgstr "Fel vid läsning från '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5140
+#: ../src/itdb_itunesdb.c:5287
 #, c-format
 msgid "Error while writing to '%s' (%s)."
 msgstr "Fel vid skrivning till '%s' (%s)."
 
-#: ../src/itdb_itunesdb.c:5153 ../src/itdb_itunesdb.c:5163
+#: ../src/itdb_itunesdb.c:5300 ../src/itdb_itunesdb.c:5310
 #, c-format
 msgid "Error when closing '%s' (%s)."
 msgstr "Fel när '%s' skulle stängas (%s)."
 
-#: ../src/itdb_itunesdb.c:5526
+#: ../src/itdb_itunesdb.c:5673
 msgid "iPod"
-msgstr ""
+msgstr "iPod"
 
-#: ../src/itdb_itunesdb.c:5919
+#: ../src/itdb_itunesdb.c:6066
 #, c-format
 msgid "Problem creating iPod directory or file: '%s'."
-msgstr ""
+msgstr "Problem att skapa iPod-katalog eller fil: '%s'."
 
-#: ../src/itdb_photoalbum.c:25
-#, fuzzy, c-format
+#: ../src/itdb_photoalbum.c:107
+#, c-format
 msgid "Photos directory not found: '%s' (or similar)."
-msgstr "Styrkatalog hittades inte: '%s' (eller liknande)."
+msgstr "Fotokatalog hittades inte: '%s' (eller liknande)."
 
+#: ../src/itdb_photoalbum.c:245 ../src/itdb_photoalbum.c:442
+msgid "Photo Library"
+msgstr "Fotobibliotek"
+
+#: ../src/itdb_photoalbum.c:357
+msgid "You need to specify the iPod model used before photos can be added."
+msgstr ""
+"Du måste ange vilken iPod-modell som används innan foton kan läggas till."
+
+#: ../src/itdb_photoalbum.c:378
+#, c-format
+msgid ""
+"Your iPod does not seem to support photos. Maybe you need to specify the "
+"correct iPod model number? It is currently set to 'x%s' (%s/%s)."
+msgstr ""
+"Din iPod verkar inte stödja foton. Kanske måste du ange rätt iPod-"
+"modellnummer? För närvarande är det inställt till 'x%s' (%s/%s)."
+
+#: ../src/itdb_photoalbum.c:390
+#, c-format
+msgid "Could not access file '%s'. Photo not added."
+msgstr "Kunde inte komma åt filen '%s'. Fotot har inte lagts till."
+
+#: ../src/itdb_photoalbum.c:430
+msgid ""
+"Unexpected error in itdb_photodb_add_photo_internal() while adding photo, "
+"please report."
+msgstr ""
+"Oväntat fel i itdb_photodb_add_photo_internal() vid tillägg av foto. "
+"Rapportera gärna felet."
+
+#: ../src/itdb_photoalbum.c:450
+msgid ""
+"Library compiled without gdk-pixbuf support. Picture support is disabled."
+msgstr ""
+"Biblioteket kompilerat utan stöd för gdk-pixbuf. Stöd för bilder är "
+"inaktiverat."
+
 #. New action!
 #: ../src/itdb_playlist.c:78
 #, c-format
 msgid "Unknown action (%d) in smart playlist will be ignored.\n"
 msgstr "Okänd åtgärd (%d) i smart spellista kommer att ignoreras.\n"
 
-#: ../tests/test-photos.c:116
-msgid "Usage to add photos:\n"
+#: ../tests/test-photos.c:39
+#, c-format
+msgid ""
+"Usage to add photos:\n"
+"  %s add <mountpoint> <albumname> [<filename(s)>]\n"
+"  <albumname> should be set to 'NULL' to add photos to the master photo "
+"album\n"
+"  (Photo Library) only. If you don't specify any filenames an empty album "
+"will\n"
+"  be created.\n"
 msgstr ""
+"Användning för att lägga till foton:\n"
+"  %s add <monteringsplats> <albumnamn> [<filnamn>]\n"
+"  <albumnamn> ska vara 'NULL' för att bara lägga till foton i huvudalbumet\n"
+"  (Photo Library). Om inga filnamn anges kommer ett tomt album att skapas.\n"
 
-#: ../tests/test-photos.c:117
+#: ../tests/test-photos.c:40
 #, c-format
-msgid "%s <mountpoint> <albumname> <filename(s)>\n"
+msgid ""
+"Usage to dump all photos to <output_dir>:\n"
+"  %s dump <mountpoint> <output_dir>\n"
 msgstr ""
+"Användning för att lagra alla foton i <utdatakatalog>:\n"
+"  %s dump <mountpoint> <output_dir>\n"
 
-#: ../tests/test-photos.c:118
+#: ../tests/test-photos.c:41
+#, c-format
 msgid ""
-"albumname should be set to 'master' to add photos to the master photo album\n"
+"Usage to list all photos IDs to stdout:\n"
+"  %s list <mountpoint>\n"
 msgstr ""
+"Användning för att lista id för alla foton på standardutmatningen:\n"
+"  %s list <mountpoint>\n"
 
-#: ../tests/test-photos.c:119
-msgid "\n"
+#: ../tests/test-photos.c:42
+#, c-format
+msgid ""
+"Usage to remove photo IDs from Photo Library:\n"
+"  %s remove <mountpoint> <albumname> [<ID(s)>]\n"
+"  <albumname> should be set to 'NULL' to to remove photos from the iPod\n"
+"  altogether. If you don't specify any IDs, the photoalbum will be removed\n"
+"  instead.\n"
+"  WARNING: IDs may change when writing the PhotoDB file.\n"
 msgstr ""
+"Användning för att ta bort id för foton från fotobiblioteket:\n"
+"  %s remove <monteringsplats> <albumnamn> [<id>]\n"
+"  <albumnamn> ska vara 'NULL' för att ta bort foton från iPod\n"
+"  permanent. Om inget id anges, tas fotoalbumet bort\n"
+"  instället.\n"
+"  VARNING: Id kan ändras när filen PhotoDB skrivs.\n"
 
-#: ../tests/test-photos.c:120
-msgid "Usage to dump all photos to <output_dir>:\n"
-msgstr ""
+#: ../tests/test-photos.c:126
+msgid "Wrong number of command line arguments.\n"
+msgstr "Fel antal kommandoradsväljare.\n"
 
-#: ../tests/test-photos.c:121
+#: ../tests/test-photos.c:135
 #, c-format
-msgid "%s dump <mountpoint> <output_dir>\n"
-msgstr ""
-
-#: ../tests/test-photos.c:133
-#, fuzzy, c-format
 msgid "Error creating '%s' (mkdir)\n"
-msgstr "Fel vid borttagning av '%s' (%s)."
+msgstr "Fel när '%s' skulle skapas (mkdir)\n"
 
-#: ../tests/test-photos.c:139
+#: ../tests/test-photos.c:141
 #, c-format
 msgid "Error: '%s' is not a directory\n"
-msgstr ""
+msgstr "Fel: '%s' är inte en katalog\n"
 
-#: ../tests/test-photos.c:148
-#, fuzzy, c-format
+#: ../tests/test-photos.c:150 ../tests/test-photos.c:184
+#: ../tests/test-photos.c:313
+#, c-format
 msgid "Error reading iPod photo database (%s).\n"
-msgstr "Fel vid byte av namn på '%s' till '%s' (%s)."
+msgstr "Fel vid vid läsning av iPod fotodatabas (%s).\n"
 
-#: ../tests/test-photos.c:154
+#: ../tests/test-photos.c:156 ../tests/test-photos.c:190
 msgid "Error reading iPod photo database.\n"
-msgstr ""
+msgstr "Fel vid läsning av iPod fotodatabas.\n"
 
-#: ../tests/test-photos.c:168
+#: ../tests/test-photos.c:174 ../tests/test-photos.c:233
+#: ../tests/test-photos.c:303 ../tests/test-photos.c:386
+msgid "Insufficient number of command line arguments.\n"
+msgstr "Otillräckligt antal kommandoradsväljare.\n"
+
+#: ../tests/test-photos.c:201
+msgid "<Unnamed>"
+msgstr "<Namnlös>"
+
+#: ../tests/test-photos.c:216
+msgid "<No members>\n"
+msgstr "<Inga medlemmar>\n"
+
+#: ../tests/test-photos.c:243
 #, c-format
 msgid ""
 "Error reading iPod photo database (%s).\n"
 "Will attempt to create a new database.\n"
 msgstr ""
+"Fel vid läsning av iPod fotodatabas (%s).\n"
+"Försöker skapa en ny databas.\n"
 
-#: ../tests/test-photos.c:174
+#: ../tests/test-photos.c:249
 msgid ""
 "Error reading iPod photo database, will attempt to create a new database\n"
-msgstr ""
+msgstr "Fel vid läsning av iPod fotodatabas, försöker skapa en ny databas\n"
 
-#~ msgid "Writing to '%s' failed."
-#~ msgstr "Fel vid skrivning till '%s'."
+#: ../tests/test-photos.c:274
+#, c-format
+msgid "Error adding photo (%s) to photo database: %s\n"
+msgstr "Fel vid vid tillägg av foto (%s) i fotodatabas: %s\n"
+
+#: ../tests/test-photos.c:320
+msgid "Error reading iPod photo database"
+msgstr "Fel vid läsning av iPod fotodatabas"
+
+#: ../tests/test-photos.c:331
+#, c-format
+msgid "Specified album '%s' not found. Aborting.\n"
+msgstr "Angivet album '%s' hittades inte. Avbryter.\n"
+
+#: ../tests/test-photos.c:343
+msgid "Cannot remove Photo Library playlist. Aborting.\n"
+msgstr "Kan inte ta bort fotobibliotekets spellista. Avbryter.\n"
+
+#: ../tests/test-photos.c:364
+#, fuzzy, c-format
+msgid "Warning: could not find photo with ID <%d>. Skipping...\n"
+msgstr "Fel: Kunde inte hitta foto med id <%d>. Hoppar över det...\n"
+
+#: ../tests/test-photos.c:410
+#, c-format
+msgid "Unknown command '%s'\n"
+msgstr "Okänt kommando '%s'\n"

Added: libgpod/branches/upstream/current/py-compile
===================================================================
--- libgpod/branches/upstream/current/py-compile	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/py-compile	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,146 @@
+#!/bin/sh
+# py-compile - Compile a Python program
+
+scriptversion=2005-05-14.22
+
+# Copyright (C) 2000, 2001, 2003, 2004, 2005  Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake at gnu.org> or send patches to
+# <automake-patches at gnu.org>.
+
+if [ -z "$PYTHON" ]; then
+  PYTHON=python
+fi
+
+basedir=
+destdir=
+files=
+while test $# -ne 0; do
+  case "$1" in
+    --basedir)
+      basedir=$2
+      if test -z "$basedir"; then
+        echo "$0: Missing argument to --basedir." 1>&2
+        exit 1
+      fi
+      shift
+      ;;
+    --destdir)
+      destdir=$2
+      if test -z "$destdir"; then
+        echo "$0: Missing argument to --destdir." 1>&2
+        exit 1
+      fi
+      shift
+      ;;
+    -h|--h*)
+      cat <<\EOF
+Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..."
+
+Byte compile some python scripts FILES.  Use --destdir to specify any
+leading directory path to the FILES that you don't want to include in the
+byte compiled file.  Specify --basedir for any additional path information you
+do want to be shown in the byte compiled file.
+
+Example:
+  py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py
+
+Report bugs to <bug-automake at gnu.org>.
+EOF
+      exit $?
+      ;;
+    -v|--v*)
+      echo "py-compile $scriptversion"
+      exit $?
+      ;;
+    *)
+      files="$files $1"
+      ;;
+  esac
+  shift
+done
+
+if test -z "$files"; then
+    echo "$0: No files given.  Try \`$0 --help' for more information." 1>&2
+    exit 1
+fi
+
+# if basedir was given, then it should be prepended to filenames before
+# byte compilation.
+if [ -z "$basedir" ]; then
+    pathtrans="path = file"
+else
+    pathtrans="path = os.path.join('$basedir', file)"
+fi
+
+# if destdir was given, then it needs to be prepended to the filename to
+# byte compile but not go into the compiled file.
+if [ -z "$destdir" ]; then
+    filetrans="filepath = path"
+else
+    filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
+fi
+
+$PYTHON -c "
+import sys, os, string, py_compile
+
+files = '''$files'''
+
+print 'Byte-compiling python modules...'
+for file in string.split(files):
+    $pathtrans
+    $filetrans
+    if not os.path.exists(filepath) or not (len(filepath) >= 3
+                                            and filepath[-3:] == '.py'):
+	continue
+    print file,
+    sys.stdout.flush()
+    py_compile.compile(filepath, filepath + 'c', path)
+print" || exit $?
+
+# this will fail for python < 1.5, but that doesn't matter ...
+$PYTHON -O -c "
+import sys, os, string, py_compile
+
+files = '''$files'''
+print 'Byte-compiling python modules (optimized versions) ...'
+for file in string.split(files):
+    $pathtrans
+    $filetrans
+    if not os.path.exists(filepath) or not (len(filepath) >= 3
+                                            and filepath[-3:] == '.py'):
+	continue
+    print file,
+    sys.stdout.flush()
+    py_compile.compile(filepath, filepath + 'o', path)
+print" 2>/dev/null || :
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:


Property changes on: libgpod/branches/upstream/current/py-compile
___________________________________________________________________
Name: svn:executable
   + *

Modified: libgpod/branches/upstream/current/src/Makefile.am
===================================================================
--- libgpod/branches/upstream/current/src/Makefile.am	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/Makefile.am	2007-01-25 10:43:09 UTC (rev 166)
@@ -22,13 +22,14 @@
 	itdb_device.c \
 	itdb_device.h \
 	itdb_endianness.h \
+	pixmaps.c \
+	pixmaps.h \
 	glib-compat.h
 
 
 libgpod_la_headers = itdb.h
 libgpod_la_noinst_headers = itdb_private.h hal-common.h
-libgpod_la_LDFLAGS = -version-info $(LIBGPOD_CURRENT):$(LIBGPOD_REVISION):$(LIBGPOD_AGE) \
-        -no-undefined
+libgpod_la_LDFLAGS = -version-info $(LIBGPOD_SO_VERSION) -no-undefined
 
 libgpodincludedir = $(includedir)/gpod-1.0/gpod
 libgpodinclude_HEADERS = $(libgpod_la_headers)

Modified: libgpod/branches/upstream/current/src/Makefile.in
===================================================================
--- libgpod/branches/upstream/current/src/Makefile.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/Makefile.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -14,6 +14,7 @@
 
 @SET_MAKE@
 
+
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
@@ -21,7 +22,6 @@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 top_builddir = ..
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
@@ -35,7 +35,55 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+build_triplet = @build@
 host_triplet = @host@
+subdir = src
+DIST_COMMON = $(libgpodinclude_HEADERS) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+	$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
+	$(top_srcdir)/m4/swig.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(libdir)" \
+	"$(DESTDIR)$(libgpodincludedir)"
+libLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(lib_LTLIBRARIES)
+libgpod_la_LIBADD =
+am_libgpod_la_OBJECTS = itdb_artwork.lo itdb_itunesdb.lo \
+	itdb_playlist.lo itdb_photoalbum.lo itdb_track.lo \
+	db-artwork-parser.lo db-parse-context.lo db-artwork-debug.lo \
+	db-image-parser.lo db-artwork-writer.lo ithumb-writer.lo \
+	itdb_device.lo pixmaps.lo
+libgpod_la_OBJECTS = $(am_libgpod_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libgpod_la_SOURCES)
+DIST_SOURCES = $(libgpod_la_SOURCES)
+libgpodincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(libgpodinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 ALL_LINGUAS = @ALL_LINGUAS@
@@ -120,11 +168,9 @@
 INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 LDFLAGS = @LDFLAGS@
-LIBGPOD_AGE = @LIBGPOD_AGE@
 LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
-LIBGPOD_CURRENT = @LIBGPOD_CURRENT@
 LIBGPOD_LIBS = @LIBGPOD_LIBS@
-LIBGPOD_REVISION = @LIBGPOD_REVISION@
+LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
 LIBGPOD_VERSION = @LIBGPOD_VERSION@
 LIBOBJS = @LIBOBJS@
 LIBS = $(LIBGPOD_LIBS)
@@ -178,6 +224,8 @@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -203,6 +251,7 @@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 pkgpyexecdir = @pkgpyexecdir@
@@ -217,7 +266,6 @@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 lib_LTLIBRARIES = libgpod.la
-
 libgpod_la_SOURCES = \
 	itdb.h           \
 	itdb_artwork.c   \
@@ -240,97 +288,73 @@
 	itdb_device.c \
 	itdb_device.h \
 	itdb_endianness.h \
+	pixmaps.c \
+	pixmaps.h \
 	glib-compat.h
 
-
 libgpod_la_headers = itdb.h
 libgpod_la_noinst_headers = itdb_private.h hal-common.h
-libgpod_la_LDFLAGS = -version-info $(LIBGPOD_CURRENT):$(LIBGPOD_REVISION):$(LIBGPOD_AGE) \
-        -no-undefined
-
-
+libgpod_la_LDFLAGS = -version-info $(LIBGPOD_SO_VERSION) -no-undefined
 libgpodincludedir = $(includedir)/gpod-1.0/gpod
 libgpodinclude_HEADERS = $(libgpod_la_headers)
-
 INCLUDES = $(LIBGPOD_CFLAGS)
-subdir = src
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-LTLIBRARIES = $(lib_LTLIBRARIES)
-
-libgpod_la_LIBADD =
-am_libgpod_la_OBJECTS = itdb_artwork.lo itdb_itunesdb.lo \
-	itdb_playlist.lo itdb_photoalbum.lo itdb_track.lo \
-	db-artwork-parser.lo db-parse-context.lo db-artwork-debug.lo \
-	db-image-parser.lo db-artwork-writer.lo ithumb-writer.lo \
-	itdb_device.lo
-libgpod_la_OBJECTS = $(am_libgpod_la_OBJECTS)
-
-DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
- at AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/db-artwork-debug.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/db-artwork-parser.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/db-artwork-writer.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/db-image-parser.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/db-parse-context.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/itdb_artwork.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/itdb_device.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/itdb_itunesdb.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/itdb_photoalbum.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/itdb_playlist.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/itdb_track.Plo \
- at AMDEP_TRUE@	./$(DEPDIR)/ithumb-writer.Plo
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
-	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
-DIST_SOURCES = $(libgpod_la_SOURCES)
-HEADERS = $(libgpodinclude_HEADERS)
-
-DIST_COMMON = $(libgpodinclude_HEADERS) $(srcdir)/Makefile.in \
-	Makefile.am
-SOURCES = $(libgpod_la_SOURCES)
-
 all: all-am
 
 .SUFFIXES:
 .SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
 	cd $(top_srcdir) && \
 	  $(AUTOMAKE) --gnu  src/Makefile
-Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
-libLTLIBRARIES_INSTALL = $(INSTALL)
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(libdir)
+	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
 	  if test -f $$p; then \
-	    f="`echo $$p | sed -e 's|^.*/||'`"; \
-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+	    f=$(am__strip_dir) \
+	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
 	  else :; fi; \
 	done
 
 uninstall-libLTLIBRARIES:
 	@$(NORMAL_UNINSTALL)
-	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
-	    p="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
-	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+	@set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+	  p=$(am__strip_dir) \
+	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
 	done
 
 clean-libLTLIBRARIES:
 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
 	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-	  test "$$dir" = "$$p" && dir=.; \
+	  test "$$dir" != "$$p" || dir=.; \
 	  echo "rm -f \"$${dir}/so_locations\""; \
 	  rm -f "$${dir}/so_locations"; \
 	done
@@ -338,7 +362,7 @@
 	$(LINK) -rpath $(libdir) $(libgpod_la_LDFLAGS) $(libgpod_la_OBJECTS) $(libgpod_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
-	-rm -f *.$(OBJEXT) core *.core
+	-rm -f *.$(OBJEXT)
 
 distclean-compile:
 	-rm -f *.tab.c
@@ -355,39 +379,28 @@
 @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/itdb_playlist.Plo at am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/itdb_track.Plo at am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ithumb-writer.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/pixmaps.Plo at am__quote@
 
 .c.o:
- at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
- at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
 
 .c.lo:
- at am__fastdepCC_TRUE@	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<
 
 mostlyclean-libtool:
 	-rm -f *.lo
@@ -398,33 +411,24 @@
 distclean-libtool:
 	-rm -f libtool
 uninstall-info-am:
-libgpodincludeHEADERS_INSTALL = $(INSTALL_HEADER)
 install-libgpodincludeHEADERS: $(libgpodinclude_HEADERS)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(libgpodincludedir)
+	test -z "$(libgpodincludedir)" || $(mkdir_p) "$(DESTDIR)$(libgpodincludedir)"
 	@list='$(libgpodinclude_HEADERS)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " $(libgpodincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libgpodincludedir)/$$f"; \
-	  $(libgpodincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libgpodincludedir)/$$f; \
+	  f=$(am__strip_dir) \
+	  echo " $(libgpodincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libgpodincludedir)/$$f'"; \
+	  $(libgpodincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libgpodincludedir)/$$f"; \
 	done
 
 uninstall-libgpodincludeHEADERS:
 	@$(NORMAL_UNINSTALL)
 	@list='$(libgpodinclude_HEADERS)'; for p in $$list; do \
-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " rm -f $(DESTDIR)$(libgpodincludedir)/$$f"; \
-	  rm -f $(DESTDIR)$(libgpodincludedir)/$$f; \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(libgpodincludedir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(libgpodincludedir)/$$f"; \
 	done
 
-ETAGS = etags
-ETAGSFLAGS =
-
-CTAGS = ctags
-CTAGSFLAGS =
-
-tags: TAGS
-
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
@@ -433,6 +437,7 @@
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	mkid -fID $$unique
+tags: TAGS
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
@@ -444,10 +449,11 @@
 	  done | \
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
-	test -z "$(ETAGS_ARGS)$$tags$$unique" \
-	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	     $$tags $$unique
-
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
 ctags: CTAGS
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
@@ -470,11 +476,7 @@
 
 distclean-tags:
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = ..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
-
 distdir: $(DISTFILES)
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
@@ -487,7 +489,7 @@
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 	    dir="/$$dir"; \
-	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
 	  else \
 	    dir=''; \
 	  fi; \
@@ -505,9 +507,10 @@
 check-am: all-am
 check: check-am
 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
-
 installdirs:
-	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(libgpodincludedir)
+	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libgpodincludedir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -527,7 +530,7 @@
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
@@ -547,6 +550,8 @@
 
 dvi-am:
 
+html: html-am
+
 info: info-am
 
 info-am:
@@ -585,8 +590,8 @@
 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
 	clean-libLTLIBRARIES clean-libtool ctags distclean \
 	distclean-compile distclean-generic distclean-libtool \
-	distclean-tags distdir dvi dvi-am info info-am install \
-	install-am install-data install-data-am install-exec \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
 	install-exec-am install-info install-info-am \
 	install-libLTLIBRARIES install-libgpodincludeHEADERS \
 	install-man install-strip installcheck installcheck-am \

Modified: libgpod/branches/upstream/current/src/db-artwork-debug.c
===================================================================
--- libgpod/branches/upstream/current/src/db-artwork-debug.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/db-artwork-debug.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -148,10 +148,10 @@
 	g_print ("\tImage ID: %08x\n", GINT_FROM_LE (mhii->image_id));
 	g_print ("\tSong ID: %016llx\n", GINT64_FROM_LE (mhii->song_id));
 	g_print ("\tUnknown4: %08x\n", GINT_FROM_LE (mhii->unknown4));
-	g_print ("\tUnknown5: %08x\n", GINT_FROM_LE (mhii->unknown5));
+	g_print ("\tRating: %08x\n", GINT_FROM_LE (mhii->rating));
 	g_print ("\tUnknown6: %08x\n", GINT_FROM_LE (mhii->unknown6));
 	g_print ("\tOrig Date: %08x\n", GINT_FROM_LE (mhii->orig_date));
-	g_print ("\tDigitised Date: %08x\n", GINT_FROM_LE (mhii->digitised_date));
+	g_print ("\tDigitised Date: %08x\n", GINT_FROM_LE (mhii->digitized_date));
 	g_print ("\tImage size: %d bytes\n", GINT_FROM_LE (mhii->orig_img_size));
 }
 

Modified: libgpod/branches/upstream/current/src/db-artwork-parser.c
===================================================================
--- libgpod/branches/upstream/current/src/db-artwork-parser.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/db-artwork-parser.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -42,7 +42,6 @@
 
 typedef int (*ParseListItem)(DBParseContext *ctx, GError *error);
 
-#ifndef NOT_DEFINED_DEBUG_ARTWORKDB
 static Itdb_Track *
 get_song_by_dbid (Itdb_iTunesDB *db, guint64 id)
 {
@@ -58,7 +57,6 @@
 	}
 	return NULL;
 }
-#endif
 
 
 static int
@@ -79,7 +77,7 @@
 parse_mhia (DBParseContext *ctx, Itdb_PhotoAlbum *photo_album, GError *error)
 {
 	MhiaHeader *mhia;
-	gint image_id;
+	guint32 image_id;
 
 	mhia = db_parse_context_get_m_header (ctx, MhiaHeader, "mhia");
 	if (mhia == NULL) {
@@ -88,7 +86,7 @@
 	dump_mhia (mhia);
 	image_id = get_gint32 (mhia->image_id, ctx->byte_order);
 	photo_album->members = g_list_append (photo_album->members,
-					      GINT_TO_POINTER(image_id));
+					      GUINT_TO_POINTER(image_id));
 	db_parse_context_set_total_len (ctx,
 					get_gint32_db (ctx->db, mhia->total_len));
 	return 0;
@@ -195,42 +193,11 @@
 }
 
 static int
-parse_mhni (DBParseContext *ctx, iPodSong *song, GError *error)
-{
-	MhniHeader *mhni;
-	DBParseContext *mhod_ctx; 
-	Itdb_Thumb *thumb;
-
-	mhni = db_parse_context_get_m_header (ctx, MhniHeader, "mhni");
-	if (mhni == NULL) {
-		return -1;
-	}
-	db_parse_context_set_total_len (ctx, get_gint32 (mhni->total_len, ctx->byte_order));
-	dump_mhni (mhni);
-	thumb = ipod_image_new_from_mhni (mhni, ctx->db);
-	if (thumb == NULL) {
-		return 0;
-	}
-
-	song->artwork->thumbnails =
-		g_list_append (song->artwork->thumbnails, thumb);
-
-	mhod_ctx = db_parse_context_get_sub_context (ctx, ctx->header_len);
-	if (mhod_ctx == NULL) {
-	  return -1;
-	}
-	parse_mhod_3 (mhod_ctx, thumb, error);
-	g_free (mhod_ctx);
-
-	return 0;
-}
-
-static int
 parse_photo_mhod (DBParseContext *ctx, Itdb_Artwork *artwork, GError *error)
 {
 	ArtworkDB_MhodHeader *mhod;
 	DBParseContext *mhni_ctx;
-	int type;
+	gint32 type;
 
 	mhod = db_parse_context_get_m_header (ctx, ArtworkDB_MhodHeader, "mhod");
 	if (mhod == NULL) {
@@ -238,13 +205,7 @@
 	}
 	db_parse_context_set_total_len (ctx, get_gint32 (mhod->total_len, ctx->byte_order));
 
-	/* The MHODs found in the ArtworkDB and Photo Database files are
-	 * significantly different than those found in the iTunesDB.
-	 * For example, the "type" is split like this:
-	 * - low 3 bytes are actual type;
-	 * - high byte is padding length of string (0-3).
-	 */
-	type = get_gint16 (mhod->type, ctx->byte_order) & 0x00FFFFFF;
+	type = get_gint16 (mhod->type, ctx->byte_order);
 
 	if ( type == MHOD_ARTWORK_TYPE_ALBUM_NAME) {
 		dump_mhod_type_1 ((MhodHeaderArtworkType1 *)mhod);
@@ -265,117 +226,86 @@
 	return 0;
 }
 static int
-parse_mhod (DBParseContext *ctx, iPodSong *song, GError *error)
-{
-	ArtworkDB_MhodHeader *mhod;
-	DBParseContext *mhni_ctx;
-	int type;
-	gint32 total_len;
-
-	mhod = db_parse_context_get_m_header (ctx, ArtworkDB_MhodHeader, "mhod");
-	if (mhod == NULL) {
-		return -1;
-	}
-	total_len = get_gint32 (mhod->total_len, ctx->byte_order);
-	db_parse_context_set_total_len (ctx, total_len);
-
-	type = get_gint16 (mhod->type, ctx->byte_order);
-
-	if ( type == MHOD_ARTWORK_TYPE_ALBUM_NAME) {
-		dump_mhod_type_1 ((MhodHeaderArtworkType1 *)mhod);
-	} else {
-		dump_mhod (mhod);
-	}
-
-	/* if this is a container... */
-	if (type == MHOD_ARTWORK_TYPE_THUMBNAIL) {
-		mhni_ctx = db_parse_context_get_sub_context (ctx, ctx->header_len);
-		if (mhni_ctx == NULL) {
-			return -1;
-		}
-		parse_mhni (mhni_ctx, song, NULL);
-		g_free (mhni_ctx);
-	}
-
-	return 0;
-}
-
-
-static int
 parse_mhii (DBParseContext *ctx, GError *error)
 {
 	MhiiHeader *mhii;
 	DBParseContext *mhod_ctx;
 	int num_children;
 	off_t cur_offset;
-	iPodSong *song;
+	iPodSong *song = NULL;
 	Itdb_Artwork *artwork;
 	Itdb_PhotoDB *photodb;
 	Itdb_iTunesDB *itunesdb;
+	guint64 dbid;
 
 	mhii = db_parse_context_get_m_header (ctx, MhiiHeader, "mhii");
-	if (mhii == NULL) {
-		return -1;
+	if (mhii == NULL)
+	{
+	    return -1;
 	}
 	db_parse_context_set_total_len (ctx, get_gint32 (mhii->total_len, ctx->byte_order));
 	dump_mhii (mhii);
 
-	switch (ctx->db->db_type) {
+	switch (ctx->db->db_type)
+	{
 	case DB_TYPE_PHOTO:
-		artwork = g_new0( Itdb_Artwork, 1 );
-		artwork->artwork_size = get_gint32 (mhii->orig_img_size, ctx->byte_order);
-		artwork->id = get_gint32 (mhii->image_id, ctx->byte_order);
-		artwork->creation_date = itdb_time_mac_to_host( get_gint32 (mhii->digitised_date, ctx->byte_order) );
-
-		cur_offset = ctx->header_len;
-		mhod_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
-		num_children = get_gint32 (mhii->num_children, ctx->byte_order);
-		while ((num_children > 0) && (mhod_ctx != NULL)) {
-			parse_photo_mhod (mhod_ctx, artwork, NULL);
-			num_children--;
-			cur_offset += mhod_ctx->total_len;
-			g_free (mhod_ctx);
-			mhod_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
-		}
-		photodb = db_get_photodb (ctx->db);
-		g_return_val_if_fail (photodb, -1);
-		photodb->photos = g_list_append (photodb->photos,
-						 artwork);
-		break;
+	    photodb = db_get_photodb (ctx->db);
+	    g_return_val_if_fail (photodb, -1);
+	    artwork = g_new0 (Itdb_Artwork, 1);
+	    photodb->photos = g_list_append (photodb->photos, artwork);
+	    break;
 	case DB_TYPE_ITUNES:
-#ifdef NOT_DEFINED_DEBUG_ARTWORKDB
-		song = NULL;
-#else
-		itunesdb = db_get_itunesdb (ctx->db);
-		g_return_val_if_fail (itunesdb, -1);
-		song = get_song_by_dbid (itunesdb,
-					 get_gint64 (mhii->song_id,
-						     ctx->byte_order));
-		if (song == NULL) {
-			return -1;
-		}
-		song->artwork->artwork_size = get_gint32 (mhii->orig_img_size, ctx->byte_order);
-		if ((song->artwork_size+song->artwork_count) !=
-				song->artwork->artwork_size) {
-			g_warning (_("iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"), song->artwork_size, song->artwork_count, song->artwork->artwork_size);
-		}
-		song->artwork->id = get_gint32 (mhii->image_id, ctx->byte_order);
-#endif
-
-		cur_offset = ctx->header_len;
-		mhod_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
-		num_children = get_gint32 (mhii->num_children, ctx->byte_order);
-		while ((num_children > 0) && (mhod_ctx != NULL)) {
-			parse_mhod (mhod_ctx, song, NULL);
-			num_children--;
-			cur_offset += mhod_ctx->total_len;
-			g_free (mhod_ctx);
-			mhod_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
-		}
-		break;
+	    itunesdb = db_get_itunesdb (ctx->db);
+	    g_return_val_if_fail (itunesdb, -1);
+	    dbid = get_gint64 (mhii->song_id, ctx->byte_order);
+	    song = get_song_by_dbid (itunesdb, dbid);
+	    if (song == NULL)
+	    {
+		gchar *strval = g_strdup_printf("%" G_GINT64_FORMAT, dbid);
+		g_print (_("Could not find corresponding track (dbid: %s) for artwork entry.\n"), strval);
+		g_free (strval);
+		return -1;
+	    }
+	    artwork = song->artwork;
+	    g_return_val_if_fail (artwork, -1);
+	    break;
 	default:
-	       g_return_val_if_reached (-1);
+	    g_return_val_if_reached (-1);
 	}
+
+	artwork->id = get_gint32 (mhii->image_id, ctx->byte_order);
+	artwork->unk028 = get_gint32 (mhii->unknown4, ctx->byte_order);
+	artwork->rating = get_gint32 (mhii->rating, ctx->byte_order);
+	artwork->unk036 = get_gint32 (mhii->unknown6, ctx->byte_order);
+	artwork->creation_date = get_gint32 (mhii->orig_date, ctx->byte_order);
+	artwork->digitized_date = get_gint32 (mhii->digitized_date,
+					      ctx->byte_order);
+	artwork->artwork_size = get_gint32 (mhii->orig_img_size,
+					    ctx->byte_order);
+
+	if (song)
+	{
+	    if ((song->artwork_size+song->artwork_count) !=
+		artwork->artwork_size)
+	    {
+		g_warning (_("iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)\n"),
+			   song->artwork_size,
+			   song->artwork_count,
+			   song->artwork->artwork_size);
+	    }
+	}
+
+	cur_offset = ctx->header_len;
+	mhod_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
+	num_children = get_gint32 (mhii->num_children, ctx->byte_order);
+	while ((num_children > 0) && (mhod_ctx != NULL))
+	{
+	    parse_photo_mhod (mhod_ctx, artwork, NULL);
+	    num_children--;
+	    cur_offset += mhod_ctx->total_len;
+	    g_free (mhod_ctx);
+	    mhod_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
+	}
 	return 0;
 }
 
@@ -386,7 +316,7 @@
 	ArtworkDB_MhodHeader *mhod;
 	DBParseContext *mhod_ctx;
 	DBParseContext *mhia_ctx;
-	Itdb_PhotoAlbum *photo_album;
+	Itdb_PhotoAlbum *album;
 	Itdb_PhotoDB *photodb;
 	int num_children;
 	off_t cur_offset;
@@ -399,11 +329,25 @@
 
 	dump_mhba (mhba);
 
-	photo_album = g_new0 (Itdb_PhotoAlbum, 1);
-	photo_album->num_images = get_gint32( mhba->num_mhias, ctx->byte_order);
-	photo_album->album_id = get_gint32( mhba->playlist_id, ctx->byte_order);
-	photo_album->master = get_gint32( mhba->master, ctx->byte_order);
-	photo_album->prev_album_id = get_gint32( mhba->prev_playlist_id, ctx->byte_order);
+	album = g_new0 (Itdb_PhotoAlbum, 1);
+	album->album_id = get_gint32(mhba->album_id, ctx->byte_order);
+	album->unk024 = get_gint32(mhba->unk024, ctx->byte_order);
+	album->unk028 = get_gint16(mhba->unk028, ctx->byte_order);
+	album->album_type = mhba->album_type;
+	album->playmusic = mhba->playmusic;
+	album->repeat = mhba->repeat;
+	album->random = mhba->random;
+	album->show_titles = mhba->show_titles;
+	album->transition_direction = mhba->transition_direction;
+	album->slide_duration = get_gint32(mhba->slide_duration,
+					   ctx->byte_order);
+	album->transition_duration = get_gint32(mhba->transition_duration,
+						ctx->byte_order);
+	album->unk044 = get_gint32(mhba->unk044, ctx->byte_order);
+	album->unk048 = get_gint32(mhba->unk048, ctx->byte_order);
+	album->song_id = get_gint64(mhba->song_id, ctx->byte_order);
+	album->prev_album_id = get_gint32(mhba->prev_album_id,
+					  ctx->byte_order);
 
 	cur_offset = ctx->header_len;
 	mhod_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
@@ -415,7 +359,7 @@
 			return -1;
 		}
 		db_parse_context_set_total_len (mhod_ctx,  get_gint32(mhod->total_len, ctx->byte_order));
-		photo_album->name = g_strdup( (char *)((MhodHeaderArtworkType1*)mhod)->string );
+		album->name = g_strdup( (char *)((MhodHeaderArtworkType1*)mhod)->string );
 		cur_offset += mhod_ctx->total_len;
 		dump_mhod_type_1 ((MhodHeaderArtworkType1*)mhod);
 		g_free (mhod_ctx);
@@ -425,7 +369,7 @@
 	mhia_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
 	num_children = get_gint32 (mhba->num_mhias, ctx->byte_order);
 	while ((num_children > 0) && (mhia_ctx != NULL)) {
-		parse_mhia (mhia_ctx, photo_album, NULL);
+		parse_mhia (mhia_ctx, album, NULL);
 		num_children--;
 		cur_offset += mhia_ctx->total_len;
 		g_free (mhia_ctx);
@@ -434,7 +378,7 @@
 	photodb = db_get_photodb (ctx->db);
 	g_return_val_if_fail (photodb, -1);
 	photodb->photoalbums = g_list_append (photodb->photoalbums,
-					      photo_album);
+					      album);
 	return 0;
 }
 
@@ -766,6 +710,9 @@
 	char *filename;
 	Itdb_DB db;
 
+	GList *gl;
+	GHashTable *hash;
+
 	db.db.photodb = photodb;
 	db.db_type = DB_TYPE_PHOTO;
 
@@ -784,6 +731,35 @@
 	parse_mhfd (ctx, NULL);
 	db_parse_context_destroy (ctx, TRUE);
 
+	/* Now we need to replace references to artwork_ids in the
+	 * photo albums with references to the actual artwork
+	 * structure. Since we cannot guarantee that the list with the
+	 * photos is read before the album list, we cannot safely do
+	 * this at the time of reading the ids. */
+
+	/* Create a hash for faster lookup */
+	hash = g_hash_table_new (g_int_hash, g_int_equal);
+	for (gl=photodb->photos; gl; gl=gl->next)
+	{
+	    Itdb_Artwork *photo = gl->data;
+	    g_return_val_if_fail (photo, -1);
+	    g_hash_table_insert (hash, &photo->id, photo);
+/*	    printf ("id: %d, photo: %p\n", photo->id, photo);*/
+	}
+	for (gl=photodb->photoalbums; gl; gl=gl->next)
+	{
+	    GList *glp;
+	    Itdb_PhotoAlbum *album = gl->data;
+	    g_return_val_if_fail (album, -1);
+	    for (glp=album->members; glp; glp=glp->next)
+	    {
+		guint image_id = GPOINTER_TO_UINT (glp->data);
+		Itdb_Artwork *photo = g_hash_table_lookup (hash, &image_id);
+/*		printf ("id: %d, photo: %p\n", image_id, photo);*/
+		glp->data = photo;
+	    }
+	}
+	g_hash_table_destroy (hash);
 	return 0;
 }
 

Modified: libgpod/branches/upstream/current/src/db-artwork-writer.c
===================================================================
--- libgpod/branches/upstream/current/src/db-artwork-writer.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/db-artwork-writer.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -541,23 +541,26 @@
 	switch( buffer->db_type) {
 	case DB_TYPE_ITUNES:
 		song = (Itdb_Track *)data;
+		artwork = song->artwork;
 		mhii->song_id = get_gint64 (song->dbid, buffer->byte_order);
-		mhii->image_id = get_guint32 (song->artwork->id, buffer->byte_order);
-		mhii->orig_img_size = get_gint32 (song->artwork->artwork_size, 
-				buffer->byte_order);
-		it = song->artwork->thumbnails;
 		break;
 	case DB_TYPE_PHOTO:
 		artwork = (Itdb_Artwork *)data;
 		mhii->song_id = get_gint64 (artwork->id + 2, buffer->byte_order);
-		mhii->image_id = get_guint32 (artwork->id, buffer->byte_order);
-		mhii->orig_date = get_guint32 (itdb_time_host_to_mac( artwork->creation_date )
-				, buffer->byte_order);
-		mhii->digitised_date = get_guint32 (itdb_time_host_to_mac( artwork->creation_date )
-				, buffer->byte_order);
-		it = artwork->thumbnails;
 		break;
+	default:
+	        g_return_val_if_reached (-1);
 	}
+	mhii->image_id = get_guint32 (artwork->id, buffer->byte_order);
+	mhii->unknown4 = get_gint32 (artwork->unk028, buffer->byte_order);
+	mhii->rating = get_gint32 (artwork->rating, buffer->byte_order);
+	mhii->unknown6 = get_gint32 (artwork->unk036, buffer->byte_order);
+	mhii->orig_date = get_guint32 (artwork->creation_date, buffer->byte_order);
+	mhii->digitized_date = get_guint32 (artwork->digitized_date,
+					    buffer->byte_order);
+	mhii->orig_img_size = get_gint32 (artwork->artwork_size, 
+					  buffer->byte_order);
+	it = artwork->thumbnails;
 	num_children = 0;
 	while (it != NULL) {
 		iPodBuffer *sub_buffer;
@@ -628,7 +631,7 @@
 
 		if (buffer->db_type == DB_TYPE_ITUNES) {
 			song = (Itdb_Track*)it->data;
-			if (song->artwork->id == 0) {
+			if (!song->artwork || (song->artwork->id == 0)) {
 				it = it->next;
 				continue;
 			}
@@ -671,7 +674,7 @@
 }
 
 static int
-write_mhba (Itdb_PhotoAlbum *photo_album, iPodBuffer *buffer)
+write_mhba (Itdb_PhotoAlbum *album, iPodBuffer *buffer)
 {
 	GList *it;
 	MhbaHeader *mhba;
@@ -684,10 +687,27 @@
 		return -1;
 	}
 	mhba->num_mhods = get_gint32(1, buffer->byte_order);
-	mhba->playlist_id = get_gint32(photo_album->album_id, buffer->byte_order);
-	mhba->master = get_gint32(photo_album->master, buffer->byte_order);
-	mhba->prev_playlist_id = get_gint32(photo_album->prev_album_id, buffer->byte_order);
-	mhba->num_mhias = get_gint32(photo_album->num_images, buffer->byte_order);
+	mhba->num_mhias = get_gint32(g_list_length (album->members),
+				     buffer->byte_order);
+	mhba->album_id = get_gint32(album->album_id, buffer->byte_order);
+	mhba->unk024 = get_gint32(album->unk024, buffer->byte_order);
+	mhba->unk028 = get_gint16(album->unk028, buffer->byte_order);
+	mhba->album_type = album->album_type;
+	mhba->playmusic = album->playmusic;
+	mhba->repeat = album->repeat;
+	mhba->random = album->random;
+	mhba->show_titles = album->show_titles;
+	mhba->transition_direction = album->transition_direction;
+	mhba->slide_duration = get_gint32(album->slide_duration,
+					  buffer->byte_order);
+	mhba->transition_duration = get_gint32(album->transition_duration,
+					       buffer->byte_order);
+	mhba->unk044 = get_gint32(album->unk044, buffer->byte_order);
+	mhba->unk048 = get_gint32(album->unk048, buffer->byte_order);
+	mhba->song_id = get_gint64(album->song_id, buffer->byte_order);
+	mhba->prev_album_id = get_gint32(album->prev_album_id,
+					 buffer->byte_order);
+
 	total_bytes = get_gint32 (mhba->header_len, buffer->byte_order);
 
 	/* FIXME: Write other mhods */
@@ -696,21 +716,22 @@
 	if (sub_buffer == NULL) {
 	    return -1;
 	}
-	bytes_written = write_mhod_type_1 (photo_album->name, sub_buffer);
+	bytes_written = write_mhod_type_1 (album->name, sub_buffer);
 	ipod_buffer_destroy (sub_buffer);
 	if (bytes_written == -1) {
 	    return -1;
 	} 
 	total_bytes += bytes_written;
 
-	for (it = photo_album->members; it != NULL; it = it->next) {
-		gint image_id = GPOINTER_TO_INT(it->data);
+	for (it = album->members; it != NULL; it = it->next) {
+	        Itdb_Artwork *photo = it->data;
+		g_return_val_if_fail (photo, -1);
 
 		sub_buffer = ipod_buffer_get_sub_buffer (buffer, total_bytes);
 		if (sub_buffer == NULL) {
 		    return -1;
 		}
-		bytes_written = write_mhia (image_id, sub_buffer);
+		bytes_written = write_mhia (photo->id, sub_buffer);
 		ipod_buffer_destroy (sub_buffer);
 		if (bytes_written == -1) {
 		    return -1;
@@ -739,13 +760,13 @@
 	    unsigned int bytes_written;
 
 	    for (it = db_get_photodb(db)->photoalbums; it != NULL; it = it->next) {
-		Itdb_PhotoAlbum *photo_album = (Itdb_PhotoAlbum *)it->data;
+		Itdb_PhotoAlbum *album = (Itdb_PhotoAlbum *)it->data;
 
 		sub_buffer = ipod_buffer_get_sub_buffer (buffer, total_bytes);
 		if (sub_buffer == NULL) {
 		    return -1;
 		}
-		bytes_written = write_mhba (photo_album, sub_buffer);
+		bytes_written = write_mhba (album, sub_buffer);
 		ipod_buffer_destroy (sub_buffer);
 		if (bytes_written == -1) {
 		    return -1;

Modified: libgpod/branches/upstream/current/src/db-itunes-parser.h
===================================================================
--- libgpod/branches/upstream/current/src/db-itunes-parser.h	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/db-itunes-parser.h	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,5 @@
-/*
+/*  Time-stamp: <2006-11-11 20:38:32 jcs>
+ *
  *  Copyright (C) 2005 Christophe Fergeau
  *
  * 
@@ -20,6 +21,7 @@
  * 
  *  This product is not supported/written/published by Apple!
  *
+ * $Id: db-itunes-parser.h,v 1.9 2006/11/11 13:44:29 jcsjcs Exp $
  */
 
 
@@ -331,7 +333,7 @@
 	 * phones with iPod support).
 	 */
 	gint16 type;
-    gint16 unknown014;
+        gint16 unknown014;
 	gint32 unknown1;
 	gint32 unknown2;
 };
@@ -573,10 +575,10 @@
 	gint32 image_id;
 	gint64 song_id;
 	gint32 unknown4;
-	gint32 unknown5;
+	gint32 rating;
 	gint32 unknown6;
 	gint32 orig_date;
-	gint32 digitised_date;
+	gint32 digitized_date;
 	gint32 orig_img_size;
 	unsigned char padding[];
 } __attribute__((__packed__));
@@ -612,24 +614,29 @@
 	unsigned char header_id[4];
 	gint32 header_len;
 	gint32 total_len;
-	gint32 num_mhods; /* number of Data Objects in the List, probably always 1 */
-	gint32 num_mhias; /* number of pictures in the album */
-	gint32 playlist_id; /* starts out at $64 and increments by 1 */
-	gint32 unknown2; /* unknown, seems to be always 0 */
-	gint16 unknown3; /* unknown, seems to be always 0 */
-	gchar master;
-	/* FIXME: not sure if I have these right; iPod doesn't seem to listen to them */
-	guint8 playmusic;
-	guint8 repeat;
-	guint8 random;
-	guint8 show_titles;
-	guint8 transition_direction;
-	gint32 slide_duration;
-	gint32 transition_duration;
-	gint32 unknown4;
-	gint32 unknown5;
-	gint64 song_id;
-	gint32 prev_playlist_id; /* the id of the previous playlist */
+	gint32 num_mhods;  /* number of Data Objects in the List,
+			      probably always 1 */
+	gint32 num_mhias;  /* number of pictures in the album */
+	gint32 album_id;   /* starts out at $64 and increments by 1 */
+	gint32 unk024;     /* unknown, seems to be always 0 */
+	gint16 unk028;     /* unknown, seems to be always 0 */
+	guint8 album_type; /* 1 = master photo list ("Photo Library"),
+			      2 = normal album, sometimes 4 and 5 */
+	guint8 playmusic;  /* play music during slideshow (from iPhoto setting) */
+	guint8 repeat;     /* repeat the slideshow (from iPhoto setting) */
+	guint8 random;     /* show the slides in random order (from iPhoto
+			      setting) */
+        guint8 show_titles;/* show slide captions (from iPhoto setting) */
+	guint8 transition_direction; /* 0=none, 1=left-to-right,
+			      2=right-to-left, 3=top-to-bottom,
+			      4=bottom-to-top (from iPhoto setting) */
+        gint32 slide_duration; /* in seconds (from iPhoto setting) */
+	gint32 transition_duration; /* in milliseconds (from iPhoto setting) */
+        gint32 unk044;     /* unknown, seems to always be 0 */
+	gint32 unk048;     /* unknown, seems to always be 0 */
+	gint64 song_id;    /* dbid2 of track in iTunesDB to play during
+			      slideshow (from iPhoto setting) */
+	gint32 prev_album_id; /* the id of the previous photoalbum */
 	unsigned char padding[];
 };
 
@@ -656,7 +663,7 @@
 	gint32 total_len; /* probably the size of the header and all child records;
 			   * as there aren't any child records this is equal to header length */
 	gint32 unknown1; /* seems to be zero */
-	gint32 image_id; /* the id of the mhii record this mhia refers to */
+	guint32 image_id; /* the id of the mhii record this mhia refers to */
 	unsigned char padding[];
 };
 

Modified: libgpod/branches/upstream/current/src/itdb.h
===================================================================
--- libgpod/branches/upstream/current/src/itdb.h	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/itdb.h	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,6 +1,6 @@
-/* Time-stamp: <2006-09-23 21:25:40 jcs>
+/* Time-stamp: <2007-01-09 23:44:56 jcs>
 |
-|  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
+|  Copyright (C) 2002-2006 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
 | 
 |  URL: http://www.gtkpod.org/
@@ -30,7 +30,7 @@
 |
 |  This product is not supported/written/published by Apple!
 |
-|  $Id: itdb.h,v 1.43 2006/09/23 12:28:23 jcsjcs Exp $
+|  $Id: itdb.h,v 1.57 2007/01/11 07:10:55 tmzullinger Exp $
 */
 
 #ifndef __ITUNESDB_H__
@@ -70,74 +70,6 @@
 
 /* ------------------------------------------------------------ *\
  *
- * Thumbnail-relevant definitions
- *
-\* ------------------------------------------------------------ */
-
-/* Types of thumbnails in Itdb_Image */
-typedef enum { 
-    ITDB_THUMB_COVER_SMALL,
-    ITDB_THUMB_COVER_LARGE,
-    ITDB_THUMB_PHOTO_SMALL,
-    ITDB_THUMB_PHOTO_LARGE,
-    ITDB_THUMB_PHOTO_FULL_SCREEN,
-    ITDB_THUMB_PHOTO_TV_SCREEN
-} ItdbThumbType;
-
-
-/* The Itdb_Thumb structure can represent two slightly different
-   thumbnails:
-
-  a) a thumbnail before it's transferred to the iPod.
-
-     offset and size are 0
-
-     width and height, if unequal 0, will indicate the size on the
-     iPod. width and height are set the first time a pixbuf is
-     requested for this thumbnail.
-
-     type is set according to the type this thumbnail represents
-
-     filename point to a 'real' image file OR image_data and
-     image_data_len are set.
- 
-  b) a thumbnail (big or small) stored on a database in the iPod.  In
-     these cases, id corresponds to the ID originally used in the
-     database, filename points to a .ithmb file on the iPod
- */
-struct _Itdb_Thumb {
-    ItdbThumbType type;
-    gchar *filename;
-    guchar *image_data;      /* holds the thumbnail data of
-				non-transfered thumbnails when
-				filename == NULL */
-    gsize  image_data_len;   /* length of data */
-    guint32 offset;
-    guint32 size;
-    gint16 width;
-    gint16 height;
-    gint16 horizontal_padding;
-    gint16 vertical_padding;
-};
-
-struct _Itdb_Artwork {
-    GList *thumbnails;    /* list of Itdb_Thumbs */
-    guint32 artwork_size; /* Size in bytes of the original source image */
-    guint32 id;           /* Artwork id used by photoalbums, starts at
-			   * 0x40... libgpod will set this on sync. */
-    gint32 creation_date; /* Date the image was created */
-    /* below is for use by application */
-    guint64 usertype;
-    gpointer userdata;
-    /* function called to duplicate userdata */
-    ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
-    ItdbUserDataDestroyFunc userdata_destroy;
-};
-
-
-/* ------------------------------------------------------------ *\
- *
  * iPod model-relevant definitions
  *
 \* ------------------------------------------------------------ */
@@ -459,24 +391,94 @@
 
 /* ------------------------------------------------------------ *\
  *
- * iTunesDB, Playlists, Tracks
+ * iTunesDB, Playlists, Tracks, PhotoDB, Artwork, Thumbnails
  *
 \* ------------------------------------------------------------ */
 
 /* one star is how much (track->rating) */
 #define ITDB_RATING_STEP 20
 
+/* Types of thumbnails in Itdb_Image */
+typedef enum { 
+    ITDB_THUMB_COVER_SMALL,
+    ITDB_THUMB_COVER_LARGE,
+    ITDB_THUMB_PHOTO_SMALL,
+    ITDB_THUMB_PHOTO_LARGE,
+    ITDB_THUMB_PHOTO_FULL_SCREEN,
+    ITDB_THUMB_PHOTO_TV_SCREEN
+} ItdbThumbType;
+
+
+/* The Itdb_Thumb structure can represent two slightly different
+   thumbnails:
+
+  a) a thumbnail before it's transferred to the iPod.
+
+     offset and size are 0
+
+     width and height, if unequal 0, will indicate the size on the
+     iPod. width and height are set the first time a pixbuf is
+     requested for this thumbnail.
+
+     type is set according to the type this thumbnail represents
+
+     filename point to a 'real' image file OR image_data and
+     image_data_len are set.
+ 
+  b) a thumbnail (big or small) stored on a database in the iPod.  In
+     these cases, id corresponds to the ID originally used in the
+     database, filename points to a .ithmb file on the iPod
+ */
+struct _Itdb_Thumb {
+    ItdbThumbType type;
+    gchar   *filename;
+    guchar  *image_data;      /* holds the thumbnail data of
+				 non-transfered thumbnails when
+				 filename == NULL */
+    gsize   image_data_len;   /* length of data */
+    gint    rotation;         /* angle (0, 90, 180, 270) to rotate the image */
+    guint32 offset;
+    guint32 size;
+    gint16  width;
+    gint16  height;
+    gint16  horizontal_padding;
+    gint16  vertical_padding;
+};
+
+struct _Itdb_Artwork {
+    GList *thumbnails;     /* list of Itdb_Thumbs */
+    guint32 id;            /* Artwork id used by photoalbums, starts at
+			    * 0x40... libgpod will set this on sync. */
+    gint32  unk028;
+    guint32 rating;        /* Rating from iPhoto * 20 (PhotoDB only) */
+    gint32  unk036;
+    guint32 creation_date; /* Date the image file was created
+			      (creation date of image file (Mac type,
+			      PhotoDB only) */
+    guint32 digitized_date;/* Date the image was taken (EXIF
+			      information, Mac type, PhotoDB only) */
+    guint32 artwork_size;  /* Size in bytes of the original source
+			      image (PhotoDB only -- don't touch in
+			      case of ArtworkDB!) */
+    /* below is for use by application */
+    guint64 usertype;
+    gpointer userdata;
+    /* functions called to duplicate/free userdata */
+    ItdbUserDataDuplicateFunc userdata_duplicate;
+    ItdbUserDataDestroyFunc userdata_destroy;
+};
+
+
 struct _Itdb_PhotoDB
 {
-    GList *photos;
-    GList *photoalbums;
+    GList *photos;      /* (Itdb_Artwork *)     */
+    GList *photoalbums; /* (Itdb_PhotoAlbum *)  */
     Itdb_Device *device;/* iPod device info     */
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 };
 
@@ -491,26 +493,44 @@
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 };
 
 struct _Itdb_PhotoAlbum
 {
-    gchar *name;          /* name of photoalbum in UTF8            */
-    GList *members;       /* photos in album (Track *)             */
-    gint  num_images;     /* number of photos in album             */
-    gint  master;         /* 0x01 for master, 0x00 otherwise       */
-    gint  album_id;
-    gint  prev_album_id;
+    gchar *name;                 /* name of photoalbum in UTF8            */
+    GList *members;              /* photos in album (Itdb_Artwork *)      */
+    guint8 album_type;           /* 0x01 for master (Photo Library),
+				    0x02 otherwise (sometimes 4 and 5)    */
+    guint8 playmusic;            /* play music during slideshow (from
+				    iPhoto setting)                       */
+    guint8 repeat;               /* repeat the slideshow (from iPhoto
+				    setting)                              */
+    guint8 random;               /* show the slides in random order
+			            (from iPhoto setting)                 */
+    guint8 show_titles;          /* show slide captions (from iPhoto
+				    setting)                              */
+    guint8 transition_direction; /* 0=none, 1=left-to-right,
+				    2=right-to-left, 3=top-to-bottom,
+				    4=bottom-to-top (from iPhoto setting) */
+    gint32 slide_duration;       /* in seconds (from iPhoto setting)      */
+    gint32 transition_duration;  /* in milliseconds (from iPhoto setting) */
+    gint64 song_id;              /* dbid2 of track in iTunesDB to play
+				    during slideshow (from iPhoto setting)*/
+    gint32 unk024;               /* unknown, seems to be always 0         */
+    gint16 unk028;               /* unknown, seems to be always 0         */
+    gint32 unk044;               /* unknown, seems to always be 0         */
+    gint32 unk048;               /* unknown, seems to always be 0         */
+    /* set automatically at time of writing the PhotoDB */
+    gint32  album_id;
+    gint32  prev_album_id;
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 };
 
@@ -525,34 +545,19 @@
     gint  num;            /* number of tracks in playlist          */
     GList *members;       /* tracks in playlist (Track *)          */
     gboolean is_spl;      /* smart playlist?                       */
-    guint32 timestamp;    /* some timestamp                        */
+    guint32 timestamp;    /* timestamp of playlist creation        */
     guint64 id;           /* playlist ID                           */
-    guint32 mhodcount;    /* This appears to be the number of string
-			     MHODs (type < 50) associated with this
-			     playlist (typically 0x01). Doesn't seem
-			     to be signficant unless you include Type
-			     52 MHODs. libgpod sets this to 1 when
-			     syncing */
-    guint16 libmhodcount; /* The number of Type 52 MHODs associated
-			     with this playlist. If you don't create
-			     Type 52 MHODs, this can be
-			     zero. Otherwise, if you have Type 52
-			     MHODs associated with this playlist and
-			     set this to zero, no songs appear on the
-			     iPod. jcsjcs: with iTunes 4.9 this seems
-			     to be set to 1 even without any Type 52
-			     MHODs present. libgpod sets this to 1
-			     when syncing */
     guint32 sortorder;    /* How to sort playlist -- see below     */
     guint32 podcastflag;  /* ITDB_PL_FLAG_NORM/_PODCAST            */
     SPLPref splpref;      /* smart playlist prefs                  */
     SPLRules splrules;    /* rules for smart playlists             */
+    gpointer reserved1;   /* reserved for MHOD100 implementation   */
+    gpointer reserved2;   /* reserved for MHOD100 implementation   */
     /* below is for use by application */
     guint64 usertype;
     gpointer userdata;
-    /* function called to duplicate userdata */
+    /* functions called to duplicate/free userdata */
     ItdbUserDataDuplicateFunc userdata_duplicate;
-    /* function called to free userdata */
     ItdbUserDataDestroyFunc userdata_destroy;
 };
 
@@ -646,6 +651,14 @@
   gchar   *podcastrss;       /* see note for MHOD_ID in itdb_itunesdb.c */
   gchar   *chapterdata;      /* see note for MHOD_ID in itdb_itunesdb.c */
   gchar   *subtitle;         /* see note for MHOD_ID in itdb_itunesdb.c */
+/* the following 6 are new in libgpod 0.4.2... */
+  gchar   *tvshow;           /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *tvepisode;        /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *tvnetwork;        /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *albumartist;      /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *keywords;         /* see note for MHOD_ID in itdb_itunesdb.c */
+  gchar   *reserved;         /* will probably be used for artistthe     */
+/* ... to here */
   guint32 id;                /* unique ID of track     */
   gint32  size;              /* size of file in bytes  */
   gint32  tracklen;          /* Length of track in ms  */
@@ -732,13 +745,18 @@
 			 0x000c, AAC songs are always 0x0033, Audible
 			 files are 0x0029, WAV files are 0x0. itdb
 			 will attempt to set this value when adding a
-			 track. */  
+			 track. */ 
   guint16 unk146;     /* unknown, but appears to be 1 if played at
 			 least once in iTunes and 0 otherwise. */
   guint32 unk148;     /* unknown - used for Apple Store DRM songs
 			 (always 0x01010100?), zero otherwise */
   guint32 unk152;     /* unknown */
-  guint32 unk156, unk160;
+  guint32 skipcount;  /* Number of times the track has been skipped.
+			 Formerly unk156 (added in dbversion 0x0c) */
+  guint32 recent_skipcount; /* number of times track was skipped since
+			       last sync */
+  guint32 last_skipped;/* Date/time last skipped. Formerly unk160
+			 (added in dbversion 0x0c) */
   guint8 has_artwork; /* 0x01: artwork is present. 0x02: no artwork is
 			 present for this track (used by the iPod to
 			 decide whether to display Artwork or not) */
@@ -757,7 +775,9 @@
 			 (middle button) with further information
 			 about the track will be shown. */
   guint64 dbid2;      /* not clear. if not set, itdb will set this to
-			 the same value as dbid when adding a track */
+			 the same value as dbid when adding a
+			 track. (With iTunes, since V0x12, this field
+			 value differs from the dbid one.) */
   guint8 lyrics_flag; /* set to 0x01 if lyrics are present in MP3 tag
 			 ("ULST"), 0x00 otherwise */
   guint8 movie_flag;  /* set to 0x01 if it's a movie file, 0x00
@@ -766,17 +786,62 @@
 			   on the iPod (bullet) once played it is set to
 			   0x01. Non-podcasts have this set to 0x01. */
   guint8 unk179;      /* unknown (always 0x00 so far) */
-  guint32 unk180, unk184;
-  guint32 samplecount;/* Number of samples in the song. First observed
+  guint32 unk180;
+  guint32 pregap;     /* Number of samples of silence before the songs
+			 starts (for gapless playback). */
+  guint64 samplecount;/* Number of samples in the song. First observed
 			 in dbversion 0x0d, and only for AAC and WAV
-			 files (not MP3?!?). */
-  guint32 unk192, unk196, unk200;
-  guint32 unk204;     /*  unknown - added in dbversion 0x0c, first
-			  values observed in 0x0d. Observed to be 0x0
-			  or 0x1. */
-  guint32 unk208, unk212, unk216, unk220, unk224;
-  guint32 unk228, unk232, unk236, unk240;
+			 files (for gapless playback). */
+  guint32 unk196;
+  guint32 postgap;    /* Number of samples of silence at the end of
+			 the song (for gapless playback). */
+  guint32 unk204;     /* unknown - added in dbversion 0x0c, first
+			 values observed in 0x0d. Observed to be 0x0
+			 or 0x1. */
+  guint32 mediatype;  /* It seems that this field denotes the type of
+		         the file on (e.g.) the 5g video iPod. It must
+			 be set to 0x00000001 for audio files, and set
+			 to 0x00000002 for video files. If set to
+			 0x00, the files show up in both, the audio
+			 menus ("Songs", "Artists", etc.) and the
+			 video menus ("Movies", "Music Videos",
+			 etc.). It appears to be set to 0x20 for music
+			 videos, and if set to 0x60 the file shows up
+			 in "TV Shows" rather than "Movies". 
 
+			 The following list summarizes all observed types:
+
+			 * 0x00 00 00 00 - Audio/Video
+			 * 0x00 00 00 01 - Audio
+			 * 0x00 00 00 02 - Video
+			 * 0x00 00 00 04 - Podcast
+			 * 0x00 00 00 06 - Video Podcast
+			 * 0x00 00 00 08 - Audiobook
+			 * 0x00 00 00 20 - Music Video
+			 * 0x00 00 00 40 - TV Show (shows up ONLY in TV Shows
+			 * 0x00 00 00 60 - TV Show (shows up in the
+			                            Music lists as well) */
+  guint32 season_nr;  /* the season number of the track, for TV shows only. */
+  guint32 episode_nr; /* the episode number of the track, for TV shows
+			 only - although not displayed on the iPod,
+			 the episodes are sorted by episode number. */
+  guint32 unk220;     /* Has something to do with protected files -
+			 set to 0x0 for non-protected files. */
+  guint32 unk224;
+  guint32 unk228, unk232, unk236, unk240, unk244;
+  guint32 gapless_data;/* some magic number needed for gapless playback
+			  (added in dbversion 0x13) It has been observed
+			  that gapless playback does not work if this is
+			  set to zero. This number is related to the the
+			  filesize in bytes, but it is a couple of bytes
+			  less than the filesize. Maybe ID3 tags
+			  etc... taken off? */
+  guint32 unk252;
+  guint16 gapless_track_flag; /* if 1, this track has gapless playback data
+			         (added in dbversion 0x13) */
+  guint16 gapless_album_flag; /* if 1, this track does not use crossfading
+			         in iTunes (added in dbversion 0x13) */
+
     /* Chapter data: defines where the chapter stops are in the track,
        as well as what info should be displayed for each section of
        the track. Until it can be parsed and interpreted, the
@@ -791,9 +856,8 @@
   /* below is for use by application */
   guint64 usertype;
   gpointer userdata;
-  /* function called to duplicate userdata */
+  /* functions called to duplicate/free userdata */
   ItdbUserDataDuplicateFunc userdata_duplicate;
-  /* function called to free userdata */
   ItdbUserDataDestroyFunc userdata_destroy;
 };
 /* (gtkpod note: don't forget to add fields read from the file to
@@ -829,7 +893,7 @@
 /* functions for reading/writing database, general itdb functions */
 Itdb_iTunesDB *itdb_parse (const gchar *mp, GError **error);
 Itdb_iTunesDB *itdb_parse_file (const gchar *filename, GError **error);
-gboolean itdb_write (Itdb_iTunesDB *db, GError **error);
+gboolean itdb_write (Itdb_iTunesDB *itdb, GError **error);
 gboolean itdb_write_file (Itdb_iTunesDB *itdb, const gchar *filename,
 			  GError **error);
 gboolean itdb_shuffle_write (Itdb_iTunesDB *itdb, GError **error);
@@ -939,7 +1003,7 @@
 void itdb_spl_update_all (Itdb_iTunesDB *itdb);
 void itdb_spl_update_live (Itdb_iTunesDB *itdb);
 
-/* thumbnails functions */
+/* thumbnails functions for coverart */
 /* itdb_track_... */
 gboolean itdb_track_set_thumbnails (Itdb_Track *track,
 				    const gchar *filename);
@@ -948,25 +1012,42 @@
 					      gsize image_data_len);
 void itdb_track_remove_thumbnails (Itdb_Track *track);
 
-/* photoalbum functions */
+/* photoalbum functions -- see itdb_photoalbum.c for instructions on
+ * how to use. */
 Itdb_PhotoDB *itdb_photodb_parse (const gchar *mp, GError **error);
-gboolean itdb_photodb_add_photo (Itdb_PhotoDB *db,
-				 const gchar *albumname,
-				 const gchar *filename);
-gboolean itdb_photodb_add_photo_from_data (Itdb_PhotoDB *db,
-					   const gchar *albumname,
-					   const guchar *image_data,
-					   gsize image_data_len);
-Itdb_PhotoAlbum *itdb_photodb_photoalbum_new (Itdb_PhotoDB *db,
-					      const gchar *album_name);
-Itdb_PhotoDB *itdb_photodb_new (void);
+Itdb_Artwork *itdb_photodb_add_photo (Itdb_PhotoDB *db, const gchar *filename,
+				      gint position, gint rotation,
+				      GError **error);
+Itdb_Artwork *itdb_photodb_add_photo_from_data (Itdb_PhotoDB *db,
+						const guchar *image_data,
+						gsize image_data_len,
+						gint position,
+						gint rotation,
+						GError **error);
+void itdb_photodb_photoalbum_add_photo (Itdb_PhotoDB *db,
+					Itdb_PhotoAlbum *album,
+					Itdb_Artwork *photo,
+					gint position);
+Itdb_PhotoAlbum *itdb_photodb_photoalbum_create (Itdb_PhotoDB *db,
+						 const gchar *albumname,
+						 gint pos);
+Itdb_PhotoDB *itdb_photodb_create (const gchar *mountpoint);
 void itdb_photodb_free (Itdb_PhotoDB *photodb);
-gboolean itdb_photodb_write (Itdb_PhotoDB *db, GError **error);
-void itdb_photodb_photoalbum_free (Itdb_PhotoAlbum *pa);
-gboolean itdb_photodb_remove_photo (Itdb_PhotoDB *db,
-        const gint photo_id );
+gboolean itdb_photodb_write (Itdb_PhotoDB *photodb, GError **error);
+void itdb_photodb_remove_photo (Itdb_PhotoDB *db,
+				Itdb_PhotoAlbum *album,
+				Itdb_Artwork *photo);
+void itdb_photodb_photoalbum_remove (Itdb_PhotoDB *db,
+				     Itdb_PhotoAlbum *album,
+				     gboolean remove_pics);
+Itdb_PhotoAlbum *itdb_photodb_photoalbum_by_name(Itdb_PhotoDB *db,
+						 const gchar *albumname );
 
-/* itdb_artwork_... */
+/* itdb_artwork_... -- you probably won't need many of these (probably
+ * with the exception of itdb_artwork_get_thumb_by_type() and
+ * itdb_thumb_get_gdk_pixbuf() probably). Use the itdb_photodb_...()
+ * functions when adding photos, and the itdb_track_...() functions
+ * when adding coverart to audio. */
 Itdb_Artwork *itdb_artwork_new (void);
 Itdb_Artwork *itdb_artwork_duplicate (Itdb_Artwork *artwork);
 void itdb_artwork_free (Itdb_Artwork *artwork);
@@ -974,16 +1055,18 @@
 					    ItdbThumbType type);
 gboolean itdb_artwork_add_thumbnail (Itdb_Artwork *artwork,
 				     ItdbThumbType type,
-				     const gchar *filename);
+				     const gchar *filename,
+				     gint rotation, GError **error);
 gboolean itdb_artwork_add_thumbnail_from_data (Itdb_Artwork *artwork,
 					       ItdbThumbType type,
 					       const guchar *image_data,
-					       gsize image_data_len);
+					       gsize image_data_len,
+					       gint rotation, GError **error);
 void itdb_artwork_remove_thumbnail (Itdb_Artwork *artwork,
 				    Itdb_Thumb *thumb);
 void itdb_artwork_remove_thumbnails (Itdb_Artwork *artwork);
 /* itdb_thumb_... */
-/* the following funciton returns a pointer to a GdkPixbuf if
+/* the following function returns a pointer to a GdkPixbuf if
    gdk-pixbuf is installed -- a NULL pointer otherwise. */
 gpointer itdb_thumb_get_gdk_pixbuf (Itdb_Device *device,
 				    Itdb_Thumb *thumb);
@@ -997,7 +1080,7 @@
 time_t itdb_time_mac_to_host (guint64 mactime);
 guint64 itdb_time_host_to_mac (time_t time);
 
-/* Initialise a blank ipod */
+/* Initialize a blank ipod */
 gboolean itdb_init_ipod (const gchar *mountpoint,
 			 const gchar *model_number,
 			 const gchar *ipod_name,

Modified: libgpod/branches/upstream/current/src/itdb_artwork.c
===================================================================
--- libgpod/branches/upstream/current/src/itdb_artwork.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/itdb_artwork.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-09-18 02:23:53 jcs>
+/* Time-stamp: <2006-11-26 23:31:45 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -24,11 +24,12 @@
 |
 |  This product is not supported/written/published by Apple!
 |
-|  $Id: itdb_artwork.c,v 1.15 2006/09/17 17:27:21 jcsjcs Exp $
+|  $Id: itdb_artwork.c,v 1.18 2006/11/26 15:00:41 jcsjcs Exp $
 */
 
 #include <config.h>
 
+#include "itdb_device.h"
 #include "itdb_private.h"
 #include "db-image-parser.h"
 #include "itdb_endianness.h"
@@ -162,18 +163,27 @@
  * @artwork: an #Itdb_Thumbnail
  * @type: thumbnail size
  * @filename: image file to use to create the thumbnail
+ * @rotation: angle by which the image should be rotated
+ * counterclockwise. Valid values are 0, 90, 180 and 270.
+ * @error: return location for a #GError or NULL
  *
  * Appends a thumbnail of type @type to existing thumbnails in @artwork. No 
  * data is read from @filename yet, the file will be when @artwork is saved to
  * disk. @filename must still exist when that happens.
  *
+ * For the rotation angle you can also use the gdk constants
+ * GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+ * ..._CLOCKWISE.
+ *
  * Return value: TRUE if the thumbnail could be successfully added, FALSE
- * otherwise
+ * otherwise. @error is set appropriately.
  **/
 gboolean
 itdb_artwork_add_thumbnail (Itdb_Artwork *artwork,
 			    ItdbThumbType type,
-			    const gchar *filename)
+			    const gchar *filename,
+			    gint rotation,
+			    GError **error)
 {
 #ifdef HAVE_GDKPIXBUF
 /* This operation doesn't make sense when we can't save thumbnail files */
@@ -184,6 +194,9 @@
     g_return_val_if_fail (filename, FALSE);
 
     if (g_stat  (filename, &statbuf) != 0) {
+	g_set_error (error, 0, -1,
+		     _("Could not access file '%s'."),
+		     filename);
 	return FALSE;
     }
 
@@ -193,10 +206,13 @@
     thumb = itdb_thumb_new ();
     thumb->filename = g_strdup (filename);
     thumb->type = type;
+    thumb->rotation = rotation;
     artwork->thumbnails = g_list_append (artwork->thumbnails, thumb);
 
     return TRUE;
 #else
+    g_set_error (error, 0, -1,
+		 _("Artwork support not compiled into libgpod."));
     return FALSE;
 #endif
 }
@@ -209,19 +225,28 @@
  * @image_data: data used to create the thumbnail (the raw contents of
  *              an image file)
  * @image_data_len: length of above data block
+ * @rotation: angle by which the image should be rotated
+ * counterclockwise. Valid values are 0, 90, 180 and 270.
+ * @error: return location for a #GError or NULL
  *
  * Appends a thumbnail of type @type to existing thumbnails in
  * @artwork. No data is processed yet. This will be done when @artwork
  * is saved to disk.
  *
+ * For the rotation angle you can also use the gdk constants
+ * GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+ * ..._CLOCKWISE.
+ *
  * Return value: TRUE if the thumbnail could be successfully added, FALSE
- * otherwise
+ * otherwise. @error is set appropriately.
  **/
 gboolean
 itdb_artwork_add_thumbnail_from_data (Itdb_Artwork *artwork,
 				      ItdbThumbType type,
 				      const guchar *image_data,
-				      gsize image_data_len)
+				      gsize image_data_len,
+				      gint rotation,
+				      GError **error)
 {
 #ifdef HAVE_GDKPIXBUF
 /* This operation doesn't make sense when we can't save thumbnail files */
@@ -242,10 +267,13 @@
     memcpy (thumb->image_data,  image_data, image_data_len);
 
     thumb->type = type;
+    thumb->rotation = rotation;
     artwork->thumbnails = g_list_append (artwork->thumbnails, thumb);
 
     return TRUE;
 #else
+    g_set_error (error, 0, -1,
+		 _("Artwork support not compiled into libgpod."));
     return FALSE;
 #endif
 }
@@ -364,7 +392,85 @@
 }
 
 
+/* limit8bit() and unpack_UYVY() adapted from imgconvert.c from the
+ * GPixPod project (www.gpixpod.org) */
+static gint limit8bit (float x)
+{
+    if(x >= 255)
+    {
+	return 255;
+    }
+    if(x <= 0)
+    {
+	return 0;
+    }
+    return x;
+}
 static guchar *
+unpack_UYVY (guchar *yuvdata, gint bytes_len, gint width, gint height)
+{
+    gint imgsize = width*3*height;
+    guchar* rgbdata;
+    gint halfimgsize = imgsize/2;
+    gint halfyuv = halfimgsize/3*2;
+    gint x = 0;
+    gint z = 0;
+    gint z2 = 0;
+    gint u0, y0, v0, y1, u1, y2, v1, y3;
+    gint h = 0;
+
+    g_return_val_if_fail (bytes_len < 2*(G_MAXUINT/3), NULL);
+    g_return_val_if_fail (width * height * 2 == bytes_len, NULL);
+
+    rgbdata =  g_malloc(imgsize);
+
+    while(h < height)
+    {
+	gint w = 0;
+	if((h % 2) == 0)
+	{
+	    while(w < width)
+	    {
+		u0 = yuvdata[z];
+		y0 = yuvdata[z+1];
+		v0 = yuvdata[z+2];
+		y1 = yuvdata[z+3];
+		rgbdata[x] = limit8bit((y0-16)*1.164 + (v0-128)*1.596);/*R0*/
+		rgbdata[x+1] = limit8bit((y0-16)*1.164 - (v0-128)*0.813 - (u0-128)*0.391);/*G0*/
+		rgbdata[x+2] = limit8bit((y0-16)*1.164 + (u0-128)*2.018);/*B0*/
+		rgbdata[x+3] = limit8bit((y0-16)*1.164 + (v0-128)*1.596);/*R1*/
+		rgbdata[x+4] = limit8bit((y1-16)*1.164 - (v0-128)*0.813 - (u0-128)*0.391);/*G1*/
+		rgbdata[x+5] = limit8bit((y1-16)*1.164 + (u0-128)*2.018);/*B1*/
+		w += 2;
+		z += 4;
+		x += 6;
+	    }
+	}
+	else
+	{
+	    while(w < width)
+	    {
+		u1 = yuvdata[halfyuv+z2];
+		y2 = yuvdata[halfyuv+z2+1];
+		v1 = yuvdata[halfyuv+z2+2];
+		y3 = yuvdata[halfyuv+z2+3];
+		rgbdata[x] = limit8bit((y2-16)*1.164 + (v1-128)*1.596);
+		rgbdata[x+1] = limit8bit((y2-16)*1.164 - (v1-128)*0.813 - (u1-128)*0.391);
+		rgbdata[x+2] = limit8bit((y2-16)*1.164 + (u1-128)*2.018);
+		rgbdata[x+3] = limit8bit((y2-16)*1.164 + (v1-128)*1.596);
+		rgbdata[x+4] = limit8bit((y3-16)*1.164 - (v1-128)*0.813 - (u1-128)*0.391);
+		rgbdata[x+5] = limit8bit((y3-16)*1.164 + (u1-128)*2.018);
+		w += 2;
+		z2 += 4;
+		x += 6;
+	    }
+	}
+	h++;
+    }
+    return rgbdata;
+}
+
+static guchar *
 get_pixel_data (Itdb_Device *device, Itdb_Thumb *thumb)
 {
 	gchar *filename = NULL;
@@ -427,9 +533,8 @@
 static guchar *
 itdb_thumb_get_rgb_data (Itdb_Device *device, Itdb_Thumb *thumb)
 {
-	void *pixels565;
-	guchar *pixels;
-	guint byte_order;
+	void *pixels_raw;
+	guchar *pixels=NULL;
 	const Itdb_ArtworkFormat *img_info;
 
 	g_return_val_if_fail (device, NULL);
@@ -438,24 +543,30 @@
 	img_info = itdb_get_artwork_info_from_type (device, thumb->type);
 	g_return_val_if_fail (img_info, NULL);
 	
-	pixels565 = get_pixel_data (device, thumb);
-	if (pixels565 == NULL) {
+	pixels_raw = get_pixel_data (device, thumb);
+	if (pixels_raw == NULL) {
 		return NULL;
 	}
 
-	byte_order = device->byte_order; 
-	/* Swap the byte order on full screen nano photos */
-	if (img_info->correlation_id == 1023)
+	switch (img_info->format)
 	{
-	    if (byte_order == G_LITTLE_ENDIAN)
-		byte_order = G_BIG_ENDIAN;
-	    else
-		byte_order = G_LITTLE_ENDIAN; 
+	case THUMB_FORMAT_RGB565_LE_90:
+	case THUMB_FORMAT_RGB565_BE_90:
+	    /* FIXME: actually the previous two might require
+	       different treatment (used on iPod Photo for the full
+	       screen photo thumbnail) */
+	case THUMB_FORMAT_RGB565_LE:
+	case THUMB_FORMAT_RGB565_BE:
+	    pixels = unpack_RGB_565 (pixels_raw, thumb->size,
+				     itdb_thumb_get_byteorder (img_info->format));
+	    break;
+	case THUMB_FORMAT_UYVY:
+	    pixels = unpack_UYVY (pixels_raw, thumb->size,
+				  img_info->width, img_info->height);
+	    break;
 	}
+	g_free (pixels_raw);
 
-	pixels = unpack_RGB_565 (pixels565, thumb->size, byte_order);
-	g_free (pixels565);
-
 	return pixels;
 
 }
@@ -551,12 +662,15 @@
 					 NULL);
 		gdk_pixbuf_loader_close (loader, NULL);
 		pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
-		g_object_ref (pixbuf);
+		if (pixbuf)
+		    g_object_ref (pixbuf);
 		g_object_unref (loader);
 	}
 
 	if (!pixbuf)
+	{
 	    return NULL;
+	}
 
 	/* !! cannot write directly to &thumb->width/height because
 	   g_object_get() returns a gint, but thumb->width/height are
@@ -701,3 +815,21 @@
     }
     return new_thumb;
 }
+
+
+G_GNUC_INTERNAL gint
+itdb_thumb_get_byteorder (const ItdbThumbFormat format)
+{
+    switch (format)
+    {
+    case THUMB_FORMAT_RGB565_LE:
+    case THUMB_FORMAT_RGB565_LE_90:
+	return G_LITTLE_ENDIAN;
+    case THUMB_FORMAT_RGB565_BE:
+    case THUMB_FORMAT_RGB565_BE_90:
+	return G_BIG_ENDIAN;
+    case THUMB_FORMAT_UYVY:
+	return -1;
+    }
+    g_return_val_if_reached (-1);
+}

Modified: libgpod/branches/upstream/current/src/itdb_device.c
===================================================================
--- libgpod/branches/upstream/current/src/itdb_device.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/itdb_device.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-09-21 20:37:09 jcs>
+/* Time-stamp: <2006-11-12 23:07:06 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -28,7 +28,7 @@
 |
 |  This product is not supported/written/published by Apple!
 |
-|  $Id: itdb_device.c,v 1.13 2006/09/21 11:39:05 jcsjcs Exp $
+|  $Id: itdb_device.c,v 1.15 2007/01/10 13:25:10 jcsjcs Exp $
 */
 
 #include "itdb_device.h"
@@ -205,38 +205,38 @@
 	NULL
 };
 
-static const Itdb_ArtworkFormat ipod_color_artwork_info[] = {
-	{ITDB_THUMB_COVER_SMALL,        56,  56, 1017},
-	{ITDB_THUMB_COVER_LARGE,       140, 140, 1016},
-	{ITDB_THUMB_PHOTO_SMALL,        42,  30, 1009},
-	{ITDB_THUMB_PHOTO_LARGE,       130,  88, 1015},
-	{ITDB_THUMB_PHOTO_FULL_SCREEN, 220, 176, 1013},
-	{ITDB_THUMB_PHOTO_TV_SCREEN,   720, 480, 1019},
-	{-1,                            -1,  -1,   -1}
+static const Itdb_ArtworkFormat ipod_photo_artwork_info[] = {
+    {ITDB_THUMB_COVER_SMALL,       56,  56, 1017, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_COVER_LARGE,      140, 140, 1016, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_PHOTO_SMALL,       42,  30, 1009, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_PHOTO_LARGE,      130,  88, 1015, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_PHOTO_FULL_SCREEN,220, 176, 1013, THUMB_FORMAT_RGB565_BE_90},
+    {ITDB_THUMB_PHOTO_TV_SCREEN,  720, 480, 1019, THUMB_FORMAT_UYVY},
+    {-1,                           -1,  -1,   -1, -1}
 };
 
 static const Itdb_ArtworkFormat ipod_nano_artwork_info[] = {
-	{ITDB_THUMB_COVER_SMALL,        42,  42, 1031},
-	{ITDB_THUMB_COVER_LARGE,       100, 100, 1027},
-	{ITDB_THUMB_PHOTO_LARGE,        42,  37, 1032},
-	{ITDB_THUMB_PHOTO_FULL_SCREEN, 176, 132, 1023},
-	{-1,                            -1,  -1,   -1}
+    {ITDB_THUMB_COVER_SMALL,       42,  42, 1031, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_COVER_LARGE,      100, 100, 1027, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_PHOTO_LARGE,       42,  37, 1032, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_PHOTO_FULL_SCREEN,176, 132, 1023, THUMB_FORMAT_RGB565_BE},
+    {-1,                           -1,  -1,   -1, -1}
 };
 
 static const Itdb_ArtworkFormat ipod_video_artwork_info[] = {
-	{ITDB_THUMB_COVER_SMALL,       100, 100, 1028},
-	{ITDB_THUMB_COVER_LARGE,       200, 200, 1029},
-	{ITDB_THUMB_PHOTO_SMALL,        50,  41, 1036},
-	{ITDB_THUMB_PHOTO_LARGE,       130,  88, 1015},
-	{ITDB_THUMB_PHOTO_FULL_SCREEN, 320, 240, 1024},
-	{ITDB_THUMB_PHOTO_TV_SCREEN,   720, 480, 1019},
-	{-1,                            -1,  -1,   -1}
+    {ITDB_THUMB_COVER_SMALL,      100, 100, 1028, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_COVER_LARGE,      200, 200, 1029, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_PHOTO_SMALL,       50,  41, 1036, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_PHOTO_LARGE,      130,  88, 1015, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_PHOTO_FULL_SCREEN,320, 240, 1024, THUMB_FORMAT_RGB565_LE},
+    {ITDB_THUMB_PHOTO_TV_SCREEN,  720, 480, 1019, THUMB_FORMAT_UYVY},
+    {-1,                           -1,  -1,   -1, -1}
 };
 
 static const Itdb_ArtworkFormat ipod_mobile_1_artwork_info[] = {
-	{ITDB_THUMB_COVER_SMALL,        50,  50, 2002},
-	{ITDB_THUMB_COVER_LARGE,       150, 150, 2003},
-	{-1,                            -1,  -1,   -1}
+    {ITDB_THUMB_COVER_SMALL,       50,  50, 2002, THUMB_FORMAT_RGB565_BE},
+    {ITDB_THUMB_COVER_LARGE,      150, 150, 2003, THUMB_FORMAT_RGB565_BE},
+    {-1,                           -1,  -1,   -1, -1}
 };
 
 
@@ -244,8 +244,8 @@
 static const Itdb_ArtworkFormat *ipod_artwork_info_table[] = {
         NULL,                      /* Invalid       */
 	NULL,                      /* Unknown       */
-	ipod_color_artwork_info,   /* Color         */
-	ipod_color_artwork_info,   /* Color U2      */
+	ipod_photo_artwork_info,   /* Color         */
+	ipod_photo_artwork_info,   /* Color U2      */
 	NULL,                      /* Grayscale     */ 
 	NULL,                      /* Grayscale U2  */
 	NULL,                      /* Mini (Silver) */
@@ -413,6 +413,7 @@
 /** 
  * itdb_device_write_sysinfo:
  * @device: an #Itdb_Device
+ * @error: return location for a #GError or NULL
  *
  * Fills the SysInfo file with information in device->sysinfo. Note:
  * no directories are created if not already existent.
@@ -733,7 +734,8 @@
 
 
 /**
- * itdb_info_get_ipod_model_string:
+ * itdb_info_get_ipod_model_name_string:
+ * @model: an #Itdb_IpodModel
  *
  * Return the iPod's generic model name, like "Color", "Nano"...
  *
@@ -757,6 +759,7 @@
 
 /**
  * itdb_info_get_ipod_generation_string:
+ * @generation: an #Itdb_IpodGeneration
  *
  * Return the iPod's generic generation name, like "First Generation",
  * "Mobile Phone"...

Modified: libgpod/branches/upstream/current/src/itdb_device.h
===================================================================
--- libgpod/branches/upstream/current/src/itdb_device.h	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/itdb_device.h	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-06-07 23:48:37 jcs>
+/* Time-stamp: <2006-11-12 23:03:35 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -30,7 +30,7 @@
 |
 |  This product is not supported/written/published by Apple!
 |
-|  $Id: itdb_device.h,v 1.6 2006/06/07 15:41:50 jcsjcs Exp $
+|  $Id: itdb_device.h,v 1.7 2006/11/12 15:12:40 jcsjcs Exp $
 */
 
 #ifndef __ITDB_DEVICE_H__
@@ -47,7 +47,18 @@
 G_BEGIN_DECLS
 
 typedef struct _Itdb_ArtworkFormat Itdb_ArtworkFormat;
+typedef enum _ItdbThumbFormat ItdbThumbFormat;
 
+enum _ItdbThumbFormat
+{
+    THUMB_FORMAT_UYVY,
+    THUMB_FORMAT_RGB565_LE,
+    THUMB_FORMAT_RGB565_LE_90,
+    THUMB_FORMAT_RGB565_BE,
+    THUMB_FORMAT_RGB565_BE_90,
+};
+
+
 struct _Itdb_Device
 {
     gchar *mountpoint;    /* mountpoint of the iPod */
@@ -68,6 +79,7 @@
 	gint16 width;
 	gint16 height;
 	gint16 correlation_id;
+        ItdbThumbFormat format;
 };
 
 G_GNUC_INTERNAL const Itdb_ArtworkFormat *itdb_device_get_artwork_formats (Itdb_Device *device);

Modified: libgpod/branches/upstream/current/src/itdb_itunesdb.c
===================================================================
--- libgpod/branches/upstream/current/src/itdb_itunesdb.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/itdb_itunesdb.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-09-21 20:12:24 jcs>
+/* Time-stamp: <2007-01-15 01:55:47 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -31,7 +31,7 @@
 |
 |  This product is not supported/written/published by Apple!
 |
-|  $Id: itdb_itunesdb.c,v 1.68 2006/09/21 11:39:05 jcsjcs Exp $
+|  $Id: itdb_itunesdb.c,v 1.76 2007/01/14 14:28:37 jcsjcs Exp $
 */
 
 /* Some notes on how to use the functions in this file:
@@ -133,9 +133,37 @@
 #define ITUNESDB_COPYBLK (1024*1024*4)      /* blocksize for cp () */
 
 
+/* NOTE for developers:
+
+   Sometimes new MHOD string fields are added by Apple in the
+   iTunesDB. In that case you need to modify the code in the following
+   places:
+
+   itdb_itunesdb.c:
+   - enum MHOD_ID
+   - get_mhod(): inside the switch() statement. Currently no compiler
+     warning is given.
+   - get_mhod_string(): inside the switch() statement. A compiler warning
+     will help you find it.
+   - get_playlist(): inside the switch() statement. A compiler warning
+     will help you find it.
+   - get_mhit(): inside the switch() statement. A compiler warning
+     will help you find it.
+   - mk_mhod(): inside the switch() statement. A compiler warning
+     will help you find it.
+   - write_mhsd_tracks(): inside the for() loop.
+
+   itdb_track.c:
+   - itdb_track_free()
+   - itdb_track_duplicate()
+
+   itdb_playlists.c:
+   Analogous to itdb_track.c in case the string is part of the playlist
+   description.
+*/
+
 /* Note: some of the comments for the MHOD_IDs are copied verbatim
  * from http://ipodlinux.org/ITunesDB */
-
 enum MHOD_ID {
   MHOD_ID_TITLE = 1,
   MHOD_ID_PATH = 2,   /* file path on iPod (special format) */
@@ -169,6 +197,22 @@
 /* Subtitle (usually the same as Description). Introduced in db
    version 0x0d. */
   MHOD_ID_SUBTITLE = 18,
+/* Show (for TV Shows only). Introduced in db version 0x0d? */
+  MHOD_ID_TVSHOW = 19, 
+/* Episode # (for TV Shows only). Introduced in db version 0x0d? */
+  MHOD_ID_TVEPISODE = 20,
+/* TV Network (for TV Shows only). Introduced in db version 0x0d? */
+  MHOD_ID_TVNETWORK = 21,
+/* Album Artist. Introduced in db version 0x13? */
+  MHOD_ID_ALBUMARTIST = 22,
+/* This only seems to appear if the Artist has "The" in front of it
+  (like "The Monkies") in which case it will be in the format "Artist,
+  The" and is followed by 5 0x01 UTF-16 characters. Introduced in db
+  version 0x13? */
+/*  MHOD_ID_ARTISTTHE = 23,   later */
+/* Appears to be a list of keywords pertaining to a track. Introduced
+   in db version 0x13? */
+  MHOD_ID_KEYWORDS = 24,
   MHOD_ID_SPLPREF = 50,  /* settings for smart playlist */
   MHOD_ID_SPLRULES = 51, /* rules for smart playlist     */
   MHOD_ID_LIBPLAYLISTINDEX = 52,  /* Library Playlist Index */
@@ -271,11 +315,15 @@
  * @root: in local encoding
  * @components: in utf8
  *
+ * Resolve the path to a track on the iPod
+ *
  * We start by assuming that the ipod mount point exists.  Then, for
  * each component c of track-&gt;ipod_path, we try to find an entry d in
  * good_path that is case-insensitively equal to c.  If we find d, we
  * append d to good_path and make the result the new good_path.
  * Otherwise, we quit and return NULL.
+ *
+ * Return value: path to track on the iPod or NULL.
  **/
 gchar * itdb_resolve_path (const gchar *root,
 			   const gchar * const * components)
@@ -844,7 +892,8 @@
     entry_length = get32lint (cts, 8);
     CHECK_ERROR (fimp, FALSE);
     /* all the entries I know are 0x0c (firmware 1.3) or 0x10
-     * (firmware 2.0) or 0x14 (iTunesDB version 0x0d) in length */
+     * (firmware 2.0), 0x14 (iTunesDB version 0x0d) or 0x1c (iTunesDB
+     * version 0x13) in length */
     if (entry_length < 0x0c)
     {
 	g_set_error (&fimp->error,
@@ -862,13 +911,13 @@
 	struct playcount *playcount = g_new0 (struct playcount, 1);
 	glong seek = header_length + i*entry_length;
 
+	check_seek (cts, seek, entry_length);
+	CHECK_ERROR (fimp, FALSE);	
+
 	fimp->playcounts = g_list_append (fimp->playcounts, playcount);
 	playcount->playcount = get32lint (cts, seek);
-	CHECK_ERROR (fimp, FALSE);
 	playcount->time_played = get32lint (cts, seek+4);
-	CHECK_ERROR (fimp, FALSE);
 	playcount->bookmark_time = get32lint (cts, seek+8);
-	CHECK_ERROR (fimp, FALSE);
 	/* NOTE:
 	 *
 	 * The iPod (firmware 1.3, 2.0, ...?) doesn't seem to use the
@@ -883,7 +932,6 @@
 	if (entry_length >= 0x10)
 	{
 	    playcount->rating = get32lint (cts, seek+12);
-	    CHECK_ERROR (fimp, FALSE);
 	}
 	else
 	{
@@ -893,11 +941,13 @@
 	if (entry_length >= 0x14)
 	{
 	    playcount->pc_unk16 = get32lint (cts, seek+16);
-	    CHECK_ERROR (fimp, FALSE);
 	}
-	else
+	/* skip_count and last_skipped only exists if the entry length
+	   is at least 0x1c */
+	if (entry_length >= 0x1c)
 	{
-	    playcount->pc_unk16 = 0;
+	    playcount->skipcount = get32lint (cts, seek+20);
+	    playcount->last_skipped = get32lint (cts, seek+24);
 	}
     }
     return TRUE;
@@ -1170,7 +1220,7 @@
     g_once (&g_type_init_once, (GThreadFunc)g_type_init, NULL);
     itdb = g_new0 (Itdb_iTunesDB, 1);
     itdb->device = itdb_device_new ();
-    itdb->version = 0x09;
+    itdb->version = 0x13;
     itdb->id = ((guint64)g_random_int () << 32) |
 	((guint64)g_random_int ());
     return itdb;
@@ -1285,6 +1335,11 @@
   case MHOD_ID_GROUPING:
   case MHOD_ID_DESCRIPTION:
   case MHOD_ID_SUBTITLE:
+  case MHOD_ID_TVSHOW:
+  case MHOD_ID_TVEPISODE:
+  case MHOD_ID_TVNETWORK:
+  case MHOD_ID_ALBUMARTIST:
+  case MHOD_ID_KEYWORDS:
       /* type of string: 0x02: UTF8, 0x01 or 0x00: UTF16 LE */
       string_type = get32lint (cts, seek);
       xl = get32lint (cts, seek+4);   /* length of string */
@@ -1466,7 +1521,6 @@
    cts->error is set appropriately. */
 static gchar *get_mhod_string (FContents *cts, glong seek, guint32 *ml, gint32 *mty)
 {
-    gchar *result = NULL;
     MHODData mhoddata;
 
     *mty = get_mhod_type (cts, seek, ml);
@@ -1488,19 +1542,28 @@
     case MHOD_ID_PODCASTURL:
     case MHOD_ID_PODCASTRSS:
     case MHOD_ID_SUBTITLE:
+    case MHOD_ID_TVSHOW:
+    case MHOD_ID_TVEPISODE:
+    case MHOD_ID_TVNETWORK:
+    case MHOD_ID_ALBUMARTIST:
+    case MHOD_ID_KEYWORDS:
 	mhoddata = get_mhod (cts, seek, ml);
 	if ((*ml != -1) && mhoddata.valid)
-	    result = mhoddata.data.string;
-	break;
+	    return mhoddata.data.string;
+	else
+	    return NULL;
     case MHOD_ID_SPLPREF:
     case MHOD_ID_SPLRULES:
     case MHOD_ID_LIBPLAYLISTINDEX:
     case MHOD_ID_PLAYLIST:
     case MHOD_ID_CHAPTERDATA:
 	/* these do not have a string entry */
-	break;
+	return NULL;
     }
-    return result;
+#if ITUNESDB_MHIT_DEBUG
+    fprintf (stderr, "Ignoring unknown MHOD of type %d at offset %ld\n", *mty, seek);
+#endif
+    return NULL;
 }
 
 
@@ -1873,8 +1936,8 @@
   plitem->flag3 = get8int (cts, mhyp_seek+23);
   plitem->timestamp = get32lint (cts, mhyp_seek+24);
   plitem->id = get64lint (cts, mhyp_seek+28);
-  plitem->mhodcount = get32lint (cts, mhyp_seek+36);
-  plitem->libmhodcount = get16lint (cts, mhyp_seek+40);
+/*  plitem->mhodcount = get32lint (cts, mhyp_seek+36);   */
+/*  plitem->libmhodcount = get16lint (cts, mhyp_seek+40);*/
   plitem->podcastflag = get16lint (cts, mhyp_seek+42);
   plitem->sortorder = get32lint (cts, mhyp_seek+44);
 
@@ -1942,6 +2005,11 @@
 	  case MHOD_ID_PODCASTURL:
 	  case MHOD_ID_PODCASTRSS:
 	  case MHOD_ID_SUBTITLE:
+	  case MHOD_ID_TVSHOW:
+	  case MHOD_ID_TVEPISODE:
+	  case MHOD_ID_TVNETWORK:
+	  case MHOD_ID_ALBUMARTIST:
+	  case MHOD_ID_KEYWORDS:
 	  case MHOD_ID_CHAPTERDATA:
 	      /* these are not expected here */
 	      break;
@@ -2114,8 +2182,8 @@
   }
   if (header_len >= 0xf4)
   {
-      track->unk156 = get32lint (cts, seek+156);
-      track->unk160 = get32lint (cts, seek+160);
+      track->skipcount = get32lint (cts, seek+156);
+      track->last_skipped = get32lint (cts, seek+160);
       track->has_artwork = get8int (cts, seek+164);
       track->skip_when_shuffling = get8int (cts, seek+165);
       track->remember_playback_position = get8int (cts, seek+166);
@@ -2126,15 +2194,14 @@
       track->mark_unplayed = get8int (cts, seek+178);
       track->unk179 = get8int (cts, seek+179);
       track->unk180 = get32lint (cts, seek+180);
-      track->unk184 = get32lint (cts, seek+184);
-      track->samplecount = get32lint (cts, seek+188);
-      track->unk192 = get32lint (cts, seek+192);
+      track->pregap = get32lint (cts, seek+184);
+      track->samplecount = get64lint (cts, seek+188);
       track->unk196 = get32lint (cts, seek+196);
-      track->unk200 = get32lint (cts, seek+200);
+      track->postgap = get32lint (cts, seek+200);
       track->unk204 = get32lint (cts, seek+204);
-      track->unk208 = get32lint (cts, seek+208);
-      track->unk212 = get32lint (cts, seek+212);
-      track->unk216 = get32lint (cts, seek+216);
+      track->mediatype = get32lint (cts, seek+208);
+      track->season_nr = get32lint (cts, seek+212);
+      track->episode_nr = get32lint (cts, seek+216);
       track->unk220 = get32lint (cts, seek+220);
       track->unk224 = get32lint (cts, seek+224);
       track->unk228 = get32lint (cts, seek+228);
@@ -2142,6 +2209,14 @@
       track->unk236 = get32lint (cts, seek+236);
       track->unk240 = get32lint (cts, seek+240);
   }
+  if (header_len >= 0x148)
+  {
+      track->unk244 = get32lint (cts, seek+244);
+      track->gapless_data = get32lint (cts, seek+248);
+      track->unk252 = get32lint (cts, seek+252);
+      track->gapless_track_flag = get16lint (cts, seek+256);
+      track->gapless_album_flag = get16lint (cts, seek+258);
+  }
 
   track->transferred = TRUE;                   /* track is on iPod! */
 
@@ -2198,9 +2273,26 @@
 	  case MHOD_ID_SUBTITLE:
 	      track->subtitle = entry_utf8;
 	      break;
-	  default: /* unknown entry -- discard */
-	      g_warning ("Unknown string mhod type %d at %lx inside mhit starting at %lx\n",
-			 type, seek, mhit_seek);
+	  case MHOD_ID_TVSHOW:
+	      track->tvshow = entry_utf8;
+	      break;
+	  case MHOD_ID_TVEPISODE:
+	      track->tvepisode = entry_utf8;
+	      break;
+	  case MHOD_ID_TVNETWORK:
+	      track->tvnetwork = entry_utf8;
+	      break;
+	  case MHOD_ID_ALBUMARTIST:
+	      track->albumartist = entry_utf8;
+	      break;
+	  case MHOD_ID_KEYWORDS:
+	      track->keywords = entry_utf8;
+	      break;
+	  case MHOD_ID_SPLPREF:
+	  case MHOD_ID_SPLRULES:
+	  case MHOD_ID_LIBPLAYLISTINDEX:
+	  case MHOD_ID_PLAYLIST:
+	  case MHOD_ID_CHAPTERDATA:
 	      g_free (entry_utf8);
 	      break;
 	  }
@@ -2256,6 +2348,10 @@
 	  track->mark_unplayed = 0x01;
       }
       track->recent_playcount = playcount->playcount;
+
+      track->skipcount += playcount->skipcount;
+      track->recent_skipcount = playcount->skipcount;
+
       g_free (playcount);
   }
   itdb_track_add (fimp->itdb, track, -1);
@@ -3192,8 +3288,14 @@
 		     0x0a: iTunes 4.5
 		     0x0b: iTunes 4.7
 		     0x0c: iTunes 4.71/4.8 (required for shuffle)
-                     0x0d: iTunes 4.9 */
-  fexp->itdb->version = 0x0d;
+                     0x0d: iTunes 4.9
+                     0x0e: iTunes 5
+		     0x0f: iTunes 6
+		     0x10: iTunes 6.0.1(?)
+		     0x11: iTunes 6.0.2
+                     0x12 = iTunes 6.0.5.
+		     0x13 = iTunes 7 */
+  fexp->itdb->version = 0x13;
   put32lint (cts, fexp->itdb->version);
   put32lint (cts, children);
   put64lint (cts, fexp->itdb->id);
@@ -3252,7 +3354,7 @@
   g_return_if_fail (track);
 
   put_header (cts, "mhit");
-  put32lint (cts, 0xf4);  /* header size */
+  put32lint (cts, 0x148);/* header size */
   put32lint (cts, -1);   /* size of whole mhit -- fill in later */
   put32lint (cts, -1);   /* nr of mhods in this mhit -- later   */
   put32lint (cts, track->id); /* track index number */
@@ -3301,8 +3403,8 @@
   put32lint (cts, track->unk148);
   put32lint (cts, track->unk152);
   /* since iTunesDB version 0x0c */
-  put32lint (cts, track->unk156);
-  put32lint (cts, track->unk160);
+  put32lint (cts, track->skipcount);
+  put32lint (cts, track->last_skipped);
   put8int (cts, track->has_artwork);
   put8int (cts, track->skip_when_shuffling);
   put8int (cts, track->remember_playback_position);
@@ -3313,21 +3415,26 @@
   put8int (cts, track->mark_unplayed);
   put8int (cts, track->unk179);
   put32lint (cts, track->unk180);
-  put32lint (cts, track->unk184);
-  put32lint (cts, track->samplecount);
-  put32lint (cts, track->unk192);
+  put32lint (cts, track->pregap);
+  put64lint (cts, track->samplecount);
   put32lint (cts, track->unk196);
-  put32lint (cts, track->unk200);
+  put32lint (cts, track->postgap);
   put32lint (cts, track->unk204);
-  put32lint (cts, track->unk208);
-  put32lint (cts, track->unk212);
-  put32lint (cts, track->unk216);
+  put32lint (cts, track->mediatype);
+  put32lint (cts, track->season_nr);
+  put32lint (cts, track->episode_nr);
   put32lint (cts, track->unk220);
   put32lint (cts, track->unk224);
   put32lint (cts, track->unk228);
   put32lint (cts, track->unk232);
   put32lint (cts, track->unk236);
   put32lint (cts, track->unk240);
+  put32lint (cts, track->unk244);
+  put32lint (cts, track->gapless_data);
+  put32lint (cts, track->unk252);
+  put16lint (cts, track->gapless_track_flag);
+  put16lint (cts, track->gapless_album_flag);
+  put32_n0 (cts, 17); /* padding */
 }
 
 
@@ -3369,6 +3476,11 @@
   case MHOD_ID_GROUPING:
   case MHOD_ID_DESCRIPTION:
   case MHOD_ID_SUBTITLE:
+  case MHOD_ID_TVSHOW:
+  case MHOD_ID_TVEPISODE:
+  case MHOD_ID_TVNETWORK:
+  case MHOD_ID_ALBUMARTIST:
+  case MHOD_ID_KEYWORDS:
       g_return_if_fail (mhod->data.string);
       /* normal iTunesDBs seem to take utf16 strings), endian-inversed
 	 iTunesDBs seem to take utf8 strings */
@@ -3759,6 +3871,41 @@
 	    mk_mhod (cts, &mhod);
 	    ++mhod_num;
 	}
+	if (track->tvshow && *track->tvshow)
+	{
+	    mhod.type = MHOD_ID_TVSHOW;
+	    mhod.data.string = track->tvshow;
+	    mk_mhod (cts, &mhod);
+	    ++mhod_num;
+	}
+	if (track->tvepisode && *track->tvepisode)
+	{
+	    mhod.type = MHOD_ID_TVEPISODE;
+	    mhod.data.string = track->tvepisode;
+	    mk_mhod (cts, &mhod);
+	    ++mhod_num;
+	}
+	if (track->tvnetwork && *track->tvnetwork)
+	{
+	    mhod.type = MHOD_ID_TVNETWORK;
+	    mhod.data.string = track->tvnetwork;
+	    mk_mhod (cts, &mhod);
+	    ++mhod_num;
+	}
+	if (track->albumartist && *track->albumartist)
+	{
+	    mhod.type = MHOD_ID_ALBUMARTIST;
+	    mhod.data.string = track->albumartist;
+	    mk_mhod (cts, &mhod);
+	    ++mhod_num;
+	}
+	if (track->keywords && *track->keywords)
+	{
+	    mhod.type = MHOD_ID_KEYWORDS;
+	    mhod.data.string = track->keywords;
+	    mk_mhod (cts, &mhod);
+	    ++mhod_num;
+	}
 	if (track->podcasturl && *track->podcasturl)
 	{
 	    mhod.type = MHOD_ID_PODCASTURL;
@@ -3995,11 +4142,11 @@
     put8int (cts, pl->flag3);      /* unknown                   */
     put32lint (cts, pl->timestamp);/* some timestamp            */
     put64lint (cts, pl->id);       /* 64 bit ID                 */
-    pl->mhodcount = 1;             /* we only write one mhod type < 50 */
-    put32lint (cts, pl->mhodcount);
-    pl->libmhodcount = 1;          /* we don't write mhod type 52, and
-				      "1" seems to be the default */
-    put16lint (cts, pl->libmhodcount);
+    put32lint (cts, 1);            /* mhodcount: we only write
+				    * one mhod type < 50        */
+    put16lint (cts, 1);            /* libmhodcount: we don't write
+				      mhod type 52, and "1" seems to
+				      be the default            */
     put16lint (cts, pl->podcastflag);
     put32lint (cts, pl->sortorder);
     put32_n0 (cts, 15);            /* ?                         */
@@ -5467,9 +5614,9 @@
  * itdb_init_ipod:
  * @mountpoint:   the iPod mountpoint
  * @model_number: the iPod model number
- * @model_type:   the type of iPod, eg. regular, shuffle
  * @ipod_name:    the name to give to the iPod. Will be displayed in
  *                gtkpod or itunes
+ * @error:        return location for a #GError or NULL
  *
  * Initialise an iPod device from scratch. The function attempts to
  * create a blank database, complete with master playlist and device

Modified: libgpod/branches/upstream/current/src/itdb_photoalbum.c
===================================================================
--- libgpod/branches/upstream/current/src/itdb_photoalbum.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/itdb_photoalbum.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,3 +1,31 @@
+/* Time-stamp: <2007-01-15 01:02:46 jcs>
+|
+|  Copyright (C) 2002-2006 Jorg Schuler <jcsjcs at users sourceforge net>
+|  Part of the gtkpod project.
+| 
+|  URL: http://www.gtkpod.org/
+|  URL: http://gtkpod.sourceforge.net/
+|
+|  The code contained in this file is free software; you can redistribute
+|  it and/or modify it under the terms of the GNU Lesser General Public
+|  License as published by the Free Software Foundation; either version
+|  2.1 of the License, or (at your option) any later version.
+|
+|  This file is distributed in the hope that it will be useful,
+|  but WITHOUT ANY WARRANTY; without even the implied warranty of
+|  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+|  Lesser General Public License for more details.
+|
+|  You should have received a copy of the GNU Lesser General Public
+|  License along with this code; if not, write to the Free Software
+|  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+|
+|  iTunes and iPod are trademarks of Apple
+|
+|  This product is not supported/written/published by Apple!
+|
+|  $Id: itdb_photoalbum.c,v 1.16 2007/01/14 13:34:07 jcsjcs Exp $
+*/
 #include <config.h>
 
 #include "itdb_private.h"
@@ -9,6 +37,60 @@
 #include <glib/gi18n-lib.h>
 
 
+/* Short summary:
+
+   itdb_photodb_parse():
+       Read an existing PhotoDB.
+
+   itdb_photodb_create():
+       Create a new Itdb_PhotoDB structure. The Photo Library Album is
+       (first album) is created automatically.
+
+   itdb_photodb_add_photo(), itdb_photodb_add_photo_from_data():
+       Add a photo to the PhotoDB (from file or from a chunk of
+       memory). It is automatically added to the Photo Library Album
+       (first album), which is created if it does not exist already.
+
+   itdb_photodb_photoalbum_create():
+       Create and add a new photoalbum.
+
+   itdb_photodb_photoalbum_add_photo():
+       Add a photo (Itdb_Artwork) to an existing photoalbum.
+
+   itdb_photodb_photoalbum_remove():
+       Remove an existing photoalbum. Pictures can be kept in the
+       Photo Library or automatically removed as well.
+
+   itdb_photodb_remove_photo():
+       Remove a photo either from a photoalbum or completely from the database.
+
+   itdb_photodb_write():
+       Write out your PhotoDB.
+
+   itdb_photodb_free():
+       Free all memory taken by the PhotoDB.
+
+   itdb_photodb_photoalbum_by_name():
+       Find the first photoalbum with a given name or the Photo
+       Library Album if called with no name.
+
+
+   If you cannot add photos because your iPod is not recognized, you
+   may have to set the iPod model by calling
+
+   itdb_device_set_sysinfo (db->device, "ModelNumStr", model);
+
+   For example, "MA450" would stand for an 80 GB 6th generation iPod
+   Video. See itdb_device.c for a list of supported models.
+   
+   This information will be written to the iPod when the PhotoDB is
+   saved (itdb_device_write_sysinfo() is called).
+*/
+
+
+static Itdb_PhotoDB *itdb_photodb_new (void);
+static void itdb_photodb_photoalbum_free (Itdb_PhotoAlbum *pa);
+
 /* Set @error with standard error message */
 static void error_no_photos_dir (const gchar *mp, GError **error)
 {
@@ -116,12 +198,11 @@
 
 /**
  * itdb_photodb_parse:
+ * @mp: mountpoint of the iPod
+ * @error: will contain the error description when an error occured.
  *
  * Parses the photo database of an iPod mounted at @mp.
  *
- * @mp: mountpoint of the iPod
- * @error: will contain the error description when an error occured.
- *
  * Return value: the imported PhotoDB or NULL in case of an error.
  **/
 Itdb_PhotoDB *itdb_photodb_parse (const gchar *mp, GError **error)
@@ -146,15 +227,36 @@
 
 
 /**
- * itdb_photodb_new:
+ * itdb_photodb_create:
+ * @mountpoint: mountpoint or NULL.
  *
- * Creates a new Itdb_PhotoDB
+ * Creates a new Itdb_PhotoDB. If mountpoint is NULL, you will have to
+ * set it manually later by calling itdb_device_set_mountpoint().
  *
  * Return value: a newly created Itdb_PhotoDB to be freed with
- * itdb_photodb_free() when it's no longer needed
+ * itdb_photodb_free() when it's no longer needed. The Photo Library
+ * Album is created automatically.
  **/
-Itdb_PhotoDB *itdb_photodb_new (void)
+Itdb_PhotoDB *itdb_photodb_create (const gchar *mountpoint)
 {
+    Itdb_PhotoDB *photodb = itdb_photodb_new ();
+    Itdb_PhotoAlbum *album;
+
+    album = itdb_photodb_photoalbum_create (photodb, _("Photo Library"), -1);
+    album->album_type = 1; /* Photo Library */
+
+    if (mountpoint)
+    {
+	itdb_device_set_mountpoint (photodb->device, mountpoint);
+    }
+
+    return photodb;
+}
+
+
+
+static Itdb_PhotoDB *itdb_photodb_new (void)
+{
     Itdb_PhotoDB *photodb;
 
     photodb = g_new0 (Itdb_PhotoDB, 1);
@@ -164,6 +266,7 @@
 }
 
 
+
 /** 
  * itdb_photodb_free:
  * @photodb: an #Itdb_PhotoDB
@@ -207,184 +310,393 @@
 	return photo_id + 1;
 }
 
-static gint itdb_get_free_photoalbum_id ( Itdb_PhotoDB *db )
+static void itdb_photodb_photoalbum_free (Itdb_PhotoAlbum *album)
 {
-	gint album_id = 0;
-	GList *it;
+    if (album)
+    {
+	g_free (album->name);
+	g_list_free (album->members);
 
-	for (it = db->photoalbums; it != NULL; it = it->next) {
-		Itdb_PhotoAlbum *album;
+	if (album->userdata && album->userdata_destroy)
+	    (*album->userdata_destroy) (album->userdata);
 
-		album = (Itdb_PhotoAlbum *)it->data;
-		if( album->album_id > album_id )
-			album_id = album->album_id;
-	}
-	return album_id + 1;
+	g_free (album);
+    }
 }
 
-static Itdb_PhotoAlbum *itdb_get_photoalbum ( Itdb_PhotoDB *db, const gchar *albumname )
+
+/* called by itdb_photodb_add_photo() and
+   itdb_photodb_add_photo_from_data() */
+static Itdb_Artwork *itdb_photodb_add_photo_internal (Itdb_PhotoDB *db,
+						      const gchar *filename,
+						      const guchar *image_data,
+						      gsize image_data_len,
+						      gint position,
+						      gint rotation,
+						      GError **error)
 {
-	GList *it;
+#ifdef HAVE_GDKPIXBUF
+    gboolean result;
+    Itdb_Artwork *artwork;
+    Itdb_PhotoAlbum *album;
+    const Itdb_ArtworkFormat *format;
 
-	if( strcmp( albumname, "master" ) == 0 )
-	    return g_list_nth_data (db->photoalbums, 0);
+    g_return_val_if_fail (db, NULL);
+    g_return_val_if_fail (db->device, NULL);
+    g_return_val_if_fail (filename || image_data, NULL);
+    g_return_val_if_fail (!(image_data && (image_data_len == 0)), NULL);
 
-	for (it = db->photoalbums; it != NULL; it = it->next) {
-		Itdb_PhotoAlbum *album;
+    if (!ipod_supports_photos (db->device))
+    {
+	const Itdb_IpodInfo *ipodinfo = itdb_device_get_ipod_info (db->device);
+	const gchar *model, *generation;
 
-		album = (Itdb_PhotoAlbum *)it->data;
-		if( strcmp(album->name, albumname) == 0 )
-			return album;
-	}
-	return (Itdb_PhotoAlbum *)NULL;
-}
+	if (!ipodinfo)
+	{
+	    g_set_error (error, 0, -1,
+			 _("You need to specify the iPod model used before photos can be added."));
+	    return NULL;
+	    /* For information: The model is set by calling the rather
+	       unintuitive function itdb_device_set_sysinfo as
+	       follows:
 
+	       itdb_device_set_sysinfo (db->device, "ModelNumStr", model);
 
-void itdb_photodb_photoalbum_free (Itdb_PhotoAlbum *pa)
-{
-    if (pa)
-    {
-	g_free (pa->name);
-	g_list_free (pa->members);
+	       For example, "MA450" would stand for an 80 GB 6th
+	       generation iPod Video. See itdb_device.c for a list of
+	       supported models.
 
-	if (pa->userdata && pa->userdata_destroy)
-	    (*pa->userdata_destroy) (pa->userdata);
+	       This information will be written to the iPod when the
+	       PhotoDB is saved (itdb_device_write_sysinfo() is called).
+	    */
+	}
 
-	g_free (pa);
+	model = itdb_info_get_ipod_model_name_string (ipodinfo->ipod_model);
+	generation = itdb_info_get_ipod_generation_string (ipodinfo->ipod_generation);
+	g_return_val_if_fail (model && generation, NULL);
+	g_set_error (error, 0, -1,
+		     _("Your iPod does not seem to support photos. Maybe you need to specify the correct iPod model number? It is currently set to 'x%s' (%s/%s)."),
+		     ipodinfo->model_number, generation, model);
+	return NULL;
     }
-}
 
-static gboolean itdb_photodb_add_photo_internal (Itdb_PhotoDB *db,
-						 const gchar *albumname,
-						 const gchar *filename,
-						 const guchar *image_data,
-						 gsize image_data_len)
-{
-	gboolean result;
-	Itdb_Artwork *artwork;
-	Itdb_PhotoAlbum *photoalbum;
-	const Itdb_ArtworkFormat *format;
-	gint photo_id;
+    /* check if filename is valid */
+    if (filename)
+    {
+	struct stat statbuf;
+	if (g_stat  (filename, &statbuf) != 0)
+	{
+	    g_set_error (error, 0, -1,
+			 _("Could not access file '%s'. Photo not added."),
+			 filename);
+	    return NULL;
+	}
+    }
 
-	g_return_val_if_fail (db, FALSE);
+    artwork = itdb_artwork_new ();
 
-	artwork = itdb_artwork_new ();
+    /* Add a thumbnail for every supported format */
+    format = itdb_device_get_artwork_formats (db->device);
+    g_return_val_if_fail (format, NULL);
 
-	photo_id = itdb_get_free_photo_id( db );
-	artwork->id = photo_id;
-
-	/* Add a thumbnail for every supported format */
-	format = itdb_device_get_artwork_formats(db->device);
-	for( result = TRUE; format->type != -1 && result == TRUE; format++)
+    for(result = TRUE; format->type != -1 && result == TRUE; format++)
+    {
+	if((format->type == ITDB_THUMB_COVER_SMALL) ||
+	   (format->type == ITDB_THUMB_COVER_LARGE))
+	    continue;
+	if (filename)
 	{
-	    if((format->type == ITDB_THUMB_COVER_SMALL) ||
-	       (format->type == ITDB_THUMB_COVER_LARGE))
-			continue;
-	    if (filename)
-	    {
-		result = itdb_artwork_add_thumbnail (artwork,
-						     format->type,
-						     filename);
-	    }
-	    if (image_data)
-	    {
-		result = itdb_artwork_add_thumbnail_from_data (artwork,
-							       format->type,
-							       image_data,
-							       image_data_len);
-	    }
+	    result = itdb_artwork_add_thumbnail (artwork,
+						 format->type,
+						 filename,
+						 rotation,
+						 error);
 	}
-
-	if (result != TRUE)
+	if (image_data)
 	{
-		itdb_artwork_remove_thumbnails (artwork);
-		return result;
+	    result = itdb_artwork_add_thumbnail_from_data (artwork,
+							   format->type,
+							   image_data,
+							   image_data_len,
+							   rotation,
+							   error);
 	}
-	db->photos = g_list_append (db->photos, artwork);
+    }
 
-	photoalbum = itdb_get_photoalbum( db, albumname );
-	if( photoalbum == NULL )
-		photoalbum = itdb_photodb_photoalbum_new( db, albumname );
-	photoalbum->num_images++;
-	photoalbum->members = g_list_append (photoalbum->members, GINT_TO_POINTER(photo_id));
+    if (result != TRUE)
+    {
+	itdb_artwork_free (artwork);
+	g_set_error (error, 0, -1,
+		     _("Unexpected error in itdb_photodb_add_photo_internal() while adding photo, please report."));
+	return NULL;
+    }
 
-	return result;
+    /* Add artwork to the list of photos */
+    /* (it would be sufficient to append to the end) */
+    db->photos = g_list_insert (db->photos, artwork, position);
+
+    /* Add artwork to the first album */
+    album = itdb_photodb_photoalbum_by_name (db, NULL);
+    if (!album)
+    {
+	album = itdb_photodb_photoalbum_create (db, _("Photo Library"), -1);
+	album->album_type = 1; /* Photo Library */
+    }
+    itdb_photodb_photoalbum_add_photo (db, album, artwork, position);
+
+    return artwork;
+#else
+    g_set_error (error, 0, -1,
+		 _("Library compiled without gdk-pixbuf support. Picture support is disabled."));
+    return NULL;
+#endif
 }
 
 
-gboolean itdb_photodb_add_photo (Itdb_PhotoDB *db,
-				 const gchar *albumname,
-				 const gchar *filename)
+
+/**
+ * itdb_photodb_add_photo:
+ * @db: the #Itdb_PhotoDB to add the photo to.
+ * @filename: file with the photo to add.
+ * @position: position where to insert the new photo (-1 to append at
+ * the end)
+ * @rotation: angle by which the image should be rotated
+ * counterclockwise. Valid values are 0, 90, 180 and 270.
+ * @error: return location for a #GError or NULL
+ * 
+ * Add a photo to the PhotoDB. The photo is automatically added to the
+ * first Photoalbum, which by default contains a list of all photos in
+ * the database. If no Photoalbums exist one is created automatically.
+ *
+ * For the rotation angle you can also use the gdk constants
+ * GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+ * ..._CLOCKWISE.
+ *
+ * Return value: a pointer to the added photo.
+ **/
+Itdb_Artwork *itdb_photodb_add_photo (Itdb_PhotoDB *db,
+				      const gchar *filename,
+				      gint position,
+				      gint rotation,
+				      GError **error)
 {
     g_return_val_if_fail (db, FALSE);
     g_return_val_if_fail (filename, FALSE);
 
-    return itdb_photodb_add_photo_internal (db, albumname, filename,
-					    NULL, 0);
+    return itdb_photodb_add_photo_internal (db, filename, NULL, 0,
+					    position, rotation, error);
 }
 
 
-gboolean itdb_photodb_add_photo_from_data (Itdb_PhotoDB *db,
-					   const gchar *albumname,
-					   const guchar *image_data,
-					   gsize image_data_len)
+/**
+ * itdb_photodb_add_photo_from_data:
+ * @db: the #Itdb_PhotoDB to add the photo to.
+ * @image_data: chunk of memory containing the image data (for example
+ * a jpg file)
+ * @image_data_len: length of above chunk of memory
+ * @position: position where to insert the new photo (-1 to append at
+ * the end)
+ * @rotation: angle by which the image should be rotated
+ * counterclockwise. Valid values are 0, 90, 180 and 270.
+ * @error: return location for a #GError or NULL
+ * 
+ * Add a photo to the PhotoDB. The photo is automatically added to the
+ * first Photoalbum, which by default contains a list of all photos in
+ * the database. If no Photoalbums exist one is created automatically.
+ *
+ * For the rotation angle you can also use the gdk constants
+ * GDK_PIXBUF_ROTATE_NONE, ..._COUNTERCLOCKWISE, ..._UPSIDEDOWN AND
+ * ..._CLOCKWISE.
+ *
+ * Return value: a pointer to the added photo.
+ **/
+Itdb_Artwork *itdb_photodb_add_photo_from_data (Itdb_PhotoDB *db,
+						const guchar *image_data,
+						gsize image_data_len,
+						gint position,
+						gint rotation,
+						GError **error)
 {
     g_return_val_if_fail (db, FALSE);
     g_return_val_if_fail (image_data, FALSE);
 
-    return itdb_photodb_add_photo_internal (db, albumname, NULL,
-					    image_data, image_data_len);
+    return itdb_photodb_add_photo_internal (db, NULL, image_data, image_data_len,
+					    position, rotation, error);
 }
 
 
-gboolean itdb_photodb_remove_photo (Itdb_PhotoDB *db,
-		const gint photo_id )
+/**
+ * itdb_photodb_remove_photo:
+ * @db: the #Itdb_PhotoDB to remove the photo from
+ * @album: the album to remove the photo from. If album is NULL, then
+ * it will first be removed from all photoalbums and then from the
+ * photo database as well.
+ * @photo: #Itdb_Artwork (photo) to remove.
+ *
+ * Remove photo. If @album is not the first photoalbum, the photo will
+ * be removed from that album only. If @album is NULL or the first
+ * photoalbum (Photo Library), the photo will be removed from all
+ * albums and the #Itdb_PhotoDB.
+ *
+ * @photo will be freed and can no longer be used if removed from the
+ * first photoalbum.
+ */
+void itdb_photodb_remove_photo (Itdb_PhotoDB *db,
+				Itdb_PhotoAlbum *album,
+				Itdb_Artwork *photo)
 {
-	gboolean result = TRUE;
-	GList *it;
+    GList *it;
 
-	g_return_val_if_fail (db, FALSE);
+    g_return_if_fail (db);
 
-	/* Remove the photo from the image list */
-	for (it = db->photos; it != NULL; it = it->next) {
-		Itdb_Artwork *artwork;
+    /* If album==NULL, or album is the master album, remove from all
+     * albums */
+    if ((album == NULL) || (album == g_list_nth_data (db->photoalbums, 0)))
+    {
+        /* Remove the photo from any albums containing it */
+        for (it = db->photoalbums; it != NULL; it = it->next)
+	{
+            Itdb_PhotoAlbum *_album = it->data;
+	    while (g_list_find (_album->members, photo))
+	    {
+		_album->members = g_list_remove (_album->members, photo);
+	    }
+        }
+        /* Remove the photo from the image list */
+	db->photos = g_list_remove (db->photos, photo);
+	/* Free the photo */
+	itdb_artwork_free (photo);
+    }
+    /* If album is specified, only remove it from that album */
+    else
+    {
+        album->members = g_list_remove (album->members, photo);
+    }
+}
 
-		artwork = (Itdb_Artwork *)it->data;
-		if( artwork->id == photo_id ) {
-			db->photos = g_list_remove (db->photos, artwork);
-			break;
-		}
-	}
+/**
+ * itdb_photodb_photoalbum_by_name:
+ * @db: the #Itdb_PhotoDB to retrieve the album from
+ * @albumname: the name of the photoalbum to get or NULL for the
+ * master photoalbum.
+ *
+ * Find the first photoalbum with a given name or the Photo Library
+ * Album if called with no name.
+ *
+ * Return value: a pointer to the first photoalbum named @albumname,
+ * else NULL
+ */
+Itdb_PhotoAlbum *itdb_photodb_photoalbum_by_name (Itdb_PhotoDB *db, const gchar *albumname)
+{
+	GList *it;
 
-	/* Remove the photo from any albums containing it */
+	if( albumname == NULL )
+	    return g_list_nth_data (db->photoalbums, 0);
+
 	for (it = db->photoalbums; it != NULL; it = it->next) {
 		Itdb_PhotoAlbum *album;
 
 		album = (Itdb_PhotoAlbum *)it->data;
-		album->members = g_list_remove (album->members, GINT_TO_POINTER(photo_id));
-		album->num_images = g_list_length( album->members );
+		if( strcmp(album->name, albumname) == 0 )
+			return album;
 	}
-	return result;
+	return NULL;
 }
 
-Itdb_PhotoAlbum *itdb_photodb_photoalbum_new (Itdb_PhotoDB *db,
-		const gchar *album_name)
+/**
+ * itdb_photodb_photoalbum_remove:
+ * @db: the #Itdb_PhotoDB to apply changes to
+ * @album: the album to be removed from the database
+ * @remove_pics: TRUE to remove pics in that album permanently from
+ * the database.
+ *
+ * Remove @album from the Photo Database. If remove_pics is TRUE,
+ * remove all photos contained in @album from the Photo Database.
+ *
+ * Memory used by the removed album will be freed and the album cannot
+ * be accessed any more.
+ **/
+void itdb_photodb_photoalbum_remove (Itdb_PhotoDB *db,
+				     Itdb_PhotoAlbum *album,
+				     gboolean remove_pics)
 {
-	Itdb_PhotoAlbum *photoalbum;
+        GList *it;
 
-	g_return_val_if_fail (db, FALSE);
-	g_return_val_if_fail (album_name, FALSE);
+        g_return_if_fail (db);
+        g_return_if_fail (album);
 
-	photoalbum = g_new0 (Itdb_PhotoAlbum, 1);
-	photoalbum->album_id = itdb_get_free_photoalbum_id( db );
-	photoalbum->prev_album_id = photoalbum->album_id - 1;
-	photoalbum->name = g_strdup( album_name );
-	db->photoalbums = g_list_append (db->photoalbums, photoalbum);
+        /* if remove_pics, iterate over the photos within that album
+	 * and remove them from the database */
+        if (remove_pics)
+	{
+            for (it = album->members; it != NULL; it = it->next )
+	    {
+                Itdb_Artwork *photo = it->data;
+                itdb_photodb_remove_photo (db, NULL, photo);
+            }
+        }
+        db->photoalbums = g_list_remove (db->photoalbums, album);
+	itdb_photodb_photoalbum_free (album);
+}
 
-	return photoalbum;
+/**
+ * itdb_photodb_photoalbum_add_photo:
+ * @db: the #Itdb_PhotoDB to act on
+ * @album: the #Itdb_PhotoAlbum to add the photo to
+ * @photo: a pointer to the photo (#Itdb_Artwork) to add to the album
+ * @position: position where to insert the new photo (-1 to append at
+ * the end)
+ *
+ * Adds a photo already in the library to the specified album
+ * @album. Photos are automatically added to the first album (Photo
+ * Library) when calling itdb_photodb_add_photo() or
+ * itdb_photodb_add_photo_from_data(), so you don't have to use this
+ * function to add them there.
+ *
+ */
+
+void itdb_photodb_photoalbum_add_photo (Itdb_PhotoDB *db,
+					Itdb_PhotoAlbum *album,
+					Itdb_Artwork *photo,
+					gint position)
+{
+    g_return_if_fail (db);
+    g_return_if_fail (album);
+    g_return_if_fail (photo);
+
+    album->members = g_list_insert (album->members, photo, position);
 }
 
+
 /**
+ * itdb_photodb_photoalbum_create:
+ * @db: The database to create a new album in
+ * @albumname: the name of the new album
+ * @pos: position where to insert the newly created album (-1 for
+ * append to end).
+ *
+ * Create and add a new photoalbum.
+ *
+ * Return value: the album which was created and added.
+ */
+Itdb_PhotoAlbum *itdb_photodb_photoalbum_create (Itdb_PhotoDB *db,
+						 const gchar *albumname,
+						 gint pos)
+{
+	Itdb_PhotoAlbum *album;
+
+	g_return_val_if_fail (db, NULL);
+	g_return_val_if_fail (albumname, NULL);
+
+	album = g_new0 (Itdb_PhotoAlbum, 1);
+	album->album_type = 2; /* normal album, set to 1 for Photo Library */
+	album->name = g_strdup(albumname);
+	db->photoalbums = g_list_insert (db->photoalbums, album, pos);
+
+	return album;
+}
+
+/**
  * itdb_photodb_write:
  * @photodb: the #Itdb_PhotoDB to write to disk
  * @error: return location for a #GError or NULL
@@ -398,7 +710,9 @@
  **/
 gboolean itdb_photodb_write (Itdb_PhotoDB *photodb, GError **error)
 {
-    gboolean result;
+    gint result;
+    GList *gl;
+    gint32 id, prev_id;
 
     g_return_val_if_fail (photodb, FALSE);
     g_return_val_if_fail (photodb->device, FALSE);
@@ -406,12 +720,41 @@
     if (photodb->device->byte_order == 0)
 	itdb_device_autodetect_endianess (photodb->device);
 
+    /* set up photo_ids */
+    id = 0x40;
+    for (gl=photodb->photos; gl; gl=gl->next)
+    {
+	Itdb_Artwork *photo = gl->data;
+	g_return_val_if_fail (photo, FALSE);
+	photo->id = id;
+	++id;
+    }
+    /* set up album_ids -- this is how my iPod Nano does it... */
+    prev_id = 0x64;
+    id = prev_id + g_list_length (photodb->photos);
+    for (gl=photodb->photoalbums; gl; gl=gl->next)
+    {
+	Itdb_PhotoAlbum *album = gl->data;
+	g_return_val_if_fail (album, FALSE);
+	album->album_id = id;
+	album->prev_album_id = prev_id;
+	++id;
+	++prev_id;
+	if (gl != photodb->photoalbums)
+	{   /* except for the first album */
+	    prev_id += g_list_length (album->members);
+	}
+    }
+
     result = ipod_write_photo_db (photodb);
 
     /* Write SysInfo file if it has changed */
-    if (!(*error) && photodb->device->sysinfo_changed)
+    if (!error || !(*error))
     {
-	itdb_device_write_sysinfo (photodb->device, error);
+	if (photodb->device->sysinfo_changed)
+	{
+	    itdb_device_write_sysinfo (photodb->device, error);
+	}
     }
 
     if (result == -1)

Modified: libgpod/branches/upstream/current/src/itdb_playlist.c
===================================================================
--- libgpod/branches/upstream/current/src/itdb_playlist.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/itdb_playlist.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-09-23 21:25:39 jcs>
+/* Time-stamp: <2006-10-22 17:42:28 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -24,7 +24,7 @@
 |
 |  This product is not supported/written/published by Apple!
 |
-|  $Id: itdb_playlist.c,v 1.19 2006/09/23 12:28:23 jcsjcs Exp $
+|  $Id: itdb_playlist.c,v 1.20 2006/10/22 08:42:49 jcsjcs Exp $
 */
 
 #include "itdb_private.h"
@@ -1232,8 +1232,9 @@
     }
     if (pl->sortorder == 0)  pl->sortorder = ITDB_PSO_MANUAL;
     if (pl->timestamp == 0)  pl->timestamp = itdb_time_get_mac_time ();
-    if (pos == -1)  itdb->playlists = g_list_append (itdb->playlists, pl);
-    else  itdb->playlists = g_list_insert (itdb->playlists, pl, pos);
+
+    /* pos == -1 appends at the end of the list */
+    itdb->playlists = g_list_insert (itdb->playlists, pl, pos);
 }
 
 
@@ -1335,8 +1336,7 @@
 
     track->itdb = pl->itdb;
 
-    if (pos == -1)  pl->members = g_list_append (pl->members, track);
-    else  pl->members = g_list_insert (pl->members, track, pos);
+    pl->members = g_list_insert (pl->members, track, pos);
 }
 
 

Modified: libgpod/branches/upstream/current/src/itdb_private.h
===================================================================
--- libgpod/branches/upstream/current/src/itdb_private.h	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/itdb_private.h	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-06-01 23:31:27 jcs>
+/* Time-stamp: <2007-01-06 20:46:59 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -24,7 +24,7 @@
 |
 |  This product is not supported/written/published by Apple!
 |
-|  $Id: itdb_private.h,v 1.14 2006/06/01 15:45:28 jcsjcs Exp $
+|  $Id: itdb_private.h,v 1.16 2007/01/08 10:23:15 jcsjcs Exp $
 */
 
 #ifndef __ITDB_PRIVATE_H__
@@ -34,6 +34,7 @@
 #  include <config.h>
 #endif
 #include "glib-compat.h"
+#include "itdb_device.h"
 #include "itdb.h"
 
 /* always use itdb_playlist_is_mpl() to check for MPL! */
@@ -86,6 +87,8 @@
     guint32 bookmark_time;
     gint32 rating;
     gint32 pc_unk16;     /* unknown field in Play Counts file */
+    guint32 skipcount;
+    guint32 last_skipped;
     gint32 st_unk06;     /* unknown field in iTunesStats file */
     gint32 st_unk09;     /* unknown field in iTunesStats file */
 };
@@ -148,4 +151,5 @@
 G_GNUC_INTERNAL gint itdb_get_free_photo_id ( Itdb_PhotoDB *db );
 G_GNUC_INTERNAL Itdb_iTunesDB *db_get_itunesdb (Itdb_DB *db);
 G_GNUC_INTERNAL Itdb_PhotoDB *db_get_photodb (Itdb_DB *db);
+G_GNUC_INTERNAL gint itdb_thumb_get_byteorder (ItdbThumbFormat format);
 #endif

Modified: libgpod/branches/upstream/current/src/itdb_track.c
===================================================================
--- libgpod/branches/upstream/current/src/itdb_track.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/itdb_track.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-09-18 01:33:31 jcs>
+/* Time-stamp: <2006-11-23 23:32:16 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -24,7 +24,7 @@
 |
 |  This product is not supported/written/published by Apple!
 |
-|  $Id: itdb_track.c,v 1.21 2006/09/17 17:14:21 jcsjcs Exp $
+|  $Id: itdb_track.c,v 1.25 2007/01/13 20:24:50 tmzullinger Exp $
 */
 
 #include <config.h>
@@ -169,17 +169,17 @@
 	 * proven that setting unk208 to non-0 doesn't upset older
 	 * ipod models
 	 */
-	if (tr->unk208 == 0)
+	if (tr->mediatype == 0)
 	{
 	    if (haystack (tr->filetype, m4v_desc))
 	    {
 		/* set type to video (0x00000002) */
-		tr->unk208 = 0x00000002;
+		tr->mediatype = 0x00000002;
 	    }
 	    else
 	    {
 		/* set type to audio */
-		tr->unk208 = 0x00000001;
+		tr->mediatype = 0x00000001;
 	    }
 	}
     }
@@ -234,8 +234,7 @@
 
     itdb_track_set_defaults (track);
 
-    if (pos == -1)  itdb->tracks = g_list_append (itdb->tracks, track);
-    else  itdb->tracks = g_list_insert (itdb->tracks, track, pos);
+    itdb->tracks = g_list_insert (itdb->tracks, track, pos);
 }
 
 /**
@@ -261,6 +260,11 @@
     g_free (track->podcasturl);
     g_free (track->podcastrss);
     g_free (track->subtitle);
+    g_free (track->tvshow);
+    g_free (track->tvepisode);
+    g_free (track->tvnetwork);
+    g_free (track->albumartist);
+    g_free (track->keywords);
     g_free (track->ipod_path);
     g_free (track->chapterdata_raw);
     itdb_artwork_remove_thumbnails (track->artwork);
@@ -345,6 +349,11 @@
     tr_dup->podcasturl = g_strdup (tr->podcasturl);
     tr_dup->podcastrss = g_strdup (tr->podcastrss);
     tr_dup->subtitle = g_strdup (tr->subtitle);
+    tr_dup->tvshow = g_strdup (tr->tvshow);
+    tr_dup->tvepisode = g_strdup (tr->tvepisode);
+    tr_dup->tvnetwork = g_strdup (tr->tvnetwork);
+    tr_dup->albumartist = g_strdup (tr->albumartist);
+    tr_dup->keywords = g_strdup (tr->keywords);
     tr_dup->ipod_path = g_strdup (tr->ipod_path);
 
     /* Copy chapterdata */
@@ -371,7 +380,9 @@
 static gboolean itdb_track_set_thumbnails_internal (Itdb_Track *track,
 						    const gchar *filename,
 						    const guchar *image_data,
-						    gsize image_data_len)
+						    gsize image_data_len,
+						    gint rotation,
+						    GError **error)
 {					     
     gboolean result = FALSE;
 
@@ -383,23 +394,25 @@
     {
 	result = itdb_artwork_add_thumbnail (track->artwork,
 					     ITDB_THUMB_COVER_SMALL,
-					     filename);
+					     filename, rotation, error);
 	if (result == TRUE)
 	    result = itdb_artwork_add_thumbnail (track->artwork,
 						 ITDB_THUMB_COVER_LARGE,
-						 filename);
+						 filename, rotation, error);
     }
     if (image_data)
     {
 	result = itdb_artwork_add_thumbnail_from_data (track->artwork,
 						       ITDB_THUMB_COVER_SMALL,
 						       image_data,
-						       image_data_len);
+						       image_data_len,
+						       rotation, error);
 	if (result == TRUE)
 	    result = itdb_artwork_add_thumbnail_from_data (track->artwork,
 							   ITDB_THUMB_COVER_LARGE,
 							   image_data,
-							   image_data_len);
+							   image_data_len,
+							   rotation, error);
     }
 
     if (result == TRUE)
@@ -444,7 +457,8 @@
     g_return_val_if_fail (track, FALSE);
     g_return_val_if_fail (filename, FALSE);
 
-    return itdb_track_set_thumbnails_internal (track, filename, NULL, 0);
+    return itdb_track_set_thumbnails_internal (track, filename, NULL, 0,
+					       0, NULL);
 }
 
 
@@ -472,7 +486,8 @@
     g_return_val_if_fail (image_data, FALSE);
 
     return itdb_track_set_thumbnails_internal (track, NULL,
-					       image_data, image_data_len);
+					       image_data, image_data_len,
+					       0, NULL);
 }
 
 

Modified: libgpod/branches/upstream/current/src/ithumb-writer.c
===================================================================
--- libgpod/branches/upstream/current/src/ithumb-writer.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/ithumb-writer.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,6 +1,9 @@
-/*
+/*  Time-stamp: <2007-01-09 22:00:03 jcs>
+ *
  *  Copyright (C) 2005 Christophe Fergeau
  *
+ *  URL: http://www.gtkpod.org/libgpod.html
+ *  URL: http://gtkpod.sourceforge.net/
  * 
  *  The code contained in this file is free software; you can redistribute
  *  it and/or modify it under the terms of the GNU Lesser General Public
@@ -20,6 +23,7 @@
  * 
  *  This product is not supported/written/published by Apple!
  *
+ *  $Id: ithumb-writer.c,v 1.26 2007/01/09 13:31:13 jcsjcs Exp $
  */
 
 #include <config.h>
@@ -30,11 +34,11 @@
 
 #include "itdb_private.h"
 #include "itdb_endianness.h"
+#include "pixmaps.h"
 
 #include <errno.h>
 #include <locale.h>
 #include <string.h>
-#include <gdk-pixbuf/gdk-pixbuf.h>
 
 #include <unistd.h>
 #include <sys/types.h>
@@ -42,23 +46,25 @@
 #include <fcntl.h>
 
 
+#define ITHUMB_MAX_SIZE (500L*1000L*1000L)
+/* for testing: */
+/*#define ITHUMB_MAX_SIZE (1L*1000L*1000L)*/
+
 struct _iThumbWriter {
 	off_t cur_offset;
 	FILE *f;
+        gchar *mountpoint;
         gchar *filename;
-	Itdb_ArtworkFormat *img_info;
+        gint current_file_index;
+	const Itdb_ArtworkFormat *img_info;
         DbType db_type;
         guint byte_order;
 };
 typedef struct _iThumbWriter iThumbWriter;
 
-/* The iPod expect square thumbnails with 2 specific side sizes (0x38 and 0x8c
- * respectively for small and fullscreen thumbnails), the 'size' parameter is
- * here to specify which size we are interested in in case the pixbuf is non
- * square
- */
+
 static guint16 *
-pack_RGB_565 (GdkPixbuf *pixbuf, iThumbWriter *writer,
+pack_RGB_565 (GdkPixbuf *pixbuf, const Itdb_ArtworkFormat *img_info,
 	      gint horizontal_padding, gint vertical_padding)
 {
 	guchar *pixels;
@@ -75,24 +81,17 @@
 		      "rowstride", &row_stride, "n-channels", &channels,
 		      "height", &height, "width", &width,
 		      "pixels", &pixels, NULL);
-	g_return_val_if_fail ((width <= writer->img_info->width) && (height <= writer->img_info->height), NULL);
+	g_return_val_if_fail ((width <= img_info->width) && (height <= img_info->height), NULL);
 	/* dst_width and dst_height come from a width/height database 
 	 * hardcoded in libipoddevice code, so dst_width * dst_height * 2 can't
 	 * overflow, even on an iPod containing malicious data
 	 */
-	result = g_malloc0 (writer->img_info->width * writer->img_info->height * 2);
+	result = g_malloc0 (img_info->width * img_info->height * 2);
 
-	/* Swap the byte order on full screen nano photos */
-	byte_order = writer->byte_order;
-	if ( writer->img_info->correlation_id == 1023) {
-		if (byte_order == G_LITTLE_ENDIAN)
-			byte_order = G_BIG_ENDIAN;
-		else
-			byte_order = G_LITTLE_ENDIAN; 
-	}
+	byte_order = itdb_thumb_get_byteorder (img_info->format);
 
 	for (h = 0; h < height; h++) {
-	        gint line = (h+vertical_padding)*writer->img_info->width;
+	        gint line = (h+vertical_padding)*img_info->width;
 		for (w = 0; w < width; w++) {
 			gint r;
 			gint g;
@@ -116,6 +115,112 @@
 }
 
 
+/* pack_UYVY() is adapted from imgconvert.c from the GPixPod project
+ * (www.gpixpod.org) */
+static guchar *
+pack_UYVY (GdkPixbuf *orig_pixbuf, const Itdb_ArtworkFormat *img_info,
+	   gint horizontal_padding, gint vertical_padding)
+{
+    GdkPixbuf *pixbuf;
+    guchar *pixels, *yuvdata;
+    gint width;
+    gint height;
+    gint orig_height, orig_width;
+    gint x = 0;
+    gint z = 0;
+    gint z2 = 0;
+    gint h = 0;
+    gint r0, g0, b0, r1, g1, b1, r2, g2, b2, r3, g3, b3;
+    gint rowstride;
+    gint yuvsize, halfyuv;
+    gint alphabit, rgbpx;
+    gint exc;
+
+    g_return_val_if_fail (img_info, NULL);
+
+    width = img_info->width;
+    height = img_info->height;
+
+    g_object_get (G_OBJECT (orig_pixbuf), 
+		  "height", &orig_height, "width", &orig_width, NULL);
+
+    /* copy into new pixmap with padding applied */
+    pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,
+			     gdk_pixbuf_get_has_alpha (orig_pixbuf),
+			     8,
+			     width, height);
+    gdk_pixbuf_copy_area (orig_pixbuf, 0, 0, orig_width, orig_height,
+			  pixbuf, horizontal_padding, vertical_padding);
+
+    g_object_get (G_OBJECT (pixbuf), 
+		  "rowstride", &rowstride,
+		  "pixels", &pixels, NULL);
+
+    yuvsize = width*2*height;
+    yuvdata = g_malloc (yuvsize);
+    halfyuv = yuvsize/2;
+    if (gdk_pixbuf_get_has_alpha(pixbuf))
+    {
+	alphabit = 1;
+	rgbpx = 4;
+    }
+    else
+    {
+	alphabit = 0;
+	rgbpx = 3;
+    }
+    exc = rowstride - width*rgbpx;
+
+    while(h < height)
+    {
+	gint w = 0;
+	if((h % 2) == 0)
+	{
+	    while(w < width)
+	    {
+		r0 = pixels[x];
+		g0 = pixels[x+1];
+		b0 = pixels[x+2];
+		r1 = pixels[x+3+alphabit];
+		g1 = pixels[x+4+alphabit];
+		b1 = pixels[x+5+alphabit];
+		yuvdata[z] = ((r0*-38 + g0*-74 + b0*112 + 128) >> 8) + 128;/*U0*/
+		yuvdata[z+1] = ((r0*66 + g0*129 + b0*25 + 128) >> 8) + 16;/*Y0*/
+		yuvdata[z+2] = ((r0*112 + g0*-94 + b0*-18 + 128) >> 8) + 128;/*V0*/
+		yuvdata[z+3] = ((r1*66 + g1*129 + b1*25 + 128) >> 8) + 16;/*Y1*/
+		w += 2;
+		z += 4;
+		x += rgbpx*2;
+	    }
+	}
+	else
+	{
+	    while(w < width)
+	    {
+		r2 = pixels[x];
+		g2 = pixels[x+1];
+		b2 = pixels[x+2];
+		r3 = pixels[x+3+alphabit];
+		g3 = pixels[x+4+alphabit];
+		b3 = pixels[x+5+alphabit];
+		yuvdata[halfyuv+z2] = ((r2*-38 + g2*-74 + b2*112 + 128) >> 8) + 128;/*U1*/
+		yuvdata[halfyuv+z2+1] = ((r2*66 + g2*129 + b2*25 + 128) >> 8) + 16;/*Y2*/
+		yuvdata[halfyuv+z2+2] = ((r2*112 + g2*-94 + b2*-18 + 128) >> 8) + 128;/*V1*/
+		yuvdata[halfyuv+z2+3] = ((r3*66 + g3*129 + b3*25 + 128) >> 8) + 16;/*Y3*/
+		w += 2;
+		z2 += 4;
+		x += rgbpx*2;
+	    }
+	}
+	x += exc;
+	h++;
+    }
+    g_object_unref (pixbuf);
+    return yuvdata;
+}
+
+
+
 static char *
 ipod_image_get_ithmb_filename (const char *mount_point, gint correlation_id, gint index, DbType db_type ) 
 {
@@ -172,7 +277,7 @@
 	}
 	}
 
-	buf = g_strdup_printf ("F%04u_%d.ithmb", correlation_id, index);
+	buf = g_strdup_printf ("F%d_%d.ithmb", correlation_id, index);
 
 	filename = itdb_get_path (artwork_dir, buf);
 
@@ -195,34 +300,55 @@
 			       Itdb_Thumb *thumb)
 {
     GdkPixbuf *pixbuf = NULL;
-    guint16 *pixels;
-    gint width, height;
+    void *pixels = NULL;
+    gint width, height; /* must be gint -- see comment below */
 
     g_return_val_if_fail (writer, FALSE);
+    g_return_val_if_fail (writer->img_info, FALSE);
     g_return_val_if_fail (thumb, FALSE);
 
+    /* Make sure @rotation is valid (0, 90, 180, 270) */
+    thumb->rotation = thumb->rotation % 360;
+    thumb->rotation /= 90;
+    thumb->rotation *= 90;
+
+    /* If we rotate by 90 or 270 degrees interchange the width and
+     * height */
+
+    if ((thumb->rotation == 0) || (thumb->rotation == 180))
+    {
+	width = writer->img_info->width;
+	height = writer->img_info->height;
+    }
+    else
+    {
+	width = writer->img_info->height;
+	height = writer->img_info->width;
+    }
+
     if (thumb->filename)
     {   /* read image from filename */
 	pixbuf = gdk_pixbuf_new_from_file_at_size (thumb->filename, 
-						   writer->img_info->width, 
-						   writer->img_info->height,
+						   width, height,
 						   NULL);
 
+	g_free (thumb->filename);
+	thumb->filename = NULL;
     }
     else if (thumb->image_data)
     {   /* image data is stored in image_data and image_data_len */
 	GdkPixbufLoader *loader = gdk_pixbuf_loader_new ();
 	g_return_val_if_fail (loader, FALSE);
 	gdk_pixbuf_loader_set_size (loader,
-				    writer->img_info->width, 
-				    writer->img_info->height);
+				    width, height);
 	gdk_pixbuf_loader_write (loader,
 				 thumb->image_data,
 				 thumb->image_data_len,
 				 NULL);
 	gdk_pixbuf_loader_close (loader, NULL);
 	pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
-	g_object_ref (pixbuf);
+	if (pixbuf)
+	    g_object_ref (pixbuf);
 	g_object_unref (loader);
 
 	g_free (thumb->image_data);
@@ -232,9 +358,42 @@
 
     if (pixbuf == NULL)
     {
-	return FALSE;
+	/* This is quite bad... if we just return FALSE the ArtworkDB
+	   gets messed up. */
+	pixbuf = gdk_pixbuf_from_pixdata (&questionmark_pixdata, FALSE, NULL);
+
+	if (pixbuf)
+	{
+	    GdkPixbuf *pixbuf2;
+	    pixbuf2 = gdk_pixbuf_scale_simple (pixbuf,
+					       writer->img_info->width,
+					       writer->img_info->height,
+					       GDK_INTERP_BILINEAR);
+	    g_object_unref (pixbuf);
+	    pixbuf = pixbuf2;
+	}
+	else
+	{
+	    /* Somethin went wrong. let's insert a red thumbnail */
+	    pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8,
+				     writer->img_info->width,
+				     writer->img_info->height);
+	    gdk_pixbuf_fill (pixbuf, 0xff000000);
+	}
+	/* avoid rotation */
+	thumb->rotation = 0;
     }
 
+    /* Rotate if necessary */
+    if (thumb->rotation != 0)
+    {
+	GdkPixbuf *new_pixbuf = gdk_pixbuf_rotate_simple (pixbuf, thumb->rotation);
+	g_object_unref (pixbuf);
+	pixbuf = new_pixbuf;
+	/* Clean up */
+	thumb->rotation = 0;
+    }
+
     /* !! cannot write directly to &thumb->width/height because
        g_object_get() returns a gint, but thumb->width/height are
        gint16 !! */
@@ -243,23 +402,22 @@
 		  "height", &height,
 		  NULL);
 
-    g_free (thumb->filename);
-    thumb->filename = NULL;
-
-    /* FIXME: under certain conditions (probably related to
-     * writer->offset getting too big), this should be :F%04u_2.ithmb
-     * and so on
-     */
-    if( thumb->type == ITDB_THUMB_PHOTO_LARGE ||
-	thumb->type == ITDB_THUMB_PHOTO_SMALL ||
-	thumb->type == ITDB_THUMB_PHOTO_FULL_SCREEN )
+    switch (thumb->type)
     {
-	thumb->filename = g_strdup_printf (":Thumbs:F%04u_1.ithmb", 
-					   writer->img_info->correlation_id);
-	
-    } else {
-	thumb->filename = g_strdup_printf (":F%04u_1.ithmb", 
-					   writer->img_info->correlation_id);
+    case ITDB_THUMB_PHOTO_LARGE:
+    case ITDB_THUMB_PHOTO_SMALL:
+    case ITDB_THUMB_PHOTO_FULL_SCREEN:
+    case ITDB_THUMB_PHOTO_TV_SCREEN:
+	thumb->filename = g_strdup_printf (":Thumbs:F%d_%d.ithmb", 
+					   writer->img_info->correlation_id,
+					   writer->current_file_index);
+	break;
+    case ITDB_THUMB_COVER_LARGE:
+    case ITDB_THUMB_COVER_SMALL:
+	thumb->filename = g_strdup_printf (":F%d_%d.ithmb", 
+					   writer->img_info->correlation_id,
+					   writer->current_file_index);
+	break;
     }
 
     switch (writer->db_type)
@@ -287,9 +445,27 @@
     thumb->offset = writer->cur_offset;
     thumb->size = writer->img_info->width * writer->img_info->height * 2;
 
-    pixels = pack_RGB_565 (pixbuf, writer,
-			   thumb->horizontal_padding,
-			   thumb->vertical_padding);
+    switch (writer->img_info->format)
+    {
+    case THUMB_FORMAT_RGB565_LE_90:
+    case THUMB_FORMAT_RGB565_BE_90:
+	/* FIXME: actually the previous two might require
+	   different treatment (used on iPod Photo for the full
+	   screen photo thumbnail) */
+    case THUMB_FORMAT_RGB565_LE:
+    case THUMB_FORMAT_RGB565_BE:
+	pixels = pack_RGB_565 (pixbuf, writer->img_info,
+			       thumb->horizontal_padding,
+			       thumb->vertical_padding);
+	break;
+    case THUMB_FORMAT_UYVY:
+	pixels = pack_UYVY (pixbuf, writer->img_info,
+			    thumb->horizontal_padding,
+			    thumb->vertical_padding);
+	break;
+    }
+
+
     g_object_unref (G_OBJECT (pixbuf));
 
     if (pixels == NULL)
@@ -307,6 +483,47 @@
     return TRUE;
 }
 
+static gboolean
+ithumb_writer_update (iThumbWriter *writer)
+{
+    while ((writer->f == NULL) || (writer->cur_offset >= ITHUMB_MAX_SIZE))
+    {
+	if (writer->f)
+	{
+	    fclose (writer->f);
+	    writer->f = NULL;
+	}
+	g_free (writer->filename);
+	writer->filename = NULL;
+
+	/* increment index for filename */
+	++writer->current_file_index;
+
+	writer->filename =
+	    ipod_image_get_ithmb_filename (writer->mountpoint, 
+					   writer->img_info->correlation_id,
+					   writer->current_file_index, 
+					   writer->db_type);
+	if (writer->filename == NULL)
+	{
+	    return FALSE;
+	}
+	writer->f = fopen (writer->filename, "ab");
+	if (writer->f == NULL)
+	{
+	    g_print ("Error opening %s: %s\n", writer->filename, strerror (errno));
+	    g_free (writer->filename);
+	    writer->filename = NULL;
+	    return FALSE;
+	}
+	writer->cur_offset = ftell (writer->f);
+    }
+
+    return TRUE;
+}
+
+
+
 static void
 write_thumbnail (gpointer _writer, gpointer _artwork)
 {
@@ -321,64 +538,57 @@
 	   thumbnail file */
 	if (thumb && (thumb->size == 0))
 	{
-	    ithumb_writer_write_thumbnail (writer, thumb);
+	    /* check if new thumbnail file has to be started */
+	    if (ithumb_writer_update (writer))
+		ithumb_writer_write_thumbnail (writer, thumb);
 	}
 }
 
+
+static void
+ithumb_writer_free (iThumbWriter *writer)
+{
+	g_return_if_fail (writer != NULL);
+	if (writer->f)
+	{
+	    fclose (writer->f);
+	    if (writer->filename && (writer->cur_offset == 0))
+	    {   /* Remove empty file */
+		unlink (writer->filename);
+	    }
+	}
+	g_free (writer->filename);
+	g_free (writer->mountpoint);
+	g_free (writer);
+}
+
+
 static iThumbWriter *
 ithumb_writer_new (const char *mount_point,
 		   const Itdb_ArtworkFormat *info,
 		   DbType db_type,
 		   guint byte_order)
 {
-	char *filename;
 	iThumbWriter *writer;
 
 	writer = g_new0 (iThumbWriter, 1);
 
-	writer->img_info = g_memdup (info, sizeof (Itdb_ArtworkFormat));
+	writer->img_info = info;
 
 	writer->byte_order = byte_order;
 	writer->db_type = db_type;
+	writer->mountpoint = g_strdup (mount_point);
+	writer->current_file_index = 0;
 
-	filename = ipod_image_get_ithmb_filename (mount_point, 
-						  info->correlation_id,
-						  1, 
-						  db_type);
-	if (filename == NULL) {
-		g_free (writer->img_info);
-		g_free (writer);
-		return NULL;
+	if (!ithumb_writer_update (writer))
+	{
+	    ithumb_writer_free (writer);
+	    return NULL;
 	}
-	writer->f = fopen (filename, "ab");
-	if (writer->f == NULL) {
-		g_print ("Error opening %s: %s\n", filename, strerror (errno));
-		g_free (filename);
-		g_free (writer->img_info);
-		g_free (writer);
-		return NULL;
-	}
-	writer->cur_offset = ftell (writer->f);
-	writer->filename=filename;
-	
+
 	return writer;
 }
 
-static void
-ithumb_writer_free (iThumbWriter *writer)
-{
-	g_return_if_fail (writer != NULL);
-	fclose (writer->f);
-	if (writer->cur_offset == 0)
-	{   /* Remove empty file */
-	    unlink (writer->filename);
-	}
-	g_free (writer->img_info);
-	g_free (writer->filename);
-	g_free (writer);
-}
-
-
 gint offset_sort (gconstpointer a, gconstpointer b);
 gint offset_sort (gconstpointer a, gconstpointer b)
 {
@@ -609,7 +819,7 @@
 					  g_free, NULL);
 
     /* Create a hash with all filenames used for thumbnails.
-       This will usually be a number of "F%04d_%d.ithmb" files. A
+       This will usually be a number of "F%d_%d.ithmb" files. A
        GList is kept with pointers to all images in a given file which
        allows to adjust the offset pointers */
 	switch (db->db_type) {
@@ -665,7 +875,7 @@
     /* Check for files present on the iPod but no longer referenced by
        thumbs */
 
-    for (i=0; i<10; ++i)
+    for (i=0; i<50; ++i)
     {
 	filename = ipod_image_get_ithmb_filename (mountpoint,
 						  info->correlation_id,
@@ -682,6 +892,15 @@
 	g_free (filename);
     }
 
+    /* I'm using the _foreach_remove variant here because the
+       thumbnail GList may get changed while calling
+       ithumb_rearrange_thumbnail_file but cannot be written back into
+       the hash table. Using the _foreach_remove variant here will
+       ensure that it will not be possible to access the invalid
+       thumbnail GList. The only proper operation after the
+       _foreach_remove is a call to g_hash_table_destroy().
+       For the same reasons the thumb GList gets free'd in
+       ithumb_rearrange_thumbnail_file() */
     g_hash_table_foreach_remove (filenamehash,
 				 ithumb_rearrange_thumbnail_file, &result);
     g_hash_table_destroy (filenamehash);
@@ -725,8 +944,8 @@
 		case ITDB_THUMB_PHOTO_SMALL:
 		case ITDB_THUMB_PHOTO_LARGE:
 		case ITDB_THUMB_PHOTO_FULL_SCREEN:
-		    ithmb_rearrange_existing_thumbnails (db,
-							     format );
+		case ITDB_THUMB_PHOTO_TV_SCREEN:
+		        ithmb_rearrange_existing_thumbnails (db, format );
 			writer = ithumb_writer_new (mount_point, 
 						    format,
 						    db->db_type, 
@@ -735,8 +954,6 @@
 				writers = g_list_prepend (writers, writer);
 			}
 			break;
-		default:
-			break;
 		}
 		format++;
 	}

Added: libgpod/branches/upstream/current/src/pixmaps.c
===================================================================
--- libgpod/branches/upstream/current/src/pixmaps.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/pixmaps.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,4098 @@
+/* Time-stamp: <2007-01-09 22:04:32 jcs>
+|
+|  Copyright (C) 2002-2006 Jorg Schuler <jcsjcs at users sourceforge net>
+|  Part of the gtkpod project.
+| 
+|  URL: http://www.gtkpod.org/
+|  URL: http://gtkpod.sourceforge.net/
+|
+|  Most of the code in this file has been ported from the perl
+|  script "mktunes.pl" (part of the gnupod-tools collection) written
+|  by Adrian Ulrich <pab at blinkenlights.ch>.
+|
+|  gnupod-tools: http://www.blinkenlights.ch/cgi-bin/fm.pl?get=ipod
+|
+|  The code contained in this file is free software; you can redistribute
+|  it and/or modify it under the terms of the GNU Lesser General Public
+|  License as published by the Free Software Foundation; either version
+|  2.1 of the License, or (at your option) any later version.
+|
+|  This file is distributed in the hope that it will be useful,
+|  but WITHOUT ANY WARRANTY; without even the implied warranty of
+|  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+|  Lesser General Public License for more details.
+|
+|  You should have received a copy of the GNU Lesser General Public
+|  License along with this code; if not, write to the Free Software
+|  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+|
+|  iTunes and iPod are trademarks of Apple
+|
+|  This product is not supported/written/published by Apple!
+|
+|  $Id: pixmaps.c,v 1.1 2007/01/09 13:31:13 jcsjcs Exp $
+*/
+
+#include "pixmaps.h"
+
+#ifdef HAVE_GDKPIXBUF
+
+
+/* Thanks to P.G. Richardson for the image */
+
+/* GdkPixbuf RGB C-Source image dump 1-byte-run-length-encoded */
+G_GNUC_INTERNAL const GdkPixdata questionmark_pixdata = {
+  0x47646b50, /* Pixbuf magic: 'GdkP' */
+  24 + 153345, /* header length + pixel_data length */
+  0x2010001, /* pixdata_type */
+  720, /* rowstride */
+  240, /* width */
+  241, /* height */
+  /* pixel_data: */
+  (guchar *)"\33JFGQMNRNOIEFFBCOKLYUV\\XYb^__[\\[WXXTUWSTZVW]YZ`\\]^Z[ZVWOKLTPQNJ"
+  "KLHIXTUFBCC\77 at B>\77a]^\202[WX\7YUVnjkZVWxtugcdXTUSOP\203TPQ\1UQR\220"
+  "SOP\3QMNRNOSOP\202TPQ\23SOPRNOQMNNIMVQUKFJYTXWRVQLPa\\`GBFVQUPKOOKLU"
+  "QRVRSPLMNJKRNO\204SON\204RNO\202SOP\206SNR\211SOP\3VRSWSTTPQ\202OKL\6"
+  "SOPVTWMLRBBJHHP\24\24\34\202\40!&5\20\17\25XW]JINLKPMKNVTW[Y\\LJMGCD"
+  "WSTUQRIEFJFG[WXeabd`ahderno_[\\YUVXTU]YZ`\\]\\XYXTUWSTJFGQMNRNOIEFFB"
+  "COKLYUV\\XYb^__[\\[WXXTUWSTZVW]YZ`\\]^Z[ZVWOKLTPQNJKLHIXTUFBCC\77 at B>"
+  "\77a]^\202[WX\7YUVnjkZVWxtugcdXTUSOP\203TPQ\1UQR\220SOP\3QMNRNOSOP\202"
+  "TPQ\33SOPRNOQMNMIJUQRJFGYUVVRSPLM`\\]FBCTPQQMNRNOVRSUQRHDE401!!#'+.$"
+  ",/\36&)\33#&.25GKNRSULMO\202QOP\202SOP\202TNN\202VMN\1LHI\202RNO\5LH"
+  "IKGHQMNVRSUQR\202XTU\1WST\202VRS\203UQR\24c_`b^_RNOOKLIEFNJK[WXD at AEA"
+  "BPLMhdeVRSZVWXTUd`aPLMuqrfbcWSTSOP\203TPQ\1UQR\220SOP\2TPQSOP\204RNO"
+  "\22SOPTPQ]X\\^Y]MHLSNROJNKFJ^Y]OJNUPTPKOPLMUQRVRSQMNOKLSOP\203SON\1R"
+  "NM\204RNO\202SOP\206SNR\210SOP!OKLPLMRNOUQRWSTXTUWSTTRUZY_99Aaai\33\33"
+  "#\23\24\31\15\16\23fekMLQQPUKJOA\77BGEHYWZWUXOKLSOPMIJHDEPLMc_`njkjf"
+  "ggcdjfg_[\\\202ZVW\6`\\]b^_^Z[[WXZVWLHI\202RNO\5LHIKGHQMNVRSUQR\202X"
+  "TU\1WST\202VRS\203UQR\24c_`b^_RNOOKLIEFNJK[WXD at AEABPLMhdeVRSZVWXTUd`"
+  "aPLMuqrfbcWSTSOP\203TPQ\1UQR\220SOP\2TPQSOP\204RNO\32SOPTPQ]YZ^Z[LHI"
+  "SOPOKLKGH^Z[OKLYUVPLMKGHQMNYUVTPQA=>-+.\32\36!\33#&\37$(%*.7;>KORTUW"
+  "PPR\202QOP\202SOP\202TNN\202VMN\14IEFGCDB>\77>:;B>\77JFGOKLMIJOKLQMN"
+  "VRSYUV\202[WX\27YUVXTUVRSa]^]YZ[WXKGHGCDUQRC\77@\3\0\0D at A\200|}|xy\214"
+  "\210\211\205\201\202\204\200\201rnoplmc_`VRSSOPTPQ\202SOP\1UQR\220SO"
+  "P\3UQRTPQRNO\202QMN\14RNOTPQUQRKFJSNRMHLXSWWSTOKLUQRKGHTPQ\202QMN\202"
+  "TPQ\202QMN\1UQR\202SON\202RNM\204RNO\202SOP\206SNR\211SOP\20QMNPLMRN"
+  "OUQRRNOIEF\77=@!\40%9:\77\13\14\21\22\23\30\26\25\33~}\203lkpWV[86;\202"
+  "ECF\3DBEPNORPQ\202LHI\11D at AEABNJK_[\\ieffbc_[\\ZVWXTU\202TPQ\21YUV[W"
+  "XWSTTPQUQRIEFGCDB>\77>:;B>\77JFGOKLMIJOKLQMNVRSYUV\202[WX\27YUVXTUVR"
+  "Sa]^]YZ[WXKGHGCDUQRC\77@\3\0\0D at A\200|}|xy\214\210\211\205\201\202\204"
+  "\200\201rnoplmc_`VRSSOPTPQ\202SOP\1UQR\220SOP\3UQRTPQRNO\202QMN\6RNO"
+  "TPQUQRLHISOPNJK\202XTU\4OKLUQRKGHSOP\202QMN\15RNOTPQSOPNJKGEHNOSKPTK"
+  "NSLOTPTWUVZTTVOOQ\202QOP\202SOP\202TNN\202VMN\2FBC>:;\202512\15\77;<"
+  "MIJVRSWSTXTUYUV[WX\\XY[WXYUVVRSTPQPLM\202NJK\4a]^XTUC\77 at B>\77\202/+"
+  ",\12uqr\226\222\223iefa]^TPQ\\XY^Z[jfg_[\\UQR\202TPQ\202SOP\1UQR\230"
+  "SOP\10]X\\^Y]PKOIDHMIJOKLVRS[WX\203RNO\5SOPRNOQMNSOPVRS\204SON\202SO"
+  "P\204TPQ\206TOS\203UQR\205TPQ\2VRSTPQ\203RNO\36NJKGCD\77=@;:\77OPU\16"
+  "\17\24\26\27\34>=CDCHJIN(',*(+GEHHFI201)'(-+,956GCDKGHMIJTPQc_`qmnuq"
+  "rnjkfbcYUVTPQSOP\202UQR\5PLMOKLRNOFBC>:;\202512\15\77;<MIJVRSWSTXTUY"
+  "UV[WX\\XY[WXYUVVRSTPQPLM\202NJK\4a]^XTUC\77 at B>\77\202/+,\12uqr\226\222"
+  "\223iefa]^TPQ\\XY^Z[jfg_[\\UQR\202TPQ\202SOP\1UQR\230SOP\30^Z[_[\\PL"
+  "MJFGNJKOKLVRS\\XYNJKSOPVRSSOPQMNRNOVRSWUXUTYQRWNOTNOSMNRLKPKKMMKN\202"
+  "QOP\202SOP\202TNN\202VMN\1IEF\202D at A\37MIJZVWeabjfglhijfgfbc`\\]YUVR"
+  "NOLHIIEFGCDNJK401)%&FBC\77;<\37\33\34\40\34\35\34\30\31""956hdeuqrIE"
+  "FUQR]YZrnoxtuc_`ZVW\203TPQ\3RNOSOPVRS\220SOP\3PLMRNOTPQ\202UQR\11TPQ"
+  "RNOPLM^Z[iefb^_QMNZVW]YZ\202MIJ\10PLMSOPTPQRNOPLMRNOUQRWST\202UOO\202"
+  "VPP\203VPR\203WQS\206WQU\203XRT\205WQS\2SMOVPR\202XRT\36VPRWQS[UW^Y]"
+  "usx\17\16\24;:\77zy~POTGFKRPU;9<HFIRPS=;<\35\33\34\37\33\34""3/.D@\77"
+  "QMLPLMUQRb^_uqr\206\202\203\212\206\207\177{|sopfbca]^\202^Z[\5ZVWUQ"
+  "RVRSZVWIEF\202D at A\37MIJZVWeabjfglhijfgfbc`\\]YUVRNOLHIIEFGCDNJK401)%"
+  "&FBC\77;<\37\33\34\40\34\35\34\30\31""956hdeuqrIEFUQR]YZrnoxtuc_`ZVW"
+  "\203TPQ\3RNOSOPVRS\220SOP\3PLMRNOTPQ\202UQR\11TPQRNOPLM_[\\jfgb^_RNO"
+  "ZVW]YZ\202NJK\202SOP\3QMNOKLSOP\202XTU\2UPTQOT\202NMR\5QPUSRWSQTVTW]"
+  "X\\\204SOP\204TNN\14NJKRNO]YZnjkwstuqrplmnjkgcdc_`]YZXTU\202UQR\12WS"
+  "TYUV`\\]ZVWXTU\\XY,()\7\3\4""512eab\202\202~\177\2wstVRS\202jfg\5gcd"
+  "QMN\\XYVRSSOP\202TPQ\202RNO\1VRS\220SOP\3QMNRNOTPQ\202UQR\23TPQRNOQM"
+  "NIEF\\XYUQR845NJKeabOKLMIJQMNVRSXTUSOPOKLSOPWSTYUV\202WQQ\202XRR\1XR"
+  "T\203YSU\202ZTV\206ZTX\2[UY[UW\203ZTV\203YSU4XRT[UW\\VXYSUUOQVPR^XZd"
+  "_c\34\32\37a`fpotQPU\77>CBAFWUXMKNXVYSQT\77=>><=fba\201}|yutied]YZhd"
+  "ezvw\215\211\212\224\220\221\213\207\210xtuiefjfgfbcd`ac_`^Z[XTUYUV^"
+  "Z[NJKRNO]YZnjkwstuqrplmnjkgcdc_`]YZXTU\202UQR\12WSTYUV`\\]ZVWXTU\\XY"
+  ",()\7\3\4""512eab\202\202~\177\2wstVRS\202jfg\5gcdQMN\\XYVRSSOP\202T"
+  "PQ\202RNO\1VRS\220SOP\3QMNRNOTPQ\202UQR\14TPQRNOQMNIEF\\XYUQR956NJKf"
+  "bcOKLMIJQMN\202VRS\15RNOOKLSOPVRSUQRQLPOMRRMSQOTRMQOJNNIMPKO\204SOP\204"
+  "TNN\6\\XYa]^mijyuvwstjfg\202b^_\33ZVWYUVXTUYUV\\XYc_`iefmijrno\206\202"
+  "\203\216\212\213~z{A=>*&'qmn\253\247\250\233\227\230sop[WX@<=PLMVRSc"
+  "_`QMNWSTSOPRNO\202TPQ\3QMNRNOVRS\220SOP\3VRSTPQRNO\202PLM\23RNOTPQVR"
+  "SVRQ_[Z\77;:\4\0\0&\"!c_^`\\]jfgSOPZVW\\XYTPQPLMUQRZVW\\XY\202YSU\202"
+  "ZTV\202[UW\202\\VX\206\\VZ\3\\U\\\\VZ^X\\\203]W[\202\\VZ\202[UY._Y]^"
+  "X\\[UYXRVVPTUOSWQUXSW][`a_d`^cPNS649TRW][^jhkRNOXTUYUVmij\225\221\220"
+  "\242\236\235\214\210\207wsrwst\202~\177\223\217\220\234\230\231\222\216"
+  "\217}yzjfgb^_`\\]_[\\a]^c_`^Z[WSTVRS[WX\\XYa]^mijyuvwstjfg\202b^_\33"
+  "ZVWYUVXTUYUV\\XYc_`iefmijrno\206\202\203\216\212\213~z{A=>*&'qmn\253"
+  "\247\250\233\227\230sop[WX@<=PLMVRSc_`QMNWSTSOPRNO\202TPQ\3QMNRNOVRS"
+  "\220SOP\3VRSTPQRNO\202PLM\2RNOTPQ\202VRS\26_[\\>:;\4\0\1&\"#c_``\\]j"
+  "fgNJKYUV^Z[UQRKGHMIJTPQYUVQLPSNRVPTUPTVPTWQUVPR\203TNP\202SOP\204SON"
+  "\202plm\6tpquqrjfgZVWVRS[WX\202WST\20VRSWSTZVW^Z[b^_eabVRS^Z[WSTPLM="
+  "9:D at Aplm{wxfbcKGH\202YUV\5^Z[VRSfbcVRSTPQ\202QMN\5UQRTPQQMNRNOVRS\220"
+  "SOP\3ZVWVRSPLM\202KGH\24PLMVRSZVWJFEhdc]YX'#\"JFE{wvVRSFBCTPQ]YZ_[\\"
+  "VRSQMNVRS\\XY]YZZTV\202[UW\202\\VX\1]WY\202]W[\204^X\\\204^W^\1_X_\202"
+  "_Y]\1^X\\\203]W[\15\\VZ^X\\ZTXXRV[UY`Z^c]aa[_^X\\]X^YW\\SQV^\\a\202F"
+  "DI\14_]`SQTUQRfbclhimijsonplkmihuqp}yz\206\202\203\202\220\214\215\14"
+  "|xyd`a[WX_[\\XTUZVW`\\]d`aa]^YUVWST[WX\202plm\6tpquqrjfgZVWVRS[WX\202"
+  "WST\20VRSWSTZVW^Z[b^_eabVRS^Z[WSTPLM=9:D at Aplm{wxfbcKGH\202YUV\5^Z[VR"
+  "SfbcVRSTPQ\202QMN\5UQRTPQQMNRNOVRS\220SOP\3ZVWVRSPLM\202KGH\33PLMVRS"
+  "ZVWIEFgcd\\XY'#$JFGzvwUQREABUQRYUVWSTPLMOKLTPQWSTTPQTNRVPTTNRPJNQKOT"
+  "NRUOQRLN\202TNP\202SOP\204SON\40rnooklhde]YZRNOMIJNJKQMNWSTTPQZVWYUV"
+  "NJKOKLYUVXTUPLMMIJGCD<89\77;<^Z[wstuqr]YZZVWEABZVWa]^iefPLMRNO\205PL"
+  "M\203QMN0XTURNOPLMRNOQMNMIJOKLUQRPLMRNOUQRWSTUQRRNOOKLNJKXTUeabd`ab^"
+  "_iefc_`PLMGCDWQQf``]WWNHH\206\200\202\204~\200kegUOQhbfkeib\\`VPTGAE"
+  "f`d[UYc]a`Z^_Y]`Z^b\\`a[__Y]_X_`Y`\204aZa\202aZb\2b[cb[b\202aZaNd]dc"
+  "\\c^W^_X_b[b^W^_X_`Y`aZa`Y`^W^]V]_X_b[bjck]X_LGMD\77ELGMYTZZUYSNRlgk"
+  "\200{\177rnoPLMOKJd`_njiqmllhi\207\203\204\212\206\207vrsjfg`\\][WX_"
+  "[\\UQRWSTUQRPLMSOP]YZ`\\][WXrnooklhde]YZRNOMIJNJKQMNWSTTPQZVWYUVNJKO"
+  "KLYUVXTUPLMMIJGCD<89\77;<^Z[wstuqr]YZZVWEABZVWa]^iefPLMRNO\205PLM\203"
+  "QMN\21WSTSOPQMNSOPQMNLHINJKUQRPLMSOPWSTXTUUQRRNOPLMOKLXTU\202eab\40b"
+  "^_hdea]^OKLGCDXTUfbc[WXJFG\202~\177\200|}hdeTPQc_``\\]]YZUQR=9:ZVWVR"
+  "S[WXVPRVMPYPS]TW[RUULOPJLRLNUOQTNPSON\203RNM\2SONTPO\203WST\16TPQRNO"
+  "SOPXTU]YZOKLLHIRNOWSTUQRVRSWSTQMNMIJ\202PLM\20TPQb^_lhihdea]^RNOb^_X"
+  "TU]YZKGHNJKLHIiefXTUVRSSOP\202PLM\4RNOUQRXTUPLM\202QMN\202RNO\2SOPTP"
+  "Q\202UQR\27SOPPLMMIJOKLTPQ\\XYb^_a]^^Z[PLMOKLa]^hdefbckghXRRRLLGAA>8"
+  "8oiktnpysuztv\202[UY\12MGK>8<F\77Fwpw]V]WPWd]db\\`aZab[b\202aZa\2e^f"
+  "jcj\202c\\d\203b[c$c\\dc[fc\\daZb`Y`d]eb[b]V^`Y`d]eaZab[cb[bb[c`Y`^W"
+  "__X_b[cf_gohp_X`LEMD\77ENIO]X^c^da\\`\201|\200tosXSWTPQrno\202~}qml_"
+  "[Znjk\202\204\200\201\12sopjfgb^_WSTVRSTPQVRSSOPOKLQMN\202XTU\1SOP\203"
+  "WST\16TPQRNOSOPXTU]YZOKLLHIRNOWSTUQRVRSWSTQMNMIJ\202PLM\20TPQb^_lhih"
+  "dea]^RNOb^_XTU]YZKGHNJKLHIiefXTUVRSSOP\202PLM\5RNOUQRXTUPLMQMN\203RN"
+  "O\1SOP\202TPQ\12UQRTPQQMNNJKOKLTPQ\\XYc_``\\]]YZ\202PLM\11b^_iefgcdm"
+  "ijSOPNJKFBC\77;<plm\202rno\24plmWSTVRSIEF.*+2./njkRNOC\77@\\SVYPSXOR"
+  "WNQTKNRILWQS`Z\\VPRUOQSON\203RNM\202SON%PLMQMNRNOQMNPLMQMNSOPVRS[WXU"
+  "QRRNOTPQXTUYUVSOPKGHa]^^Z[KGHMIJc_`_[\\OKLTPQeabd`aLHIUQRWSTa]^MIJRN"
+  "OWSTVRSUQRSOPRNO\202SOP\4TPQOKLVRSWST\202RNO\202YUV\37RNOVRSRNONJKKG"
+  "HMIJTPQ^Z[eabZVW;78\21\15\16\4\0\1\30\24\25,()D at Aa]^VPR5/1!\33\35\15"
+  "\7\11\"\34\40$\36\"B<@SMQlel]V]C<C2+2JCK\203|\204\202`Ya\3bXaaW_`V_\203"
+  "aW`\3f\\glbkh^i\202g]h\203f\\gWg\\jg]hh^ii_hmcnlbke[fe[dg]hcYbkalkaj"
+  "j`ki_hg]hg]fi_jj`kaWbUKTLBKOHP\\U]g`glelngntmtc]aTOSeab~z{xtufbcgcd}"
+  "yz\210\204\205{wxgcdc_`_[\\TPQPLMTPQUQRSOPPLMRNOUQRSOPNJKPLMQMNRNOQM"
+  "NPLMQMNSOPVRS[WXUQRRNOTPQXTUYUVSOPKGHa]^^Z[KGHMIJc_`_[\\OKLTPQeabd`a"
+  "LHIUQRWSTa]^MIJRNOWSTVRSUQRSOPRNO\202SOP\2TPQOKL\202WST\202RNO%YUVXT"
+  "UQMNUQRSOPOKLLHIMIJSOP^Z[fbcXTU:67\20\14\15\5\1\2\31\25\26-)*D at A`\\]"
+  "RNO/+,\30\24\25\4\0\1\32\26\27\34\30\31""845HDEc_`RNO:67\34\30\31:67"
+  "\201}~QMNPLMVMPSJM\202PJL\7MGILFHTNP]WYWQQVPPTPO\202RNM\1QML\202RNM\202"
+  "WST+VRSUQRRNOOKLMIJLHI^Z[[WXPLMMIJTPQUQRQMNRNOIEFVRSSOPb^_wstRNO#\37"
+  "\40'#$EAB_[\\\\XYc_`TPQWSTKGHYUVTPQVRSYUV[WXZVWVRSQMNNJKUQR_[\\\\XYO"
+  "KLNJK\202YUV\3NJKPLMQMN\202SOP\2RNOQMN\202RNO\35+'(/+,956RNO`\\]IEF0"
+  ",-1-.\4\0\0\17\11\13@:<YSUmgk`Z^c]aSLS(!(4-5MFNf_g\203|\204\231\222\232"
+  "ZR]`Yae[fcYbbXce[ff\\g\202e[f\4f\\gj_mi_ji^l\203h]k(h]mh]kncqpfqvkyu"
+  "kvncqndopeskalrgupfqodrpfqqftpfqlaoh^iVLWSITWMXbXag`hf_gc\\dc\\cg`gZ"
+  "SZYTZqlp|w{fbca]^|xy\214\210\211\211\205\206plmZVW[WX\\XY\202UQR\2VR"
+  "SUQR\202TPQ\4UQRVRSSOPOKL\202WST)VRSUQRRNOOKLMIJLHI^Z[[WXPLMMIJTPQUQ"
+  "RQMNRNOIEFVRSSOPb^_wstRNO#\37\40'#$EAB_[\\\\XYc_`TPQWSTKGHYUVTPQVRSY"
+  "UV[WXZVWVRSQMNNJKWST_[\\\\XY\202NJK\7ZVWYUVMIJPLMRNOTPQSOP\202QMN\33"
+  "RNOSOP+'(/+,956RNO_[\\GCD,()+'(\3\0\0\11\5\6""623LHIb^_UQRYUVHDE\32\26"
+  "\27\37\33\34>:;VRS~z{\225\221\222B>\77UQRSMO\202OIK\11TNPVPRSMOPJLQK"
+  "MWQQVPPTPORNM\203QML\1RNM\202RNO\36SOPTPQUQRTPQSOPQMNMIJUQRMIJJFGVRS"
+  "UQRPLMZVWFBCWSTVRSa]^njkGCD$\40!512HDE_[\\WSTZVWPLM[WXQMN[WX\204XTU\7"
+  "WSTUQRTPQSOPUQR\\XYVRS\202HDE-VRSYUVNJKOKLRNOVRSWSTUQRQMNMIJJFGD at AXT"
+  "Utpq\224\220\221\234\230\231}yzb^_eabYSWwqu\254\246\252\255\247\253\251"
+  "\242\251\207\200\207ohoD=E1*2LDOkcn{s~xp{tlw>6CUMXvkyoepk`nmbppesodr"
+  "k`nh]kk`pj_m\202j_o-i^nj_oj_pj_ombrncqrgwodri^nmbptiyshvncsh]kcXheZh"
+  "j_olaoh]mbWeQESSGUZO]f\\glbmlbkoentjsunv^W^UNUngn\202}\203rmqlgk\202"
+  "}\201\215\211\212\204\200\201lhi]YZ`\\]\\XYSOPWSTTPQ\202RNO\5UQRWSTV"
+  "RSTPQSOP\202RNO\36SOPTPQUQRTPQSOPQMNMIJUQRMIJJFGVRSUQRPLMZVWFBCWSTVR"
+  "Sa]^njkGCD$\40!512HDE_[\\WSTZVWPLM[WXQMN[WX\204XTU\13WSTUQRTPQSOPWST"
+  "\\XYUQRGCDHDEWSTYUV\202NJK+RNOWSTXTUUQRPLMLHIKGHFBCXTUsop\222\216\217"
+  "\233\227\230{wx]YZ^Z[SOPrno\247\243\244\253\247\250\246\242\243\202~"
+  "\177eab623\"\36\37:67]YZlhinjkd`a\36\32\33C\77 at ea`YUTRNMXTS_[Z\\XWTP"
+  "ONJIUQPTPOSONRNM\202RNO\202SMO\1RNO\202QMN\4RNOTPQUQRSOP\202QMN\22`\\"
+  "]WSTRNO`\\]XTUJFGVRS_[\\a]^TPQMIJPLMC\77 at HDEjfg\200|}}yzWST\202PLM\6"
+  "fbcSOPMIJXTUTPQMIJ\202GCD\14KGHQMNUQRNJKQMNMIJFBCJFGVRSZVWUQRSOP\203"
+  "TPQ\202SOP\6TPQUQRnjklhia]^[WX\202^Z[\31njk\215\211\212\202|\200\215"
+  "\207\213\220\212\216mgktmtwpw\210\201\211\200y\201\207\177\212\226\216"
+  "\231\212\202\215phsMEROGTB:Gf^k\200u\203vkymbplaoncqncslaq\204k`p\202"
+  "k`q\202lar\16mbsodulaqi^n`UeWL\\[P`f[kh]m^ScWL\\ODTPEUWL\\\202]Rb\"["
+  "P`[N_[O]]R`dYglbmtju}s~\205{\204jckg`hc\\dmfmytztouupt\212\205\211\212"
+  "\206\207\201}~plmkghiefVRSHDEPLMSOPNJKMIJRNOUQRSOPRNOTPQRNO\202QMN\4"
+  "RNOTPQUQRSOP\202QMN\22`\\]WSTRNO`\\]XTUJFGVRS_[\\a]^TPQMIJPLMC\77 at HD"
+  "Ejfg\200|}}yzWST\202PLM\6fbcSOPMIJXTUTPQMIJ\202GCD\3KGHQMNUQR\202PLM"
+  "\5JFGC\77 at IEFVRSYUV\202RNO\13TPQUQRTPQRNOQMNSOPUQRnjkkgh^Z[XTU\202\\"
+  "XY\24kgh\210\204\205{wx\206\202\203\212\206\207gcdlhimij}yztpqvrs\216"
+  "\212\213\177{|]YZ845956,()PLMtpoa]\\\202QML\6XTSYUTUQPRNMTPOSON\202R"
+  "NM\2RNOSOP\202UOQ\2XTUUQR\202RNO\31TPQUQRRNOPLM\\XYfbcRNOJFG`\\][WXL"
+  "HI[WXSOPWST\\XY[WXQMNFBCJFGXTUplm\216\212\213~z{fbcC\77@\202JFG\4]YZ"
+  "RNOOKLKGH\202HDE\4KGHOKLRNOOKL\202NJK\2RNOWST\202[WX\1ZVW\202TPQ\1SO"
+  "P\202QMN\27RNOUQRXTUOKL\\XY]YZZVW\\XYUQRRNO\\XYgaepipkdkPIPibje^fqit"
+  "{s~wo|\211\201\216\201y\206\205}\212\202met\7g_nyq\200}r\202vk{ncsla"
+  "qk`p\202j_p\1lar\203mbs\2maunbv\202ocw\7pevtizqfwnctcXiVK\\WL]\202^S"
+  "d\2ZO`WL]\202TIZ\26VK\\ZO`\\Qb]Rbk^om`qocqrftvkywmxrhskalKCNkdlyrzsl"
+  "tsntxsy\203~\204\224\217\223\207\203\204zvw\202mij\11gcdMIJEABZVWXTU"
+  "PLMNJKRNOTPQ\202RNO\3VRSXTUUQR\202RNO\31TPQUQRRNOPLM\\XYfbcRNOJFG`\\"
+  "][WXLHI[WXSOPWST\\XY[WXQMNFBCJFGXTUplm\216\212\213~z{fbcC\77@\202JFG"
+  "\4]YZRNOOKLKGH\202HDE\13KGHOKLRNOOKLKGHIEFLHISOPYUVXTUUQR\203SOP\40Q"
+  "MNPLMQMNUQRXTUOKLYUVVRSSOPVRSPLMLHITPQ\\XYeab^Z[@<=VRSSOPb^_plmd`a\177"
+  "{|oklvrsXTUSOP[WXc_`lki_^\\SRP\202POM\3NMKONLQPN\204QML\"SMOUOQVPRWQ"
+  "SSOPPLMOKLRNOXTU\\XY]YZ[WXSOPUQR512-)*RNO^Z[YUVokl_[\\WSTTPQIEF62351"
+  "2C\77 at IEFMIJkghc_`_[\\QMN^Z[\202OKL\3PLMTPQXTU\202\\XY\11YUVUQRRNOWS"
+  "TTPQWSTa]^eab`\\]\202[WX\2PLMQMN\202SOP\2RNOPLM\202OKL\1NJK\202\\XY\37"
+  "XTU`\\]b^_^Z[a\\`_X_hahd]dWPXxqy_X`XP[jbmskxqivcXf\200x\207xm}ogvnct"
+  "yn~zo\200xm}vk|uj{qfwmaunbvpdxmaunbv\202nbx\2ocyqe{\202rf|\15vj~wl}{"
+  "o\203uj{i]qf[li]qg\\mdXlh]nl`tlarh]n\202f[l\77h]nYL]eXithv\202v\204\212"
+  "\177\215\205z\210odrXM[E=Jmer{s~unv\203~\205\227\222\231\230\223\231"
+  "\222\215\223\177z~ojn`[_c^b_Z^JFGQLPvrs_[\\UQRQMNUQRVRSSOPTPQYUVSOPP"
+  "LMOKLRNOXTU\\XY]YZ[WXSOPUQR512-)*RNO^Z[YUVokl_[\\WSTTPQIEF623512C\77"
+  "@IEFMIJkghc_`_[\\QMN^Z[\202OKL\3PLMTPQXTU\202\\XY\4YUVUQRRNOVRS\202O"
+  "KL\7YUV_[\\\\XYWSTUQRNJKQMN\202SOP\32QMNOKLNJKOKLNJKXTUSOPMIJVRSXTUR"
+  "NOSOPKGHYUVXTUKGHhdeLHIEABXTUa]^_[\\EAByuveabKGH\202[WX\10cb``_]^][]"
+  "\\ZVUSONLNMKSRP\203PLK\33QMLTNPVPRWQSYSUXTURNOQMNWST\\XY]YZ^Z[a]^XTU"
+  "KGH/+,;78`\\]VRSJFGiefQMNPLMGCD2./\36\32\33*&'\202C\77@\35*&'!\35\36"
+  "\35\31\32\37\33\34/+,RNOeabZVW`\\]_[\\]YZZVWXTSVRQUQPTPOXTSZVUa]\\ie"
+  "dhdca]\\^ZYb^]VUSTSQTPOSONTPQ\202VRS\6WST[VZ\\W[^X\\_Y]`Z^\203a[_\31"
+  "aW_cYbf\\ei_jj`ki_jg\\jf[icXhmbrpct|q\202uhzbWhl_sqdvwj~\177r\204\177"
+  "r\206~q\205\201t\210~p\207xj\201wi\200tf\177\202vh\201\21se~tf\200xj"
+  "\204zl\206xj\203rd{qdxj^tcWkcWmj^rrf|wk\177vj\200k_sj^tym\201\202\206"
+  "z\2168\201x\213\204y\212uhy\201s\202\200s\204revh[li\\nlark`qxm~~s\204"
+  "~v\205zr\177\202|\210\225\217\231\222\215\224zu|wpwrkr^W^OHOMFMHBF[V"
+  "\\\207\202\206hcgIDHHCGUPTKILHFIVTU][\\VRQPLKOKJVRQ[WV\\XW]YZ_[\\XTU"
+  "KGH/+,;78`\\]VRSJFGiefQMNPLMGCD2./\36\32\33*&'\202C\77@\20*&'!\35\36"
+  "\35\31\32\37\33\34/+,RNOeabZVW_[\\^Z[]YZ[WXXTUVRSUQRTPQ\203VRS\1WST\202"
+  "XTU\202YUV\210TPQ\202VRS\202WST\35VRSUQRSOPRNOOKLQMNSOPUQRVRSTPQRNOQ"
+  "MNMIJTPQMIJhdec_`EABSOPVRSYUVfbceabb^_hdeeabZVWYUVRNO\202XTU\37SOPTP"
+  "Q[WX]YZXTUHDE]YZc_`VRSTPQVRS;78\24\20\21\37\33\34""845NJKgcduqr^Z[NJ"
+  "K`\\]512\25\21\22\31\25\26\16\12\13\40\34\35OKLVRSfbcb^_c_`\202jfg\26"
+  "iefvrsxtueab]YZ\\XYZVWYUVWSRVRQUQPTPOZVU\\XWb^]kgfnjijfec_^_[ZYXVWVT"
+  "\202VRQ\2WSTXTU\202YUV\13YTXZUY]W[^X\\`Z^a[_b\\`b[bdZce[dh^i\203kal\25"
+  "i^lh]kgZkobsk^pj]o]PdSFZj]qzm\201xk\177}p\204zm\201ug~vh\177ug~rd}se"
+  "~xj\204zl\206yk\205\202vg\204\11xi\206yj\207wh\205ug\200rd{mayk_unbx"
+  "sg}\202wk\201Bl`vmawwk\201\206z\220\216\202\230\213\177\223\207{\221"
+  "\206z\216\222\205\226\225\207\230\220\203\224\204w\211zm\177xk\177vj"
+  "~sg{rfz|q\202vm~metvp|\206\200\212}w\201fahunvxqykdl_X`ZSZLELHCI\\W]"
+  "`[_IDHVQUpkohfiZX[YWXXVWIEF^ZYd`_WSRUQPVRQ;78\24\20\21\37\33\34""845"
+  "NJKgcduqr^Z[NJK`\\]512\25\21\22\31\25\26\16\12\13\40\34\35OKLVRSfbcb"
+  "^_c_`\202jfg\4iefvrsxtueab\202\\XY\6[WXYUVWSTVRSUQRTPQ\204VRS\204WST"
+  "\210UQR\202SOP\203TPQ\1SOP\202RNO\3PLMRNOTPQ\202VRS\5UQRSOPRNOMIJYUV"
+  "\202MIJ\21""845&\"#LHIeab\\XYd`a]YZSOPWSTUQRNJKQMN\\XY_[\\\\XYUQRTPQ"
+  "\202XTU%TPQplm_[\\UQRZVWYUVD at A&\"#\23\17\20HDE]YZplmrnohdeZVWTPQWSTZ"
+  "VW&\"#845\77;<njk\244\240\241\214\210\211\235\231\232\234\230\231\235"
+  "\231\232\237\233\234\223\217\220}yztpqiefSOPYUVXTUWSTVRS\204UQP\13ZV"
+  "U\\XWa]\\iedrnmtpokgf`\\[^ZY\\XWYUV\202XTU\1ZVW\202[VZ\6YSWZTX\\U\\^"
+  "W^`Y`b[b\202c\\c\4g]fi_jk`nmbp\202ncq\202m`q\202pcu\202gZn\17iZqm^u{"
+  "l\203~o\206n_vqbyk\\sdTneUofVpgWrk[vue\202xh\205yi\206\203yh\210\27w"
+  "f\206tc\203l^xl^wn`zug\200|n\207}o\210xj\203se~rd}{m\206\207y\222\215"
+  "\177\230\213}\226\205w\216\200r\213}o\206\203t\207\201r\205\177p\203"
+  "\177p\205\200s\207\203\202t\2138\201u\211\216\203\224\210\177\220\202"
+  "z\211\223\213\230\236\226\241\216\210\222}x\177vow|u}tmujckkdlb[cUPV"
+  "VQWTOU;6<IDHjeihcgZUYTRUQOPqmn_[\\UQRZVWYUVC\77@%!\"\22\16\17HDE]YZp"
+  "lmrnohdeZVWTPQWSTZVW&\"#845\77;<njk\244\240\241\214\210\211\235\231\232"
+  "\234\230\231\235\231\232\237\233\234\223\217\220}yztpqiefSOP\202XTU\202"
+  "WST\1VRS\202UQR\1TPQ\202VRS\204UQR\202TPQ\207UQR\1TPQ\202PLM\3QMNRNO"
+  "SOP\202RNO\4QMNSOPTPQUQR\202WST\2VRSTPQ\202SOP\22VRSHDEIEFJFGKGH_[\\"
+  "a]^LHIRNOGCD;78>:;@<=\77;<FBCQMNVRSXTU\202VRS\31WSTTPQOKL/+,845SOPb^"
+  "_IEF'#$1-.VRS\214\210\211\201}~qmnZVWOKL[WX^Z[LHID at A($%956[WX\213\207"
+  "\210\231\225\226\202rno\10d`a_[\\^Z[VRSKGHPLMUQRJFG\204TPQ\202TPO\202"
+  "UQP\33XTS[WV^ZYc_^njiwsrsonjfeb^]_[Z[WXYUVXTUYUVZUY[VZZTX\\VZ^W^`Y`b"
+  "[bd]de^ef_gkallaombp\202odr\25odtpctobtuhzreym`tse|\203t\213\216\177"
+  "\226\214|\226\201q\213l\\vqa{l\\vfVqgWrhXsiYtm]zrb\177ud\204\202xg\207"
+  "\31wf\210sb\204m\\~iXxdTqgYsrd~\201s\215\210z\224\203u\216zl\206tf\177"
+  "\201s\215\212|\225\217\201\233\210z\223\200r\214|n\207yk\205ug\200wh"
+  "\177qbwo`wte|ug~\202tf}/wi\200vj\200\201u\211~u\206\207\177\216\236\226"
+  "\243\234\224\241\205\177\211}x\177vowzs{ogrd]ekdltmurmtqlrojpPKQTOUj"
+  "ei\\W[\77:>+),\37\35\40.*+845RNOb^_HDE&\"#0,-VRS\214\210\211\201}~qm"
+  "nZVWOKL[WX^Z[LHID at A($%956[WX\213\207\210\231\225\226\202rno\10d`a_[\\"
+  "^Z[VRSKGHPLMUQRJFG\210TPQ\1VRS\202UQR\1TPQ\202SOP\202RNO\204TPQ\204S"
+  "OP\4OKLPLMQMNRNO\204SOP\202UQR\1VRS\202WST\20VRSTPQSOPVRSUQRMIJVRSlh"
+  "i{wxwsta]^HDEPLMHDE<89\77;<\202@<=\202GCD\22MIJSOPUQRSOPMIJEAB>:;%!\""
+  "-)**&'\"\36\37/+,QMNkghsopmijjfg`\\]\202QMN\4eab_[\\>:;3/0\202B>\77\15"
+  "wst\230\224\225xtufbcYUVa]^UQRQMNPLMOKL]YZgcd`\\]\204RNM\202SON\16TP"
+  "OUQPUQRYUV[WX]YZfbcsopzvwyuvjfgeab`\\][WX\202YTX\202ZUY\15^W^_X_aZbc"
+  "\\de^fg`hhaiialmbpmbrobspctqdu\202qdv7qdxreyse|vg~xh\202\201q\213\210"
+  "x\222\200p\213ue\200r_{{h\204|i\205zg\205|i\207}j\210|i\207\200m\215"
+  "|i\211{g\212ye\210vb\205r^\203mY~jV{fUwn]}sc\200\200p\215\216~\233\221"
+  "\201\236\210x\223\202r\217\203s\216\212z\227\217\177\232\215}\232\203"
+  "s\216|l\211|l\207|l\211yi\204{k\205vf\200td~wg\201ue\177p`zoaztf}ym\203"
+  "|p\204\201v\207\226\213\233\250\240\255\224\214\231\202xp{\33ukvvlwm"
+  "bpbXcd\\gohprksqjrg`h818$\37%(#)!\34\"\"\35#3.2=8<&\"#.*+,()#\37\40""0"
+  ",-SOPnjkvrsmijjfg`\\]\202QMN\4eab_[\\>:;3/0\202B>\77\16wst\230\224\225"
+  "xtufbcYUVa]^UQRQMNPLMOKL]YZgcd`\\]QMN\203RNO\1SOP\203TPQ\202UQR\202T"
+  "PQ\1SOP\202RNO\1QMN\203SOP\202RNO\204QMN\3RNOSOPTPQ\204UQR\202VRS\1W"
+  "ST\202VRS\14UQRTPQSOPRNOVRSYUVUQR^Z[mijd`aWSTJFG\202XTU-RNOWSTVRSTPQ"
+  "YUVVRSTPQRNONJKHDE\77;<845512\177{|eabFBCC\77 at b^_\200|}|xygcd\77;<ZV"
+  "Wd`aXTUUQRYUVMIJ845512ZVWD at Aqmn\206\202\203UQRWSTMIJ]YZRNOQMNRNOLHIN"
+  "JKLHI\77;<\204QML\2RNMSON\202TPO\2UQRXTU\202ZVW\11`\\]lhizvw\203\177"
+  "\200vrsqmniefb^_^Y]\202\\W[\6[V\\c\\cd]ee^fg`hhai\202jbm\1kcp\202odt"
+  "\202pcu\1qdv\202qdx\5rd{qczn`yue\177vf\201\202{k\206\7cSpRB_eRpr_\177"
+  "yf\206}j\212\203p\220\202\205q\224*\211u\230\201m\220|h\215vb\207t`\205"
+  "r]\204r^\203u`\207ye\212\202o\217\202r\217\213z\232\225\205\242\222\201"
+  "\241\210w\227\207v\226\217~\236\213x\230\212y\231\210u\225~m\215|i\211"
+  "{j\212{h\210td\201wg\204vf\203wg\204yi\206xh\205ue\200ug\201{m\206xj"
+  "\203ym\203\205y\215\235\222\243\241\231\250\204|\211mertlyqft\202rgu"
+  "-peskcph`kd\\g^W_]V^E>FJEL`[agbh|w}\237\232\236\262\255\261\202}\201"
+  "fbcGCDD at Ac_`\201}~\177{|jfg\77;<ZVWd`aXTUUQRYUVMIJ845512ZVWD at Aqmn\206"
+  "\202\203UQRWSTMIJ]YZRNOQMNRNOLHINJKLHI\77;<\203QMN\1RNO\203SOP\205TP"
+  "Q\204SOP\202TPQ\202SOP\1RNO\203QMN\3TPQUQRVRS\203WST\202VRS\1WST\202"
+  "VRS\2UQRTPQ\203SOP8UQROKLWSTRNOYUV\\XY845!\35\36""2./HDEQMNUQR`\\]c_"
+  "`b^_ief_[\\VRSLHIHDEEABC\77 at HDEOKLlhi\200|}\232\226\227\243\237\240\215"
+  "\211\212hdeQMNMIJ>:;iefoklXTUOKLD at A3/02./KGHhdeTPQmij\205\201\202c_`"
+  "WSTUQRRNOMIJWST_[\\ZVW[WX^Z[VRS\205RNM\1SON\202SOP\21UQRVRSYUV[WX]YZ"
+  "eabsop\200|}\206\201\205\177z~vqulgkfagc^db[bb[cg`h\202h`k\2jbmlbm\203"
+  "mbp\202qdv\203qdx\15rd{sd{td~vf\200n^yue\200ue\202{h\206xe\203]JjO<\\"
+  "r\\\200}g\213\202\203m\221\\\207q\225\206p\226\205o\225\210r\230\200"
+  "j\220|f\215zd\213|f\215~g\221\177i\220\203l\226\207r\231\206r\225\207"
+  "t\224\220|\237\233\210\250\227\203\246\212v\231\211u\230\222~\241\211"
+  "s\227\206r\225\204n\222\177k\216}g\213zf\211xb\206ua\204}i\214|i\211"
+  "{h\210zg\207ud\204rb\177rb}rd}}o\210\205w\216\226\212\236\245\232\253"
+  "\230\215\235}r\200tiw~s\201vk{peutiyzo\177ujzi^l`Uc\\R]0(3KDL\212\203"
+  "\213\266\257\267\254\245\254\227\220\227\213\204\213~x|ojn\202}\201\233"
+  "\226\232\243\236\242\214\207\213gbfQLPMHL>:;iefoklXTUOKLD at A3/02./KGH"
+  "hdeTPQmij\205\201\202c_`WSTUQRRNOMIJWST_[\\ZVW[WX^Z[VRS\205RNO\204SO"
+  "P\204TPQ\203UQR\202VRS\202UQR\1TPQ\203SOP\202VRS\203WST\7VRSUQRTPQWS"
+  "TVRSUQRTPQ\203RNO\13QMNYUVIEFTPQRNOZVWXTU($%\22\16\17A=>VRS\202^Z[\202"
+  "d`a\25a]^hdeZVWRNONJKPLMSOPTPQ[WXeabJFGd`afbcPLMQMNc_`RNO*&'=9:jfgie"
+  "f\202SOP\15@<=$\40!'#$956JFGIEFWST}yzqmnKGHNJKVRSQMN\202WST\4JFGIEFR"
+  "NOTPQ\202SON\204RNM\202SOP\202TPQ\17WST\\XY]YZ_[\\kghxtu\221\214\220"
+  "\212\205\211\177z~uptmhnidjg`hf_gial\202jbm\1kcp\202mbp\202mbr\2reyr"
+  "d{\202qcz-qc|rd}td\177ue\200xh\205sc\200|k\213ra\201lYymY|hTws_\202\235"
+  "\207\255\245\217\265\243\215\264\232\204\252\224~\245\214v\235\206p\227"
+  "\207q\230\202k\225\201j\224\203l\226\210q\233\211r\234\205n\230\203l"
+  "\226\205o\226\202n\223\204p\223\221}\240\241\215\260\236\212\255\216"
+  "z\237\212t\232\221{\241\207q\227\204n\224\201k\222\200j\220~h\217}g\216"
+  "~h\217\200j\220{e\213\202zf\213\36ye\210yh\212{j\212zj\207yi\204{m\207"
+  "\210z\223\236\220\247\236\222\246\202w\210j_ok`pvk{\177t\205odumbsuj"
+  "zodtbWg^Sc_Tb+#0JBM\202z\205\231\222\232~w\177g`ge^e_X_RMS\202jei\202"
+  "RMQ\6c^bSNR+&*=9:jfgief\202SOP\15@<=$\40!'#$956JFGIEFWST}yzqmnKGHNJK"
+  "VRSQMN\202WST\4JFGIEFRNOTPQ\212SOP\202TPQ\1UQR\203VRS\1YUV\202XTU\2W"
+  "STVRS\203UQR\1VRS\203WST\10VRSUQRTPQSOPWSTVRSTPQSOP\204QMN\23UQRLHI^"
+  "Z[KGH>:;@<=401IEF\204\200\201\222\216\217\215\211\212}yztpqhde]YZ`\\"
+  "]ZVWWSTZVW\202b^_\33[WXXTU\\XY\77;<GCD@<=.*+-)*=9:@<=512845UQRlhiTPQ"
+  "PLMD at A\40\34\35:67MIJLHIb^_vrskgh[WXXTUVRS\210SOP\2OKJQML\202SON\27R"
+  "NOSOPXTU\\XYUQRTPQTOSUPTYTX`[_idhnim\201|\202\213\206\214\215\206\215"
+  "\200y\200sltpiqnfqjbmphumerodr\202peu\11ncsnctpevqczrb|sc}td~ue\200v"
+  "f\201\202wg\204\25xe\205yf\206zf\211{g\212~j\215\204p\225\216z\237\226"
+  "\201\250\242\214\263\234\203\253\223z\244\216u\235\216u\237\215t\236"
+  "\211p\232\205l\226\200f\223}c\220{a\216}c\220\201g\224\202\205k\230\15"
+  "\201j\224\210s\232\213w\234\215y\236\244\220\265\235\207\255\227\201"
+  "\250\220z\241\212t\233\203j\222\206m\225\206m\227\203j\222\202\202i\223"
+  "\5\177f\220za\213\177h\222|f\215{f\215\202|h\2153{g\212{j\212\177o\214"
+  "\203s\216\226\210\241\242\224\255\223\205\234xl\202j^rnbvxl\200\231\214"
+  "\240\216\201\225\200s\207|o\201qdvj]naVfD9G5*8`VatjucYbSLTQJRHAI<5<I"
+  "DJQLRIDJ3.4.)-<7;\77:>504<7;XSWmijTPQPLMC\77@\37\33\34""845MIJLHIb^_"
+  "vrskgh[WXXTUVRS\210SOP\2QMNRNO\203SOP\5UQRXTUZVWUQRTPQ\203RNO\21TPQV"
+  "RSXTUVRSUQRSOPRNOQMNSOPTPQVRSZVWYUVXTUWSTVRSUQR\202TPQ\210SOP*QMNSOP"
+  "UQRTPQVRS`\\]plm}yz\220\214\215\201}~oklhdeiefhdea]^XTUQMNJFGEABHDEQ"
+  "MNXTUYUVWST7345121-.401C\77 at NJK\77;<&\"#OKLXTUNJK!\35\36\35\31\32'#$"
+  "+'(_[\\\236\232\233\217\213\214\202\220\214\215\4yuvb^_ZVWUQR\210SOP"
+  "\202WSR\3VRQUQPSOP\203RNO\2WSTVRS\202VQU*XSW]X\\c^bgbfrms\202}\203\221"
+  "\212\221\217\210\217\202{\203unvrjutlwnfskcrmbrodupevoduocwqeysc}sc~"
+  "td\177ue\202vf\203wf\206xg\207xg\211xd\207zf\213{g\214{f\215|g\216\177"
+  "j\221\205p\227\213t\236\210o\231\205l\226\202h\225\202i\223\204j\227"
+  "\206l\231\202\207m\232\4\214r\237\213q\236\212p\235\214r\237\202\216"
+  "t\241\40\215s\240\211r\234\211s\232\217{\240\226\202\247\256\232\277"
+  "\244\216\265\233\205\254\225\177\246\217y\240\207n\230\206m\227\204k"
+  "\225\203j\224\204k\225\205k\230\204i\226\200f\223\202h\225}f\220|g\220"
+  "|g\216}h\217|h\215\177k\216\201p\220\212z\227\235\215\250\244\226\260"
+  "\225\207\240\204v\217\200t\214\202\202v\214\"wi\200`RiZLck^r`SgG:LA6"
+  "G8-=\\Qaujxvky_U`PHSNGOF\77G<5=C>EA<B<7=;6<HCIQLPA<@(#'OJNWRVLHI\37\33"
+  "\34\34\30\31($%+'(^Z[\236\232\233\217\213\214\202\220\214\215\4yuvb^"
+  "_ZVWUQR\210SOP\202XTU\1VRS\202UQR\7TPQRNOQMNWSTVRSTPQSOP\204RNO\1UQR"
+  "\203TPQ\2UQRVRS\202XTU\5YUVXTUWSTVRSUQR\202TPQ\211SOP0QMNTPQVRSTPQRN"
+  "OUQR^Z[fbc]YZWSTQMNPLMTPQXTUYUVXTU`\\]]YZ[WX]YZ`\\]a]^^Z[[WXRNOZVWd`"
+  "ajfgiefa]^YUVUQR`\\]]YZ\77;<\32\26\27,()KGH_[\\\222\216\217\232\226\227"
+  "\203\177\200xturno^Z[PLMNJKJFG\210SOP\1QML\202PLK\"TPOWSTYUVWSTUQRSN"
+  "RTOSVQUWRVYTZ\\W]`[ac^dibiwpw\213\204\214\230\221\231\224\214\227\204"
+  "|\207zr\177xp}rgwodtnctpdxqeypdxpdzqe{td\177ue\202vf\203wf\206zg\207"
+  "\202{g\212\5|h\215ye\212{f\215~h\217~g\221\202}f\220\2\177h\222\201j"
+  "\226\202\205k\230\11\206l\233\207m\232\210n\235\212p\237\214r\241\216"
+  "t\243\217u\244\220v\245\222x\247\203\224z\251\14\222x\247\217x\244\215"
+  "v\240\225\200\247\233\206\255\261\234\303\244\217\266\231\204\253\224"
+  "}\247\221z\244\216t\241\212p\235\202\206l\231\7\207l\231\205i\231\204"
+  "h\230\202h\227\203i\230\177h\224~g\221\202\177i\2203~j\217\202n\221\207"
+  "t\224\227\206\246\241\221\256\237\217\254\216\200\232\205w\221\210z\224"
+  "\205w\221{m\207td~UE_E7PN at W\77""1H5(<XK_wj|\200s\204\215\201\217\212"
+  "\177\215{q|tjuoepbXcVOW\\W^b]dkfmpkqmhne`f\\W[VQU_Z^[VZ>:;\31\25\26-"
+  ")*LHI`\\[\222\216\215\232\226\227\203\177\200xturno^Z[PLMNJKJFG\210S"
+  "OP\1RNO\202PLM\4TPQYUVZVWWST\203SOP\203TPQ\10SOPRNOQMNTPQUQRVRSXTUYU"
+  "V\203ZVW\203VRS\2UQRTPQ\202SOP\1RNO\210SOP\10OKLSOPVRSUQRQMNOKLQMNTP"
+  "Q\205WST\6YUV]YZ_[\\c_`eabhde\202kgh\33gcdb^__[\\\177{|\203\177\200\212"
+  "\206\207\211\205\206yuviefmij|xyyuvvrsXTUIEFkgh|xytpq\204\200\201xtu"
+  "a]^XTUWSTPLMRNOWSTUQR\210SOP\1OKJ\202MIH\"RNMXTUZVWVRSQMNLGKOJNSNRXS"
+  "W[V\\_Z`c^de`flelpip}v~\220\211\221\234\224\237\226\216\231\205}\212"
+  "vn{wl|shypdxqeyrf|pdzocyqc|ue\202ve\205wf\206xg\211{g\212\202|h\215\5"
+  "}h\217ze\214|g\220\177h\222\200i\225\202\177h\224\2\200i\225\202k\231"
+  "\202\207m\234\202\210n\235\2\211o\236\212p\237\202\213q\240\3\215s\242"
+  "\220v\245\223y\250\204\225{\2523\224}\251\224\177\250\232\205\254\234"
+  "\207\256\260\233\302\241\214\263\226\201\250\221z\244\214u\237\212p\235"
+  "\211o\234\212p\235\215s\240\214p\240\207k\233\205i\231\207k\233\205k"
+  "\232\201j\230\200i\225\200i\223\200j\221\201k\221\205q\226\214x\233\237"
+  "\216\256\234\213\253\221\200\240\202q\221|m\214~o\216zk\212qb\177\215"
+  "}\230\220\200\232\230\212\243\231\213\244wi\202aSjyk\202\214\177\223"
+  "\222\205\227\232\215\236\230\215\235\222\207\225\217\204\222\211\177"
+  "\212\177u\200xp{\210\201\211\211\204\213\202\215\210\217\24}x~mhnojp"
+  "|w{{vzwrvYUVJFGmij~z{uqp\202~}xtua]^XTUWSTPLMRNOWSTUQR\210SOP\1OKL\202"
+  "MIJ\11RNOYUV[WXVRSPLMKGHMIJPLMTPQ\204VRS\3TPQUQRWST\203YUV\3WSTVRSUQ"
+  "R\202TPQ\202SOP\203RNO\210SOP\2NJKRNO\202VRS\1TPQ\202RNO\2TPQWST\202"
+  "VRS\2TPQSOP\203RNO\3UQRZVWa]^\202d`a\25b^_a]^`\\]\201}~okleabiefhde`"
+  "\\]]YZc_`eabnjkUQRSOPwst\200|}vrs{wxtpq`\\]\202YUV\4TPQVRSZVWRNO\210"
+  "SOP\2YUTUQP\202RNM\31TPQRNOJFGC\77 at NIMQLPUPVZU[]X_`[bc^ed_fmfnohptmu"
+  "\200y\201\223\213\226\235\225\242\224\211\231\202w\207|q\202vk|rfzqe"
+  "{se~\202rd}\10rd~ve\205xd\207ye\210zf\213{g\214|g\216~h\217\202~g\221"
+  "\2\177h\224\200i\225\202\201j\230\4\203l\232\206l\233\210n\235\207m\234"
+  "\202\206l\233\2\211o\236\215s\242\202\217u\244<\216t\243\220v\245\222"
+  "x\247\224z\251\225{\252\226|\253\227}\254\231\177\254\230\201\253\227"
+  "\202\251\231\210\254\233\211\257\260\236\304\246\221\270\231\204\253"
+  "\217z\243\206q\232\200i\225\206o\233\220v\245\224z\251\221u\245\214p"
+  "\240\213o\240\216r\243\210n\235\206l\233\205k\230\204k\225\202l\223\204"
+  "n\224\212v\233\222~\241\242\216\261\225\201\244\205t\226~m\217|k\215"
+  "zi\213yj\213zk\214xh\205~n\211\202r\215|l\206aQk^Of\177q\210\222\205"
+  "\231\232\215\237\231\214\235\217\202\223\203w\205|q\177xm{zp{\200x\203"
+  "\216\207\217yt{lgn\202pkr\15gbhb]cfaghcgpkoVRSUQRyuv\201}~wsrzvutpq`"
+  "\\]\202YUV\4TPQVRSZVWRNO\210SOP\15YUVUQRQMNRNOUQRRNOJFGA=>LHINJKQMNT"
+  "PQVRS\202WST\202VRS\1WST\202XTU\4WSTTPQRNOPLM\204SOP\204RNO\210SOP\2"
+  "RNOSOP\202TPQ\202SOP$UQRWSTQMNNJKLHIOKLTPQVRSTPQPLMNJKQMNUQRXTUYUVZV"
+  "W\\XY^Z[\\XYVRSUQRYUVXTURNOUQR^Z[XTUfbcB>\77:67WSTa]^plm\202~\177jfg"
+  "[WX\202WST\4QMNSOPTPQIEF\210SOP\14UQPSONQMLRNMRNOQMNMIJIEFWRVYTX[V\\"
+  "]X^\202^Y`\16`[ba\\chaiohpsltumx\202z\207\223\213\230\232\217\237\225"
+  "\212\232\203x\211{o\203th~rf|\202tf\177\10ug\201vg\204yf\206ye\210zf"
+  "\213{g\214|g\216}h\217\202\177h\222\202\203l\230\7\202k\231\203l\232"
+  "\204m\233\205n\234\211o\237\212p\240\217u\244\202\215s\242\6\220v\245"
+  "\224z\251\227}\254\226|\253\225{\252\224z\251\202\225{\252G\227}\254"
+  "\230~\255\231\177\256\232\200\255\230\201\253\226\201\250\231\210\254"
+  "\236\214\262\267\245\313\256\231\300\240\213\262\222}\246\206q\232\214"
+  "u\241\225~\252\235\203\262\233\201\260\225y\251\217s\243\215q\242\214"
+  "p\241\214r\241\212p\237\211o\234\210o\231\206o\231\210r\231\220|\241"
+  "\231\205\250\242\216\261\221}\240\202q\223\200o\223~m\221zi\215zj\217"
+  "\201q\225\204s\223ue\202jZul\\waQleUo\205w\216\224\206\235\227\212\236"
+  "\222\205\227\203v\207tgxlaoi^lkalukvkdlc^e`[bd_fb]d[V][V\\c^dYTXe`d@"
+  "<=956WSTb^_rnm\203\177~jfg[WX\202WST\4QMNSOPTPQIEF\210SOP\2VRSSOP\202"
+  "QMN\5SOPQMNLHIGCDTPQ\204UQR\1TPQ\202SOP\202WST\6VRSUQRSOPQMNNJKMIJ\220"
+  "SOP\4WSTUQRSOPQMN\202PLM\11RNOSOPYUVUQRQMNTPQYUV\\XYXTU\202TPQ\203SO"
+  "P\2UQRWST\202YUV\30LHIVRS_[\\^Z[VRSSOP_[\\mijkghplm;78734YUV]YZc_`b^"
+  "_gcd\\XY[WXZVWUQRZVW^Z[UQR\210SOP\12MIHNJIPLKQMLSOPUQRWSTYUV]X\\^Y]\202"
+  "_Z`\6_Za`[bb]dd_fg`hmfn\202qit\11xm{\206{\211\225\212\232\236\223\243"
+  "\221\206\227\206z\216|p\206wk\203xj\204\202wi\203\11xi\206{g\212{g\214"
+  "|g\216}h\217~i\220\177j\221\200i\223\201j\224\202\204m\231\6\205n\234"
+  "\207p\236\213q\241\214r\242\215r\245\216t\244\203\220y\247\5\221z\250"
+  "\223|\252\225~\254\226\177\255\227\200\256\202\233\204\262\22\234\205"
+  "\261\237\210\264\243\214\270\244\215\271\243\214\270\240\213\264\237"
+  "\215\263\244\224\270\252\230\276\301\257\325\264\242\310\247\225\273"
+  "\236\211\262\225\200\251\242\213\267\250\221\275\251\217\276\236\204"
+  "\263\202\226|\254:\223w\250\215q\242\221w\246\217u\244\216t\241\215t"
+  "\236\212s\235\215w\236\227\201\247\241\213\261\234\210\253\217{\236\202"
+  "q\225\177n\222~l\222{i\217{i\221~m\221n]}ZJgO\77\\ZJe`Pkp`z\223\204\233"
+  "\237\220\247\221\204\230\212}\217{n\177revrftocqj^ji_j[S^d^hmhokfm_Z"
+  "aZU\\d_ermsnimpko:67512XTU^Z[ea`d`_gcd\\XY[WXZVWUQRZVW^Z[UQR\210SOP\6"
+  "MIJNJKOKLQMNSOPUQR\202VRS\3YUVXTUWST\202UQR\202TPQ\6UQRXTUVRSUQRSOPQ"
+  "MN\203PLM\204SOP\204TPQ\210SOP\3UQRTPQRNO\204QMN\6PLMUQRSOPQMNOKLNJK"
+  "\203MIJ\12WSTTPQRNOSOPWSTYUVWSTUQRXTURNO\202LHI\24UQR_[\\a]^^Z[HDEJF"
+  "G\36\32\33=9:\205\201\202\220\214\215\177{|_[\\ief_[\\[WXUQRLHIPLMVR"
+  "SMIJ\210SOP\4TPOUQPVRQTPO\202RNO\27UQRYTX\\W[]X\\^Y__Z`a\\cd_fibjlem"
+  "kdlialkcnogrujx}r\200\214\201\221\232\217\240\236\222\246\222\206\232"
+  "\205y\221~p\211{m\207\202yk\205\24zi\211|h\215|g\216}h\217~i\222\177"
+  "j\223\200k\224\202k\225\202k\227\203l\230\204m\231\207p\236\212s\241"
+  "\220v\246\222x\250\223x\253\223y\251\223|\252\226\177\255\231\202\260"
+  "\202\233\204\262\2\236\207\265\243\214\272\203\250\221\277N\253\224\300"
+  "\261\232\306\267\240\314\271\242\316\266\237\313\263\234\306\263\241"
+  "\307\270\247\313\271\247\315\313\271\337\273\251\317\257\235\303\254"
+  "\227\300\251\224\275\254\225\301\257\230\304\252\220\277\234\202\261"
+  "\231\177\256\240\206\266\237\205\265\226|\253\224z\251\222x\245\221w"
+  "\244\220w\241\215v\240\221{\242\233\205\254\245\217\266\221}\242\212"
+  "v\233\202m\224}k\221\201l\225\201o\227\201l\227~i\220ye\210vc\203xe\205"
+  "\200m\213~k\211\204t\217\227\207\241\223\203\235\222\203\232\206y\215"
+  "rewj]nqdurfti]kbXciald^h_X`[V]`[bgbihcid_ePKOOJN\37\33\34=9:\204\200"
+  "\201\221\215\216\200|{`\\[ief_[\\[WXUQRLHIPLMVRSMIJ\210SOP\1TPQ\202U"
+  "QR\1TPQ\202RNO\15TPQVRSWSTVRSUQRTPQUQRWSTYUV[WXWSTVRSSOP\203QMN\1RNO"
+  "\203SOP\203TPQ\203UQR\210SOP\202PLM\12RNOTPQVRSWSTUQRSOPRNOVRSYUVVRS"
+  "\202RNO#YUV`\\]SOPOKLNJKRNOYUV[WXWSTRNOXTUKGHNJKXTUYUV\\XY]YZRNOPLM\40"
+  "\34\35\"\36\37QMN\220\214\215vrs^Z[SOPd`ahde_[\\LHIGCDSOP\\XYZVWWST\202"
+  "OKL\2GCD^Z[\202MIJ\2PLMTRS\203SQR\12SQTUSVXSWZU[aZa`Y``Yab[cd\\ge]h\202"
+  "g]h\2kalmbp\202odr\24revyl}\204w\211\214\177\221\242\225\251\234\217"
+  "\243\222\204\235\207w\221\200p\213}m\212{k\210{j\214ze\214\177h\222\201"
+  "j\224\200i\225\204m\231\210q\235\206o\233\200i\227\202\212s\241\16\213"
+  "t\242\216w\245\220x\250\222z\252\225}\255\230\200\260\230~\255\240\206"
+  "\263\246\214\271\250\216\273\254\222\277\262\230\305\266\234\311\267"
+  "\235\312\202\254\222\277\2\252\220\275\247\215\272\203\244\212\267\31"
+  "\243\214\266\242\215\264\234\210\255\252\226\273\306\262\327\264\237"
+  "\306\250\223\272\247\222\273\263\236\307\275\246\320\273\244\316\267"
+  "\240\314\262\233\307\255\226\302\246\217\275\240\211\267\234\205\263"
+  "\227\200\254\232\203\255\230\201\253\223|\246\227\200\252\241\212\264"
+  "\243\214\266\236\207\261\202\220y\2433\213t\240\203n\231\202k\227\201"
+  "l\227\200i\227|e\217mW}mW{\177i\215\205o\223\210r\226\204q\221p]{m]z"
+  "\215}\230\202r\214xj\201qdxnasqdupesj_mh^i^Vaf\\gjbme^fd]ed]dZSZXRV("
+  "\"&%\40$PKO\217\213\214yuv`\\]RNOc_`hde_[\\MIJHDETPQ[WXYUVVRSOKLPLMH"
+  "DE_[\\\202MIJ\1NJK\202VRS\202UQR\1TPQ\202SOP\3RNOYUVWST\202UQR\202VR"
+  "S\2TPQRNO\203UQR\5SOPQMNRNOUQRXTU\210SOP\20NJKXTU[WXUQRTPQZVWVRSLHIM"
+  "IJRNOTPQQMNTPQZVWWSTNJK\210SOP\6LHIPLMTPQUQRVRSWST\202YUV!LHIJFGVRSZ"
+  "VWOKLMIJRNONJK[WX734\\XY\200|}\177{|XTUd`ahdeSOPeabqmnkghc_`]YZSOPEA"
+  "BOKLYUVc_`SOP\\XYHDERNO]YZSQR\202RPQ\13SQRTRUVTWYTZ[V\\`Y`_X_`Yac\\d"
+  "h^ij`k\202kal\30laoncqpespeurevviz~q\203\205x\214\221\204\230\236\220"
+  "\247\240\220\252\220\200\233\202r\217\201q\216\177n\216yh\212\201j\224"
+  "\202k\227\201j\226\200i\225\202k\231\207p\236\211r\240\210q\237\202\213"
+  "t\242\16\216w\245\222{\251\226~\256\231\201\261\234\204\264\236\207\265"
+  "\252\220\277\257\225\302\263\231\306\260\226\303\254\222\277\250\216"
+  "\273\241\207\264\233\201\256\202\235\203\260V\232\200\255\225{\250\223"
+  "y\246\225{\250\224z\247\217x\242\216x\237\216z\237\241\215\262\273\247"
+  "\314\247\222\271\234\207\256\232\205\256\244\217\270\241\212\264\242"
+  "\213\265\244\215\271\247\220\274\252\223\277\254\225\301\256\227\305"
+  "\256\227\303\245\216\272\243\214\266\234\205\257\226\177\251\233\204"
+  "\260\244\215\271\245\216\272\236\207\263\222{\247\220y\245\214u\243\210"
+  "q\237\206o\235\203l\232\177h\226zc\217x_\207t[\202za\210\205l\223\243"
+  "\215\263\252\224\270{g\212XEefVsvf\201~p\211zl\203reyobtodtqfti_jbXc"
+  "f\\gh^i]V^^W_b[b\\U\\aZa\77""9=b]a\202}\201\177{|XTUd`afbcTPQfbcplmj"
+  "fgb^_]YZSOPFBCOKLYUVd`aSOP]YZHDEQMN]YZ\203UQR\203TPQ\202SOP\7WSTUQRT"
+  "PQUQRWSTXTUWST\202UQR\202VRS\5UQRRNOQMNSOPUQR\210SOP\17VRSXTUUQRPLMO"
+  "KLSOPUQRRNOUQRWSTVRSRNOPLMRNOTPQ\211SOP\1RNO\202VRS\202QMN\202UQR\5O"
+  "KL_[\\XTUYUVTPQ\202FBC\1NJK\202KGH\27\3\0\0\40\34\35_[\\yuviefnjkNJK"
+  "plmwstsop_[\\RNOUQR[WX]YZWSTOKLIEF<89\\XYVRSPLMC\77@\202QOP\6RPQSQRU"
+  "SVWUX[V\\\\W]\202_X`\4`Xcd\\gj`kmcn\202ncq\3narpctsfw\202rew\22sfxxk"
+  "\177}p\204\203t\213\227\207\241\246\226\261\237\217\254\217\177\234\205"
+  "t\224\177n\220|k\217\200i\223\177h\224\200i\225\202k\227\205n\232\210"
+  "q\235\215v\244\203\222{\251\36\224}\253\230\201\257\236\206\266\245\215"
+  "\275\253\223\303\256\227\305\260\226\305\256\224\301\251\217\274\241"
+  "\207\264\234\202\257\230~\253\224z\247\220v\243\214r\237\217u\242\215"
+  "s\240\211o\234\212p\235\220v\243\217u\242\207p\232}g\216\207s\230\236"
+  "\212\257\263\237\304\234\207\256\221|\243\217z\243\224\177\250\202\224"
+  "}\247\15\226\177\253\230\201\255\235\206\262\242\213\267\246\217\275"
+  "\251\222\276\261\232\306\256\227\301\250\221\273\247\220\272\253\224"
+  "\300\255\226\302\244\215\271\202\230\201\255\33\223|\250\216w\245\214"
+  "u\243\212s\241\204m\233~g\225zc\217qX\202za\211\177f\216\202i\220\223"
+  "}\243\217y\235p\\\177iVv|k\213\214|\231\210x\222xi\200reypcum`qocqwm"
+  "xkalh^ie[f\202YRZ\32\\U]TMTRKR\13\4\13+%)e_cyuvhdenjkMIJplmwstrno`\\"
+  "]RNOUQR\\XY^Z[XTUPLMIEF<89\\XYVRSQMND at A\211TPQ\4SOPRNOTPQWST\202YUV\6"
+  "WSTTPQVRSXTUWSTTPQ\202QMN\1RNO\210SOP\4UQRQMNPLMSOP\202TPQ\12WST\\XY"
+  "UQRTPQUQRVRSRNONJKPLMUQR\210SOP\34PLMWSTVRSOKLUQRa]^`\\]TPQMIJGCDLHI"
+  "SOPVRS_[\\a]^SOP1-.\24\20\21A=>oklxtuTPQZVWYUVMIJZVW_[\\UQR\202JFG\30"
+  "QMNTPQ\\XYfbckghPLMXTUJFGVRS]YZPNOQOPRPQTRSVTWXVY\\W]]X^_X``YaaYdd\\"
+  "gi_jlbm\202ncq\4narpcusfxtg{\202sfz\37vh\177xj\201\200p\212\210x\223"
+  "\232\212\247\250\227\267\241\220\260\214{\235\201p\222\206r\227\200i"
+  "\223\177h\224\203l\230\211r\236\213t\240\211r\236\214u\243\223|\252\224"
+  "}\253\231\202\260\240\211\267\246\217\275\253\223\303\256\226\306\255"
+  "\225\305\253\224\302\241\207\264\234\202\257\224z\247\216t\241\215s\240"
+  "\202\216t\241\2\215s\240\205k\230\202\211o\234U\204j\227\207m\232\215"
+  "s\240\212p\235~g\221xb\211\210t\231\241\215\262\260\234\301\224\177\246"
+  "\213v\235\211t\235\214w\240\217x\242\216w\241\214u\241\213t\240\214u"
+  "\241\217x\244\223|\252\226\177\253\244\215\271\250\221\273\257\230\302"
+  "\267\240\312\274\245\321\270\241\315\251\222\276\233\204\260\231\202"
+  "\256\220y\245\210q\237\206o\235\203l\232~g\225yb\220xa\215\201h\222{"
+  "b\212rY\201}d\214\210r\231nX~VBgjVy\241\220\262\250\227\267\220\200\233"
+  "sc}rd{tg{obtqduk`ncYdi_joepkcnmfnjckYRZ>7>!\32!LFJvpt{wxUQR[WXYUVIEF"
+  "XTU`\\]XTUNJKLHIPLMRNO]YZgcdkghOKLWSTKGHWST_[\\\202SOP\203TPQ\203UQR"
+  "\12SOPRNOQMNRNOUQRWSTVRSUQRRNOUQR\202WST\2UQRSOP\202RNO\210SOP\3RNOL"
+  "HIOKL\202YUV\6PLMNJKUQRPLMMIJQMN\202YUV\2QMNOKL\211SOP\1NJK\202WST-O"
+  "KLVRSc_`]YZJFG[WX`\\]mijnjkb^_\\XYPLM:67\13\7\10""623mij}yz|xy:67401"
+  "[WXNJKIEF956$\40!\36\32\33""0,-QMNiefZVWTPQOKL@<=\\XYUQRYUVWSTQOPRPQ"
+  "SQTUSVYTX[VZ]X^^Y_\202aZb\3dZef\\gi^l\202k`n\4k`pnaspcwtg{\203ug~\15"
+  "xh\202yi\204\201q\216\177n\216\213z\232\237\216\260\250\224\267\234\210"
+  "\255\216z\237\212u\234\207p\232\205n\232\211r\236\202\217x\244\15\215"
+  "v\242\220y\245\226\177\253\232\203\261\243\214\272\255\226\304\260\231"
+  "\307\256\227\305\250\221\277\236\207\265\225~\254\220v\243\216t\241\202"
+  "\214r\237\\\213q\236\210n\233\204j\227\201g\224\202h\225\206l\231\204"
+  "j\227\200f\223\177e\222\200f\223y_\214kT~wa\210\210t\231\237\213\260"
+  "\252\226\273\214w\236\206q\230\206q\232\211t\235\204m\227\203l\226\203"
+  "l\230\202k\227\203l\230\207p\234\214u\243\221z\246\216w\243\226\177\251"
+  "\244\215\267\262\233\305\270\241\315\265\236\312\257\230\304\252\223"
+  "\277\230\201\255\216w\243\204m\233~g\225{d\222zc\221yb\220zc\217\205"
+  "l\226\210o\231\205n\230\230\201\253\236\207\261xb\211gRy\203o\224\243"
+  "\217\262\256\233\273\227\207\244yi\204vf\200vg~pbytg{odtpes|q\177\200"
+  "v\201tjuoepf_gUNV\35\26\35B;Btnr\202|\200\201{\177>8<512[WXLHIHDE:67"
+  "&\"#\37\33\34""1-.PLMhdeZVWSOPNJK\77;<[WXUQRZVWYUV\206TPQ\202UQR\4SO"
+  "PRNOPLMQMN\202SOP\1RNO\202PLM\7SOPVRSWSTUQRTPQSOPTPQ\210SOP\3VRSOKLP"
+  "LM\202XTU\4NJKLHISOPVRS\202RNO\5VRSXTUUQRTPQUQR\210SOP.RNOYUVWSTNJKO"
+  "KLRNOEAB/+,<89FBCRNOFBC2./734GCDHDEd`a\217\213\214\240\234\235\221\215"
+  "\216\234\230\231VRS1-.EABNJKZVWd`ab^_UQRHDEB>\77A=>=9:\26\22\23\7\3\4"
+  "\36\32\33jfgqmn^Z[B>\77SQRTRSUSVWUX[VZ\\W[\202^Y_\5c\\db[ce[fg]hi^l\202"
+  "k`n#k`ppcwrd{tf}ug\200vh\201vh\202yi\206zj\207|k\213\200o\221\204s\225"
+  "\214{\237\235\211\256\247\223\270\236\212\257\216y\240\213t\236\212s"
+  "\237\214u\241\220y\245\224}\251\230\201\255\236\207\263\244\215\271\253"
+  "\224\302\260\231\307\257\230\306\245\216\274\233\204\262\225~\254\221"
+  "z\250\214u\243\212p\235\207m\232\202\205k\230\5\204j\227\201g\224\177"
+  "e\222\200f\223\201g\224\202\202h\225\15\200f\223\177e\222~d\221x^\213"
+  "oX\202|g\216\212v\233\235\211\256\246\222\267\212u\234\205p\227\207r"
+  "\233\212u\236\202\204m\227\12\203l\230\201j\226\200i\225\201j\226\205"
+  "n\234\210q\235\207p\234\213t\236\225~\250\236\207\261\202\241\212\266"
+  "\10\246\217\273\255\226\302\240\211\265\234\205\261\223|\252\212s\241"
+  "\207p\236\211r\240\202\213t\242&\207m\232\245\214\266\251\222\274\241"
+  "\212\264\213t\236mV\200s^\207\221|\243wc\210}i\214o^~cSpm]xwg\201tf\177"
+  "se|f[lf[ki^n^SaJ\77MJ at KRJUPIQvow\232\223\232\244\235\244\225\217\223"
+  "\242\234\240\\VZ2./EABRNO[WXc_`_[\\RNOGCD\202C\77@\10;78\25\21\22\5\1"
+  "\2\34\30\31iefplm^Z[B>\77\203UQR\203TPQ\202SOP\12TPQRNOPLMQMNRNOSOPQ"
+  "MNOKLRNOTPQ\202VRS\1TPQ\202SOP\1UQR\210SOP\20TPQQMNRNOXTU[WX\\XY_[\\"
+  "eabVRSZVWYUVSOPPLMTPQXTUYUV\210SOP\1RNO\202UQR\202RNO\30OKLD at A845`\\"
+  "]YUVLHI/+,\23\17\20\27\23\24\"\36\37\35\31\32<89fbc{wx^Z[c_`SOPnjk\225"
+  "\221\222\205\201\202\201}~yuvkgh]YZ\202SOP\21WST.*+,()D at A\\XY\200|}d"
+  "`a`\\]iefVTUWUVXVYYWZ\\W]]X^^W__X`\202c[f\7f[ii^llaqodtqduqdvvg~\202"
+  "vf\200\1vf\201\202vf\203\34wf\206xg\211{g\212\202n\223\204p\225\204o"
+  "\226\220{\242\241\214\263\244\217\266\232\205\254\220y\243\222{\245\222"
+  "{\247\224}\251\231\202\256\237\210\264\243\214\270\244\215\271\242\213"
+  "\267\247\220\274\243\214\272\225~\254\211r\240\207p\236\211r\240\212"
+  "s\241\204m\231\201j\226\202~g\2230}f\222|e\221\200i\225\204m\231\201"
+  "j\226\177h\224\200i\225\204m\231\205n\232\203l\230\202k\227\204m\227"
+  "\207r\231\220|\241\236\212\257\247\223\270\214w\236\206q\230\206q\232"
+  "\211t\235\210q\233\211r\234\207p\234\203l\230\177h\224|e\221}f\224\177"
+  "h\224\207p\234\210q\233\216w\241\225~\250\224}\251\221z\246\226\177\253"
+  "\237\210\264\246\217\273\253\224\300\250\221\277\236\207\265\233\204"
+  "\262\237\210\266\240\211\267\234\205\263\236\207\263\255\226\302\223"
+  "|\250r[\207\202_Ht\7v_\213\200i\223hSzgSxeQtgTtrb\177\202}m\210\"vh\201"
+  "{o\203peveZkQFV;0@<1\77C9D<2;JCKoho\201z\201f_fmgkZTXqko\227\221\225"
+  "\211\205\206\203\177\200yuvjfg[WXQMNRNOWST+'()%&B>\77ZVW~z{c_`_[\\hd"
+  "eWST\202VRS\3UQRTPQSOP\202RNO\10SOPRNOQMNRNOTPQVRSUQRSOP\203XTU\4UQR"
+  "QMNPLMQMN\211SOP\2NJKUQR\202[WX\14ZVWXTUQMNIEF401PLMa]^XTUMIJRNOXTUU"
+  "QR\211SOP'OKLQMNWSTYUVUQRTPQXTUOKLMIJVRSd`axtu\221\215\216\217\213\214"
+  "rno\203\177\200\200|}tpq845$\40!3/0rno\214\210\211uqroklhdea]^ZVWVRS"
+  "ZVW`\\]b^_c_`\201}~\223\217\220\234\230\231a]^NJKXTU\202XVW\2YWZZX[\202"
+  "]X^\202^W_\202c[f\31g\\jj_modtrgwuhzvi}zj\204yi\204wg\202ue\202tc\203"
+  "tc\205ud\206ve\211|g\216\177j\221\202m\224\205p\227\213v\235\225\200"
+  "\247\240\213\262\250\223\272\233\204\256\236\207\261\236\207\263\202"
+  "\233\204\260\24\235\206\262\231\202\256\222{\247}f\222\215v\242\227\200"
+  "\256\223|\252\212s\241\204m\233\200i\227|e\223~g\223\177h\224\204m\231"
+  "\210q\235\207p\234\201j\226\177h\224\202k\227\207p\234\202\202k\227\202"
+  "\206o\233\\\203l\230\206o\233\215v\240\221|\243\225\201\246\240\214\261"
+  "\250\224\271\214w\236\204o\226\201l\225\203n\227\200i\223\202k\225\204"
+  "m\231\203l\230\200i\225\177h\224\201j\230\204m\231\177h\224\202k\225"
+  "\215v\240\231\202\254\231\202\256\221z\246\220y\245\226\177\253\241\212"
+  "\266\255\226\302\257\230\306\246\217\275\242\213\271\247\220\276\246"
+  "\217\275\236\207\265\230\201\255\232\203\257xa\215\\EqZCoxa\215\245\216"
+  "\272\260\231\305\252\225\276\260\233\302\267\243\310\257\233\276\227"
+  "\206\246\206v\223|l\211sc}pcwi^opev}r\203\210}\216\230\215\235\227\214"
+  "\232\203y\204\217\207\222\212\203\213\177x\200F\77F2+2<6:wqu\221\213"
+  "\217sopplmkgheab]YZWSTVRSZVW]YZ_[\\~z{\221\215\216\233\227\230`\\]LH"
+  "IVRSXTUWSTVRSUQRSOPRNOQMNPLMSOP\202QMN\2SOPWST\202YUV\11XTU]YZ\\XYYU"
+  "VUQROKLMIJNJKPLM\210SOP\20PLM_[\\fbc]YZMIJ:67\35\31\32\3\0\0\7\3\4>:"
+  ";fbca]^QMNRNOTPQMIJ\210SOP\3[WXQMNOKL\202VRS\14NJKSOPa]^TPQSOPRNOTPQ"
+  "XTU_[\\fbcjfgplm\202rno\31YUVA=>[WXwstlhi_[\\\\XYZVWXTUQMNMIJ[WXnjkd"
+  "`alhi~z{\205\201\202vrseab\\XYXTU^Z[YUVVQUUPT\202SNT\25[T\\c\\daWbj_"
+  "mrgwqfvpcurewtg{ug~sc~vf\203{k\210\203r\222\207s\226}i\216va\210|g\216"
+  "\204o\230~i\222\203l\226\202\210q\233\24\216w\241\233\204\256\242\213"
+  "\265\253\224\276\241\212\264\243\214\266\230\201\253\256\227\301\220"
+  "y\243\217x\244\230\201\255\245\216\272\265\236\312\250\221\275\206o\233"
+  "zc\221\205n\234\210q\237\201j\230\201j\226\202\202k\225\5\224}\247\217"
+  "x\242\214u\237\201j\224\206o\231\205\207p\232\202\210q\233\25\207p\232"
+  "\213v\235\221}\242\246\222\267\230\204\251\216y\240\206q\230\207r\233"
+  "\205p\231\202k\225\200i\223}f\222|e\221~g\223\202k\227\207p\236\212s"
+  "\237\202k\227\222{\245\235\206\260\217x\242\202\210q\235\11\201j\226"
+  "\206o\233\223|\250\230\201\255\242\213\271\257\230\306\265\236\314\260"
+  "\231\307\245\216\274\202\236\207\265^\217x\246\220y\247qZ\210w`\216\231"
+  "\202\260\254\225\301\250\221\275\226\177\251\220z\241\207s\230\177k\216"
+  "zf\211xe\205wd\202td\177rd{qdxpcwpcurgxvk{xm}yn|}s~\177u~~w\177c\\cK"
+  "DKc\\c~x|rlp_[\\[WXZVWWSTOKLJFGTPQeab\\XY_[\\sop\177{|mij]YZYUVUQR\\"
+  "XYSOPLHIKGHHDEFBCMIJYUVGCDUQR^Z[YUVUQRWSTXTUVRSTPQXTUYUVa]^hdeZVWLHI"
+  "RNOZVWOKLSOPYUVRNOPLMRNOMIJ_[\\QMN_[\\D at ARNO\3\0\0\31\25\26UQRyuv\236"
+  "\232\233\216\212\213UQREABYUV_[\\\202SOP\202RNO\202QMN\202RNO\2SOPTP"
+  "Q\203UQR\203TPQ\1UQR\202SOP\202RNO\15SOPTPQUQRVRSXTU^Z[]YZHDE;78VRS{"
+  "wx\211\205\206_[\\\202ZVW\7]YZZVWWST_[\\lhi|xyzvw\202\177{|Sqmneab`\\"
+  "]\\XY[WXYUVYTX\\W[_Z`a\\be^fialk`nlaok`pj_onassfxtg{rd{o_zzj\207}l\214"
+  "xg\211ua\206q\\\203t_\210\177j\223\202m\230}h\223\204m\231\213t\240\210"
+  "q\233\214u\237\234\205\257\250\221\273\256\227\301\257\230\302\254\225"
+  "\277\253\224\276\233\204\256\214u\237\237\210\264\255\226\302\262\233"
+  "\307\243\214\270\215v\242\200i\225\177h\226}f\224{d\222}f\222\205n\230"
+  "\204m\227\210q\233\221z\244\233\204\256\221z\244\210q\233\211r\234\215"
+  "v\240\213t\236\210q\233\207p\232\210q\233\212s\235\213t\236\212t\233"
+  "\214w\236\220|\241\243\217\264\225\201\246\216y\240\211t\233\215x\241"
+  "\213v\237\213t\236\210q\233\204m\231\203l\230\204m\231\207p\234\211r"
+  "\240\202\211r\236\7\213t\236\212s\235~g\221\177h\224\204m\231{d\220|"
+  "e\221\202\215v\242C\222{\251\240\211\267\263\234\312\274\245\323\263"
+  "\234\312\245\216\274\244\215\273\224}\253\217x\246|e\223\207p\236\234"
+  "\205\263\243\214\270\217x\244\204m\231\202k\225\177j\221~j\217|h\213"
+  "zf\211xe\205vc\177sc}qczoaxobvnbvnctmbslaqmbppfqjckTMUHAH`Y`\177y}\207"
+  "\201\205_[\\YUVXTU\\XYYUVRNOUQR_[\\hdec_`oklxtujfg]YZXTUPLMVRSPLMOKL"
+  "UQRWSTSOPQMNTPQYUVWSTPLMKGHOKL\202WST\15PLMHDE]YZ^Z[OKLHDEFBCIEFUQRX"
+  "TUSOPZVW[WX\202NJK\23]YZd`aJFGd`a]YZ@<=!\35\36($%gcd~z{\240\234\235\206"
+  "\202\203b^_RNOSOPNJKIEFNJKVRS\202UQR\202TPQ\202UQR\13VRS[WXWSTRNOOKL"
+  "PLMRNOTPQUQRRNOSOP\202TPQ\25RNOPLMMIJKGHQMN[WXXTUPLMQMNPLMSOP^Z[\\XY"
+  "UQRVRS\\XY[WXUQRWST`\\]\203\177\200\202~z{\27{wxokleab_[\\YUVZVWXTUY"
+  "TX_Z^f_fhahhaih`kj_mlaqnaspcutg{xk\177yk\202wi\202~n\213~k\213\202\200"
+  "l\217&mX\177S>gZCmzc\217\217x\246\177h\226}f\224\210q\235\220w\241\223"
+  "z\244\230\177\247\232\201\251\250\221\273\273\244\316\274\245\317\273"
+  "\244\316\201j\224\200i\223\242\213\265\273\244\316\246\217\273\213t\240"
+  "xa\215|e\221\201j\226}f\222{d\220\202k\227\206o\231\205n\230\212s\235"
+  "\214u\237\244\215\267\226\177\251\217x\242\213t\236\222{\245\216w\241"
+  "\202\211r\234\16\214u\237\220y\243\222{\245\222|\243\222}\244\222~\243"
+  "\242\216\263\223\177\244\216y\240\214w\236\217z\243\216y\242\214u\237"
+  "\213t\236\202\212s\237\5\211r\236\206o\233\200i\227|e\221\205n\232\202"
+  "\206o\231.{d\216{d\220~g\223xa\215~g\223\211r\236\212s\237\215v\244\227"
+  "\200\256\250\221\277\265\236\314\262\233\311\247\220\276\232\203\257"
+  "\222{\247\211r\240\177h\226\211r\240\223|\252\243\214\272\225~\252{d"
+  "\220{d\216|f\215}g\215}g\213|f\212ze\206wd\202ue\200se|qczpcwnauk^pg"
+  "\\mdYif[indoj`ibXabX`^T\\[T[a[_^Z[\202VRS\7]YZ[WXQMNLHIOKLoklb^_\202"
+  "a]^\10UQRPLMQMNKGHIEFFBCHDEQMN\202XTU\202VRS\1SOP\202TPQ%UQRZVW^Z[ZV"
+  "WSOP[WXYUV\\XY^Z[@<=\17\13\14\27\23\24NJKiefOKLEABLHIRNOXTUVRSIEFPLM"
+  "`\\]VRSeab\16\12\13&\"#zvw\264\260\261\224\220\221b^_B>\77PLM[WXOKLI"
+  "EFVRS\202SOP\1RNO\202QMN\1RNO\202SOP\10^Z[VRSMIJKGHPLMWSTZVW[WX\202S"
+  "OP\204UQR\4SOPRNOXTUMIJ\202401\5QMN[WX_[\\wsteab\202^Z[\14c_`]YZSOPT"
+  "PQ_[\\hdeqmn\202~\177\213\207\210\204\200\201zvwsop\202kgh\1hde\202f"
+  "ae\2ibiibj\202ial)k`ppeuwj|xk}xk\177zm\201~p\207\202r\214zg\205ub\202"
+  "wc\206|h\215p[\202]Hqr[\207\237\210\264\225~\254\214u\243\216w\245\225"
+  "~\252\224z\247\223z\244\233\202\252\244\213\263\263\234\306\266\237\311"
+  "\260\231\303\251\222\274\202k\225\217x\242\223|\246\240\211\263\217x"
+  "\244\203l\230}f\222~g\223\200i\225\203l\230\206o\233\207p\234\207p\232"
+  "\202\212s\2358\215v\240\246\217\271\241\212\264\225~\250\217x\242\222"
+  "{\245\215v\240\212s\235\214u\237\222{\245\230\201\253\231\202\254\230"
+  "\202\251\230\203\252\226\202\247\244\220\265\225\201\246\220{\242\215"
+  "x\237\217z\243\213v\237\212s\235\217x\242\225~\252\230\201\255\225~\252"
+  "\216w\243\206o\235\202k\227\206o\233\220y\243\230\201\253\213t\236~g"
+  "\223v_\213qZ\206}f\222zc\217\205n\232\222{\251\233\204\262\241\212\270"
+  "\247\220\276\257\230\306\266\237\315\245\216\272\232\203\257\202k\231"
+  "v_\215\177h\226\202k\231\231\202\260\220y\245\202k\227\200i\223~h\217"
+  "\202|f\214%|f\212{f\207yf\204xh\203ug\200tf\177rd{qczobvk_si^ok`pdYg"
+  "LBMJ at IaW`g]ejcj\204~\202kfjb^__[\\c_`^Z[QMNLHIRNO]YZZVWd`agcdZVWVRSZ"
+  "VWVRSWSTTPQ\202RNO\25TPQUQRXTU[WXNJKWST`\\]a]^^Z[]YZa]^eabUQRJFGMIJY"
+  "UVC\77@\34\30\31""845\206\202\203lhi\202^Z[\27`\\]XTUWSTZVWVRSoklIEF"
+  "623WST/+,JFG^Z[\225\221\222jfgVRSNJKSOPTPQUQRYUVXTUTPQSOP\204RNO\13S"
+  "OPTPQXTUPLMIEFKGHUQR_[\\b^_a]^TPQ\202SOP\12RNOSOPTPQVRSWSTLHIKGH@<=J"
+  "FGb^_\202`\\]\177yuv^Z[VRSSOPTPQLHIB>\77KGH\\XYa]^njk\204\200\201\215"
+  "\211\212\210\204\205\211\205\206\221\215\216\224\220\221\206\201\205"
+  "\203~\202~y}vquqjqpiqsitukvujzwl|yl~yl\200vh\177rd{rb|sc~|i\207\204q"
+  "\221}g\213kU{fPwr[\205\213t\240\243\214\272\236\204\264\220v\246\214"
+  "r\241\222x\245\226|\251\235\204\256\247\216\266\254\223\273\260\231\303"
+  "\253\224\276\251\222\274\215v\240\206o\231\222{\245\200i\223\220y\243"
+  "\221z\246\210q\235\205n\232\203l\230\177h\224\206o\233\213t\240\205n"
+  "\232\212u\236\220{\244\211t\235\224\177\250\242\215\266\255\230\301\235"
+  "\210\261\225\200\251\217z\243\214w\240\213v\237\217z\243\225\200\251"
+  "\231\204\255\230\203\254\225\200\247\226\201\250\225\201\246\244\220"
+  "\265\227\203\250\224\177\246\222}\244\223~\247\216y\242\223|\246\233"
+  "\204\256\243\214\270\245\216\272\241\212\266\234\205\261\234\205\263"
+  "\235\206\262\250\221\275\242\213\265\226\177\251}f\220t]\211xa\215{d"
+  "\220\212s\237\205n\232\217x\244\234\205\263\241\212\270\227\200\256\220"
+  "y\247\230\201\257\250\221\277\263\234\310\245\216\272\212s\237\205n\232"
+  "\233\204\260\234\205\261\244\215\271\220y\245\205n\232\202k\225\177i"
+  "\220}g\215\177f\215~f\212\24~f\210{f\205xh\203ug\201se\177rd}qczqdxp"
+  "cwobtg\\leZhXNY]S\\qgplbkj`h\202|\200gbf[WX\202TPQ\24LHIA=>FBCUQRVRS"
+  "a]^tpqvrsd`aa]^lhinjkjfglhijfgc_`[WXXTUZVW\\XY\202`\\]\3_[\\[WXVRS\202"
+  "QMN\16TPQXTUgcdVRS3/0*&'\77;<fbc\212\206\207{wx_[\\RNOWST[WX\202b^_\21"
+  "VRSKGHNJKSOP\37\33\34($%c_`PLMnjkokla]^]YZWSTLHISOPZVWMIJ\202YUV\1XT"
+  "U\202WST\1XTU\202YUV\32PLMKGHHDEMIJWST^Z[]YZYUVUQRSOPQMNOKLNJKOKLPLM"
+  "QMNIEF_[\\tpq|xynjkLHI>:;JFGc_`SOP\202JFGEFBCB>\77PLMfbc\177{|yuvplm"
+  "`\\]VRShde\212\206\207\240\234\235\211\204\210\212\205\211\207\202\206"
+  "\177z~yrzwpxyozzp{vk{ujzwj~yl\200tf}fXoWGaN>YkXvr_\177oY\177fPvjS}v_"
+  "\213\201j\230\212s\241\241\207\267\225{\253\217u\244\217u\242\223y\246"
+  "\240\207\261\255\224\274\260\227\277\242\213\265\227\200\252\224}\247"
+  "t]\207\210q\233\222{\245\202k\225\216w\241\242\213\267\207p\234\177h"
+  "\224\205n\232\204m\231\207p\234\215v\242\211r\236\214w\240\220{\244\213"
+  "v\237\226\201\252\231\204\255\257\232\303\245\220\271\231\204\255\221"
+  "|\245\202\220{\244\11\222}\246\226\201\252\227\202\253\224\177\250\221"
+  "|\243\217z\241\220|\241\243\217\264\231\205\252\202\230\203\252\6\233"
+  "\206\257\230\203\254\241\212\264\243\214\266\243\214\270\236\207\263"
+  "\202\230\201\255\32\236\207\265\245\216\272\234\205\261\225~\250\215"
+  "v\240\204m\227\220y\245\233\204\260\215v\242\205n\232\203l\230\205n\232"
+  "\210q\237\212s\241\205n\234\203l\232\214u\243\230\201\257\236\207\263"
+  "\243\214\270\242\213\267\244\215\271\270\241\315\260\231\305\247\220"
+  "\274\223|\250\202\200i\223X\177i\220\177i\217\201h\217\200h\214~f\210"
+  "{f\207xh\205ug\201rd~pb|pb{oaxnaum`rf[ltiw\202w\205\212\200\213\200v"
+  "\177`V_LBJPJNkeiYUVLHIIEFD at A@<=NJKc_`wstqmniefQMN845B>\77a]^qmnNJKWS"
+  "T^Z[_[\\^Z[`\\]_[\\]YZa]^ZVWWSTZVWVRSC\77@)%&\30\24\25;78HDE<89+'(40"
+  "1FBCSOP]YZ\204\200\201fbcSOPMIJHDENJKVRSSOPA=>RNOYUV\5\1\2*&'`\\]RNO"
+  "a]^\216\212\213^Z[OKLWSTPLMRNOZVWPLMWSTVRS\204UQR\3VRSWSTMIJ\202KGH\1"
+  "OKL\202TPQ\2OKLJFG\204UQR\4TPQSOPQMNPLM\202]YZ\10d`a\\XYC\77@;78MIJ\\"
+  "XYyuv\\XY\202GCD\20KGHMIJZVWlhitpqfbcSOP\77;<845OKLqmn\203\177\200rm"
+  "qytx\177y}\201{\177\202\202{\203\2\200v\201{q|\202rgw!reynaucUlVHaRB"
+  "\\RB]S@^VAb]GmpZ\200\205n\230\213t\240\213t\242\222z\252\215s\243\226"
+  "|\254\236\204\263\230~\253\220v\243\231\200\252\251\220\270\256\225\274"
+  "\226\200\247\177i\220jS}mV\200\223|\246\244\215\267\241\212\264\215v"
+  "\240\246\217\271\206o\231}f\222\202\207p\234\6\212s\237\221z\246\215"
+  "v\242\215x\241\213v\237\220{\244\202\223~\247\3\250\223\274\255\230\301"
+  "\232\205\256\202\225\200\251\2\226\201\252\227\202\253\202\230\203\254"
+  "\40\225\200\251\223~\245\221|\243\222~\243\246\222\267\233\207\254\232"
+  "\205\254\233\206\255\237\212\263\235\210\261\245\216\270\241\212\264"
+  "\233\204\260\224}\251\220y\245\224}\251\233\204\262\242\213\267\251\222"
+  "\276\240\211\263\213t\236qZ\204xa\215\221z\246\226\177\253\232\203\257"
+  "\233\204\260\224}\251\200i\227kT\202bKyfO}\202kT\202\13\214u\241\241"
+  "\212\264\265\236\312\254\225\301\261\232\306\242\213\267\217x\244\206"
+  "o\233\207p\232\205n\230\203j\222\202\201h\217,\200h\214\177g\211|g\210"
+  "zj\207wh\205vh\202ug\201tf\177se|pcwnasshypestiwndoYOXRHQ_U]hbf\201{"
+  "\177c_`LHIIEFJFGKGHXTUkghsopa]^LHI1-.\40\34\35""3/0RNO\\XY/+,512;78C"
+  "\77 at RNO`\\]a]^YUVPLM\202NJK\5MIJ@<=+'(\34\30\31\30\24\25\202\26\22\23"
+  "\40\36\32\33>:;`\\]a]^ZVWb^_XTU_[\\iefUQR)%&\36\32\33\77;<]YZYUV956\34"
+  "\30\31\36\32\33\\XYuqrwst]YZ\221\215\216VRSHDEWSTPLMSOP^Z[TPQPLMOKL\204"
+  "NJK\3OKLPLMMIJ\202NJK\10PLMQMNOKLJFGGCDUQRXTU\\XY\202_[\\S]YZZVWWSTg"
+  "cdQMNLHIEAB3/0;78MIJHDEhdeA=>!\35\36\40\34\35*&'/+,734C\77@;78<89D at A"
+  "LHITPQc^bmhlkfj^Y]jeiysw\205~\205\216\207\217\220\211\221\212\200\213"
+  "\200u\203wl|tizk^rXK_E7NF8QbRl~n\211\203p\220\210r\230\203m\224\200j"
+  "\221\215v\240\225~\252\216w\245\204l\234}c\223tZ\211pV\205|b\217\225"
+  "{\250\251\220\272\234\203\253|c\213qZ\204xa\213pY\203\210q\233\216w\243"
+  "\226\177\251\274\245\317\254\225\277\241\212\264\213t\236\211r\236\214"
+  "u\241\205n\232\212s\235\221z\246\210q\233\222}\246\211t\235\230\203\254"
+  "\221|\243\224\177\246\244\217\266\266\241\310\235\210\257\202\231\204"
+  "\253\32\232\205\254\233\206\255\234\207\256\233\206\257\232\205\256\232"
+  "\205\254\230\204\251\231\205\252\253\227\274\236\212\257\232\205\254"
+  "\231\204\253\235\210\257\234\207\256\240\213\264\233\206\257\227\200"
+  "\252\225\200\251\232\203\255\240\213\264\251\222\276\254\227\300\235"
+  "\207\256\255\230\277\256\230\277\212t\233\202s\\\206\10pY\203v_\211\200"
+  "i\223}f\222iR~O8fP9gmV\204\202\200i\227\21\223|\252\243\214\272\271\242"
+  "\320\251\222\300\263\234\312\257\230\306\233\204\262\226\177\255\226"
+  "\177\253\217x\244\210o\231\201h\220~e\214~f\210\177g\207\177j\211~k\211"
+  "\202|l\207\202}m\210\77zl\205vh\177sfz{n\200i^ni^laWbI\77HLBJ]TYXRVq"
+  "kmJFG+'('#$,().*+623C\77@:67845@<=FBCJFGXTU[WXKGH:67401-)*1-.FBC[WX\\"
+  "XYPLMNJKMIJD at A+'(\17\13\14\14\10\11""1-.[WXd`ahdeYUVQMNfbcrno`\\]KGH"
+  "2./\23\17\20\7\3\4\24\20\21#\37\40-)*%!\"\17\13\14\30\24\25-)**&'`\\"
+  "]\202_[\\\12\251\245\246\225\221\222\201}~]YZ[WX]YZHDENJK[WXGCD\202O"
+  "KL\204NJK\202OKL\6NJKOKLQMNRNOQMNPLM\202OKL\26D at Ac_`iefVRSPLMVRSa]^o"
+  "kl[WXHDEEAB.*+$\40!956C\77 at JFGMGK2,0\4\0\0\33\25\27A;=@:<\202PJJ8@:<"
+  "NHJXRVb\\`nhllelngn}v}touvqw\212\205\213\205\200\207\210\203\212\236"
+  "\230\242\226\216\233\206~\213qfvaVgL at TJ>RdVm\204v\215\215\177\230\205"
+  "u\222\217z\241\215v\242\216w\243\220y\245\211r\236\200i\227\204m\233"
+  "\217x\246\223|\252\214u\243\220y\247\243\214\270\264\235\311\262\233"
+  "\307\244\215\267\230\201\255\216t\243\214r\241\215s\242\211o\234\216"
+  "t\243\251\217\274\265\233\310\245\213\270\220y\245\216w\243\213t\236"
+  "\211r\234\212s\235\216x\237\222{\245\225\177\246\202\222|\243\11\224"
+  "\177\246\226\202\247\233\207\254\247\223\270\257\233\300\254\230\275"
+  "\241\215\262\240\214\261\236\215\261\202\237\216\262e\237\215\263\236"
+  "\214\262\235\213\261\225\204\250\243\222\266\246\225\271\233\212\256"
+  "\236\215\261\241\220\264\231\210\254\234\213\257\233\211\257\235\214"
+  "\260\236\212\257\236\215\261\242\216\263\257\236\302\304\260\325\267"
+  "\246\312\264\240\303\270\247\307\252\226\271\216z\235\206r\227\220|\241"
+  "\206q\230mX\177ePw_JsfO{yb\216\210q\237\213t\242\215v\244\224|\254\200"
+  "h\234\214s\252\245\215\301\266\236\320\260\230\312\245\215\275\241\211"
+  "\271\237\207\267\227|\257\221w\247\212p\237\205l\226\200g\216\177g\207"
+  "\203l\210\210q\215t`{\203p\214\206s\217wd\200ub~wg\202xh\203\202t\215"
+  "ug~m`raVfF<G:3:MGKWQSXRRVPR<6:\13\5\7#\35\37C===77NHHSMM>88MGGVPP_YY"
+  "hbda[]_Y]mgk_[\\QMNc_`MIJEABZVWKGHIEF2./\"\36\37\12\6\7\7\3\4""0,-ea"
+  "btpqd`anjkjfg\202kgh\1]YZ\202JFG\202WST\37OKLC\77 at D@AXTUkghjfg]YZZVW"
+  "YUV`\\]^Z[eab\214\210\211\226\222\223oklb^_^Z[WSTPLMMIJOKLTPQXTUOKLR"
+  "NONJKPLMWSTNJKGCDPLM\202YUV\13XTUZVW^Z[_[\\VRSLHIc_`YUVJFGEABD at A\202"
+  "623\23LHIEAB;780,-\27\23\24+'(^Z[njkxtu\240\232\236\212\204\210TNPYS"
+  "Uvprtnpqkk[UUtnprln\202hbf.vov{t{\203|\204\224\215\225\202}\203\200{"
+  "\201\204\177\206\202}\204zt~tnx{s\200\221\211\230\214\201\222\204y\212"
+  "\203w\213\213\177\223\214~\225\207y\220\215\177\230\234\214\251\232\205"
+  "\254\233\204\262\236\207\265\234\205\263\220y\247\205n\234\213t\242\232"
+  "\203\261\235\206\264\240\211\267\251\222\276\264\235\311\270\241\315"
+  "\256\227\303\235\206\262\221z\246\225{\252\221w\247\217u\244\212p\237"
+  "\214r\241\237\205\264\246\214\271\231\177\254\224}\251\222{\247\202\217"
+  "x\242\32\220z\241\221{\242\217y\240\215w\236\235\207\256\241\213\262"
+  "\237\213\260\232\206\253\236\212\255\250\224\267\262\236\301\267\243"
+  "\306\244\220\263\234\210\253\232\211\253\237\216\260\241\220\264\246"
+  "\225\271\247\225\273\241\217\265\233\212\256\247\226\272\254\233\277"
+  "\243\222\266\240\217\263\241\220\264\202\235\214\260a\231\210\254\240"
+  "\217\263\240\217\261\247\226\270\257\236\300\274\253\315\310\267\331"
+  "\276\255\317\273\252\312\266\245\305\245\224\266\221\200\242\220|\241"
+  "\232\205\254\234\207\260\223~\251\225\177\255\214v\245\212t\245\222{"
+  "\257\226\177\265\221z\260\217x\256\222z\264\236\206\304\227\177\275\224"
+  "|\270\225}\267\230\201\271\234\205\275\224}\265\202k\243\177f\237}d\235"
+  "\200h\234\213s\243\223|\250\217y\237\203n\217ze\204\210s\222xe\203u`"
+  "\177q^|gTr[Kf_Oin`w]OfZM_ODT:0;E>Fkeiysw{uw\247\241\245\217\211\215W"
+  "QU^XZ|vxxrrqkk[UUuootnnjddiccsmouoqztx\212\204\210vrslhiokld`aOKL956"
+  "'#$401.*+/+,EABeabjfg_[\\hde\202~\177zvw\201}~\212\206\207\204\200\201"
+  "hdeNJKRNOgcdhde\203jfg\7qmnuqrlhi_[\\njkgcdfbc\202`\\]\25yuv~z{_[\\["
+  "WXZVWYUVXTUUQRPLMKGHGCD[WXc_`]YZWST\\XY[WXYUV`\\]TPQQMN\202MIJ\10SOP"
+  "YUV[WXYUV956JFG=9:\35\31\32\202\17\13\14&\23\17\20\33\27\30\6\2\3""1"
+  "-.MIJEABfbc\222\216\217\225\221\222\242\236\237oimlfjE\77A=79VPRgaco"
+  "iia[[pjlrlnmgkuos\205~\205\203|\203|u}\201z\202jekpkq`[bb]dtlwrjuzr\177"
+  "\220\210\227\232\217\240\233\220\241\240\223\247\245\227\256\202\246"
+  "\230\261+\247\231\262\252\232\267\261\234\303\242\213\267\226\177\253"
+  "\232\203\257\240\211\265\237\210\264\232\203\257\231\202\256\254\225"
+  "\301\266\237\313\276\247\323\273\244\320\257\230\304\236\207\263\216"
+  "w\243\204m\231\221w\246\215s\242\216t\243\220v\245\224z\251\236\204\263"
+  "\240\211\265\227\200\254\234\205\257\227\200\252\221z\244\217x\242\222"
+  "|\243\225\177\246\225\200\247\224\177\246\221|\243\225\200\247\233\207"
+  "\254\250\224\271\257\233\276\246\222\265\251\226\266\277\254\314\253"
+  "\232\272\202\237\216\256\12\243\222\262\236\215\257\240\217\261\244\223"
+  "\267\236\215\261\260\237\303\245\224\270\245\224\266\253\232\274\244"
+  "\223\265\202\232\211\253v\237\216\260\234\213\255\254\233\275\250\227"
+  "\271\245\224\266\255\234\276\303\262\324\350\327\371\374\353\377\373"
+  "\352\377\365\344\377\355\333\377\347\325\375\344\322\374\342\317\374"
+  "\340\314\375\337\313\377\332\305\376\320\273\366\312\264\364\312\264"
+  "\365\310\261\365\300\251\357\273\244\354\274\244\356\270\242\355\266"
+  "\240\351\265\237\347\271\244\351\304\257\362\313\266\367\265\240\341"
+  "\217z\273pZ\233iS\223gQ\217nY\224s^\226kW\212XEsI6clZ\202lZ\200iUzUD"
+  "fA1NA1KH9PD7I7*<NCS]R`]S^xp{\236\226\241\245\235\250\247\240\250vovq"
+  "koICGC=\77]WYlfhpjja[[oiiqkkmggtnn\202|~~xztnpxrtTPQ]YZHDEIEFUQRHDEG"
+  "CDPLMQMNPLMVRSd`asop\201}~\222\216\217\237\233\234\243\237\240\211\205"
+  "\206vrs{wx\203\177\200}yznjkd`a\202~\177\210\204\205\211\205\206\200"
+  "|}uqrief\\XYRNOlhid`afbcjfgmijyuvzvwfbc`\\][WXVRSSOPTPQ\202VRS\23UQR"
+  "A=>B>\77OKLlhivrsYUVJFG\\XYWSTRNOMIJKGHLHIOKLQMNSOPZVW<89\202\17\13\14"
+  "-OKL\213\207\210\226\222\223\215\211\212mijiefTPQOKL\214\210\211\247"
+  "\243\244uqr_[\\RLPKEI5/1B<>ysu\243\235\237\254\246\246\244\236\236\242"
+  "\234\236\245\237\241\241\233\237\237\231\235\235\226\235\205~\205ibj"
+  "c\\dojp\213\206\214fahSNUskv\203{\210\212\202\221\215\205\224\221\206"
+  "\227\231\215\241\251\233\262\273\255\304\306\270\321\302\264\315\256"
+  "\240\271\235\215\252\216z\237\202\212s\235)\222{\245\233\204\260\243"
+  "\214\270\257\230\304\272\243\317\262\233\307\274\245\321\276\247\323"
+  "\261\232\306\237\210\264\222{\247\213t\240\206o\233\212p\237\207m\234"
+  "\212p\237\222x\247\232\200\257\237\205\264\234\205\261\231\202\256\231"
+  "\202\254\226\177\251\223|\246\221z\244\222|\243\225\177\246\225\200\247"
+  "\226\201\250\243\216\265\244\220\265\232\206\253\230\204\247\237\213"
+  "\256\232\207\247\243\220\260\304\261\321\257\236\276\242\221\261\245"
+  "\224\264\252\231\271\202\240\217\261\23\246\225\267\244\223\265\243\222"
+  "\266\251\230\272\256\235\277\257\236\300\255\234\276\265\244\306\267"
+  "\246\310\240\217\261\271\250\312\334\313\355\353\332\374\362\341\377"
+  "\364\343\377\357\336\377\366\345\377\376\355\377\361\340\377\202\357"
+  "\335\377j\360\336\377\353\330\377\340\316\376\327\304\373\324\300\373"
+  "\326\301\377\320\273\377\313\265\376\310\263\377\304\256\377\276\250"
+  "\373\271\243\370\271\242\372\255\231\360\256\232\361\257\234\356\256"
+  "\233\354\265\242\361\303\261\375\300\256\370\253\232\341\255\231\341"
+  "\264\240\350\265\241\350\241\215\322\200m\257fS\223cQ\217jX\222ta\230"
+  "jX\210M:gH8_ra\203\234\216\250\246\230\257\227\212\234\200u\203~s\201"
+  "rhspes\222\212\227\243\233\252\202y\212lds]V^XQXC=ANHL|vx\240\232\234"
+  "\253\245\245\247\241\241\241\233\233\243\235\235\236\230\230\234\226"
+  "\226\231\223\225~xz`Z\\XRTa]^\203\177\200PLM956SOPa]^tpqplmd`aeablhi"
+  "\200|}\227\223\224\236\232\233\212\206\207sop\\XYYUV[WXfbcrno\177{|\223"
+  "\217\220\244\240\241\207\203\204\206\202\203\201}~uqrhde_[\\ZVWXTUc_"
+  "`[WX_[\\mijwstyuvsopjfg\\XYWSTQMNOKLPLM\202QMN\12PLMhde]YZKGHIEFMIJC"
+  "\77 at D@AWSTTPQ\202QMN\202TPQGPLMNJKOKLWST512;78\202~\177\270\264\265\235"
+  "\231\232sopqmnsop\207\203\204\215\211\212\200|}\206\202\203njkEABXTU"
+  "&\40$\32\24\30\36\30\32HBD\215\207\211\251\243\245\214\206\206tnnYSU"
+  "^XZ[UY^X\\hahf_ff_gtmu|w~\222\215\224kcn[S^\177w\204\224\214\231\243"
+  "\230\250\253\240\261\243\227\253\237\223\247\255\237\266\302\264\315"
+  "\303\263\316\255\235\270\241\221\254\246\226\263\234\210\255\227\201"
+  "\250\222|\243\217y\240\214u\237\215v\240\226\177\251\240\211\263\255"
+  "\226\300\262\233\305\260\231\305\243\214\270\230\201\255\225~\252\225"
+  "~\254\224}\253\226|\253\215s\242\207m\234\214r\241\202\222{\247\4\217"
+  "x\244\220y\245\236\207\261\242\213\265\202\246\220\267~\241\214\263\236"
+  "\211\260\235\211\256\236\212\257\225\201\246\252\226\273\254\230\275"
+  "\246\222\265\252\231\273\247\226\266\241\220\260\252\232\267\265\245"
+  "\302\244\224\261\242\223\260\253\234\271\254\235\274\255\236\275\261"
+  "\242\301\260\241\300\256\237\300\261\242\301\263\244\303\271\252\311"
+  "\255\236\275\264\245\304\342\323\362\372\353\377\350\331\370\363\344"
+  "\377\352\333\372\351\332\371\362\343\377\360\341\377\356\337\376\354"
+  "\335\376\362\343\377\362\342\377\357\337\377\352\332\377\345\324\377"
+  "\342\322\377\337\316\377\334\311\377\320\274\377\314\272\377\311\266"
+  "\377\305\261\377\300\253\377\272\245\377\264\236\377\261\235\377\256"
+  "\234\377\252\232\374\250\231\370\245\226\363\244\224\355\260\241\366"
+  "\277\260\377\302\263\377\262\243\364\250\231\352\243\222\342\246\225"
+  "\345\254\233\353\251\230\350\236\215\335\225\203\317r^\243p^\232dQ\211"
+  "\212z\251\272\252\321\244\227\265\204x\220\177t\205\210}\213\222\210"
+  "\223\224\211\227\216\203\221\222\207\230\201u\211`Tj]Qe80;+$+,&*RLP\220"
+  "\212\214\246\240\242\212\204\204wqq[UU^XXZTT\\VVe_aa[]^XZicerno\216\212"
+  "\213WSTFBCkgh\177{|\226\222\223\223\217\220\206\202\203{wx\214\210\211"
+  "\253\247\250\236\232\233kghRNO\\XYc_`b^_`\\]ZVWSOPPLMXTUd`anjkief\202"
+  "d`a\3gcdkghplm\202tpq\11eabYUV^Z[gcdb^_WSTVRSkghlhi\202mij\15jfgc_`["
+  "WXVRSGCDhdemij^Z[b^_d`aMIJ3/0SOP\202NJK\1VRS\202\\XY@^Z[b^_734B>\77Z"
+  "VWxtuuqrPLMOKLuqrSOPXTUeabhdelhiNJK\40\34\35*&'\22\14\20""2,0hbd\207"
+  "\201\203\231\223\225\207\201\203XRRPJJ_Y[b\\^[UYWQUZSZTMTTMUc\\da\\c"
+  "KFM3+6YQ\\\232\222\237\251\241\260\243\230\251\245\231\255\240\224\250"
+  "\232\216\244\227\211\242\226\210\242\224\204\237\223\203\240\234\214"
+  "\251\251\230\270\243\215\261\232\204\252\222|\243\221{\242\225\177\246"
+  "\227\201\250\232\203\255\234\205\257\254\225\277\251\222\274\242\213"
+  "\267\230\201\255\222{\247\221z\246\202\222{\251\14\242\210\267\226|\253"
+  "\206l\233\204j\231\214u\241\216w\243\213t\240\217x\242\231\202\254\235"
+  "\206\260\237\211\260\234\206\255\202\227\202\251!\235\211\256\244\220"
+  "\265\250\224\271\247\223\270\243\217\262\246\222\265\244\223\263\227"
+  "\207\244\233\213\250\263\243\300\307\267\324\262\242\277\242\223\260"
+  "\251\232\267\263\244\301\261\242\301\254\235\274\257\240\277\263\244"
+  "\303\263\244\301\273\254\313\345\326\365\366\347\377\354\335\374\362"
+  "\343\377\354\335\374\356\337\376\363\344\377\352\333\372\354\335\374"
+  "\363\344\377\362\343\377\364\345\377\202\356\337\376\26\357\340\377\352"
+  "\333\374\340\322\366\334\315\370\332\314\375\327\310\377\322\302\377"
+  "\314\273\377\314\274\377\313\271\377\303\263\377\275\254\377\270\246"
+  "\377\263\241\377\257\234\377\246\227\377\241\221\374\244\225\376\252"
+  "\233\377\251\231\373\252\233\370\262\243\376\202\266\250\377\37\262\244"
+  "\373\257\237\367\252\232\362\244\224\355\236\215\351\235\214\352\237"
+  "\217\347\241\216\337\234\213\322}j\254\203t\255\213{\254dX~k^|\220\204"
+  "\234mbsodtwl|yn~yn\177dXlF:PE9M(\40+>7>kdk\211\203\207\235\227\233\213"
+  "\205\207YSUNHH\202c]]\37YSSTNNVPRNHJJDFVPRMIJ401\24\20\21A=>\216\212"
+  "\213\243\237\240\231\225\226\217\213\214\214\210\211\202~\177{wxrno]"
+  "YZIEFOKLb^_OKLIEFHDEQMN^Z[b^_ZVWPLMXTU\202RNO\11[WXgcdmijplmsop\206\202"
+  "\203qmnRNOJFG\202XTU\17NJKRNOc_`a]^[WXTPQNJKPLMWST^Z[d`a_[\\VRSSOPMI"
+  "J\202956USOPjfgZVWOKLSOPZVW]YZb^_jfgwst\210\204\205\203\177\200sopok"
+  "ld`aKGH;78UQRVRS[WX734\21\15\16\10\4\5\27\23\24B>\77.(,mgk\262\254\256"
+  "\244\236\240\202|~iceNHH`ZZICERLNVPTa[_ngnhah_X`d]e^VaB:EJBOyq~\245\232"
+  "\252\242\227\247\201v\207th|wi\200\177q\212\200p\212{k\206\201q\216\216"
+  "}\235\223\202\242\214{\235\240\212\256\247\221\265\254\226\274\246\220"
+  "\266\232\204\252\223}\243\232\204\253\245\217\266\260\231\303\243\214"
+  "\266\224}\251\213t\240\207p\234\205n\232\206o\233\210q\235\232\200\255"
+  "\221w\244~g\223\177h\224\221z\246\227\200\254\223|\246\225~\250\243\214"
+  "\266\245\217\266\243\216\265\237\212\261\202\233\207\254\14\242\216\263"
+  "\250\224\271\250\227\273\237\216\262\243\222\264\256\235\277\242\221"
+  "\261\211y\226\214|\231\245\225\260\313\275\327\276\260\312\202\253\235"
+  "\267\16\264\246\300\255\236\273\253\236\272\277\262\316\260\241\276\353"
+  "\335\367\372\353\377\363\344\377\353\334\371\356\337\374\374\355\377"
+  "\351\332\367\361\342\377\365\346\377\202\361\342\377p\352\333\370\347"
+  "\330\365\361\342\377\356\337\374\360\343\375\357\342\374\355\340\374"
+  "\346\333\373\341\325\373\334\317\373\325\307\372\315\300\370\315\276"
+  "\377\316\301\377\314\276\377\302\265\377\273\255\377\267\250\377\264"
+  "\245\377\257\240\377\254\234\377\240\222\377\237\222\376\242\225\377"
+  "\244\225\374\251\233\375\262\244\377\267\252\377\307\272\377\272\255"
+  "\377\256\240\370\251\232\365\250\231\370\247\227\372\245\224\374\244"
+  "\222\366\237\214\346\247\225\347\232\207\326\241\222\327\236\216\314"
+  "~q\246na\214UJlpf\201nd|lcvSJ[6->+#23(9J\77O at 8Cunu\257\250\257\243\235"
+  "\241\207\201\205oikOIK]WYKEEPJJQKKZTTgac`Z\\SMOUOQOKL+'(3/0eab\225\221"
+  "\222\223\217\220hdeXTUVRSa]^\\XYJFGMIJ^Z[\\XYIEFLHI]YZiefb^_QMNHDEMI"
+  "JWSTTPQMIJKGHSOPYUVZVW]YZb^_uqrgcdFBCA=>^Z[fbc[WX\\XYqmnplmhdeYUV\202"
+  "LHI\17WSTc_`^Z[SOPTPQ\\XYA=>\12\6\7\14\10\11B>\77|xyd`aRNOUQR[WX\202"
+  "ZVWg_[\\plmnjk]YZQMNRNOOKLQMN_[\\XTUKGHQMND at AHDEokl\210\204\205\231\225"
+  "\226XRV\201{\177\240\232\234nhjPJLWQSICCXRRWQSXRTUOS]W[kdkd]dUNVTMUv"
+  "ny\214\204\217\273\263\300\272\262\277\233\220\240\205z\213qeypdzrd}"
+  "se\177wg\202|l\211}l\214~m\217\204s\225\216z\235\224~\242\230\202\246"
+  "\236\210\256\245\217\265\250\222\270\252\224\272\253\225\274\254\226"
+  "\275\260\231\303\235\206\260\211r\236\200i\225~g\223\177h\224\204m\231"
+  "\213t\240\211o\234\206l\231yb\216\177h\224\227\200\254\237\210\262\227"
+  "\200\252\225~\250\222|\243\227\201\250\232\205\254\232\206\253\223\177"
+  "\244\211u\232\200l\221|h\215\226\205\251\240\217\261\244\223\265\226"
+  "\205\245\212z\227\231\211\244\262\242\275\274\256\310\271\253\305\276"
+  "\260\311\263\245\277\260\242\273\267\251\303\260\242\274\275\260\312"
+  "\350\333\365\363\345\377\374\356\377\350\332\364\360\342\374\367\351"
+  "\377\351\333\365\202\363\344\377\4\361\342\377\356\337\374\355\336\373"
+  "\363\344\377\202\356\337\374T\365\346\377\347\332\366\357\342\374\351"
+  "\334\366\342\327\365\341\326\366\336\322\370\330\315\367\324\310\370"
+  "\321\307\374\320\305\377\322\307\377\315\301\377\277\264\377\265\251"
+  "\375\261\245\373\255\240\372\251\233\374\252\232\377\246\225\377\247"
+  "\227\377\250\230\377\245\226\375\251\233\375\261\242\377\261\244\376"
+  "\300\262\377\272\254\377\264\246\376\261\242\375\257\235\377\251\230"
+  "\377\246\223\377\245\222\375\242\221\361\244\224\355\237\215\343\250"
+  "\226\350\237\217\330\233\214\317\237\221\314sg\231h]\207cXzf\\w]Ti\\"
+  "Sdtly\215\205\220\243\234\244d]e\210\201\211\242\233\243qjqTNRYSWICE"
+  "XRTXRRVPPOIIVPPe_a\\VXICEF at Bief{wx\271\265\266\266\262\263\216\212\213"
+  "rnoOKLUQRRNOLHIMIJVRSYUVUQRRNOTPQYUVRNO\202JFG\1SOP\202\\XY'VRSSOPKG"
+  "HGCDKGHMIJOKLYUVeabXTUTPQ<89\77;<fbcqmn^Z[WSTD at APLMWSTKGH1-.\26\22\23"
+  "\7\3\4\3\0\0-)*RNOPLM&\"#\20\14\15$\40!SOP~z{tpq]YZPLMYUVc_`_[\\\202"
+  "YUV\210SOPXTPQRNOVRSeabwst\200|}|xytpq~x|\206\200\204xrtXRTNHJYSUYSS"
+  "HBBUOQXRTPJNYSWngnb[bSLTb[cqgrqftujxtiwpeuuj{zm\201vh\177xh\202wg\202"
+  "vf\203wf\206{g\212~j\217\200l\221\201m\222\207q\227\215w\235\217y\237"
+  "\240\212\260\243\215\263\263\235\303\265\237\306\274\246\315\253\224"
+  "\276\236\207\261\217x\242\205n\230\201j\226\200i\225\203l\230\210q\235"
+  "\203l\230\200i\225_Hr\207p\232\237\210\262\224}\247\252\225\276\226\201"
+  "\250\231\204\253\211t\233|h\215\200l\221\213w\234\226\202\245\234\213"
+  "\255\243\222\264\226\205\247\237\216\260\222\203\244\223\204\243\257"
+  "\240\275\270\252\304\267\251\303\305\267\320\303\265\316\307\273\321"
+  "\254\240\270\272\256\304\265\251\301\364\350\377\365\351\377\361\345"
+  "\375\206\362\346\376\202\361\344\376R\363\346\377\350\333\365\360\343"
+  "\375\365\350\377\352\335\371\366\351\377\352\335\371\347\332\370\354"
+  "\337\375\351\336\376\346\333\375\342\326\374\334\321\371\327\313\371"
+  "\325\311\373\324\311\377\340\325\377\303\270\372\306\273\377\266\253"
+  "\367\267\254\372\254\243\364\253\242\365\262\245\377\256\240\377\255"
+  "\234\377\253\232\377\252\231\377\253\232\377\256\236\377\262\241\377"
+  "\263\245\375\271\252\377\306\267\377\301\262\377\263\243\374\263\237"
+  "\377\255\233\377\251\223\377\250\225\377\247\225\371\244\225\364\243"
+  "\222\360\242\221\355\243\223\353\243\224\347\243\225\340\242\226\330"
+  "dY\223k_\217g]\202kb}\204}\215\211\203\215ytx|vz\201z\202\205~\206xq"
+  "y]V]SMQ_Y][UWC=\77SMMVPPMGGSMMe_aUOQD>@QKM_[\\\\XYa]^_[\\VRS[WX^Z[RN"
+  "OXTUTPQ\202QMN\10SOPTPQQMNMIJQMNRNOSOPTPQ\202UQR\202TPQ\4[WXZVWXTUVR"
+  "S\202UQR\"WSTYUVNJKIEF\3\0\0MIJvrsWST\200|}UQR[WX401\22\16\17\21\15\16"
+  "$\40!734FBCQMN:671-.$\40!.*+PLMgcdvrs\210\204\205\202~\177\\XYSOPeab"
+  "fbcYUVSOPPLM\211SOP3PLMNJKPLMTPQVRSTPQPLMXRVa[_]WYOIKMGIYSU[UUQKKVPR"
+  "[UWRLPQKOXQXHAH\77""8 at QJRtiwodrqfttiyshyvj~zl\203vh\201{k\206zj\207z"
+  "i\211{j\214~j\217\200l\221\201l\223\202m\224\214v\235\214v\234\223}\244"
+  "\226\200\246\235\207\256\251\223\272\265\237\306\266\240\307\245\216"
+  "\270\231\202\254\212s\235\202k\225\202\177h\224\"\201j\226\203l\230\\"
+  "EqmV\202{d\216\227\200\252\236\207\261\224}\247\235\210\257\236\211\260"
+  "\237\212\261\240\214\261\242\216\263\244\220\265\245\221\264\250\224"
+  "\267\254\233\275\263\242\304\267\246\310\256\235\275\261\242\301\267"
+  "\250\305\260\242\274\262\244\275\275\257\310\301\263\312\276\262\310"
+  "\270\254\302\305\271\317\360\344\372\364\350\376\366\352\377\361\345"
+  "\373\374\360\377\202\364\350\376\202\363\347\375\204\363\347\377\33\356"
+  "\341\373\370\353\377\364\347\377\352\335\367\361\344\377\364\347\377"
+  "\350\333\367\376\361\377\354\340\377\346\332\377\337\323\373\334\317"
+  "\372\333\317\375\333\317\377\332\320\377\332\317\377\317\303\377\302"
+  "\267\371\306\273\377\273\261\372\270\255\373\272\261\377\264\250\372"
+  "\256\242\370\262\243\377\261\240\377\257\235\377\202\255\233\376=\257"
+  "\236\376\264\241\373\264\245\372\272\250\372\305\264\377\304\262\377"
+  "\272\250\374\265\242\376\262\236\377\257\230\377\255\227\377\251\227"
+  "\373\246\226\370\244\224\367\243\223\366\244\222\365\244\223\363\244"
+  "\224\355\243\224\347\243\226\336\232\216\314d[\212aZ|^Vm_\\g]X\\hcgd"
+  "]eiald\\gUNVOHOVPTZTVUOQTNNWQQLFFHBBLFH:460*,B<>_[\\VRSYUV^Z[YUV]YZ`"
+  "\\]WST]YZZVWWSTVRSWSTVRSRNONJKWSTXTU\202YUV\5WSTTPQPLMMIJHDE\202FBC\20"
+  "IEFOKLRNOSOPRNO\11\5\6%!\"845gcdmijTPQeabhde^Z[[WXYUV\202ZVW\23\\XYf"
+  "bcrnowstnjkZVWSOP^Z[b^_hdextu}yzc_`_[\\jfggcda]^eabgcd\210SOP\13\\XY"
+  "ZVWWSTSOPRNOSOPWSTZVWOIMSMQUOQ\202SMOKVPRUOOQKKQKMZTVXRVVPTWPWPIPTMU"
+  "jckzo}ncqj_oodtpcuobvo`wjZto_|q`\200ua\204xd\211|h\215\177j\221\203l"
+  "\226\204m\227\212s\235\207q\230\225~\250\220z\241\234\205\257\244\215"
+  "\267\267\240\312\255\226\300\244\215\267\236\207\261\231\202\254\226"
+  "\177\251\217x\242\201j\224s\\\206jS}eNxpY\203\224}\247\240\211\263\242"
+  "\215\264\243\216\265\224\177\246\233\206\255\241\215\262\252\226\273"
+  "\262\236\303\262\236\301\255\234\276\253\232\274\254\233\275\255\234"
+  "\276\256\237\276\253\234\273\260\241\300\262\243\300\260\242\274\271"
+  "\253\304\276\262\312\264\250\276\306\272\320\310\274\320\346\332\356"
+  "\370\354\377\376\365\377\354\343\366\360\347\372\361\350\373\204\363"
+  "\352\375\204\362\351\376M\371\357\377\357\345\375\362\350\377\355\343"
+  "\373\356\344\375\357\345\376\351\337\370\344\331\371\356\341\377\346"
+  "\331\377\335\317\377\332\314\377\333\316\377\335\320\377\332\314\377"
+  "\324\310\377\310\274\376\277\264\371\301\265\377\274\260\374\270\253"
+  "\372\301\266\377\275\260\377\270\253\375\270\251\376\270\246\374\265"
+  "\242\374\263\240\374\262\236\375\263\240\374\265\241\372\265\243\367"
+  "\273\250\367\301\257\373\307\265\377\303\260\377\271\245\374\266\241"
+  "\376\270\237\377\262\233\377\255\233\377\252\232\375\247\226\374\245"
+  "\224\374\245\224\376\244\223\373\243\222\370\242\223\362\240\222\347"
+  "\241\225\337\235\223\317]V\202]Vub_r`]hb_fTNXYQ\\ZR][T\\ZSZTNRQKMVPR"
+  "NHHUOOPJJKEEICCA;;E\77A[UWiefSOPOKLVRSQMN\202LHI\20FBCHDEIEFJFGOKLSO"
+  "PVRSUQRTPQSOPUQRXTUYUVXTUVRSSOP\202QMN\31WST`\\]fbc`\\]MIJ2./\37\33\34"
+  "\22\16\17!\35\36`\\]oklqmnplmRNO`\\]a]^plm{wxxtumijeab`\\]]YZ\\XY_[\\"
+  "\202ZVW\6b^_a]^d`atpqokld`a\202fbc\4WSTSOPXTUWST\211SOPDQMNOKLNJKPLM"
+  "TPQXTU[WXWQUUOSVPRYSUXRTSMOQKKRLLOIKWQS]W[`Z^c\\chahunv\206~\211\177"
+  "t\202laof[klarm`tk]tjZtgWrkZzm\\~s_\204xc\212|g\216\177j\223\203l\226"
+  "\205n\232\210q\235\206o\233\223|\250\224}\251\234\205\261\250\221\273"
+  "\261\232\304\236\207\261\220y\243\212s\235\206o\231\207p\232\214u\237"
+  "\222{\245\230\201\253\235\206\260\264\235\307\257\230\302\277\250\322"
+  "\266\237\311\263\236\305\271\244\313\244\217\266\247\223\270\234\210"
+  "\255\241\215\262\246\222\265\251\225\270\257\236\300\202\267\246\310"
+  "\21\261\240\300\256\237\276\272\253\310\262\243\300\261\243\275\277\261"
+  "\312\272\254\305\262\246\274\303\267\313\351\335\361\361\346\367\377"
+  "\366\377\357\344\365\361\350\371\360\347\372\375\364\377\361\350\373"
+  "\204\364\353\376\202\363\352\375\202\363\352\377\2\357\345\375\350\336"
+  "\366\202\370\356\377\202\355\343\374\26\367\355\377\360\345\377\351\334"
+  "\377\346\330\377\342\324\377\340\322\377\340\323\377\336\321\377\327"
+  "\311\377\317\301\377\325\306\377\307\272\377\312\275\377\305\267\377"
+  "\302\264\377\274\257\376\300\261\377\276\260\377\275\254\372\274\253"
+  "\371\271\247\373\267\244\375\202\267\242\3758\267\243\372\270\245\367"
+  "\275\253\367\276\254\366\311\267\377\312\270\377\277\251\374\273\244"
+  "\376\275\245\377\264\236\377\257\235\377\254\234\377\251\230\376\246"
+  "\225\375\245\223\377\244\222\376\243\222\374\241\220\366\230\211\346"
+  "\240\223\345\237\224\331\225\215\306\226\217\271ZWv`^tURc\\Vd[S`WOZ["
+  "S^`YaVOVNHLRLNJDFQKKSMMTNNVPPZTTf`bwqsplmRNOJFGSOPNJKFBCD at AA=>@<=C\77"
+  "@GCDMIJRNOVRS\202WST\1TPQ\202SOP\202RNO\1QMN\202PLM\16HDEEABB>\77D at A"
+  "NJK^Z[qmn}yz\242\236\237\223\217\220\257\253\254\231\225\226\225\221"
+  "\222\234\230\231\202lhi\24UQR]YZb^_eabplmzvwrnoa]^VRS`\\]d`aiefokld`"
+  "aZVWa]^c_`d`akghgcd\202YUV\2]YZTPQ\210SOP0VRSRNONJKOKLRNOSOPPLMLHISM"
+  "QNHLNHJUOQVPRSMOTNN[UUUOQVPR[UY_Y]aZakdkunvvnywlzi\\mfYkobtreyse|ue\177"
+  "td\177yf\206|h\213~j\217\200k\222\201j\224\202k\227\203l\230\205n\234"
+  "\212s\241\214u\243\216w\245\230\201\257\233\204\262\255\226\302\244\215"
+  "\271\217x\244\202\211r\236\11\214u\237\217x\242\216x\237\214v\235\213"
+  "u\234\215w\236\225~\250\232\203\255\243\216\265\202\236\211\260\26\253"
+  "\226\275\264\240\305\277\253\320\313\267\334\312\266\331\302\261\323"
+  "\274\253\315\274\253\313\276\255\315\270\247\307\256\235\275\261\242"
+  "\301\270\253\307\267\252\306\275\260\312\302\266\316\263\247\277\300"
+  "\264\312\362\346\372\371\360\377\365\354\375\371\360\377\202\366\356"
+  "\375\3\365\354\375\373\362\377\366\355\376\202\365\354\375\204\364\353"
+  "\374\202\364\353\376\35\361\350\375\371\360\377\355\344\371\351\340\365"
+  "\363\351\377\356\344\374\346\334\364\355\343\376\337\323\371\342\325"
+  "\377\343\326\377\341\324\377\340\322\377\336\320\377\327\310\377\321"
+  "\302\375\313\273\372\307\270\371\321\302\377\307\267\376\314\274\377"
+  "\275\257\372\312\271\377\300\260\373\301\262\367\300\260\367\276\255"
+  "\373\273\251\375\272\247\377\202\271\246\377\33\271\247\373\276\253\372"
+  "\275\253\365\310\267\376\315\273\377\301\256\375\273\247\374\273\246"
+  "\377\264\236\377\257\235\377\255\233\377\250\227\375\246\225\375\244"
+  "\223\375\242\221\373\240\221\372\236\217\364\243\225\364\226\211\341"
+  "\226\213\331\242\233\337\222\212\305\215\211\273PMzPLo[ShWO\\\202RJU"
+  "\17TMUSLSUOSZTVNHJMGIQKKSMMUOO]WWd^`c]_eabJFGGCD\202VRS\1RNO\202VRS\2"
+  "UQRWST\202YUV\10XTUVRSUQRTPQXTUUQROKLJFG\202HDE\4IEFKGHOKLXTU\202a]^"
+  "\2XTUOKL\202LHI\21\\XYeabvrslhikgh~z{\206\202\203\226\222\223\257\253"
+  "\254\251\245\246\231\225\226\213\207\210\211\205\206\210\204\205vrs_"
+  "[\\`\\]\202fbc\15kghsopgcdXTU[WXKGHIEFNJKMIJIEFUQR^Z[TPQ\210SOP\4XTU"
+  "UQRSOPVRS\202[WX\36VRSPLMVPTRLPPJLSMOTNPSMOVPP[UUXRTTNPZTX]W[]V]jcjq"
+  "jrc[feYg_RcdWinaspbyse~xh\203xh\205}j\212\177k\220\201l\223\201l\225"
+  "\202\201j\226\26\203l\232\205n\234\207o\237\215u\245\207o\237\227\177"
+  "\257\237\207\267\260\231\307\236\207\265\221z\246\213t\240\204m\231}"
+  "f\220{d\216~h\217\206p\227\225\177\246\241\213\262\226\177\251\236\207"
+  "\261\235\210\257\232\205\254\202\224\177\246\32\237\213\260\245\221\266"
+  "\243\217\262\251\225\270\254\233\275\256\235\277\260\237\277\264\243"
+  "\303\267\246\306\267\250\307\260\241\276\262\245\301\272\255\307\270"
+  "\253\305\265\251\301\313\277\325\354\340\364\372\357\377\365\354\375"
+  "\357\346\367\357\347\366\366\356\375\365\355\374\367\357\376\365\354"
+  "\375\360\350\367\202\366\356\375\204\365\354\375\202\365\354\377\4\361"
+  "\350\375\372\361\377\356\345\372\371\360\377\202\363\351\377F\354\342"
+  "\372\353\341\372\350\335\373\354\341\377\353\340\377\343\327\373\335"
+  "\321\367\333\316\371\331\314\372\325\307\372\331\312\377\333\314\377"
+  "\332\312\377\315\275\374\315\274\377\311\270\376\324\303\377\302\263"
+  "\370\305\267\365\302\266\366\302\262\375\300\256\377\276\253\377\274"
+  "\251\377\273\250\377\272\250\376\274\253\373\273\253\364\304\263\372"
+  "\313\272\377\306\263\377\275\251\376\270\243\376\263\237\377\256\234"
+  "\377\253\231\375\247\227\372\244\223\371\242\221\367\240\217\365\235"
+  "\216\363\234\216\360\222\204\345\246\234\365\215\203\331\224\213\332"
+  "\214\204\315\227\222\325\205\200\302^Z\215QKeQIVVN[WOZOHPOHOVOVWQUOI"
+  "KICENHHQKKPJJ\\VV_Y[NHJMIJ\77;<EABSOP\202QMN\10WSTVRSXTUZVW\\XYZVWWS"
+  "TTPQ\202SOP\10MIJKGHHDEGCDIEFMIJSOPWST\202VRS\20RNOJFGFBCMIJ^Z[lhiVR"
+  "Sc_`a]^ZVWOKLMIJ]YZc_`^Z[d`a\202hde\24iefnjkplmnjk]YZ_[\\ZVW_[\\jfgg"
+  "cdc_`lhiTPQGCD\77;<8452./<89EAB=9:\210SOP\5JFGKGHMIJPLMQMN\202RNOLQM"
+  "NYSWZTXXRTTNPSMOUOQUOOSMMXRTTNP^X\\a[_\\U\\leltmu`XcNBPUHYeXjpcuqbyt"
+  "d~yi\204xh\205|i\211~j\217\201k\222\200i\223\177h\224\200i\225\203l\232"
+  "\206n\236\204l\236\217w\251\216v\250\231\201\261\255\225\305\256\227"
+  "\305\232\203\261\223|\252\201j\226~g\223\177h\222\204m\227\212t\233\215"
+  "w\236\217y\237\221{\241\226\201\250\224\177\246\226\201\250\230\203\252"
+  "\233\206\255\234\207\256\233\207\254\234\210\255\237\216\260\243\222"
+  "\264\252\231\273\257\236\300\257\236\276\260\237\277\266\245\305\273"
+  "\254\313\302\263\320\306\271\325\306\271\323\276\261\313\311\275\325"
+  "\356\342\370\374\363\377\351\340\361\371\360\377\367\357\376\371\361"
+  "\377\202\365\355\374\5\372\362\377\374\366\377\362\354\372\367\357\376"
+  "\367\357\374\203\367\357\376\1\366\356\375\202\366\355\376\2\363\352"
+  "\375\371\360\377\202\353\342\367Q\254\242\272\243\231\261\245\233\263"
+  "\242\231\256\240\227\252\242\231\254\234\223\250\220\206\236\207}\226"
+  "\206{\231\204y\233\200t\232\330\311\364\324\304\363\307\266\352\335\314"
+  "\377\326\304\377\324\302\377\321\276\376\311\271\367\307\274\366\305"
+  "\273\370\304\267\377\301\262\377\276\256\377\273\252\377\271\250\377"
+  "\270\250\377\270\251\372\271\253\366\275\255\366\305\265\376\310\267"
+  "\377\276\254\377\263\240\372\264\240\377\255\233\376\252\230\374\247"
+  "\225\371\244\222\365\241\221\363\237\217\361\234\216\357\233\215\354"
+  "\240\225\363\220\205\341\240\225\361\221\210\341\227\217\345\210\203"
+  "\327\204\177\323\205~\301d]~SKXWO\\^VaQJRPIPUNUKEIOIKHBDNHHPJJLFFZTT"
+  "`ZZICC2./401FBCRNONJKQMNWSTQMNSOPVRSXTUVRSSOP\202QMN\20SOPGCDHDEJFGN"
+  "JKRNOWST\\XY^Z[GCDMIJWST`\\]c_`a]^[WX\202VRS\5NJKMIJOKLSOPUQR\202PLM"
+  "\13TPQYUV`\\]c_``\\]\\XYb^_lhiuqrzvwuqr\202qmn\13fbc`\\]lhiwstgcda]^"
+  "[WXLHIGCDFBC\77;<\210SOPXUQRYUV[WXXTUQMNOKLRNOWSTLFJSMQTNPPJLQKMWQSW"
+  "QQQKKZTVVPRb\\`a[_TMTb[blemXNY>1BPCUj]oxk\177zk\202\177o\211\206v\221"
+  "\205t\224\207s\226\210t\231\211s\232\206o\231\202k\227\201j\226\203l"
+  "\232\206n\236\211q\243\227\177\261\236\206\266\240\210\270\274\244\324"
+  "\247\220\276\221z\250\213t\242\211r\236\202k\227}f\220\201j\224\211r"
+  "\234\214v\235\213u\234\211s\232\227\202\251\220{\242\233\206\255\232"
+  "\205\254\234\207\256\242\216\263\234\210\255\246\222\265\245\224\266"
+  "\242\221\263\244\223\263\252\231\271\256\235\275\257\237\274\263\243"
+  "\300\271\252\307\271\254\310\302\265\317\276\261\313\315\301\331\360"
+  "\344\372\367\353\377\360\347\370\375\364\377\370\360\377\357\347\366"
+  "\372\362\377\370\360\377\375\365\377\363\353\370\373\365\377\372\364"
+  "\377\202\367\361\375\204\370\360\377\202\367\356\3772\371\360\377\360"
+  "\347\372\256\245\270\257\246\273\233\222\247\247\236\263\224\213\240"
+  "\226\215\240\230\220\237\232\222\237\225\215\234\212\201\222\203z\215"
+  "\202x\220\177u\216zo\215}o\222xi\220zk\226\324\304\361\330\310\371\333"
+  "\312\376\314\271\360\331\310\377\314\276\371\310\276\375\307\271\377"
+  "\303\264\377\277\257\377\274\253\377\271\250\377\267\247\377\266\247"
+  "\372\270\252\371\267\251\364\300\262\375\313\272\377\277\255\377\261"
+  "\236\370\265\241\377\254\232\375\252\230\374\246\224\367\243\221\364"
+  "\240\221\360\237\220\357\234\216\355\232\215\351\231\216\352\224\211"
+  "\345\202\217\206\341\27\212\204\336\213\205\337\216\210\342\211\202\317"
+  "\204|\255VOnKCZSM[JELPJLYSUJDFQKMJDFPJJMGGA;;NJIUQP>:;\35\31\32-)*KG"
+  "H\202ZVW\2c_`kgh\202d`a\32eabd`a^Z[VRSPLMOKLPLMVRSXTUYUVZVWYUVVRSSOP"
+  "QMNa]^XTUPLMQMNYUV^Z[[WXUQRa]^NJK\\XY\202TPQ\15ZVWIEF[WXWSTMIJKGHTPQ"
+  "XTUVRS[WXeaba]^qmn\202wst\14sopb^_[WXhdejfgc_`njkwsthdeZVWTPQMIJ\220"
+  "SOP\202TOS&TPQSOPRNOSOPTPQVRSZTVXRTXRV^W^c\\d`YaSKVJ\77MXK]vg|\221\202"
+  "\227\224\205\234\212{\222\205u\217\210u\221\213x\230\201k\217\201k\221"
+  "\177i\220\177h\222\202h\225\207m\234\215s\243\221w\247\225~\254\220y"
+  "\247\234\205\263\255\226\304\254\225\303\237\210\264\221z\246\207p\234"
+  "\202\201j\226\22\202k\227\205n\232\210q\235\214u\237\216w\241\217x\242"
+  "\220y\243\222{\245\226\200\247\231\203\252\233\207\254\236\212\257\242"
+  "\216\263\244\220\263\236\215\257\254\233\273\250\230\265\245\225\260"
+  "\202\260\242\274\12\254\236\270\266\250\301\275\261\311\270\254\302\275"
+  "\264\311\364\353\377\357\346\371\362\351\374\361\350\371\373\362\377"
+  "\202\370\360\377\4\367\361\375\370\362\376\371\363\377\371\363\375\202"
+  "\372\364\376\2\371\363\377\367\363\377\203\371\363\377\1\370\362\377"
+  "\202\367\360\377S\362\353\373\274\265\305\276\265\306\260\247\272\266"
+  "\255\300\251\240\263\241\230\253\215\204\227\226\215\236\224\213\234"
+  "\217\206\227\210\177\222\203w\213~r\210|p\210{n\210vi\205vi\207qc\206"
+  "i[\177p`\207\326\305\357\324\303\355\317\277\360\324\306\377\304\267"
+  "\377\307\266\377\306\267\377\270\250\377\302\261\377\262\241\375\267"
+  "\247\377\264\244\374\264\245\370\271\247\371\300\256\377\306\262\377"
+  "\302\256\377\271\245\376\262\235\372\256\232\373\252\230\373\247\225"
+  "\370\242\220\363\235\215\357\233\213\355\232\214\355\233\215\354\225"
+  "\212\350\224\211\345\221\210\343\217\206\337\216\206\334\214\204\332"
+  "\207\201\327\205\200\322\204}\312\216\210\306D\77gOL_OMPJG at LGCUPMPGJ"
+  "NEJKEGNHHNJGED at 645*(+1-.YUV{wx|xyplmjfghded`a]YZZVWUQR\202SOP\10WST\\"
+  "XY_[\\]YZ[WXYUVWSTUQR\202TPQ\1SOP\202TPQ\2VRSYUV\202\\XY\2ZVWWST\210"
+  "SOP\202RNO\202QMN\15RNOTPQWSTXTU`\\]c_`b^_eabfbcWSTRNOd`a_[\\\203fbc"
+  "\1hde\202_[\\\1plm\220SOP\2RMQSNR\202SOP*RNOSOPTPQVRS[UW\\VX]V]_X_aZ"
+  "be^fialncqxk}\210y\216\221\202\231\213|\223\201q\213}m\207\200m\213\200"
+  "m\215\203m\221\202l\222\201k\222\177h\222\201g\224\204j\231\210n\236"
+  "\214r\241\222{\247\220y\245\235\206\262\256\227\303\253\224\300\236\207"
+  "\263\221z\246\210q\235\201j\226\202k\227\203l\230\206o\233\211r\236\214"
+  "u\241\202\216w\243\14\220y\243\223|\246\226\200\247\231\203\252\233\207"
+  "\254\237\213\260\242\216\261\244\220\263\247\226\266\254\234\271\250"
+  "\230\265\250\230\263\202\257\241\272\5\262\244\275\277\261\312\266\252"
+  "\300\272\256\304\301\270\313\202\366\355\377\5\370\357\377\362\351\372"
+  "\372\362\377\370\360\377\370\360\375\202\370\362\376\5\371\363\375\372"
+  "\364\376\372\365\374\372\364\376\367\364\377\203\367\363\3772\371\363"
+  "\377\370\362\377\370\361\377\367\360\377\370\361\377\262\253\273\244"
+  "\233\254\264\253\274\241\230\251\227\216\237\237\226\247\247\236\257"
+  "\232\221\244\225\214\237\215\204\227\205|\217\177s\207zn\202vj\200ui"
+  "\177rf~m`zk^zdWupa\202YIm\342\322\367\326\306\363\301\261\360\330\310"
+  "\377\277\256\376\274\252\376\276\256\377\266\245\377\271\250\377\267"
+  "\246\377\263\243\374\262\242\372\267\245\373\276\254\377\305\261\377"
+  "\303\257\377\274\245\377\262\235\370\255\231\372\250\226\371\244\222"
+  "\365\240\216\361\234\214\356\232\212\354\202\230\212\353\26\225\212\350"
+  "\223\210\344\220\207\342\217\206\337\216\206\334\214\204\331\207\202"
+  "\326\205\200\324}x\322yu\302NL}<<TIIKIIAMJCE@=KBEKBGICEJFEMIFMLJ\202"
+  "LLN\14_[\\qmnxtumij`\\]^Z[]YZWST[WXXTUTPQPLM\202NJK\2PLMRNO\203UQR\3"
+  "VRSWSTXTU\202ZVW\10UQRVRSXTU[WX\\XY[WXXTUVRS\210SOP\202RNO\202QMN\12"
+  "RNOTPQVRSXTUYUV_[\\YUVWSTa]^`\\]\202VRS\10hdenjkfbc_[\\a]^]YZZVWc_`\220"
+  "SOP\2RMQSNR\204SOP(UQRVRSXRT^XZb[baZa]V^aZbldoyn|\177r\203\201t\206~"
+  "q\205wi\200ue\177wg\201xh\205ve\205\200l\217\200l\221\200j\221\177h\222"
+  "\177h\224\202k\227\205n\234\210q\237\221z\246\223|\250\242\213\267\260"
+  "\231\305\251\222\276\232\203\257\216w\243\207p\234\202k\227\203l\230"
+  "\205n\232\210q\235\212s\237\214u\241\202\216w\243\34\221z\244\223|\246"
+  "\227\201\250\232\204\253\234\210\255\237\213\260\243\217\262\245\221"
+  "\264\251\230\270\251\231\266\253\234\271\260\242\274\261\243\274\257"
+  "\241\272\261\243\274\270\252\303\264\250\276\322\311\334\336\325\350"
+  "\372\361\377\367\356\377\374\363\377\365\354\375\366\356\375\370\362"
+  "\377\370\362\376\371\363\377\371\363\375\202\372\364\376\2\373\366\375"
+  "\373\365\377\204\370\365\377\2\372\364\377\371\363\377\202\370\362\377"
+  "M\262\254\272\241\233\251\252\244\262\221\213\231\240\230\247\247\237"
+  "\256\223\213\232\220\207\230\222\211\234\214\203\226\203z\213|s\204x"
+  "o\202ul\177th|rf|j^vna{m`|VIgdUviZ{TDh\314\275\350\317\300\373\301\260"
+  "\367\301\261\374\306\264\377\302\262\377\273\252\377\263\242\377\254"
+  "\233\371\262\241\377\260\237\373\263\240\371\272\250\376\303\257\377"
+  "\304\260\377\273\247\377\262\235\370\255\231\372\247\225\370\242\220"
+  "\364\236\214\360\234\214\357\232\212\355\230\212\353\226\210\351\224"
+  "\211\347\222\207\343\217\206\341\216\205\336\215\205\333\213\203\330"
+  "\206\201\325\204~\324\202~\325\201}\312vs\250RQpECNHGEPLIHDAGACICEJD"
+  "HHDEGCDIGHQQQXXXeabfbc_[\\RNOPLM\202VRS\6PLMXTUVRSTPQQMNPLM\202OKL\14"
+  "PLMSOPTPQUQRWSTYUVZVW[WX\\XYVRSXTU[WX\202]YZ\3ZVWWSTTPQ\210SOP\204RN"
+  "O\2SOPTPQ\202VRS\4QMNeabd`aXTU\202ZVW\12SOPRNO\\XYkghhde`\\]gcdkghfb"
+  "ceab\220SOP\2SNRTOS\202UQR\202TPQ\14UQRWSTSMO]WYf_fg`gb[c`Yad\\gjbon"
+  "csobt\202m`t4sd{yi\203yi\204vf\203}j\212~j\215\201k\221\202l\223\204"
+  "m\227\210q\235\214u\243\217x\246\224}\251\231\202\256\250\221\275\262"
+  "\233\307\247\220\274\225~\252\212s\237\203l\230\202k\227\204m\231\206"
+  "o\233\211r\236\213t\240\214u\241\216w\243\217x\244\222{\245\224}\247"
+  "\230\202\251\233\205\254\235\211\256\240\214\261\244\220\263\246\222"
+  "\265\247\226\266\246\226\263\254\236\270\261\243\275\261\243\274\264"
+  "\246\277\267\251\302\264\250\276\265\254\301\356\345\370\373\362\377"
+  "\372\361\377\360\347\370\374\363\377\372\362\377\366\356\375\202\371"
+  "\363\377\202\372\364\376\202\373\365\377\202\374\367\376\204\371\366"
+  "\377\2\373\365\377\372\364\377\202\371\363\377\35\362\354\372\244\236"
+  "\254\225\217\235\226\220\236\223\213\232\214\204\223\212\202\221\215"
+  "\205\224\205|\215\200w\210yp\201tk|sj{qh{pdxmauk_ug[sYLftg\203]NmXIj"
+  "ZKlbS|\315\276\365\313\273\374\303\263\372\300\257\377\262\242\372\202"
+  "\265\244\377)\265\243\377\260\237\377\256\235\373\260\235\371\266\243"
+  "\374\301\255\377\304\260\377\275\251\377\261\236\370\256\232\373\247"
+  "\225\370\241\217\363\236\214\360\235\215\360\234\214\357\230\212\353"
+  "\225\207\350\223\210\350\221\206\344\216\205\340\215\204\335\214\203"
+  "\334\212\202\330\205\177\325\203}\323\177{\322\204\201\320\201}\270q"
+  "o\226><Q=<BDCAIEBE\77\77ICEKEIHCGB at CB@AFFDLLJ\202LHI\16JFGHDENJKVRSU"
+  "QRMIJTPQUQRVRSXTUYUVZVW[WX\\XY\203[WX\202ZVW\1YUV\203WST\7ZVW]YZ^Z[\\"
+  "XYXTUUQRTPQ\210SOP\204RNO\1SOP\202TPQ\21UQRXTUa]^]YZ[WXb^_^Z[RNOQMNJ"
+  "FGfbcmijgcdnjkuqrnjkief\220SOP\2SNRTOS\204UQR4VRSWSTXRT]WYd]dhahibjh"
+  "aig_jh`mmbrncsnctpdxug~yk\204yk\205wh\205yh\210{j\214\200l\221\203n\225"
+  "\207r\233\213v\237\221z\246\224}\251\226\177\253\234\205\261\254\225"
+  "\301\262\233\307\244\215\271\222{\247\210q\235\202k\227\201j\226\204"
+  "m\231\207p\234\211r\236\212s\237\214u\241\216w\243\220y\245\223|\246"
+  "\225\177\246\231\203\252\234\206\255\236\212\257\241\215\262\243\222"
+  "\264\245\224\266\250\227\267\251\231\266\202\253\235\267\14\257\241\272"
+  "\272\254\305\277\263\313\271\255\303\307\276\323\364\353\376\373\362"
+  "\377\366\355\377\361\350\371\371\360\377\375\365\377\374\364\377\202"
+  "\372\364\377\202\373\365\377\202\374\367\376\202\375\370\377\202\372"
+  "\367\376\203\372\367\377\1\371\366\377\202\372\364\376X\375\367\377\372"
+  "\364\377\230\222\236\221\213\227\223\215\231\177y\205\210\200\215{s\202"
+  "\177w\206{s\202um|rjyogvlctf]naXk^Rfi]sdXpVIcdWsVIgWJhM\77cI;l\310\271"
+  "\364\265\246\351\300\260\373\277\260\377\260\237\375\270\246\377\252"
+  "\230\376\256\234\377\254\232\375\253\232\370\260\237\373\275\252\377"
+  "\303\261\377\275\251\377\262\237\370\255\231\372\246\224\370\241\217"
+  "\363\236\214\360\235\215\360\234\214\357\227\211\353\224\206\347\222"
+  "\207\347\221\206\344\216\205\340\214\203\334\213\202\333\211\201\327"
+  "\204~\324\202|\322\177{\320zw\306up\262~z\254TQp96GA\77DDC\77B>=EABH"
+  "CIHCJEBIDBEDE at FGBIEDLHINJKOKLPLMSOPRNONJKPLMRNOUQRYUV\\XY^Z[_[\\`\\]"
+  "\203^Z[\7]YZ[WXXTUVRSTPQWSTZVW\202]YZ\2YUVUQR\202TPQ\210SOP\202RNO\206"
+  "SOP\20gcdSOPC\77 at QMNeabYUVFBCHDENJKkghrnofbciefoklmijnjk\220SOP\3RMQ"
+  "SNRUQR\202WST\11XTUYUVZVWe_ab\\^`Y`aZae^fibj\202jbm\2qftrgw\202rgx&t"
+  "g{ug~wi\202xj\204wg\204yh\210}i\216\177k\220\202m\224\206q\232\214u\241"
+  "\217x\244\224}\251\234\205\261\253\224\300\257\230\304\240\211\265\221"
+  "z\246\210q\235\203l\230\201j\226\203l\230\206o\233\210q\235\211r\236"
+  "\213t\240\217x\244\223|\246\224}\247\226\200\247\232\204\253\235\207"
+  "\256\237\213\260\242\216\263\244\223\265\246\225\265\245\225\262\255"
+  "\235\272\202\261\243\275\14\264\246\277\267\251\302\266\252\302\263\247"
+  "\275\354\343\366\364\353\376\360\347\372\371\360\377\374\363\377\367"
+  "\357\376\372\362\377\375\365\377\202\373\365\377\202\374\366\377\202"
+  "\375\370\377\202\376\371\377\205\373\370\377\1\372\367\377\202\373\365"
+  "\377V\376\370\377\362\354\366\366\360\374\225\217\233\201{\207\204~\212"
+  "\211\201\216}u\202vn}tl{qixogvmetiapd\\k`Wh_Te`Th_SiZNfPC]ZMi[NjSEhZ"
+  "Mx\273\255\340\307\267\365\303\263\372\264\242\366\257\236\374\264\242"
+  "\377\256\233\377\254\231\377\253\231\377\252\230\373\255\234\372\271"
+  "\246\377\301\257\377\276\252\377\263\240\371\250\227\367\245\223\367"
+  "\241\217\363\236\214\360\233\213\356\231\211\354\226\210\352\223\205"
+  "\347\222\207\347\221\206\346\216\205\342\214\203\336\213\202\333\211"
+  "\200\331\204~\324\202|\322\202~\323yv\305}z\301\200|\267qn\23152M@\77"
+  "GCABC\77>B>\77B=DC=GC at IDBEDE\77DC>KGFMIJNJKMIJLHINJKRNOWSTOKLPLMQMNS"
+  "OPUQRVRS\202WST\2XTUYUV\203[WX\13YUVWSTUQRWSTZVW\\XYYUVTPQRNOTPQWST\210"
+  "SOP\2QMNRNO\204SOP\4RNOQMNfbcVRS\202HDE\14A=>($%)%&JFG]YZplmoklfbclh"
+  "iuqr}yz\210\204\205\220SOP\12SNRUPTXTU[WX]YZ^Z[`\\]b^_nhjkeg\202hah\2"
+  "jcklem\202nfq\37rjwskxvk{vk|vj~vj\200zl\205}o\211zk\210{l\213}l\220~"
+  "m\221\201l\223\205p\227\211t\235\214w\240\224}\251\233\204\260\251\222"
+  "\276\254\225\301\234\205\261\216w\243\206o\233\201j\226\200i\225\203"
+  "l\230\205n\232\207p\234\210q\235\213t\240\220y\245\202\225~\250\27\227"
+  "\201\250\232\205\254\235\210\257\240\214\261\243\217\264\245\224\266"
+  "\247\226\266\244\225\262\256\237\274\262\244\276\267\251\303\271\255"
+  "\305\261\245\275\263\247\275\304\270\316\376\365\377\366\355\376\361"
+  "\350\371\374\363\377\376\365\377\366\356\375\373\365\377\371\363\377"
+  "\203\374\366\377\1\375\370\377\202\374\371\377\202\375\373\377\205\374"
+  "\372\377\1\373\370\377\202\372\367\376\10\371\364\373\373\366\375\373"
+  "\365\377\365\357\371\375\367\377~x\202qkuwq{\202nhtFmerkcph`me]jbZga"
+  "Yhd\\kLCTaUiWKaTH`UHbXKeNA_OAeQDp\270\251\340\277\260\363\260\236\360"
+  "\273\250\377\260\236\377\255\232\377\252\227\377\253\230\377\252\230"
+  "\374\253\232\372\266\243\375\276\254\377\274\252\376\264\242\370\247"
+  "\226\366\245\223\367\242\220\364\237\215\361\233\213\356\230\210\353"
+  "\225\207\351\224\206\350\222\207\347\221\206\346\216\205\342\214\203"
+  "\336\213\202\333\211\200\331\204~\326\202|\322~z\316{x\311\204\200\315"
+  "ys\271|w\257EAf63D:9>@\77==;<=8\77=7A>;D@>AA@;@@8FBAFBCGCDHDEIEFLHIR"
+  "NOXTU\205PLM\2QMNRNO\202SOP\2TPQVRS\202XTU\4VRSTPQSOPVRS\202YUV\5UQR"
+  "OKLNJKTPQZVW\210SOP\3QMNRNOSOP\202TPQ\23SOPQMNPLMZVWPLM<89.*+#\37\40"
+  "\32\26\27""1-.]YZeabkghgcdjfgzvw\202~\177\205\201\202\217\213\214\220"
+  "SOP\16TOSWRV\\XY_[\\b^_eabhdejfgmgirlnwpwzsz{t|zs{\202zr}\12{s\200|t"
+  "\201\200u\205\202w\207\201u\211\177s\207\201s\214\203u\217\202s\220\203"
+  "t\223\202\204s\227,\210s\232\213v\235\220{\244\223~\247\226\177\253\234"
+  "\205\261\250\221\275\251\222\276\231\202\256\212s\237\203l\230|e\221"
+  "\200i\225\202k\227\205n\232\206o\233\207p\234\212s\237\221z\246\226\177"
+  "\251\225\177\246\230\202\251\232\205\254\235\211\256\240\214\261\244"
+  "\220\263\245\224\264\250\227\267\253\234\271\256\237\274\253\235\267"
+  "\260\242\273\267\253\303\262\246\276\304\270\316\361\345\371\362\351"
+  "\374\364\353\374\370\357\377\372\361\377\365\355\374\366\356\375\377"
+  "\374\377\371\363\377\202\374\366\377\202\375\370\377\1\374\371\377\203"
+  "\375\373\377\202\374\372\377\1\375\373\377\202\374\372\377S\373\371\376"
+  "\373\370\377\372\367\376\377\373\377\364\357\366\375\367\377\371\363"
+  "\375\366\360\372\370\362\374\177y\203keoqkwoiumerh`mbZg]Ub[S`ZR_UM\\"
+  "]UdPEVXL`VJ`QE]MAYSF`NA_N\77f\300\262\343\275\255\354\272\251\371\262"
+  "\237\373\261\237\377\252\227\377\250\225\377\253\230\377\252\230\376"
+  "\252\231\371\264\241\375\275\253\377\274\252\376\265\243\371\250\227"
+  "\367\247\225\371\245\223\367\241\217\363\234\214\357\231\211\354\227"
+  "\211\353\226\210\352\222\207\347\221\206\346\216\205\342\215\204\341"
+  "\213\202\335\211\200\331\205\177\327\202~\323\203\177\323\177~\316}y"
+  "\315tp\275\205\200\300qn\23397M98 at 999978;6==7A>;DA\77BBA<AA9KGFIEFJF"
+  "GNJKOKLNJKMIJNJK\202RNO\202QMN\6RNOTPQWSTXTURNOSOP\202UQR\14TPQRNOOK"
+  "LMIJVRSXTUWSTRNOLHIMIJTPQ[WX\210SOP\3QMNRNOSOP\202TPQ\23RNOQMNPLMVRS"
+  "401\10\4\5\3\0\0*&'NJK`\\]okliefgcdb^_njk\202~\177~z{qmnrno\220SOP\22"
+  "SNRVQU\\XYfbcmijrnoxtu~z{\200z|\202|~\205~\205\207\200\207\211\202\212"
+  "\213\204\214\215\205\220\216\206\221\214\204\221\215\205\222\202\220"
+  "\205\225\6\217\203\227\215\201\225\215\177\230\215\177\231\213|\231\214"
+  "}\234\202\216}\241\15\220{\242\221|\243\223~\247\224\177\250\236\207"
+  "\261\242\213\265\266\237\311\247\220\272\232\203\255\214u\237\207p\232"
+  "\201j\224\200i\223\202\202k\225\3\203l\226\211r\234\223|\246\202\227"
+  "\200\252\26\224\177\246\226\201\250\232\206\253\236\212\257\240\217\263"
+  "\243\222\264\247\226\266\252\231\271\246\227\264\261\242\277\254\237"
+  "\271\262\246\276\263\247\277\267\253\301\270\254\302\366\352\376\366"
+  "\355\377\366\355\376\366\360\376\370\362\377\371\363\377\373\365\377"
+  "\202\374\366\377\202\375\367\377\3\374\371\377\375\372\377\375\373\377"
+  "\203\376\374\377\204\374\374\376W\374\372\375\373\371\374\373\371\376"
+  "\372\370\375\367\364\373\375\372\377\377\375\377\357\352\361\373\365"
+  "\377\371\363\375\373\365\377nhrmgse_kc]g\\V`ZT^VPZXP[UMXVN[UM\\UL]SJ"
+  "]TH\\SG]RF\\QE]M at ZQCdI<h\264\245\340\274\254\367\274\251\377\255\233"
+  "\377\256\233\377\251\227\377\254\232\377\251\227\375\254\233\373\257"
+  "\236\372\270\251\376\304\262\377\271\247\373\255\234\372\246\224\367"
+  "\241\217\362\237\215\360\235\215\360\233\213\356\227\211\353\226\210"
+  "\352\223\210\350\222\207\347\217\206\343\216\205\342\214\203\336\213"
+  "\202\335\206\200\330\203\177\324\200}\316\204\203\323yu\312{v\310|v\276"
+  "|w\25532Q0/=65:66674;85<:7><:=>=8\77\77""7D@\77FBCHDEIEFJFGLHINJKOKL"
+  "NJKOKLPLM\202QMN\204RNO\17SOPUQRTPQPLMMIJQMNWSTXTUVRSPLMLHISOP`\\]b^"
+  "_[WX\210SOP\204RNO\204QMN\7C\77 at B>\77""2./\\XYfbcc_`]YZ\202rno\7fbch"
+  "dekgh\210\204\205rnomijplm\220SOP\34RMQTOSYUV`\\]fbciefnjksopztv}wy\202"
+  "{\202\207\200\207\214\205\215\220\211\221\225\215\230\227\217\232\234"
+  "\224\241\236\226\243\242\227\247\243\230\251\243\227\253\243\227\255"
+  "\244\226\257\245\227\261\242\223\260\242\223\262\243\222\266\242\221"
+  "\265\202\242\215\264\"\243\216\267\244\217\270\246\217\271\252\223\275"
+  "\274\245\317\254\225\277\237\210\262\220y\243\213t\236\204m\227\205n"
+  "\230\207p\232\210q\233\211r\234\215v\240\223|\246\225~\250\223|\246\224"
+  "\177\246\226\201\250\232\206\253\235\211\256\236\215\257\241\220\262"
+  "\244\223\263\247\226\266\250\231\266\262\244\276\255\241\271\262\246"
+  "\276\264\250\276\266\252\300\306\272\320\362\351\374\202\366\355\376"
+  "\4\366\360\376\370\362\377\371\363\377\373\365\377\202\374\366\377\4"
+  "\375\367\377\375\370\377\374\371\377\375\373\377\204\376\374\377\202"
+  "\375\375\375\24\375\375\377\374\374\376\375\373\376\374\372\375\373\371"
+  "\376\372\370\375\377\375\377\366\363\372\371\364\373\363\356\365\377"
+  "\374\377\374\366\377\352\344\356rlvf`lRLX[U_c]gSMW^Xb\202UMX\202RJW="
+  "RJYQHYRFZQEYQE[PDZNBXI<XL=f\313\274\363\265\245\356\270\245\376\252\230"
+  "\373\257\234\377\253\231\377\256\235\377\253\231\377\256\235\375\261"
+  "\241\372\272\253\377\306\264\377\273\251\375\257\236\372\251\227\372"
+  "\243\221\364\241\217\362\237\217\361\235\215\360\231\213\355\231\213"
+  "\354\224\211\351\222\207\345\217\206\343\216\205\340\215\204\337\213"
+  "\202\333\207\201\331\204\200\325\200\177\317\203\202\322~z\321|x\315"
+  "zv\302zv\263cc\211<=Q33;44653864986;:89<;7=<7C\77>D at AGCDHDEIEFJFGLHI"
+  "\202NJK\1OKL\202PLM\1QMN\203RNO\20TPQUQRVRSWSTUQRQMNPLMRNOUQRVRSTPQR"
+  "NOXTUa]^_[\\WST\211SOP\204RNO\203QMN\20b^_oklfbcyuvief^Z[YUVuqrb^__["
+  "\\gcdief\211\205\206yuvsopmij\220SOP<RMQSNRVRS[WX^Z[_[\\b^_gcdlfhoik"
+  "slswpwzs{~w\177\201y\204\204|\207\213\200\216\215\202\222\220\205\226"
+  "\223\210\231\225\210\234\227\211\240\230\212\243\231\213\245\236\216"
+  "\253\237\216\256\242\216\263\243\217\264\245\220\267\247\222\273\253"
+  "\224\300\255\226\302\262\233\305\267\240\312\312\263\335\270\241\313"
+  "\251\222\274\234\205\257\227\200\252\221z\244\215v\240\220y\243\222{"
+  "\245\224}\247\227\200\252\232\203\255\231\202\254\226\177\251\231\204"
+  "\253\233\207\254\236\212\257\241\215\262\241\220\262\243\222\264\245"
+  "\226\265\247\230\267\247\230\265\257\241\273\256\242\272\263\247\277"
+  "\202\273\257\305\10\342\331\356\371\360\377\366\355\376\365\357\375\366"
+  "\360\376\370\362\377\371\363\377\373\365\377\202\374\366\377\202\373"
+  "\370\377\2\374\371\377\375\373\377\204\376\374\377\204\375\375\375\202"
+  "\374\374\376\6\374\372\377\373\371\376\373\370\377\370\365\374\377\374"
+  "\377\367\364\375\202\361\356\367\12\377\374\377\350\342\356XR^icoTNZ"
+  "SMYYS]LFPVPZPJT\202PHU\2PHWOFW\202OFY>NEXPDXQEYOB\\N\77f\261\243\330"
+  "\272\253\360\272\250\374\260\237\375\266\244\377\253\232\377\255\234"
+  "\377\252\232\375\254\235\372\260\240\371\272\253\376\304\265\377\270"
+  "\251\374\257\236\372\251\230\370\243\222\362\242\221\361\237\220\357"
+  "\234\214\356\231\213\354\230\212\353\225\212\352\224\211\347\221\210"
+  "\345\220\207\342\217\206\341\215\204\335\210\202\332\205\201\326\201"
+  "\200\320}~\320~|\320|x\315yv\305tr\263\205\203\262//K0/=015113333534"
+  "875<87=96A=>B>\77EABFBCGCDIEFKGHLHIMIJNJKOKLPLM\204QMN\2RNOUQR\202WS"
+  "T\14UQRRNOPLMOKLSOPVRSXTUYUV^Z[`\\][WXRNO\212SOP\206RNO\20SOPeabb^_k"
+  "gh[WXYUVMIJc_`gcdjfgnjkb^_~z{uqroklb^_\220SOP\202TOS\2UQRXTU\202YUV'"
+  "[WX_[\\f`bhbdkdkmfmohppiqrjutlyvk{xm}|q\202~r\206\201s\212\203u\216\205"
+  "w\221\206w\224\207v\226\211x\232\216z\237\221|\243\224\177\250\231\204"
+  "\255\237\210\264\242\213\267\245\216\270\255\226\300\302\253\325\256"
+  "\227\301\235\206\260\221z\244\220y\243\216w\241\215v\240\220y\243\224"
+  "}\247\227\200\252\232\203\255\202\234\205\257\33\233\205\254\234\207"
+  "\256\236\212\257\241\215\262\243\217\264\243\222\264\246\225\267\250"
+  "\231\270\252\233\270\250\232\264\256\240\272\256\242\272\263\247\277"
+  "\275\261\307\273\257\305\367\356\377\371\360\377\365\356\376\365\357"
+  "\375\366\360\376\370\362\376\371\363\377\373\365\377\374\366\377\374"
+  "\367\376\373\370\377\374\372\377\202\375\373\377\204\376\374\377\204"
+  "\376\376\376\2\375\375\377\374\374\376\202\374\372\377\2\375\372\377"
+  "\366\363\372\202\372\367\377\14\366\363\374\367\364\375\375\367\377\377"
+  "\373\377\364\356\372SMYWQ]OIURLVLFPOISRLV\202PHU\202PHW\1PGX\203OFY\26"
+  "K>PVHaH:^_N\202\276\256\357\266\245\365\265\245\376\261\237\377\253\233"
+  "\376\256\236\377\252\233\372\254\235\370\260\240\370\271\252\375\303"
+  "\264\377\267\250\373\257\237\370\252\231\367\245\224\362\242\221\361"
+  "\237\220\357\233\214\353\202\231\213\352%\226\213\351\225\212\346\222"
+  "\211\344\221\210\341\220\207\340\216\206\334\212\204\332\207\203\327"
+  "\205\203\326{|\316}{\317~|\317}z\311ts\267}}\261\32\32>+,>-.3//-01,3"
+  "2.653:67;78\77;<A=>C\77 at D@AFBCGCDJFGKGHLHIMIJNJKOKLPLM\203QMN\4OKLUQ"
+  "RXTUSOP\202MIJ\12PLMRNOUQRWSTYUV\\XY_[\\^Z[XTUQMN\215SOP\203RNO\6OKL"
+  "WSTRNO_[\\fbcwst\202VRS\10okltpqqmnZVWrnooklnjka]^\220SOP\3TOSSNRTPQ"
+  "\203VRSHXTU[WX^XZ`Z\\d]dg`gibjlemnfqphushxvi{xk\177zm\201|m\204}m\207"
+  "\177o\212\200p\215\203p\220\204p\223\206p\226\207q\230\211r\234\214u"
+  "\241\220y\247\223|\250\227\200\252\243\214\266\271\242\314\243\214\266"
+  "\220y\243\204m\227\207p\232\206o\231\207p\232\210q\233\214u\237\220y"
+  "\243\223|\246\224}\247\226\177\251\230\202\251\230\203\252\232\206\253"
+  "\233\212\256\236\215\261\241\220\262\244\223\265\246\227\266\251\232"
+  "\267\256\240\272\257\241\273\260\244\274\262\246\276\266\255\302\262"
+  "\251\276\370\357\377\357\346\371\365\356\376\365\357\375\366\360\374"
+  "\370\362\376\371\363\377\373\365\377\372\367\377\372\367\376\373\370"
+  "\377\374\372\377\375\373\377\376\374\377\375\375\377\376\376\377\206"
+  "\376\376\376\10\375\375\377\374\374\376\374\373\377\373\372\377\377\375"
+  "\377\370\365\374\366\363\374\372\367\377\202\375\372\377\12\351\345\363"
+  "\352\346\364\362\354\372[UcGAMMGS[UaSMYMGQICM\202QIV\202PHW\202PGX\202"
+  "PGZ8NASXJcM\77b<,]\301\261\360\266\246\361\276\257\377\255\234\372\255"
+  "\236\375\257\240\377\253\234\371\256\240\370\262\243\370\273\254\377"
+  "\304\265\377\270\251\374\261\241\372\254\233\367\247\226\362\245\224"
+  "\362\241\222\357\235\216\353\232\215\351\233\216\352\226\213\347\225"
+  "\212\346\222\211\344\221\210\341\220\207\340\216\206\334\211\203\331"
+  "\206\202\326\206\204\327\177\200\322}~\320\177\200\320|{\311|{\301po"
+  "\25165_))A++3-.).0%11)43/839:5<=8<\77;<A=>C\77 at EABFBCIEFKGH\202LHI\3"
+  "MIJOKLPLM\203QMN\7RNO\\XY]YZPLMEABHDERNO\202YUV\202XTU\202[WX\3YUVVR"
+  "STPQ\220SOP\20[WXZVWWST^Z[hde|xyHDE\77;<c_`kghokl\\XYsopmijrnolhi\220"
+  "SOP\3SNRRMQRNO\202TPQ3SOPUQRYUVYSU[UW_X_aZac\\df_gh`klaopctqdvsfztf}"
+  "ue\177vf\200xh\205zi\211\200l\217\200l\221\202l\223\203l\226\204m\231"
+  "\210q\235\214u\243\217x\246\233\204\260\245\216\270\272\243\315\242\213"
+  "\265\217x\242\205n\230\207p\232\205n\230\203l\226\204m\227\206o\231\212"
+  "s\235\214u\237\215v\240\220y\243\224~\245\226\201\250\230\204\251\232"
+  "\211\255\235\214\260\240\217\261\243\222\262\246\227\266\250\231\266"
+  "\202\256\240\272\2\261\245\275\263\247\277\202\263\252\277\2\370\357"
+  "\377\360\347\370\202\365\357\375\4\366\360\374\370\362\376\371\363\375"
+  "\373\365\377\202\372\367\376\202\374\372\377\2\375\373\376\376\374\377"
+  "\202\376\376\377\206\376\376\376\5\375\375\377\374\374\376\374\373\377"
+  "\373\372\377\373\370\377\202\376\373\377\15\371\366\377\366\363\376\370"
+  "\365\377\366\362\377\377\374\377\360\352\370\363\355\373VP\\B<HJDPA;"
+  "GRLVUOY\202PHU\202PHW\202QHY\202RI\\8XK]TF_WIlWGv\277\257\355\271\251"
+  "\362\304\262\377\257\237\370\256\237\374\260\241\376\254\236\366\256"
+  "\240\367\262\243\366\273\254\375\304\266\377\270\251\372\262\242\372"
+  "\256\235\371\251\230\364\246\225\361\241\222\357\235\216\353\233\216"
+  "\352\234\217\353\227\214\350\226\213\347\223\212\343\222\211\342\221"
+  "\211\337\217\207\335\212\205\331\207\203\327\204\202\325\202\203\325"
+  "\177\200\320\177\201\316wv\302~~\306ss\261mn\236%&D'*3),%,.\40//#21,"
+  "61882<;6:=9:@<=B>\77C\77 at EABHDEIEF\202KGH\4MIJNJKOKLPLM\202QMN\7XTU_"
+  "[\\\\XYLHIC\77 at KGHVRS\202ZVW\202VRS\202YUV\3UQRTPQWST\213SOP\207TPQ\16"
+  "\\XYWSTQMN^Z[*&'1-._[\\fbcrnogcdvrsa]^eabjfg\220SOP\3SNRRMQRNO\202SO"
+  "P\40RNOTPQXTU^XZ`Z\\c\\cd]de^fg`hh`klaoobtqbwsd{te|ue\177wg\201{h\206"
+  "}j\212{e\211|f\214~h\217\200i\223\205k\230\212p\237\217u\245\223y\250"
+  "\231\202\256\240\211\263\260\231\303\232\203\255\214u\237\202\206o\231"
+  "\1\177h\222\202\202k\225\2\206o\231\213t\236\202\215v\240\30\220y\243"
+  "\224~\245\227\202\251\227\206\252\233\212\256\236\215\261\241\220\262"
+  "\244\223\263\247\230\267\251\232\267\254\237\271\252\235\267\261\245"
+  "\275\265\251\301\264\253\300\271\260\305\367\356\377\371\360\377\365"
+  "\357\375\365\357\373\366\360\374\370\362\376\367\364\375\371\366\377"
+  "\202\372\367\376\202\374\372\377\2\375\373\376\376\374\377\207\376\376"
+  "\376\3\375\375\375\375\375\377\374\374\376\202\373\372\377\20\373\370"
+  "\377\374\371\377\371\366\377\370\365\377\376\372\377\370\364\377\366"
+  "\362\377\361\355\373\373\367\377\354\350\366LFTOIWF at LPJVF@LMGS\202NH"
+  "TDQIXRJYTK\\UL]VM`WNaWJ^SE^SEhbR\201\275\256\351\272\252\361\273\252"
+  "\372\263\244\371\262\244\374\264\246\376\260\242\371\262\244\371\265"
+  "\250\372\275\260\377\310\272\377\274\255\376\266\246\376\262\242\373"
+  "\256\236\367\253\233\364\245\226\361\241\222\355\237\222\356\240\223"
+  "\357\234\222\353\233\221\352\230\217\350\227\216\347\226\216\344\224"
+  "\214\342\217\212\336\214\210\334\206\204\330\205\206\330\201\203\320"
+  "\200\202\315zz\304}}\305|{\275\203\203\271\"#B$&2'*!),\31-.\36""00(4"
+  "/67/<94:;78>:;@<=A=>C\77 at FBCHDEJFGKGHLHINJKOKLPLM\202QMN\20TPQVRSOKL"
+  "D at AGCDUQRZVWTPQVRSSOPUQRZVWYUVSOPRNOVRS\212SOP\203TPQ\203UQR\20ZVWTP"
+  "Q_[\\XTULHIZVW,()D at AgcdeaboklgcdmijLHIXTUqmn\220SOP\3TOSRMQRNO\202SO"
+  "P\"RNOTPQXTUXRTZTV^W^`Y`b[ce^fg_jk`nm`rnauqbysd{ue\177wg\202|i\207~k"
+  "\213~h\214\177i\217\200i\223\202k\225\206l\233\213q\240\220v\246\224"
+  "z\251\232\203\257\235\206\260\253\224\276\226\177\251\217x\242\215v\240"
+  "\212s\235\202\177h\222\27\200i\223\205n\230\214u\237\217x\242\216w\241"
+  "\221z\244\226\177\251\227\202\251\227\206\252\233\212\256\236\215\261"
+  "\240\217\261\243\222\264\246\227\266\250\231\266\256\237\274\253\236"
+  "\270\262\245\277\266\252\302\261\247\277\271\260\305\356\345\372\367"
+  "\356\377\202\365\357\375\4\366\360\376\370\362\376\367\364\377\371\366"
+  "\377\202\372\367\376\4\374\372\377\375\373\377\375\373\376\376\374\377"
+  "\204\376\376\376\3\375\375\375\376\376\376\375\375\375\202\375\375\377"
+  "\20\374\373\377\373\372\377\372\371\377\374\371\377\376\373\377\373\370"
+  "\377\367\364\377\373\367\377\360\354\372\371\365\377\364\360\376\357"
+  "\353\371\373\367\377E\77ME\77KOIU\202F at LGMGSNHTOIURJYTK\\WN_YPc[Re^R"
+  "f]QgeYqVHkUHt\314\274\373\310\270\377\273\254\375\304\265\377\271\253"
+  "\377\274\256\377\270\252\377\272\255\377\274\257\376\306\270\377\317"
+  "\301\377\303\264\377\276\257\377\272\253\377\266\247\374\262\243\370"
+  "\255\237\366\250\232\361\246\231\361\250\234\362\242\230\356\240\226"
+  "\354\235\225\352\234\224\347\233\223\346\231\222\342\225\220\340\222"
+  "\217\336\220\217\335\213\215\332\204\206\320\207\212\321\202\205\314"
+  "}}\303\200\177\303uu\253!\"@\"%.&'!)*\34+,\36..&2-44.8839:67<89>:;@<"
+  "=B>\77EABFBCJFGKGHLHINJKOKLPLM\202QMN\20KGHIEF@<=;78JFG]YZ\\XYMIJSOP"
+  "PLMUQR\\XY[WXRNOPLMTPQ\212SOP\203TPQ\203UQR\20d`aOKLRNOLHIGCDZVW)%&D"
+  "@Aief\\XYa]^[WXa]^B>\77]YZ\212\206\207\220SOP\202SNR\202SOPBRNOSOPUQ"
+  "RVRS[UW]WY_X_`Y`b[ce^fh`kkcpmbsocwrd{se|tf\177vh\202yi\206{j\212}i\214"
+  "~j\217\200i\223\202k\225\204m\233\210q\237\217u\245\222x\247\226\177"
+  "\253\233\204\256\262\233\305\230\201\253\216w\243\211r\236\210q\235\204"
+  "m\231\177h\224\206o\233\216w\243\217x\244\215v\242\214u\241\221z\246"
+  "\227\200\252\230\203\252\232\206\253\234\210\255\236\212\257\236\215"
+  "\257\243\222\264\246\225\265\247\230\265\255\236\273\252\234\266\256"
+  "\241\273\261\245\275\264\250\300\307\273\323\364\350\377\364\353\377"
+  "\365\356\377\365\356\376\366\357\377\370\362\377\367\364\377\371\366"
+  "\377\202\372\367\376\5\373\371\376\374\372\377\375\373\376\376\374\377"
+  "\375\375\377\203\376\376\377\202\377\375\377\202\376\374\377\202\375"
+  "\373\377\202\374\371\377\202\375\370\377\4\374\366\377\372\364\376\371"
+  "\363\377\370\362\376\202\367\361\375\202\363\360\373\26C at KB\77JF at LGA"
+  "KICOKEQLDSNFUQHYSJ[VJ^XLbZNd[Oe^Rj\\Oi[Mn\\O}\304\263\371\304\262\377"
+  "\300\261\377\275\256\377\202\277\260\3771\302\263\377\304\265\377\307"
+  "\272\377\323\304\377\331\311\377\323\302\377\316\300\377\312\274\377"
+  "\305\270\377\301\264\377\277\262\377\274\257\376\270\255\373\266\253"
+  "\371\260\250\365\256\246\361\254\246\360\252\244\354\245\242\347\242"
+  "\237\342\236\233\336\233\230\333\231\230\334\226\227\332\220\223\326"
+  "\214\217\322\210\214\314\202\205\310\177\200\303~~\264\"#8#$(%#$%$\""
+  "'&\"+*(--///1224534867;9:=;<@>\77CABECDGEFIGHMIJ\202NJK\26OKLPLMQMNP"
+  "LMHDEA=>B>\77JFGTPQZVW]YZOKLYUVa]^^Z[TPQNJKRNOYUVUQRVRSTPQ\202QMN\5S"
+  "OPRNOOKLRNOSOP\202TPQ\24MIJkghPLMhde^Z[PLMEABOKLXTUD at A512\77;<iefjfg"
+  "c_`hdeVRSrno{wx}yz\220SOP\202SNR\202SOPDRNOSOPUQRVRS\\VX]WY_X_`Y`aZb"
+  "c\\df^ih`mmbsnbvpdzrf|tf\177ug\201xh\205zi\211|h\215}i\216\200i\223\201"
+  "j\224\204m\233\210q\237\216t\244\222x\247\231\202\256\241\212\264\271"
+  "\242\314\245\216\270\230\201\255\215v\242\207p\234\177h\224\202k\227"
+  "\205n\232\211r\236\213t\240\214u\241\216w\243\223|\250\227\200\252\221"
+  "|\243\227\203\250\236\212\257\241\215\262\240\217\261\243\222\264\247"
+  "\226\266\251\230\270\253\234\271\254\235\272\266\251\303\263\246\300"
+  "\262\246\276\274\260\310\361\345\375\364\353\377\366\355\377\365\356"
+  "\377\366\357\377\370\362\377\367\363\377\371\366\377\372\367\377\372"
+  "\367\376\202\374\372\377\3\375\373\376\376\374\377\375\375\377\203\376"
+  "\376\377\202\377\375\377\202\376\374\377\2\375\373\377\374\372\377\202"
+  "\374\371\377\6\375\370\377\374\367\376\373\365\377\372\364\376\371\363"
+  "\377\370\362\376\202\367\361\375\202\362\357\372\202A>I\34D>HF at JHBNJ"
+  "DPLDSNFUQHYSJ[WKaXLbZNf\\Ph]Qi[NhXMmZM{\276\256\367\276\253\377\272\252"
+  "\377\267\250\375\265\246\371\264\245\372\267\247\377\271\252\373\276"
+  "\256\365\310\271\374\315\275\377\307\266\377\202\276\260\375)\274\260"
+  "\374\271\255\371\270\254\370\267\253\367\267\254\370\271\256\372\271"
+  "\261\374\270\260\371\266\260\370\266\260\366\264\261\364\262\260\361"
+  "\257\255\356\255\253\354\244\244\344\240\241\342\234\235\336\226\232"
+  "\332\220\225\325\213\217\317\207\207\315\206\206\272!\"4###$\"'&!%&$"
+  "'(((+++,.-000222645978;9:><=A\77 at CABECDGEFKGH\202MIJ\4NJKPLMQMNVRS\202"
+  "UQR\17YUV]YZ\\XYVRSPLMYUV[WX\\XYYUVTPQRNOVRSZVWKGHRNO\202XTU\202VRS\32"
+  "XTUYUVb^_FBCHDETPQVRS^Z[IEF_[\\TPQSOPMIJLHIJFG734-)*956b^_gcdjfg\177"
+  "{|wst\220\214\215\212\206\207\177{|\220SOP\202SNR\202SOP#RNOSOPUQRVR"
+  "S[UW]WY_X_aZab[cc\\de]hg_llarnbvpdzqe{se~tf\200wg\204yh\210{g\214|h\215"
+  "\177h\222\201j\224\203l\232\207p\236\216t\244\222x\247\224}\251\236\207"
+  "\263\265\236\312\251\222\276\233\204\260\217x\244\207p\234\202\177h\224"
+  "\37\201j\226\204m\227\207p\232\212s\235\215v\240\220y\243\221z\244\221"
+  "|\243\227\203\250\235\211\254\240\214\257\237\216\260\241\220\262\247"
+  "\226\266\255\234\274\245\226\263\247\230\265\266\250\302\260\242\274"
+  "\267\253\303\272\256\306\371\355\377\372\361\377\366\355\377\365\356"
+  "\377\366\357\377\370\362\377\371\363\377\372\364\376\371\366\377\372"
+  "\367\376\202\374\372\377\2\375\373\376\376\374\377\204\376\375\377\203"
+  "\376\374\377\1\375\373\377\202\374\372\377\202\375\370\377\202\374\366"
+  "\377\6\373\365\377\372\364\376\371\363\377\370\362\376\370\360\375\366"
+  "\360\374\202\361\356\371X\77<G>;FB<FD>HF at LHBNLDSNFUQHYTK\\WKaYMc[Og]"
+  "Qi^Rh\\OiYNnYK|\273\253\366\271\246\377\264\244\375\261\241\372\260\240"
+  "\370\256\236\366\260\240\371\261\242\365\267\247\360\301\262\367\305"
+  "\265\377\276\255\375\265\246\367\266\247\372\263\246\370\257\242\364"
+  "\252\235\357\251\234\356\252\236\360\255\242\361\250\237\356\247\237"
+  "\354\246\237\354\247\241\353\245\242\351\245\242\347\243\240\345\241"
+  "\236\343\241\240\344\235\236\341\232\233\336\224\227\332\217\224\326"
+  "\213\216\321\210\210\316\206\206\274\37\40""2!!!\"\40%$\37#$\"%&&&))"
+  "))+*...000423645867;9:><=@>\77CABECDIEFKGHLHIMIJOKLPLMLHIOKLUQR]YZa]"
+  "^^Z[VRSOKLUQRTPQ\203SOP\2RNOPLM\202NJK\12SOPWSTTPQNJKLHIRNOZVW<89PLM"
+  "okl\202UQR\23jfgb^_C\77@@<=ZVW\\XYA=>%!\"\35\31\32:67fbcjfglhiokl\211"
+  "\205\206\202~\177\220\214\215{wxd`a\220SOP\202SNR\202SOPDRNOSOPUQRVR"
+  "SZTV\\VX_X_b[bd]ef_gh`kjbolarnbvocyqe{rd}se\177vf\203xg\207zf\211{g\214"
+  "~g\221\200i\223\203l\232\207p\236\216t\244\222x\250\223|\252\234\205"
+  "\261\254\225\301\246\217\273\226\177\253\214u\241\207p\234\201j\226|"
+  "e\221\200i\223\205n\230\211r\234\213t\236\214u\237\215v\240\216x\237"
+  "\230\204\251\231\205\252\232\206\251\234\210\253\234\213\255\240\217"
+  "\257\250\227\267\257\237\274\263\244\301\257\241\273\271\253\305\260"
+  "\242\273\273\257\307\265\251\301\366\352\377\360\347\374\365\354\377"
+  "\365\356\377\366\357\377\367\361\377\371\363\377\372\364\376\371\366"
+  "\377\372\367\376\202\374\372\377\3\375\373\376\376\374\377\375\374\377"
+  "\203\376\375\377\203\375\373\377\202\374\372\377\4\373\371\376\375\370"
+  "\377\374\367\376\374\366\377\202\373\365\377U\371\363\375\370\362\376"
+  "\367\361\375\367\357\374\366\360\374\364\356\372\360\355\370=:E<9D@:"
+  "DC=GE\77KF at LKCRNFUQHYTK\\XLbZNd\\Ph^Rj`Tj_Sk]Rp[M~\273\252\370\267\244"
+  "\377\262\241\377\257\236\374\261\240\374\255\234\370\256\235\373\260"
+  "\240\370\266\246\361\301\261\370\303\262\377\272\250\372\263\243\373"
+  "\260\240\370\252\234\364\245\227\357\240\222\352\236\220\350\235\220"
+  "\350\236\222\350\234\222\350\233\222\345\231\221\344\231\222\342\227"
+  "\223\340\226\222\336\224\220\334\222\216\330\221\220\326\217\217\325"
+  "\214\214\324\210\213\320\205\212\316\202\205\312\200\200\310\200\200"
+  "\266\34\35/\36\36\36\40\36##\36\"#!$%%%((((*)+++---1/0423645978<:;><"
+  "=A\77 at CABGCDJFGKGHLHINJKPLM\202MIJ\30OKLRNOUQRVRSUQRSOPLHIOKLSOPVRSU"
+  "QRQMNLHIHDEXTUTPQQMNNJKKGHLHIVRS`\\]plmKGH\202[WX\6]YZ=9:EABFBC\13\7"
+  "\10\14\10\11\202\3\0\0\14$\40!EABPLMUQRsopplmmij\202~\177sop|xyeabQM"
+  "N\220SOP\202SNR\202SOP\36RNOSOPUQRVRSXRT[UW_X_c\\cf_gibjkcnmerk`qmau"
+  "ocwpdzrd}se\177vf\203xg\207{g\212|h\215~g\221\200i\223\203l\232\207p"
+  "\236\216t\244\221w\247\230\201\257\241\212\270\202\252\223\301\7\227"
+  "\200\254\212s\237\204m\231~g\223\177h\222\203l\226\207p\232\202\211s"
+  "\232\4\213u\234\220z\241\224~\245\232\206\253\202\227\203\246\26\234"
+  "\210\253\241\216\256\245\222\262\250\227\267\256\236\273\252\233\270"
+  "\252\234\266\262\244\276\254\236\267\266\252\302\257\243\271\367\353"
+  "\377\364\353\377\365\354\377\365\356\377\366\357\377\367\361\377\370"
+  "\362\377\372\364\376\373\365\377\373\366\375\373\371\376\202\374\372"
+  "\377\1\375\373\377\204\376\374\377\6\375\373\377\374\372\377\374\371"
+  "\377\373\370\377\375\370\377\374\367\376\202\374\366\377\202\373\365"
+  "\377\3\372\364\377\371\363\377\371\361\377\202\367\357\376$\365\357\375"
+  "\364\356\372\360\355\370;8C:7B\77""9CB<FD>JE\77KJBQMETPGXSJ[WKaZNd\\"
+  "Ph^Rh`ThaUk_Tr]O\200\273\252\370\267\243\377\262\241\377\260\236\377"
+  "\257\236\376\253\232\372\254\232\375\257\236\372\266\245\363\277\257"
+  "\370\300\257\377\265\243\371\257\236\372\251\230\366\242\223\362\203"
+  "\236\217\3560\234\216\355\232\215\351\233\220\354\231\217\350\227\217"
+  "\345\226\216\343\223\216\342\222\215\337\217\212\334\216\211\331\211"
+  "\206\323\206\206\320\205\205\317\201\203\315~\202\311|\177\306{{\303"
+  "zy\262\30\31+\34\34\34\36\34!!\34\40\"\40#$$$'''(*)***,,,0./31264586"
+  "7<:;><=@>\77B at AGCDIEFJFGLHINJKPLMZVWXTUVRSSOPQMNOKL\202NJK(QMNVRSZVW"
+  "YUVUQRSOPTPQWST[WXRNOOKLUQR[WX]YZ_[\\d`aGCDVRS_[\\A=>RNOQMNEAB\10\4\5"
+  "\26\22\23\77;<XTU[WXc_`jfgoklxtukghlhimij\201}~njktpqeab\\XY\220SOP\202"
+  "SNR\202SOP'RNOSOPUQRVRSVPRZTV_X_d]dg`hibjkcnldqk`ql`tocwpdxrd}tf\177"
+  "wg\204yh\210|h\213}i\216\177h\222\201j\224\203l\230\207p\236\215s\243"
+  "\221w\247\220y\247\236\207\265\246\217\275\261\232\310\234\205\261\214"
+  "u\241\204m\231|e\221\201j\224\203l\226\204n\225\202\203m\224\35\210r"
+  "\231\222|\243\231\203\251\227\203\246\225\201\244\230\204\247\242\216"
+  "\261\251\226\266\252\227\267\247\227\264\251\231\266\262\244\276\267"
+  "\251\303\271\253\304\264\246\277\260\244\272\245\231\257\360\344\372"
+  "\365\351\377\365\354\377\364\355\375\365\356\376\367\361\377\370\362"
+  "\376\372\364\376\373\365\377\373\366\375\372\370\375\373\371\376\202"
+  "\374\372\377\204\375\373\377\202\374\372\377\202\373\370\377\2\374\367"
+  "\376\373\366\375\203\373\365\377V\372\364\377\371\363\377\370\362\376"
+  "\370\360\377\367\357\376\366\356\375\365\357\375\365\357\373\357\354"
+  "\367:7B85@=7AA;EC=ID>JIAPLDSOFWRIZWKaYMc\\Ph^Rh^Rf`Tj`Us]O\200\272\251"
+  "\371\264\240\377\260\236\377\257\235\377\256\234\377\252\230\374\253"
+  "\231\377\257\236\374\267\246\366\300\260\373\277\255\377\262\237\370"
+  "\257\236\376\250\226\371\240\220\363\236\216\361\237\217\362\240\220"
+  "\363\234\216\360\230\212\353\225\212\352\223\210\346\221\210\343\220"
+  "\207\340\215\207\337\215\207\335\213\205\333\212\205\331\210\205\324"
+  "\205\204\322\203\202\320\177\201\314{\177\310y|\303ww\301vu\256\26\27"
+  ")\32\32\32\34\32\35\40\33\37!\37\40###%%%&('(((***/-.201534978<:;\77"
+  "=>@>\77B at AGCDIEFKGHLHINJK\202PLM\7SOPVRSWSTUQRQMNMIJKGH\202WST\7UQRP"
+  "LMLHIPLM[WXd`a\\XY\202RNO\31^Z[c_`ZVWNJKJFGZVW\\XY[WXhde]YZ\30\24\25"
+  "\16\12\13\"\36\37\\XYhdegcdhdextuzvwgcdYUVfbckghrno\207\203\204\202n"
+  "jk\2`\\]\\XY\220SOP\202SNR\202SOP$RNOSOPUQRVRSWQSZTV_X_c\\cd]ee^fe]h"
+  "e]jj_olarnbvpdxse~ug\200xh\205zi\211}i\214~j\217\200i\223\202k\225\203"
+  "l\230\207p\234\215s\242\220v\245\211r\240\232\203\261\241\212\270\264"
+  "\235\313\237\210\264\217x\244\207p\232~g\221\202\177h\222\35\200j\221"
+  "\202l\223\206p\226\215w\235\225\177\245\232\204\252\232\204\250\231\203"
+  "\247\236\210\254\250\222\266\253\230\270\250\225\265\244\224\261\245"
+  "\225\262\210x\223\216~\231\213}\226\230\212\243\236\220\247\243\225\254"
+  "\361\345\373\370\354\377\365\354\377\365\354\375\365\356\376\367\361"
+  "\377\370\362\376\371\363\375\372\364\376\202\373\366\375\1\374\367\376"
+  "\202\373\370\377\204\374\371\377\202\373\370\377\2\375\367\377\374\366"
+  "\377\202\373\365\377\204\372\364\377\34\372\362\377\371\361\377\370\357"
+  "\377\367\356\377\366\355\376\364\356\374\364\356\372\356\353\36674\77"
+  "63>;5\77\77""9CA;GB<HH at OJBQNEVRIZVJ`YMc\\Ph^Rh]Rc`Th`Us]O\200\270\247"
+  "\367\262\236\377\203\255\233\377H\251\227\375\253\230\377\261\237\377"
+  "\272\250\374\302\261\377\277\255\377\260\235\371\256\234\377\251\227"
+  "\373\242\221\367\237\216\364\236\215\363\234\213\361\230\211\356\224"
+  "\206\350\225\211\353\223\210\350\220\206\346\217\206\343\215\207\341"
+  "\214\206\336\212\204\334\211\203\331\204\200\324\202\201\321\177~\316"
+  "{}\312x|\305vx\302ts\277sr\253\26\27)\31\31\31\33\31\34\36\31\35\36\34"
+  "\35\40\40\40\"\"\"\"$#&&&))).,-1/0534978=;<\77=>A\77 at CABHDEJFGKGHMIJ"
+  "OKLPLMD at AJFGQMNUQRTPQRNOPLMNJKSOPQMNNJKMIJOKLTPQ[WX_[\\YUV\202OKL\7Y"
+  "UVXTUJFG\77;<>:;\3\0\0$\40!\202\3\0\0\24\12\6\7\25\21\22@<={wxc_`qmn"
+  "mij`\\]\\XY_[\\mij\205\201\202mijnjkqmn\204\200\201hdefbcXTUVRS\220S"
+  "OP\202SNR\202SOP*RNOSOPUQRVRSXRT[UW_X_aZaaZb`Ya`Xc_Wdj_olarnbvpdxse|"
+  "ug\200yi\204{j\212\177k\216\177k\220\201k\222\202k\225\204m\231\207p"
+  "\234\215s\242\220v\245\220y\247\237\210\266\242\213\271\267\240\316\240"
+  "\211\265\216w\243\206o\231~g\221}f\220~g\221\202l\223\211s\232\221{\241"
+  "\227\201\247\202\232\204\252\27\240\212\256\237\211\255\243\215\261\251"
+  "\223\267\250\224\267\242\217\257\240\217\257\244\224\261\301\261\316"
+  "\273\253\306\243\225\257\261\243\274\265\247\300\271\253\302\367\353"
+  "\377\362\346\374\365\354\377\365\354\375\365\357\375\366\360\376\370"
+  "\362\376\371\363\377\372\364\376\203\373\366\375\2\372\367\376\373\370"
+  "\377\204\374\371\377\202\373\370\377\202\374\366\377\202\373\365\377"
+  "\204\372\364\377\4\372\362\377\371\361\377\370\357\377\366\355\376\202"
+  "\365\354\375U\363\355\373\354\351\36463>41<:4>>8B@:FA;GG\77NJBQMDUQH"
+  "YVJ`YMc\\Ph^Rh^SdaUiaVt]O\200\270\247\367\261\235\377\254\232\377\254"
+  "\231\377\253\230\377\250\225\376\252\227\377\260\236\377\272\250\376"
+  "\303\261\377\276\253\377\256\232\371\247\225\370\245\223\371\240\217"
+  "\365\236\215\363\233\212\360\232\211\357\227\210\355\226\210\352\225"
+  "\211\353\222\207\347\217\205\345\215\204\341\211\203\335\207\201\331"
+  "\205\177\327\204~\324\200|\321}{\316|z\315y{\310vz\304uw\301ts\277ts"
+  "\254\26\27)\31\31\31\32\30\33\35\30\34\35\33\34\35\35\35\37\37\37\36"
+  "\40\37%%%'''-+,1/0423978=;<\77=>B at ADBCIEFKGHLHIMIJOKLPLMSOPUQRVRSTPQ"
+  "PLM\202MIJ\12NJKOKLNJKPLMWST`\\]b^_]YZVRSOKL\202FBC\35NJKOKLHDELHIXT"
+  "U\210\204\205\211\205\206<89ZVWyuvfbcXTU\211\205\206\236\232\233\214"
+  "\210\211mij`\\]iefgcd_[\\a]^uqrnjkjfg|xyd`agcd_[\\a]^\210RNO\13XTUSO"
+  "PVRS]YZYUVOKLPLMYUVPKOSNRRNO\202MIJCRNOWSTYUV\\VX]WY`Y`e^ee^fc\\dd\\"
+  "giank`plarnbvocwrd{tf\177xh\203{j\212vb\205|h\215\201k\222\200i\223\200"
+  "i\225\205n\232\215s\242\220v\245\222{\247\216y\244\240\213\266\260\233"
+  "\306\243\216\271\221|\247\211t\235\205p\231\216y\240\210s\232\205p\227"
+  "\212u\234\227\203\250\243\217\264\250\224\271\251\225\272\261\233\301"
+  "\254\226\274\244\216\264\235\207\253\231\205\250\235\212\252\241\216"
+  "\256\242\217\255\252\232\267\237\217\252\260\242\274\301\263\314\327"
+  "\311\342\325\307\340\315\277\330\373\357\377\357\346\371\374\363\377"
+  "\365\355\374\366\356\375\375\365\377\372\362\377\370\362\374\367\361"
+  "\373\203\373\366\375\1\374\367\376\203\372\367\377\1\373\370\377\202"
+  "\374\366\377\202\373\365\377\202\372\364\377\202\373\363\377\22\372\362"
+  "\377\362\351\372\370\357\377\364\353\374\372\361\377\363\352\375\373"
+  "\357\377\362\351\372\356\350\366\362\357\37263>52=93=3-7\77""9EB<HC;"
+  "JIAP\202LCT\32QE[XLb]Qi^RhaUi_Si_Tr^P\201\262\241\361\256\232\373\260"
+  "\236\377\252\230\376\251\227\375\251\226\377\254\231\377\263\241\377"
+  "\276\253\377\302\260\377\271\246\377\256\232\371\247\225\370\245\223"
+  "\367\242\222\365\236\216\361\232\212\355\230\210\353\202\227\211\353"
+  "\"\223\207\351\221\206\346\217\206\343\216\205\340\213\205\337\211\203"
+  "\333\206\200\330\205\177\325\203\177\324~|\320tr\305\201\202\322or\277"
+  "su\300ww\301sr\253\25\26(\32\32\32\34\32\35\36\31\35\35\33\34\35\35\35"
+  "\37\37\37\40\"!$$$'''+)*.,-1/0534:89><=:89@>\77\203GCD3JFGOKLQMNNJKL"
+  "HIQMNWSTQMNFBCGCDSOPa]^XTUQMNTPQ]YZb^_]YZVRSc_`]YZSOPJFGIEFNJKOKLNJK"
+  "ZVWFBCSOP\214\210\211\271\265\266\266\262\263\237\233\234\222\216\217"
+  "qmnvrs\177{|\204\200\201\203\177\200\220\214\215ZVW[WXxturnogcda]^d`"
+  "aiefd`aZVW\203SOP\202TPQ\203UQR\16NJKOKLRNOWSTXTUVRSZVWa]^KFJSNRZVWX"
+  "TUTPQSOP\202TPQ\4TNPUOQZSZ`Y`\202b[c\4e]hjboshxrgx\202rfz\6se|tf\177"
+  "ue\200ue\202~k\213~j\215\202~h\217\26\177h\224\200i\225\204j\231\203"
+  "l\232\224}\251\223~\247\240\213\266\254\227\300\244\217\272\224\177\250"
+  "\214w\240\213v\237\210s\232\217z\241\234\207\256\252\225\274\264\240"
+  "\305\263\237\304\254\230\275\244\220\265\236\210\256\232\204\252\202"
+  "\226\200\246\24\230\204\251\234\210\253\237\213\256\241\216\256\251\230"
+  "\270\253\233\270\275\256\313\276\260\312\274\256\310\264\246\277\272"
+  "\254\305\362\346\374\366\352\376\364\353\374\362\352\371\373\363\377"
+  "\372\362\377\365\355\372\375\367\377\376\370\377\204\373\366\375\204"
+  "\371\366\377\202\372\364\376\202\372\364\377\202\371\363\377l\372\362"
+  "\377\371\361\377\366\355\376\377\366\377\364\353\374\376\365\377\365"
+  "\354\377\356\345\370\370\354\377\356\345\366\354\346\364\360\355\370"
+  ")&1/,7=7A:4>A;G60<D<KH at OKBSMDUSG]ZNd[OgYMc[OcbVnaVtZL}\276\255\373\263"
+  "\237\376\256\234\377\245\223\367\251\227\373\251\227\375\254\231\377"
+  "\265\243\377\276\253\377\276\254\377\264\241\375\253\227\370\246\224"
+  "\367\244\222\365\240\220\363\234\214\356\231\211\354\227\207\351\226"
+  "\210\352\226\210\351\221\206\346\220\205\343\215\204\337\214\203\334"
+  "\211\203\333\207\201\327\205\177\325\203}\323\200|\323}{\317xv\312|}"
+  "\315nq\276rt\276oo\271kk\241\21\22$\26\26\26\30\26\31\33\26\32\32\30"
+  "\31\33\33\33\36\36\36\37!\40***,,,/-.0./201423756978\77=>@>\77C\77 at E"
+  "ABGCDIEFKGHLHITPQUQRWSTTPQIEFA=>GCDRNOSOPUQRZVWa]^fbceab^Z[YUV\\XYSO"
+  "P\202MIJ\34QMNRNOPLMNJK\\XYb^_sop\177{|plmUQRPLM]YZ[WX^Z[kgh\202~\177"
+  "\211\205\206\215\211\212OKLHDEd`ab^_\\XYYUVd`aplmhdeWST\210RNO\16QMN"
+  "UQRTPQNJKJFGMIJOKLNJKMHLTOSZVWYUVTPQRNO\202SOP\4[UW\\VX_X_aZa\202`Ya"
+  "\34bZef^kncsmbslarnbvrd{tf\177vf\201ue\202~k\213xd\207xb\211\177i\220"
+  "\205n\232\207p\234\212p\237\213t\240\215v\240\222}\244\234\207\260\250"
+  "\223\272\256\231\302\245\220\267\235\210\257\240\213\262\244\217\266"
+  "\246\221\270\202\251\224\273\34\244\217\266\233\206\255\220{\242\211"
+  "t\233\221{\242\216x\237\217y\240\226\200\246\234\206\254\235\207\253"
+  "\236\212\255\242\217\257\242\221\261\244\224\261\263\243\300\263\243"
+  "\276\265\247\301\267\251\303\277\261\313\352\336\366\375\361\377\364"
+  "\353\374\362\352\371\375\365\377\372\362\377\365\355\372\377\367\377"
+  "\376\366\377\204\372\364\376\206\371\363\377\202\370\362\377\2\371\361"
+  "\377\370\360\377\202\370\357\377\11\367\356\377\364\353\374\372\361\377"
+  "\347\336\361\367\353\377\371\355\377\374\360\377\366\355\377\366\360"
+  "\376\20230;==:E,&082<5/;A;GD<KF>MH\77PLCTTH^ZNdYMeVJbYMcbUoYNnTFw\273"
+  "\252\370\261\236\372\260\237\375\253\232\372\254\233\373\252\230\373"
+  "\256\234\377\271\247\377\300\255\377\272\250\376\257\233\372\251\225"
+  "\366\244\222\365\242\221\361\236\216\360\233\214\353\230\210\352\226"
+  "\207\346\224\206\347\224\206\345\220\205\343\217\204\340\214\203\334"
+  "\213\203\331\210\202\330\206\201\325\203~\322\201|\320\177{\320|z\316"
+  "yw\313uv\306mq\273vx\302ss\275zz\260\21\22$\25\25\25\30\26\31\33\26\32"
+  "\32\30\31\34\34\34\37\37!\40!#\202%%%\13(&'+)*0./423756867@>\77;9:>:"
+  ";FBCNJK\202OKL\27QMNKGHSOPTPQKGHC\77 at GCDSOP[WXMIJTPQ[WX^Z[[WXUQROKLL"
+  "HIVRSKGHIEFSOPXTUSOP\202NJK\20QMNWST^Z[a]^ZVWRNOTPQ\\XYhde[WXQMNc_`h"
+  "denjkFBCOKL\202sop\6gcd]YZeabsopjfgTPQ\202UQR\1TPQ\202SOP\1RNO\202QM"
+  "N$XTU]YZXTUJFGD at AJFGIEFB>\77WRVTOSPLMNJKOKLSOPVRSXTU]WY^XZ_X_`Y`_X``"
+  "Yac[ff^kj_oh]nf[li^opbyvh\177zj\205zj\207\200m\215xd\207yc\212\203m\224"
+  "\202\211r\236\10\216t\243\222{\247\214v\235\225\201\246\234\207\256\252"
+  "\225\274\274\247\316\271\244\313\202\255\230\277\4\252\225\274\243\216"
+  "\265\231\204\253\220{\242\202\214w\236\26\216y\242\220{\242\216w\241"
+  "\214v\235\221{\242\231\203\252\233\205\254\232\204\252\234\210\255\242"
+  "\216\261\254\233\275\250\227\267\255\234\274\257\237\274\271\252\307"
+  "\276\260\312\272\254\306\312\276\326\354\340\364\367\356\377\363\353"
+  "\372\365\355\374\202\374\364\377\2\375\365\377\371\361\374\202\373\365"
+  "\377\202\372\364\376\1\371\363\377\202\370\362\376\1\367\361\375\202"
+  "\370\362\376\4\370\362\377\367\361\377\370\360\377\367\357\376\202\367"
+  "\356\377\26\361\350\371\377\367\377\363\352\375\367\356\377\377\371\377"
+  "\347\333\361\356\342\370\356\345\370\351\343\361(%030;(%04.8<6@=7C5/"
+  ";B:ID<KG>OKBSRF\\VJ`\202XLd\6YLf_RnXMord\225\266\246\361\262\237\371"
+  "\202\263\243\3745\257\236\372\255\234\372\263\241\377\277\256\377\303"
+  "\261\377\270\246\374\256\232\371\252\226\371\244\223\363\241\220\360"
+  "\234\215\354\231\212\351\227\210\347\225\206\345\223\205\344\222\204"
+  "\343\220\205\341\217\204\340\214\203\334\212\202\330\207\202\326\205"
+  "\200\324\203~\320\200{\317yu\312wu\311}{\316yz\312rv\300or\271cc\253"
+  "jj\236\22\24#\26\26\24\30\26\27\33\26\32\32\30\31\34\34\34\37\37!\40"
+  "!#!!!\40\40\40\"\40!&$%.,-534:89<:;A\77@<:;A=>LHISOP\202PLM\2SOPEAB\202"
+  "MIJ\202D at A\10QMNZVWYUV\\XY]YZ_[\\^Z[\\XY\202ZVW\13YUVRNOJFGLHIVRSWST"
+  "MIJLHIUQRief`\\]\202VRS\25b^_lhifbcZVWb^_eaba]^vrsgcdUQR401FBCjfgplm"
+  "jfga]^lhi\204\200\201\206\202\203xtuTPQ\202UQR\3VRSWSTXTU\202YUVPSOP"
+  "YUVVRSMIJOKLYUV\\XYUQR^Y]SNRJFGLHIUQR[WXZVWWSTUOQXRTZSZ[T[]V^aZbg_jk"
+  "cpodtlaqi^ok`qrd{xj\201}m\210~n\213\204q\221~j\215\177i\220\203m\224"
+  "\203l\230\177h\224\203i\226\211r\234\231\203\251\241\215\260\244\220"
+  "\265\256\232\277\301\255\322\277\253\320\254\227\276\242\215\264\220"
+  "{\244\212u\236\204o\230\203n\227\206q\232\213v\237\215x\243\215x\241"
+  "\211r\236\215t\236\221z\244\227\200\252\226\177\251\226\200\247\233\206"
+  "\255\245\221\266\252\226\273\254\230\273\261\240\302\261\240\300\262"
+  "\241\301\264\244\301\262\243\300\273\256\310\305\271\315\366\355\376"
+  "\371\361\377\357\347\366\374\364\377\377\367\377\373\363\376\374\364"
+  "\377\202\373\365\377\202\372\364\376\2\371\363\377\370\362\376\204\367"
+  "\361\377\202\370\360\377\202\367\356\377\202\366\355\376\2\373\362\377"
+  "\367\356\377\202\361\345\373]\352\336\364\377\365\377\372\356\377\360"
+  "\347\3741+9/,7(%0:7B3-70*460<93\77=5D at 8GE<MH\77PMAWQE[XLd^Qk^Qm`Rsg["
+  "\177\260\242\323\276\256\367\271\247\375\262\243\370\261\242\365\262"
+  "\243\370\261\241\371\267\246\377\302\261\377\304\262\377\270\246\374"
+  "\256\232\371\255\231\374\244\223\363\241\220\360\234\215\354\231\212"
+  "\351\227\210\347\226\207\346\223\205\344\222\204\343\217\204\340\215"
+  "\202\336\212\201\332\211\201\327\205\200\324\203~\322\201|\316\177z\314"
+  "~z\316tr\305wu\310su\302os\274lo\264nn\264tt\250\22\24#\25\25\23\27\25"
+  "\26\31\25\26\27\25\30\31\31\33\34\33\40\35\36\40'''%%%%#$(&'/-.645<:"
+  ";><=CABA\77 at FBCNJKLHID@AA=>EABJFGNJKKGHEABKGHVRSUQRJFGTPQ\202RNO_UQR"
+  "ZVW\\XYZVWXTUKGHJFGOKLUQRQMNKGHTPQc_`d`ahdeeab[WXVRSZVW[WXWSTPLM^Z[Q"
+  "MNVRS401\40\34\35!\35\36IEFfbcnjklhib^_c_`njkmijb^_KGHLHINJKPLMRNOUQ"
+  "RVRSWSTPLMQMNPLMOKLTPQ\\XY^Z[[WX\\W[SNROKLVRS_[\\a]^YUVQMNb\\^c]_c\\"
+  "c_X_]V^`Yae]hg_jk`pi^nh]nk`qrd{xj\201|l\207~n\213wd\204wc\206{e\213\177"
+  "i\220\177h\222\177h\224\210n\233\220y\243\237\211\257\243\217\262\245"
+  "\221\264\253\227\272\270\244\311\271\245\312\247\222\271\226\201\250"
+  "\214w\240\210s\234\202\204o\230\35\204o\232\202m\230}h\223xc\216\206"
+  "l\231\214r\237\220y\245\223|\246\224}\247\231\202\254\241\214\263\251"
+  "\224\273\241\215\262\244\220\265\250\227\271\254\233\275\257\236\300"
+  "\263\242\302\272\253\312\300\262\314\261\245\271\357\346\367\375\365"
+  "\377\365\355\374\374\364\377\371\361\376\371\361\374\377\370\377\373"
+  "\365\377\202\372\364\376\1\371\363\375\202\370\362\376\202\367\361\377"
+  "\202\366\360\376\202\367\357\376\202\366\355\376\202\365\354\375a\361"
+  "\350\373\357\346\371\367\353\377\360\344\372\376\362\377\343\327\355"
+  "\353\337\367\365\354\3774.<\40\35(&#.30;)#-5/94.:=7C:2A=5DB9JF=NI=SM"
+  "AWVJb_Rli\\zfX{ma\207\324\306\371\300\260\367\276\254\376\264\246\365"
+  "\263\245\364\265\247\366\266\247\372\274\254\377\302\262\377\301\257"
+  "\377\266\244\370\257\233\374\255\230\375\246\224\367\242\221\361\235"
+  "\216\355\232\213\352\231\212\351\230\211\350\224\206\345\222\204\343"
+  "\216\203\341\214\201\335\211\200\333\207~\327\204~\324\202}\321\177z"
+  "\316}x\312\200|\320vu\305rq\301pr\275nr\271mp\265xx\276cc\225\23\25\""
+  "\26\27\22\27\26\24\31\25\26\27\25\30\30\30\32\34\33\40\35\36\"##%###"
+  "%#$(&'.,-534;9:><=867:89A=>D at AA=>:67956>:;EABFBCGCDKGHTPQ\\XYYUVQMNU"
+  "QR\202SOP\35UQRVRSRNOHDE\77;<D at AKGHQMNPLMNJKRNO`\\]lhiRNOYUV\\XYWSTR"
+  "NOTPQXTU[WXRNO]YZ:673/0\23\17\20\25\21\22<89sop\202lhi\6gcd^Z[TPQHDE"
+  "956-)*\203NJK\202MIJ\1LHI\202KGH4RNOMIJKGHQMNTPQSOPRNOSOPZUYUPTTPQXT"
+  "UZVWWSTRNOPLMd^`f`bc\\c]V][T\\^W_bZec[fdYieZjg\\mj_pn`wpbysc~sc\200f"
+  "SskWzs]\203xb\211~g\221\206o\231\223y\246\232\203\255\227\201\245\231"
+  "\206\246\236\213\253\241\216\256\247\223\266\260\234\277\253\227\274"
+  "\231\204\253\223~\247\217z\243\211t\237\205p\233\204\203m\233\30\207"
+  "m\234\216t\241\223y\246\222x\245\224}\247\235\206\260\243\216\267\244"
+  "\217\266\251\225\272\245\221\266\242\221\265\253\232\274\257\236\300"
+  "\262\241\301\266\247\306\263\245\277\265\251\275\323\310\331\346\336"
+  "\355\370\360\377\374\364\377\366\356\373\372\362\375\375\365\377\202"
+  "\372\362\375\202\370\362\376\202\367\361\375\202\366\360\376\202\366"
+  "\356\375\203\365\354\375\1\364\353\374\202\364\353\376\"\370\354\377"
+  "\365\351\377\364\350\376\373\357\377\362\346\376\361\345\375\353\337"
+  "\367.%:\"\34*41<1.9(%05/9-'160<3-991@:2A\77""6GD;LI=SL at VSG_[NhfXyeW{"
+  "dX~\321\303\366\304\264\373\305\264\377\275\257\374\275\257\372\271\253"
+  "\366\276\260\377\202\302\263\377\7\276\254\376\267\245\371\261\235\376"
+  "\256\231\376\250\226\371\244\222\365\236\216\360\202\233\213\355/\232"
+  "\212\354\226\210\351\224\206\345\217\204\342\215\202\336\212\201\334"
+  "\210\177\330\205\177\325\202}\321\200{\317}x\314tq\302xw\307wv\304wy"
+  "\303rw\273fi\254_`\243\22\22D\23\25\"\26\27\22\27\26\24\31\25\26\30\26"
+  "\31\31\31\33\35\34!\37\40$\33\33\35\35\35\35#!\"'%&+)*0./312645)'(.,"
+  "-734:67;78=9:C\77 at HDEEABFBCLHITPQ\202YUV\2[WX`\\]\202iefrhdec_`[WXSO"
+  "PKGHGCDIEFSOPTPQMIJOKL]YZeabc_`d`a\\XYUQRVRSWSTUQROKLKGHMIJhdeTPQgcd"
+  "`\\]d`awst\213\207\210eabUQRMIJUQR\\XYWSTPLMOKL`\\]^Z[ZVWUQROKLJFGFB"
+  "CD at ARNOHDEIEFUQRZVWUQRTPQYUV\\W[XSWTPQPLMJFGGCDLHITPQICEMGKPJNOHOSLS"
+  "]V^f_gjbmg\\ji^nlaqlark^rhZqfVpdToeRpjWwq[\201s]\204yc\212\204m\227\220"
+  "v\243\223|\246\220z\240\222~\241\232\204\250\231\205\250\232\204\252"
+  "\251\225\272\260\232\301\240\213\262\221z\244\214w\242\206o\233}h\223"
+  "yb\220yc\221\200i\227\204m\233\211r\240\217x\246\222x\245\215v\242\222"
+  "{\245\235\206\260\236\211\262\230\203\252\237\212\261\236\212\257\241"
+  "\220\264\254\233\277\202\255\234\276\11\264\243\303\260\241\276\267\253"
+  "\301\252\237\260\300\267\310\361\351\370\374\364\377\367\357\374\377"
+  "\370\377\202\371\361\376\1\370\360\375\202\367\361\377\202\366\360\376"
+  "\4\366\357\377\365\356\376\365\354\375\364\353\374\202\364\353\376\204"
+  "\363\352\375+\365\351\377\364\350\376\361\345\373\357\343\371\350\334"
+  "\362\361\345\373*\36""4-$7.(6-*5#\40+0-6'!+60:/)560<91 at 90A=4ED;NK\77"
+  "UL at VPDZVJbSFb\\No]Qw\313\275\360\324\305\377\324\303\377\307\267\377"
+  "\302\265\375\276\261\366\304\267\375\307\271\377\303\265\377\276\256"
+  "\371\270\246\370\263\237\377\257\232\377\251\227\373\245\223\366\237"
+  "\217\361\202\234\214\357\40\232\214\356\227\211\353\223\210\350\221\206"
+  "\346\217\206\343\215\204\341\211\203\335\207\201\331\204\200\325\201"
+  "}\321\177|\315yx\310|~\313oq\276km\270kn\265lp\260pp\260\11\12""6\16"
+  "\20\34\22\23\16\23\22\16\26\22\21\25\23\24\30\26\31\33\32\"\36\35#\34"
+  "\34\36\40\40\40'%&*())'(\203(&'#'%&,*+3/0623;78EABNJKRNOVRSUQRZVW_[\\"
+  "VRSKGHOKL^Z[WSTYUVWSTPLMGCDEABLHITPQSOP\\XYXTULHIRNOc_`b^_RNOWSTRNOQ"
+  "MN\202VRS_PLMSOPZVWNJKeabJFGiefxtu\212\206\207\225\221\222\224\220\221"
+  "\203\177\200`\\]JFGVRSiefmijqmnyuvRNOSOPUQRWSTZVW]YZ^Z[_[\\^Z[TPQNJK"
+  "SOPUQRQMNNJKPLMNJKGCDEABJFGNJKMIJLHIMIJNIMKFJD\77CRMQE at D_Z`e`fg`gf\\"
+  "gk`nmbpj_om`ruh||m\204{k\205\202r\217wf\206wc\206}i\216\177j\221\201"
+  "l\223\202k\225~g\221\217y\240\223}\244\227~\250\225~\250\237\205\262"
+  "\250\221\275\255\223\300\246\217\273\214r\237\207p\236\203i\230zc\221"
+  "{a\216}f\222\205k\230\207p\234\213t\240\215x\243\224}\251\215x\243\227"
+  "\202\253\230\203\254\236\211\260\230\203\252\236\211\260\240\213\262"
+  "\245\221\266\252\226\273\202\254\230\273\3\257\233\276\261\240\300\261"
+  "\243\274\202\271\255\303\3\253\237\263\373\360\377\367\354\374\202\367"
+  "\357\376\2\365\355\374\375\365\377\202\371\360\377\5\370\357\377\361"
+  "\350\375\364\354\377\366\356\377\363\352\377\203\365\351\377\202\364"
+  "\350\376\36\365\351\377\366\352\377\357\346\371\360\347\372\362\351\374"
+  "\356\345\370\354\343\366-$71(;(\37""0-'5*'2*'0*'.,'.-(/0(32*99.\77<0"
+  "D\77""3IB6LF8OI;RM at TOCWSHYOE]\327\313\361\304\266\353\202\320\277\377"
+  "\17\316\276\377\326\306\377\320\302\377\324\307\377\322\305\375\310\272"
+  "\365\273\256\363\266\250\367\262\241\377\260\236\377\253\231\375\247"
+  "\225\370\242\220\364\236\216\361\234\213\361\202\231\212\357\"\226\212"
+  "\356\222\210\353\217\210\350\215\206\343\212\205\337\210\204\333\204"
+  "\202\326\201\177\322|}\315ux\307v|\310nq\300vx\305mo\271no\257ii\237"
+  "\20\20""2\21\24\35\21\22\15\20\20\6\22\22\10\25\24\20\27\25\30\32\26"
+  "$\35\31'\37\35\"%#$'%&%#$'%&1/0978<:;DBC\202:89\6CABGEFHFGFDE@>\77WS"
+  "T\202a]^\10UQRQMNVRSQMND at AB>\77JFGMIJ\202HDE\12PLMUQRTPQYUV[WXb^_OKL"
+  "^Z[[WXd`a\202VRS\11QMNPLMUQRWSTTPQRNOSOPTPQSOP\203QMN\14SOPTPQVRSlhi"
+  "}yz\215\211\212\224\220\221\227\223\224\225\221\222\211\205\206{wxSO"
+  "P\202TPQ\3VRSWSTXTU\202YUV\3[WXUQRTPQ\202YUV\7RNOPLMRNOFBCB>\77C\77@"
+  "KGH\202PLMJOKLQMNIDHPKOVQUjeiXSWd_c\\W[WRX`V_bXcdYgh]kqdvyl~}n\205|l"
+  "\206|l\207sc\200t`\203ye\210ze\214\177j\221\205n\230\204m\227\215t\236"
+  "\217v\240\220v\243\221w\244\227}\254\243\211\270\253\221\300\257\225"
+  "\304\226|\253\220v\245\210n\235\200f\225{a\216z`\215~e\217\200i\223\201"
+  "j\226\205p\233\221|\247\222}\250\234\207\260\232\205\256\237\212\261"
+  "\233\206\255\242\215\264\241\214\263\242\216\263\245\221\266\247\223"
+  "\266\251\225\270\255\231\274\260\237\277\271\253\305\243\227\257\272"
+  "\256\306\277\263\311\264\250\274\271\256\277\353\342\363\377\366\377"
+  "\372\361\377\361\350\371\354\343\366\356\345\370\364\353\377\371\357"
+  "\377\364\354\377\357\345\375\203\364\350\377\1\363\347\375\203\362\346"
+  "\374\12\363\347\373\357\346\371\370\357\377\353\342\363\352\341\3626"
+  "->-$5!\30)2,:)&1\202)&/C)&-,'-/*14,77/<;0A=1E at 4JB6NF8OI;RM at TODUZNbKA"
+  "\\\315\300\353\316\277\372\314\272\377\313\270\377\313\272\377\321\302"
+  "\377\324\306\377\330\313\377\327\313\373\317\302\367\303\267\367\273"
+  "\255\372\264\243\377\257\235\377\254\233\373\251\230\370\245\223\366"
+  "\241\221\363\236\220\362\234\215\362\231\215\361\226\214\355\225\213"
+  "\354\221\212\351\216\211\345\213\206\340\210\206\332\205\203\326\177"
+  "\200\320|\177\316~\204\322w}\313sv\305mo\274kk\263ww\263st\240\10\11"
+  "%\21\21\33\21\23\16\25\25\13\30\30\14\31\30\23\32\30\33\34\30&\37\33"
+  ")\36\34!\40\36\37#!\"'%&.,-645\202:89\27\77=>867978\77=>B at AFDEJHIIGH"
+  "UQRVRSRNOLHIMIJRNOQMNLHIGCDOKLQMNJFGD at AIEFNJK\202OKL\16PLM_[\\YUVlhi"
+  "eabhde[WXYUVSOPQMNUQRVRSSOPRNO\202TPQ\1SOP\203RNO\2TPQUQR\202VRS\7`\\"
+  "]iefkghmijnjkhde_[\\\204TPQ\202SOP\202RNO\202XTU\16[WX\\XYXTUQMNPLMS"
+  "OPVRSSOPWST_[\\d`aa]^_[\\`\\]\202UPT\3SNRb]aPKO\202`[_\21b]ch^gdZedY"
+  "gncqzm\177\200s\205\200r\211\177q\212yi\204td\201xd\207{g\212xc\212z"
+  "e\214~i\222\177h\222\202\213r\234/\215s\240\217u\242\222x\247\231\177"
+  "\256\245\213\273\261\227\307\247\215\275\234\202\262\220v\245\210n\235"
+  "\202h\225~d\221\200g\221\203l\226\206o\233\205p\233\217z\245\216y\244"
+  "\224\177\250\216y\242\226\201\252\230\203\254\245\220\267\240\213\262"
+  "\236\212\257\237\213\260\242\216\261\245\221\264\252\226\271\255\234"
+  "\274\250\231\266\275\261\311\253\237\267\255\241\267\261\245\273\250"
+  "\234\260\255\241\265\356\343\364\370\357\377\357\346\367\376\365\377"
+  "\370\357\377\354\343\370\361\350\375\356\344\374\361\347\377\363\347"
+  "\377\202\362\346\374\11\363\347\375\362\351\376\363\352\375\365\354\377"
+  "\366\355\376\354\343\364\346\335\3562+;+%3\202)#1H/)7\"\34((%0(%.'$-"
+  "(%,-(/0+25-880=<1B>2F at 4JC7OG9PJ<SNAUOC[WJhQEm\316\277\366\324\304\377"
+  "\277\257\372\316\275\377\313\272\377\310\270\377\326\310\377\330\313"
+  "\377\331\315\377\324\307\375\314\300\376\305\270\377\274\254\377\265"
+  "\244\377\257\236\372\255\234\370\250\231\366\245\226\363\242\225\361"
+  "\240\222\361\234\221\357\231\220\355\230\217\354\224\216\350\220\214"
+  "\343\215\211\336\212\210\334\206\204\327\201\202\322}\200\317uz\313v"
+  "{\314z}\314y{\305uv\267op\246\3\5+\21\23*\22\22\32\22\24\21\26\26\16"
+  "\30\30\16\30\27\23\27\25\30\32\27\"\36\33&\40\36#\35\33\34\40\36\37*"
+  "()534<:;\202><=\15=;<;9:@>\77CAB@>\77A\77 at HFGIGHWSTPLMLHIOKLPLM\202N"
+  "JK\2PLMUQR\202[WX\24SOPLHINJKSOPVRSZVWRNO]YZWSTc_`PLMSOPLHI^Z[WSTRNO"
+  "TPQUQRSOPRNO\202UQR\202TPQ\6SOPTPQUQRVRSWSTQMN\202TPQ\5RNOSOPXTUYUVW"
+  "ST\202TPQ\202SOP\1RNO\203QMN\16VRSYUV[WXXTUPLMLHIOKLVRSZVWXTUZVW`\\]"
+  "_[\\XTU\202SOP\34b]aXSWPKOb]aWRVojnvqu|w}}s|vlwujx}r\200\203v\207\200"
+  "s\205|o\203{m\204qa|sc\200~k\213\202n\221}i\216|g\216~i\222}h\221\217"
+  "v\240\216u\237\220v\243\224z\247\202\222x\247/\236\204\264\256\224\304"
+  "\266\234\314\246\214\274\227}\254\221w\246\216t\241\212p\235\213r\234"
+  "\215v\240\223|\250\213v\241\215x\243\205p\233\211t\235\203n\227\223~"
+  "\247\236\211\262\243\216\265\236\211\260\231\205\252\233\207\254\237"
+  "\213\256\243\217\262\250\224\267\252\231\273\252\233\270\266\251\303"
+  "\247\232\264\256\242\272\255\241\271\263\247\275\241\225\253\255\241"
+  "\265\227\216\241\245\234\255\342\331\354\363\352\375\352\341\366\363"
+  "\352\377\355\344\371\362\351\376\365\351\377\363\347\373\361\345\373"
+  "\360\344\370\356\345\370\203\356\345\366\5E<M0(760>71=)#1\202+%1E5/;"
+  "*'2*'0*'.+(/0+23.55-86.;;0@=2C at 4JC7OH:SK=TOAXQDbTDq\306\267\360\274\254"
+  "\355\272\250\362\316\275\377\266\245\365\315\274\377\317\277\377\323"
+  "\305\377\323\306\376\322\305\373\321\304\374\316\302\377\314\277\377"
+  "\307\270\377\303\263\377\267\247\377\263\243\373\256\240\370\251\233"
+  "\363\245\230\360\243\226\356\237\225\354\234\224\352\230\222\350\225"
+  "\220\344\221\215\341\217\213\337\213\211\334\210\206\331\203\204\324"
+  "\201\202\324\205\207\332pr\305vx\305vv\274rs\254uv\244\13\14*\27\30*"
+  "\25\26\33\24\24\22\25\24\17\30\27\22\32\31\27\34\32\35\40\35$%\"++),"
+  "'%&(&'201\203:89\5<:;534:89FDEKIJ\202ECD\3KIJNLM`\\]\202WST\2^Z[XTU\202"
+  "JFG\7WSThdegcdc_`_[\\^Z[`\\]\202c_`\13lhi\\XY]YZMIJNJK734D at ANJKa]^YU"
+  "VSOP\202TPQ\3RNOSOPVRS\205UQR\202VRS\11WSTYUVXTUTPQQMNSOPYUV^Z[a]^\210"
+  "SOP\1RNO\202VRS&NJKGCDIEFSOP\\XY]YZ[WX]YZ_[\\\\XYSOPNJKOKLZUYUPTYTXy"
+  "txrmq~y}rmqkflyoxwmxzp{\200u\203\177r\203tgyk^ri[rgWrm]zzi\211\201p\222"
+  "\201m\222\205q\226\213v\235\212u\236\224{\245\202\221w\244\177\223y\246"
+  "\217u\244\215s\242\232\200\260\255\223\303\276\244\324\256\224\304\235"
+  "\203\262\225{\252\223y\246\217u\242\215s\240\214u\241\215v\242\207r\235"
+  "\214w\242\207r\235\215x\241\212u\236\235\210\261\251\224\275\235\210"
+  "\257\231\204\253\226\202\247\231\205\252\236\212\257\242\216\263\245"
+  "\221\266\247\226\270\253\234\273\246\227\264\255\236\273\260\242\274"
+  "\234\216\250\251\233\264\252\236\264\224\210\234\236\222\246\211}\221"
+  "\231\215\241\212~\222tk~yp\203mdwlcv`Wj[RcTK^NEVI at QE=L@:H>8F71\77""9"
+  "3\77&\40,60:-*5'$-/,5\35\32#)&/*'0-(/1,34/66187/:6.;80\77:1B at 4JC7OH:"
+  "SL>XQC]RCjSA\177\276\254\370\307\266\377\270\247\367\274\252\374\301"
+  "\260\377\305\265\377\311\271\377\320\301\377\314\276\374\306\273\367"
+  "\306\272\370\310\274\376\312\275\377\313\275\377\313\274\377\302\265"
+  "\377\276\260\377\270\252\377\261\243\370\253\237\361\247\233\355\241"
+  "\230\351\236\227\347\231\224\344\227\222\342\223\220\337\220\215\334"
+  "\215\214\334\212\211\331\206\207\327\203\204\326}\177\326\204\206\333"
+  "\200\202\315wx\270su\245\21\24""5\13\15\"\10\13\24\24\25\31\23\23\23"
+  "\25\24\22\33\32\30!\37\40#!$%#(&$),*-+)*)/-.6457560./,*+-+,*()312DBC"
+  "LJKKIJPNO[YZ_]^ief`\\]_[\\`\\]SOPEABPLMiefplmfbc^Z[`\\]fbcjfggcdd`ae"
+  "ab[WX_[\\NJKMIJ;78WSTlhia]^YUVSOP\202TPQ\3RNOSOPVRS\202TPQ\1UQR\205V"
+  "RS\10UQRRNOQMNRNOTPQXTU^Z[b^_\202RNO\202SOP\1TPQ\203UQR\11OKLSOPQMNH"
+  "DED at ALHIYUVb^__[\\\202^Z[\11`\\]\\XYUQRTPQXTUTOSNIMPKOlgk\202ZUY\24H"
+  "CGA<BTMU\\R]f\\gmcnm`qfYj_Rf]Ofl\\vo_zwg\204|k\213~j\215\207s\230\220"
+  "|\241\220{\242\221z\244\216t\241\202\214r\237\177\211o\236\214r\241\233"
+  "\201\261\254\222\302\270\236\316\260\226\306\243\211\270\230~\255\217"
+  "u\242\212p\235\206l\231\201j\226~i\224\201l\227\216y\244\217z\245\227"
+  "\202\253\222}\246\235\210\261\242\215\266\226\201\250\224\177\246\224"
+  "\200\245\230\204\251\234\210\255\236\212\257\242\216\263\245\221\266"
+  "\235\214\256\252\233\272\246\227\266\241\222\257\251\232\267\240\222"
+  "\254\230\214\244\242\226\254\231\215\243\207{\217\215\201\225\206z\216"
+  "{r\205}t\207mdwd[laXi[RcSJ[LDSF>MA9H;5C82>5/;82<5/9/)3)&/\37\34%*'0/"
+  ",5$!*%\"+)$+.)03.56187/:5-880=:2A at 4HC7MH:TL=ZPA`RBoXF\222\267\243\374"
+  "\265\243\371\271\247\373\305\263\377\276\255\375\301\261\374\312\272"
+  "\377\313\274\377\305\266\373\276\261\366\275\260\365\277\262\370\301"
+  "\264\374\304\266\377\307\271\377\312\275\377\307\272\377\301\264\377"
+  "\272\257\376\264\251\370\254\244\361\246\237\354\242\234\346\235\231"
+  "\345\232\226\342\226\224\337\223\220\335\217\216\334\214\213\333\210"
+  "\211\331\206\207\332\177\177\327~\177\322oo\267~\177\267wy\240\21\23"
+  "*\14\16\32\33\34\40\22\22\24\21\21\21\25\23\26\32\30\33\34\32\35\31\27"
+  "\32\25\23\24\24\22\23\27\25\26\35\33\34&$%\3-+,,*+'%&\202$\"#(0./534"
+  "@>\77GEFIGHTRSa_`dbchde_[\\YUVUQRIEFEAB[WXyuvhde\\XYSOPWST^Z[_[\\[WX"
+  "XTUUQRTPQa]^QMNUQRIEFc_`rno^Z[WSTRNOTPQUQRSOPRNOUQR\202SOP\2TPQUQR\202"
+  "VRS\202UQR\10QMNNJKOKLTPQWSTXTU[WX`\\]\205SOP\203TPQ\12SOPWSTUQRKGHI"
+  "EFRNO\\XYa]^SOPQMN\202PLM\11LHIHDEJFGQMNVQUNIMIDHYTX=8<\202@;\77WLGM"
+  "RKSWPX]S^^T_`UebWgeXleWnwg\201vf\201xh\205yh\210zg\207\202n\221\210t"
+  "\227\205q\226\210q\233\206o\233\205n\234\207p\236\210q\237\215v\244\227"
+  "\177\257\242\212\272\246\216\276\254\224\304\252\223\301\234\205\263"
+  "\215v\244\206o\235\202k\227\177h\224\177j\225\205p\233\223~\251\220{"
+  "\246\226\201\252\220{\244\226\201\252\223~\247\221|\243\220{\242\222"
+  "}\244\225\200\247\230\203\252\231\204\253\235\210\257\241\214\263\237"
+  "\216\262\233\212\256\236\216\262\247\230\271\242\223\262\237\220\255"
+  "\234\215\252\231\213\245\227\213\243\220\204\232\211}\223\177s\211wk"
+  "\177th|qfwpev_VgZRaRJYMETHBPF at LB<H\77""9E>8D60:+(1307(%,2/6\20\15\24"
+  "#\40'*%,)$+)#--'12,660:\20280;\22""91>;3B at 4HC7MF9SJ=[N at cP\77u\262\236"
+  "\363\257\233\376\302\257\377\274\251\377\252\230\352\303\262\377\312"
+  "\272\377\315\275\377\302\264\377\274\256\373\202\270\252\367\5\270\252"
+  "\371\267\251\370\271\253\372\275\257\376\303\266\377\202\302\266\377"
+  "<\301\266\377\277\264\377\267\257\372\257\251\363\252\244\354\243\237"
+  "\351\237\233\345\232\230\343\226\223\340\221\220\336\216\215\335\213"
+  "\211\334\211\207\333\212\207\340zx\313\206\207\310\200\202\262\5\11&"
+  "\14\20\34\17\23\26\16\20\15\20\20\20\22\22\24\26\24\31\27\24\33\24\22"
+  "\27\17\15\20\16\16\14\21\22\15\23\21\22\32\30\31\40\36\37#!\"$\"#(&'"
+  "+)*,*+<:;=;<A\77 at DBCFDEOMNWUVTRS\\XYVRSRNOPLMMIJOKL^Z[plm\\XYTPQPLMS"
+  "OPTPQPLMOKL\203RNO\4\\XYKGHVRSQMN\202c_`\13YUVSOPQMNUQRVRSSOPRNOTPQQ"
+  "MNRNOTPQ\203UQR\12TPQSOPTPQPLMQMNXTUZVWXTUZVW`\\]\203SOP\203RNO\202Q"
+  "MN\6YUV^Z[[WXQMNNJKVRS\202\\XY8]YZYUVWSTUQROKLKGHOKLWSTSNRTOSZUYnimR"
+  "MQZUYgbf\201|\200vowtmumcnaWb`Uch]mqdvreyxi\200wg\201yi\204yi\206{h\206"
+  "\200m\215\201n\216ye\212\177h\222\201j\226\205n\234\212s\241\215v\244"
+  "\221z\250\224|\254\230\200\260\227\177\257\251\221\301\262\233\311\244"
+  "\215\273\221z\250\211r\236\210q\235\206o\233\211t\237\216y\244\225\200"
+  "\253\214w\242\220{\244\216y\242\225\200\251\222}\246\202\216y\240v\220"
+  "{\242\223~\245\224\177\246\225\200\247\232\205\254\237\212\261\235\213"
+  "\261\234\212\260\230\210\255\240\220\264\222\203\244\234\215\254\227"
+  "\210\247\222\203\240\216\200\232\220\204\234\205y\221\203w\215\200t\210"
+  "ui}oduj_p^VeXP_QIXKCRGAME\77KA;G>8DB<F;5\77""529(%,\"\37&/,352941850"
+  "72-40*42,660:;5\77>6A=5@;3@=5DA6GC7MF9WH:]L=fL=v\257\232\365\271\244"
+  "\377\252\226\367\270\245\376\273\251\373\300\260\373\317\277\377\275"
+  "\255\370\273\254\375\267\250\373\266\246\376\267\247\377\266\246\376"
+  "\262\243\370\262\243\366\265\250\372\265\251\375\271\255\377\277\263"
+  "\377\302\271\377\303\273\377\277\267\377\267\261\373\262\254\366\247"
+  "\243\355\243\237\351\235\233\346\230\225\342\223\222\340\217\216\336"
+  "\213\211\334\211\207\333\211\206\335~{\310~~\272\203\205\254\14\17\""
+  "\20\23\30\24\26\21\22\25\16\22\22\20\25\25\27\31\26\35\31\26\37\26\23"
+  "\32\27\25\30\40!\34+,&*)',*+)'(\"\40!#!\"-+,645867@>\77\77=>B at ADBCFD"
+  "EMKLNLMFDE\202PLM\2RNOWST\202[WX\202ZVW!VRSSOPUQRVRSQMNIEFMIJWSTUQRR"
+  "NOUQRB>\77VRS\\XYlhib^_VRSQMNPLMUQRWSTTPQRNOSOPPLMQMNSOPTPQUQRTPQSOP"
+  "RNOUQR\202OKL\35UQRVRSSOPTPQ[WXWSTRNONJKPLMWSTZVWWSTSOPXTUYUVUQROKLQ"
+  "MNZVW^Z[\\XYUQRXTUVRSLHIEABHDEPLMWST\202TOS&YTXe`dsnrytxvqupkovowngo"
+  "b[c[S^]R`eZjoduui}se|zl\205{k\205yi\204}m\212\177o\214~k\211}i\214\200"
+  "j\221\202k\225\203l\230\205n\232\212s\241\220y\247\222{\251\220y\247"
+  "\230\201\257\232\203\261\244\215\273\254\225\303\245\216\272\225~\252"
+  "\214u\241\216w\241\202\232\203\257\10\225~\252\216w\243\205n\230yb\214"
+  "xa\213\205n\230\217x\242\221z\244\202\223|\246B\222{\245\223|\246\226"
+  "\200\247\230\203\252\225\203\253\227\205\253\231\207\255\231\210\254"
+  "\227\206\252\225\204\246\224\203\245\224\205\244\216\177\234\213}\227"
+  "\207y\222\206x\217zm\201vi}ym\201i^o]UdZRaTL[METIAPE=L@:F<6B<6@>8B:4"
+  ">3-71.585<;8\77""63:<7>=6>=5@=5B91>6.;80=<4ALDQ\77""7FE<M\77""5MC5VP"
+  "AjN>m\250\230\327\256\231\366\257\232\377\261\235\374\265\243\371\277"
+  "\256\376\310\270\377\301\263\376\266\250\367\266\247\374\265\244\377"
+  "\263\242\377\260\237\377\256\237\376\255\236\373\202\255\237\367\36\255"
+  "\240\370\254\242\371\257\245\373\263\252\375\267\256\377\272\263\377"
+  "\275\266\377\276\267\377\271\265\377\245\241\355\245\243\356\233\230"
+  "\345\225\224\342\223\222\342\220\216\341\213\211\334\213\210\331\204"
+  "\201\306\205\205\271\15\16-\17\23\36\20\25\21\20\23\12\16\20\5\24\23"
+  "\21\24\22\25\26\23\34\32\27\40\37\36$###\202%&\40\30,+)'%&\"\40!\40\36"
+  "\37$\"#+)*423978:89FDEECDDBCOMNPNOJHIMKLPLMQMNRNOUQR[WX`\\][WXQMN\210"
+  "SOP\20VRSQMNOKL[WXZVW\77;<734OKLWSTZVW\\XYWSTQMNNJKRNOWST\210SOP\26M"
+  "IJQMNZVWXTUQMNZVW`\\]TPQUQRXTU]YZ_[\\`\\]a]^b^_d`aXTUOKLFBCEABMIJUQR"
+  "\202XTU\21UQRRNOOKLNJKLHIMIJPLMUQRb]a^Y]\\W[_Z^faehcgc^b^Y]g`g\202g`"
+  "h\7ibjndoqftujzvk|qdxwi\200\202vf\200&}m\210\201q\216\202o\215\203p\220"
+  "\201k\222\202k\225\201j\226\200i\225\203l\230\211r\240\216w\245\217x"
+  "\246\222{\251\225~\254\243\214\272\261\232\306\257\230\304\240\211\263"
+  "\233\204\256\241\212\264\244\215\271\231\202\256\211r\236\202k\227\201"
+  "j\224|e\217{d\216\204m\227\202k\225\206o\231\213t\236\217x\242\220y\243"
+  "\221z\244\223}\244\225\177\246\225\200\251\225\203\253\202\226\204\252"
+  "\20\224\202\250\222\201\245\221\200\244\221\200\242\220\201\240\212{"
+  "\230\203u\217\201s\214wi\200uh|wk\177eYmdYj\\TcSJ[MET\202JBQ\16H at OD>"
+  "JC=IF at JD>H=7A;5\77<9@;8A94;3,43+66.;80\77\2027/>\1;3B\202 at 8E\13F>MI@"
+  "QMC\\I;_I9fE4j\261\240\344\254\231\363\254\230\373\261\236\372\273\251"
+  "\377\202\302\261\377\11\272\254\373\265\246\371\263\243\374\261\240\377"
+  "\257\235\377\255\233\377\252\231\377\252\232\375\252\233\372\202\251"
+  "\234\370/\250\236\367\252\240\367\255\243\371\256\246\371\261\251\374"
+  "\263\254\374\262\255\375\253\247\364\276\272\377\247\244\361\234\231"
+  "\346\241\240\356\226\225\343\221\220\336\216\213\330\205\202\311\212"
+  "\206\301\210\207\261\11\11!\12\15\22\15\20\11\21\23\10\33\35\22\25\24"
+  "\20\25\23\26\26\23\34\30\25\36\33\32\40\36\36\36\37\40\32\37\40\30#\""
+  "\40$\"#'%&,*+1/0645:89<:;:89DBCB at ACABOMNSQROMNSQR\202UQR\3QMNMIJPLM\202"
+  "VRS\1RNO\210SOP\3XTUUQRPLM\202UQR\13C\77@\77;<TPQC\77 at KGHTPQWSTUQRSO"
+  "PTPQWST\210SOP\7XTUSOPUQRRNOPLM\\XY^Z[\202KGHKQMNTPQNJKD at AA=>IEFRNOH"
+  "DE<89;78MIJ_[\\d`aeabhdeWSTLHIIEFPLMSOPOKLNJKSOPWRVRMQOJNQLPXSW\\W[["
+  "VZXSW]V]b[bibjqjrwmxyn|wl|vk|wj~yl\200tf}rd}yi\203|l\207zj\205|i\207"
+  "{e\213~h\217\200i\223\177h\222\200i\223\204m\231\211r\236\213t\240\216"
+  "w\243\223|\250\235\206\262\251\222\274\263\234\306\266\237\311\261\232"
+  "\304\254\226\275\237\210\262\223|\246\203l\226~g\221\203l\226\205n\230"
+  "\210q\233\221z\244\207p\232\212s\235\216w\241\217x\242\202\216w\241\3"
+  "\217x\242\221z\244\223~\247\203\224\177\250\17\217}\245\215{\241\214"
+  "z\240\214{\237\214{\235\206u\225\177p\215\200r\214zl\205zl\203{m\204"
+  "eYm]QeXM^RFZ\202ODU\2MDUKBS\202JBQ\202OGTCGAMB<H\77""9C<6B82<4-54,75"
+  "-<6->5,\77""4+>7.\77<4CG\77LNFUMDWJ@[E9_RDu\261\242\335\253\232\341\254"
+  "\232\360\255\232\366\263\243\373\277\260\377\301\262\377\270\251\372"
+  "\261\242\365\262\242\372\255\234\372\254\232\376\251\230\377\247\226"
+  "\377\245\224\376\245\224\374\245\225\370\245\227\370\245\227\366\244"
+  "\231\365\243\232\363\245\234\365\246\236\364\247\237\365\246\241\365"
+  "\247\242\366\253\246\370\260\255\374\244\241\356\252\247\364\240\240"
+  "\352\236\236\350\213\213\325\215\214\320\224\220\315\227\224\303\1\0"
+  "\40\27\30*\24\25\27\31\32\24\17\21\6\17\17\5\25\24\20\25\23\26\25\22"
+  "\31\27\24\33\31\30\35\33\33\33\202\33\34\26\21\37\36\34#!\"*()201867"
+  "<:;=;<><=A\77 at GEFA\77@@>\77KIJMKLIGHLJKNJK\202RNO\5NJKLHIPLMRNOQMN\210"
+  "SOP\2QMNVRS\202QMN\202YUV\7]YZmijTPQYUV]YZ\\XYVRS\202RNO\211SOPLWSTP"
+  "LMQMNSOPXTUd`a^Z[C\77 at WSTXTUUQRJFG@<=B>\77OKL\\XYYUVOKLSOPfbciefXTUI"
+  "EFHDEOKLD at AB>\77KGHMIJGCDJFGTPQPKONIMMHLQLPXSW]X\\^Y]\\W[]V]aZaf_gkd"
+  "lpfqrhsshvshxyl~xk\177qczoaxvf\200wg\201rb}rb\177s_\202{e\214\201k\222"
+  "\202k\225\201j\224\203l\226\205n\232\207p\234\214u\241\224}\247\227\200"
+  "\252\234\205\257\261\232\304\307\261\330\301\253\322\253\225\274\222"
+  "{\245\217x\242\207p\232\203l\226\202\206o\231\2\213t\236\226\177\251"
+  "\202\221z\244\6\220y\243\215v\240\212s\235\213t\236\217x\242\222{\245"
+  "\202\222}\246\4\221|\245\220{\244\214z\242\212x\240\202\211w\235\5\204"
+  "s\227\202q\223\177p\217\201r\217zl\206\202yk\204\10bTkTF]SG[TH^UI]TH"
+  "\\QEYOCW\202MDU\202QIX(LDSD<K=7C93A71=:2=91<91 at 90C7.C5,A7.A:1B;3BVN]"
+  "UL_ZPkVItQCx\253\233\334\251\227\341\260\236\360\264\242\370\271\252"
+  "\377\277\260\377\273\254\377\262\243\370\254\234\365\254\233\371\250"
+  "\226\371\247\225\373\244\223\375\242\221\373\241\220\372\241\220\370"
+  "\242\221\367\241\223\365\241\226\364\241\226\362\240\227\362\202\241"
+  "\230\363'\241\230\361\240\232\362\240\232\360\251\245\371\224\221\342"
+  "\242\237\354\245\243\356\237\237\345\223\224\327\224\225\326\232\232"
+  "\326\211\207\266\13\12,\30\31.\3\3\15\23\23\23\20\21\13\16\16\4\23\23"
+  "\13\24\23\21\25\23\26\26\23\32\30\25\34\31\31\33\33\33\33\34\35\27\35"
+  "\36\30#\"\40&$%)'(.,-201645;9:=;<CABGEF><=<:;\202GEF\4@>\77CAB\77;<L"
+  "HI\202VRS\202SOP\2RNOPLM\210SOP\20LHIWSTSOPOKLZVWc_`gcdqmniefgcda]^X"
+  "TUQMNOKLSOPWST\210SOP\3QMNNJKSOP\202WST\4\\XYNJK0,-TPQ\202UQR\20TPQU"
+  "QR[WXeablhiMIJIEFSOPb^_]YZGCD:67>:;D at A@<=C\77@\202IEF\6GCDQMNa]^gbfe"
+  "`dc^b\202b]a\5`[_[VZWRV_X_`Y`\202b[c\4c[ff^ilaopeu\202pcu\35l_snauxi"
+  "\200yj\201td~ue\200wd\204~j\217\203o\224\202m\224\200k\222\201l\223\204"
+  "o\230\205p\231\212u\236\221|\245\231\204\255\243\216\265\264\237\306"
+  "\301\255\322\274\250\315\256\232\277\227\201\250\225~\250\213t\236\204"
+  "m\227\203l\226\200i\223\177h\224\202\205n\232\204\206o\233\34\211r\236"
+  "\216w\243\222{\245\222}\246\221|\243\217z\243\215x\241\214w\240\213v"
+  "\237\211t\235\211t\233\203q\227\203r\226\201p\222~m\215td\201td\177w"
+  "g\201bTmZLe\\Ne_Qj`Ri[MdUG^TF]WK_QEY\202RGX\"ODUG<M=5D:1B:2A91<80=90"
+  "A;2G<2J=3K\77""6KC:MF>M=5DH\77TcXvaT\200\274\255\346\260\237\345\276"
+  "\254\370\267\246\366\273\254\375\276\257\377\271\251\377\262\242\373"
+  "\255\234\372\251\227\372\245\223\367\243\222\370\242\221\371\241\220"
+  "\370\237\216\366\236\215\365\202\237\216\364\3\237\221\363\236\223\357"
+  "\235\224\355\202\235\224\357\202\233\225\357&\234\226\360\234\226\356"
+  "\226\222\347\233\230\351\236\233\350\223\222\330\227\230\331\236\240"
+  "\335\214\216\307\213\215\275\30\27""9\12\10\36\27\26$\21\20\26\15\15"
+  "\15\21\20\13\15\14\7\40\37\32\27\26\24\30\26\31\32\30\35\33\31\36\33"
+  "\33\35\35\35\33\35\37\32\37\40\33%$\"&$%'%&)'(+)*0./645;9:<:;@>\77:8"
+  "9<:;\202JHI\7DBCHFGC\77 at PLM[WXYUVUQR\203TPQ\210SOP\20PLM[WXUQRLHISOP"
+  "VRSSOPUQRXTUVRSSOPOKLNJKQMNWST\\XY\210SOP\202TPQ\12XTUTPQIEFJFGC\77@"
+  ",()JFGMIJSOPYUV\202]YZ\5YUVUQR623845C\77@\202OKL\6IEFMIJXTUHDEOKLVRS"
+  "\202WST\27\\XYgcdrnokfjjeihcgfaeb]a]X\\WRVSNR[T[]V]_X``YaaYdd\\gj_mm"
+  "bpm`qnasl_spcw\202yj\201\17vf\200yi\204\202o\217\204p\223\204p\225\177"
+  "k\220|g\216\177j\221\205p\231\211t\235\213v\237\222}\244\244\217\266"
+  "\265\241\306\266\242\307\202\254\230\273\15\264\240\305\247\221\270\236"
+  "\207\261\215v\240\203l\226\205n\230\203l\226}f\222{d\220zc\217~g\223"
+  "\202k\227\205n\232\202\206o\233\6\211r\236\213t\236\221|\245\216y\240"
+  "\214w\240\212u\236\202\211t\235\23\210s\234\207r\233\202p\230\203q\227"
+  "\177n\222zi\213ra\201xh\205\202r\215rb|hZsfXqeWqcUn[MfUG`WIb^PgTH^\202"
+  "RFZ\11QEYK\77SC8I=4E\77""7F<4A:2\77;2E>4L\202 at 6O\33B8PF=PKCR at 8G\\Shb"
+  "WwaT\202\305\265\363\276\254\366\265\244\362\277\256\374\301\263\377"
+  "\275\256\377\262\242\373\252\231\371\252\230\374\247\224\375\241\216"
+  "\367\237\216\366\236\215\363\235\215\360\234\214\357\233\213\356\234"
+  "\214\357\235\215\360\234\216\357\231\216\352\202\230\217\350\1\230\217"
+  "\352\202\226\217\354\24\227\220\355\227\221\353\227\223\350\221\216\337"
+  "\227\225\340\232\231\335\225\227\322\204\207\274\232\236\316\24\30>\7"
+  "\10\35\21\21\33\23\22\30\23\23\25\21\20\16\34\33\27\40\37\33\23\22\16"
+  "\32\31\27\34\32\33\202\35\33\36\20\34\34\34\35\35\33\35\37\32\36\40\33"
+  "\"!\37%#$(&'+)*-+,1/0645:89<:;@>\77<:;@>\77\202MKL\3IGHOMNWST\202]YZ"
+  "\5TPQMIJOKLTPQWST\210SOP\14PLMYUVTPQOKLVRSUQRMIJOKLJFGMIJPLMTPQ\203U"
+  "QR\1TPQ\210SOP\202UQR\17XTUQMNGCDRNO[WXRNOVRSYUV\\XY]YZ\\XYVRSOKLJFG"
+  "PLM\202QMN\2PLMMIJ\202KGH\4LHIVRSc_`ief\202d`a\3lhimijhde\202ZUY\1YT"
+  "X\203XSW\202WRV+UPVYTZ_X_b[bc\\de]hj_mmbpodtodum`tpcwwh\177vg~te|zj\204"
+  "\204q\217\205r\222\202n\221}i\214{g\214\200l\221\207r\231\214w\236\225"
+  "\200\247\236\211\260\253\226\275\261\235\302\247\223\270\233\207\252"
+  "\236\212\255\252\226\271\257\231\300\250\221\273\230\201\253\215v\240"
+  "\216w\241\213t\236\204m\231\202k\227\177h\224\202k\227\207p\234\202\210"
+  "q\235\202\207p\234\5\210q\233\217x\242\214v\235\210s\232\206q\230\202"
+  "\206q\232T\206q\234\205p\231\202m\226\203n\225}l\220{j\214ve\205\200"
+  "p\215\213{\226yi\204n^yhXseUrdTo_OjYIcYKd^PiYKdUG^TF]WI`RF\\H<PC7KE:"
+  "KE:JB7GA5KC7OB8SA7RB8PD;PG>OJARJ at XaVv\315\277\360\322\302\377\316\274"
+  "\377\313\272\377\305\265\377\276\260\375\266\247\374\256\235\371\250"
+  "\226\374\246\223\376\243\220\374\240\215\371\233\212\362\232\212\355"
+  "\231\211\353\230\211\350\227\210\347\230\211\350\231\211\353\231\213"
+  "\352\225\213\344\224\214\342\222\214\344\222\214\346\222\213\350\222"
+  "\213\352\222\213\350\221\213\345\215\211\336\226\223\342\215\213\324"
+  "\223\223\323{~\265\231\235\314\3\10""2\6\13)\23\25!$$&\23\23\23\14\14"
+  "\14\40\37\35\26\25\23\22\16\15\40\34\33\32\26\27\34\30\31\202\34\32\33"
+  "\34\33\33\33\34\34\34\35\37\34\37!\36\40\36\37%#$+)*/-.1/0423867;9:\77"
+  "=>CAB><=A\77 at LJKKIJIGHRPQ^Z[`\\]\\XYRNOLHIOKLTPQVRS\210SOP\13QMNUQRP"
+  "LMRNO\\XYZVWTPQ[WXRNOTPQWST\202YUV\3VRSQMNNJK\210SOP\10PLMQMNWSTSOPN"
+  "JK]YZkghd`a\202RNO\31QMNMIJIEFHDEKGHNJKQMNTPQVRSTPQWSTYUVTPQJFG\\XYk"
+  "ghnjkc_`b^_ief^Z[IEFVQUUPTRMQ\202PKO\12SNRWRVZUYUPTYTZ_X_b[bc\\de^fk"
+  "al\202ncq\3mbrk^pm`t\202se|\13uf}}m\207}m\212\177n\216\200m\215}i\214"
+  "~j\215\203o\224\211u\232\215x\237\241\214\263\202\254\227\276\30\235"
+  "\211\256\223\177\244\227\203\250\232\206\251\227\203\250\256\230\277"
+  "\260\231\303\247\220\272\232\203\255\222{\245\212s\235\204m\231\206o"
+  "\233\204m\231\206o\233\210q\235\211r\236\210q\235\212s\237\215v\242\220"
+  "y\243\215v\240\212t\233\205p\227\203\204o\230\15\204o\232\203n\231\202"
+  "m\226\202m\224}k\221}l\216yh\212\177n\216\203s\220k[xm]zfVscSp\202gW"
+  "t\12aQl]Oi^Pi[MfUG`VHa[MdXJaL at VE9O\202F:N\3C7KC7OE8R\202F9S\25G;SJ>T"
+  "NBXNBZZOm^Rx\302\264\351\325\305\377\330\306\377\315\274\377\306\270"
+  "\377\272\254\371\260\241\366\255\234\372\251\227\375\242\217\373\237"
+  "\213\372\241\215\374\231\206\361\227\206\354\226\206\350\202\225\206"
+  "\345\10\224\206\345\226\210\347\224\211\345\223\213\341\221\214\340\220"
+  "\214\341\217\213\342\217\212\344\202\217\210\345\40\216\210\342\221\213"
+  "\341\206\201\321\210\205\312\217\216\307\212\213\267\25\32:\21\25.\24"
+  "\27&\27\30\34\23\23\21\27\27\25\36\36\34\31\30\26\23\22\20\36\34\35\21"
+  "\15\16\25\21\22\30\24\25\31\27\30\32\30\31\32\32\32\34\34\34\37\37\35"
+  "!!\37!!!'%&,*+0./201534978\202=;<\3@>\77<:;><=\203IGH\2VTUUQR\202ZVW"
+  "\2UQRRNO\202TPQ\1QMN\210SOP\12YUVVRSNJKQMNZVWRNOMIJXTUVRSTPQ\202RNO\1"
+  "SOP\203UQR\210SOP\40NJKPLMXTUUQRNJKUQRWSTFBCTPQJFGPLMXTUQMNOKLVRSWST"
+  "PLMSOPMIJOKL\\XYYUVLHIKGHd`aa]^_[\\`\\]]YZVRSSOPUQR\210SOP\34PJL[UY`"
+  "Z^]W[^W^g`hhaibZeh]kbWgbWhk`qsg{ui}uh|tf}\200r\214\177p\215~n\213|k\213"
+  "~m\215\205t\226\220\177\241\230\207\253\255\231\276\242\215\264\227\202"
+  "\251\222}\246\202\222{\245\22\224}\247\227\200\252\232\204\253\247\221"
+  "\270\263\235\304\257\231\300\237\211\260\217y\240\210q\233\211r\234\206"
+  "o\231\222{\245\235\206\260\236\207\261\227\200\252\221z\244\217x\242"
+  "\216w\241\202\205n\230S\204m\227\205n\232\206o\233\205n\232\204m\231"
+  "\202k\227\202m\226\177j\221}h\217{g\212~j\215\211v\226\211v\224|i\207"
+  "q^~o\\|jWwhUuiXxdTq^Nk`Pk\\LgWGaXHb]Oh^PiTF]L>UI;TJ;XJ;ZJ<VK;UK<SL=R"
+  "O at WRB\\WHeSCgaR{\300\262\343\305\266\357\322\303\377\321\302\377\323"
+  "\306\377\303\265\377\273\256\375\262\243\370\252\231\365\250\224\367"
+  "\245\220\371\242\214\371\237\211\370\234\206\365\227\204\360\224\203"
+  "\353\222\201\347\221\203\344\220\205\343\217\206\341\214\206\336\213"
+  "\207\334\213\211\334\215\213\336}{\316\221\217\343\207\203\332\215\207"
+  "\337\214\206\336\214\206\334\207\200\316\221\212\315\211\205\267\26\26"
+  "2\36\40,\14\16\15\26\31\22\30\30\26\26\26\26\24\24\24\23\23\23\24\24"
+  "\24\202\25\25\25\202\26\24\25\36\27\25\26\31\27\30\32\30\31\33\31\32"
+  "\35\33\34\40\36\37!!!\"\"\")))-+,,*+0./867;9:867<:;978=9:EABLHIMIJOK"
+  "LQMN\\XYZVWVRSSOPRNOQMNRNO\221SOP\12NJKRNOXTUYUVTPQPLMSOPYUVRNOSOP\204"
+  "TPQ\7SOPRNO[WXUQRPLMRNOYUV\202^Z[\26[WXYUVMIJRNOYUVSOPTPQ]YZ^Z[b^__["
+  "\\NJKD at AMIJRNOUQRa]^hdea]^\\XY[WXXTU\202RNO\1UQR\210SOP*ZTV]WY\\VZYS"
+  "W_X_kdkleme^f[P^^Saf[knctrfzsg{ui}zn\204yk\204zl\206{m\207~o\214\205"
+  "u\222\221\200\240\240\217\261\253\232\274\236\212\257\225\201\246\214"
+  "w\240\211t\235\212s\237\213t\240\216w\243\221z\246\230\201\253\235\207"
+  "\256\244\215\267\253\225\274\254\226\275\243\215\264\225~\250\212s\235"
+  "\224}\247\234\205\257\202\242\213\265\11\236\207\261\230\201\253\221"
+  "z\244\213t\236\203l\226\202k\225\200i\225\177h\224\200i\225\203\201j"
+  "\226M\202m\226\200k\222\177j\221}i\214\177k\216\210u\225\205r\220ub\200"
+  "s_\202o[~gTtfSsiXxgVv`PmaQnbRm]Mh[Kf_Oi`Rk[MfTF]PB\\K<]L<`N>[O\77YR@"
+  "VUCYXF\\[HdWFhjY\203dR\204\302\263\352\313\273\372\322\303\377\306\271"
+  "\376\317\302\377\310\274\377\277\262\377\265\246\373\255\235\366\252"
+  "\226\367\246\221\366\242\214\370\237\211\366\235\207\366\231\205\364"
+  "\225\204\356\222\203\352\217\203\345\216\205\342\212\204\336\210\204"
+  "\333\217\215\341|}\317\210\211\333\223\221\344\210\206\332\206\202\326"
+  "\203~\322\210\203\323\177x\305\224\215\320\177x\254\22\16""1\31\26'\24"
+  "\24\26\21\23\10\34\36\21\30\31\24\26\26\26\24\24\24\23\23\23\24\24\24"
+  "\203\25\25\25\12\27\25\26\31\27\30\32\30\31\34\32\33\35\33\34\37\35\36"
+  "!\37\40#!\"'''+++\202-+,\17""312<:;><=:89201645\77;<HDEMIJNJKRNOVRSX"
+  "TUVRSTPQ\203RNO\2SOPTPQ\220SOP\1UQR\202SOP\10TPQSOPQMNPLMQMNWSTUQRRN"
+  "O\202PLM\21QMNTPQUQRYUVUQRSOPUQRXTUWSTQMNKGHZVWNJKQMNVRSQMNUQR\202_["
+  "\\\20\\XYXTUEAB956C\77 at MIJYUVkghief`\\]XTUUQRRNOOKLPLMUQR\210SOP\2YU"
+  "VZVW\202YSW\14b[bjcje^fZS[UMZ_Wdmbrshxpevmbsqeyxl\202\202zl\205\40~p"
+  "\211\206x\222\221\202\237\233\214\251\242\221\261\245\224\266\220|\241"
+  "\211u\232\204o\230\203n\227\206o\233\210q\235\213t\242\216w\243\224}"
+  "\251\223|\246\230\201\255\244\215\267\257\230\302\260\231\303\244\215"
+  "\267\231\202\254\232\203\255\240\211\263\250\221\273\254\225\277\252"
+  "\223\275\241\212\264\221z\244\203l\226\200i\225\177h\224\202~g\223\202"
+  "\177h\224\20~g\223}f\222{f\217{f\215|g\216}i\214\202n\221\214y\231\210"
+  "u\223vc\201lX{iUxcOrfRuo\\|n[{\202eUr\1^Nk\202_Oj:`Pk`Rk_QjXJcOA[PAb"
+  "QBcSC`TD^XF^[I__MgbOmiW}o^\213\304\261\350\334\315\377\317\276\377\304"
+  "\264\373\267\252\362\300\262\375\312\276\377\303\266\377\272\253\376"
+  "\261\241\371\252\231\365\244\222\365\237\215\363\234\211\362\234\211"
+  "\364\231\210\362\226\205\357\223\204\351\217\203\345\214\203\340\210"
+  "\202\334\205\201\330\206\204\330}{\317\212\207\336yt\316\200|\323\203"
+  "~\322\206\202\317\204\177\302\216\211\301\26\24<\23\20-\25\24$\30\27"
+  "\37\21\21\23%#$\17\16\14\27\27\27\26\26\26\24\24\24\23\23\23\24\24\24"
+  "\203\25\25\25\30\31\27\30\32\30\31\34\32\33\35\33\34\37\35\36!\37\40"
+  "#!\"%#$))),,,.,-0./756=;<;9:423201:89GCDNJKMIJLHIOKLUQR\202TPQ\203RN"
+  "O\3SOPTPQUQR\220SOP\2XTUSOP\202OKL\4TPQWSTTPQOKL\202TPQ\1SOP\202RNO\203"
+  "QMN\202PLM\20TPQZVW^Z[\\XYTPQLHIWSTNJKRNOVRSQMNUQR[WXUQRFBCHDE\202\77"
+  ";<\11PLMYUV\\XYgcdeab[WXTPQSOPRNO\202PLM\211SOP0OKLTPQZTX^X\\b[baZaV"
+  "OWJCKYQ\\c[hpeushxodumbsqeywk\177|n\205}o\206\204v\215\222\204\235\236"
+  "\220\252\237\220\255\225\205\242\212y\231\206r\225\202n\223\177j\221"
+  "\201l\225\205n\232\206o\233\211r\240\214u\243\215v\242\220y\245\225~"
+  "\252\233\204\260\242\213\267\247\220\272\253\224\276\255\226\300\241"
+  "\212\264\244\215\267\250\221\273\251\222\274\250\221\273\241\212\264"
+  "\222{\245\204m\227\202~g\223\1\177h\224\202\201j\226M\200i\225}f\222"
+  "zc\217ze\216ze\214{f\215|h\215\203o\222\217|\234\212w\227vc\203gSvhT"
+  "wgSvjVyq^~lYybQqbRoRB_\\LicSpcSncUodVo]OhSE_WHgWHiYIfZJd^LdbPjhUqjY{"
+  "wd\221xf\232\317\275\371\275\255\356\276\256\365\302\264\377\273\255"
+  "\372\301\263\377\303\267\377\301\264\377\276\257\377\266\247\374\255"
+  "\235\366\244\223\361\236\214\357\233\212\360\233\212\362\230\211\360"
+  "\226\207\356\222\206\352\217\205\346\212\203\342\206\201\335\203~\330"
+  "\201}\324\202~\325\204\177\331\215\207\337\201{\321{w\304\200{\275\202"
+  "\200\262\23\22""4\26\27+\30\30\"\23\24\30\15\15\17\33\33\35\24\22\27"
+  "\37\35\"\27\27\31\25\25\25\202\23\23\23\1\24\24\24\203\25\25\25\14\31"
+  "\27\30\33\31\32\35\33\34\36\34\35\40\36\37\"\40!%#$'%&'''+++1/0423\202"
+  "756\11""201+)*756\77=>KGHPLMNJKMIJPLM\203TPQ\1SOP\202RNO\202SOP\1TPQ"
+  "\220SOP\13UQRSOPPLMOKLTPQZVWYUVUQRNJKQMNUQR\202XTU\24TPQOKLLHIPLMQMN"
+  "UQRZVW]YZZVWRNOLHIXTURNOXTU\\XYWSTXTUWSTJFGA=>\202FBC\3PLMgcdlhi\202"
+  "c_`\10_[\\WSTQMNTPQVRSSOPQMNRNO\210SOP#MIJTPQ[VZ^Y]\\U\\XQXTMUQJR^Va"
+  "c[fianldqpeutiyxm~{p\201zn\202\203w\213\221\204\230\234\216\245\236\220"
+  "\251\225\207\241\211y\226\177n\216}l\216{j\216|g\216~i\222\201j\226\202"
+  "k\227\204m\233\207p\236\211r\240\215v\244\222{\251\202\224}\253\16\232"
+  "\203\257\246\217\273\257\230\304\256\227\303\255\226\302\250\221\273"
+  "\242\213\265\236\207\261\232\203\255\222|\243\213t\236\202k\227\201j"
+  "\226\200i\225\203\177h\224\15}f\222|e\221\202m\226\200k\222~i\220{g\214"
+  "\201m\220\216{\233\210u\225q^~kWzmY~kWz\202jVy at cPp^KkbOoUDdcSpl\\yiY"
+  "vfVshXsfVq`Pk\\Kk^Mm`PmbRmgWqn^yve\207{i\221\211u\250\323\277\372\305"
+  "\261\366\303\261\373\301\260\377\277\260\377\257\240\363\272\255\377"
+  "\270\253\372\274\257\376\277\262\377\272\254\377\260\242\372\245\226"
+  "\361\237\220\357\235\215\357\233\213\356\230\212\354\224\210\352\221"
+  "\207\350\215\206\345\212\205\343\207\202\340\204\177\333\206\201\335"
+  "{u\317\203}\325wo\304\203}\307\204\200\275\210\205\264\21\20/\30\27%"
+  "\22\23\25\30\31\24\25\26\20!\40\34\33\31\32\25\22\31\24\21\32\27\27\31"
+  "\26\26\26\24\24\24\23\23\23\24\24\24\203\26\26\26\14\32\30\31\33\31\32"
+  "\36\34\35\37\35\36!\37\40#!\"&$%(&'(((---312534\202423\20""3121/0<:;"
+  "A\77 at JFGNJKPLMSOPVRSYUVWSTVRSUQRTPQSOPRNO\202QMN\220SOP\13QMNVRSUQRP"
+  "LMQMNVRSWSTSOPRNOSOPTPQ\202UQR\31TPQRNOQMN^Z[\\XYYUVVRSRNOLHIEAB@<=X"
+  "TUUQR[WX_[\\ZVW[WXVRSC\77 at D@AJFGKGHTPQhdejfg\203`\\]\7WSTRNOUQRXTUVR"
+  "SSOPRNO\210SOP\4VRSXTUYTXXSW\202VOV\26^W_f_gf^ih`kh`mianodtvk{zo\200"
+  "{p\201\203x\211\220\205\226\235\220\242\234\217\243\217\201\230\202t"
+  "\215\177o\212\201q\216{j\212yh\212|g\216~i\222\202\200i\225\25\202k\231"
+  "\204m\233\207p\236\211r\240\214u\243\216w\245\221z\250\225~\254\233\204"
+  "\260\240\211\265\253\224\300\256\227\303\257\230\302\255\226\300\250"
+  "\221\273\237\210\262\223}\244\211s\232\212s\237\206o\233\201j\226\202"
+  "}f\222\24~g\223\200i\225\201j\226\202m\226\200k\224}h\217ye\212\201m"
+  "\220\220|\237\212w\227r_\177jV{mY~jVygSvhTwfRuiUxs`\200p_\177\202xg\207"
+  "\1m]z\202dTq\1eUr\202cSp1fVsk[xqa|xh\205\177n\216\206t\232\211x\245~"
+  "k\243\304\261\363\276\254\370\274\252\374\267\250\375\267\247\377\256"
+  "\240\370\265\247\376\260\243\365\266\251\371\273\256\377\273\255\377"
+  "\264\246\376\253\234\367\244\225\362\240\222\361\232\214\355\226\213"
+  "\353\223\211\352\217\210\350\214\207\345\212\205\343\207\203\341\206"
+  "\201\337yr\317\213\202\333\202z\315|v\276}x\262(%P\32\32""6!\40.\35\36"
+  "\40\32\35\26\32\34\21\22\24\11\31\30\24\32\30\31\34\31\40\25\22\31\30"
+  "\30\32\26\26\26\202\24\24\24\2\25\25\25\27\27\27\202\30\30\30\12\33\31"
+  "\32\34\32\33\37\35\36\40\36\37\"\40!%#$(&'*()---000\203423\14""756=;"
+  "<B at AECDHFGLHIMIJPLMTPQVRSUQRWST\202VRS\5UQRTPQRNOQMNPLM\220SOP\1PLM\202"
+  "XTU\10QMNNJKSOPQMNKGHZVWVRSQMN\202NJK\27SOPYUV]YZa]^^Z[YUVSOPNJKJFGH"
+  "DEFBCOKLLHIQMNSOPOKLSOPNJK:67956FBCJFGOKL\202[WX\10WST^Z[ief]YZSOPTP"
+  "QWSTUQR\212SOP4YUVVRSTPQVRSWRVYTXaZajcjg`hkdlldojbmjboqivzo\177~s\203"
+  "\220\205\225\225\212\232\226\213\233\215\202\223\200s\207wi\200wi\203"
+  "{l\211{j\212zi\213|g\216~i\222\177j\225~i\224\201j\230\204m\233\204l"
+  "\234\205m\235\207o\237\212r\242\216w\245\221z\250\223|\252\224}\253\232"
+  "\203\257\244\215\271\260\231\303\270\241\313\271\243\312\261\233\302"
+  "\237\211\260\220z\241\222{\247\216w\243\211r\236\206o\233\202\205n\234"
+  "\202\206o\233\20}h\221|g\220yd\213wc\210\202n\221\224\200\243\216{\233"
+  "ub\202jTznX~lX}nZ\177t`\205vb\207{g\214\206r\225\202\205q\2248}l\216"
+  "q`\200hWwgVvhWwiYvqa~vf\203}m\212\203s\220\206w\226\207w\234\207v\242"
+  "\207v\254\305\262\362\263\241\353\303\260\377\256\233\364\257\236\372"
+  "\267\246\377\265\246\377\250\231\366\255\237\366\257\241\366\263\245"
+  "\374\266\250\377\265\250\377\260\243\375\247\232\366\236\223\357\233"
+  "\220\356\227\216\353\222\213\352\216\211\347\214\207\345\211\205\343"
+  "\207\203\341\207\202\336\216\205\336\210\177\320}v\272\201|\262!\35B"
+  "\40\36""4\26\26\36\35\35\35\25\26\21\22\23\15\14\13\6\37\36\32\24\23"
+  "\21\33\31\32\32\26\27\33\31\34\31\31\31\27\27\27\202\25\25\25\2\26\26"
+  "\26\30\30\30\202\31\31\31\31\34\32\33\36\34\35\40\36\37\"\40!$\"#&$%"
+  "*(),*+000111423645867<:;CABIGHKIJNLMQMNOKLNJKPLMQMNOKLSOP\204TPQ\3SO"
+  "PRNOQMN\220SOP\1OKL\202VRS\27RNOVRS]YZXTUKGHVRSUQRRNOQMNSOPWST\\XY_["
+  "\\TPQSOPPLMMIJJFGIEFJFGKGHC\77@\77;<\202B>\77\20\77;<FBCD at A1-.*&'@<="
+  "LHIQMNVRSSOPTPQb^_rnob^_TPQRNO\202TPQ\2SOPTPQ\210SOP\1TPQ\202OKLHWST"
+  "]X\\\\W[[T[\\U\\^W_g`hmepjbmianqiv\177t\202\207|\212\224\211\227\215"
+  "\202\220\203x\210}r\202|o\201zm\201xj\203ug\201yi\206xg\207zf\213|g\216"
+  "|g\220{f\221~g\225\201j\230\202j\232\204l\234\207o\237\210p\240\211r"
+  "\240\214u\243\220y\247\224}\253\223|\250\233\204\260\246\217\271\262"
+  "\233\305\274\246\315\275\247\316\263\235\304\247\220\272\226\177\253"
+  "\225~\252\224}\251\223|\250\222{\251\217x\246\213t\240\210q\235~i\224"
+  "}h\221ze\214xd\211\202n\223\222~\241\213x\230o[~pZ\200u_\205ua\206zf"
+  "\213\202n\223\203o\224\202n\223\211u\232\202n\223\177k\216yh\212\202"
+  "ud\206\21ve\205xg\211xg\207\177o\214\205u\222\214|\231\220\177\237\215"
+  "}\241\207v\240\200o\243yj\245\270\247\356\272\250\372\255\232\364\270"
+  "\247\377\256\234\377\247\227\372\202\255\235\377\7\255\236\373\252\234"
+  "\364\252\233\366\256\241\373\264\247\377\261\246\377\246\233\367\202"
+  "\234\223\360\31\227\220\355\222\215\351\216\211\345\213\210\343\211\206"
+  "\341\207\204\335\210\202\330\204{\312\203z\275\204{\260\34\30=&#8!\40"
+  "&\32\32\30\22\23\15\14\15\7\31\32\25\27\26\24\27\25\26\32\30\31\22\20"
+  "\21\23\17\16\31\30\26\31\31\31\27\27\27\202\26\26\26\1\27\27\27\203\31"
+  "\31\31\34\35\33\34\37\35\36!\37\40#!\"%#$(&'+)*-+,...///312978=;<@>\77"
+  "A\77 at CABFDELJKQMNPLMNJKQMNRNOQMNOKLPLMRNOSOP\202TPQ\2SOPRNO\220SOP\1"
+  "NJK\202RNO\15SOP`\\]mijeabRNOKGHPLMWST]YZ_[\\]YZZVWWST\202KGH\4HDEC\77"
+  "@=9:956\202734\2NJKOKL\202EAB\24QMNMIJ>:;:67+'(^Z[vrslhimijqmnfbcXTU"
+  "OKLTPQ)%&>:;eabRNOOKLWST\202VRS$ZVWTPQJFGRNOZVWQMNSQRTRSVRSSOPQLPTOS"
+  "\\W]c^d_Zahcjibjc\\dh`k{s~\210\200\213\211\201\214\205{\206\201w\202"
+  "yn|shxpevqeytf}wi\202wg\204xg\207yh\214{i\217}h\221~i\222\202}h\223\202"
+  "\200i\227\1\202k\231\202\205n\2348\206o\235\212s\237\217x\244\225~\252"
+  "\236\207\263\246\217\271\251\222\274\250\221\273\252\223\275\257\231"
+  "\300\263\234\306\260\231\305\257\230\306\250\221\277\243\214\272\237"
+  "\210\266\223|\252\213t\242\215v\242\201l\227t_\210hSzo[\200\200l\221"
+  "\234\210\253\214y\231\177k\216\177i\217~h\217\201k\222\205o\226\206p"
+  "\227\204n\225\205p\227\211t\233\210s\232\202n\223\201m\222\202n\223~"
+  "m\221\203r\224\211x\234\210w\231\232\207\247\235\212\250\206u\225\212"
+  "y\235\204t\233xf\226|j\244\265\244\350\262\237\360\261\236\367\257\236"
+  "\376\255\234\377\253\232\377\202\252\231\377\37\251\232\377\250\232\373"
+  "\247\231\370\250\232\371\253\235\374\256\240\377\253\240\377\250\235"
+  "\375\243\232\367\233\222\357\225\216\353\232\225\357\213\207\336\212"
+  "\206\335\215\211\336\206\202\326\211\205\317\200x\26381]\31\22""3&#8"
+  "&#,\36\34\35\35\34\30\26\25\20\22\21\15\33\31\32!\37\"\37\35\"\33\31"
+  "\34\32\30\31\202\32\31\25\5\23\23\21\34\34\34\11\11\11\17\17\17!!!\202"
+  "\32\32\32\3\34\34\34\40\36\37\"\40!\202'%&\27#!\"*()1/0.,-111555:89;"
+  "9:978;9:B at AHFGJHIPNOPLMHDEIEFRNOTPQMIJRNOPLMMIJ\202LHI\6PLMSOPVRSRNO"
+  "SOPUQR\202VRS\7UQRSOPRNONJKRNOUQRTPQ\202QMN>SOPWSTRNO^Z[UQRQMNa]^_[\\"
+  "VRS`\\]eabfbc^Z[ZVW\\XYPLMHDEQMNC\77@*&'\27\23\24\32\26\27)%&512>:;E"
+  "ABTPQ`\\]c_`d`agcdXTUD at AA=>VRSwst~z{mijhdefbc]YZVRSGCDPLM1-.GCDkghWS"
+  "TOKLUQRNJKKGHQMNSOPLHIRNOYUVQMNOMNQOPVRSWST\202XSW\2ZU[[V\\\202`[b\22"
+  "`Yab[cnfq|t\177\203{\206\202z\205\201w\202}s~xm{shvqfvqfwtg{ug~yi\204"
+  "zj\207zi\213{j\216\202}h\217#}h\221}h\223zc\217|e\221\200i\227\204m\231"
+  "\204m\233\204m\231\207p\234\214u\241\220y\245\222{\247\236\207\261\253"
+  "\224\276\246\217\271\227\200\252\226\200\247\240\211\263\261\232\306"
+  "\263\234\312\257\230\306\254\225\303\255\226\304\246\217\275\234\205"
+  "\263\232\203\261\214w\242\207r\233\205p\231\217z\241\233\207\254\262"
+  "\236\301\240\214\257\224\200\243\217y\240\202\216x\237\202\220z\241\34"
+  "\217y\240\220{\242\224\177\246\220{\242\216y\240\222}\244\227\203\250"
+  "\226\204\252\231\210\254\233\211\257\227\206\252\212w\227\205r\222\203"
+  "r\224\212x\240{j\227\202q\247wg\246\257\237\350\257\235\363\255\234\372"
+  "\254\233\377\252\231\377\251\230\377\250\227\377\246\227\376\246\227"
+  "\374\247\231\373\202\246\230\372%\246\232\374\250\234\376\250\236\377"
+  "\245\233\374\242\230\370\234\225\362\224\216\346\223\215\343\221\214"
+  "\336\223\216\336\206\202\316\210\204\316\204\200\273<6Z/*@1-<309$\"'"
+  "\36\34\35\35\34\32\25\24\20\33\32\30!\37\40$\"%!\37\"\34\32\35\31\27"
+  "\30\30\27\25\26\25\23\20\20\20\31\31\31\13\13\13\23\23\23###\35\35\35"
+  "\33\33\33\36\36\36\202\36\34\35\16$\"#'%&&$%+)*1/00./111555;9:><=\77"
+  "=>@>\77CABFDE\202IGH\12HDEFBCKGHRNOTPQPLMYUVWSTUQRSOP\202RNO\2TPQUQR"
+  "\204XTU\2WSTVRS\202TPQ\5JFGOKLTPQVRSTPQ\202SOPWTPQUQRGCDIEFc_`kghNJK"
+  "=9:MIJYUV\\XYSOPOKLXTUWSTPLMTPQ3/02./:67KGHVRSYUV[WX_[\\lhi{wx|xytpq"
+  "jfgVRSFBCIEFtpq\201}~zvwiefc_`[WXRNOTPQLHIVRSFBCZVWsop^Z[QMNTPQYUVOK"
+  "LSOPYUVSOPRNOTPQNJKRPQQOPRPQTRSXSWZUYYTXXSW_Z`VQWUPWc^etmu{t|zs{yrzt"
+  "musltsitqftqfvqfwsfztf}vh\201vh\202wf\206wf\210ye\210ye\212\202ze\214"
+  "!xa\213zc\215\177h\224\203l\226\204m\231\203l\226\205n\230\211r\234\216"
+  "w\241\235\206\260\244\215\267\233\204\256\217x\242\210q\233\177h\222"
+  "v_\211\205n\232\224}\253\236\207\265\247\220\276\263\234\312\264\235"
+  "\313\251\222\300\242\213\271\231\204\257\235\210\261\243\216\267\256"
+  "\231\300\265\241\306\307\263\326\265\241\304\254\230\273\242\214\263"
+  "\203\240\211\263\30\236\207\261\234\205\257\235\206\260\240\211\263\247"
+  "\222\273\242\215\266\243\216\267\241\214\263\232\205\256\225\200\247"
+  "\221|\245\211t\233\221}\240\215y\234\202p\226}j\227\203q\243uc\237\252"
+  "\231\337\270\246\370\252\231\365\251\231\374\250\227\377\245\225\377"
+  "\202\244\224\3778\243\224\375\243\224\373\242\226\372\241\225\371\240"
+  "\224\370\242\226\372\244\230\374\243\231\374\242\230\371\236\227\366"
+  "\222\214\346\232\225\351\212\206\323\223\215\327\231\224\327\217\212"
+  "\312\214\210\303;9a1-;:65;6:2-3%\")\"\37&\36\34!\26\24\27\"\40!$#!\""
+  "\"\40\36\36\34\32\32\32\30\30\32\26\25\32\24\23\30\23\23\25\34\34\34"
+  "\24\24\24\33\33\33'''\40\40\40\36\36\36!!!&$%\"\40!'%&-+,,*+-+,1/00."
+  "/555777;9:\77=>CABECD\202FDE\10JHIB at AA=>HDEPLMSOPUQRWST\202XTU\203WS"
+  "T\203VRS\6WSTVRSTPQRNOQMNPLM\202OKL(IEFNJKUQRXTUWSTUQRRNOQMNUQRRNOTP"
+  "QRNOGCD=9:($%\13\7\10<89OKLTPQSOP[WXQMN623$\40!'#$845RNOfbcjfgeabfbc"
+  "kgh_[\\fbc^Z[RNOOKLKGHMIJ\\XY\202qmn\1eab\202^Z[6UQROKLXTUTPQZVWUQRa"
+  "]^njk]YZMIJPLM]YZNJKQMNYUVSOPQMNTPQQMNWUVSQRNLMOMNUPTXSWYTXWRVZU[PKQ"
+  "SNUe`gtmusltpiqrkshaiibjmcnodrqfvrgwtgytg{tf}se~td\201sb\202vc\203wc"
+  "\206xd\207ye\212|f\215}g\216\200j\221\202\203m\224\34\202l\223\205n\230"
+  "\211r\234\222{\245\243\214\266\244\215\267\223|\246\215v\240\225~\250"
+  "\222{\245\202k\227\200i\227\207p\236\202k\231{d\222\202k\231\215v\244"
+  "\224}\253\227\200\256\234\207\262\242\215\270\253\226\277\265\240\307"
+  "\272\246\313\312\266\333\271\245\310\261\235\302\263\235\304\202\263"
+  "\234\306\2\262\233\305\260\231\303\202\255\226\3007\256\227\301\241\214"
+  "\265\233\206\257\230\203\254\225\200\251\216y\242\214w\240\213v\237\205"
+  "p\231~j\217\206q\230\177m\227{i\231\200m\244}m\254\265\245\360\242\222"
+  "\352\245\225\367\243\224\373\242\222\377\241\220\377\241\221\376\241"
+  "\221\374\241\222\371\241\222\367\240\224\370\237\223\367\236\222\370"
+  "\235\222\370\237\224\372\237\225\370\235\226\366\234\225\362\236\230"
+  "\356\217\210\330\236\230\340\225\217\317\213\206\276\205~\261;5a3/J<"
+  ";975)(%\40\"\36\37$!*\37\34'\31\26\37\36\33\"\"\40!\37\40\33\33\34\27"
+  "\30\31\24\26\26\24\27\27\31\202\30\27\37\25\30\30\32\36\36\36\33\33\33"
+  "\37\37\37&&&!!!\36\36\36\"\"\"*()$\"#(&'/-..,-/-.312423;;;999;9:><=D"
+  "BC\202HFG\15GEFJHI@>\77C\77 at OKLUQRRNOTPQ[WXOKLQMNTPQVRS\204XTU\6UQRS"
+  "OPQMNNJKMIJNJK\202OKLDQMNSOPVRSXTUWSTUQRSOPRNOSOPUQR\\XYRNOKGH`\\]]Y"
+  "Z2./\35\31\32+'(#\37\40\24\20\21!\35\36""512=9:A=>623EABYUVb^_^Z[YUV"
+  "\\XYb^_623:674013/0C\77 at OKLZVWkghlhid`aTPQPLMWSTSOPUQRfbcSOPRNOVRS[W"
+  "Xa]^ZVWLHIPLMRNOFBCIEFOKLKGHOKLXTUVRSTRSQOPPNORPQ\202VTU\33SNROJNRMQ"
+  "NIMUPVd_ejeke`ff_flemf_gh`kkcpmerqfvrgwrewreyse|se~td\177td\201ue\202"
+  "wf\206{h\210|h\213\202l\220\202\200j\220\10\201k\221\200j\220\201k\221"
+  "\205o\226\213u\234\241\213\262\232\204\253\225~\250\202\224}\247\7\221"
+  "z\244\220y\245\221z\246\200i\227\221z\250\231\202\260\224}\253\202\223"
+  "{\253,\217x\246\216w\245\230\203\256\235\210\263\245\220\271\257\232"
+  "\301\264\240\305\304\260\325\260\234\277\246\222\267\237\210\262\241"
+  "\212\266\242\213\267\241\212\266\236\207\263\234\205\261\231\202\256"
+  "\230\201\255\227\202\255\221|\247\217z\245\215x\243\210s\236\212u\240"
+  "\214w\242\210s\234\203m\224\204o\230\207t\241\210v\250o[\230\271\250"
+  "\356\250\226\350\256\235\371\243\222\370\240\220\373\236\215\375\234"
+  "\216\375\235\220\374\236\221\372\240\221\366\237\221\363\236\222\364"
+  "\234\222\363\202\233\221\364\40\233\220\366\232\222\365\232\223\362\232"
+  "\224\356\231\221\344\232\224\336\220\212\310\236\227\313,%O72R3-G*&4"
+  "!\36\31!\37\23\32\27\22\33\27\30!\36'\30\25\40\25\22\33%\")\40\40\40"
+  "\33\34\27\25\26\21\22\24\17\23\25\22\26\27\31\32\32\"\35\35%\32\32\34"
+  "\32\32\32\35\35\35\37\37\37\202###\5\40\40\40%%%'%&#!\"'%&\202,*+\3""0"
+  "./756978\202:::\25=;<B at AFDEHFGFDECABFDEA\77 at GCDSOPUQROKLPLMXTUPLMRNO"
+  "UQRWSTYUVXTUWST\202VRS\2UQRSOP\202RNO\7TPQVRSWST\\XYZVWWSTVRS\202UQR"
+  "\202TPQ\26_[\\FBCPLMfbcc_`a]^eab]YZ>:;`\\]jfg\\XYSOPHDE623-)*UQR_[\\"
+  "iefjfgeab`\\]\202^Z[#B>\77IEFGCDKGH[WX]YZXTU\\XYplmfbcRNOIEFPLMSOPZV"
+  "WmijRNOKGHYUV\\XYb^_hde[WX_[\\WSTTPQWSTSOPIEFOKLWSTQMNKIJOMNUST\202["
+  "YZ\17TRSLGKD\77CLGKOJNWRX_Z``[a^Y_b[bhahkcnldonfsogt\202qfv\14qdvpcu"
+  "pcwqczrb|sc~ue\202wg\204zg\205{h\210\202m\216\200k\214\203~h\214$\201"
+  "k\221\210r\230\220z\240\243\215\264\232\204\253\221z\244\216w\241\213"
+  "t\236\204m\227~g\223}f\222r[\211\203l\232\213t\242\211r\240\211q\241"
+  "\214t\244\221z\250\232\203\261\234\207\262\240\213\266\246\221\272\260"
+  "\233\302\266\241\310\303\257\324\254\230\273\236\212\257\234\205\257"
+  "\237\210\264\240\211\265\235\206\262\232\203\257\230\201\255\225~\252"
+  "\222{\247\224\177\252\202\217z\245\26\215x\243\207r\235\205p\233\204"
+  "o\232~i\224\200i\223\200k\226zd\223xe\234yg\245\273\252\361\254\232\360"
+  "\253\234\373\243\222\372\240\220\375\233\215\376\232\214\373\233\216"
+  "\372\235\220\371\236\217\364\233\220\360\233\221\361\202\232\220\361"
+  "%\231\217\362\227\217\362\227\220\360\230\221\360\230\222\350\221\212"
+  "\330\247\240\344\225\216\3041*TC<[%\36""0-'1/*.\40\35\30'$\37#\37\36"
+  "\37\33\34\"\40%\37\35\"\32\30\35\36\34\37\40\40\40\33\33\33\25\27\24"
+  "\24\26\23\24\26\25\27\30\32\33\34\40\37\40$\32\32\34\27\27\27\37\37\37"
+  "\"\"\"&&&+++''',,,\202,*+\2021/0\17.,-312:89978777;;;B at AGEFIGHFDEA\77"
+  "@=;<B at ADBCKGH\202QMN\13NJKOKLTPQZVW[WX\\XY[WXZVWXTUUQRTPQ\204SOP\7TP"
+  "QUQRVRSWST`\\][WXVRS\202TPQ\202UQR\14TPQUQRNJKVRS`\\]XTUMIJEAB<89%!\""
+  "B>\77MIJ\202EAB!LHIWSThdekghuqr}yz~z{{wxuqrkghb^_gcdoklkghieflhi^Z[K"
+  "GHHDE`\\]b^_VRSMIJSOPTPQVRSa]^KGH\77;<XTU]YZb^_plm\202_[\\\22UQR`\\]"
+  "ief]YZNJKWST^Z[PLMMKLQOPVTUWUVTRSMKLGEHDBENIMTOS\202XSW\4[V\\b]cfage"
+  "`f\202mep\202nfs\202peu\202odu\4obvpbyrb|sc}\202ue\200&vf\201xe\203}"
+  "h\207{f\205{f\207|g\210\177j\213\204n\222\216x\234\227\201\247\233\205"
+  "\254\226\200\247\220y\243\212s\235\203l\230{d\220v_\213t]\211s\\\212"
+  "\205n\234\224}\253\232\203\261\232\202\262\223{\253\220y\247\226\177"
+  "\255\247\222\275\250\223\276\251\224\275\257\232\301\263\236\305\301"
+  "\255\322\253\227\272\237\213\260\230\201\253\234\202\257\231\202\256"
+  "\223|\250\202\217x\244\6\215v\242\213t\240\210q\237\205n\234\210r\240"
+  "\212t\242\203\207q\237K\201l\227\200i\225\206p\236\201k\234\202o\247"
+  "\275\252\352\264\242\354\302\257\377\244\224\366\247\226\377\242\221"
+  "\377\234\216\377\232\214\375\233\216\370\233\217\365\232\216\360\230"
+  "\215\353\230\217\354\226\217\354\227\220\357\226\217\357\225\216\356"
+  "\225\216\355\225\216\353\225\220\344\236\230\342\221\213\311HBrOIkQL"
+  "`\77:@61.72.726618,'+$\40!%$\40$#\37\33\34\27\24\24\22\34\34\34\31\30"
+  "\35\27\30\35\30\31\36\26\32\35\25\31\32\30\34\33\36\40\35\32\32\32\24"
+  "\24\24!!!&&&***111+++....,-645=;<978423;9:A\77@<:;:::\77\77\77FDEHFG"
+  "FDEB at A\77=>><=DBCJHI\202OKL\15QMNVRSXTUVRS`\\]_[\\^Z[]YZ[WXXTUVRSUQR"
+  "RNO\202SOP\203TPQ\4SOPRNOZVWVRS\202SOP\13UQRVRSUQRSOPB>\77YUV_[\\VRS"
+  "RNOJFG;78\2023/0\2RNOhde\202okl+d`a^Z[ief}yz\205\201\202\207\203\204"
+  "\201}~{wxxtuqmniefhdeokliefc_`b^_UQRGCDHDEEABTPQWSTUQR[WXWSTNJKOKL95"
+  "6,()LHIRNOVRSd`aNJKIEF:67RNOfbc]YZRNOc_`lhi[WX\202WUV\7SQRLJKFDEECDI"
+  "GJNLOSNR\202XSW\5TOS[VZjeimhne`f\202jck\202kcn\2ncqodr\202peu\6rewsf"
+  "ztf}ug~wg\201vh\201\202wg\201\24xe\201wd\200xe\201|i\205\201n\214\207"
+  "t\222\223~\237\234\210\253\243\215\263\213u\233\202l\223\210r\231w`\212"
+  "W at jQ:dcLx\210q\237\220y\247\224}\253\227\200\256\202\232\203\261\16\240"
+  "\211\267\256\227\303\254\227\302\252\225\300\246\221\272\247\222\273"
+  "\251\224\273\271\245\312\250\224\271\240\214\261\237\206\260\240\206"
+  "\263\232\203\257\222{\247\203\216w\243Z\214u\241\215v\244\211r\240\212"
+  "s\241\213v\241\210q\237\210s\236\212s\241\204o\232\216w\243\177i\227"
+  "|h\235ye\240\303\262\366\266\245\363\263\244\371\256\237\374\251\232"
+  "\377\242\225\377\235\217\376\231\215\373\232\215\367\231\217\362\227"
+  "\216\353\225\214\347\224\215\354\224\217\355\226\217\356\225\217\351"
+  "\226\215\346\225\215\340\225\216\333\226\217\323\220\213\305D>nOImLG"
+  "^;5A512:5//*&.)/+%/)$*)%&#\"\35\33\33\23\24\25\17\23\24\17\27\27\27\26"
+  "\25\32\30\27\35\33\34!\33\34\40\30\31\33\30\32\27\34\36\31\30\30\26\20"
+  "\20\20\40\40\40%%%(((///'''(((#!\"1/0><=;9:867CABJHICABA\77 at ECDGEFDB"
+  "C\77=>=;<@>\77DBCJHIQOPSOPOKLTPQ`\\]b^_[WX]YZ\202\\XY\1[WX\202ZVW\202"
+  "YUV\11XTUYUVZVW[WXZVWXTUUQRTPQRNO\202PLM\33SOPWSTXTUTPQQMN\\XYWSTPLM"
+  "UQRIEF\25\21\22\3\0\0\36\32\33]YZjfgnjkrnowsttpq|xy\223\217\220\221\215"
+  "\216\223\217\220\212\206\207wstkghmij\202qmn\32YUVUQRQMNPLMSOPZVWb^_"
+  "hdeplmZVWB>\77FBCXTUSOPGCDLHI<89FBCa]^XTUZVWKGHHDE,()\32\26\27)%&\202"
+  "0,-\10\77;<VRSXTUHDEZVWYUVTPQKGH\202C\77 at -KGHSOP^Z[ZVWSOPPLMYUVfbcid"
+  "hc^bhbfd]daZbc\\dh`kldoldqkcppeuwl|mbsqfwsfzth|n`w{m\204zl\203n_vwg\201"
+  "\206v\220yi\204\215}\230\232\207\245\242\222\257\226\203\243\202n\221"
+  "\211u\232\205q\226}h\217ePwmX\177\211t\235\216y\244\234\206\264\251\223"
+  "\301\202\254\226\304P\256\231\304\252\225\300\244\217\272\230\203\256"
+  "\227\202\253\221|\245\226\201\252\246\221\270\252\225\274\235\210\257"
+  "\220{\242\223y\246\222x\247\225{\252\222x\247\207m\232\206l\231\215s"
+  "\240\221w\244\210n\233\205k\230\204j\227\204m\227\213q\236\211r\234\206"
+  "l\231\177h\222}h\217|j\224o\\\223\323\300\377\305\263\375\276\255\375"
+  "\257\242\364\254\240\366\247\234\370\243\231\372\236\223\373\226\215"
+  "\366\224\211\361\221\212\352\222\214\344\223\216\350\225\220\364\214"
+  "\207\355\223\216\354\230\223\347\215\206\314\233\223\317\230\220\301"
+  "TLsULkOG^F\77Q=7C6171-.-)&+'$#!$\"\40#\37\35\40\36\34\35\35\34\32\36"
+  "\35\33\37\36\34\40\37\35&$%\36\34\37\24\22\25\25\25\27\36\36\40\34\34"
+  "\34\30\30\30\35\35\33\25\23\24\33\31\32+)*)'(,*+\202&$%\21\32\30\31\17"
+  "\15\16\31\27\30\40\36\37#!\"-+,;9:><=867CABFBCEAB@<=;78<89EABMIJ\202"
+  "YUV\35QMNIEFPLM`\\]a]^VRSZVWTPQOKLQMNXTU\\XYZVWVRSSOPZVWOKL^Z[WSTYUV"
+  "JFGZVW[WXRNOOKL^Z[RNOc_`KGH\202WST\31A=>c_`a]^SOP*&'401[WXkgh\205\201"
+  "\202\232\226\227\234\230\231\232\226\227\234\230\231\225\221\222\210"
+  "\204\205{wxoklb^_[WX]YZ_[\\^Z[\\XYUQRTPQ\202SOP\40TPQWST[WX]YZXTUPLM"
+  "FBCOKL_[\\[WXUQR_[\\vrsuqryuvc_`eabMIJGCD956FBC]YZmijeabWSTLHI@<=401"
+  ">:;EABMIJPLM\202OKL\1RNO\202VRS\202WST\13YUVc_`kghief`\\]^X\\`Z^b[bc"
+  "\\cb[caZb\202aYd\\f[irguncstiyuj{wl}mauwk\177l_sdWk|n\205\202t\213\200"
+  "p\212\215}\227\233\213\246\232\212\245\217\177\234\221\200\240\211u\230"
+  "vb\205\200l\221hTydOv\221|\243\237\212\265\240\212\270\236\210\266\227"
+  "\202\255\220{\246\215x\243\212u\240\206q\232\202m\226\204o\230\205p\231"
+  "\215x\237\240\213\262\244\217\266\227\202\251\214w\236\220y\245\223y"
+  "\250\233\201\260\230~\255\201g\224tZ\207\200f\223\221w\244\225{\250\215"
+  "s\240\205l\226\200g\221\177f\220{b\214rY\203hRyZFk[JteR\211\305\265\366"
+  "\316\274\377\270\252\371\304\267\377\262\251\372\251\237\365\245\234"
+  "\371\236\226\373\230\217\370\223\213\362\221\212\352\217\213\340\220"
+  "\214\343\214\207\353\222\215\361\217\212\344\212\206\322\225\217\313"
+  "\220\211\265OHiZRiLCTI\77J at 9A9292-1,*+)'('&$$\"#\"\40!\40\36\37\35\33"
+  "\34\202\34\32\33\7\35\33\34\36\34\35\33\31\32\31\27\30\26\24\25\33\31"
+  "\32#!\"\202!\37\40\32(&'7566459780./201&$%$\"#\37\35\36.,-<:;FDEDBC="
+  ";<978423/-.512=9:EABHDEGCDFBCJFGNJKQMN\202VRS\6SOP[WXgcdc_`UQRVRS\202"
+  "WST6UQRQMNMIJKGHJFG[WXeabVRS]YZSOPYUVPLMa]^HDEC\77 at _[\\\\XYRNOMIJJFG"
+  "SOPa]^mijd`aA=>XTU/+,($%rno\210\204\205\214\210\211\210\204\205{wxpl"
+  "miefc_`[WXTPQPLMMIJOKLUQRZVW[WXZVWRNOSOPTPQVRSUQRTPQRNOQMNRNO\202VRS"
+  "\32\\XYb^_WSTQMN^Z[GCDRNO]YZYUVlhiEAB.*++'(iefnjkplmgcdXTUOKLPLMVRS>"
+  ":;EABNJKQMNPLM\202MIJ\2NJKRNO\202TPQ*VRS^Z[d`aa]^YUVWRV]X\\c\\cb[b`Y"
+  "`aZbialphsbZgldqf[kh]mj_pshypev}r\203{n\200k^p{n\202wj~\211{\222\237"
+  "\221\252\257\237\272\235\215\250\200p\215|l\211\177n\216m\\~nZ\177gS"
+  "xr^\203\213v\235\254\227\302\237\212\265\220{\246\205p\231~i\222\202"
+  "ze\216\22{f\217ze\216\177j\221\203n\225\215x\237\234\207\256\235\211"
+  "\256\216z\237\204o\226~g\223\203l\230\210q\235}f\222fO{bKwr[\205\177"
+  "h\222zc\215\202\177h\222+v_\211jT{fPwmW~v`\207xd\211\177o\226\332\310"
+  "\374\324\304\377\303\262\371\305\267\377\271\255\371\260\247\366\254"
+  "\242\370\250\237\374\241\231\376\233\222\373\224\215\364\220\212\352"
+  "\215\211\336\214\210\335\215\212\345\216\213\346\207\204\325\222\215"
+  "\320\225\221\304LEnGA]IAVB:I>6A92:4-4/*.*()'%&%%%$\"#\"\40!\37\35\36"
+  "\35\33\34\33\31\32\32\30\31\202\33\31\32\5\32\30\31\35\33\34\36\34\35"
+  "\"\40!%#$\202!\37\40\7)'(\40\36\37%#$-+,.,-978'%&\202\35\33\34=GEFKI"
+  "JNLMJHIB at A=;<><=B at A734>:;FBCJFGHDEGCDHDEJFGOKLSOPTPQRNOYUVb^_^Z[RNOO"
+  "KLUQRZVWVRSOKLNJKWSTa]^>:;PLMGCDOKLKGHZVWSOPa]^`\\]EAB^Z[JFGVRSWSTie"
+  "ffbcJFGHDEZVW>:;A=>734HDEief\237\233\234\212\206\207qmn`\\]UQR\202NJ"
+  "K\5QMNLHIMIJPLMRNO\202TPQ\1SOP\202QMN\2SOPTPQ\202UQR\33SOPPLMNJKWST^"
+  "Z[]YZ^Z[_[\\QMNIEFSOP[WX]YZWSTPLMsopVRSTPQplm\202~\177kghVRSOKLMIJKG"
+  "HOKLXTU\202\\XY\33ZVWUQRQMNPLMTPQWST_[\\[WXUQRQMNUQR[WX\\XYYUVYTX]X\\"
+  "`Y`^W^\\U\\b[bpiq|t\177tlywo|f[kbWgdYj\202pev!}r\203\202u\207rewxk\177"
+  "yl\200\225\207\236\257\241\270\246\226\260\202r\215\212z\225yi\206o_"
+  "|N=]L8[_Kn\177k\220\221}\242\254\227\300\230\203\254\206q\232\177j\221"
+  "~i\222{f\215}h\221\201l\223~i\220\203n\225\207r\231\220|\241\234\210"
+  "\255\231\205\252\211u\232\200l\221\202\200i\2234qZ\206XAkV\77kxa\213"
+  "\225~\250\226\200\247\203l\226yc\212pY\203s]\204~h\217\207q\230\210r"
+  "\231\203o\224\206u\227~n\225\333\312\376\334\314\377\321\302\377\303"
+  "\266\376\267\253\365\270\260\375\255\245\370\250\242\374\243\233\377"
+  "\235\226\376\227\220\370\222\214\354\215\211\336\213\210\331\217\213"
+  "\337\206\203\322\217\214\321\211\206\277TNzLGg@;QA:J=5@:3;6/62-3,*-("
+  "(*%%%###\"\40!!\37\40\36\34\35\34\32\33\33\31\32\32\30\31\202\33\31\32"
+  "\30\36\34\35\"\40!#!\"$\"#%#$\40\36\37\37\35\36&$%*(),*+-+,.,-B at A534"
+  "645FDESQRIGHA\77@><==;<<:;\77=>DBC\203OKL\12LHIJFGLHIRNOVRS\\XY[WXTP"
+  "QOKLRNO\202ZVW1TPQPLMTPQVRSQMNNJKTPQd`asopfbclhiQMNLHIHDE_[\\ZVWfbck"
+  "ghGCDSOPMIJa]^lhia]^FBCeabIEFGCD\24\20\21\14\10\11+'(]YZokl\236\232\233"
+  "}yz`\\]YUVVRSPLMSOP]YZWSTYUV[WXZVWVRSRNOPLMOKL\210SOP%QMNVRSRNOSOPZV"
+  "WTPQMIJUQRWSTXTURNOFBC_[\\:67734WSTeabUQRNJKUQRXTUPLMNJKSOPlhiiefd`a"
+  "`\\]_[\\c_`jfgoklhded`a^Z[YUVZVW\202\\XY(ZVWWRVZUY\\W[ZUYYRYZSZaZbg`"
+  "hZR]h`kkcp{s\200\204y\211~s\203dYi`Uek`p\201v\206\222\205\227\224\207"
+  "\231\224\207\233\241\223\252\213}\224|n\207bRlo_zcSpF5UiXx\200o\217\214"
+  "{\235\243\222\264\235\210\257\213v\235}h\217}i\216~i\220zf\213xc\212"
+  "\202|h\215<\200l\221\203o\224\215y\234\231\205\250\226\202\245\212v\231"
+  "\204p\225~h\217\201k\222~g\221v`\207\204m\227\246\220\267\263\235\304"
+  "\246\220\266\234\206\255\223}\243\213u\234\220z\240\233\205\253\236\210"
+  "\256\226\200\246\212v\231\202q\223\204t\231\337\317\377\324\305\376\310"
+  "\271\372\326\313\377\264\252\357\304\274\377\260\251\371\252\244\376"
+  "\245\235\377\237\230\377\232\223\373\224\220\357\216\214\340\213\210"
+  "\325\210\204\316\220\213\315\214\211\302A>kJFgC\77VGCR:4>;6=8394/51,"
+  "2+),'')##%!!#\40\36\37\37\35\36\35\33\34\34\32\33\33\31\32\202\34\32"
+  "\33\202\35\33\34\202\40\36\37\6!\37\40&$%%#$$\"#*(),*+\202/-.\2,*+97"
+  "8\202&$%\14""978DBC><=<:;A\77 at CAB@>\77A\77 at FDE`\\]^Z[\\XY\202YUV\10]"
+  "YZd`aiefeabb^_]YZWSTXTU\202[WX\1XTU\202UQR(SOPOKLLHINJKSOPXTUJFG[WXT"
+  "PQfbcgcdjfgFBC:67PLMfbc{wxoklHDELHIB>\77TPQ/+,IEF956\7\3\4C\77 at b^_lh"
+  "i\221\215\216\210\204\205jfgTPQUQRVRSMIJKGHSOPQMNSOP\202TPQ\202SOP'U"
+  "QRWSTUQRTPQRNOQMNRNOSOPVRSWSTQMNTPQMIJLHIUQRTPQNJKSOPMIJYUViefa]^gcd"
+  "8451-.D at ASOPTPQ[WX_[\\XTURNO[WXkghhdegcdfbceabd`a\202eabkfbcZVW[WX]Y"
+  "Z_[\\^Z[[WXVRSRNOOJNTOS[VZ_Z^`Y`\\U\\XQYUNVQITWOZTLYd\\ih]k]R`A6F at 5E"
+  "\77""4DbWgxk|\224\207\231\246\231\253\241\224\250`SgG9P\77""0GUE_gWr"
+  "hXu\225\205\242\256\236\273\250\230\265\235\214\254\207s\230|h\215ua"
+  "\206xd\207zf\213wc\206ua\206wc\206}i\214\177k\216\200l\217\211v\226\225"
+  "\201\244\222\177\237\207s\226\202n\221xb\210{e\213\211s\232\231\203\251"
+  "\237\211\260\237\211\257\230\202\250\214v\232\215w\235\226\200\244\237"
+  "\211\257\237\211\255\227\201\245\217y\235\213u\231\212w\227\177n\216"
+  "\347\331\375\347\327\377\346\327\377\311\275\373\304\271\373\326\315"
+  "\377\255\247\355\261\254\374\254\250\377\246\240\377\241\234\377\234"
+  "\227\375\227\223\362\221\217\342\215\214\322\213\207\304\213\207\272"
+  "NKvA=^KG`>:IA;E\77:@8375041,2,*/((*$%'!\"$\36\37!\35\35\35\36\34\35\203"
+  "\35\33\34\202\36\34\35\202\37\35\36\4\"\40!\37\35\36\40\36\37'%&\202"
+  "(&'\25,*++)*312=;<;9:<:;$\"##!\"1/0@>\77A\77 at ECDHFGFDEECDMKLXVW]YZ^Z"
+  "[_[\\`\\]\202a]^\202`\\]\33XTUZVW\\XY^Z[]YZ[WXUQRQMNPLMQMNTPQWSTVRSR"
+  "NOKGHFBC;78FBC@<=YUVXTUOKL#\37\40\30\24\25\25\21\22:67IEF\202`\\]\2a"
+  "]^\22\16\17\202\3\0\0\27!\35\36D at A@<=\205\201\202\245\241\242\230\224"
+  "\225\212\206\207hdeTPQJFGQMNUQRMIJIEFNJKSOPRNOPLMOKLPLMRNOTPQUQR\202"
+  "TPQ\1SOP\202RNO\202SOP\25TPQSOPZVWSOPNJKTPQQMNKGHPLMWSTUQR\\XYD at A=9:"
+  "+'(NJKlhirnooklfbcWST\202JFG\15YUViefa]^`\\]_[\\]YZ[WXWSTSOPQMNNJKPL"
+  "MTPQ\202WSTdTPQPLMNJKOKLSOPYTX_Z^a\\`_Z^]V][T[[T\\HAI'\37*#\33&\"\32"
+  "%&\36)/$2LAOWLZxm{vkyf[kncseZkYL^\201t\210\202u\211xj\201}o\210rd~\213"
+  "}\227\250\232\264\244\224\257\202r\217yh\210tc\205q`\202tc\203ve\207"
+  "ve\205wf\210zi\211~m\215}l\214|k\213\205u\222\221\200\240\214|\231\200"
+  "o\217{j\212\203o\222xd\207zf\213\201m\220~j\217ye\210zf\211}j\212|h\213"
+  "|i\211~j\215\203p\220\210u\225\207t\224\200m\215xg\207~o\216\334\316"
+  "\362\311\274\352\336\321\377\334\321\377\315\305\377\304\276\374\271"
+  "\264\367\265\261\376\257\253\377\251\243\377\242\235\377\236\231\375"
+  "\226\226\360\220\222\337\216\216\316\207\203\265HDiROn>:QPN\\:7 at 948@"
+  "<=4012./,*-)'*&%*#$(!\"$\40!#\36\36\36\204\36\34\35\1\37\35\36\202\40"
+  "\36\37\30\"\40!&$%%#$$\"#)'(*())'(-+,201312978-+,(&'\40\36\37""867OM"
+  "NUSTSQRNLMFDEA\77 at DBCPNO\\Z[\203XTU$YUVXTUVRSRNOPLMMIJOKLSOPWSTXTUTP"
+  "QOKLNJKLHIPLMUQRYUV[WXYUVTPQQMNRNO:67\14\10\11\12\6\7\3\0\0\11\5\6\12"
+  "\6\7+'(/+,ZVWEAB\6\2\3\3\0\0\12\6\7\37\33\34\202mij\13UQReabQMNnjk\225"
+  "\221\222\226\222\223eabWSTNJKJFGPLM\203UQR\5YUV\\XYWSTSOPRNO\202TPQ\2"
+  "QMNNJK\202SOP\202TPQ\37SOPRNOPLMOKLJFGWSTVRSRNOVRSUQRRNOYUVVRSUQReab"
+  "KGH9560,-^Z[yuvd`a[WXOKLJFGRNOa]^kghmij]YZZVWVRS\202TPQ\203UQR\2RNOP"
+  "LM\202OKL\6PLMQMNSOPVRSWSTVRS\202TOS\37UPTYTX_X_c\\chaib[cYRZogr}u\200"
+  "\211\201\214\231\217\232\276\264\277\301\266\304\277\264\302\234\221"
+  "\237~s\201\247\234\254\232\217\237\211|\215\251\234\256\272\255\277\261"
+  "\244\270\217\201\230j\\s\215\177\226\236\220\251\207w\221sc~zj\207xh"
+  "\205ue\202\202td\201\20vf\203zj\207}m\212yi\206wg\202wg\204\201q\214"
+  "\217\177\234\213{\226~n\213yi\206}j\212vc\203wd\204zg\207yf\206\202{"
+  "h\210+wd\202ub\200wd\202xe\203wd\202ub\200vc\177{h\206~n\213k]~\343\327"
+  "\375\331\315\373\335\323\377\333\322\377\314\304\377\277\273\366\304"
+  "\302\377\267\265\377\262\256\377\251\245\377\243\236\377\235\234\372"
+  "\227\227\355\220\222\334\216\217\307SOtJF_KH[B>LB\77F647GCB.*)2.--+,"
+  "*(+'')%&*%&(\"&'#$&\37\37\37\40\36\37\204\37\35\36\202\40\36\37\2\36"
+  "\34\35&$%\202'%&\1,*+\202-+,\24""201423645@>\77""201'%&%#$FDE][\\OMN"
+  "JHICAB@>\77ECDQOP[YZa_`YUVVRSRNO\202PLM\1RNO\202SOP\3RNOPLMOKL\202QM"
+  "N3PLMSOPVRSUQRVRSUQRRNOPLMQMNVRSZVW\\XYVRSHDEfbcokl~z{\212\206\207\270"
+  "\264\265\271\265\266\261\255\256rno%!\"fbcsopkgh\216\212\213\255\251"
+  "\252\244\240\241}yzFBC~z{\215\211\212hdeVRS[WXVRSRNOPLMRNOTPQYUV]YZU"
+  "QRPLMNJKQMNWSTYUVTPQNJK\202XTU\10WSTRNOMIJNJKUQR[WXWSTTPQ\202RNO\202"
+  "TPQ\14RNOPLMLHIPLMQMN[WXOKLJFGeabgcdJFGRNO\202VRS\1^Z[\202jfg\11a]^X"
+  "TUZVWRNOPLMWSTSOPMIJUQR\210SOP\202QOP\202SOP\32UPTWRVYTX[VZ]X^qlr\206"
+  "\177\206\224\215\225\234\225\235\226\217\227\212\203\213\205~\206|t\177"
+  "\206~\211\231\221\234yq|\254\241\257\315\302\320\300\265\303\246\233"
+  "\253\210}\215\206{\214\220\203\225\236\221\245\232\215\241\207y\220\202"
+  "yk\202\1tf\177\203tf\200\202ug\201\202vh\202\10se\177ug\200yk\205\200"
+  "r\213\203u\217\201s\214{m\207ug\201\205vf\203\202ue\202\3ue\200td\177"
+  "ue\200\203td\177+ue\177ue\200rc\200{o\223\315\305\356\335\323\377\327"
+  "\316\377\331\322\377\314\307\377\313\310\377\277\276\372\270\267\375"
+  "\262\261\377\262\256\377\244\240\377\237\234\367\237\236\356\222\223"
+  "\324\225\227\307LIfKGVFCND\77FA=>>:9:6351.320/-.)'*&&(&')()+%&(\40\""
+  "!\"\"\"#!\"\"\40!\40\36\37\36\34\35\37\35\36#!\"'%&\202&$%\5'%&)'(,*"
+  "+/-.1/0\202201\27""534645<:;756867LJKRPQ:89CABJHIMKLTRS^\\]`^_ZXYUQR"
+  "WSTOKLMIJUQRQMNLHITPQ\220SOP\30UQRd`a{wx\215\211\212\223\217\220\214"
+  "\210\211~z{tpqeab`\\]\\XY\14\10\11{wx\305\301\302\264\260\261\231\225"
+  "\226wstplm}yz\224\220\221\216\212\213lhiVRSYUV\210WST\210SOP\3PLMTPQ"
+  "YUV\202\\XY\12WSTRNONJKTPQUQRYUV\\XY^Z[]YZ[WX\202YUV\27HDEB>\77ZVWPL"
+  "M845JFGRNOPLMUQRRNOMIJUQReabhde_[\\VRSYUVRNOOKLVRSSOPNJKVRS\210SOP\202"
+  "QOP\202SOP\27TOSVQUXSWYTXQLRZU[^W^aZaf_fe^eb[ce^fpiq\214\205\215\234"
+  "\224\237kcn\217\205\220\250\235\253\222\207\225qftpesmbrsfw\202|o\201"
+  "\3tgyqdvtg{\203rd{\203se|\202tf}\4se~se|ug\200yk\204\202|n\207\2xj\203"
+  "tf\177\203ue\200;td~td\177td~td\177td~qa{rczsc}sd{td~uf}td~qd\200\277"
+  "\267\336\330\320\377\310\301\365\316\307\375\334\327\377\320\315\377"
+  "\312\312\376\302\303\374\301\302\377\257\256\374\256\253\377\245\242"
+  "\375\245\243\367\227\227\341\240\242\333NPwQNcMJSHCIA=>>:9<8596162/-"
+  ",*,*+**,))+'')\"$#\36\40\37\34\34\34\40\36\37\"\40!$\"#%#$&$%%#$$\"#"
+  "#!\"&$%)'(.,-201423645\202867\30""534312645CAB:89.,-<:;ECDFDEJHIIGHE"
+  "CDKIJXVW[YZUSTRNOVRSOKLMIJTPQQMNMIJUQR\220SOP\30OKLRNOVRSXTUWSTSOPNJ"
+  "KJFGFBC[WXfbc\20\14\15a]^\225\221\222xtuRNOXTUQMNVRSfbcgcdZVWVRS_[\\"
+  "\210UQR\210SOP(JFGOKLVRS]YZa]^]YZVRSPLMUQRXTU]YZ_[\\\\XYXTUUQRSOP[WX"
+  "^Z[_[\\eabJFG<89d`a{wxXTUa]^_[\\TPQWSTd`ab^_UQRRNOXTURNONJKUQRSOPOKL"
+  "VRS\210SOP\202QPN\202QOP\25SOPUQRVRSWST]X\\^Y]ZUYYTXa[_f`dkdksls\177"
+  "x\177\221\212\221\221\212\222f_g\212\203\213\235\225\240\202z\205f^i"
+  "j`k\202h]k\1j_o\202k`p\3laqodupcu\203pcw\202qdx\202rey\10se|reyqczrd"
+  "{tf}ug~tf}se|\203rd}1qczqc|qczqc|qczrd{reyrd{reyqczpcwn`wk`~\321\312"
+  "\366\320\313\377\301\274\364\315\312\377\326\326\377\311\313\376\313"
+  "\315\377\306\311\377\277\300\377\260\260\372\265\263\377\255\253\377"
+  "\250\245\364\240\237\341\231\233\314KLkJHVHCIC>B\77;:<8596132.0/+.-+"
+  ",*++),**,##%\32\32\32\27\27\25\30\30\26\36\34\35\40\36\37#!\"'%&\202"
+  "*()\5(&''%&*()/-.423\202756\203645\11=;<ECDKIJLJK978201MKLa_`LJK\202"
+  "TRS\2MKLOMN\202ZXY\11PNOOKLVRSPLMMIJTPQRNONJKUQR\220SOP\3YUVVRSRNO\202"
+  "OKL\23QMNTPQWST`\\]TPQOKL\31\25\26ief\215\211\212oklRNOSOPOKLMIJPLMQ"
+  "MNPLMSOPXTU\210TPQ\210SOP\26KGHNJKPLMRNOTPQWST[WX_[\\ZVW[WXYUVSOPKGH"
+  "D at AA=>@<=SOPeabWST845\35\31\32/+,\202^Z[\14D at A\\XYiefa]^^Z[fbcb^_RNO"
+  "NJKXTUSOPNJK\202TPQ\2PLMVRS\210SOP\202QPN\2QOPPNO\202SOP\202TPQ\23TO"
+  "SWRVXSW]X\\hbflfjpjnwquxqx\203|\203\213\204\213\202{\202\240\231\241"
+  "\221\212\222kdl`Xcj`klbmmcn\202mbp\3ncqmbpk`p\202obs\2obtobs\203pcu\3"
+  "qdvreypcw\202nau\3obvqdxqcz\204pby\6pcwpbypcwoaxobvqdx\202pcw2pcuobv"
+  "naspcwpe\203\273\267\351\303\302\374\304\303\377\312\311\377\310\311"
+  "\377\306\311\374\316\322\377\307\312\377\300\302\377\270\270\376\270"
+  "\267\377\261\256\377\240\237\345\243\242\334GIpLLd42=615734;76<85952"
+  "21-.-+1/0*(+$\"'\"\40#\33\31\32\21\21\17\21\20\14\26\25\21\37\36\34\40"
+  "\36\37\"\40!$\"#&$%)'(-+,0./1/0312423312/-.\203,*+\13<:;FDE><=+)*\33"
+  "\31\32)'(MKLWUV756OMN][\\\202XVW\13_]^\\Z[OMNLHIVRSRNOMIJSOPTPQPLMVR"
+  "S\220SOP\202PLM\22QMNSOPUQRXTUZVW[WXJFG1-.D at AQMN\220\214\215|xyOKLGC"
+  "DTPQXTUYUVVRS\202UQR\2RNOMIJ\210TPQ\210SOP\15PLMRNOSOPNJKJFGLHIUQR^Z"
+  "[\\XYXTUOKLFBC>:;\202;78\31<89\77;<<89!\35\36\30\24\25'#$LHId`aC\77@"
+  "-)*RNOief`\\]ZVWc_`a]^SOPKGHYUVWSTOKLTPQUQRQMNUQR\210SOP\203QPN\203P"
+  "OM\32RNOSOPOKLRNOSOPYUVa]^c_`f`bnhj\215\210\214\226\221\225\235\230\234"
+  "\230\223\227\231\224\232vqw`Y`ngo\\U]aZbe^ff^ij`klbmkalg\\j\202mbp\3"
+  "mbrncqncs\203odt\1nct\203mbs\202nct\2nbvmau\203nbv\6nctnbvmbsmaumbsl"
+  "ar\202j_p(laqmbsncstizxo\214\301\276\363\301\300\377\300\277\377\300"
+  "\302\377\300\302\373\310\316\377\317\325\377\301\307\371\304\306\377"
+  "\272\273\376\264\261\376\263\261\374\254\252\353\252\250\331\36\37=:"
+  "<K,+3,*-/-.54287365121/1/0)'*!\37$\32\30\35\31\27\32\26\24\25\22\21\15"
+  "\24\21\14\25\24\17!\40\36#!\"%#$\202$\"#\7&$%,*+1/04233120./,*+\202("
+  "&'\32*(),*+.,-*()\31\27\30\25\23\24\40\36\37;9:OMNDBC&$%IGH_]^XVWSQR"
+  "ZXYYWXLJKJFGXTUVRSNJKSOPUQRRNOVRS\220SOP\30PLMQMNRNOSOPRNOPLMNJKLHI\\"
+  "XYYUVwst\206\202\203\217\213\214b^_NJKeabFBCOKLTPQSOPUQRYUVUQRNJK\210"
+  "UQR\210SOP\5VRSZVW[WXWSTNJK\202HDE!IEFVRSOKLGCDB>\77C\77 at FBCHDEIEFJF"
+  "G@<=:67WSTiefoklzvwfbcIEFlhizvwd`aTPQZVWVRSD at AKGH\\XY[WXQMNTPQUQRRNO"
+  "UQR\210SOP\204QPN\202POM\202RNO\202[WX\20XTUZVW`\\]d`anhj}wy\225\220"
+  "\224\223\216\222\205\200\204rmqidj[V\\\\U\\ibi^W_`Ya\202b[c\4f\\gi_j"
+  "j`ki_j\202k`n\203lao\1mbp\202mbr\202k`p\1lar\203mbs\2lark`q\202mau\206"
+  "lar\2oduk`p\202j_o\202i^n\40odtrl\210\300\277\371\270\273\377\275\275"
+  "\377\300\304\377\301\306\377\304\312\376\307\316\374\304\312\372\303"
+  "\305\376\274\275\376\265\263\374\264\261\370\266\262\355\231\230\302"
+  "JK`EEOA at F;9>64753421/,+)(&'(&)\37\35\"\34\32\37\32\30\35\32\30\33\36"
+  "\32\33\40\34\31\202\"\37\30\2%$\"(&'\202+)*\1)'(\202'%&!(&'1/0/-.,*+"
+  "+)*,*+0./423756978423312GEFVTU\\Z[b`aVTUA\77 at a_`omn\\Z[NLMTRSQOP@>\77"
+  "IEF[WXZVWPLMSOPUQRRNOUQR\220SOP\30[WXYUVWSTUQRTPQUQRVRSWSTUQR\\XY^Z["
+  "OKLJFGEABNJKYUVMIJPLMQMNOKLPLMUQRVRSTPQ\210UQR\210SOP(^Z[]YZ\\XY]YZZ"
+  "VWQMND at A;78LHIFBCB>\77EABNJKSOPRNONJKhdenjkvrs\206\202\203qmnWSTc_``"
+  "\\]lhi\210\204\205\214\210\211okl]YZ^Z[KGH*&'LHI`\\]_[\\RNOTPQVRSSOP"
+  "TPQ\210SOP\206QPN\202POM\22TPOSONPLKRNMZVWa]^plm\205\201\202\215\210"
+  "\214\204\177\203snridhe`dhcggbf\\W[f_fd]d\202c\\c\4c\\dd]eg]fi_h\203"
+  "h^i\202i_j\1j`k\202j_m\3h]ki^lj_o\202k`p\1j_o\202j_p\203k`q\1j_p\204"
+  "j_o6odtk`pi^nj_mg\\jcXff[iib\201\261\261\355\260\264\376\272\274\377"
+  "\277\304\377\276\304\377\274\303\367\274\304\362\306\314\374\304\307"
+  "\376\305\306\377\275\274\377\260\255\362\254\251\340qo\226cbtLMRQPVG"
+  "EJ<:=645.,-#!\"\34\32\35\34\32\37\33\31\36\37\34#\40\33!\35\30\34!\33"
+  "\33+&\"1-$1.'*)'+)*-+,/-.0./-+,'%&#!\"-+,,*+-+,1/0756;9:\202><=\30TR"
+  "SYWXb`aomngefYWX\\Z[YWXb`a|z{\200~\177gefYWX[YZJHI*()JFG^Z[]YZQMNSOP"
+  "VRSSOPTPQ\220SOP\30QMNOKLNJKMIJOKLRNOVRSYUVHDEVRSUQRVRSZVWd`a^Z[EAB\\"
+  "XYXTUTPQSOPRNOPLMRNOVRS\220SOP\34eab]YZWSTZVW`\\]\\XYKGH;78FBCA=>@<="
+  "IEFTPQWSTOKLEAB^Z[oklrnoqmna]^^Z[plm`\\]hde\204\200\201\212\206\207t"
+  "pq\202jfg\3KGH\34\30\31MIJ\202b^_\202TPQ\3WSTSOPTPQ\210SOP\1POM\206Q"
+  "PN\2POMPLK\202SON\25XTS_[\\eabtpq\212\206\207\211\204\210zuyhcga\\`V"
+  "QUZUYb]aZUY_Y]\\VZ\\U\\`Y`aZa_X_`Y`f\\e\202e[f\203f\\g\1g]h\202g\\j\4"
+  "f[ig\\jh]ki^l\202h]m\207i^n\"i^lh]mh]keZjbWedYgh]kg\\jcXff[iib\201\264"
+  "\263\365\263\266\377\265\270\377\260\264\373\265\273\371\273\305\372"
+  "\273\303\364\301\311\372\277\304\374\307\311\377\277\276\377\267\262"
+  "\362\267\263\346pl\221`_qXW_KHOA\77D97:647/-.#!\"\33\31\34\202\33\31"
+  "\36\17\"\40%\"\35#\31\24\30\32\26\25)%\"72,:720/-,*++)*/-.423312,*+%"
+  "#$\202,*+\22/-.645=;<A\77@\77=>;9:QOP][\\b`aa_`VTUSQR][\\WUVdbc}{|\201"
+  "\177\200nlm\202gef\3GEF\32\30\31KGH\202`\\]\5RNOSOPVRSSOPTPQ\220SOP\202"
+  "RNO\203SOP\14RNOQMNPLMSOPXTUPLMVRSKGHJFGTPQRNOTPQ\202NJK\5TPQUQROKLP"
+  "LMVRS\210RNO\210SOP\33JFGQMNRNOIEFFBCOKLYUV\\XYb^__[\\[WXXTUWSTZVW]Y"
+  "Z`\\]^Z[ZVWOKLTPQNJKLHIXTUFBCC\77 at B>\77a]^\202[WX\7YUVnjkZVWxtugcdXT"
+  "USOP\203TPQ\1UQR\210SOP\1TPQ\202SOP\203RNO\202SOP\31RNOVRSZVW\\XYb^_"
+  "njk\177{|\213\207\210xtuplm]YZief_[\\UQRgcdMIJ_[\\YUVYTX`[_a\\`\\W[Z"
+  "UY_X_b[c\202bZe\203c[f\202d\\g\204e]h\211e]j\4e]he]je]hf^k\202g_j=e]"
+  "hbZe`XcaYd`Yz\260\256\371\257\257\377\256\261\377\262\266\377\263\273"
+  "\372\257\272\362\263\274\363\277\310\377\300\306\377\264\270\365\302"
+  "\302\377\275\271\364\263\260\337>:_<7N84B85<-+.+)*423645.,--+,425+),"
+  "(&)&$')'(*()*)'+'&)(&\"\40!(&',*+*())'(/-.756<:;=;<><=@>\77A\77 at CABF"
+  "DEJHIMKLQMNPLMHDENJKGCDEABRNOA=>\202@<=\2^Z[XTU\202WST\6lhiYUVxtugcd"
+  "XTUSOP\203TPQ\1UQR\220SOP\3QMNRNOSOP\202TPQ\16SOPRNOQMNMIJUQRJFGYUVV"
+  "RSPLM`\\]FBCVRSPLMOKL\202UQR\3OKLMIJQMN\220SOP\1LHI\202RNO\5LHIKGHQM"
+  "NVRSUQR\202XTU\1WST\202VRS\203UQR\24c_`b^_RNOOKLIEFNJK[WXD at AEABPLMhd"
+  "eVRSZVWXTUd`aPLMuqrfbcWSTSOP\203TPQ\1UQR\210SOP\1TPQ\202SOP\202RNO\203"
+  "SOP\32UQRWSTYUV[WXd`asop\201}~\210\204\205|xyoklXTU^Z[UQROKLfbcXTU\\"
+  "XYWSTXTU^Z[_[\\[WXZVW^Y]`Ya`Xc\203aYd\203bZe\220c[f\202`Xc\37bZed\\g"
+  "e]hf^ie]h`[{\252\247\364\247\250\377\251\253\376\255\263\375\263\274"
+  "\377\265\277\375\263\275\373\261\273\371\271\301\377\275\301\377\300"
+  "\300\376\271\271\357\264\261\334D at a=8N74\77""1/4,*+.,-5347560./.,-20"
+  "1*()\202(&'\3+)*-+,,*+\202+)*\13'%&+)*.,-,*+-+,201756978\77=>A\77 at CA"
+  "B\202DBC\3ECDFDEGEF\202WST\12IEFGCDB>\77HDEXTUC\77 at B>\77NJKeabRNO\202"
+  "VRS\6c_`OKLuqrfbcWSTSOP\203TPQ\1UQR\220SOP\2TPQSOP\204RNO\22SOPTPQ]Y"
+  "Z^Z[LHISOPOKLKGH^Z[OKLUQRPLMOKLTPQUQRPLMOKLRNO\220SOP\14IEFGCDB>\77>"
+  ":;B>\77JFGOKLMIJOKLQMNVRSYUV\202[WX\27YUVXTUVRSa]^]YZ[WXKGHGCDUQRC\77"
+  "@\3\0\0D at A\200|}|xy\214\210\211\205\201\202\204\200\201rnoplmc_`VRSS"
+  "OPTPQ\202SOP\1UQR\210SOP\1TPQ\206SOP\2TPQWST\202YUV\26\\XYief{wx\203"
+  "\177\200\200|}eab_[\\UQR^Z[YUVOKLXTUNJKXTUUQRVRSZVW[WXYUVZVW^Y]^W^\203"
+  "^W_\202_X`\202`Ya\221aZb\27_X`^W__X`^W_[T\\UNVLGe\253\253\363\244\250"
+  "\377\246\253\375\247\256\374\250\260\370\256\270\377\261\273\377\255"
+  "\265\376\260\266\377\275\301\377\272\273\374\273\274\362\266\266\334"
+  "77O11;779\202(&'\1)'(\202+)*\1(&'\202&$%\10'%&%#$&$%)'(+)**()(&')'(\202"
+  "'%&\33&$%%#$)'(0./645756:89><=CABGEFIGHKIJMKLNLMMIJXTUUQRTPQEABC\77@"
+  "TPQD at A\3\0\0B>\77~z{yuv\212\206\207\202\203\177\200\6qmnplmc_`VRSSOP"
+  "TPQ\202SOP\1UQR\220SOP\3UQRTPQRNO\202QMN\6RNOTPQUQRLHISOPNJK\202XTU\4"
+  "OKLUQRKGHSOP\202PLM\202TPQ\202QMN\1TPQ\220SOP\2FBC>:;\202512\15\77;<"
+  "MIJVRSWSTXTUYUV[WX\\XY[WXYUVVRSTPQPLM\202NJK\4a]^XTUC\77 at B>\77\202/+"
+  ",\12uqr\226\222\223iefa]^TPQ\\XY^Z[jfg_[\\UQR\202TPQ\202SOP\1UQR\210"
+  "SOP\1TPQ\205SOP\202TPQ\23WSTYUV[WXa]^sop\202~\177\200|}tpqrnohdeUQRN"
+  "JKLHIMIJVRSZVWSOPTPQUQR\203WST\2YUV]X\\\202[T[0\\U]\\U\\]V^]V]]V^]V]"
+  "^W_^W^^W_^W^^W_^W^^W_^W^^W_^W^^W_^W^^W_^W^^W_^W^`Ya_X_]V^\\U\\YRZUNU"
+  "OHPGC^\244\245\346\236\243\365\243\252\372\245\254\372\240\251\364\244"
+  "\255\372\254\265\377\255\265\377\254\261\377\265\270\377\264\267\372"
+  "\274\277\364\266\271\332\40#4\34\40!02-++),*+\202+)*\5.,-1/00./,*+(&"
+  "'\202&$%\26(&')'('%&(&')'(&$%\"\40!\37\35\36!\37\40)'(534=;<@>\77A\77"
+  "@CABFDEHFGIGHJHIKIJLJKKGH\202IEF\4\\XYSOP\77;<@<=\202-)*\12sop\225\221"
+  "\222gcd`\\]RNO[WX]YZjfg_[\\UQR\202TPQ\202SOP\1UQR\230SOP\10^Z[_[\\PL"
+  "MJFGNJKOKLVRS\\XY\202QMN\2RNOSOP\202RNO\2TPQWST\220SOP\1IEF\202D at A\37"
+  "MIJZVWeabjfglhijfgfbc`\\]YUVRNOLHIIEFGCDNJK401)%&FBC\77;<\37\33\34\40"
+  "\34\35\34\30\31""956hdeuqrIEFUQR]YZrnoxtuc_`ZVW\203TPQ\3RNOSOPVRS\215"
+  "SOP\202TPQ\202UQR\27YUV_[\\jfgzvw\204\200\201yuvgcdkghnjkd`aTPQZVW^Z"
+  "[QMNNJKQMNTPQVRSTPQSOPUQRXTU[WX\202YSW/ZSZZTX[T[[UY[T[[UY\\U\\\\VZ\\"
+  "U\\\\VZ\\U\\\\VZ\\U\\\\VZ\\U\\\\VZ\\U\\\\VZ\\U\\\\VZ\\U\\\\VZZSZ[UY]"
+  "V]]W[]V]^X\\_X_]Yp\233\235\330\225\233\347\234\244\357\245\255\370\243"
+  "\254\371\241\251\372\244\254\377\250\257\377\254\260\377\260\263\377"
+  "\264\267\374\272\275\360\266\271\330-1<&+%.1&-.)\202.,-\11""1/0978\77"
+  "=>;9:312/-.-+,+)*,*+\202+)*\20-+,0./)'('%&)'(1/0<:;FDEMKLPNOSQRQOPNL"
+  "MJHIECDB at A\202A\77@\22IEF/+,&\"#D at A=9:\35\31\32\36\32\33\31\25\26""7"
+  "34fbcsopHDEUQR\\XYqmnxtuc_`ZVW\203TPQ\3RNOSOPVRS\220SOP\3PLMRNOTPQ\202"
+  "UQR\11TPQRNOPLM_[\\jfgb^_RNOZVW]YZ\202NJK\10PLMSOPTPQRNOPLMRNOUQRXTU"
+  "\220SOP\14NJKRNO]YZnjkwstuqrplmnjkgcdc_`]YZXTU\202UQR\12WSTYUV`\\]ZV"
+  "WXTU\\XY,()\7\3\4""512eab\202\202~\177\2wstVRS\202jfg\5gcdQMN\\XYVRS"
+  "SOP\202TPQ\202RNO\1VRS\214SOP\202TPQ\202UQR\30WST[WXc_`plm|xy}yzplm`"
+  "\\]UQRa]^YUV;78NJKgcdRNOKGHPLMVRSWSTRNOOKLSOPXTUYUV\202WQU\203XRV\203"
+  "YSW\221ZTX![UY\\VZZTXYSWZTX^X\\^[p\242\243\333\237\243\354\231\237\351"
+  "\232\240\354\241\250\370\241\247\373\237\244\377\245\252\377\250\254"
+  "\377\255\257\377\263\266\375\266\271\356\247\252\313Z^jQVRBE<5536458"
+  "67;9:\77=>><=534+)*2010./\203/-.\17.,-0./423/-.312<:;HFGPNOSQRTRSUST"
+  "SQRRPQOMNLJK\202JHI\3MKLOMNYUV\202TPQ\5ZVW-)*\10\4\5""512c_`\202\201"
+  "}~\2wstVRS\202jfg\5gcdPLM\\XYVRSSOP\202TPQ\202RNO\1VRS\220SOP\3QMNRN"
+  "OTPQ\202UQR\23TPQRNOQMNIEF\\XYUQR956NJKfbcOKLMIJPLMVRSWSTRNONJKQMNVR"
+  "SXTU\220SOP\6\\XYa]^mijyuvwstjfg\202b^_\33ZVWYUVXTUYUV\\XYc_`iefmijr"
+  "no\206\202\203\216\212\213~z{A=>*&'qmn\253\247\250\233\227\230sop[WX"
+  "@<=PLMVRSc_`QMNWSTSOPRNO\202TPQ\3QMNRNOVRS\214SOP\1TPQ\202UQR\1VRS\202"
+  "]YZ\26d`aplmwstrnohde`\\]b^_eabC\77@\7\3\4%!\"c_`a]^eabQMNXTUZVWRNOM"
+  "IJQMNWSTXTU\204UOQ\202VPR\202WQS\220XRT\32\\VXZTVXRTUOQSMORLNSMORMa\214"
+  "\214\302\240\243\352\235\237\351\223\225\342\234\237\360\240\242\367"
+  "\235\236\372\247\250\377\245\244\377\254\251\377\257\255\370\265\264"
+  "\360{z\242ii\201[^gNOQGGGFDE\202DBC\4@>\77""9780./+)*\202-+,\1/-.\202"
+  "1/0&/-.1/0423978\77=>JHISQRTRSOMNMKLNLMIGHJHILJKNLMQOPWUV^\\]cabmij\201"
+  "}~\211\205\206{wx@<=+'(qmn\253\247\250\232\226\227sop[WXA=>QMNVRSd`a"
+  "QMNWSTSOPRNO\202TPQ\3QMNRNOVRS\220SOP\3VRSTPQRNO\202PLM\2RNOTPQ\202V"
+  "RS\17_[\\>:;\4\0\1&\"#c_``\\]jfgQMNYUVZVWRNOMIJQMNVRSWST\220SOP\202p"
+  "lm\6tpquqrjfgZVWVRS[WX\202WST\20VRSWSTZVW^Z[b^_eabVRS^Z[WSTPLM=9:D at A"
+  "plm{wxfbcKGH\202YUV\5^Z[VRSfbcVRSTPQ\202QMN\5UQRTPQQMNRNOVRS\214SOP\2"
+  "TPQUQR\202VRS\6b^_`\\]eaboklrnojfg\202c_`\20NJKgcd]YZ($%IEF}yzYUVD at A"
+  "RNOZVW[WXRNOLHIQMNVRSWST\203SMO\203TNP\202UOQ\220VPR\5WQSTNPSMOTNPWQ"
+  "S\202ZTV\34WSaUU{\216\217\305\241\242\332\226\227\320\240\240\336\242"
+  "\243\343\234\233\341\247\246\354\250\247\355\253\250\353\252\247\340"
+  "\265\264\340IHhPOaA at HFFHECDA\77@><=:89312+)**().,-)'(+)*/-.\202423\202"
+  "201\"423ECDIGHQOPTRSNLMFDEDBCGEFJHIKIJLJKNLMPNOUST[YZ^\\]VRS\\XYSOPL"
+  "HI;78C\77 at oklyuveabJFGYUVZVW`\\]WSTfbcVRSTPQ\202QMN\5UQRTPQQMNRNOVRS"
+  "\220SOP\3ZVWVRSPLM\202KGH\21PLMVRSZVWIEFgcd\\XY'#$JFGzvwUQREABRNO[WX"
+  "\\XYRNOLHIPLM\202VRS\220SOP\40rnooklhde]YZRNOMIJNJKQMNWSTTPQZVWYUVNJ"
+  "KOKLYUVXTUPLMMIJGCD<89\77;<^Z[wstuqr]YZZVWEABZVWa]^iefPLMRNO\205PLM\203"
+  "QMN\16WSTSOPQMNSOPQMNLHINJKUQROKLSOPWSTXTUVRSSOP\202RNO\3`\\]plm{wx\202"
+  "\201}~\34sop^Z[RNO[WXgcd[WXJFG\201}~\200|}gcdRNOc_``\\]]YZUQR=9:ZVWV"
+  "RS[WXUQPSONVRQZVUXTSRNMOKJQMLTPO\202SON\203RNM\4SONTPOSONQML\202WSR\6"
+  "PLKUQPXTSMIHSONTPO\202UQP\203TPO\32RPSWWcNP_\77 at R34F9:NGI^KKcBB\\VVp"
+  "cc{XWi;;G76;DDBHH at AA98758671/0,*+.,-,*+)'(,*+)'(\202,*+\5+)*.,-53497"
+  "8867\202JHI\10IGHECD@>\77><=@>\77B at ALJKIGH\202OMN\2DBCGEF\202RPQ\20N"
+  "JKKGHFBC<89\77;<^Z[xtuvrs]YZZVWEABZVWa]^iefPLMRNO\205PLM\203QMN\21WS"
+  "TSOPQMNSOPQMNLHINJKUQRPLMSOPWSTXTUUQRRNOPLMOKLXTU\202eab\36b^_hdea]^"
+  "OKLGCDXTUfbc[WXJFG\202~\177\200|}hdeTPQc_``\\]]YZUQR=9:ZVWVRS[WXUQRS"
+  "OPVRSZVWXTURNOOKLQMNTPQ\202SOP\203RNO\2SOPTPQ\203WST\16TPQRNOSOPXTU]"
+  "YZOKLLHIRNOWSTUQRVRSWSTQMNMIJ\202PLM\20TPQb^_lhihdea]^RNOb^_XTU]YZKG"
+  "HNJKLHIiefXTUVRSSOP\202PLM\5RNOUQRXTUPLMQMN\203RNO\1SOP\202TPQ\11UQR"
+  "SOPQMNNJKOKLUQR^Z[fbcd`a\202hde\3kghsoprno\202lhi\5UQROKLEAB>:;plm\202"
+  "rno\24oklWSTVRSIEF.*+2./njkRNOC\77 at YUTVRQUQPTPOQMLOKJVRQ_[ZUQPTPOSON"
+  "\203RNM\203SON\10PLKUQPTPOMIHTPO[WVRNMTPO\202UQP\31RNMOKJQMLVRQ\\XWa"
+  "_`RPQ==;442==;LLLQQQMMMeeg[[[GEF\77><NMHXUNHE>41*10.4230./,*+\202/-."
+  "\3*()+)**()\202-+,\3,*+.,-423\202645\3<:;><=@>\77\202A\77@\14B at AGEFJ"
+  "HICABA\77 at HFGOMNNLMPNORPQKIJKGH\202OKL\20SOPa]^lhiiefa]^RNOb^_XTU]YZ"
+  "KGHNJKLHIiefXTUVRSSOP\202PLM\5RNOUQRXTUPLMQMN\203RNO\1SOP\202TPQ\12U"
+  "QRTPQQMNNJKOKLTPQ\\XYc_``\\]]YZ\202PLM\11b^_iefgcdmijSOPNJKFBC\77;<p"
+  "lm\202rno\24plmWSTVRSIEF.*+2./njkRNOC\77 at YUVVRSUQRTPQQMNOKLVRS_[\\UQ"
+  "RTPQSOP\203RNO\202SOP%PLMQMNRNOQMNPLMQMNSOPVRS[WXUQRRNOTPQXTUYUVSOPK"
+  "GHa]^^Z[KGHMIJc_`_[\\OKLTPQeabd`aLHIUQRWSTa]^MIJRNOWSTVRSUQRSOPRNO\202"
+  "SOP\2TPQOKL\202WST\202RNO%YUVXTUQMNUQRSOPOKLLHIMIJUQR`\\]hded`aOKL0,"
+  "-\"\36\37)%&845MIJc_`TPQ/+,\27\23\24\3\0\0\32\26\27\34\30\31""956GCD"
+  "c_`RNO:67\34\30\31:67\201}~QMNPLMSONPLK\202OKJ\7LHGKGFSON\\XWVRQUQPT"
+  "PO\202RNM\1QML\202RNM\27XTSVRQ\\XWZVUOKJRNMUQPJFEVRQXTSZVUWSRTPORNMU"
+  "QPXTUMHL>9=512=98MIHXTQ\\XU\202^ZW\21NJIA=>KFJZU[SLT\77""8 at 507203534"
+  "0./*()-+,.,-)'('%&,*+.,-\202/-.\2""0./423\202534\11""867;9:><=@>\77A"
+  "\77 at CABFDEIGHNLM\202JHI\32OMNTRSUSTNLMECD`\\]\\XYJFGLHIc_`_[\\OKLUQR"
+  "eabd`aLHIUQRWSTa]^MIJRNOWSTVRSUQRSOPRNO\202SOP\2TPQOKL\202WST\202RNO"
+  "%YUVXTUQMNUQRSOPOKLLHIMIJSOP^Z[fbcXTU:67\20\14\15\5\1\2\31\25\26-)*D"
+  "@A`\\]RNO/+,\30\24\25\4\0\1\32\26\27\34\30\31""845HDEc_`RNO:67\34\30"
+  "\31:67\201}~QMNPLMSOPPLM\202OKL\7LHIKGHSOP\\XYVRSUQRTPQ\202RNO\1QMN\202"
+  "RNO\202WST)VRSUQRRNOOKLMIJLHI^Z[[WXPLMMIJTPQUQRQMNRNOIEFVRSSOPb^_wst"
+  "RNO#\37\40'#$EAB_[\\\\XYc_`TPQWSTKGHYUVTPQVRSYUV[WXZVWVRSQMNNJKWST_["
+  "\\\\XY\202NJK$ZVWYUVMIJPLMRNOTPQSOPRNOQMNSOPUQR401>:;MIJ_[\\b^_MIJ51"
+  "2/+,\3\0\0\10\4\5""401KGHb^_VRSYUVHDE\32\26\27\37\33\34>:;VRS~z{\225"
+  "\221\222B>\77UQRRNM\202NJI\11SONUQPRNMOKJPLKVRQUQPTPORNM\203QML\11RN"
+  "MWSRYUTc_^d`_YUTZVU[WVPLK\202]YX\1^ZY\202`\\[\31\\XWUQPOKLHBF\77""9="
+  "A;=PJLWQQPKHJEBLGCTOKE@=B<<SMQYRZD<I6->>8F4277560./(&'+)*.,-\202+)*\6"
+  ".,-/-.1/0201312534\202645\3<:;><=A\77@\203B at A%DBCECDSQRQOPHFGGEFPNOR"
+  "PQMKLNLMGCDUQRRNOa]^vrsRNO#\37\40'#$EAB_[\\\\XYc_`TPQWSTKGHYUVTPQVRS"
+  "YUV[WXZVWVRSQMNNJKWST_[\\\\XY\202NJK\7ZVWYUVMIJPLMRNOTPQSOP\202QMN\33"
+  "RNOSOP+'(/+,956RNO_[\\GCD,()+'(\3\0\0\11\5\6""623LHIb^_UQRYUVHDE\32\26"
+  "\27\37\33\34>:;VRS~z{\225\221\222B>\77UQRRNO\202NJK\11SOPUQRRNOOKLPL"
+  "MVRSUQRTPQRNO\203QMN\203RNO\36SOPTPQUQRTPQSOPQMNMIJUQRMIJJFGVRSUQRPL"
+  "MZVWFBCWSTVRSa]^njkGCD$\40!512HDE_[\\WSTZVWPLM[WXQMN[WX\204XTU7WSTUQ"
+  "RTPQSOPWST\\XYUQRGCDHDEWSTYUVNJKOKLSOPWSTXTUUQRPLMMIJLHIHDE]YZ{wx\224"
+  "\220\221\230\224\225~z{d`a]YZTPQqmn\246\242\243\251\245\246\246\242\243"
+  "\203\177\200eab623\"\36\37:67]YZlhinjkd`a\36\32\33C\77 at eabYUVRNOXTU_"
+  "[\\\\XYTPQNJKUQRTPQSOP\207RNO\"[WXZVWRNOZVWeab`\\]ZVWRNOLHIPLMXTUZVW"
+  "RNOIEF824713B<>SMOXRTTNNVQN`[XZUQGB>>:7OKLWRXC=G4.<96A0.34230./-+,\202"
+  "0./\2.,-0./\202.,-\22""0./201534645867978;9:=;<@>\77CABDBCECDFDEGEFD"
+  "BCLJKDBCB at A\202PNO\22LJKWUVEABVRSUQR`\\]mijGCD$\40!512HDE_[\\WSTZVWP"
+  "LM[WXQMN[WX\204XTU\13WSTUQRTPQSOPWST\\XYUQRGCDHDEWSTYUV\202NJK*RNOWS"
+  "TXTUUQRPLMLHIKGHFBCXTUsop\222\216\217\233\227\230{wx]YZ^Z[SOPrno\247"
+  "\243\244\253\247\250\246\242\243\202~\177eab623\"\36\37:67]YZlhinjkd"
+  "`a\36\32\33C\77 at eabYUVRNOXTU_[\\\\XYTPQNJKUQRTPQSOP\206RNO\202QMN\4R"
+  "NOTPQUQRSOP\202QMN\22`\\]WSTRNO`\\]XTUJFGVRS_[\\a]^TPQMIJPLMC\77 at HDE"
+  "jfg\200|}}yzWST\202PLM\6fbcSOPMIJXTUTPQMIJ\202GCD\3KGHQMNUQR\202PLM\7"
+  "JFGC\77 at IEFVRSYUVRNOSOP\202UQR\1TPQ\202RNO\5TPQVRSqmnnjkeab\202^Z[\25"
+  "b^_qmn\205\201\202|xy\206\202\203\211\205\206fbclhinjk}yzsopvrs\216\212"
+  "\213\177{|]YZ845956,()PLMtpqa]^\202QMN\6XTUYUVUQRRNOTPQSOP\203RNO\1S"
+  "OP\202TPQ\6XTUQMNOKLC\77 at 512\77;<\202PLM\5FBC956.*+/+,<89\202FBC\22B"
+  ">\77""845;78D>@NHLVPT]W[hbdtnnRMJJFCEA>IHFNLOA\77D41:418425\202645\4"
+  "756645-+,(&'\202.,-\15-+,/-.201534645867;9:=;<\77=>A\77 at DBCFDEGEF\202"
+  "HFG\23JHIYWXPNOKIJZXYSQRGEFSQR_[\\`\\]SOPMIJOKLB>\77GCDief\200|}}yzW"
+  "ST\202PLM\6fbcSOPMIJXTUTPQMIJ\202GCD\3KGHQMNUQR\202PLM\5JFGC\77 at IEFV"
+  "RSYUV\202RNO\13TPQUQRTPQRNOQMNSOPUQRnjkkgh^Z[XTU\202\\XY\24kgh\210\204"
+  "\205{wx\206\202\203\212\206\207gcdlhimij}yztpqvrs\216\212\213\177{|]"
+  "YZ845956,()PLMtpqa]^\202QMN\6XTUYUVUQRRNOTPQSOP\203RNO\1SOP\202TPQ\2"
+  "XTUUQR\202RNO\31TPQUQRRNOPLM\\XYfbcRNOJFG`\\][WXLHI[WXSOPWST\\XY[WXQ"
+  "MNFBCJFGXTUplm\216\212\213~z{fbcC\77@\202JFG\4]YZRNOOKLKGH\202HDE\13"
+  "KGHOKLRNOOKLKGHIEFLHISOPYUVXTUUQR\202TPQ!SOPQMNPLMQMNUQRYUVMIJVRSYUV"
+  "XTUVRSOKLKGHPLM^Z[fbc^Z[@<=VRSSOPb^_okld`a\177{|oklvrsXTUSOP[WXc_`nj"
+  "ka]^UQR\202RNO\3PLMQMNSOP\204QMN\22RNOTPQUQRVRS]YZWSTTPQEAB1-.401\77"
+  ";<=9:<896231-.2./845\77;<\202A=>&UQPVTUZUYZU[ZU\\YT[QLSGBH734IHFRQMK"
+  "LGGGEBBB99;335:89867756:89645(&'&$%423201/-.0./423645756:89><=A\77 at B"
+  "@ACABFDEHFGJHI\202KIJ\25VTU`^_MKLECD\\Z[WUVIGHXVWSOPWST[WXZVWPLMEABI"
+  "EFXTUplm\216\212\213~z{fbcC\77@\202JFG\4]YZRNOOKLKGH\202HDE\13KGHOKL"
+  "RNOOKLKGHIEFLHISOPYUVXTUUQR\203SOP\40QMNPLMQMNUQRXTUOKLYUVVRSSOPVRSP"
+  "LMLHITPQ\\XYeab^Z[@<=VRSSOPb^_plmd`a\177{|oklvrsXTUSOP[WXc_`njka]^UQ"
+  "R\202RNO\3PLMQMNSOP\204QMN\"RNOTPQUQRVRSSOPPLMOKLRNOXTU\\XY]YZ[WXSOP"
+  "UQR512-)*RNO^Z[YUVokl_[\\WSTTPQIEF623512C\77 at IEFMIJkghc_`_[\\QMN^Z[\202"
+  "OKL\3PLMTPQXTU\202\\XY\4YUVUQRRNOVRS\202OKL\12YUV_[\\\\XYWSTUQRPLMRN"
+  "OTPQSOPQMN\203OKL\26PLMXTUWSTSOPUQRVRSUQRXTUNJKZVWXTUKGHhdeKGHD at AVRS"
+  "a]^_[\\EAByuveabKGH\202[WX\10eabb^_`\\]_[\\XTUQMNPLMUQR\203PLM.QMNSO"
+  "PUQRVRSXTUWSTXVWb]a[Y\\LGMJEKOJNGBFEABKGFQMLTOLRMJMGGJDDICC:63HDAXTS"
+  "d_cpkqojqVQX83:(#'HFGXVWONLMMKPPNEEE5348673121/0534312(&'.,/ECD647\202"
+  "312\1""645\202978\40<:;A\77@\77=>@>\77CABGEFLJKPNOSQRTRSLJKPNO201+)*"
+  "QOP[YZUSTjhi_[\\WSTSOPHDE512401B>\77HDEMIJkghc_`_[\\QMN^Z[\202OKL\3P"
+  "LMTPQXTU\202\\XY\4YUVUQRRNOVRS\202OKL\7YUV_[\\\\XYWSTUQRNJKQMN\202SO"
+  "P\32QMNOKLNJKOKLNJKXTUSOPMIJVRSXTURNOSOPKGHYUVXTUKGHhdeLHIEABXTUa]^_"
+  "[\\EAByuveabKGH\202[WX\10eabb^_`\\]_[\\XTUQMNPLMUQR\203PLM\4QMNSOPUQ"
+  "RVRS\202XTU\25RNOQMNWST\\XY]YZ^Z[a]^XTUKGH/+,;78`\\]VRSJFGiefQMNPLMG"
+  "CD2./\36\32\33*&'\202C\77@\20*&'!\35\36\35\31\32\37\33\34/+,RNOeabZV"
+  "W_[\\^Z[]YZ[WXXTUVRSUQRTPQ\203VRS\1WST\202XTU\202YUV\210TPQ\202VRS\202"
+  "WST\35VRSUQRSOPRNOOKLQMNSOPUQRVRSTPQRNOQMNMIJTPQMIJhdec_`EABSOPVRSYU"
+  "Vfbceabb^_hdeeabZVWYUVRNO\202XTU<SOPTPQ[WX]YZXTUKJHOOOLJO>=E:7BEBMSP"
+  "YZX]fbaDA<NICb[SyrjpicndcrhfULCpg^ibZZROKBCHBDVPTKDKTMT_Z`[V\\NIMLFJ"
+  "HBD:46-')726=8</-0%#&(&)&$'205PNQ><A.,/0./:89843732@<;C\77>A=>D at AHDE"
+  "NJKRNOTPQUQR\202WST\15IEF-)*956^Z[UQRJFGjfgQMNPLMGCD2./\36\32\33*&'\202"
+  "C\77@\20*&'!\35\36\35\31\32\37\33\34/+,RNOeabZVW_[\\^Z[]YZ[WXXTUVRSU"
+  "QRTPQ\203VRS\1WST\202XTU\202YUV\210TPQ\202VRS\202WST\35VRSUQRSOPRNOO"
+  "KLQMNSOPUQRVRSTPQRNOQMNMIJTPQMIJhdec_`EABSOPVRSYUVfbceabb^_hdeeabZVW"
+  "YUVRNO\202XTU\37SOPTPQ[WX]YZXTUHDE]YZc_`VRSTPQVRS;78\24\20\21\37\33\34"
+  "845NJKgcduqr^Z[NJK`\\]512\25\21\22\31\25\26\16\12\13\40\34\35OKLVRSf"
+  "bcb^_c_`\202jfg\4iefvrsxtueab\202\\XY\6[WXYUVWSTVRSUQRTPQ\204VRS\204"
+  "WST\210UQR\202SOP\203TPQ\1SOP\202RNO\3PLMRNOTPQ\202VRS\5UQRSOPRNOMIJ"
+  "YUV\202MIJ\21""845&\"#LHIeab\\XYd`a]YZSOPWSTUQRNJKQMN\\XY_[\\\\XYUQR"
+  "TPQ\202XTU4RPQSRPPPPFEJ<;C><ILHVWT_[V\\KGFJE\77]YPund{tl}urqghqhi\205"
+  "~v\211\202x|xomhd]YXVRSVTWPNSMJQTOULGM=8<8241++&\36\34\33\26\23=79D\77"
+  "C;6:1/2205)',$\"'205:8=*(+1/0CABD@\77B>=IEBMIF<89RNOVRS\202FBC\25PLM"
+  "<89\27\23\24\35\31\32""623LHIeabsop]YZNJK`\\]512\25\21\22\31\25\26\16"
+  "\12\13\40\34\35OKLVRSfbcb^_c_`\202jfg\4iefvrsxtueab\202\\XY\6[WXYUVW"
+  "STVRSUQRTPQ\204VRS\204WST\210UQR\202SOP\203TPQ\1SOP\202RNO\3PLMRNOTP"
+  "Q\202VRS\5UQRSOPRNOMIJYUV\202MIJ\21""845&\"#LHIeab\\XYd`a]YZSOPWSTUQ"
+  "RNJKQMN\\XY_[\\\\XYUQRTPQ\202XTU!TPQplm_[\\UQRZVWYUVD at A&\"#\23\17\20"
+  "HDE]YZplmrnohdeZVWTPQWSTZVW&\"#845\77;<njk\244\240\241\214\210\211\235"
+  "\231\232\234\230\231\235\231\232\237\233\234\223\217\220}yztpqiefSOP"
+  "\202XTU\202WST\1VRS\202UQR\1TPQ\202VRS\204UQR\202TPQ\207UQR\1TPQ\202"
+  "PLM\3QMNRNOSOP\202RNO\4QMNSOPTPQUQR\202WST\2VRSTPQ\202SOP\22VRSHDEIE"
+  "FJFGKGH_[\\a]^LHIRNOGCD;78>:;@<=\77;<FBCQMNVRSXTU\202VRSSWSTTPQMKLFE"
+  "CAAA<:\77;8\77EBKSMWVQXRLPTOLXSMlgazuovqnmgk_Zac`g\\\\\\UWTZ\\[^_aae"
+  "h`chY\\a\\_d]`e`acWYXLNIJKEEG<>>2>;2@<;GCDA=>;78@;\77:59.,/0.11/2#!\""
+  "201KIJLKIBA\77@\77;\77>:^Z[PLMJFGSOPVRSD at A$\40!\15\11\12EAB[WXnjkqmn"
+  "gcdYUVTPQVRSZVW&\"#845\77;<njk\244\240\241\214\210\211\235\231\232\234"
+  "\230\231\235\231\232\237\233\234\223\217\220}yztpqiefSOP\202XTU\202W"
+  "ST\1VRS\202UQR\1TPQ\202VRS\204UQR\202TPQ\207UQR\1TPQ\202PLM\3QMNRNOS"
+  "OP\202RNO\4QMNSOPTPQUQR\202WST\2VRSTPQ\202SOP\22VRSHDEIEFJFGKGH_[\\a"
+  "]^LHIRNOGCD;78>:;@<=\77;<FBCQMNVRSXTU\202VRS\31WSTTPQOKL/+,845SOPb^_"
+  "IEF'#$1-.VRS\214\210\211\201}~qmnZVWOKL[WX^Z[LHID at A($%956[WX\213\207"
+  "\210\231\225\226\202rno\10d`a_[\\^Z[VRSKGHPLMUQRJFG\210TPQ\1VRS\202U"
+  "QR\1TPQ\202SOP\202RNO\204TPQ\204SOP\4OKLPLMQMNRNO\204SOP\202UQR\1VRS"
+  "\202WST\20VRSTPQSOPVRSUQRMIJVRSlhi{wxwsta]^HDEPLMHDE<89\77;<\202@<=\202"
+  "GCDMMIJSOPUQRSOPMIJEAB<:;431666<:=HCISNTYRYVPTOII_ZVupj\203\200{dca_"
+  "]b_]jUTfEF[W]sEMdGOfCKbFMgKRlDKeOWnMTgKRbDJVBFOCHK\77CB<A;CD\77D@\77"
+  "ICE\77;<845\77;<FBCE at DECDB@A-+,423GEF\77><+*(\37\36\32\30\27\25($%1-"
+  ".IEFXTUA=>\"\36\37/+,VRS\211\205\206\177{|oklZVWOKLZVW]YZJFGD at A($%95"
+  "6[WX\213\207\210\231\225\226\202rno\10d`a_[\\^Z[VRSKGHPLMUQRJFG\210T"
+  "PQ\1VRS\202UQR\1TPQ\202SOP\202RNO\204TPQ\204SOP\4OKLPLMQMNRNO\204SOP"
+  "\202UQR\1VRS\202WST\20VRSTPQSOPVRSUQRMIJVRSlhi{wxwsta]^HDEPLMHDE<89\77"
+  ";<\202@<=\202GCD\22MIJSOPUQRSOPMIJEAB>:;%!\"-)**&'\"\36\37/+,QMNkghs"
+  "opmijjfg`\\]\202QMN\4eab_[\\>:;3/0\202B>\77\16wst\230\224\225xtufbcY"
+  "UVa]^UQRQMNPLMOKL]YZgcd`\\]QMN\203RNO\1SOP\203TPQ\202UQR\202TPQ\1SOP"
+  "\202RNO\1QMN\203SOP\202RNO\204QMN\3RNOSOPTPQ\204UQR\202VRS\1WST\202V"
+  "RS\14UQRTPQSOPRNOVRSYUVUQR^Z[mijd`aWSTJFG\202XTUHRNOWSTVRSTPQYUVVRST"
+  "PQRNONJKHDE\77;<845312\77=>EEEOMNYUV\\VX]TU_WUc[Xje_tqlsrpgflRTcNPgD"
+  "GfRY\203CM\210HR\227cm\262hs\265it\266gr\262R]\233Q[\226T]\224PZ\213"
+  "HQ|DLqDJj<B\\5;Q<\77NDAHICEB<>935;57A=<FBCIEDEA@!\35\34\16\15\13\22\21"
+  "\17\20\17\15\25\24\22)(&764\36\32\33'#$&\"#\35\31\32($%JFGhdesopjfgg"
+  "cd_[\\\202QMN\4d`a^Z[=9:3/0\202B>\77\16wst\230\224\225xtufbcYUVa]^UQ"
+  "RQMNPLMOKL]YZgcd`\\]QMN\203RNO\1SOP\203TPQ\202UQR\202TPQ\1SOP\202RNO"
+  "\1QMN\203SOP\202RNO\204QMN\3RNOSOPTPQ\204UQR\202VRS\1WST\202VRS\14UQ"
+  "RTPQSOPRNOVRSYUVUQR^Z[mijd`aWSTJFG\202XTU-RNOWSTVRSTPQYUVVRSTPQRNONJ"
+  "KHDE\77;<845512\177{|eabFBCC\77 at b^_\200|}|xygcd\77;<ZVWd`aXTUUQRYUVM"
+  "IJ845512ZVWD at Aqmn\206\202\203UQRWSTMIJ]YZRNOQMNRNOLHINJKLHI\77;<\203"
+  "QMN\1RNO\203SOP\205TPQ\204SOP\202TPQ\202SOP\1RNO\203QMN\3TPQUQRVRS\203"
+  "WST\202VRS\1WST\202VRS\2UQRTPQ\203SOP=UQROKLWSTRNOYUV\\XY845!\35\36""2"
+  "./HDEQMNUQR`\\]c_`b^_ief_[\\VRSLHIHDEEABC\77 at HDEOKLWUVZXY^Z[\\VVWOMV"
+  "NKd[VslfnienjiWV\\_anEKcQZ{NW\202z\206\300w\206\331w\207\346z\212\351"
+  "n\177\333fw\321gw\317br\307cr\303Yg\262Vc\251MX\226EP\206 at J{6\77j.6["
+  "17Q;9FD\77CGBFD at A\77""9;\203<87(843($#-,*\77><IHFZYWxwu\212\211\207k"
+  "ghVRSA=>D at A`\\]yuvtpq`\\]<89XTUc_`WSTTPQYUVMIJ734512ZVWD at Aqmn\206\202"
+  "\203UQRWSTMIJ]YZRNOQMNRNOLHINJKLHI\77;<\203QMN\1RNO\203SOP\205TPQ\204"
+  "SOP\202TPQ\202SOP\1RNO\203QMN\3TPQUQRVRS\203WST\202VRS\1WST\202VRS\2"
+  "UQRTPQ\203SOP8UQROKLWSTRNOYUV\\XY845!\35\36""2./HDEQMNUQR`\\]c_`b^_i"
+  "ef_[\\VRSLHIHDEEABC\77 at HDEOKLlhi\200|}\232\226\227\243\237\240\215\211"
+  "\212hdeQMNMIJ>:;iefoklXTUOKLD at A3/02./KGHhdeTPQmij\205\201\202c_`WSTU"
+  "QRRNOMIJWST_[\\ZVW[WX^Z[VRS\205RNO\204SOP\204TPQ\203UQR\202VRS\202UQ"
+  "R\1TPQ\203SOP\202VRS\203WST\7VRSUQRTPQWSTVRSUQRTPQ\203RNO\13QMNYUVIE"
+  "FTPQRNOZVWXTU($%\22\16\17A=>VRS\202^Z[\202d`aZa]^hdeZVWRNONJKPLMSOPT"
+  "PQ[WXeab][^\\Z[]YZZURTLISJEcZSvoia[[pns[]jBH`T^\201\206\223\300\206\225"
+  "\314\204\227\334|\221\356~\223\374x\216\364u\213\361n\204\351h|\335e"
+  "z\327]q\312Tf\272Tf\262L[\240BP\215\77L\2038Dv0;h1:[/1 at 96=FDIKINE at D<"
+  "89843621\24\20\15-)&`_[\206\205\201\202\201\177utroomjiga]^rno\213\207"
+  "\210\225\221\222\177{|\\XYLHIOKL=9:gcdmijVRSNJKC\77 at 3/02./KGHhdeTPQm"
+  "ij\205\201\202c_`WSTUQRRNOMIJWST_[\\ZVW[WX^Z[VRS\205RNO\204SOP\204TP"
+  "Q\203UQR\202VRS\202UQR\1TPQ\203SOP\202VRS\203WST\7VRSUQRTPQWSTVRSUQR"
+  "TPQ\203RNO\13QMNYUVIEFTPQRNOZVWXTU($%\22\16\17A=>VRS\202^Z[\202d`a\25"
+  "a]^hdeZVWRNONJKPLMSOPTPQ[WXeabJFGd`afbcPLMQMNc_`RNO*&'=9:jfgief\202S"
+  "OP\15@<=$\40!'#$956JFGIEFWST}yzqmnKGHNJKVRSQMN\202WST\4JFGIEFRNOTPQ\212"
+  "SOP\202TPQ\1UQR\203VRS\1YUV\202XTU\2WSTVRS\203UQR\1VRS\203WST\10VRSU"
+  "QRTPQSOPWSTVRSTPQSOP\204QMN\23UQRLHI^Z[KGH>:;@<=401IEF\204\200\201\222"
+  "\216\217\215\211\212}yztpqhde]YZ`\\]ZVWWSTZVW\202b^_>[WXXTU\\XYVTWXT"
+  "U\\VV_ZW]VPZSMe^XsnkhciOO[SXnPX|\237\253\333\245\265\360\244\267\371"
+  "\225\254\372\200\230\370~\231\377s\214\363z\223\370x\221\366j\202\344"
+  "f~\336Yq\313Oe\272Qf\265J\\\244>P\220=L\2079I}3Ap5\77c).B11=\77\77II"
+  "HP@\77E55731221/\14\10\7+'$[ZVqpl]\\ZJIGGGEDDB@<=WSTYUVIEFMIJ^Z[MIJ'"
+  "#$;78hdegcd\202QMN\15\77;<$\40!($%956JFGIEFWST}yzqmnKGHNJKVRSQMN\202"
+  "WST\4JFGIEFRNOTPQ\212SOP\202TPQ\1UQR\203VRS\1YUV\202XTU\2WSTVRS\203U"
+  "QR\1VRS\203WST\10VRSUQRTPQSOPWSTVRSTPQSOP\204QMN\23UQRLHI^Z[KGH>:;@<"
+  "=401IEF\204\200\201\222\216\217\215\211\212}yztpqhde]YZ`\\]ZVWWSTZVW"
+  "\202b^_\33[WXXTU\\XY\77;<GCD@<=.*+-)*=9:@<=512845UQRlhiTPQPLMD at A\40\34"
+  "\35:67MIJLHIb^_vrskgh[WXXTUVRS\210SOP\2QMNRNO\203SOP\5UQRXTUZVWUQRTP"
+  "Q\203RNO\21TPQVRSXTUVRSUQRSOPRNOQMNSOPTPQVRSZVWYUVXTUWSTVRSUQR\202TP"
+  "Q\210SOPKQMNSOPUQRTPQVRS`\\]plm}yz\220\214\215\201}~oklhdeiefhdea]^X"
+  "TUQMNJFGEABHDEQMNXTUYUVWST[VZ]YZ]WWXSP[VRfa]iccd_eZZfPRiX^\200\222\237"
+  "\314\215\235\330\241\265\372\237\266\377\212\245\366l\212\344x\227\362"
+  "\202\237\373\200\235\371x\225\361q\214\347g\202\333_y\316Xq\301Sk\265"
+  "Qh\254\77T\223>Q\2131Bv5Ev4Bi9 at Z(-@$*:JNZ;>GBEJ,-/\"\"\"\16\15\13:97"
+  "MLH;:610.653000###:67@<=;78\202-)*\23""956;781-.845TPQkghRNONJKB>\77"
+  "\37\33\34:67NJKLHIb^_vrskgh[WXWSTVRS\210SOP\2QMNRNO\203SOP\5UQRXTUZV"
+  "WUQRTPQ\203RNO\21TPQVRSXTUVRSUQRSOPRNOQMNSOPTPQVRSZVWYUVXTUWSTVRSUQR"
+  "\202TPQ\210SOP*QMNSOPUQRTPQVRS`\\]plm}yz\220\214\215\201}~oklhdeiefh"
+  "dea]^XTUQMNJFGEABHDEQMNXTUYUVWST7345121-.401C\77 at NJK\77;<&\"#OKLXTUN"
+  "JK!\35\36\35\31\32'#$+'(_[\\\236\232\233\217\213\214\202\220\214\215"
+  "\4yuvb^_ZVWUQR\210SOP\202XTU\1VRS\202UQR\7TPQRNOQMNWSTVRSTPQSOP\204R"
+  "NO\1UQR\203TPQ\2UQRVRS\202XTU\5YUVXTUWSTVRSUQR\202TPQ\211SOP`QMNTPQV"
+  "RSTPQRNOUQR^Z[fbc]YZWSTQMNPLMTPQXTUYUVXTU`\\]]YZ[WX]YZ`\\]a]^^Z[[WX^"
+  "Y]\\XY^XXa\\Y_[XWSThfkffrIKbY_\201\221\234\312\230\247\342\220\243\350"
+  "\246\275\377\224\256\377\201\237\365x\226\356r\221\353w\226\360\200\237"
+  "\371|\231\365l\212\344h\203\336m\210\337e\177\323_x\310Yq\273AX\234<"
+  "Q\2202F\2018K\2036Hv3Bc=Ia%0F\25\35""0-5B\30\37)\17\24\30\0\0\4///KJ"
+  "HONL:95/.,0/-,,,&$%4010,-+'(/+,\77;<JFG=9:($%MIJWSTLHI\37\33\34\33\27"
+  "\30&\"#*&'^Z[\236\232\233\220\214\215\221\215\216\220\214\215yuvb^_Y"
+  "UVTPQ\210SOP\202XTU\1VRS\202UQR\7TPQRNOQMNWSTVRSTPQSOP\204RNO\1UQR\203"
+  "TPQ\2UQRVRS\202XTU\5YUVXTUWSTVRSUQR\202TPQ\211SOP0QMNTPQVRSTPQRNOUQR"
+  "^Z[fbc]YZWSTQMNPLMTPQXTUYUVXTU`\\]]YZ[WX]YZ`\\]a]^^Z[[WXRNOZVWd`ajfg"
+  "iefa]^YUVUQR`\\]]YZ\77;<\32\26\27,()KGH_[\\\222\216\217\232\226\227\203"
+  "\177\200xturno^Z[PLMNJKJFG\210SOP\1RNO\202PLM\4TPQYUVZVWWST\203SOP\203"
+  "TPQ\10SOPRNOQMNTPQUQRVRSXTUYUV\203ZVW\203VRS\2UQRTPQ\202SOP\1RNO\210"
+  "SOP\10OKLSOPVRSUQRQMNOKLQMNTPQ\205WST\6YUV]YZ_[\\c_`eabhde\202kghKgc"
+  "db^__[\\ZTVa[]_[Z^ZYgefedjnp}Y^t]c\207\205\217\300\234\253\346\231\254"
+  "\361\240\267\377\223\255\377\237\275\377n\214\346y\226\362}\232\370\177"
+  "\233\374~\232\373z\230\372w\225\367r\216\361n\210\351h\202\341c|\330"
+  "Xr\311 at Y\253;R\2407M\230<P\2278L\211;P{4Hi$7U\33+E\37+A\0\3\21.7 at NSY"
+  "MNR\\\\\\^][UTRPNOJHIB at A><=IEFOKLXTU`\\]_[\\ZVWUQRTPQ\\XYYUV=9:\31\25"
+  "\26+'(JFG^Z[\221\215\216\232\226\227\203\177\200xturno^Z[PLMNJKJFG\210"
+  "SOP\1RNO\202PLM\4TPQYUVZVWWST\203SOP\203TPQ\10SOPRNOQMNTPQUQRVRSXTUY"
+  "UV\203ZVW\203VRS\2UQRTPQ\202SOP\1RNO\210SOP\10OKLSOPVRSUQRQMNOKLQMNT"
+  "PQ\205WST\6YUV]YZ_[\\c_`eabhde\202kgh\33gcdb^__[\\\177{|\203\177\200"
+  "\212\206\207\211\205\206yuviefmij|xyyuvvrsXTUIEFkgh|xytpq\204\200\201"
+  "xtua]^XTUWSTPLMRNOWSTUQR\210SOP\1OKL\202MIJ\11RNOYUV[WXVRSPLMKGHMIJP"
+  "LMTPQ\204VRS\3TPQUQRWST\203YUV\3WSTVRSUQR\202TPQ\202SOP\203RNO\210SO"
+  "P\2NJKRNO\202VRS\1TPQ\202RNO\2TPQWST\202VRS\2TPQSOP\203RNO\3UQRZVWa]"
+  "^\202d`a.b^_a]^`\\]c]_gacYUVOMPTSYQS`CH^MUy\226\240\321\226\244\341\252"
+  "\274\377\231\256\377\244\276\377\226\261\377\204\243\376t\223\356y\226"
+  "\364\205\242\377\211\245\377\200\234\375y\226\372w\224\370n\213\357a"
+  "}\341g\203\346d\200\341\\v\323Lg\300Jd\270Mf\266Le\265F^\2446Q\2063P"
+  "z&\77g)@b\34""0K\33*\77\77KY_hq^cgdegeee\202hfg\25_]^XVW^Z[mijqmnzvw"
+  "|xyokl`\\]d`atpqsopqmnUQRHDEjfg|xytpq\202~\177wst`\\]\202WST\4PLMQMN"
+  "WSTUQR\210SOP\1OKL\202MIJ\11RNOYUV[WXVRSPLMKGHMIJPLMTPQ\204VRS\3TPQU"
+  "QRWST\203YUV\3WSTVRSUQR\202TPQ\202SOP\203RNO\210SOP\2NJKRNO\202VRS\1"
+  "TPQ\202RNO\2TPQWST\202VRS\2TPQSOP\203RNO\3UQRZVWa]^\202d`a\25b^_a]^`"
+  "\\]\201}~okleabiefhde`\\]]YZc_`eabnjkUQRSOPwst\200|}vrs{wxtpq`\\]\202"
+  "YUV\4TPQVRSZVWRNO\210SOP\15YUVUQRQMNRNOUQRRNOJFGA=>LHINJKQMNTPQVRS\202"
+  "WST\202VRS\1WST\202XTU\4WSTTPQRNOPLM\204SOP\204RNO\210SOP\2RNOSOP\202"
+  "TPQ\202SOPTUQRWSTQMNNJKLHIOKLTPQVRSTPQPLMNJKQMNUQRXTUYUVZVW\\XY_Y[`W"
+  "XYPSOIKXV[VXdPUiDMn\237\254\331\250\270\364\244\266\377\253\301\377\243"
+  "\274\377\233\265\377\203\242\377u\224\357\203\242\375\207\245\377\207"
+  "\242\375\206\243\377\204\241\375w\225\365d\202\342Yw\331Vw\326Tu\324"
+  "Qr\317Eg\300\77_\264\77`\261Hh\265Ff\263\77`\2456X\2259]\221$Ds$Ai!9"
+  "[$8S\37.Adp|nu}ehmXXZSQRRPQPLMSNRa\\`okl_[\\WST]YZ_[\\XTUWST\\XY^Z[i"
+  "efQMNRNOwst\177{|uqryuvsop_[\\\202XTU\4SOPVRSYUVRNO\210SOP\15YUVUQRQ"
+  "MNRNOUQRRNOJFGA=>LHINJKQMNTPQVRS\202WST\202VRS\1WST\202XTU\4WSTTPQRN"
+  "OPLM\204SOP\204RNO\210SOP\2RNOSOP\202TPQ\202SOP$UQRWSTQMNNJKLHIOKLTP"
+  "QVRSTPQPLMNJKQMNUQRXTUYUVZVW\\XY^Z[\\XYVRSUQRYUVXTURNOUQR^Z[XTUfbcB>"
+  "\77:67WSTa]^plm\202~\177jfg[WX\202WST\4QMNSOPTPQIEF\210SOP\2VRSSOP\202"
+  "QMN\5SOPQMNLHIGCDTPQ\204UQR\1TPQ\202SOP\202WST\6VRSUQRSOPQMNNJKMIJ\220"
+  "SOP\4WSTUQRSOPQMN\202PLM\11RNOSOPYUVUQRQMNTPQYUV\\XYXTU\202TPQ\203SO"
+  "P7UQRWSTYUVZTV[RSTKLLFJTSYORaKRlAOv\226\247\335\233\257\366\247\275\377"
+  "\214\245\377\225\257\377\203\241\377u\223\363\200\242\374\206\245\377"
+  "\217\255\377\215\253\377\207\245\377y\230\363m\214\351b\203\340[|\333"
+  "Ux\326a\204\340Y~\327In\306Ek\276Af\266Jp\273Jn\272Io\266En\256'Q\213"
+  "(P\204%Jw!>f\26/N\36""0Hiv\206s|\205dgnLMQA\77BB>\77A=>F at DRLPMIJHDEG"
+  "CD\202KGH\15JFGPLMYUVRNO`\\]=9:734UQR_[\\okl\200|}hdeYUV\202VRS\4PLM"
+  "SOPTPQIEF\210SOP\2VRSSOP\202QMN\5SOPQMNLHIGCDTPQ\204UQR\1TPQ\202SOP\202"
+  "WST\6VRSUQRSOPQMNNJKMIJ\220SOP\4WSTUQRSOPQMN\202PLM\11RNOSOPYUVUQRQM"
+  "NTPQYUV\\XYXTU\202TPQ\203SOP\2UQRWST\202YUV\30LHIVRS_[\\^Z[VRSSOP_[\\"
+  "mijkghplm;78734YUV]YZc_`b^_gcd\\XY[WXZVWUQRZVW^Z[UQR\210SOP\6MIJNJKO"
+  "KLQMNSOPUQR\202VRS\3YUVXTUWST\202UQR\202TPQ\6UQRXTUVRSUQRSOPQMN\203P"
+  "LM\204SOP\204TPQ\210SOP\3UQRTPQRNO\204QMN\6PLMUQRSOPQMNOKLNJK\203MIJ"
+  "FWSTTPQRNOSOPWSTYUVWSTVPRTJKSIJOJNPPXTYlZe\203r\203\261\205\231\326\217"
+  "\246\364\177\230\364\201\235\377u\222\370u\222\366\215\256\377~\240\372"
+  "\211\250\377\210\246\377\215\253\377\202\237\373n\215\352i\212\347s\226"
+  "\364q\223\364a\205\343e\214\347_\207\337Px\317Mv\310>g\266 at j\264>h\262"
+  "Eo\267>m\261#S\2230]\230#K\177#Do-Jl0E`#2Emu\202_clHIN=;>D at AGACE<AC="
+  "A;78GCDQMNOKLHDEJFGWSTd`aeabjfg7343/0UQRZVW\202a]^\2eabZVW\202YUV\4T"
+  "PQYUV^Z[UQR\210SOP\6MIJNJKOKLQMNSOPUQR\202VRS\3YUVXTUWST\202UQR\202T"
+  "PQ\6UQRXTUVRSUQRSOPQMN\203PLM\204SOP\204TPQ\210SOP\3UQRTPQRNO\204QMN"
+  "\6PLMUQRSOPQMNOKLNJK\203MIJ\12WSTTPQRNOSOPWSTYUVWSTUQRXTURNO\202LHI\24"
+  "UQR_[\\a]^^Z[HDEJFG\36\32\33=9:\205\201\202\220\214\215\177{|_[\\ief"
+  "_[\\[WXUQRLHIPLMVRSMIJ\210SOP\1TPQ\202UQR\1TPQ\202RNO\15TPQVRSWSTVRS"
+  "UQRTPQUQRWSTYUV[WXWSTVRSSOP\203QMN\1RNO\203SOP\203TPQ\203UQR\210SOP\202"
+  "PLM\12RNOTPQVRSWSTUQRSOPRNOVRSYUVVRS\202RNO\37YUV`\\]SOPOKLNJKRNOYUV"
+  "[WXWSTSMObVXSIJPLMLOVFNc=Mq\205\230\320z\222\332r\214\341u\222\360t\221"
+  "\365\200\235\377\210\245\377\213\254\377\222\261\377\177\236\371\202"
+  "\241\376x\227\364m\216\355l\217\355s\227\365\202w\236\375\31s\233\372"
+  "j\225\361f\224\354[\211\336[\212\334Ds\303>n\2728h\264Cu\2761f\2542e"
+  "\247(X\226$Q\212&P\202%Gt$@e+@[fr\202[_hABG446=;>GBFA;=935\202D at A\202"
+  "A=>\1LHI\202XTU\21OKLD at AEAB\31\25\26""845\201}~\215\211\212}yz]YZgcd"
+  "\\XYYUVTPQJFGPLMUQRMIJ\210SOP\1TPQ\202UQR\1TPQ\202RNO\15TPQVRSWSTVRS"
+  "UQRTPQUQRWSTYUV[WXWSTVRSSOP\203QMN\1RNO\203SOP\203TPQ\203UQR\210SOP\202"
+  "PLM\12RNOTPQVRSWSTUQRSOPRNOVRSYUVVRS\202RNO'YUV`\\]SOPOKLNJKRNOYUV[W"
+  "XWSTRNOXTUKGHNJKXTUYUV\\XY]YZRNOPLM\40\34\35\"\36\37QMN\220\214\215v"
+  "rs^Z[SOPd`ahde`\\]NJKIEFTPQ\\XYZVWVRSOKLPLMHDE_[\\\202MIJ\1NJK\202VR"
+  "S\202UQR\1TPQ\202SOP\3RNOYUVWST\202UQR\202VRS\2TPQRNO\203UQR\5SOPQMN"
+  "RNOUQRXTU\210SOP\20NJKXTU[WXUQRTPQZVWVRSLHIMIJRNOTPQQMNTPQZVWWSTNJK\210"
+  "SOPULHIPLMTPQUQRVRSWSTYUV\\SVZKPOCGOKHOTXDSjAV\203~\225\331\203\235\361"
+  "\205\243\375\200\237\374|\232\372\203\241\377\220\255\377{\230\376\200"
+  "\234\377q\217\361i\206\352j\212\355f\210\352`\206\347l\224\364|\247\377"
+  "v\245\377c\224\360c\226\357V\214\342\\\224\351Z\222\345By\3148o\301A"
+  "x\312Bz\307'b\246-g\2460c\242&X\225\37Q\220\40Q\214&O\203*Jq_n\205\\"
+  "`k=>B9999:>89;A\77@@<;@<=:89><=DBCFDEJHIMKLJHIFDE\36\34\35\33\31\32G"
+  "EF\216\214\215sqrVTUQOP`\\]eab^Z[LHIGCDRNO[WXZVWVRSOKLPLMHDE_[\\\202"
+  "MIJ\1NJK\202VRS\202UQR\1TPQ\202SOP\3RNOYUVWST\202UQR\202VRS\2TPQRNO\203"
+  "UQR\5SOPQMNRNOUQRXTU\210SOP\20NJKXTU[WXUQRTPQZVWVRSLHIMIJRNOTPQQMNTP"
+  "QZVWWSTNJK\210SOP\6LHIPLMTPQUQRVRSWST\202YUV\40LHIJFGVRSZVWOKLMIJRNO"
+  "NJK[WX734\\XY\200|}\177{|XTUd`ahdeTPQfbcqmnkghb^_^Z[TPQGCDOKLYUVd`aS"
+  "OP]YZHDEQMN]YZ\203UQR\203TPQ\202SOP\7WSTUQRTPQUQRWSTXTUWST\202UQR\202"
+  "VRS\5UQRRNOQMNSOPUQR\210SOP\17VRSXTUUQRPLMOKLSOPUQRRNOUQRWSTVRSRNOPL"
+  "MRNOTPQ\211SOP\1RNO\202VRS\202QMN\202UQRQRILPAHL at DIFATY\\M]vj\200\261"
+  "\211\243\356\203\236\371\211\246\377\205\244\377\207\246\377\203\241"
+  "\377\204\240\377m\211\355n\212\355g\205\347e\205\350d\206\352g\213\354"
+  "j\222\362l\227\366l\233\367k\236\371l\242\374[\224\353R\216\344Z\227"
+  "\352[\230\353F\203\326<y\312>x\3123q\2765t\2713p\257-e\242\"Y\231\32"
+  "U\231\34U\230\"V\222+Q\200/C^OUaNOSACB/47.25\77><\77;8986978\77=>B at A"
+  "><=\77=>DBCECDHFG/-.RPQqopustNLMYWXb`aQMNd`aplmief`\\]\\XYSOPGCDOKLY"
+  "UVd`aSOP]YZHDEQMN]YZ\203UQR\203TPQ\202SOP\7WSTUQRTPQUQRWSTXTUWST\202"
+  "UQR\202VRS\5UQRRNOQMNSOPUQR\210SOP\17VRSXTUUQRPLMOKLSOPUQRRNOUQRWSTV"
+  "RSRNOPLMRNOTPQ\211SOP\1RNO\202VRS\202QMN\202UQR\5OKL_[\\XTUYUVTPQ\202"
+  "FBC\1NJK\202KGH\27\3\0\0\40\34\35_[\\yuviefnjkNJKplmwstsop`\\]SOPUQR"
+  "\\XY^Z[XTUPLMIEF<89\\XYVRSQMND at A\211TPQ\4SOPRNOTPQWST\202YUV\6WSTTPQ"
+  "VRSXTUWSTTPQ\202QMN\1RNO\210SOP\4UQRQMNPLMSOP\202TPQ\12WST\\XYUQRTPQ"
+  "UQRVRSRNONJKPLMUQR\210SOPXPLMWSTVRSOKLUQRa]^`\\]UOQG:ANCGKJFW_bKYs\202"
+  "\226\310\201\230\346s\216\351v\223\357{\230\366\212\247\377~\233\371"
+  "s\214\360f\177\343l\211\347|\233\370\205\246\377{\237\377w\236\375{\246"
+  "\377~\253\377w\251\377p\246\376o\247\376f\237\366Y\225\353V\223\346P"
+  "\217\337D\203\323D\203\322F\203\3238x\302<\177\3030r\257%a\237\37[\232"
+  "\33Z\237\32Y\236\37V\226(T\2051Iegp\177Z]b89;6;>.250/-=96\77><=;<><="
+  "=;<645756=;<><=ECD\5\3\4\"\40!WUVqopcabighJHInjkvrsrno_[\\QMNTPQ[WX^"
+  "Z[XTUPLMIEF<89\\XYVRSQMND at A\211TPQ\4SOPRNOTPQWST\202YUV\6WSTTPQVRSXT"
+  "UWSTTPQ\202QMN\1RNO\210SOP\4UQRQMNPLMSOP\202TPQ\12WST\\XYUQRTPQUQRVR"
+  "SRNONJKPLMUQR\210SOP(PLMWSTVRSOKLUQRa]^`\\]TPQMIJGCDLHISOPVRS_[\\a]^"
+  "SOP1-.\24\20\21A=>oklxtuTPQZVWYUVJFGXTU`\\]YUVNJKLHIPLMRNO]YZgcdkghO"
+  "KLWSTKGHWST_[\\\202SOP\203TPQ\203UQR\12SOPRNOQMNRNOUQRWSTVRSUQRRNOUQ"
+  "R\202WST\2UQRSOP\202RNO\210SOP\3RNOLHIOKL\202YUV\6PLMNJKUQRPLMMIJQMN"
+  "\202YUV\2QMNOKL\211SOP\1NJK\202WSTUOKLVRSc_`]YZKEGD7>QFJYXTW_bAOiw\213"
+  "\275k\202\320g\200\334l\206\343g\204\340y\223\360r\214\351q\213\352y"
+  "\223\362\200\233\366\223\263\377\217\262\377\212\257\377\200\251\377"
+  "z\246\377z\251\377y\254\377p\246\376d\235\364k\247\375\\\232\357O\215"
+  "\340C\204\324@\202\320J\214\330K\215\331<\177\3067|\277&l\252\35_\234"
+  "\37`\240\37e\253\34b\247\33[\233#U\2106Qo\213\230\250os|%),5:>269+'$"
+  "B=:40/201978\77=>B at AHFGIGHCAB#!\"\14\12\13""756][\\hfgLJKVTUSQRGCDWS"
+  "T`\\]XTULHIKGHOKLRNO]YZgcdkghOKLWSTKGHWST_[\\\202SOP\203TPQ\203UQR\12"
+  "SOPRNOQMNRNOUQRWSTVRSUQRRNOUQR\202WST\2UQRSOP\202RNO\210SOP\3RNOLHIO"
+  "KL\202YUV\6PLMNJKUQRPLMMIJQMN\202YUV\2QMNOKL\211SOP\1NJK\202WST%OKLV"
+  "RSc_`]YZJFG[WX`\\]mijnjkb^_\\XYPLM:67\13\7\10""623mij}yz|xy:67401[WX"
+  "LHIHDE956&\"#\37\33\34""1-.PLMhdeZVWSOPNJK\77;<[WXUQRZVWYUV\206TPQ\202"
+  "UQR\4SOPRNOPLMQMN\202SOP\1RNO\202PLM\7SOPVRSWSTUQRTPQSOPTPQ\210SOP\3"
+  "VRSOKLPLM\202XTU\4NJKLHISOPVRS\202RNO\5VRSXTUUQRTPQUQR\210SOPCRNOYUV"
+  "WSTNJKOKLRNOEAB0*,F;AMDG_`[RZ]CQkj~\260g|\313p\207\344y\222\357h\202"
+  "\337l\205\337q\212\344\200\231\365\223\256\377\213\247\373\215\255\377"
+  "\203\247\373\205\255\377\201\256\377x\246\374n\240\367i\237\367i\241"
+  "\370e\241\371^\236\365U\227\353L\217\340F\211\327I\215\330O\223\334E"
+  "\211\320/u\272.w\273\40j\253\33b\242\"l\255%s\273!o\267!g\254*c\2328"
+  "Yz\207\230\252{\202\214(+0*/5.250,)<73;76><=IGHMKLHFGFDEA\77 at 756\13\11"
+  "\12""423fde\202nlm\23""4230./PNOIEFFBC845%!\"\35\31\32/+,OKLhdeZVWSO"
+  "PNJK\77;<[WXUQRZVWYUV\206TPQ\202UQR\4SOPRNOPLMQMN\202SOP\1RNO\202PLM"
+  "\7SOPVRSWSTUQRTPQSOPTPQ\210SOP\3VRSOKLPLM\202XTU\4NJKLHISOPVRS\202RN"
+  "O\5VRSXTUUQRTPQUQR\210SOP\36RNOYUVWSTNJKOKLRNOEAB/+,<89FBCRNOFBC2./7"
+  "34GCDHDEd`a\217\213\214\240\234\235\221\215\216\234\230\231VRS1-.EAB"
+  "RNO[WXb^_^Z[RNOFBC\202B>\77\10;78\25\21\22\5\1\2\34\30\31iefplm^Z[B>"
+  "\77\203UQR\203TPQ\202SOP\12TPQRNOPLMQMNRNOSOPQMNOKLRNOTPQ\202VRS\1TP"
+  "Q\202SOP\1UQR\210SOP\20TPQQMNRNOXTU[WX\\XY_[\\eabVRSZVWYUVSOPPLMTPQX"
+  "TUYUV\210SOP\1RNO\202UQR\202RNOSOKLD at A935SHNNEH[\\WLTWKYsfx\252k~\313"
+  "w\214\347z\221\356x\220\352{\223\353\202\234\361\206\240\367\222\254"
+  "\377\210\245\365\206\247\364\210\257\376\177\252\371z\251\371z\252\376"
+  "t\250\374h\240\367a\235\365`\240\370Z\234\363U\231\356K\222\344F\215"
+  "\333K\223\335L\224\334>\207\314+v\271&u\270\35l\256\34j\252#t\266%{\304"
+  "$z\303&v\2733t\252Fl\220:Od8 at K\35\40'%*0+,051.1,(*&%.,-423.,-#!\"&$%"
+  "0./1/0JHInlm\200~\177wuv\212\210\211RPQ312B at AMIJXTU`\\]]YZPLMEABA=>C"
+  "\77@;78\25\21\22\5\1\2\34\30\31iefplm^Z[B>\77\203UQR\203TPQ\202SOP\12"
+  "TPQRNOPLMQMNRNOSOPQMNOKLRNOTPQ\202VRS\1TPQ\202SOP\1UQR\210SOP\20TPQQ"
+  "MNRNOXTU[WX\\XY_[\\eabVRSZVWYUVSOPPLMTPQXTUYUV\210SOP\1RNO\202UQR\202"
+  "RNO$OKLD at A845`\\]YUVLHI/+,\23\17\20\27\23\24\"\36\37\35\31\32<89fbc{"
+  "wx^Z[c_`SOPnjk\225\221\222\210\204\205\203\177\200xtujfgZVWQMNRNOWST"
+  "+'()%&B>\77ZVW~z{c_`_[\\hdeWST\202VRS\3UQRTPQSOP\202RNO\10SOPRNOQMNR"
+  "NOTPQVRSUQRSOP\203XTU\4UQRQMNPLMQMN\211SOP\2NJKUQR\202[WX\14ZVWXTUQM"
+  "NIEF401PLMa]^XTUMIJRNOXTUUQR\211SOPXOKLQMNWSTYUVUQRTPQYSU`W\\XRTZ[VN"
+  "VYO[sbr\243iy\306u\206\340v\212\343\204\232\360\204\232\355\215\246\370"
+  "\201\233\357\203\236\357\203\240\354\201\246\355|\246\360q\241\355l\235"
+  "\354o\242\365p\246\374i\242\371X\230\360M\220\351T\232\362O\227\354C"
+  "\216\341>\213\331C\221\333C\221\3319\210\3130\201\303\40u\270\37t\267"
+  "\"w\270&}\302\"\202\314!\201\313(\177\3047~\266;g\214#9P%/;\24\30!)."
+  "4./37303.*843312-+,\36\34\35\20\16\17\23\21\22\33\31\32\32\30\31""75"
+  "6VTUljkTRSWUVGEFb`a\201\177\200\202~\177~z{uqrgcdWSTOKLQMNXTU+'()%&B"
+  ">\77ZVW~z{c_`_[\\hdeWST\202VRS\3UQRTPQSOP\202RNO\10SOPRNOQMNRNOTPQVR"
+  "SUQRSOP\203XTU\4UQRQMNPLMQMN\211SOP\2NJKUQR\202[WX\14ZVWXTUQMNIEF401"
+  "PLMa]^XTUMIJRNOXTUUQR\211SOP\34OKLQMNWSTYUVUQRTPQXTUOKLMIJVRSd`axtu\221"
+  "\215\216\217\213\214rno\203\177\200\200|}tpq845$\40!3/0rno\214\210\211"
+  "sopokljfgeab]YZ\202VRS\22YUV]YZ_[\\~z{\221\215\216\233\227\230`\\]LH"
+  "IVRSXTUWSTVRSUQRSOPRNOQMNPLMSOP\202QMN\2SOPWST\202YUV\11XTU]YZ\\XYYU"
+  "VUQROKLMIJNJKPLM\210SOP\20PLM_[\\fbc]YZMIJ:67\35\31\32\3\0\0\7\3\4>:"
+  ";fbca]^QMNRNOTPQMIJ\210SOP\3[WXQMNOKL\202VRS\\NJKSOPa]^c]ad`a^`[V^`N"
+  "Zpcq\240iw\300u\205\332\200\222\346\211\233\355x\216\332\206\235\351"
+  "\177\231\346\200\235\351\177\240\345t\233\340`\214\325k\234\350o\242"
+  "\361g\236\360e\237\363h\246\375^\237\371J\221\351C\215\346A\216\346;"
+  "\211\3348\211\332>\220\334;\215\3262\205\313-\201\307\35u\274\40{\301"
+  "(\204\307+\211\317%\213\325\"\210\322(\205\3126\201\272>l\220\207\240"
+  "\266\230\242\256\77CL49\77""4592.+1,(-)(,*+534@>\77MKL^\\]a_`USTgef["
+  "YZZXY-+,\32\30\31*()ljk\202\200\201kghieffbca]^ZVWTPQUQRZVW]YZ_[\\~z"
+  "{\221\215\216\233\227\230`\\]LHIVRSXTUWSTVRSUQRSOPRNOQMNPLMSOP\202QM"
+  "N\2SOPWST\202YUV\11XTU]YZ\\XYYUVUQROKLMIJNJKPLM\210SOP\20PLM_[\\fbc]"
+  "YZMIJ:67\35\31\32\3\0\0\7\3\4>:;fbca]^QMNRNOTPQMIJ\210SOP\3[WXQMNOKL"
+  "\202VRS\14NJKSOPa]^TPQSOPRNOTPQXTU_[\\fbcjfgplm\202rnoDYUVA=>[WXwstl"
+  "hi_[\\\\XYZVWWSTQMNNJKWSTc_`\\XY_[\\sop\177{|mij]YZYUVUQR\\XYSOPLHIK"
+  "GHHDEFBCMIJYUVGCDUQR^Z[YUVUQRWSTXTUVRSTPQXTUYUVa]^hdeZVWLHIRNOZVWOKL"
+  "SOPYUVRNOPLMRNOMIJ_[\\QMN_[\\D at ARNO\3\0\0\31\25\26UQRyuv\236\232\233"
+  "\216\212\213UQREABYUV_[\\\202SOP\202RNO\202QMN\202RNO\2SOPTPQ\203UQR"
+  "\203TPQBUQRXRV\\XYUXQKTSITh[h\222\\i\255\203\220\337\202\222\340\206"
+  "\230\344\203\227\336z\221\327{\225\337\201\237\347z\235\337h\221\323"
+  "t\243\353d\230\344[\223\340a\232\353e\241\367_\241\367W\235\365Q\233"
+  "\364I\226\360E\227\355C\225\353>\223\3448\217\3362\212\324+\203\313$"
+  "\177\306\31u\276'\205\315)\207\315#\210\316&\222\333(\222\334'\210\314"
+  "8\205\275Hv\232Uk\202QYf\37\")\36!(()-)%\",'#.*)-+,0./312756><=ECDIG"
+  "HOMNVTUWUVCAB645MKLhfgjhiZVW\203VRS;PLMJFGSOPb^_\\XY_[\\tpq\200|}okl"
+  "^Z[ZVWVRS\\XYSOPLHIKGHHDEFBCMIJYUVGCDUQR^Z[YUVUQRWSTXTUVRSTPQXTUYUVa"
+  "]^hdeZVWLHIRNOZVWOKLSOPYUVRNOPLMRNOMIJ_[\\QMN_[\\D at ARNO\3\0\0\31\25\26"
+  "UQRyuv\236\232\233\216\212\213UQREABYUV_[\\\202SOP\202RNO\202QMN\202"
+  "RNO\2SOPTPQ\203UQR\203TPQ\1UQR\202SOP\202RNO\15SOPTPQUQRVRSXTU^Z[]YZ"
+  "HDE;78VRS{wx\211\205\206]YZ\202YUV\32\\XYZVWUQRWST]YZhdec_`oklxtujfg"
+  "]YZXTUPLMVRSPLMOKLUQRWSTSOPQMNTPQYUVWSTPLMKGHOKL\202WST\15PLMHDE]YZ^"
+  "Z[OKLHDEFBCIEFUQRXTUSOPZVW[WX\202NJK\23]YZd`aJFGd`a]YZ@<=!\35\36($%g"
+  "cd~z{\240\234\235\206\202\203b^_RNOSOPNJKIEFNJKVRS\202UQR\202TPQ\202"
+  "UQRfVRS[WXWSTRNOOKLPLMRNOTPQUPTVOVTPQNOIDJHBK\\OY}lv\263|\206\316~\212"
+  "\322\201\220\325|\217\321v\215\320w\222\327|\233\336u\230\330e\221\320"
+  "m\237\346]\225\340U\216\333T\221\341T\225\347P\224\351K\225\354K\230"
+  "\360G\231\357B\230\355\77\225\3529\222\3444\217\336.\212\327)\205\320"
+  "$\201\316\"\202\3171\223\336/\224\334\"\212\321\31\211\323\32\211\321"
+  "'\210\314\77\214\302My\234I^s7=I!\40&$$,$%)!\40\34(%\40*)'+)*.,-0./3"
+  "12645:89=;<\77=>IGHKIJ<:;534IGHcabmklWSTSOPUQR[WXXTUQMNTPQ]YZgcdc_`o"
+  "klyuvkgh_[\\YUVQMNVRSPLMOKLUQRWSTSOPQMNTPQYUVWSTPLMKGHOKL\202WST\15P"
+  "LMHDE]YZ^Z[OKLHDEFBCIEFUQRXTUSOPZVW[WX\202NJK\23]YZd`aJFGd`a]YZ@<=!\35"
+  "\36($%gcd~z{\240\234\235\206\202\203b^_RNOSOPNJKIEFNJKVRS\202UQR\202"
+  "TPQ\202UQR\13VRS[WXWSTRNOOKLPLMRNOTPQUQRRNOSOP\202TPQ\26RNOPLMMIJKGH"
+  "QMN[WXXTUPLMQMNPLMSOP^Z[ZVWUQRWST]YZ[WXRNOMIJOKLoklb^_\202a]^\10UQRP"
+  "LMQMNKGHIEFFBCHDEQMN\202XTU\202VRS\1SOP\202TPQ%UQRZVW^Z[ZVWSOP[WXYUV"
+  "\\XY^Z[@<=\17\13\14\27\23\24NJKiefOKLEABLHIRNOXTUVRSIEFPLM`\\]VRSeab"
+  "\16\12\13&\"#zvw\264\260\261\224\220\221b^_B>\77PLM[WXOKLIEFVRS\202S"
+  "OP\1RNO\202QMN\1RNO\202SOPA^Z[VRSMIJKGHPLMWSTZVW[VZ\\U\\TNRLLDBGC at FR"
+  "CLkv}\263q{\271w\202\300u\203\300r\205\300p\210\304q\215\316p\222\322"
+  "k\221\320a\216\317e\231\342Z\224\336U\220\334S\222\341O\222\341H\221"
+  "\340E\223\345E\227\351<\222\3457\222\3433\216\337/\214\334*\211\331'"
+  "\207\324%\205\322!\202\321\33~\317#\210\330\"\210\322\32\205\315\35\217"
+  "\330&\225\3340\222\323C\214\277Hq\221BSe&&0#\36$\"!'\40!%\40\37\33$#"
+  "\37&%#)'(,*+.,-/-.1/0312423:89\202B at A\16<:;><=ECDLJKTRSRNONJKQMNZVWY"
+  "UVOKLJFGOKLokl\203b^_\1VRS\202QMN\5KGHIEFFBCHDEQMN\202XTU\202VRS\1SO"
+  "P\202TPQ%UQRZVW^Z[ZVWSOP[WXYUV\\XY^Z[@<=\17\13\14\27\23\24NJKiefOKLE"
+  "ABLHIRNOXTUVRSIEFPLM`\\]VRSeab\16\12\13&\"#zvw\264\260\261\224\220\221"
+  "b^_B>\77PLM[WXOKLIEFVRS\202SOP\1RNO\202QMN\1RNO\202SOP\10^Z[VRSMIJKG"
+  "HPLMWSTZVW[WX\202SOP\204UQR\4SOPRNOXTUMIJ\202401\5QMN[WX_[\\wstfbc\202"
+  "_[\\\17d`a^Z[PLMMIJTPQ]YZZVWd`agcdZVWVRSZVWVRSWSTTPQ\202RNO\25TPQUQR"
+  "XTU[WXNJKWST`\\]a]^^Z[]YZa]^eabUQRJFGMIJYUVC\77@\34\30\31""845\206\202"
+  "\203lhi\202^Z[\27`\\]XTUWSTZVWVRSoklIEF623WST/+,JFG^Z[\225\221\222jf"
+  "gVRSNJKSOPTPQUQRYUVXTUTPQSOP\204RNO'SOPTPQXTUPLMIEFKGHUQR_[\\b^_b\\`"
+  "bX`UOSKKCGJCDHQEKecj\230ho\246oz\260jz\256i}\260j\203\273j\210\306f\211"
+  "\311b\212\310\\\214\314W\215\325S\217\330T\224\336V\232\345S\233\345"
+  "K\227\342A\223\337<\223\3409\223\3414\221\336/\217\334+\214\331+\214"
+  "\333\202)\215\3333'\214\334\"\210\334$\212\336\37\206\323\30\204\315"
+  "\35\217\330*\231\3363\223\320;\203\263;`{BN\\#\40'%\34!\31\27\34\35\35"
+  "\37##!#\"\36$#!'%&*(),*+/-.1/0423534<:;756)'(*()><=KIJVTUfde\\XYWSTZ"
+  "VW`\\][WXMIJKGHSOP\\XYZVWd`agcd[WXWST[WXVRSWSTTPQ\202RNO\25TPQUQRXTU"
+  "[WXNJKWST`\\]a]^^Z[]YZa]^eabUQRJFGMIJYUVC\77@\34\30\31""845\206\202\203"
+  "lhi\202^Z[\27`\\]XTUWSTZVWVRSoklIEF623WST/+,JFG^Z[\225\221\222jfgVRS"
+  "NJKSOPTPQUQRYUVXTUTPQSOP\204RNO\13SOPTPQXTUPLMIEFKGHUQR_[\\b^_a]^TPQ"
+  "\202SOP\12RNOSOPTPQVRSWSTLHIKGH@<=JFGb^_\202`\\]\31yuv`\\]VRSSOPTPQK"
+  "GH@<=FBCWSTVRSa]^tpqvrsd`aa]^lhinjkjfglhijfgc_`[WXXTUZVW\\XY\202`\\]"
+  "\3_[\\[WXVRS\202QMN\16TPQXTUgcdVRS3/0*&'\77;<fbc\212\206\207{wx_[\\R"
+  "NOWST[WX\202b^_\21VRSKGHNJKSOP\37\33\34($%c_`PLMnjkokla]^]YZWSTLHISO"
+  "PZVWMIJ\202YUV\1XTU\202WST\1XTU\202YUV at PLMKGHHDEMIJWST^Z[]YZZTXVLUNE"
+  "JFC:IJBJNQMReFKq_e\225hs\240es\240cx\245e\177\260d\204\277^\204\303Z"
+  "\206\303Y\212\314J\203\310H\207\316L\217\326T\232\340V\241\345N\236\343"
+  "B\227\3326\222\3252\217\324-\216\323&\213\321$\212\324$\212\325%\212"
+  "\330$\213\330$\212\334\"\212\341'\217\346'\221\337\37\213\324\33\215"
+  "\326+\230\333;\230\323I\214\2676Vm8 at K\35\27\33&\34\35\32\25\31\33\33"
+  "\35\"\"\40\40!\34$#!%#$'%&)'(,*+/-.423645\202534\7""201;9:LJKOMNSQRc"
+  "abUQR\202NJK\25PLMHDE=9:EABVRSUQR`\\]tpqvrsd`ab^_lhinjkjfglhijfgc_`["
+  "WXXTUZVW\\XY\202`\\]\3_[\\[WXVRS\202QMN\16TPQXTUgcdVRS3/0*&'\77;<fbc"
+  "\212\206\207{wx_[\\RNOWST[WX\202b^_\21VRSKGHNJKSOP\37\33\34($%c_`PLM"
+  "njkokla]^]YZWSTLHISOPZVWMIJ\202YUV\1XTU\202WST\1XTU\202YUVZPLMKGHHDE"
+  "MIJWST^Z[]YZYUVUQRSOPQMNOKLNJKOKLPLMQMNIEF_[\\tpq|xynjkLHI>:;JFGd`aR"
+  "NOGCDHDED at A\77;<MIJeabwstqmniefQMN845B>\77a]^qmnNJKWST^Z[_[\\^Z[`\\]"
+  "_[\\]YZa]^ZVWWSTZVWVRSC\77@)%&\30\24\25;78HDE<89+'(401FBCSOP]YZ\204\200"
+  "\201fbcSOPMIJHDENJKVRSSOPA=>RNOYUV\5\1\2*&'`\\]RNOa]^\216\212\213^Z["
+  "OKLWSTPLMRNOZVWPLMWSTVRS\204UQR\3VRSWSTMIJ\202KGH\1OKL\202TPQ\177OKL"
+  "KEIG=FE<AD at 7LLBRTSWZi<AaX]\205^g\216]k\222^q\231^y\246\\|\265X\200\276"
+  "V\204\302U\210\311L\207\313G\207\316H\213\317M\227\330S\241\341P\244"
+  "\342G\240\334=\232\327/\217\314*\216\314$\213\315\"\213\317\"\212\323"
+  "\40\212\324\37\211\325\36\211\333\34\205\340!\213\343)\222\343)\225\340"
+  "(\232\3417\243\344=\230\317=|\2457Sh%(1\24\12\13&\30\30!\34\40\31\31"
+  "\33\32\34\31\35\37\34!!!$\"#%#$'%&)'(,*+0./3121/0\77=>QOP][\\VTUA\77"
+  "@978A\77 at YUVKGHC\77 at D@A@<==9:LHId`avrsplmhdeQMN845B>\77a]^plmNJKWST^"
+  "Z[_[\\^Z[`\\]_[\\]YZa]^ZVWWSTZVWVRSC\77@)%&\30\24\25;78HDE<89+'(401F"
+  "BCSOP]YZ\204\200\201fbcSOPMIJHDENJKVRSSOPA=>RNOYUV\5\1\2*&'`\\]RNOa]"
+  "^\216\212\213^Z[OKLWSTPLM\5RNOZVWPLMWSTVRS\204UQR\3VRSWSTMIJ\202KGH\1"
+  "OKL\202TPQ\2OKLJFG\204UQR\4TPQSOPQMNPLM\202]YZ\37d`a\\XYC\77@;78MIJ\\"
+  "XYyuv[WXEABGCDKGHJFGWSTlhisopa]^LHI1-.\40\34\35""3/0RNO\\XY/+,512;78"
+  "C\77 at RNO`\\]a]^YUVPLM\202NJK\5MIJ@<=+'(\34\30\31\30\24\25\202\26\22\23"
+  "\40\36\32\33>:;`\\]a]^ZVWb^_XTU_[\\iefUQR)%&\36\32\33\77;<]YZYUV956\34"
+  "\30\31\36\32\33\\XYuqrwst]YZ\221\215\216VRSHDEWSTPLMSOP^Z[TPQPLMOKL\204"
+  "NJK\3OKLPLMMIJ\202NJK^PLMQMNOKLJFGHBFD8DF;AJC;QOCVVTUXaGKfFJmOXyQ`\201"
+  "Sg\214Rm\230Or\250Px\266N~\276L\201\303L\211\314D\207\313B\207\310D\216"
+  "\313J\231\324L\241\330H\242\327@\237\3255\230\3171\230\322/\231\325-"
+  "\231\331.\231\335-\231\341,\230\343+\226\350.\227\362+\224\357-\226\351"
+  ",\230\343+\234\3424\236\334+\205\271\32X}-FZ\30\27\35\33\15\15\"\22\22"
+  "!\33\35\30\30\32\26\32\31\33\40\34\40\40\40#!\"&$%(&'*()-+,0./201;9:"
+  "><=HFGIGH:890./:89HFGoklUQRB>\77C\77 at GCDIEFWSTjfgqmn`\\]KGH1-.\40\34"
+  "\35""3/0RNO\\XY/+,512;78C\77 at RNO`\\]a]^YUVPLM\202NJK\5MIJ@<=+'(\34\30"
+  "\31\30\24\25\202\26\22\23\40\36\32\33>:;`\\]a]^ZVWb^_XTU_[\\iefUQR)%"
+  "&\36\32\33\77;<]YZYUV956\34\30\31\36\32\33\\XYuqrwst]YZ\221\215\216V"
+  "RSHDEWSTPLMSOP^Z[TPQPLMOKL\204NJK\3OKLPLMMIJ\202NJK\10PLMQMNOKLJFGGC"
+  "DUQRXTU\\XY\202_[\\\17]YZZVWWSTgcdQMNLHIEAB3/0;78MIJHDEjfgA=>\"\36\37"
+  "$\40!\202-)*.512C\77@:67845@<=FBCJFGXTU[WXKGH:67401-)*1-.FBC[WX\\XYP"
+  "LMNJKMIJD at A+'(\17\13\14\14\10\11""1-.[WXd`ahdeYUVQMNfbcrno`\\]KGH2./"
+  "\23\17\20\7\3\4\24\20\21#\37\40-)*%!\"\17\13\14\30\24\25-)**&'`\\]\202"
+  "_[\\\12\251\245\246\225\221\222\201}~]YZ[WX]YZHDENJK[WXGCD\202OKL\204"
+  "NJK\202OKL|NJKOKLQMNRNOQMNPLMOKLPJNF<EI at EPIAQOCSRNMLRUVj15NCJdGUpJ_~"
+  "Gc\212Gh\233Iq\254Hy\264E{\271A\201\276<\200\2758\200\2727\204\274;\214"
+  "\303\77\224\312<\227\3147\226\3140\225\313-\226\317+\227\325+\233\333"
+  "-\234\341-\235\345,\235\351)\234\355.\241\374,\235\371/\232\354(\220"
+  "\327$\210\3062\214\3008\177\2511`|!3A\25\24\31&\34\33\33\17\17\31\23"
+  "\25\30\30\30\34\36\33\35\37\34\36\36\36#!\"(&',*+/-.1/0312423B at A6455"
+  "34201&$%)'(<:;FDE`\\]<89\40\34\35!\35\36*&'-)*512B>\77""845734\77;<F"
+  "BCJFGXTU[WXKGH:67401-)*1-.FBC[WX\\XYPLMNJKMIJD at A+'(\17\13\14\14\10\11"
+  "1-.[WXd`ahdeYUVQMNfbcrno`\\]KGH2./\23\17\20\7\3\4\24\20\21#\37\40-)*"
+  "%!\"\17\13\14\30\24\25-)**&'`\\]\202_[\\\12\251\245\246\225\221\222\201"
+  "}~]YZ[WX]YZHDENJK[WXGCD\202OKL\204NJK\202OKL\6NJKOKLQMNRNOQMNPLM\202"
+  "OKL\26D at Ac_`iefVRSPLMVRSa]^okl[WXHDEEAB.*+$\40!956C\77 at JFGLHI1-.\3\0"
+  "\0\32\26\27@<=\77;<\202OKL\32=9:LHIUQR^Z[gcd`\\]^Z[lhi_[\\QMNc_`MIJE"
+  "ABZVWKGHIEF2./\"\36\37\12\6\7\7\3\4""0,-eabtpqd`anjkjfg\202kgh\1]YZ\202"
+  "JFG\202WST\37OKLC\77 at D@AXTUkghjfg]YZZVWYUV`\\]^Z[eab\214\210\211\226"
+  "\222\223oklb^_^Z[WSTPLMMIJOKLTPQXTUOKLRNONJKPLMWSTNJKGCDPLM\202YUVhX"
+  "TUZVW^Z[_[\\VRSLHIB<>NHHTOKQLHRMJYUVVSZLLX8>N\77J^9Jf=Wz at c\215Bl\236"
+  ";i\235 at w\255>\200\2624~\2552~\2579\207\270=\217\3019\216\304-\210\277"
+  "$\203\275\31}\271\37\211\307(\230\332+\235\343(\236\346*\244\355-\250"
+  "\365#\244\365\36\243\376(\251\377\33\214\3306\226\323A\216\274N\206\247"
+  "Bf~5KY\17\26\36\26\26\30\31\27\30\34\30\31\27\25\26\26\25\23\33\32\26"
+  "!\40\34\26\25\23(&'-+,&$%$\"#*()645A\77 at 8673120./\35\33\34\30\26\27-"
+  "+,867<:;C\77 at .*+\3\0\0\32\26\27;78845KGHPLM<89KGHUQR^Z[fbc`\\]^Z[lhi"
+  "_[\\QMNc_`MIJEABZVWKGHIEF2./\"\36\37\12\6\7\7\3\4""0,-eabtpqd`anjkjf"
+  "g\202kgh\1]YZ\202JFG\202WST\37OKLC\77 at D@AXTUkghjfg]YZZVWYUV`\\]^Z[ea"
+  "b\214\210\211\226\222\223oklb^_^Z[WSTPLMMIJOKLTPQXTUOKLRNONJKPLMWSTN"
+  "JKGCDPLM\202YUV\13XTUZVW^Z[_[\\VRSLHIc_`YUVJFGEABD at A\2026232LHIEAB;7"
+  "80,-\27\23\24+'(^Z[njkxtu\237\233\234\211\205\206SOPXTUuqrsopplmZVWt"
+  "pqsopiefhdernotpqyuv\211\205\206vrslhiokld`aOKL956'#$401.*+/+,EABeab"
+  "jfg_[\\hde\202~\177zvw\201}~\212\206\207\204\200\201hdeNJKRNOgcdhde\203"
+  "jfg\7qmnuqrlhi_[\\njkgcdfbc\202`\\]\25yuv~z{_[\\[WXZVWYUVXTUUQRPLMKG"
+  "HGCD[WXc_`]YZWST\\XY[WXYUV`\\]TPQQMN\202MIJLSOPYUV[WXYUVXTSWSRTNNOJG"
+  "RJHRLLLFHA\77DACO6\77P0 at Y,Ec>^\2043Z\2055_\2177k\2320o\2321x\242:\203"
+  "\260=\211\2727\207\272,\201\270$~\272!\177\277+\216\322\26~\305\22~\307"
+  "%\225\3373\247\362.\244\356#\233\347\35\233\350\24\232\357\33\232\353"
+  "6\241\345@\223\307M\205\250!DZ\40""0=\16\23\31\17\20\24\14\14\16\14\15"
+  "\17\25\26\30\35\37\36\40\40\36\37\34\27\33\30\23$#!\40\36\37\33\31\32"
+  "\34\32\33\37\35\36\33\31\32\35\33\34(&'&$%%#$\40\36\37\22\20\21#!\"J"
+  "HI\\Z[cab\216\212\213{wxHDERNOrnosopoklZVW\202rno\37hdegcdrnotpqyuv\211"
+  "\205\206vrslhiokld`aOKL956'#$401.*+/+,EABeabjfg_[\\hde\202~\177zvw\201"
+  "}~\212\206\207\204\200\201hdeNJKRNOgcdhde\203jfg\7qmnuqrlhi_[\\njkgc"
+  "dfbc\202`\\]\25yuv~z{_[\\[WXZVWYUVXTUUQRPLMKGHGCD[WXc_`]YZWST\\XY[WX"
+  "YUV`\\]TPQQMN\202MIJ\10SOPYUV[WXYUV956JFG=9:\35\31\32\202\17\13\14G\23"
+  "\17\20\33\27\30\6\2\3""1-.MIJEABfbc\222\216\217\225\221\222\242\236\237"
+  "njkkghD at A<89UQRfbcnjk`\\]njkplmlhisop\201}~}yzsopwstTPQ]YZHDEIEFUQRH"
+  "DEGCDPLMQMNPLMVRSd`asop\201}~\222\216\217\237\233\234\243\237\240\211"
+  "\205\206vrs{wx\203\177\200}yznjkd`a\202~\177\210\204\205\211\205\206"
+  "\200|}uqrief\\XYRNOlhid`afbcjfgmijyuvzvwfbc`\\][WXVRSSOPTPQ\202VRSQU"
+  "QRA=>B>\77OKLlhivrsYUVJFG\\XYWSTRNOMIJKGHLHIOKLQMNSOP[YZUQPRLLWQQ\\T"
+  "RTNNJDF@>CPPZEL\\)8M+@['Df4W\177-T\1775a\216-b\2144o\231>|\253>\201\265"
+  "0{\264\"s\262\35t\271\37{\304!\203\316\"\207\325!\206\324!\210\325%\214"
+  "\327'\216\331*\222\3331\234\344,\234\3467\242\346E\236\326M\220\273&"
+  "Rm\10\"1\4\16\27\4\5\11\12\10\13\5\3\6\2\2\4\10\11\13\17\20\22\16\20"
+  "\17\7\10\3\1\0\0\22\21\17\34\32\33\31\27\30\14\12\13\10\6\7\11\7\10\14"
+  "\12\13\21\17\20\10\6\7!\37\40""1/0201NLMsqr}{|\205\203\204\202`\\];="
+  "9:845SOPeablhi]YZmijoklkghrno\200|}|xysopwstTPQ]YZHDEIEFUQRHDEGCDPLM"
+  "QMNPLMVRSd`asop\201}~\222\216\217\237\233\234\243\237\240\211\205\206"
+  "vrs{wx\203\177\200}yznjkd`a\202~\177\210\204\205\211\205\206\200|}uq"
+  "rief\\XYRNOlhid`afbcjfgmijyuvzvwfbc`\\][WXVRSSOPTPQ\202VRS\23UQRA=>B"
+  ">\77OKLlhivrsYUVJFG\\XYWSTRNOMIJKGHLHIOKLQMNSOPZVW<89\202\17\13\14IO"
+  "KL\213\207\210\226\222\223\215\211\212mijiefTPQOKL\214\210\211\247\243"
+  "\244uqr_[\\QMNJFG401A=>xtu\242\236\237\253\247\250\243\237\240\240\234"
+  "\235\242\236\237\235\231\232\233\227\230\230\224\225}yz_[\\WSTa]^\203"
+  "\177\200PLM956SOPa]^tpqplmd`aeablhi\200|}\227\223\224\236\232\233\212"
+  "\206\207sop\\XYYUV[WXfbcrno\177{|\223\217\220\244\240\241\207\203\204"
+  "\206\202\203\201}~uqrhde_[\\ZVWXTUc_`[WX_[\\mijwstyuvsopjfg\\XYWSTQM"
+  "NOKLPLM\202QMN\12PLMhde]YZKGHIEFMIJC\77 at D@AWSTTPQ\202QMN\202TPQ9PLMN"
+  "JKOKLTRSPNOYUVjddrjhg_]\\VV[VZjiqX\\hKVh!1J-Dc#@b6V|+R{2e\2202l\2326"
+  "t\2474w\256+s\256\"p\262\40t\274\"z\304\33x\305&\206\323)\210\330'\210"
+  "\327/\217\3341\221\335+\213\325)\210\3148\225\322=\220\304H\213\266."
+  "a\200\22""1E\14\32##'*\37\35\36#\37\40\37\35\36\34\34\36\26\32\35\22"
+  "\26\27\15\21\22\17\21\16\22\22\20\40\36\37\26\24\25\3\1\2\4\2\3#!\"B"
+  "@A\202MKL\10A\77 at B@A<:;\77=>ecdywxa_`SQR\202IEF;845C\77 at rno\231\225\226"
+  "\246\242\243\242\236\237\236\232\233\241\235\236\234\230\231\232\226"
+  "\227\227\223\224}yz^Z[WSTa]^\203\177\200PLM956SOPa]^tpqplmd`aeablhi\200"
+  "|}\227\223\224\236\232\233\212\206\207sop\\XYYUV[WXfbcrno\177{|\223\217"
+  "\220\244\240\241\207\203\204\206\202\203\201}~uqrhde_[\\ZVWXTUc_`[WX"
+  "_[\\mijwstyuvsopjfg\\XYWSTQMNOKLPLM\202QMN\12PLMhde]YZKGHIEFMIJC\77@"
+  "D at AWSTTPQ\202QMN\202TPQ=PLMNJKOKLWST512;78\202~\177\270\264\265\235\231"
+  "\232sopqmnsop\207\203\204\215\211\212\200|}\206\202\203njkEABXTU%!\""
+  "\31\25\26\35\31\32GCD\214\210\211\250\244\245\213\207\210sopZVW]YZYU"
+  "V[WXd`a`\\]]YZhderno\216\212\213WSTFBCkgh\177{|\226\222\223\223\217\220"
+  "\206\202\203{wx\214\210\211\253\247\250\236\232\233kghRNO\\XYc_`b^_`"
+  "\\]ZVWSOPPLMXTUd`anjkief\202d`a\3gcdkghplm\202tpq\11eabYUV^Z[gcdb^_W"
+  "STVRSkghlhi\202mij\15jfgc_`[WXVRSGCDhdemij^Z[b^_d`aMIJ3/0SOP\202NJK\1"
+  "VRS\202\\XY\37^Z[b^_[Y\\[YZeabrlltljkcalcdsmonkrggqQWeCN`*:S+@[,Ec,O"
+  "u-e\226*m\244/t\255/u\260)p\256#n\257&u\270*}\303-\201\312'\177\311%"
+  "\177\313,\210\3250\215\333\202*\212\327\33""8\217\324H\216\277L\204\247"
+  "6b}4Sg\10\31#)-0'#\"'\"\37&\40\40&\"#\"#%\35!$\27\33\36\25\31\32\33\37"
+  "\36%'&\37\37\37\22\20\21\27\25\26;9:USTKIJ><=CABFDETRS\202^\\].ecdYW"
+  "X@>\77ECD\35\31\32\26\22\23\34\30\31D at A\204\200\201\236\232\233\206\202"
+  "\203tpqYUV\\XYXTUZVWc_`_[\\]YZhderno\216\212\213WSTFBCkgh\177{|\226\222"
+  "\223\223\217\220\206\202\203{wx\214\210\211\253\247\250\236\232\233k"
+  "ghRNO\\XYc_`b^_`\\]ZVWSOPPLMXTUd`anjkief\202d`a\3gcdkghplm\202tpq\11"
+  "eabYUV^Z[gcdb^_WSTVRSkghlhi\202mij\15jfgc_`[WXVRSGCDhdemij^Z[b^_d`aM"
+  "IJ3/0SOP\202NJK\1VRS\202\\XY\32^Z[b^_734B>\77ZVWxtuuqrPLMOKLuqrSOPXT"
+  "UeabhdelhiNJK\40\34\35*&'\21\15\16""1-.gcd\206\202\203\230\224\225\206"
+  "\202\203WSTOKL\202b^_\37XTUSOPUQRMIJIEFUQRMIJ401\24\20\21A=>\216\212"
+  "\213\243\237\240\231\225\226\217\213\214\214\210\211\202~\177{wxrno]"
+  "YZIEFOKLb^_OKLIEFHDEQMN^Z[b^_ZVWPLMXTU\202RNO\11[WXgcdmijplmsop\206\202"
+  "\203qmnRNOJFG\202XTU\17NJKRNOc_`a]^[WXTPQNJKPLMWST^Z[d`a_[\\VRSSOPMI"
+  "J\202956QSOPjfgZVWOKLSOPZVW]YZb^_hfgdbebbda_`_[\\WQQVNL_VWjdfc^bKJP["
+  "^gJP^OZl'6K;Kd5Rp&Z\202(h\2266u\2506y\256+r\252#n\250'r\263.}\277,|\301"
+  "+~\304/\202\310-\200\306({\2770\203\3056\207\3115|\264Ew\232*Mc-GV\21"
+  "\37(\40$'\26\22\21%\35\32\33\21\17\26\21\16\24\20\21\20\21\23\21\25\30"
+  "\22\27\32\22\30\30\26\32\31\33\35\34\21\21\21\27\25\26#!\"312534)'(."
+  ",-ECD534:89GEFMKLNLM978\37\35\36#!\"\20\14\15,()]YZ}yz\222\216\217\203"
+  "\177\200TPQJFG\202a]^\37WSTRNOTPQMIJIEFUQRMIJ401\24\20\21A=>\216\212"
+  "\213\243\237\240\231\225\226\217\213\214\214\210\211\202~\177{wxrno]"
+  "YZIEFOKLb^_OKLIEFHDEQMN^Z[b^_ZVWPLMXTU\202RNO\11[WXgcdmijplmsop\206\202"
+  "\203qmnRNOJFG\202XTU\17NJKRNOc_`a]^[WXTPQNJKPLMWST^Z[d`a_[\\VRSSOPMI"
+  "J\202956USOPjfgZVWOKLSOPZVW]YZb^_jfgwst\210\204\205\203\177\200sopok"
+  "ld`aKGH;78UQRVRS[WX734\21\15\16\10\4\5\27\23\24B>\77-)*lhi\261\255\256"
+  "\243\237\240\201}~hdeMIJ_[\\JFGOKLPLMYUVfbc_[\\RNOTPQOKL+'(3/0eab\225"
+  "\221\222\223\217\220hdeXTUVRSa]^\\XYJFGMIJ^Z[\\XYIEFLHI]YZiefb^_QMNH"
+  "DEMIJWSTTPQMIJKGHSOPYUVZVW]YZb^_uqrgcdFBCA=>^Z[fbc[WX\\XYqmnplmhdeYU"
+  "V\202LHI\17WSTc_`^Z[SOPTPQ\\XYA=>\12\6\7\14\10\11B>\77|xyd`aRNOUQR[W"
+  "X\202ZVW9][\\[Y\\\\\\^XVWOKLJDDMGGVNLYPQXRTJEIQPVUU_NR^;BR=FW4EW,Oe."
+  "\\t9j\212<t\2312r\236'n\242$q\251&v\263!r\261&v\2633\177\2714{\2615w"
+  "\247H\205\2618o\230\5""2S\27""3H\14\34)\11\23\34\5\11\14\17\13\12\37"
+  "\25\23\32\21\14\36\24\22\34\27\24\26\24\25\24\25\27\26\32\35\31\35\36"
+  "\32\36\37\35\37\36\36\40\35***5344230./312201)'(\"\40!\202645B978'%&"
+  "\17\15\16\7\5\6\23\21\22""0./-)*fbc\245\241\242\231\225\226}yzgcdJFG"
+  "XTUIEFNJKOKLYUVfbc_[\\RNOTPQOKL+'(3/0eab\225\221\222\223\217\220hdeX"
+  "TUVRSa]^\\XYJFGMIJ^Z[\\XYIEFLHI]YZiefb^_QMNHDEMIJWSTTPQMIJKGHSOPYUVZ"
+  "VW]YZb^_uqrgcdFBCA=>^Z[fbc[WX\\XYqmnplmhdeYUV\202LHI\17WSTc_`^Z[SOPT"
+  "PQ\\XYA=>\12\6\7\14\10\11B>\77|xyd`aRNOUQR[WX\202ZVW\30_[\\plmnjk]YZ"
+  "QMNRNOOKLQMN_[\\XTUKGHQMND at AHDEokl\210\204\205\231\225\226WST\200|}\237"
+  "\233\234mijOKLVRSHDE\202WST\31UQRNJKUQRd`a[WXHDEEABief{wx\271\265\266"
+  "\266\262\263\216\212\213rnoOKLUQRRNOLHIMIJVRSYUVUQRRNOTPQYUVRNO\202J"
+  "FG\1SOP\202\\XYTVRSSOPKGHGCDKGHMIJOKLYUVeabXTUTPQ<89\77;<fbcqmn^Z[WS"
+  "TD at APLMWSTKGH1-.\26\22\23\7\3\4\3\0\0-)*RNOPLM&\"#\20\14\15$\40!SOP~"
+  "z{tpq]YZPLMYUVc_`_[\\YUVWUVMKNUUWXVYRPQWQQ_YY`XVVNL_YYSMO\\W[A\77DHG"
+  "O99C<>J\31!,:NW5Q\\8Yh=fz at o\213:p\2221l\224,i\2258w\2435r\236E|\243@"
+  "r\225)Ur0Vm.Qe\21+:\25#,\40%+!\"&\27\23\24\30\20\16*\40\36\30\16\14\25"
+  "\15\12\26\22\21\24\22\23\23\24\26\202\22\26\27\7\24\26\25\32\34\31\""
+  "\"\40$\"#(&''%&%#$\202(&'\21,*+534867201756312756RPQpno\212\210\211K"
+  "GHuqr\224\220\221d`aIEFRNOFBC\202VRS\31TPQMIJTPQc_`[WXHDEEABief{wx\271"
+  "\265\266\266\262\263\216\212\213rnoOKLUQRRNOLHIMIJVRSYUVUQRRNOTPQYUV"
+  "RNO\202JFG\1SOP\202\\XY'VRSSOPKGHGCDKGHMIJOKLYUVeabXTUTPQ<89\77;<fbc"
+  "qmn^Z[WSTD at APLMWSTKGH1-.\26\22\23\7\3\4\3\0\0-)*RNOPLM&\"#\20\14\15$"
+  "\40!SOP~z{tpq]YZPLMYUVc_`_[\\\202YUV\210SOP\15TPQRNOVRSeabwst\200|}|"
+  "xytpq{wx\203\177\200uqrVRSLHI\202XTU\23HDETPQWSTMIJTPQeabUQRC\77 at PLM"
+  "`\\]]YZa]^]YZTPQZVW^Z[SOPWSTSOP\202OKL\10RNOSOPQMNOKLQMNRNOSOPTPQ\202"
+  "UQR\202TPQ\4[WXZVWXTUVRS\202UQR|WSTYUVNJKIEF\3\0\0MIJvrsWST\200|}UQR"
+  "[WX401\22\16\17\21\15\16$\40!734FBCQMN:671-.$\40!.*+PLMgcdvrs\210\204"
+  "\205\202~\177\\XYSOPeabfbcYUVSOPNLMKILUUW`^a`^__YY]WW^VT]USQIGOFGGAA"
+  "NHJOJN.,1\30\26\33#&+GSS=MMEWY`syg{\202J`k9O\\AXf=Tb9P^2HU)=H\37""1;"
+  "\27(0\22#+\23\40&\32\37#\35\36\"\36\34\37\36\32\33\35\27\27\34\24\22"
+  "\30\23\20\26\22\21\24\22\23\24\24\26\23\24\26\24\25\27\26\30\27\30\30"
+  "\26\33\32\26\34\33\27\36\35\33\40\36\37\"\40!%#$'%&+)*.,-1/0423645=;"
+  "<JHIXVWa_`cabb`ajfgwstoklTPQLHIXTUWSTGCDRNOUQRLHISOPeabUQRC\77 at QMN`\\"
+  "]]YZa]^]YZTPQZVW^Z[SOPWSTSOP\202OKL\10RNOSOPQMNOKLQMNRNOSOPTPQ\202UQ"
+  "R\202TPQ\4[WXZVWXTUVRS\202UQR\"WSTYUVNJKIEF\3\0\0MIJvrsWST\200|}UQR["
+  "WX401\22\16\17\21\15\16$\40!734FBCQMN:671-.$\40!.*+PLMgcdvrs\210\204"
+  "\205\202~\177\\XYSOPeabfbcYUVSOPPLM\211SOP!PLMNJKPLMTPQVRSTPQPLMVRS_"
+  "[\\[WXMIJLHIXTUZVWPLMUQRYUVMIJIEFLHI:67/+,A=>_[\\VRSZVW^Z[YUV\\XY_[\\"
+  "VRS\\XYYUV\202UQR\6VRSUQRRNOOKLWSTXTU\202YUV\5WSTTPQPLMMIJHDE\202FBC"
+  "\20IEFOKLRNOSOPRNO\11\5\6%!\"845gcdmijTPQeabhde^Z[[WXYUV\202ZVW\32\\"
+  "XYfbcrnowstnjkZVWSOP^Z[b^_hdextu}yzc_`_[\\jfggcda]^eabgcd[Y\\ZZ\\[Y\\"
+  "[WXUQROIIOFG\202QIG\37SKILCDI at A>88\"\34\36\33\25\27""40/\77@;;>7AC at R"
+  "TQOST489$(++/2'*/&).%&*!\"$\36\36\36\33\33\31\31\30\26\27\27\25\33\33"
+  "\33\32\32\34\32\30\33\31\27\30\31\25\26\30\24\25\25\23\24\24\22\23\203"
+  "\25\25\27/\26\26\26\30\30\26\33\32\26\36\33\26\37\33\30\37\36\34!\37"
+  "\40#!\"&$%(&'+)*/-.1/0312423867=;<CABGEFIGHJHILHIWSTVRSIEFHDETPQWSTM"
+  "IJSOPWSTLHIIEFLHI:67/+,A=>_[\\VRSZVW^Z[YUV\\XY_[\\VRS\\XYYUV\202UQR\6"
+  "VRSUQRRNOOKLWSTXTU\202YUV\5WSTTPQPLMMIJHDE\202FBC\20IEFOKLRNOSOPRNO\11"
+  "\5\6%!\"845gcdmijTPQeabhde^Z[[WXYUV\202ZVW\23\\XYfbcrnowstnjkZVWSOP^"
+  "Z[b^_hdextu}yzc_`_[\\jfggcda]^eabgcd\210SOP\17\\XYZVWWSTSOPRNOSOPWST"
+  "ZVWLHIQMNSOPQMNRNOUQRTPQ\202PLM\36WSTRNOLHIJFGA=>EAB[WXhdeSOPQMNXTUS"
+  "OPMIJKGHD at AGCDHDEJFGOKLTPQVRSUQRTPQSOPUQRXTUYUVXTUVRSSOP\202QMN\31WS"
+  "T`\\]fbc`\\]MIJ2./\37\33\34\22\16\17!\35\36`\\]oklqmnplmRNO`\\]a]^pl"
+  "m{wxxtumijeab`\\]]YZ\\XY_[\\\202ZVW\6b^_a]^d`atpqokld`a\202fbc(WSTSO"
+  "PXTUWSTZX[PNQLHIKGHGCDC\77>JDDVPPOIIMGGD<::201)'!\30\31*!\"KA\77bUMd"
+  "UN`UQ\\TRLJO33;$&2(,8\40$0!#/%\"+'!%)\35\35)\32\25)\30\20%\30\20\34\30"
+  "\27\27\30\32\27\27\31\25\24\31\202\24\25\31\202\24\25\27\33\25\26\30"
+  "\26\26\30\27\27\27\31\30\26\32\31\27\36\32\27\37\34\27\40\34\31\40\37"
+  "\35\"\40!%#$'%&)'(,*+0./201867:89<:;=;<\77=>B at AGEFJHIGCDLHINJK\202LH"
+  "I\2PLMQMN\202NJK\36UQRQMNLHIJFGB>\77EAB[WXhdeSOPQMNXTUSOPMIJKGHD at AGC"
+  "DHDEJFGOKLTPQVRSUQRTPQSOPUQRXTUYUVXTUVRSSOP\202QMN\31WST`\\]fbc`\\]M"
+  "IJ2./\37\33\34\22\16\17!\35\36`\\]oklqmnplmRNO`\\]a]^plm{wxxtumijeab"
+  "`\\]]YZ\\XY_[\\\202ZVW\6b^_a]^d`atpqokld`a\202fbc\4WSTSOPXTUWST\211S"
+  "OP\21QMNOKLNJKPLMTPQXTU[WXUQRSOPTPQXTUWSTRNOOKLQMNMIJSOP\202VRS\25WS"
+  "T[WXgcdwstplmSOPKGHUQRPLMFBCD at AA=>\77;<B>\77GCDNJKSOPVRSWSTVRSTPQ\202"
+  "SOP\202RNO\1QMN\202PLM\16HDEEABB>\77D at ANJK^Z[qmn}yz\242\236\237\223\217"
+  "\220\257\253\254\231\225\226\225\221\222\234\230\231\202lhi\24UQR]YZ"
+  "b^_eabplmzvwrnoa]^VRS`\\]d`aiefokld`aZVWa]^c_`d`akghgcd\202YUV\10]YZ"
+  "TPQIDHKFJTPQVRS>:;\30\24\25\202\3\0\0\35\23\15\15\25\17\17\26\20\20%"
+  "\35\33""5-+=53LDBe[Y|nm}onocc[RWJEL97B/.<.0=*)9((4'$/(!()\35\37(\32\31"
+  "(\26\22#\25\22\36\32\31\31\32\34\27\30\32\24\30\33\23\26\33\202\24\30"
+  "\33\34\25\31\32\26\27\31\27\27\27\31\30\26\32\31\27\35\31\26\37\33\30"
+  "\40\34\31\37\36\32!\37\40#!\"&$%(&'*()-+,0./312756867:89<:;\77=>CABH"
+  "FGKIJOKLMIJOKL\202RNO\202NJK\32RNOLHIRNOUQRVRSXTU[WXgcdxtuplmSOPKGHU"
+  "QRPLMFBCD at AA=>\77;<B>\77GCDNJKSOPVRSWSTVRSTPQ\202SOP\202RNO\1QMN\202"
+  "PLM\16HDEEABB>\77D at ANJK^Z[qmn}yz\242\236\237\223\217\220\257\253\254"
+  "\231\225\226\225\221\222\234\230\231\202lhi\24UQR]YZb^_eabplmzvwrnoa"
+  "]^VRS`\\]d`aiefokld`aZVWa]^c_`d`akghgcd\202YUV\2]YZTPQ\210SOP\20VRSR"
+  "NONJKOKLRNOSOPPLMLHIQMNLHIMIJSOPUQRQMNSOPYUV\202QMN\32TPQVRSWST_[\\f"
+  "bceabgcdLHIHDEVRSUQRRNOVRSXTUUQRWSTYUVZVWYUVWSTTPQSOPXTUUQROKLJFG\202"
+  "HDE\4IEFKGHOKLXTU\202a]^\2XTUOKL\202LHI\21\\XYeabvrslhikgh~z{\206\202"
+  "\203\226\222\223\257\253\254\251\245\246\231\225\226\213\207\210\211"
+  "\205\206\210\204\205vrs_[\\`\\]\202fbc)kghsopgcdXTU[WXKGHIEFNJKMIJIE"
+  "FUQR^Z[TPQc_`TPQ@<=0,-$\40!*&'KGHkij`\\]^Z[]YZa[[c]][UUTOLTPQkkskmy["
+  "[gAAM53 at 30;/,7-*3.(4)&/%\"-#\40)\202\40\37'\20\36\35%\34\35\"\35\35\37"
+  "\33\35\34\31\32\34\26\32\33\25\31\34\24\31\34\26\32\35\26\32\33\27\31"
+  "\30\30\30\26\32\31\27\35\31\26\35\34\32\36\35\33\202\40\36\37\10#!\""
+  "$\"#'%&)'(+)*.,-1/0312\202:89\3;9:><=B at A\203ECD$IEFEABHDEOKLRNOOKLRN"
+  "OZVWQMNPLMTPQVRSXTU`\\]fbceabgcdLHIHDEVRSUQRRNOVRSXTUUQRWSTYUVZVWYUV"
+  "WSTTPQSOPXTUUQROKLJFG\202HDE\4IEFKGHOKLXTU\202a]^\2XTUOKL\202LHI\21\\"
+  "XYeabvrslhikgh~z{\206\202\203\226\222\223\257\253\254\251\245\246\231"
+  "\225\226\213\207\210\211\205\206\210\204\205vrs_[\\`\\]\202fbc\15kgh"
+  "sopgcdXTU[WXKGHIEFNJKMIJIEFUQR^Z[TPQ\210SOP\4XTUUQRSOPVRS\202[WX\21V"
+  "RSPLMUQRQMNOKLQMNRNOQMNTPQYUVTPQNJKQMNTPQSOP^Z[a]^\202PLM\3A=>EABRNO"
+  "\202QMN\202XTU\6YUV[WX\\XY[WXWSTTPQ\202RNO\10MIJKGHHDEGCDIEFMIJSOPWS"
+  "T\202VRS\20RNOJFGFBCMIJ^Z[lhiVRSc_`a]^ZVWOKLMIJ]YZc_`^Z[d`a\202hdeQi"
+  "efnjkplmnjk]YZ_[\\ZVW_[\\jfggcdc_`lhiTPQGCD\77;<8452./<89EAB=9:;57<6"
+  "8935/+,($%*();9<JHKLJMMKLPNOWST[WXb\\\\hbbigjX\\e\\doQU`8;D219529506"
+  "3-14.2/*.)',%$*\"%,!%.\36%-\34#)\35\37\36\35\35\33\33\35\34\27\33\34"
+  "\26\32\33\25\33\33\26\32\33\30\32\31\32\32\30\33\32\26\36\32\27\37\33"
+  "\30\36\35\33\37\37\37\40\40\"!!#%#$&$%)'(+)*-+,/-.201534;9:<:;><=CAB"
+  "GEF\202IGH\2HFGNJK\202LHI\14OKLPLMOKLRNOXTUTPQNJKRNOUQRTPQ_[\\a]^\202"
+  "PLM\3A=>EABRNO\202QMN\202XTU\6YUV[WX\\XY[WXWSTTPQ\202RNO\10MIJKGHHDE"
+  "GCDIEFMIJSOPWST\202VRS\20RNOJFGFBCMIJ^Z[lhiVRSc_`a]^ZVWOKLMIJ]YZc_`^"
+  "Z[d`a\202hde\24iefnjkplmnjk]YZ_[\\ZVW_[\\jfggcdc_`lhiTPQGCD\77;<8452"
+  "./<89EAB=9:\210SOP\5JFGKGHMIJPLMQMN\202RNO\1QMN\202YUV\3WSTSOPQMN\202"
+  "SOP(QMNTPQLHISOPTPQOKL^Z[c_`LHI401623GCDSOPOKLRNOWSTRNOUQRWSTYUVWSTS"
+  "OPPLMQMNTPQGCDHDEJFGNJKRNOWST\\XY^Z[GCDMIJWST`\\]c_`a]^[WX\202VRS\5N"
+  "JKMIJOKLSOPUQR\202PLM\13TPQYUV`\\]c_``\\]\\XYb^_lhiuqrzvwuqr\202qmn&"
+  "fbc`\\]lhiwstgcda]^[WXLHIGCDFBC\77;</))4..4.01-.A<@[Y\\nlqqpuedi``bZ"
+  "Z\\TRSPNOWSR]YXZYWCDFSTVPRQ>>>875;768304/,50,0-()(#\202%&!\7\"$!\35\""
+  "\36\32\37\33\37\36\31!\36\31\35\36\31\33\35\32\202\30\34\33\33\31\33"
+  "\32\31\33\30\34\35\30\36\35\30\40\35\30!\35\32!\37\40!!#\40#(#$(&&()"
+  "'(+)*-+,/-.1/0423756534867<:;@>\77CABECDGEFIGHSOP\202UQR,QMNOKLPLMQM"
+  "NPLMTPQMIJTPQUQRPLM^Z[c_`LHI401623GCDSOPOKLRNOWSTRNOUQRWSTYUVWSTSOPP"
+  "LMQMNTPQGCDHDEJFGNJKRNOWST\\XY^Z[GCDMIJWST`\\]c_`a]^[WX\202VRS\5NJKM"
+  "IJOKLSOPUQR\202PLM\13TPQYUV`\\]c_``\\]\\XYb^_lhiuqrzvwuqr\202qmn\13f"
+  "bc`\\]lhiwstgcda]^[WXLHIGCDFBC\77;<\210SOP\15UQRYUV[WXXTUQMNOKLRNOWS"
+  "TKGHRNOSOPNJKOKL\202UQR,OKLVRSOKLUQRRNOEABRNOZVWB>\77\36\32\33/+,MIJ"
+  "]YZ\\XYd`alhid`afbcgcdd`a^Z[UQRPLMOKLQMNVRSXTUYUVZVWYUVVRSSOPQMNa]^X"
+  "TUPLMQMNYUV^Z[[WXUQRa]^NJK\\XY\202TPQ\15ZVWIEF[WXWSTMIJKGHTPQXTUVRS["
+  "WXeaba]^qmn\202wst,sopb^_[WXhdejfgc_`njkwsthdeZVWTPQMIJE\77\77OIIPJL"
+  "OKLa\\`usvqorZZ\\dbg]]_ZX[VTWRPQPNOIED653431KLGSRNED@=<8=9685030+41*"
+  "1.',,$++#*+%()#\"%\36\36!\32\202\"\37\32\32\40\37\33\36\36\34\35\37\36"
+  "\34\36\35\33\35\32\34\34\32\37\36\32\40\37\33\"\36\33!\40\34#!\"##%$"
+  "%)%&*((*+)*-+,/-.1/0312645867=;<A\77 at ECDFDE\202DBC5HFGLJKEABMIJOKLKG"
+  "HLHISOPUQRQMNWSTOKLVRSSOPFBCSOPZVWA=>\36\32\33/+,MIJ]YZ\\XYd`alhid`a"
+  "fbcgcdd`a^Z[UQRPLMOKLQMNVRSXTUYUVZVWYUVVRSSOPQMNa]^XTUPLMQMNYUV^Z[[W"
+  "XUQRa]^NJK\\XY\202TPQ\15ZVWIEF[WXWSTMIJKGHTPQXTUVRS[WXeaba]^qmn\202w"
+  "st\14sopb^_[WXhdejfgc_`njkwsthdeZVWTPQMIJ\230SOP\36TPQQMNPLMTPQVRSMI"
+  "J:67*&'734^Z[\177{|\200|}sopmijjfgfbc^Z[[WXVRSSOPTPQWST\\XY_[\\\\XY["
+  "WXYUVWSTVRSUQR\204TPQ\2VRSYUV\202\\XY\2ZVWWST\210SOP\202RNO\202QMN\15"
+  "RNOTPQWSTXTU`\\]c_`b^_eabfbcWSTRNOd`a_[\\\203fbc\1hde\202_[\\\13plmd"
+  "`a]YZZVW_[\\ieftpq\177{|\205\203\204\224\217\223\216\214\215\202\214"
+  "\210\211\24\207\203\204tpqWST\77=>OMN]][YYWCCA::8<;998654243121/..,,"
+  ",***())'''%%%#\202$#!\3#\"\40\"\40!!!!\202\40\40\40\1!\37\40\203\"!\37"
+  "\26#\"\40$\"#&$%&&('')*(),*+/-.1/0312534867:89=;<\77=>B at ADBCECDGEFHF"
+  "GJHINJK\202OKL\1PLM\202QMN\202RNO\1SOP\202PLM\33TPQVRSMIJ;78+'(734^Z"
+  "[\177{|\200|}sopmijjfgfbc^Z[[WXVRSSOPTPQWST\\XY_[\\\\XY[WXYUVWSTVRSU"
+  "QR\204TPQ\2VRSYUV\202\\XY\2ZVWWST\210SOP\202RNO\202QMN\15RNOTPQWSTXT"
+  "U`\\]c_`b^_eabfbcWSTRNOd`a_[\\\203fbc\1hde\202_[\\\1plm\230SOP\203QM"
+  "N\25SOPUQRXTUZVW[WXeabvrs}yzplmc_`a]^_[\\YUV\\XYYUVUQRPLMNJKOKLQMNRN"
+  "O\202TPQ\16UQRVRSWSTYUVZVW[WXUQRVRSXTU[WX\\XY[WXXTUVRS\210SOP\202RNO"
+  "\202QMN\12RNOTPQVRSXTUYUV_[\\YUVWSTa]^`\\]\202VRS\7hdenjkfbc_[\\a]^]"
+  "YZZVW\202c_`\11hdekghiefjfguqr\205\201\202\220\214\215\204\200\201|x"
+  "y\202uqr\10xtuyuvtpqnjkpnorrr```FFF\202<<<\15""999777555333000...,,,"
+  "+++)))''''%&&$%%#$\202$\"#\203#!\"\203$\"#\25%#$'%&(&')'(*(),*+.,-1/"
+  "0312534756:89<:;\77=>A\77 at CABECDFDEHFGJHIKIJ\203OKL\1PLM\202QMN\202R"
+  "NO\202PLM\26QMNSOPUQRXTUZVW[WXeabvrs}yzplmc_`a]^_[\\YUV\\XYYUVUQRPLM"
+  "NJKOKLQMNRNO\202TPQ\16UQRVRSWSTYUVZVW[WXUQRVRSXTU[WX\\XY[WXXTUVRS\210"
+  "SOP\202RNO\202QMN\12RNOTPQVRSXTUYUV_[\\YUVWSTa]^`\\]\202VRS\10hdenjk"
+  "fbc_[\\a]^]YZZVWc_`\230SOP\25QMNUQRWSTSOPOKLRNO]YZgcdjfgkghc_`VRSSOP"
+  "YUVXTUQMNYUVXTUUQRRNOQMN\203PLM\13SOPTPQUQRWSTYUVZVW\\XY]YZVRSXTU[WX"
+  "\202]YZ\3ZVWWSTTPQ\210SOP\204RNO\2SOPTPQ\202VRS\4QMNeabd`aXTU\202ZVW"
+  "\36SOPRNO\\XYkghhde`\\]gcdkghfbceabb^_c_`d`anjk\202~\177\222\216\217"
+  "\213\207\210yuviefa]^YUVVRS[WXd`alhiqmnomnighUSTA\77@\202=;<\15<:;=;"
+  "<8676453121/00.//-.-+,+)**())'((&'\203'%&\1&$%\204'%&\25(&'*()+)*,*+"
+  "-+,/-.1/0423645756978<:;><=@>\77B at AECDGEFHFGIGHKIJLJK\202OKL\202PLM\1"
+  "QMN\204RNO\24UQRWSTSOPOKLRNO]YZgcdjfgkghc_`VRSSOPYUVXTUQMNYUVXTUUQRR"
+  "NOQMN\203PLM\13SOPTPQUQRWSTYUVZVW\\XY]YZVRSXTU[WX\202]YZ\3ZVWWSTTPQ\210"
+  "SOP\204RNO\2SOPTPQ\202VRS\4QMNeabd`aXTU\202ZVW\12SOPRNO\\XYkghhde`\\"
+  "]gcdkghfbceab\230SOP\10OKLVRS[WXXTUQMNMIJPLMUQR\202RNO\6OKLLHIQMNXTU"
+  "VRSOKL\202VRS\4WSTYUVZVW[WX\202\\XY\1ZVW\202[WX\202ZVW\2YUVXTU\202WS"
+  "T\7ZVW]YZ^Z[\\XYXTUUQRTPQ\210SOP\204RNO\1SOP\202TPQ4UQRXTUa]^]YZ[WXb"
+  "^_^Z[RNOQMNJFGfbcmijgcdnjkuqrnjkiefjfgqmnwst\201}~\222\216\217\226\222"
+  "\223{wxXTUTPQRNOPLMMIJKGHMIJPLMRNOQOPNLMDBC><=A\77@@>\77=;<\77=>:898"
+  "676454233121/0/-..,--+,,*++)*\203*()\1)'(\204*()\25+)*-+,.,-/-.0./20"
+  "1312645867:89<:;><=@>\77B at ADBCFDEHFGIGHJHILJKMKL\203PLM\202QMN\203RN"
+  "O\10PLMVRS[WXXTUQMNMIJPLMUQR\202RNO\6OKLLHIQMNXTUVRSOKL\202VRS\4WSTY"
+  "UVZVW[WX\202\\XY\1ZVW\202[WX\202ZVW\2YUVXTU\202WST\7ZVW]YZ^Z[\\XYXTU"
+  "UQRTPQ\210SOP\204RNO\1SOP\202TPQ\21UQRXTUa]^]YZ[WXb^_^Z[RNOQMNJFGfbc"
+  "mijgcdnjkuqrnjkief\230SOP\3NJKRNOVRS\202YUV\23WSTUQRTPQPLMTPQUQRTPQU"
+  "QRVRSTPQPLMRNOTPQWSTZVW]YZ_[\\`\\]a]^\203^Z[\7]YZ[WXXTUUQRTPQWSTZVW\202"
+  "]YZ\2YUVUQR\202TPQ\210SOP\202RNO\206SOP\32gcdSOPC\77 at QMNeabYUVFBCHDE"
+  "NJKkghrnofbciefoklmijnjk\177{|\223\217\220\235\231\232\217\213\214yu"
+  "vhde[WXQMNOKLRNO\202UQR\6QMNMIJLHIKGHECDGEF\202FDE\14IGHCAB=;<><=<:;"
+  ":898676455344232011/0\202/-.\1.,-\202-+,\203,*+\203-+,\20.,-/-.1/020"
+  "1312423645867:89;9:=;<@>\77B at ACABECDGEF\202IGH\3JHILJKMKL\202PLM\203"
+  "QMN\203RNO\3OKLSOPWST\202YUV\23WSTTPQSOPPLMTPQUQRTPQUQRVRSTPQPLMRNOT"
+  "PQWSTZVW]YZ_[\\`\\]a]^\203^Z[\7]YZ[WXXTUUQRTPQWSTZVW\202]YZ\2YUVUQR\202"
+  "TPQ\210SOP\202RNO\206SOP\20gcdSOPC\77 at QMNeabYUVFBCHDENJKkghrnofbcief"
+  "oklmijnjk\230SOP\11XTUTPQPLMQMNTPQVRSUQRRNOTPQ\202VRS\13SOPQMNRNOVRS"
+  "YUVQMNRNOSOPUQRVRSWST\202XTU\2YUVZVW\203[WX\13YUVVRSUQRWSTZVW\\XYYUV"
+  "TPQRNOTPQWST\210SOP\2QMNRNO\204SOP\4RNOQMNfbcVRS\202HDE\21A=>($%)%&J"
+  "FG]YZplmoklfbclhiuqr}yz\210\204\205\215\211\212\213\207\210\200|}njk"
+  "ZVW\202OKL\6TPQQMNRNOTPQSOPQMN\202PLM\4QMNECDKIJJHI\202HFG\2CAB=;<\202"
+  "><=\7<:;:89867756645534312\202201\1""1/0\2020./\203/-.\2030./\20""1/"
+  "0201423534645756867;9:<:;><=\77=>B at ACABDBCFDEHFG\202JHI\3KIJMKLNLM\204"
+  "QMN\204RNO\11XTUTPQPLMQMNTPQVRSTPQRNOTPQ\202VRS\13SOPQMNRNOVRSYUVQMN"
+  "RNOSOPUQRVRSWST\202XTU\2YUVZVW\203[WX\13YUVVRSUQRWSTZVW\\XYYUVTPQRNO"
+  "TPQWST\210SOP\2QMNRNO\204SOP\4RNOQMNfbcVRS\202HDE\14A=>($%)%&JFG]YZp"
+  "lmoklfbclhiuqr}yz\210\204\205\230SOP\4[WXWSTQMNNJK\202OKL\3NJKMIJQMN"
+  "\204PLM\4QMNVRS\\XYSOP\204RNO\1SOP\202TPQ\3SOPUQRWST\202XTU\4VRSTPQR"
+  "NOVRS\202YUV\5UQROKLNJKTPQZVW\210SOP\3QMNRNOSOP\202TPQ\32SOPQMNPLMZV"
+  "WPLM<89.*+#\37\40\32\26\27""1-.]YZeabkghgcdjfgzvw\202~\177\205\201\202"
+  "\217\213\214\204\200\201gcdPLMOKLUQRSOPQMN\202SOP\4QMNOKLNJKMIJ\203N"
+  "JK\17GEFLJKIGHDBCFDEECDA\77@@>\77A\77@\77=>=;<;9::89978867\202645\2""5"
+  "34423\202312\203201\203312\4""423645756867\202978\6;9:=;<\77=>@>\77B"
+  "@ADBC\202FDE\3HFGJHIKIJ\202LJK\2NLMOMN\203QMN\205RNO\4[WXVRSQMNNJK\202"
+  "OKL\3NJKMIJQMN\204PLM\4QMNVRS\\XYSOP\204RNO\1SOP\202TPQ\3SOPUQRWST\202"
+  "XTU\4VRSTPQRNOVRS\202YUV\5UQROKLNJKTPQZVW\210SOP\3QMNRNOSOP\202TPQ\23"
+  "SOPQMNPLMZVWPLM<89.*+#\37\40\32\26\27""1-.]YZeabkghgcdjfgzvw\202~\177"
+  "\205\201\202\217\213\214\230SOP\3QMNRNOUQR\202VRS\4UQRTPQSOPWST\202T"
+  "PQ\202VRS\5SOPQMNRNOUQRTPQ\202SOP\24TPQVRSXTUZVWSOPTPQUQRVRSTPQQMNNJ"
+  "KLHIVRSXTUWSTRNOLHIMIJTPQ[WX\210SOP\3QMNRNOSOP\202TPQ*RNOQMNPLMVRS40"
+  "1\10\4\5\3\0\0*&'NJK`\\]okliefgcdb^_njk\202~\177~z{qmnrnoplm\\XYSOP["
+  "WXZVWMIJKGHVRSUQRSOPRNOSOPTPQSOPPLMMIJLJKQOPLJKECDIGHKIJFDE\202B at A\6"
+  "A\77@><==;<<:;;9::89\202867\2""756645\203534\1""423\204534\4""645867"
+  "978:89\202;9:\6=;<\77=>A\77 at B@ACABFDE\202GEF\7IGHKIJLJKMKLNLMOMNPNO\210"
+  "RNO\3PLMRNOTPQ\203VRS\3UQRTPQWST\202TPQ\202VRS\5SOPQMNRNOUQRTPQ\202S"
+  "OP\24TPQVRSXTUZVWSOPTPQUQRVRSTPQQMNNJKLHIVRSXTUWSTRNOLHIMIJTPQ[WX\210"
+  "SOP\3QMNRNOSOP\202TPQ\23RNOQMNPLMVRS401\10\4\5\3\0\0*&'NJK`\\]oklief"
+  "gcdb^_njk\202~\177~z{qmnrno\260SOP\20RNOSOPUQRTPQPLMNJKRNOYUVXTUVRSP"
+  "LMLHISOP`\\]b^_[WX\210SOP\204RNO\204QMN\7C\77 at B>\77""2./\\XYfbcc_`]Y"
+  "Z\202rno\14fbchdekgh\210\204\205rnomijplmd`aRNOPLMVRSTPQ\202VRS\1NJK"
+  "\204RNO\204QMN\16LJKKIJJHIIGHHFGGEFFDEECDCABB at AA\77@@>\77\77=>=;<\202"
+  "<:;\203:89\202978\203867\203978\5:89;9:<:;=;<><=\202@>\77\13A\77 at CAB"
+  "DBCECDFDEGEFJHIKIJLJKMKLNLM\203OMN\206RNO\232SOP\20RNOSOPUQRTPQPLMNJ"
+  "KRNOYUVXTUVRSPLMLHISOP`\\]b^_[WX\210SOP\204RNO\204QMN\7C\77 at B>\77""2"
+  "./\\XYfbcc_`]YZ\202rno\7fbchdekgh\210\204\205rnomijplm\260SOP\202WST"
+  "\202XTU\14UQRQMNPLMQMNUQRVRSTPQRNOXTUa]^_[\\WST\211SOP\204RNO\203QMN"
+  "\21b^_oklfbcyuvief^Z[YUVuqrb^__[\\gcdief\211\205\206yuvsopmij`\\]\202"
+  "QMN\1WST\202TPQ\2VRSOKL\203RNO\205QMN\1MKL\202LJK\2KIJIGH\202HFG\6GE"
+  "FECDDBCCABB at AA\77@\202\77=>\1><=\203<:;\203;9:\202:89\202;9:\202<:;\4"
+  "=;<><=\77=>@>\77\202B at A\13CABDBCFDEGEFHFGIGHJHIKIJLJKMKLNLM\203OMN\205"
+  "RNO\233SOP\202WST\202XTU\14UQRQMNPLMQMNUQRVRSTPQRNOXTUa]^_[\\WST\211"
+  "SOP\204RNO\203QMN\20b^_oklfbcyuvief^Z[YUVuqrb^__[\\gcdief\211\205\206"
+  "yuvsopmij\260SOP\20UQRWSTXTUWSTUQRRNOOKLNJKSOPVRSXTUYUV^Z[`\\][WXRNO"
+  "\212SOP\206RNO\30SOPeabb^_kgh[WXYUVMIJc_`gcdjfgnjkb^_~z{uqroklb^_ZVW"
+  "NJKRNOYUVSOPRNOUQRPLM\202RNO\207QMN\4PLMOKLNJKMIJ\202LHI\1KGH\202IEF"
+  "\4HDEGCDEABD at A\202C\77@\1@>\77\203\77=>\203><=\1=;<\204\77=>\13@>\77"
+  "A\77 at B@ACABDBCECDFDEGEFHFGIGHJHI\202KIJ\3LJKMKLNLM\204OMN\204RNO\234"
+  "SOP\20UQRWSTXTUWSTUQRRNOOKLNJKSOPVRSXTUYUV^Z[`\\][WXRNO\212SOP\206RN"
+  "O\20SOPeabb^_kgh[WXYUVMIJc_`gcdjfgnjkb^_~z{uqroklb^_\260SOP\4OKLVRSX"
+  "TUSOP\202MIJ\12QMNTPQUQRWSTYUV\\XY_[\\^Z[XTUQMN\215SOP\203RNO\6OKLWS"
+  "TRNO_[\\fbcwst\202VRS\20okltpqqmnZVWrnooklnjka]^VRSMIJSOPYUVRNOPLMTP"
+  "QQMN\203RNO\207QMN\1PLM\202OKL\1NJK\202MIJ\202KGH\6JFGIEFHDEGCDFBCEA"
+  "B\204B at A\203A\77@\1@>\77\204B at A\1CAB\202DBC\2ECDFDE\202GEF\2HFGJHI\202"
+  "KIJ\203LJK\2MKLNLM\204OMN\203RNO\235SOP\4OKLVRSXTUSOP\202MIJ\12QMNTP"
+  "QUQRWSTYUV\\XY_[\\^Z[XTUQMN\215SOP\203RNO\6OKLWSTRNO_[\\fbcwst\202VR"
+  "S\10okltpqqmnZVWrnooklnjka]^\260SOP\11RNO\\XY]YZPLMEABHDESOP[WXYUV\202"
+  "XTU\202[WX\3YUVVRSTPQ\220SOP\27[WXZVWWST^Z[hde|xyHDE\77;<c_`kghokl\\"
+  "XYsopmijrnolhiVRSMIJSOPYUVQMNPLMUQR\207RNO\204QMN\202PLM\1OKL\202NJK"
+  "\1MIJ\202LHI\3KGHJFGIEF\202HDE\1GCD\202ECD\202DBC\204CAB\204DBC\202E"
+  "CD\1FDE\202GEF\202HFG\3IGHJHIKIJ\202LJK\202MKL\1NLM\202OMN\203PNO\1R"
+  "NO\206SOP\1TPQ\230SOP\11RNO\\XY]YZPLMEABHDESOP[WXYUV\202XTU\202[WX\3"
+  "YUVVRSTPQ\220SOP\20[WXZVWWST^Z[hde|xyHDE\77;<c_`kghokl\\XYsopmijrnol"
+  "hi\260SOP\7ZVWa]^]YZMIJC\77 at JFGUQR\202ZVW\202VRS\202YUV\3UQRTPQWST\213"
+  "SOP\207TPQ\22\\XYWSTQMN^Z[*&'1-._[\\fbcrnogcdvrsa]^eabjfg\\XYOKLQMNW"
+  "ST\202QMN\2VRSRNO\205SOP\203RNO\203QMN\1PLM\202OKL\202NJK\202MIJ\1LH"
+  "I\202KGH\1JFG\202IEF\202GEF\203FDE\203ECD\205FDE\1GEF\202HFG\202IGH\202"
+  "JHI\1KIJ\202LJK\1MKL\202NLM\202OMN\204PNO\205SOP\203TPQ\230SOP\7ZVWa"
+  "]^]YZMIJC\77 at JFGUQR\202ZVW\202VRS\202YUV\3UQRTPQWST\213SOP\207TPQ\16"
+  "\\XYWSTQMN^Z[*&'1-._[\\fbcrnogcdvrsa]^eabjfg\260SOP\20WSTXTUPLMD at AFB"
+  "CTPQYUVTPQVRSSOPUQRZVWYUVSOPRNOVRS\212SOP\203TPQ\203UQR\30ZVWTPQ_[\\"
+  "XTULHIZVW,()D at AgcdeaboklgcdmijLHIXTUqmnc_`RNOPLMTPQQMNSOPWSTRNO\205T"
+  "PQ\203SOP\202RNO\202QMN\202PLM\202OKL\203NJK\1MIJ\202LHI\202KGH\203I"
+  "GH\202HFG\203GEF\205HFG\202IGH\203JHI\1KIJ\202LJK\202MKL\202NLM\202O"
+  "MN\205PNO\204SOP\204TPQ\230SOP\20WSTXTUPLMD at AFBCTPQYUVTPQVRSSOPUQRZV"
+  "WYUVSOPRNOVRS\212SOP\203TPQ\203UQR\20ZVWTPQ_[\\XTULHIZVW,()D at Agcdeab"
+  "oklgcdmijLHIXTUqmn\260SOP\20KGHIEF@<=;78JFG^Z[]YZOKLSOPPLMUQR\\XY[WX"
+  "RNOPLMTPQ\212SOP\203TPQ\203UQR\30d`aOKLRNOLHIGCDZVW)%&D at Aief\\XYa]^["
+  "WXa]^B>\77]YZ\212\206\207hdeTPQOKLSOPQMNTPQXTUQMN\203UQR\205TPQ\203R"
+  "NO\203QMN\202PLM\203OKL\1NJK\202MIJ\202LHI\204JHI\203IGH\1HFG\202JHI"
+  "\202IGH\202JHI\204KIJ\1LJK\202MKL\203NLM\202OMN\206PNO\204SOP\204TPQ"
+  "\230SOP\20KGHIEF@<=;78JFG^Z[]YZOKLSOPPLMUQR\\XY[WXRNOPLMTPQ\212SOP\203"
+  "TPQ\203UQR\20d`aOKLRNOLHIGCDZVW)%&D at Aief\\XYa]^[WXa]^B>\77]YZ\212\206"
+  "\207\232SOP\203RNO\202SOP\2TPQRNO\202SOP\1TPQ\202UQR\204VRS\1UQR\202"
+  "TPQ\1SOP\203RNO\22JFGA=>B>\77KGHVRS\\XY^Z[OKLYUVa]^^Z[TPQNJKRNOYUVUQ"
+  "RVRSTPQ\202QMN\5SOPRNOOKLRNOSOP\202TPQ\35MIJkghPLMhde^Z[PLMEABOKLXTU"
+  "D at A512\77;<iefjfgc_`hdeVRSrno{wx}yzeab[WXPLMNJKSOPWSTVRSSOPRNO\202QM"
+  "N\1TPQ\202XTU\12SOPNJKKGHUQRYUVTPQQMNTPQUQRQMN\205PLM\203OKL\210NJK\203"
+  "MIJ\205NJK\205PLM\203QMN\206RNO\214SOP\203RNO\202SOP\2TPQRNO\202SOP\1"
+  "TPQ\202UQR\204VRS\1UQR\202TPQ\1SOP\203RNO\22JFGA=>B>\77KGHVRS\\XY^Z["
+  "OKLYUVa]^^Z[TPQNJKRNOYUVUQRVRSTPQ\202QMN\5SOPRNOOKLRNOSOP\202TPQ\24M"
+  "IJkghPLMhde^Z[PLMEABOKLXTUD at A512\77;<iefjfgc_`hdeVRSrno{wx}yz\230SOP"
+  "\1TPQ\202SOP\1RNO\204QMN\1RNO\203SOP\210TPQ\204SOP\1YUV\202VRS\17YUV"
+  "^Z[]YZWSTQMNYUV[WX\\XYYUVTPQRNOVRSZVWKGHRNO\202XTU\202VRS/XTUYUVb^_F"
+  "BCHDETPQVRS^Z[IEF_[\\TPQSOPMIJLHIJFG734-)*956b^_gcdjfg\177{|wst\220\214"
+  "\215\212\206\207\177{|SOPOKLMIJPLMVRS[WXZVWXTUWSTUQRSOPRNOPLMLHIGCDC"
+  "\77 at SOPZVW[WXTPQPLM\202QMN\1MIJ\206PLM\202OKL\215NJK\203OKL\204PLM\204"
+  "QMN\205RNO\213SOP\1TPQ\202SOP\1RNO\204QMN\1RNO\203SOP\210TPQ\204SOP\1"
+  "YUV\202VRS\17YUV^Z[]YZWSTQMNYUV[WX\\XYYUVTPQRNOVRSZVWKGHRNO\202XTU\202"
+  "VRS\32XTUYUVb^_FBCHDETPQVRS^Z[IEF_[\\TPQSOPMIJLHIJFG734-)*956b^_gcdj"
+  "fg\177{|wst\220\214\215\212\206\207\177{|\230SOP\1TPQ\202SOP\202RNO\202"
+  "QMN\1PLM\202SOP\211RNO\204SOP\13TPQPLMQMNVRS]YZc_``\\]XTUPLMUQRTPQ\203"
+  "SOP\2RNOPLM\202NJK\12SOPWSTTPQNJKLHIRNOZVW<89PLMokl\202UQR\26jfgb^_C"
+  "\77@@<=ZVW\\XYA=>%!\"\35\31\32:67fbcjfglhiokl\211\205\206\202~\177\220"
+  "\214\215{wxd`aRNOSOPVRS\202WST\20VRSSOPQMNNJKOKLPLMOKLMIJKGHLHIMIJXT"
+  "U\\XY[WXTPQPLM\202QMN\1OKL\203QMN\205PLM\214OKL\206PLM\206QMN\204RNO"
+  "\214SOP\1TPQ\202SOP\202RNO\202QMN\1PLM\202SOP\211RNO\204SOP\13TPQPLM"
+  "QMNVRS]YZc_``\\]XTUPLMUQRTPQ\203SOP\2RNOPLM\202NJK\12SOPWSTTPQNJKLHI"
+  "RNOZVW<89PLMokl\202UQR\23jfgb^_C\77@@<=ZVW\\XYA=>%!\"\35\31\32:67fbc"
+  "jfglhiokl\211\205\206\202~\177\220\214\215{wxd`a\230SOP\1RNO\202SOP\204"
+  "TPQ\202SOP\203RNO\207QMN\2RNOSOP\203TPQ\32PLMOKLPLMSOPWSTXTUVRSTPQLH"
+  "IOKLSOPVRSUQRQMNLHIHDEXTUTPQQMNNJKKGHLHIVRS`\\]plmKGH\202[WX\6]YZ=9:"
+  "EABFBC\13\7\10\14\10\11\202\3\0\0\22$\40!EABPLMUQRsopplmmij\202~\177"
+  "sop|xyeabQMNVRSZVW]YZ[WXVRSQMN\202OKL\2KGHOKL\202QMN\14OKLPLMUQRZVWW"
+  "STXTUVRSSOPRNOSOPUQRVRS\205QMN\203PLM\210QMN\203PLM\212QMN\206RNO\215"
+  "SOP\1RNO\202SOP\204TPQ\202SOP\203RNO\207QMN\2RNOSOP\203TPQ\32PLMOKLP"
+  "LMSOPWSTXTUVRSTPQLHIOKLSOPVRSUQRQMNLHIHDEXTUTPQQMNNJKKGHLHIVRS`\\]pl"
+  "mKGH\202[WX\6]YZ=9:EABFBC\13\7\10\14\10\11\202\3\0\0\14$\40!EABPLMUQ"
+  "Rsopplmmij\202~\177sop|xyeabQMN\230SOP\4PLMRNOTPQVRS\204WST\204RNO\205"
+  "QMN\202RNO\202SOP\1TPQ\202UQRB_[\\[WXWSTTPQSOPQMNPLMNJKQMNVRSZVWYUVU"
+  "QRSOPTPQWST[WXRNOOKLUQR[WX]YZ_[\\d`aGCDVRS_[\\A=>RNOQMNEAB\10\4\5\26"
+  "\22\23\77;<XTU[WXc_`jfgoklxtukghlhimij\201}~njktpqeab\\XYQMNUQRWSTUQ"
+  "RQMNPLMTPQXTUTPQVRSXTUUQRQMNPLMSOPWSTXTUUQR\204SOP\2UQRVRS\203RNO\221"
+  "QMN\204RNO\202QMN\207RNO\206SOP\1TPQ\210SOP\4PLMRNOTPQVRS\204WST\204"
+  "RNO\205QMN\202RNO\202SOP\1TPQ\202UQR0_[\\[WXWSTTPQSOPQMNPLMNJKQMNVRS"
+  "ZVWYUVUQRSOPTPQWST[WXRNOOKLUQR[WX]YZ_[\\d`aGCDVRS_[\\A=>RNOQMNEAB\10"
+  "\4\5\26\22\23\77;<XTU[WXc_`jfgoklxtukghlhimij\201}~njktpqeab\\XY\230"
+  "SOP\4PLMQMNTPQVRS\203WST\1VRS\204RNO\204SOP\204TPQ\205UQR\7VRSXTUYUV"
+  "WSTSOPOKLLHI\202WST\7UQRPLMLHIPLM[WXd`a\\XY\202RNO\31^Z[c_`ZVWNJKJFG"
+  "ZVW\\XY[WXhde]YZ\30\24\25\16\12\13\"\36\37\\XYhdegcdhdextuzvwgcdYUVf"
+  "bckghrno\207\203\204\202njk\14`\\]\\XYUQRVRSUQRQMNLHIKGHPLMTPQQMNSOP"
+  "\202UQR\202TPQ\12VRSWST[WXUQRRNOTPQUQRQMNPLMQMN\205RNO\203QMN\210RNO"
+  "\202QMN\212RNO\211SOP\203TPQ\210SOP\4PLMQMNTPQVRS\203WST\1VRS\204RNO"
+  "\204SOP\204TPQ\205UQR\7VRSXTUYUVWSTSOPOKLLHI\202WST\7UQRPLMLHIPLM[WX"
+  "d`a\\XY\202RNO\31^Z[c_`ZVWNJKJFGZVW\\XY[WXhde]YZ\30\24\25\16\12\13\""
+  "\36\37\\XYhdegcdhdextuzvwgcdYUVfbckghrno\207\203\204\202njk\2`\\]\\X"
+  "Y\230SOP\3PLMRNOTPQ\202UQR\3TPQQMNPLM\202QMN\4RNOSOPTPQUQR\202VRS\1W"
+  "ST\204VRS\203UQR\3JFGNJKSOP\202WST\14TPQQMNOKLSOPQMNNJKMIJOKLTPQ[WX_"
+  "[\\YUV\202OKL\7YUVXTUJFG\77;<>:;\3\0\0$\40!\202\3\0\0#\12\6\7\25\21\22"
+  "@<={wxc_`qmnmij`\\]\\XY_[\\mij\205\201\202mijnjkqmn\204\200\201hdefb"
+  "cXTUVRS[WXZVWWSTSOPOKLNJKOKLQMNPLMQMNRNOVRSYUVZVWYUV\202WST\7QMNOKLU"
+  "QRWSTRNOOKLPLM\202SOP\216RNO\202QMN\210RNO\212SOP\204TPQ\210SOP\3PLM"
+  "RNOTPQ\202UQR\3TPQQMNPLM\202QMN\4RNOSOPTPQUQR\202VRS\1WST\204VRS\203"
+  "UQR\3JFGNJKSOP\202WST\14TPQQMNOKLSOPQMNNJKMIJOKLTPQ[WX_[\\YUV\202OKL"
+  "\7YUVXTUJFG\77;<>:;\3\0\0$\40!\202\3\0\0\24\12\6\7\25\21\22@<={wxc_`"
+  "qmnmij`\\]\\XY_[\\mij\205\201\202mijnjkqmn\204\200\201hdefbcXTUVRS\230"
+  "SOP\2QMNSOP\202TPQ\15RNOOKLLHIJFGPLMQMNRNOSOPUQRVRSWSTXTUYUV\202XTU\1"
+  "WST\202VRS\202UQR\203YUV\3VRSRNOPLM\203OKL\10NJKPLMWST`\\]b^_]YZVRSO"
+  "KL\202FBC#NJKOKLHDELHIXTU\210\204\205\211\205\206<89ZVWyuvfbcXTU\211"
+  "\205\206\236\232\233\214\210\211mij`\\]iefgcd_[\\a]^uqrnjkjfg|xyd`ag"
+  "cd_[\\a]^SOPTPQUQRWSTYUV\\XY\202^Z[\3_[\\\\XYZVW\202[WX\13XTUPLMJFGP"
+  "LMIEFJFGTPQYUVUQRRNOTPQ\203SOP\215RNO\202QMN\207RNO\206SOP\1TPQ\204S"
+  "OP\204TPQ\210SOP\2QMNSOP\202TPQ\15RNOOKLLHIJFGPLMQMNRNOSOPUQRVRSWSTX"
+  "TUYUV\202XTU\1WST\202VRS\202UQR\203YUV\3VRSRNOPLM\203OKL\10NJKPLMWST"
+  "`\\]b^_]YZVRSOKL\202FBC\35NJKOKLHDELHIXTU\210\204\205\211\205\206<89"
+  "ZVWyuvfbcXTU\211\205\206\236\232\233\214\210\211mij`\\]iefgcd_[\\a]^"
+  "uqrnjkjfg|xyd`agcd_[\\a]^\210RNO\13XTUSOPVRS]YZYUVOKLPLMYUVNJKSOPRNO"
+  "\202LHI\13TPQXTUUQRVRSTPQVRS\\XYYUVQMNPLMVRS\203QMN\202PLM\11RNOWSTZ"
+  "VWJFGSOPYUVUQRRNOUQR\202XTU3TPQQMNUQRZVWSOPFBCGCDSOP`\\]WSTQMNTPQ]YZ"
+  "b^_^Z[WSTc_`]YZSOPJFGIEFNJKOKLNJKZVWFBCSOP\214\210\211\271\265\266\266"
+  "\262\263\237\233\234\222\216\217qmnvrs\177{|\204\200\201\203\177\200"
+  "\220\214\215ZVW[WXxturnogcda]^d`aiefd`aZVWIEFYUVZVW\202UQR\16PLMNJKW"
+  "STUQRWST_[\\[WXOKLSOPYUVQMNXTUTPQSOP\202VRS\4TPQSOPTPQPLM\202TPQ\25Q"
+  "MNUQR[WXYUVQMNRNOTPQVRSUQRQMNNJKMIJNJKOKLRNOUQRSOPOKLNJKQMNUQR\210RN"
+  "O\13XTUSOPVRS]YZYUVOKLPLMYUVNJKSOPRNO\202LHI\13TPQXTUUQRVRSTPQVRS\\X"
+  "YYUVQMNPLMVRS\203QMN\202PLM\11RNOWSTZVWJFGSOPYUVUQRRNOUQR\202XTU0TPQ"
+  "QMNUQRZVWSOPFBCGCDSOP`\\]WSTQMNTPQ]YZb^_^Z[WSTc_`]YZSOPJFGIEFNJKOKLN"
+  "JKZVWFBCSOP\214\210\211\271\265\266\266\262\263\237\233\234\222\216\217"
+  "qmnvrs\177{|\204\200\201\203\177\200\220\214\215ZVW[WXxturnogcda]^d`"
+  "aiefd`aZVW\203SOP\202TPQ\203UQR#NJKOKLRNOWSTXTUVRSZVWa]^IEFTPQZVWWST"
+  "TPQUQRTPQQMNNJKMIJPLMVRSUQRPLMQMNWST`\\]^Z[[WXXTUVRSTPQSOPRNOZVWVRSR"
+  "NO\203QMN\24NJKLHIWSTYUVZVWVRSJFGC\77 at IEFTPQSOPUQRZVWa]^fbceab_[\\YU"
+  "V\\XYSOP\202MIJ(QMNRNOPLMNJK\\XYb^_sop\177{|plmUQRPLM]YZ[WX^Z[kgh\202"
+  "~\177\211\205\206\215\211\212OKLHDEd`ab^_\\XYYUVd`aplmhdeWSTeabMIJ\77"
+  ";<SOPfbcYUVUQRmijUQRVRS^Z[_[\\\202WST\"XTURNOQMNSOPWST[WX]YZYUVUQRRN"
+  "OWSTVRSRNOOKLUQR]YZ[WXRNOUQRSOPPLMOKLPLMTPQXTUZVWUQRTPQSOPRNOSOPWST["
+  "WX^Z[\203SOP\202TPQ\203UQR#NJKOKLRNOWSTXTUVRSZVWa]^IEFTPQZVWWSTTPQUQ"
+  "RTPQQMNNJKMIJPLMVRSUQRPLMQMNWST`\\]^Z[[WXXTUVRSTPQSOPRNOZVWVRSRNO\203"
+  "QMN\24NJKLHIWSTYUVZVWVRSJFGC\77 at IEFTPQSOPUQRZVWa]^fbceab_[\\YUV\\XYS"
+  "OP\202MIJ\34QMNRNOPLMNJK\\XYb^_sop\177{|plmUQRPLM]YZ[WX^Z[kgh\202~\177"
+  "\211\205\206\215\211\212OKLHDEd`ab^_\\XYYUVd`aplmhdeWST\210RNO\14QMN"
+  "UQRTPQNJKJFGMIJOKLNJKLHITPQZVWWST\202TPQ\14SOPQMNVRSTPQUQRWSTTPQNJKO"
+  "KLSOPYUVUQR\202RNO\12UQRWSTUQRRNO^Z[OKLHDERNO[WXYUV\202VRS\26OKLVRSW"
+  "STMIJEABIEFUQR]YZMIJSOP[WX^Z[[WXUQRPLMMIJVRSKGHIEFSOPXTUSOP\202NJK\20"
+  "QMNWST^Z[a]^ZVWRNOTPQ\\XYhde[WXQMNc_`hdenjkFBCOKL\202sop\31gcd]YZeab"
+  "sopjfgTPQNJK[WXUQRIEFJFGHDEEABJFGVRSSOPTPQVRSUQRRNOSOPUQRRNOTPQXTU\202"
+  "ZVW\3XTUUQRRNO\202UQR\202SOP\15WST[WXUQRLHIUQRRNOOKLNJKOKLPLMQMNPLMR"
+  "NO\202QMN\1RNO\202UQR\2TPQSOP\210RNO\14QMNUQRTPQNJKJFGMIJOKLNJKLHITP"
+  "QZVWWST\202TPQ\14SOPQMNVRSTPQUQRWSTTPQNJKOKLSOPYUVUQR\202RNO\12UQRWS"
+  "TUQRRNO^Z[OKLHDERNO[WXYUV\202VRS\26OKLVRSWSTMIJEABIEFUQR]YZMIJSOP[WX"
+  "^Z[[WXUQRPLMMIJVRSKGHIEFSOPXTUSOP\202NJK\20QMNWST^Z[a]^ZVWRNOTPQ\\XY"
+  "hde[WXQMNc_`hdenjkFBCOKL\202sop\6gcd]YZeabsopjfgTPQ\202UQR\1TPQ\202S"
+  "OP\1RNO\202QMN\20XTU]YZXTUJFGD at AJFGIEFB>\77WSTTPQOKLMIJPLMTPQWSTVRS\203"
+  "WST#UQRRNOOKLPLMSOPRNOLHIGCDJFGSOPYUVZVWXTU^Z[NJKKGH[WXd`a]YZYUV^Z[K"
+  "GHSOPQMNGCDFBCQMNYUVXTU\\XY]YZ_[\\^Z[\\XY[WX\202ZVW\12RNOJFGLHIVRSWS"
+  "TMIJLHIUQRief`\\]\202VRS%b^_lhifbcZVWb^_eaba]^vrsgcdUQR401FBCjfgplmj"
+  "fga]^lhi\204\200\201\206\202\203xtuZVWeabUQRFBC[WXokl^Z[EABXTUUQRMIJ"
+  "LHIPLMNJKQMN]YZUQR\202WST\35SOPQMNSOPUQRTPQNJKRNOWSTXTUVRSQMNKGHEABK"
+  "GHQMNXTUYUVVRSQMNNJKMIJOKLSOPXTUYUVUQRMIJGCDC\77@\202UQR\1TPQ\202SOP"
+  "\1RNO\202QMN\20XTU]YZXTUJFGD at AJFGIEFB>\77WSTTPQOKLMIJPLMTPQWSTVRS\203"
+  "WST#UQRRNOOKLPLMSOPRNOLHIGCDJFGSOPYUVZVWXTU^Z[NJKKGH[WXd`a]YZYUV^Z[K"
+  "GHSOPQMNGCDFBCQMNYUVXTU\\XY]YZ_[\\^Z[\\XY[WX\202ZVW\12RNOJFGLHIVRSWS"
+  "TMIJLHIUQRief`\\]\202VRS\25b^_lhifbcZVWb^_eaba]^vrsgcdUQR401FBCjfgpl"
+  "mjfga]^lhi\204\200\201\206\202\203xtuTPQ\202UQR\3VRSWSTXTU\202YUV\21"
+  "SOPYUVVRSMIJOKLYUV\\XYUQR_[\\SOPIEFLHIVRS\\XY[WXWSTPLM\202RNO\7PLMOK"
+  "LRNOVRSXTU]YZUQR\202MIJ\25TPQ[WX^Z[]YZa]^VRSWSTa]^]YZKGHD at AKGHPLMSOP"
+  "OKLHDELHIVRSUQRJFGTPQ\202RNOGUQRZVW\\XYZVWXTUKGHJFGOKLUQRQMNKGHTPQc_"
+  "`d`ahdeeab[WXVRSZVW[WXWSTPLM^Z[QMNVRS401\40\34\35!\35\36IEFfbcnjklhi"
+  "b^_c_`njkmijb^_d`a[WXSOP]YZeabUQRLHI\\XYPLMYUVRNONJKVRSRNONJK\\XYLHI"
+  "UQRYUVUQRTPQXTUYUVWSTQMNVRSYUVVRSLHIFBCIEFOKLKGHVRS\202a]^\11ZVWVRSY"
+  "UV^Z[TPQYUV]YZYUVPLM\202IEF\2KGHTPQ\202UQR\3VRSWSTXTU\202YUV\21SOPYU"
+  "VVRSMIJOKLYUV\\XYUQR_[\\SOPIEFLHIVRS\\XY[WXWSTPLM\202RNO\7PLMOKLRNOV"
+  "RSXTU]YZUQR\202MIJ\25TPQ[WX^Z[]YZa]^VRSWSTa]^]YZKGHD at AKGHPLMSOPOKLHD"
+  "ELHIVRSUQRJFGTPQ\202RNO9UQRZVW\\XYZVWXTUKGHJFGOKLUQRQMNKGHTPQc_`d`ah"
+  "deeab[WXVRSZVW[WXWSTPLM^Z[QMNVRS401\40\34\35!\35\36IEFfbcnjklhib^_c_"
+  "`njkmijb^_KGHLHINJKPLMRNOUQRVRSWSTPLMQMNPLMOKLTPQ\\XY^Z[[WX^Z[SOPMIJ"
+  "VRS\202a]^\10YUVRNO\\XY^Z[[WXSOPOKLQMN\202TPQ\21WSTRNOMIJNJKTPQ[WX^Z"
+  "[_[\\OKLNJKSOPVRSMIJ=9::67B>\77IEF\202JFG%MIJVRS^Z[[WXSOPUQRTPQSOPUQ"
+  "RVRSQMNGCD\77;<D at AKGHQMNPLMNJKRNO`\\]lhiRNOYUV\\XYWSTRNOTPQXTU[WXRNO"
+  "]YZ:673/0\23\17\20\25\21\22<89sop\202lhiJgcd^Z[TPQHDE956-)*\10\4\5\27"
+  "\23\24/+,QMNkghc_`VRS]YZ:67YUVZVWPLMYUVRNOEABMIJB>\77RNO^Z[]YZ[WX^Z["
+  "\\XYUQRZVWYUVVRSPLMFBCEABRNOb^_]YZa]^`\\]WSTKGHHDEPLMYUVUQRTPQQMNKGH"
+  "FBCIEFSOP\\XYKGHLHINJKPLMRNOUQRVRSWSTPLMQMNPLMOKLTPQ\\XY^Z[[WX^Z[SOP"
+  "MIJVRS\202a]^\10YUVRNO\\XY^Z[[WXSOPOKLQMN\202TPQ\21WSTRNOMIJNJKTPQ[W"
+  "X^Z[_[\\OKLNJKSOPVRSMIJ=9::67B>\77IEF\202JFG%MIJVRS^Z[[WXSOPUQRTPQSO"
+  "PUQRVRSQMNGCD\77;<D at AKGHQMNPLMNJKRNO`\\]lhiRNOYUV\\XYWSTRNOTPQXTU[WX"
+  "RNO]YZ:673/0\23\17\20\25\21\22<89sop\202lhi\6gcd^Z[TPQHDE956-)*\203N"
+  "JK\202MIJ\1LHI\202KGH\16RNOMIJKGHQMNTPQSOPRNOSOP]YZUQRRNOXTU[WXWST\202"
+  "RNO\15_[\\a]^\\XYQMNLHIOKLRNOQMNHDEIEFKGHNJKPLM\203RNO\4""956\77;<EA"
+  "BFBC\202D at A\2JFGPLM\202IEF\2NJKWST\202[WX3]YZb^_iefjfghdec_`[WXRNOKG"
+  "HFBCIEFSOPTPQMIJOKL]YZeabc_`d`a\\XYUQRVRSWSTUQROKLKGHMIJhdeTPQgcd`\\"
+  "]d`awst\213\207\210eabUQRMIJUQR\\XYWSTPLMOKLWSTNJK\77;<IEFeab[WX%!\""
+  "\3\0\0""401\202c_`\4MIJTPQSOPFBC\202LHI\4ZVW_[\\VRSQMN\202UQR\4OKLUQ"
+  "ROKLMIJ\203PLM\1XTU\202c_`\11]YZSOPHDE@<=\77;<C\77 at GCDRNOKGH\202EAB\4"
+  "KGHTPQZVW]YZ\203NJK\202MIJ\1LHI\202KGH\16RNOMIJKGHQMNTPQSOPRNOSOP]YZ"
+  "UQRRNOXTU[WXWST\202RNO\15_[\\a]^\\XYQMNLHIOKLRNOQMNHDEIEFKGHNJKPLM\203"
+  "RNO\4""956\77;<EABFBC\202D at A\2JFGPLM\202IEF\2NJKWST\202[WX\177]YZb^_"
+  "iefjfghdec_`[WXRNOKGHFBCIEFSOPTPQMIJOKL]YZeabc_`d`a\\XYUQRVRSWSTUQRO"
+  "KLKGHMIJhdeTPQgcd`\\]d`awst\213\207\210eabUQRMIJUQR\\XYWSTPLMOKL`\\]"
+  "\\Z[ZVWSQROKLHFGFBCB at ARNOFDEIEFSQRZVWSQRTPQWUV`\\]VTURNOOMNLHIDBCLHI"
+  "TRSD at AGEFIEFA\77 at D@AMKLWSTUSTNJKPNOUQRRPQNJKDBC\77;<:89845<:;A=>=;<C"
+  "\77 at LJKXTUYWX]YZYWX^Z[_]^XTUIGHOKL[YZXTUXVWXTUNLMGCDCABKGHQOPSOPZXYX"
+  "TUJHIRNOa_`b^_PNOWSTPNOQMNTRSVRSNLMSOPXVWNJKcabJFGgefxtu\177\210\206"
+  "\207\225\221\222\222\220\221\203\177\200^\\]JFGTRSiefkijqmnwuvb^_XVW"
+  "VRSQOP1-.\1\0\0\15\11\12FDEB>\77trsoklIGHQMNWUVTPQ\\Z[_[\\cab^Z[FDE="
+  "9:A\77 at JFGGEFFBC\77=>FBCSQR_[\\ZXYXTUUSTSOPJHID at AB@AIEFKIJLHIFDERNOI"
+  "GHGCDMKL^Z[cab_[\\TRS`\\]\\Z[ZVWSQROKLHFGFBCB at ARNOFDEIEFSQRZVWSQRTPQ"
+  "WUV`\\]VTURNOOMNLHIDBCLHITRSD at AGEFIEFA\77 at D@AMKLWSTUSTNJKPNOUQRRPQNJ"
+  "KDBC\77;<:89845<:;A=>=;<C\77 at LJKXTUYWX]YZYWX^Z[_]^XTUIGHOKL[YZXTUXVW"
+  "XTUNLMGCDCABKGHQOPSOPZXYXTUJHI\177RNOa_`b^_PNOWSTPNOQMNTRSVRSNLMSOPX"
+  "VWNJKcabJFGgefxtu\210\206\207\225\221\222\222\220\221\203\177\200^\\"
+  "]JFGTRSiefkijqmnwuv\377\376\377\377\377\377\377\376\377\377\377\377\377"
+  "\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377"
+  "\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377"
+  "\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377"
+  "\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377"
+  "\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376"
+  "\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377"
+  "\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377"
+  "\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377"
+  "\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377"
+  "\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377"
+  "\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376"
+  "\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377"
+  "\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377"
+  "\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377"
+  "\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377"
+  "\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377"
+  "\377\377\377\377\376\377\377\377\377\377\376\377\177\377\377\377\377"
+  "\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377"
+  "\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377"
+  "\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377"
+  "\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377"
+  "\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376"
+  "\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377"
+  "\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377"
+  "\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377"
+  "\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377"
+  "\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377"
+  "\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376"
+  "\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377"
+  "\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377"
+  "\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377"
+  "\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377"
+  "\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377"
+  "\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376"
+  "\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377"
+  "\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377"
+  "\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377"
+  "\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377\377"
+  "\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377\376\377"
+  "\377\377\377\16\377\376\377\377\377\377\377\376\377\377\377\377\377\376"
+  "\377\377\377\377\377\376\377\377\377\377\377\376\377\377\377\377\377"
+  "\376\377\377\377\377\377\376\377\377\377\377",
+};
+
+
+#endif

Added: libgpod/branches/upstream/current/src/pixmaps.h
===================================================================
--- libgpod/branches/upstream/current/src/pixmaps.h	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/src/pixmaps.h	2007-01-25 10:43:09 UTC (rev 166)
@@ -0,0 +1,50 @@
+/* Time-stamp: <2007-01-09 21:59:28 jcs>
+|
+|  Copyright (C) 2002-2006 Jorg Schuler <jcsjcs at users sourceforge net>
+|  Part of the gtkpod project.
+| 
+|  URL: http://www.gtkpod.org/
+|  URL: http://gtkpod.sourceforge.net/
+|
+|  Most of the code in this file has been ported from the perl
+|  script "mktunes.pl" (part of the gnupod-tools collection) written
+|  by Adrian Ulrich <pab at blinkenlights.ch>.
+|
+|  gnupod-tools: http://www.blinkenlights.ch/cgi-bin/fm.pl?get=ipod
+|
+|  The code contained in this file is free software; you can redistribute
+|  it and/or modify it under the terms of the GNU Lesser General Public
+|  License as published by the Free Software Foundation; either version
+|  2.1 of the License, or (at your option) any later version.
+|
+|  This file is distributed in the hope that it will be useful,
+|  but WITHOUT ANY WARRANTY; without even the implied warranty of
+|  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+|  Lesser General Public License for more details.
+|
+|  You should have received a copy of the GNU Lesser General Public
+|  License along with this code; if not, write to the Free Software
+|  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+|
+|  iTunes and iPod are trademarks of Apple
+|
+|  This product is not supported/written/published by Apple!
+|
+|  $Id: pixmaps.h,v 1.1 2007/01/09 13:31:14 jcsjcs Exp $
+*/
+
+#ifndef __PIXMAPS_H__
+#define __PIXMAPS_H__
+
+#include "itdb.h"
+
+#ifdef HAVE_GDKPIXBUF
+
+#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <gdk-pixbuf/gdk-pixdata.h>
+
+extern G_GNUC_INTERNAL const GdkPixdata questionmark_pixdata;
+
+#endif
+
+#endif

Modified: libgpod/branches/upstream/current/tests/Makefile.am
===================================================================
--- libgpod/branches/upstream/current/tests/Makefile.am	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/tests/Makefile.am	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,5 +1,14 @@
 if HAVE_GDKPIXBUF
 TESTTHUMBS=test-thumbnails test-write-thumbnails test-photos
+
+test_thumbnails_SOURCES = test-covers.c
+test_thumbnails_CFLAGS = $(AM_CFLAGS)
+
+test_write_thumbnails_SOURCES = test-write-covers.c
+test_write_thumbnails_CFLAGS = $(AM_CFLAGS)
+
+test_photos_SOURCES = test-photos.c
+test_photos_CFLAGS = $(AM_CFLAGS)
 else
 TESTTHUMBS=
 endif
@@ -8,36 +17,23 @@
 
 if HAVE_TAGLIB
 TESTTAGLIB=test-rebuild-db
+test_rebuild_db_SOURCES = test-rebuild-db.cc
+test_rebuild_db_LDADD = $(TAGLIB_LIBS)
+test_rebuild_db_CXXFLAGS = $(TAGLIB_CFLAGS)
 else
 TESTTAGLIB=
 endif
 
-noinst_PROGRAMS=test-itdb test-ls $(TESTTHUMBS) $(TESTTAGLIB) $(TESTMISC)
-
-INCLUDES=$(LIBGPOD_CFLAGS) -I$(top_srcdir)/src -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
-LIBS=$(LIBGPOD_LIBS) $(top_builddir)/src/libgpod.la
-
 test_itdb_SOURCES = itdb_main.c
 test_itdb_LDADD = 
 
 test_ls_SOURCES = test-ls.c
 test_ls_LDADD = 
 
-if HAVE_TAGLIB
-test_rebuild_db_SOURCES = test-rebuild-db.cc
-test_rebuild_db_LDADD = $(TAGLIB_LIBS)
-test_rebuild_db_CXXFLAGS = $(TAGLIB_CFLAGS)
-endif
-
-if HAVE_GDKPIXBUF
-test_thumbnails_SOURCES = test-covers.c
-test_thumbnails_CFLAGS = $(AM_CFLAGS)
-
-test_photos_SOURCES = test-photos.c
-test_photos_CFLAGS = $(AM_CFLAGS)
-
 test_init_ipod_SOURCES = test-init-ipod.c
+test_init_ipod_LDADD = 
 
-test_write_thumbnails_SOURCES = test-write-covers.c
-test_write_thumbnails_CFLAGS = $(AM_CFLAGS)
-endif
+noinst_PROGRAMS=test-itdb test-ls $(TESTTHUMBS) $(TESTTAGLIB) $(TESTMISC)
+
+INCLUDES=$(LIBGPOD_CFLAGS) -I$(top_srcdir)/src -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
+LIBS=$(LIBGPOD_LIBS) $(top_builddir)/src/libgpod.la

Modified: libgpod/branches/upstream/current/tests/Makefile.in
===================================================================
--- libgpod/branches/upstream/current/tests/Makefile.in	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/tests/Makefile.in	2007-01-25 10:43:09 UTC (rev 166)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -21,7 +21,6 @@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 top_builddir = ..
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
@@ -35,7 +34,88 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
+build_triplet = @build@
 host_triplet = @host@
+noinst_PROGRAMS = test-itdb$(EXEEXT) test-ls$(EXEEXT) $(am__EXEEXT_1) \
+	$(am__EXEEXT_2) $(am__EXEEXT_3)
+subdir = tests
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+	$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
+	$(top_srcdir)/m4/swig.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+ at HAVE_GDKPIXBUF_TRUE@am__EXEEXT_1 = test-thumbnails$(EXEEXT) \
+ at HAVE_GDKPIXBUF_TRUE@	test-write-thumbnails$(EXEEXT) \
+ at HAVE_GDKPIXBUF_TRUE@	test-photos$(EXEEXT)
+ at HAVE_TAGLIB_TRUE@am__EXEEXT_2 = test-rebuild-db$(EXEEXT)
+am__EXEEXT_3 = test-init-ipod$(EXEEXT)
+PROGRAMS = $(noinst_PROGRAMS)
+am_test_init_ipod_OBJECTS = test-init-ipod.$(OBJEXT)
+test_init_ipod_OBJECTS = $(am_test_init_ipod_OBJECTS)
+test_init_ipod_DEPENDENCIES =
+am_test_itdb_OBJECTS = itdb_main.$(OBJEXT)
+test_itdb_OBJECTS = $(am_test_itdb_OBJECTS)
+test_itdb_DEPENDENCIES =
+am_test_ls_OBJECTS = test-ls.$(OBJEXT)
+test_ls_OBJECTS = $(am_test_ls_OBJECTS)
+test_ls_DEPENDENCIES =
+am__test_photos_SOURCES_DIST = test-photos.c
+ at HAVE_GDKPIXBUF_TRUE@am_test_photos_OBJECTS =  \
+ at HAVE_GDKPIXBUF_TRUE@	test_photos-test-photos.$(OBJEXT)
+test_photos_OBJECTS = $(am_test_photos_OBJECTS)
+test_photos_LDADD = $(LDADD)
+am__test_rebuild_db_SOURCES_DIST = test-rebuild-db.cc
+ at HAVE_TAGLIB_TRUE@am_test_rebuild_db_OBJECTS =  \
+ at HAVE_TAGLIB_TRUE@	test_rebuild_db-test-rebuild-db.$(OBJEXT)
+test_rebuild_db_OBJECTS = $(am_test_rebuild_db_OBJECTS)
+am__DEPENDENCIES_1 =
+ at HAVE_TAGLIB_TRUE@test_rebuild_db_DEPENDENCIES =  \
+ at HAVE_TAGLIB_TRUE@	$(am__DEPENDENCIES_1)
+am__test_thumbnails_SOURCES_DIST = test-covers.c
+ at HAVE_GDKPIXBUF_TRUE@am_test_thumbnails_OBJECTS =  \
+ at HAVE_GDKPIXBUF_TRUE@	test_thumbnails-test-covers.$(OBJEXT)
+test_thumbnails_OBJECTS = $(am_test_thumbnails_OBJECTS)
+test_thumbnails_LDADD = $(LDADD)
+am__test_write_thumbnails_SOURCES_DIST = test-write-covers.c
+ at HAVE_GDKPIXBUF_TRUE@am_test_write_thumbnails_OBJECTS = test_write_thumbnails-test-write-covers.$(OBJEXT)
+test_write_thumbnails_OBJECTS = $(am_test_write_thumbnails_OBJECTS)
+test_write_thumbnails_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+	$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(test_init_ipod_SOURCES) $(test_itdb_SOURCES) \
+	$(test_ls_SOURCES) $(test_photos_SOURCES) \
+	$(test_rebuild_db_SOURCES) $(test_thumbnails_SOURCES) \
+	$(test_write_thumbnails_SOURCES)
+DIST_SOURCES = $(test_init_ipod_SOURCES) $(test_itdb_SOURCES) \
+	$(test_ls_SOURCES) $(am__test_photos_SOURCES_DIST) \
+	$(am__test_rebuild_db_SOURCES_DIST) \
+	$(am__test_thumbnails_SOURCES_DIST) \
+	$(am__test_write_thumbnails_SOURCES_DIST)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 ALL_LINGUAS = @ALL_LINGUAS@
@@ -120,11 +200,9 @@
 INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 LDFLAGS = @LDFLAGS@
-LIBGPOD_AGE = @LIBGPOD_AGE@
 LIBGPOD_CFLAGS = @LIBGPOD_CFLAGS@
-LIBGPOD_CURRENT = @LIBGPOD_CURRENT@
 LIBGPOD_LIBS = @LIBGPOD_LIBS@
-LIBGPOD_REVISION = @LIBGPOD_REVISION@
+LIBGPOD_SO_VERSION = @LIBGPOD_SO_VERSION@
 LIBGPOD_VERSION = @LIBGPOD_VERSION@
 LIBOBJS = @LIBOBJS@
 LIBS = $(LIBGPOD_LIBS) $(top_builddir)/src/libgpod.la
@@ -178,6 +256,8 @@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -203,6 +283,7 @@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 pkgpyexecdir = @pkgpyexecdir@
@@ -218,154 +299,59 @@
 target_alias = @target_alias@
 @HAVE_GDKPIXBUF_FALSE at TESTTHUMBS = 
 @HAVE_GDKPIXBUF_TRUE at TESTTHUMBS = test-thumbnails test-write-thumbnails test-photos
-
+ at HAVE_GDKPIXBUF_TRUE@test_thumbnails_SOURCES = test-covers.c
+ at HAVE_GDKPIXBUF_TRUE@test_thumbnails_CFLAGS = $(AM_CFLAGS)
+ at HAVE_GDKPIXBUF_TRUE@test_write_thumbnails_SOURCES = test-write-covers.c
+ at HAVE_GDKPIXBUF_TRUE@test_write_thumbnails_CFLAGS = $(AM_CFLAGS)
+ at HAVE_GDKPIXBUF_TRUE@test_photos_SOURCES = test-photos.c
+ at HAVE_GDKPIXBUF_TRUE@test_photos_CFLAGS = $(AM_CFLAGS)
 TESTMISC = test-init-ipod
 @HAVE_TAGLIB_FALSE at TESTTAGLIB = 
-
 @HAVE_TAGLIB_TRUE at TESTTAGLIB = test-rebuild-db
-
-noinst_PROGRAMS = test-itdb test-ls $(TESTTHUMBS) $(TESTTAGLIB) $(TESTMISC)
-
-INCLUDES = $(LIBGPOD_CFLAGS) -I$(top_srcdir)/src -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
-
+ at HAVE_TAGLIB_TRUE@test_rebuild_db_SOURCES = test-rebuild-db.cc
+ at HAVE_TAGLIB_TRUE@test_rebuild_db_LDADD = $(TAGLIB_LIBS)
+ at HAVE_TAGLIB_TRUE@test_rebuild_db_CXXFLAGS = $(TAGLIB_CFLAGS)
 test_itdb_SOURCES = itdb_main.c
 test_itdb_LDADD = 
-
 test_ls_SOURCES = test-ls.c
 test_ls_LDADD = 
-
- at HAVE_TAGLIB_TRUE@test_rebuild_db_SOURCES = test-rebuild-db.cc
- at HAVE_TAGLIB_TRUE@test_rebuild_db_LDADD = $(TAGLIB_LIBS)
- at HAVE_TAGLIB_TRUE@test_rebuild_db_CXXFLAGS = $(TAGLIB_CFLAGS)
-
- at HAVE_GDKPIXBUF_TRUE@test_thumbnails_SOURCES = test-covers.c
- at HAVE_GDKPIXBUF_TRUE@test_thumbnails_CFLAGS = $(AM_CFLAGS)
-
- at HAVE_GDKPIXBUF_TRUE@test_photos_SOURCES = test-photos.c
- at HAVE_GDKPIXBUF_TRUE@test_photos_CFLAGS = $(AM_CFLAGS)
-
- at HAVE_GDKPIXBUF_TRUE@test_init_ipod_SOURCES = test-init-ipod.c
-
- at HAVE_GDKPIXBUF_TRUE@test_write_thumbnails_SOURCES = test-write-covers.c
- at HAVE_GDKPIXBUF_TRUE@test_write_thumbnails_CFLAGS = $(AM_CFLAGS)
-subdir = tests
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
- at HAVE_GDKPIXBUF_FALSE@@HAVE_TAGLIB_TRUE at noinst_PROGRAMS = \
- at HAVE_GDKPIXBUF_FALSE@@HAVE_TAGLIB_TRUE@	test-itdb$(EXEEXT) \
- at HAVE_GDKPIXBUF_FALSE@@HAVE_TAGLIB_TRUE@	test-ls$(EXEEXT) \
- at HAVE_GDKPIXBUF_FALSE@@HAVE_TAGLIB_TRUE@	test-rebuild-db$(EXEEXT) \
- at HAVE_GDKPIXBUF_FALSE@@HAVE_TAGLIB_TRUE@	test-init-ipod$(EXEEXT)
- at HAVE_GDKPIXBUF_FALSE@@HAVE_TAGLIB_FALSE at noinst_PROGRAMS = \
- at HAVE_GDKPIXBUF_FALSE@@HAVE_TAGLIB_FALSE@	test-itdb$(EXEEXT) \
- at HAVE_GDKPIXBUF_FALSE@@HAVE_TAGLIB_FALSE@	test-ls$(EXEEXT) \
- at HAVE_GDKPIXBUF_FALSE@@HAVE_TAGLIB_FALSE@	test-init-ipod$(EXEEXT)
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_TRUE at noinst_PROGRAMS = \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_TRUE@	test-itdb$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_TRUE@	test-ls$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_TRUE@	test-thumbnails$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_TRUE@	test-write-thumbnails$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_TRUE@	test-photos$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_TRUE@	test-rebuild-db$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_TRUE@	test-init-ipod$(EXEEXT)
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_FALSE at noinst_PROGRAMS = \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_FALSE@	test-itdb$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_FALSE@	test-ls$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_FALSE@	test-thumbnails$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_FALSE@	test-write-thumbnails$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_FALSE@	test-photos$(EXEEXT) \
- at HAVE_GDKPIXBUF_TRUE@@HAVE_TAGLIB_FALSE@	test-init-ipod$(EXEEXT)
-PROGRAMS = $(noinst_PROGRAMS)
-
-am__test_init_ipod_SOURCES_DIST = test-init-ipod.c
- at HAVE_GDKPIXBUF_TRUE@am_test_init_ipod_OBJECTS = \
- at HAVE_GDKPIXBUF_TRUE@	test-init-ipod.$(OBJEXT)
-test_init_ipod_OBJECTS = $(am_test_init_ipod_OBJECTS)
-test_init_ipod_LDADD = $(LDADD)
-test_init_ipod_DEPENDENCIES =
-test_init_ipod_LDFLAGS =
-am_test_itdb_OBJECTS = itdb_main.$(OBJEXT)
-test_itdb_OBJECTS = $(am_test_itdb_OBJECTS)
-test_itdb_DEPENDENCIES =
-test_itdb_LDFLAGS =
-am_test_ls_OBJECTS = test-ls.$(OBJEXT)
-test_ls_OBJECTS = $(am_test_ls_OBJECTS)
-test_ls_DEPENDENCIES =
-test_ls_LDFLAGS =
-am__test_photos_SOURCES_DIST = test-photos.c
- at HAVE_GDKPIXBUF_TRUE@am_test_photos_OBJECTS = \
- at HAVE_GDKPIXBUF_TRUE@	test_photos-test-photos.$(OBJEXT)
-test_photos_OBJECTS = $(am_test_photos_OBJECTS)
-test_photos_LDADD = $(LDADD)
-test_photos_DEPENDENCIES =
-test_photos_LDFLAGS =
-am__test_rebuild_db_SOURCES_DIST = test-rebuild-db.cc
- at HAVE_TAGLIB_TRUE@am_test_rebuild_db_OBJECTS = \
- at HAVE_TAGLIB_TRUE@	test_rebuild_db-test-rebuild-db.$(OBJEXT)
-test_rebuild_db_OBJECTS = $(am_test_rebuild_db_OBJECTS)
- at HAVE_TAGLIB_TRUE@test_rebuild_db_DEPENDENCIES =
- at HAVE_TAGLIB_FALSE@test_rebuild_db_DEPENDENCIES =
-test_rebuild_db_LDFLAGS =
-am__test_thumbnails_SOURCES_DIST = test-covers.c
- at HAVE_GDKPIXBUF_TRUE@am_test_thumbnails_OBJECTS = \
- at HAVE_GDKPIXBUF_TRUE@	test_thumbnails-test-covers.$(OBJEXT)
-test_thumbnails_OBJECTS = $(am_test_thumbnails_OBJECTS)
-test_thumbnails_LDADD = $(LDADD)
-test_thumbnails_DEPENDENCIES =
-test_thumbnails_LDFLAGS =
-am__test_write_thumbnails_SOURCES_DIST = test-write-covers.c
- at HAVE_GDKPIXBUF_TRUE@am_test_write_thumbnails_OBJECTS = \
- at HAVE_GDKPIXBUF_TRUE@	test_write_thumbnails-test-write-covers.$(OBJEXT)
-test_write_thumbnails_OBJECTS = $(am_test_write_thumbnails_OBJECTS)
-test_write_thumbnails_LDADD = $(LDADD)
-test_write_thumbnails_DEPENDENCIES =
-test_write_thumbnails_LDFLAGS =
-
-DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
- at AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/itdb_main.Po \
- at AMDEP_TRUE@	./$(DEPDIR)/test-init-ipod.Po \
- at AMDEP_TRUE@	./$(DEPDIR)/test-ls.Po \
- at AMDEP_TRUE@	./$(DEPDIR)/test_photos-test-photos.Po \
- at AMDEP_TRUE@	./$(DEPDIR)/test_rebuild_db-test-rebuild-db.Po \
- at AMDEP_TRUE@	./$(DEPDIR)/test_thumbnails-test-covers.Po \
- at AMDEP_TRUE@	./$(DEPDIR)/test_write_thumbnails-test-write-covers.Po
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
-	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
-CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
-LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-	$(AM_CXXFLAGS) $(CXXFLAGS)
-CXXLD = $(CXX)
-CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
-DIST_SOURCES = $(am__test_init_ipod_SOURCES_DIST) $(test_itdb_SOURCES) \
-	$(test_ls_SOURCES) $(am__test_photos_SOURCES_DIST) \
-	$(am__test_rebuild_db_SOURCES_DIST) \
-	$(am__test_thumbnails_SOURCES_DIST) \
-	$(am__test_write_thumbnails_SOURCES_DIST)
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
-SOURCES = $(test_init_ipod_SOURCES) $(test_itdb_SOURCES) $(test_ls_SOURCES) $(test_photos_SOURCES) $(test_rebuild_db_SOURCES) $(test_thumbnails_SOURCES) $(test_write_thumbnails_SOURCES)
-
+test_init_ipod_SOURCES = test-init-ipod.c
+test_init_ipod_LDADD = 
+INCLUDES = $(LIBGPOD_CFLAGS) -I$(top_srcdir)/src -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
 all: all-am
 
 .SUFFIXES:
 .SUFFIXES: .c .cc .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  tests/Makefile'; \
 	cd $(top_srcdir) && \
 	  $(AUTOMAKE) --gnu  tests/Makefile
-Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
 
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
 clean-noinstPROGRAMS:
 	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
 	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
@@ -395,7 +381,7 @@
 	$(LINK) $(test_write_thumbnails_LDFLAGS) $(test_write_thumbnails_OBJECTS) $(test_write_thumbnails_LDADD) $(LIBS)
 
 mostlyclean-compile:
-	-rm -f *.$(OBJEXT) core *.core
+	-rm -f *.$(OBJEXT)
 
 distclean-compile:
 	-rm -f *.tab.c
@@ -409,203 +395,103 @@
 @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/test_write_thumbnails-test-write-covers.Po at am__quote@
 
 .c.o:
- at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
- at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
 
 .c.lo:
- at am__fastdepCC_TRUE@	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<
 
 test_photos-test-photos.o: test-photos.c
- at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_photos_CFLAGS) $(CFLAGS) -MT test_photos-test-photos.o -MD -MP -MF "$(DEPDIR)/test_photos-test-photos.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o test_photos-test-photos.o `test -f 'test-photos.c' || echo '$(srcdir)/'`test-photos.c; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_photos-test-photos.Tpo" "$(DEPDIR)/test_photos-test-photos.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/test_photos-test-photos.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_photos_CFLAGS) $(CFLAGS) -MT test_photos-test-photos.o -MD -MP -MF "$(DEPDIR)/test_photos-test-photos.Tpo" -c -o test_photos-test-photos.o `test -f 'test-photos.c' || echo '$(srcdir)/'`test-photos.c; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_photos-test-photos.Tpo" "$(DEPDIR)/test_photos-test-photos.Po"; else rm -f "$(DEPDIR)/test_photos-test-photos.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='test-photos.c' object='test_photos-test-photos.o' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/test_photos-test-photos.Po' tmpdepfile='$(DEPDIR)/test_photos-test-photos.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_photos_CFLAGS) $(CFLAGS) -c -o test_photos-test-photos.o `test -f 'test-photos.c' || echo '$(srcdir)/'`test-photos.c
 
 test_photos-test-photos.obj: test-photos.c
- at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_photos_CFLAGS) $(CFLAGS) -MT test_photos-test-photos.obj -MD -MP -MF "$(DEPDIR)/test_photos-test-photos.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o test_photos-test-photos.obj `if test -f 'test-photos.c'; then $(CYGPATH_W) 'test-photos.c'; else $(CYGPATH_W) '$(srcdir)/test-photos.c'; fi`; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_photos-test-photos.Tpo" "$(DEPDIR)/test_photos-test-photos.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/test_photos-test-photos.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_photos_CFLAGS) $(CFLAGS) -MT test_photos-test-photos.obj -MD -MP -MF "$(DEPDIR)/test_photos-test-photos.Tpo" -c -o test_photos-test-photos.obj `if test -f 'test-photos.c'; then $(CYGPATH_W) 'test-photos.c'; else $(CYGPATH_W) '$(srcdir)/test-photos.c'; fi`; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_photos-test-photos.Tpo" "$(DEPDIR)/test_photos-test-photos.Po"; else rm -f "$(DEPDIR)/test_photos-test-photos.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='test-photos.c' object='test_photos-test-photos.obj' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/test_photos-test-photos.Po' tmpdepfile='$(DEPDIR)/test_photos-test-photos.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_photos_CFLAGS) $(CFLAGS) -c -o test_photos-test-photos.obj `if test -f 'test-photos.c'; then $(CYGPATH_W) 'test-photos.c'; else $(CYGPATH_W) '$(srcdir)/test-photos.c'; fi`
 
-test_photos-test-photos.lo: test-photos.c
- at am__fastdepCC_TRUE@	if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_photos_CFLAGS) $(CFLAGS) -MT test_photos-test-photos.lo -MD -MP -MF "$(DEPDIR)/test_photos-test-photos.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o test_photos-test-photos.lo `test -f 'test-photos.c' || echo '$(srcdir)/'`test-photos.c; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_photos-test-photos.Tpo" "$(DEPDIR)/test_photos-test-photos.Plo"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/test_photos-test-photos.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='test-photos.c' object='test_photos-test-photos.lo' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/test_photos-test-photos.Plo' tmpdepfile='$(DEPDIR)/test_photos-test-photos.TPlo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_photos_CFLAGS) $(CFLAGS) -c -o test_photos-test-photos.lo `test -f 'test-photos.c' || echo '$(srcdir)/'`test-photos.c
-
 test_thumbnails-test-covers.o: test-covers.c
- at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_thumbnails_CFLAGS) $(CFLAGS) -MT test_thumbnails-test-covers.o -MD -MP -MF "$(DEPDIR)/test_thumbnails-test-covers.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o test_thumbnails-test-covers.o `test -f 'test-covers.c' || echo '$(srcdir)/'`test-covers.c; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo" "$(DEPDIR)/test_thumbnails-test-covers.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_thumbnails_CFLAGS) $(CFLAGS) -MT test_thumbnails-test-covers.o -MD -MP -MF "$(DEPDIR)/test_thumbnails-test-covers.Tpo" -c -o test_thumbnails-test-covers.o `test -f 'test-covers.c' || echo '$(srcdir)/'`test-covers.c; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo" "$(DEPDIR)/test_thumbnails-test-covers.Po"; else rm -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='test-covers.c' object='test_thumbnails-test-covers.o' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/test_thumbnails-test-covers.Po' tmpdepfile='$(DEPDIR)/test_thumbnails-test-covers.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_thumbnails_CFLAGS) $(CFLAGS) -c -o test_thumbnails-test-covers.o `test -f 'test-covers.c' || echo '$(srcdir)/'`test-covers.c
 
 test_thumbnails-test-covers.obj: test-covers.c
- at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_thumbnails_CFLAGS) $(CFLAGS) -MT test_thumbnails-test-covers.obj -MD -MP -MF "$(DEPDIR)/test_thumbnails-test-covers.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o test_thumbnails-test-covers.obj `if test -f 'test-covers.c'; then $(CYGPATH_W) 'test-covers.c'; else $(CYGPATH_W) '$(srcdir)/test-covers.c'; fi`; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo" "$(DEPDIR)/test_thumbnails-test-covers.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_thumbnails_CFLAGS) $(CFLAGS) -MT test_thumbnails-test-covers.obj -MD -MP -MF "$(DEPDIR)/test_thumbnails-test-covers.Tpo" -c -o test_thumbnails-test-covers.obj `if test -f 'test-covers.c'; then $(CYGPATH_W) 'test-covers.c'; else $(CYGPATH_W) '$(srcdir)/test-covers.c'; fi`; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo" "$(DEPDIR)/test_thumbnails-test-covers.Po"; else rm -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='test-covers.c' object='test_thumbnails-test-covers.obj' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/test_thumbnails-test-covers.Po' tmpdepfile='$(DEPDIR)/test_thumbnails-test-covers.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_thumbnails_CFLAGS) $(CFLAGS) -c -o test_thumbnails-test-covers.obj `if test -f 'test-covers.c'; then $(CYGPATH_W) 'test-covers.c'; else $(CYGPATH_W) '$(srcdir)/test-covers.c'; fi`
 
-test_thumbnails-test-covers.lo: test-covers.c
- at am__fastdepCC_TRUE@	if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_thumbnails_CFLAGS) $(CFLAGS) -MT test_thumbnails-test-covers.lo -MD -MP -MF "$(DEPDIR)/test_thumbnails-test-covers.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o test_thumbnails-test-covers.lo `test -f 'test-covers.c' || echo '$(srcdir)/'`test-covers.c; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo" "$(DEPDIR)/test_thumbnails-test-covers.Plo"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/test_thumbnails-test-covers.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='test-covers.c' object='test_thumbnails-test-covers.lo' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/test_thumbnails-test-covers.Plo' tmpdepfile='$(DEPDIR)/test_thumbnails-test-covers.TPlo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_thumbnails_CFLAGS) $(CFLAGS) -c -o test_thumbnails-test-covers.lo `test -f 'test-covers.c' || echo '$(srcdir)/'`test-covers.c
-
 test_write_thumbnails-test-write-covers.o: test-write-covers.c
- at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_write_thumbnails_CFLAGS) $(CFLAGS) -MT test_write_thumbnails-test-write-covers.o -MD -MP -MF "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o test_write_thumbnails-test-write-covers.o `test -f 'test-write-covers.c' || echo '$(srcdir)/'`test-write-covers.c; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" "$(DEPDIR)/test_write_thumbnails-test-write-covers.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_write_thumbnails_CFLAGS) $(CFLAGS) -MT test_write_thumbnails-test-write-covers.o -MD -MP -MF "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" -c -o test_write_thumbnails-test-write-covers.o `test -f 'test-write-covers.c' || echo '$(srcdir)/'`test-write-covers.c; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" "$(DEPDIR)/test_write_thumbnails-test-write-covers.Po"; else rm -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='test-write-covers.c' object='test_write_thumbnails-test-write-covers.o' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/test_write_thumbnails-test-write-covers.Po' tmpdepfile='$(DEPDIR)/test_write_thumbnails-test-write-covers.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_write_thumbnails_CFLAGS) $(CFLAGS) -c -o test_write_thumbnails-test-write-covers.o `test -f 'test-write-covers.c' || echo '$(srcdir)/'`test-write-covers.c
 
 test_write_thumbnails-test-write-covers.obj: test-write-covers.c
- at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_write_thumbnails_CFLAGS) $(CFLAGS) -MT test_write_thumbnails-test-write-covers.obj -MD -MP -MF "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o test_write_thumbnails-test-write-covers.obj `if test -f 'test-write-covers.c'; then $(CYGPATH_W) 'test-write-covers.c'; else $(CYGPATH_W) '$(srcdir)/test-write-covers.c'; fi`; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" "$(DEPDIR)/test_write_thumbnails-test-write-covers.Po"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
+ at am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_write_thumbnails_CFLAGS) $(CFLAGS) -MT test_write_thumbnails-test-write-covers.obj -MD -MP -MF "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" -c -o test_write_thumbnails-test-write-covers.obj `if test -f 'test-write-covers.c'; then $(CYGPATH_W) 'test-write-covers.c'; else $(CYGPATH_W) '$(srcdir)/test-write-covers.c'; fi`; \
+ at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" "$(DEPDIR)/test_write_thumbnails-test-write-covers.Po"; else rm -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='test-write-covers.c' object='test_write_thumbnails-test-write-covers.obj' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/test_write_thumbnails-test-write-covers.Po' tmpdepfile='$(DEPDIR)/test_write_thumbnails-test-write-covers.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_write_thumbnails_CFLAGS) $(CFLAGS) -c -o test_write_thumbnails-test-write-covers.obj `if test -f 'test-write-covers.c'; then $(CYGPATH_W) 'test-write-covers.c'; else $(CYGPATH_W) '$(srcdir)/test-write-covers.c'; fi`
 
-test_write_thumbnails-test-write-covers.lo: test-write-covers.c
- at am__fastdepCC_TRUE@	if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_write_thumbnails_CFLAGS) $(CFLAGS) -MT test_write_thumbnails-test-write-covers.lo -MD -MP -MF "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" \
- at am__fastdepCC_TRUE@	  -c -o test_write_thumbnails-test-write-covers.lo `test -f 'test-write-covers.c' || echo '$(srcdir)/'`test-write-covers.c; \
- at am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo" "$(DEPDIR)/test_write_thumbnails-test-write-covers.Plo"; \
- at am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/test_write_thumbnails-test-write-covers.Tpo"; exit 1; \
- at am__fastdepCC_TRUE@	fi
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='test-write-covers.c' object='test_write_thumbnails-test-write-covers.lo' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/test_write_thumbnails-test-write-covers.Plo' tmpdepfile='$(DEPDIR)/test_write_thumbnails-test-write-covers.TPlo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_write_thumbnails_CFLAGS) $(CFLAGS) -c -o test_write_thumbnails-test-write-covers.lo `test -f 'test-write-covers.c' || echo '$(srcdir)/'`test-write-covers.c
-
 .cc.o:
- at am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
- at am__fastdepCXX_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
- at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
- at am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
- at am__fastdepCXX_TRUE@	fi
+ at am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<
 
 .cc.obj:
- at am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
- at am__fastdepCXX_TRUE@	  -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
- at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
- at am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
- at am__fastdepCXX_TRUE@	fi
+ at am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+ at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .cc.lo:
- at am__fastdepCXX_TRUE@	if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
- at am__fastdepCXX_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
- at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
- at am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
- at am__fastdepCXX_TRUE@	fi
+ at am__fastdepCXX_TRUE@	if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ $<
 
 test_rebuild_db-test-rebuild-db.o: test-rebuild-db.cc
- at am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_rebuild_db_CXXFLAGS) $(CXXFLAGS) -MT test_rebuild_db-test-rebuild-db.o -MD -MP -MF "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" \
- at am__fastdepCXX_TRUE@	  -c -o test_rebuild_db-test-rebuild-db.o `test -f 'test-rebuild-db.cc' || echo '$(srcdir)/'`test-rebuild-db.cc; \
- at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Po"; \
- at am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo"; exit 1; \
- at am__fastdepCXX_TRUE@	fi
+ at am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_rebuild_db_CXXFLAGS) $(CXXFLAGS) -MT test_rebuild_db-test-rebuild-db.o -MD -MP -MF "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" -c -o test_rebuild_db-test-rebuild-db.o `test -f 'test-rebuild-db.cc' || echo '$(srcdir)/'`test-rebuild-db.cc; \
+ at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Po"; else rm -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='test-rebuild-db.cc' object='test_rebuild_db-test-rebuild-db.o' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/test_rebuild_db-test-rebuild-db.Po' tmpdepfile='$(DEPDIR)/test_rebuild_db-test-rebuild-db.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_rebuild_db_CXXFLAGS) $(CXXFLAGS) -c -o test_rebuild_db-test-rebuild-db.o `test -f 'test-rebuild-db.cc' || echo '$(srcdir)/'`test-rebuild-db.cc
 
 test_rebuild_db-test-rebuild-db.obj: test-rebuild-db.cc
- at am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_rebuild_db_CXXFLAGS) $(CXXFLAGS) -MT test_rebuild_db-test-rebuild-db.obj -MD -MP -MF "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" \
- at am__fastdepCXX_TRUE@	  -c -o test_rebuild_db-test-rebuild-db.obj `if test -f 'test-rebuild-db.cc'; then $(CYGPATH_W) 'test-rebuild-db.cc'; else $(CYGPATH_W) '$(srcdir)/test-rebuild-db.cc'; fi`; \
- at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Po"; \
- at am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo"; exit 1; \
- at am__fastdepCXX_TRUE@	fi
+ at am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_rebuild_db_CXXFLAGS) $(CXXFLAGS) -MT test_rebuild_db-test-rebuild-db.obj -MD -MP -MF "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" -c -o test_rebuild_db-test-rebuild-db.obj `if test -f 'test-rebuild-db.cc'; then $(CYGPATH_W) 'test-rebuild-db.cc'; else $(CYGPATH_W) '$(srcdir)/test-rebuild-db.cc'; fi`; \
+ at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Po"; else rm -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='test-rebuild-db.cc' object='test_rebuild_db-test-rebuild-db.obj' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/test_rebuild_db-test-rebuild-db.Po' tmpdepfile='$(DEPDIR)/test_rebuild_db-test-rebuild-db.TPo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_rebuild_db_CXXFLAGS) $(CXXFLAGS) -c -o test_rebuild_db-test-rebuild-db.obj `if test -f 'test-rebuild-db.cc'; then $(CYGPATH_W) 'test-rebuild-db.cc'; else $(CYGPATH_W) '$(srcdir)/test-rebuild-db.cc'; fi`
 
-test_rebuild_db-test-rebuild-db.lo: test-rebuild-db.cc
- at am__fastdepCXX_TRUE@	if $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_rebuild_db_CXXFLAGS) $(CXXFLAGS) -MT test_rebuild_db-test-rebuild-db.lo -MD -MP -MF "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" \
- at am__fastdepCXX_TRUE@	  -c -o test_rebuild_db-test-rebuild-db.lo `test -f 'test-rebuild-db.cc' || echo '$(srcdir)/'`test-rebuild-db.cc; \
- at am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo" "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Plo"; \
- at am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/test_rebuild_db-test-rebuild-db.Tpo"; exit 1; \
- at am__fastdepCXX_TRUE@	fi
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='test-rebuild-db.cc' object='test_rebuild_db-test-rebuild-db.lo' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/test_rebuild_db-test-rebuild-db.Plo' tmpdepfile='$(DEPDIR)/test_rebuild_db-test-rebuild-db.TPlo' @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCXX_FALSE@	$(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_rebuild_db_CXXFLAGS) $(CXXFLAGS) -c -o test_rebuild_db-test-rebuild-db.lo `test -f 'test-rebuild-db.cc' || echo '$(srcdir)/'`test-rebuild-db.cc
-
 mostlyclean-libtool:
 	-rm -f *.lo
 
@@ -616,14 +502,6 @@
 	-rm -f libtool
 uninstall-info-am:
 
-ETAGS = etags
-ETAGSFLAGS =
-
-CTAGS = ctags
-CTAGSFLAGS =
-
-tags: TAGS
-
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
@@ -632,6 +510,7 @@
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	mkid -fID $$unique
+tags: TAGS
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
@@ -643,10 +522,11 @@
 	  done | \
 	  $(AWK) '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
-	test -z "$(ETAGS_ARGS)$$tags$$unique" \
-	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	     $$tags $$unique
-
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
 ctags: CTAGS
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
@@ -669,11 +549,7 @@
 
 distclean-tags:
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
-top_distdir = ..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
-
 distdir: $(DISTFILES)
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
@@ -686,7 +562,7 @@
 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 	    dir="/$$dir"; \
-	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
 	  else \
 	    dir=''; \
 	  fi; \
@@ -704,7 +580,6 @@
 check-am: all-am
 check: check-am
 all-am: Makefile $(PROGRAMS)
-
 installdirs:
 install: install-am
 install-exec: install-exec-am
@@ -725,7 +600,7 @@
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
@@ -745,6 +620,8 @@
 
 dvi-am:
 
+html: html-am
+
 info: info-am
 
 info-am:
@@ -782,13 +659,14 @@
 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
 	clean-libtool clean-noinstPROGRAMS ctags distclean \
 	distclean-compile distclean-generic distclean-libtool \
-	distclean-tags distdir dvi dvi-am info info-am install \
-	install-am install-data install-data-am install-exec \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
 	install-exec-am install-info install-info-am install-man \
 	install-strip installcheck installcheck-am installdirs \
 	maintainer-clean maintainer-clean-generic mostlyclean \
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
-	pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am
+	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+	uninstall-info-am
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

Modified: libgpod/branches/upstream/current/tests/test-init-ipod.c
===================================================================
--- libgpod/branches/upstream/current/tests/test-init-ipod.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/tests/test-init-ipod.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -19,15 +19,15 @@
  *
  * This product is not supported/written/published by Apple!
  *
- * $Id: test-init-ipod.c,v 1.2 2006/05/30 14:09:44 jcsjcs Exp $
+ * $Id: test-init-ipod.c,v 1.4 2006/10/02 13:17:58 jcsjcs Exp $
  *
  */
 
 #include "itdb.h"
 
 #include <locale.h>
-#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <glib/gi18n-lib.h>
+#include <glib-object.h>
+#include <glib/gi18n.h>
 
 
 static void usage (const char *argv0)

Modified: libgpod/branches/upstream/current/tests/test-photos.c
===================================================================
--- libgpod/branches/upstream/current/tests/test-photos.c	2007-01-25 10:43:00 UTC (rev 165)
+++ libgpod/branches/upstream/current/tests/test-photos.c	2007-01-25 10:43:09 UTC (rev 166)
@@ -18,7 +18,7 @@
  *
  * This product is not supported/written/published by Apple!
  *
- * $Id: test-photos.c,v 1.4 2006/06/02 18:08:14 jcsjcs Exp $
+ * $Id: test-photos.c,v 1.12 2007/01/15 15:15:09 jcsjcs Exp $
  *
  */
 
@@ -31,6 +31,34 @@
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include <glib/gi18n-lib.h>
 
+static void usage (int argc, char **argv)
+{
+/*    gchar *name = argv[0];*/
+    gchar *name = "test-photos";
+
+    g_print (_("Usage to add photos:\n  %s add <mountpoint> <albumname> [<filename(s)>]\n  <albumname> should be set to 'NULL' to add photos to the master photo album\n  (Photo Library) only. If you don't specify any filenames an empty album will\n  be created.\n"), name);
+    g_print (_("Usage to dump all photos to <output_dir>:\n  %s dump <mountpoint> <output_dir>\n"), name);
+    g_print (_("Usage to list all photos IDs to stdout:\n  %s list <mountpoint>\n"), name);
+    g_print (_("Usage to remove photo IDs from Photo Library:\n  %s remove <mountpoint> <albumname> [<ID(s)>]\n  <albumname> should be set to 'NULL' to to remove photos from the iPod\n  altogether. If you don't specify any IDs, the photoalbum will be removed\n  instead.\n  WARNING: IDs may change when writing the PhotoDB file.\n"), name);
+}
+
+/* Retrieve the photo whose ID is @id */
+static Itdb_Artwork *get_photo_by_id (Itdb_PhotoDB *db, guint32 id)
+{
+    GList *gl;
+
+    g_return_val_if_fail (db, NULL);
+
+    for (gl=db->photos; gl; gl=gl->next)
+    {
+	Itdb_Artwork *photo = gl->data;
+	g_return_val_if_fail (photo, NULL);
+
+	if (photo->id == id) return photo;
+    }
+    return NULL;
+}
+
 static void
 save_itdb_thumb (Itdb_PhotoDB *itdb, Itdb_Thumb *thumb,
 		 const gchar *filename)
@@ -69,24 +97,6 @@
 }
 
 static void
-dump_artwork (Itdb_PhotoDB *db, gint photo_id,
-	      const gchar *album_name, const gchar *dir)
-{
-	GList *it;
-
-	for (it = db->photos; it != NULL; it = it->next) {
-		Itdb_Artwork *artwork;
-
-		artwork = (Itdb_Artwork *)it->data;
-		g_return_if_fail (artwork);
-		if( artwork->id == photo_id ) {
-			dump_thumbs (db, artwork, album_name, dir);
-			break;
-		}
-	}
-}
-
-static void
 dump_albums (Itdb_PhotoDB *db, const gchar *dir)
 {
 	GList *it;
@@ -99,92 +109,306 @@
 		g_return_if_fail (album);
 
 		for (it2 = album->members; it2 != NULL; it2 = it2->next) {
-		        gint photo_id = GPOINTER_TO_INT(it2->data);
-			dump_artwork (db, photo_id, album->name, dir);
+		        Itdb_Artwork *photo = it2->data;
+			dump_thumbs (db, photo, album->name, dir);
 		}
 	}
 }
 
-int
-main (int argc, char **argv)
+
+static int do_dump (int argc, char **argv)
 {
     GError *error = NULL;
     Itdb_PhotoDB *db;
+
+    if (argc != 4)
+    {
+	g_print (_("Wrong number of command line arguments.\n"));
+	usage (argc, argv);
+	return 1;
+    }
+
+    if (!g_file_test (argv[3], G_FILE_TEST_EXISTS))
+    {
+	if (mkdir (argv[3], 0777) == -1)
+	{
+	    g_print (_("Error creating '%s' (mkdir)\n"), argv[3]);
+	    return 1;
+	}
+    }
+    if (!g_file_test (argv[3], G_FILE_TEST_IS_DIR))
+    {
+	g_print (_("Error: '%s' is not a directory\n"), argv[3]);
+	return 1;
+    }
+
+    db = itdb_photodb_parse (argv[2], &error);
+    if (db == NULL)
+    {
+	if (error)
+	{
+	    g_print (_("Error reading iPod photo database (%s).\n"), error->message);
+	    g_error_free (error);
+	    error = NULL;
+	}
+	else
+	{
+	    g_print (_("Error reading iPod photo database.\n"));
+	}
+	return 1;
+    }
+    dump_albums (db, argv[3]);
+    itdb_photodb_free (db);
+    return 0;
+}
+
+static int do_list (int argc, char **argv)
+{
+    GError *error = NULL;
+    Itdb_PhotoDB *db;
+    GList *gl_album;
+
+
+    if (argc != 3)
+    {
+	g_print (_("Insufficient number of command line arguments.\n"));
+	usage (argc, argv);
+	return 1;
+    }
+
+    db = itdb_photodb_parse (argv[2], &error);
+    if (db == NULL)
+    {
+	if (error)
+	{
+	    g_print (_("Error reading iPod photo database (%s).\n"), error->message);
+	    g_error_free (error);
+	    error = NULL;
+	}
+	else
+	{
+	    g_print (_("Error reading iPod photo database.\n"));
+	}
+	return 1;
+    }
+
+    for (gl_album=db->photoalbums; gl_album; gl_album=gl_album->next)
+    {
+	GList *gl_photo;
+	Itdb_PhotoAlbum *album = gl_album->data;
+	g_return_val_if_fail (album, 1);
+
+	g_print ("%s: ", album->name?album->name:_("<Unnamed>"));
+
+	for (gl_photo=album->members; gl_photo; gl_photo=gl_photo->next)
+	{
+	    Itdb_Artwork *photo = gl_photo->data;
+	    g_return_val_if_fail (photo, 1);
+
+	    g_print ("%d ", photo->id);
+	}
+	if (g_list_length (album->members) > 0)
+	{
+	    g_print ("\n");
+	}
+	else
+	{
+	    g_print (_("<No members>\n"));
+	}
+    }
+    itdb_photodb_free (db);
+    return 0;
+}
+
+
+static int do_add (int argc, char **argv)
+{
+    GError *error = NULL;
+    Itdb_PhotoAlbum *album = NULL;
+    Itdb_PhotoDB *db;
     gint i; 
 
-    if (argc < 4) {
-	g_print (_("Usage to add photos:\n"));
-        g_print (_("%s <mountpoint> <albumname> <filename(s)>\n"), argv[0]);
-        g_print (_("albumname should be set to 'master' to add photos to the master photo album\n"));
-	g_print (_("\n"));
-	g_print (_("Usage to dump all photos to <output_dir>:\n"));
-	g_print (_("%s dump <mountpoint> <output_dir>\n"), argv[0]);
-        return 1;
+    if (argc < 4)
+    {
+	g_print (_("Insufficient number of command line arguments.\n"));
+	usage (argc, argv);
+	return 1;
     }
-    setlocale (LC_ALL, "");
-    g_type_init ();
 
-    if (strcmp (argv[1], "dump") == 0)
+    db = itdb_photodb_parse (argv[2], &error);
+    if (db == NULL)
     {
-	if (!g_file_test (argv[3], G_FILE_TEST_EXISTS))
+	if (error)
 	{
-	    if (mkdir (argv[3], 0777) == -1)
-	    {
-		g_print (_("Error creating '%s' (mkdir)\n"), argv[3]);
-		return 1;
-	    }
+	    g_print (_("Error reading iPod photo database (%s).\nWill attempt to create a new database.\n"), error->message);
+	    g_error_free (error);
+	    error = NULL;
 	}
-	if (!g_file_test (argv[3], G_FILE_TEST_IS_DIR))
+	else
 	{
-	    g_print (_("Error: '%s' is not a directory\n"), argv[3]);
-	    return 1;
+	    g_print (_("Error reading iPod photo database, will attempt to create a new database\n"));
 	}
+	db = itdb_photodb_create (argv[2]);
+    }
 
-	db = itdb_photodb_parse (argv[2], &error);
-	if (db == NULL)
+    /* Find or create specified photoalbum */
+    if (strcmp (argv[3], "NULL") != 0)
+    {
+	album = itdb_photodb_photoalbum_by_name (db, argv[3]);
+	if (!album)
 	{
+	    album = itdb_photodb_photoalbum_create (db, argv[3], -1);
+	}
+    }
+
+    for (i=4; i<argc; ++i)
+    {
+	Itdb_Artwork *photo;
+	
+	photo = itdb_photodb_add_photo (db, argv[i],
+					-1, GDK_PIXBUF_ROTATE_NONE, &error);
+	if (photo == NULL)
+	{
 	    if (error)
 	    {
-		g_print (_("Error reading iPod photo database (%s).\n"), error->message);
+		g_print (_("Error adding photo (%s) to photo database: %s\n"),
+			 argv[i], error->message);
 		g_error_free (error);
 		error = NULL;
 	    }
-	    else
+	}
+	else
+	{
+	    if (album)
 	    {
-		g_print (_("Error reading iPod photo database.\n"));
+		itdb_photodb_photoalbum_add_photo (db, album, photo, -1);
 	    }
+	}
+    }
+
+    itdb_photodb_write (db, NULL);
+    itdb_photodb_free (db);
+    return 0;
+}
+
+
+static int do_remove (int argc, char **argv)
+{
+    GError *error = NULL;
+    Itdb_PhotoDB *db;
+    Itdb_PhotoAlbum *album = NULL;
+
+    if (argc < 4)
+    {
+	g_print (_("Insufficient number of command line arguments.\n"));
+	usage (argc, argv);
+	return 1;
+    }
+
+    db = itdb_photodb_parse (argv[2], &error);
+    if (db == NULL)
+    {
+	if (error)
+	{
+	    g_print (_("Error reading iPod photo database (%s).\n"),
+		     error->message);
+	    g_error_free (error);
+	    error = NULL;
+	}
+	else
+	{
+	    g_print (_("Error reading iPod photo database"));
+	}
+	return 1;
+    }
+
+    /* Find specified photoalbum */
+    if (strcmp (argv[3], "NULL") != 0)
+    {
+	album = itdb_photodb_photoalbum_by_name (db, argv[3]);
+	if (!album)
+	{
+	    g_print (_("Specified album '%s' not found. Aborting.\n"),
+		     argv[3]);
+	    itdb_photodb_free (db);
 	    return 1;
 	}
-        dump_albums (db, argv[3]);
-	itdb_photodb_free (db);
     }
+
+    if (argc == 4)
+    {
+	/* Remove photoalbum altogether, but preserve pics */
+	if (album == NULL)
+	{
+	    g_print (_("Cannot remove Photo Library playlist. Aborting.\n"));
+	    itdb_photodb_free (db);
+	    return 1;
+	}
+	itdb_photodb_photoalbum_remove (db, album, FALSE);
+    }
     else
     {
-	db = itdb_photodb_parse (argv[1], &error);
-	if (db == NULL)
+	/* Remove specified pictures */
+	int i;
+	for (i=4; i<argc; ++i)
 	{
-	    if (error)
+	    Itdb_Artwork *photo;
+	    guint32 id;
+
+	    id = g_strtod (argv[i], NULL);
+
+	    photo = get_photo_by_id (db, id);
+
+	    if (photo == NULL)
 	    {
-		g_print (_("Error reading iPod photo database (%s).\nWill attempt to create a new database.\n"), error->message);
-		g_error_free (error);
-		error = NULL;
+		g_print (_("Warning: could not find photo with ID <%d>. Skipping...\n"),
+			 id);
 	    }
 	    else
 	    {
-		g_print (_("Error reading iPod photo database, will attempt to create a new database\n"));
+		itdb_photodb_remove_photo (db, album, photo);
 	    }
-	    db = itdb_photodb_new ();
-	    itdb_device_set_mountpoint (db->device, argv[1]);
 	}
-	for (i=3; i<argc; ++i)
-	{
-	    itdb_photodb_add_photo (db, argv[2], argv[i]);
-	}
-
-	itdb_photodb_write (db, NULL);
-	itdb_photodb_free (db);
     }
 
+    itdb_photodb_write (db, NULL);
+    itdb_photodb_free (db);
     return 0;
 }
 
+
+
+int
+main (int argc, char **argv)
+{
+    if (argc < 2)
+    {
+	g_print (_("Insufficient number of command line arguments.\n"));
+	usage (argc, argv);
+	return 1;
+    }
+    setlocale (LC_ALL, "");
+    g_type_init ();
+
+    if (strcmp (argv[1], "dump") == 0)
+    {
+	return do_dump (argc, argv);
+    }
+    if (strcmp (argv[1], "add") == 0)
+    {
+	return do_add (argc, argv);
+    }
+    if (strcmp (argv[1], "list") == 0)
+    {
+	return do_list (argc, argv);
+    }
+    if (strcmp (argv[1], "remove") == 0)
+    {
+	return do_remove (argc, argv);
+    }
+
+    g_print (_("Unknown command '%s'\n"), argv[1]);
+    usage (argc, argv);
+    return 1;
+}
+




More information about the Pkg-gtkpod-devel mailing list