rpms/tagtool/F-10 tagtool-0.12.3-oga.patch, NONE, 1.1 tagtool.spec, 1.12, 1.13

Brian Pepple bpepple at fedoraproject.org
Fri Nov 28 18:54:32 UTC 2008


Author: bpepple

Update of /cvs/pkgs/rpms/tagtool/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32386

Modified Files:
	tagtool.spec 
Added Files:
	tagtool-0.12.3-oga.patch 
Log Message:
* Fri Nov 28 2008 Brian Pepple <bpepple at fedoraproject.org> - 0.12.3-5
- Add patch to support *.oga files.


tagtool-0.12.3-oga.patch:

--- NEW FILE tagtool-0.12.3-oga.patch ---
diff -urp tagtool-0.12.3.OLD/src/audio_file.c tagtool-0.12.3/src/audio_file.c
--- tagtool-0.12.3.OLD/src/audio_file.c	2006-12-17 13:01:22.000000000 -0500
+++ tagtool-0.12.3/src/audio_file.c	2008-11-28 13:11:27.000000000 -0500
@@ -23,7 +23,7 @@ int audio_file_new(audio_file **f, const
 #endif
 
 #ifdef ENABLE_VORBIS
-	if (fnmatch("*.[oO][gG][gG]", filename, FNM_NOESCAPE) == 0)
+	if (fnmatch("*.[oO][gG][aAgG]", filename, FNM_NOESCAPE) == 0)
 		return vorbis_file_new(f, filename, editable);
 #endif
 
diff -urp tagtool-0.12.3.OLD/src/file_list.c tagtool-0.12.3/src/file_list.c
--- tagtool-0.12.3.OLD/src/file_list.c	2006-12-17 13:01:22.000000000 -0500
+++ tagtool-0.12.3/src/file_list.c	2008-11-28 13:32:59.000000000 -0500
@@ -364,7 +364,7 @@ void load_file_list()
 		"*.[mM][pP][aA23]",
 #endif
 #ifdef ENABLE_VORBIS
-		"*.[oO][gG][gG]",
+		"*.[oO][gG][aAgG]",
 #endif
 		NULL
 	};


Index: tagtool.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tagtool/F-10/tagtool.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- tagtool.spec	9 Feb 2008 00:26:05 -0000	1.12
+++ tagtool.spec	28 Nov 2008 18:54:01 -0000	1.13
@@ -1,6 +1,6 @@
 Name:		tagtool
 Version:	0.12.3
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	Ogg Vorbis and MP3 tag manager
 
 Group:		Applications/Multimedia
@@ -9,6 +9,7 @@
 Source0:	http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
 Patch1:		%{name}-contents.patch
 Patch2:		%{name}-desktop.patch
+Patch3:		%{name}-0.12.3-oga.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	libglade2-devel
@@ -35,6 +36,7 @@
 %setup -q
 %patch1 -p1 -b .contents
 %patch2 -p1 -b .desktop
+%patch3 -p1 -b .oga
 
 
 %build
@@ -86,6 +88,9 @@
 
 
 %changelog
+* Fri Nov 28 2008 Brian Pepple <bpepple at fedoraproject.org> - 0.12.3-5
+- Add patch to support *.oga files.
+
 * Fri Feb  8 2008 Brian Pepple <bpepple at fedoraproject.org> - 0.12.3-4
 - Rebuild for gcc-4.3.
 




More information about the fedora-extras-commits mailing list