Hello community, here is the log from the commit of package gtkpod checked in at Tue Feb 6 00:01:32 CET 2007. -------- --- gtkpod/gtkpod.changes 2007-01-08 00:21:40.000000000 +0100 +++ /mounts/work_users/ro/STABLE/gtkpod/gtkpod.changes 2007-02-05 23:56:41.659609000 +0100 @@ -1,0 +2,5 @@ +Mon Feb 5 23:56:34 CET 2007 - ro@suse.de + +- fix build with current libgpod + +------------------------------------------------------------------- New: ---- gtkpod-mediatype.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtkpod.spec ++++++ --- /var/tmp/diff_new_pack.Gj9441/_old 2007-02-06 00:01:19.000000000 +0100 +++ /var/tmp/diff_new_pack.Gj9441/_new 2007-02-06 00:01:19.000000000 +0100 @@ -14,13 +14,14 @@ BuildRequires: gnutls-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libgpod-devel libid3tag-devel libstdc++-devel libwnck-devel mDNSResponder-devel update-desktop-files Summary: A platform independent GUI for the Apple� iPod� Version: 0.99.8 -Release: 26 +Release: 28 License: GNU General Public License (GPL) Group: Productivity/Multimedia/Sound/Utilities Source0: %name-%version.tar.bz2 Source1: %name.desktop Patch0: %name-pref.patch Patch1: %name-non_static_decl.patch +Patch2: gtkpod-mediatype.patch URL: http://gtkpod.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Autoreq: On @@ -45,6 +46,7 @@ %setup -q %patch %patch1 +%patch2 %build ./configure --prefix=%{_prefix} @@ -77,6 +79,8 @@ %_datadir/pixmaps/gtkpod.png %changelog -n gtkpod +* Mon Feb 05 2007 - ro@suse.de +- fix build with current libgpod * Mon Jan 08 2007 - ro@suse.de - GNOME moved to /usr * Mon Oct 23 2006 - hvogel@suse.de ++++++ gtkpod-mediatype.patch ++++++ --- src/file.c +++ src/file.c @@ -851,7 +851,7 @@ to->time_modified = from->time_modified; to->year = from->year; to->compilation = from->compilation; - to->unk208 = from->unk208; + to->mediatype = from->mediatype; to->lyrics_flag = from->lyrics_flag; to->movie_flag = from->movie_flag; } @@ -1069,25 +1069,25 @@ { case FILE_TYPE_MP3: nti = mp3_get_file_info (name); - /* Set unk208 to audio */ - if (nti) nti->unk208 = 0x00000001; + /* Set mediatype to audio */ + if (nti) nti->mediatype = 0x00000001; break; case FILE_TYPE_M4A: case FILE_TYPE_M4P: case FILE_TYPE_M4B: nti = mp4_get_file_info (name); - /* Set unk208 to audio */ + /* Set mediatype to audio */ if (nti) { - nti->unk208 = 0x00000001; + nti->mediatype = 0x00000001; } break; case FILE_TYPE_WAV: nti = wav_get_file_info (name); - /* Set unk208 to audio */ + /* Set mediatype to audio */ if (nti) { - nti->unk208 = 0x00000001; + nti->mediatype = 0x00000001; } break; case FILE_TYPE_M4V: @@ -1096,10 +1096,10 @@ this. Let's see if someone complains. */ nti = mp4_get_file_info (name); if (!nti) video_get_file_info (name); - /* Set unk208 to video */ + /* Set mediatype to video */ if (nti) { - nti->unk208 = 0x00000002; + nti->mediatype = 0x00000002; nti->movie_flag = 0x01; } break; @@ -1107,10 +1107,10 @@ case FILE_TYPE_MPG: /* for now treat all the same */ nti = video_get_file_info (name); - /* Set unk208 to video */ + /* Set mediatype to video */ if (nti) { - nti->unk208 = 0x00000002; + nti->mediatype = 0x00000002; nti->movie_flag = 0x01; } break; --- src/file_itunesdb.c +++ src/file_itunesdb.c @@ -589,9 +589,9 @@ track->has_artwork = 0x02; } - /* set unk208 to audio if unset (important only for iPod Video) */ - if (track->unk208 == 0) - track->unk208 = 0x00000001; + /* set mediatype to audio if unset (important only for iPod Video) */ + if (track->mediatype == 0) + track->mediatype = 0x00000001; /* restore deleted thumbnails */ if ((track->artwork->thumbnails == NULL) && (strlen (etr->thumb_path_locale) != 0)) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org