rpms/gtkpod/devel gtkpod-0.99.12-use-xdg-open.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 gtkpod.spec, 1.5, 1.6

Todd M. Zullinger (tmz) fedora-extras-commits at redhat.com
Tue Jun 10 15:39:34 UTC 2008


Author: tmz

Update of /cvs/pkgs/rpms/gtkpod/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26992

Modified Files:
	.cvsignore gtkpod.spec 
Added Files:
	gtkpod-0.99.12-use-xdg-open.patch 
Log Message:
* Tue Jun 10 2008 Todd Zullinger <tmz at pobox.com> - 0.99.12-3
- use xdg-open as default player (#449199)
  (patch from Debarshi Ray)
- update %description to include more complete model list


gtkpod-0.99.12-use-xdg-open.patch:

--- NEW FILE gtkpod-0.99.12-use-xdg-open.patch ---
diff -urNp gtkpod-0.99.12.orig/src/prefs.c gtkpod-0.99.12/src/prefs.c
--- gtkpod-0.99.12.orig/src/prefs.c	2007-12-18 10:07:43.000000000 +0530
+++ gtkpod-0.99.12/src/prefs.c	2008-06-08 13:13:48.000000000 +0530
@@ -180,8 +180,8 @@ static void set_default_preferences()
     prefs_set_int("delete_local_file", TRUE);
     prefs_set_int("delete_database", TRUE);
     prefs_set_string("initial_mountpoint", "/mnt/ipod");
-    prefs_set_string ("path_play_now", "xmms %s");
-    prefs_set_string ("path_play_enqueue", "xmms -e %s");
+    prefs_set_string ("path_play_now", "xdg-open %s");
+    prefs_set_string ("path_play_enqueue", "");
     prefs_set_string ("path_mserv_trackinfo_root", "/var/lib/mserv/trackinfo/");
 
     str = g_build_filename (SCRIPTDIR, "convert-ogg2mp3.sh", NULL);


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gtkpod/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	18 Dec 2007 05:58:36 -0000	1.4
+++ .cvsignore	10 Jun 2008 15:38:45 -0000	1.5
@@ -1 +1,3 @@
+*.rpm
+clog
 gtkpod-0.99.12.tar.gz


Index: gtkpod.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtkpod/devel/gtkpod.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- gtkpod.spec	12 Feb 2008 08:36:39 -0000	1.5
+++ gtkpod.spec	10 Jun 2008 15:38:45 -0000	1.6
@@ -7,6 +7,8 @@
 License:        GPLv2+
 URL:            http://www.gtkpod.org
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# https://bugzilla.redhat.com/449199
+Patch0:         gtkpod-0.99.12-use-xdg-open.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  curl-devel
@@ -26,15 +28,17 @@
 
 # some of the scripts in %{_datadir}/%{name}/scripts use which
 Requires:       which
+Requires:       xdg-utils
 
 %description
 gtkpod is a platform independent Graphical User Interface for Apple's
-iPod using GTK2. It supports the first to fifth Generation including
-the iPod mini, iPod Photo, iPod Shuffle, iPod nano, and iPod Video.
+iPod using GTK2. It supports all current iPod models, including
+the Mini, Photo, Shuffle, Nano, Video, Classic, Touch, and iPhone.
 
 
 %prep
 %setup -q
+%patch0 -p1 -b .use-xdg-open
 
 
 %build
@@ -83,6 +87,11 @@
 
 
 %changelog
+* Tue Jun 10 2008 Todd Zullinger <tmz at pobox.com> - 0.99.12-3
+- use xdg-open as default player (#449199)
+  (patch from Debarshi Ray)
+- update %%description to include more complete model list
+
 * Tue Feb 12 2008 Todd Zullinger <tmz at pobox.com> - 0.99.12-2
 - rebuild for gcc 4.3
 




More information about the fedora-extras-commits mailing list