Update to 0.7.94
This commit is contained in:
parent
6a78616ee4
commit
ad7ead062d
|
@ -1 +1,5 @@
|
||||||
libgpod-0.7.93.tar.gz
|
*~
|
||||||
|
*.rpm
|
||||||
|
*.tar.gz
|
||||||
|
/.build*.log
|
||||||
|
/libgpod-*/
|
||||||
|
|
|
@ -0,0 +1,50 @@
|
||||||
|
From d82d8c84ba9f1d0ec90ea3a252e614da01a2df9a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Chow Loong Jin <hyperair@ubuntu.com>
|
||||||
|
Date: Sat, 4 Sep 2010 16:51:35 +0200
|
||||||
|
Subject: [PATCH 1/2] [mono] fix dll name in dllmap
|
||||||
|
|
||||||
|
Correct the name of the dllmap from "libgpod" to "gpod", and remove
|
||||||
|
quotes from .so name
|
||||||
|
---
|
||||||
|
bindings/mono/libgpod-sharp/Makefile.am | 2 +-
|
||||||
|
.../mono/libgpod-sharp/libgpod-sharp.dll.config.in | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/bindings/mono/libgpod-sharp/Makefile.am b/bindings/mono/libgpod-sharp/Makefile.am
|
||||||
|
index 5663163..b3cd8c4 100644
|
||||||
|
--- a/bindings/mono/libgpod-sharp/Makefile.am
|
||||||
|
+++ b/bindings/mono/libgpod-sharp/Makefile.am
|
||||||
|
@@ -18,7 +18,7 @@ SOURCES = \
|
||||||
|
Thumbnail.cs \
|
||||||
|
Track.cs
|
||||||
|
|
||||||
|
-dlname := $(shell grep "^dlname=" $(top_builddir)/src/libgpod.la | sed "s/^dlname=\(.*\)/\1/g")
|
||||||
|
+dlname := $(shell grep "^dlname=" $(top_builddir)/src/libgpod.la | sed "s/^dlname='\(.*\)'/\1/g")
|
||||||
|
libgpod-sharp.dll.config: $(top_srcdir)/bindings/mono/libgpod-sharp/libgpod-sharp.dll.config.in
|
||||||
|
sed "s/@DLNAME@/$(dlname)/g" $< >$@
|
||||||
|
|
||||||
|
diff --git a/bindings/mono/libgpod-sharp/libgpod-sharp.dll.config.in b/bindings/mono/libgpod-sharp/libgpod-sharp.dll.config.in
|
||||||
|
index 01ad69a..cfa13ad 100644
|
||||||
|
--- a/bindings/mono/libgpod-sharp/libgpod-sharp.dll.config.in
|
||||||
|
+++ b/bindings/mono/libgpod-sharp/libgpod-sharp.dll.config.in
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
<configuration>
|
||||||
|
- <dllmap dll="libgpod" target="@DLNAME@"/>
|
||||||
|
+ <dllmap dll="gpod" target="@DLNAME@"/>
|
||||||
|
</configuration>
|
||||||
|
|
||||||
|
--
|
||||||
|
1.7.2.2
|
||||||
|
|
||||||
|
diff -up libgpod-0.7.94/bindings/mono/libgpod-sharp/Makefile.in.orig libgpod-0.7.94/bindings/mono/libgpod-sharp/Makefile.in
|
||||||
|
--- libgpod-0.7.94/bindings/mono/libgpod-sharp/Makefile.in.orig 2010-08-31 17:10:47.000000000 -0400
|
||||||
|
+++ libgpod-0.7.94/bindings/mono/libgpod-sharp/Makefile.in 2010-09-05 18:45:02.540553999 -0400
|
||||||
|
@@ -301,7 +301,7 @@ SOURCES = \
|
||||||
|
Thumbnail.cs \
|
||||||
|
Track.cs
|
||||||
|
|
||||||
|
-dlname := $(shell grep "^dlname=" $(top_builddir)/src/libgpod.la | sed "s/^dlname=\(.*\)/\1/g")
|
||||||
|
+dlname := $(shell grep "^dlname=" $(top_builddir)/src/libgpod.la | sed "s/^dlname='\(.*\)'/\1/g")
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libgpod-sharp.pc
|
||||||
|
EXTRAS = \
|
|
@ -0,0 +1,61 @@
|
||||||
|
From ed82695ebbc47de9f66e3cf7e78a71b16b32d58e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christophe Fergeau <teuf@gnome.org>
|
||||||
|
Date: Sat, 4 Sep 2010 17:59:37 +0200
|
||||||
|
Subject: [PATCH 2/2] Revert "Fix for creation of blank playlist on 80GB ipod video"
|
||||||
|
|
||||||
|
This reverts commit 1252bc0e18c396b2cb5e1bd5369f17403ca181aa.
|
||||||
|
|
||||||
|
On an iPod Video with 1.2.1 firmware:
|
||||||
|
- With 1252bc0, no songs, no videos, no playlists at
|
||||||
|
all (except the On-the-go playlist)
|
||||||
|
- Before 1252bc0, songs/videos/playlists are visible, but
|
||||||
|
there is an additional unnamed blank music playlist.
|
||||||
|
|
||||||
|
With latest firmware, none of these issues show up. The blank playlist
|
||||||
|
bug is better than the empty ipod bug, so let's revert to the earlier
|
||||||
|
behaviour and if someone encounters the blank playlist issue, we just
|
||||||
|
have to remember to tell him to update his firmware. For the record,
|
||||||
|
it seems only writing 4 mhsds on an iPod Video with firmware 1.2.1
|
||||||
|
avoids these 2 issues too.
|
||||||
|
---
|
||||||
|
src/itdb_itunesdb.c | 17 ++++++++---------
|
||||||
|
1 files changed, 8 insertions(+), 9 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
|
||||||
|
index e473fb2..5041676 100644
|
||||||
|
--- a/src/itdb_itunesdb.c
|
||||||
|
+++ b/src/itdb_itunesdb.c
|
||||||
|
@@ -5761,15 +5761,6 @@ static gboolean itdb_write_file_internal (Itdb_iTunesDB *itdb,
|
||||||
|
goto err;
|
||||||
|
}
|
||||||
|
|
||||||
|
- /* write albums (mhsd type 4) */
|
||||||
|
- if (!write_mhsd_albums (fexp)) {
|
||||||
|
- g_set_error (&fexp->error,
|
||||||
|
- ITDB_FILE_ERROR,
|
||||||
|
- ITDB_FILE_ERROR_ITDB_CORRUPT,
|
||||||
|
- _("Error writing list of albums (mhsd type 4)"));
|
||||||
|
- goto err;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
/* write special podcast version mhsd (mhsd type 3) */
|
||||||
|
if (!fexp->error && !write_mhsd_playlists (fexp, 3)) {
|
||||||
|
g_set_error (&fexp->error,
|
||||||
|
@@ -5787,6 +5778,14 @@ static gboolean itdb_write_file_internal (Itdb_iTunesDB *itdb,
|
||||||
|
goto err;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ /* write albums (mhsd type 4) */
|
||||||
|
+ if (!write_mhsd_albums (fexp)) {
|
||||||
|
+ g_set_error (&fexp->error,
|
||||||
|
+ ITDB_FILE_ERROR,
|
||||||
|
+ ITDB_FILE_ERROR_ITDB_CORRUPT,
|
||||||
|
+ _("Error writing list of albums (mhsd type 4)"));
|
||||||
|
+ goto err;
|
||||||
|
+ }
|
||||||
|
/* write artists (mhsd type 8) */
|
||||||
|
if (!fexp->error && !write_mhsd_artists (fexp)) {
|
||||||
|
g_set_error (&fexp->error,
|
||||||
|
--
|
||||||
|
1.7.2.2
|
||||||
|
|
19
libgpod.spec
19
libgpod.spec
|
@ -2,12 +2,16 @@
|
||||||
|
|
||||||
Summary: Library to access the contents of an iPod
|
Summary: Library to access the contents of an iPod
|
||||||
Name: libgpod
|
Name: libgpod
|
||||||
Version: 0.7.93
|
Version: 0.7.94
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtkpod.org/libgpod.html
|
URL: http://www.gtkpod.org/libgpod.html
|
||||||
Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
|
||||||
|
# http://gtkpod.git.sourceforge.net/git/gitweb.cgi?p=gtkpod/libgpod;a=commitdiff;h=d82d8c8
|
||||||
|
Patch0: 0001-mono-fix-dll-name-in-dllmap.patch
|
||||||
|
# http://gtkpod.git.sourceforge.net/git/gitweb.cgi?p=gtkpod/libgpod;a=commitdiff;h=ed82695
|
||||||
|
Patch1: 0002-Revert-Fix-for-creation-of-blank-playlist-on-80GB-ip.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
BuildRequires: docbook-style-xsl
|
BuildRequires: docbook-style-xsl
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
|
@ -79,13 +83,12 @@ libgpod library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
# remove execute perms on the python examples as they'll be installed in %doc
|
# remove execute perms on the python examples as they'll be installed in %%doc
|
||||||
chmod -x bindings/python/examples/*.py
|
chmod -x bindings/python/examples/*.py
|
||||||
|
|
||||||
# Persuade swig bindings to build against swig 2.0.0:
|
|
||||||
sed -i -e "s|SWIG_MIN_VERSION=1.3.24|SWIG_MIN_VERSION=2.0.0|" configure.ac
|
|
||||||
autoreconf
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --without-hal --enable-udev --with-temp-mount-dir=%{_localstatedir}/run/%{name}
|
%configure --without-hal --enable-udev --with-temp-mount-dir=%{_localstatedir}/run/%{name}
|
||||||
|
@ -138,11 +141,13 @@ rm -rf %{buildroot}
|
||||||
%defattr(-, root, root, 0755)
|
%defattr(-, root, root, 0755)
|
||||||
%doc COPYING bindings/python/README bindings/python/examples
|
%doc COPYING bindings/python/README bindings/python/examples
|
||||||
%{python_sitearch}/gpod
|
%{python_sitearch}/gpod
|
||||||
%exclude %{python_sitearch}/gpod/*.a
|
|
||||||
%exclude %{python_sitearch}/gpod/*.la
|
%exclude %{python_sitearch}/gpod/*.la
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 04 2010 Todd Zullinger <tmz@pobox.com> - 0.7.94-1
|
||||||
|
- Update to 0.7.94
|
||||||
|
|
||||||
* Mon Aug 23 2010 Todd Zullinger <tmz@pobox.com> - 0.7.93-4
|
* Mon Aug 23 2010 Todd Zullinger <tmz@pobox.com> - 0.7.93-4
|
||||||
- Own %%{_datadir}/gtk-doc rather than require gtk-doc (#604388)
|
- Own %%{_datadir}/gtk-doc rather than require gtk-doc (#604388)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue