rpms/xmms-speex/devel speex-xmms-0.9.1-includes.patch, NONE, 1.1 xmms-speex.spec, 1.8, 1.9

Matthias Saou (thias) fedora-extras-commits at redhat.com
Mon Feb 19 10:08:07 UTC 2007


Author: thias

Update of /cvs/extras/rpms/xmms-speex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12228

Modified Files:
	xmms-speex.spec 
Added Files:
	speex-xmms-0.9.1-includes.patch 
Log Message:
Include patch to add new speex/ prefix to speex header files.


speex-xmms-0.9.1-includes.patch:

--- NEW FILE speex-xmms-0.9.1-includes.patch ---
diff -Naupr speex-xmms.orig/fileinfo.c speex-xmms/fileinfo.c
--- speex-xmms.orig/fileinfo.c	2003-05-23 14:03:39.000000000 +0200
+++ speex-xmms/fileinfo.c	2007-02-19 11:01:33.000000000 +0100
@@ -10,8 +10,8 @@
 #include <string.h>
 #include <gtk/gtk.h>
 #include <glib.h>
-#include <speex.h>
-#include <speex_header.h>
+#include <speex/speex.h>
+#include <speex/speex_header.h>
 #include <ogg/ogg.h>
 #include <sys/stat.h>
 
diff -Naupr speex-xmms.orig/http.c speex-xmms/http.c
--- speex-xmms.orig/http.c	2003-05-23 00:36:05.000000000 +0200
+++ speex-xmms/http.c	2007-02-19 11:02:08.000000000 +0100
@@ -37,7 +37,7 @@
 #include "xmms/util.h"
 #include "xmms/plugin.h"
 
-#include <speex.h>
+#include <speex/speex.h>
 #include "libspeex.h"
 
 
diff -Naupr speex-xmms.orig/libspeex.c speex-xmms/libspeex.c
--- speex-xmms.orig/libspeex.c	2003-08-03 17:33:11.000000000 +0200
+++ speex-xmms/libspeex.c	2007-02-19 11:02:35.000000000 +0100
@@ -22,10 +22,10 @@
 #include <strings.h>
 #include <string.h>
 
-#include <speex.h>
-#include <speex_header.h>
-#include <speex_callbacks.h>
-#include <speex_stereo.h>
+#include <speex/speex.h>
+#include <speex/speex_header.h>
+#include <speex/speex_callbacks.h>
+#include <speex/speex_stereo.h>
 
 #include <pthread.h>
 
diff -Naupr speex-xmms.orig/libspeex.h speex-xmms/libspeex.h
--- speex-xmms.orig/libspeex.h	2003-05-21 20:32:26.000000000 +0200
+++ speex-xmms/libspeex.h	2007-02-19 11:02:47.000000000 +0100
@@ -5,7 +5,7 @@
 #ifndef __LIBSPEEX_H__
 #define __LIBSPEEX_H__
 
-#include <speex.h>
+#include <speex/speex.h>
 #include <xmms/plugin.h>
 #include "speexutil.h"
 
diff -Naupr speex-xmms.orig/speexutil.c speex-xmms/speexutil.c
--- speex-xmms.orig/speexutil.c	2003-08-03 18:18:34.000000000 +0200
+++ speex-xmms/speexutil.c	2007-02-19 11:03:03.000000000 +0100
@@ -9,8 +9,8 @@
 #include <stdio.h>
 #include <string.h>
 #include <ogg/ogg.h>
-#include <speex.h>
-#include <speex_header.h>
+#include <speex/speex.h>
+#include <speex/speex_header.h>
 #include "speexutil.h"
 
 int speex_seek(FILE* spxfile, int time, char direction, int freq) {
diff -Naupr speex-xmms.orig/speexutil.h speex-xmms/speexutil.h
--- speex-xmms.orig/speexutil.h	2003-04-27 22:02:37.000000000 +0200
+++ speex-xmms/speexutil.h	2007-02-19 11:03:11.000000000 +0100
@@ -5,7 +5,7 @@
 #ifndef __SPEEXUTIL_H__
 #define __SPEEXUTIL_H__
 
-#include <speex_header.h>
+#include <speex/speex_header.h>
 
 typedef struct
 {


Index: xmms-speex.spec
===================================================================
RCS file: /cvs/extras/rpms/xmms-speex/devel/xmms-speex.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- xmms-speex.spec	28 Aug 2006 16:40:23 -0000	1.8
+++ xmms-speex.spec	19 Feb 2007 10:07:35 -0000	1.9
@@ -3,13 +3,14 @@
 Summary: X MultiMedia System input plugin to play speex files
 Name: xmms-speex
 Version: 0.9.1
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: GPL
 Group: Applications/Multimedia
 URL: http://jzb.rapanden.dk/projects/speex-xmms
 Source: http://jzb.rapanden.dk/pub/speex-xmms-%{version}.tar.gz
 Patch0: speex-xmms-0.9.1.patch
 Patch1: speex-xmms-0.9.1-gcc4.patch
+Patch2: speex-xmms-0.9.1-includes.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: xmms-devel, speex-devel, libogg-devel
 
@@ -22,6 +23,7 @@
 %setup -n speex-xmms
 %patch0 -p1
 %patch1 -p1 -b .gcc4
+%patch2 -p1 -b .includes
 
 
 %build
@@ -44,6 +46,9 @@
 
 
 %changelog
+* Mon Feb 19 2007 Matthias Saou <http://freshrpms.net/> 0.9.1-9
+- Include patch to add new speex/ prefix to speex header files.
+
 * Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 0.9.1-8
 - FC6 rebuild.
 




More information about the scm-commits mailing list