Author: hobbes1069
Update of /cvs/free/rpms/mythtv/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv10192
Modified Files:
mythtv.spec
Added Files:
mythtv-0.24.2-gcc47.patch
Log Message:
* Mon Feb 06 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.24.2-1
- Update to latest version.
- Update mythbackend systemd service file for better compatibilty with devices
that take time to initialize due to firmware loading.
- Add dependency m2vrequantiser for mytharchive.
- Patched for building with gcc 4.7 (rawhide/Fedora 17).
mythtv-0.24.2-gcc47.patch:
libmyth/programinfoupdater.cpp | 2 ++
libmythdb/httpcomms.cpp | 2 ++
libmythdb/lcddevice.cpp | 1 +
libmythdb/mythdbcon.cpp | 1 +
libmythdb/mythdownloadmanager.cpp | 2 ++
libmythdb/mythsocket.cpp | 1 +
libmythdb/mythsocketthread.cpp | 1 +
libmythdb/remotefile.cpp | 1 +
libmythtv/audioinputoss.cpp | 1 +
libmythtv/privatedecoder_crystalhd.cpp | 2 ++
libmythui/mythrender_vdpau.cpp | 1 +
libmythupnp/upnpdevice.cpp | 1 +
libmythupnp/upnptasknotify.cpp | 1 +
libmythupnp/upnptasksearch.cpp | 1 +
14 files changed, 18 insertions(+)
--- NEW FILE mythtv-0.24.2-gcc47.patch ---
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmyth/programinfoupdater.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmyth/programinfoupdater.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmyth/programinfoupdater.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmyth/programinfoupdater.cpp 2012-02-03
15:53:44.175781694 -0600
@@ -1,3 +1,5 @@
+#include <unistd.h>
+
#include "programinfoupdater.h"
#include "remoteutil.h"
#include "compat.h"
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/httpcomms.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythdb/httpcomms.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/httpcomms.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythdb/httpcomms.cpp 2012-02-03
15:10:51.216678380 -0600
@@ -6,6 +6,8 @@
#include <QTimer>
#include <QFile>
+#include <unistd.h>
+
#include "mythverbose.h"
#include "compat.h"
#include "mcodecs.h"
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/lcddevice.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythdb/lcddevice.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/lcddevice.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythdb/lcddevice.cpp 2012-02-03
15:19:21.864852865 -0600
@@ -12,6 +12,7 @@
#include <cmath>
#include <fcntl.h>
#include <errno.h>
+#include <unistd.h>
# ifdef linux
# include <sys/vfs.h>
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythdbcon.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythdbcon.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythdbcon.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythdbcon.cpp 2012-02-03
15:01:32.298170616 -0600
@@ -1,5 +1,6 @@
// ANSI C
#include <cstdlib>
+#include <unistd.h>
// Qt
#include <QVector>
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythdownloadmanager.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythdownloadmanager.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythdownloadmanager.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythdownloadmanager.cpp 2012-02-03
15:26:50.633048610 -0600
@@ -6,6 +6,8 @@
#include <QDir>
#include <QThreadPool>
+#include <unistd.h>
+
// libmythdb
#include "stdlib.h"
#include "compat.h"
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythsocket.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythsocket.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythsocket.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythsocket.cpp 2012-02-03
14:56:48.362583594 -0600
@@ -2,6 +2,7 @@
#include <cstdlib>
#include <cassert>
#include <cerrno>
+#include <unistd.h>
#include "compat.h"
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythsocketthread.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythsocketthread.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/mythsocketthread.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythdb/mythsocketthread.cpp 2012-02-03
14:55:59.159214440 -0600
@@ -14,6 +14,7 @@
#include <sys/types.h> // for fnctl
#include <fcntl.h> // for fnctl
#include <errno.h> // for checking errno
+#include <unistd.h> // for read, write, close, pipe
#ifndef O_NONBLOCK
#define O_NONBLOCK 0 /* not actually supported in MINGW */
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/remotefile.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythdb/remotefile.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythdb/remotefile.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythdb/remotefile.cpp 2012-02-03
15:21:58.799677566 -0600
@@ -1,6 +1,7 @@
#include <iostream>
using namespace std;
+#include <unistd.h>
#include <QUrl>
#include "mythconfig.h"
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythtv/audioinputoss.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythtv/audioinputoss.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythtv/audioinputoss.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythtv/audioinputoss.cpp 2012-02-03
16:15:18.534727182 -0600
@@ -30,6 +30,7 @@
#include "audioinputoss.h"
#include "mythverbose.h"
#include <fcntl.h>
+#include <unistd.h>
#include <sys/ioctl.h>
#define LOC QString("AudioInOSS: ")
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythtv/privatedecoder_crystalhd.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythtv/privatedecoder_crystalhd.cpp
---
MythTV-mythtv-c239b59.orig/mythtv/libs/libmythtv/privatedecoder_crystalhd.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythtv/privatedecoder_crystalhd.cpp 2012-02-03
16:10:15.014854007 -0600
@@ -1,3 +1,5 @@
+#include <unistd.h>
+
#include "privatedecoder_crystalhd.h"
#include "myth_imgconvert.h"
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythui/mythrender_vdpau.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythui/mythrender_vdpau.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythui/mythrender_vdpau.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythui/mythrender_vdpau.cpp 2012-02-03
15:47:11.064749126 -0600
@@ -1,4 +1,5 @@
#include "math.h"
+#include <unistd.h>
#include <QSize>
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythupnp/upnpdevice.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythupnp/upnpdevice.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythupnp/upnpdevice.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythupnp/upnpdevice.cpp 2012-02-03
15:49:54.832347882 -0600
@@ -26,6 +26,7 @@
#include "httpcomms.h"
#include <cerrno>
+#include <unistd.h>
#include <QFile>
#include <QTextStream>
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythupnp/upnptasknotify.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythupnp/upnptasknotify.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythupnp/upnptasknotify.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythupnp/upnptasknotify.cpp 2012-02-03
15:40:38.383704757 -0600
@@ -23,6 +23,7 @@
// ANSI C headers
#include <cstdlib>
+#include <unistd.h>
// Qt headers
#include <QStringList>
diff -Naur MythTV-mythtv-c239b59.orig/mythtv/libs/libmythupnp/upnptasksearch.cpp
MythTV-mythtv-c239b59/mythtv/libs/libmythupnp/upnptasksearch.cpp
--- MythTV-mythtv-c239b59.orig/mythtv/libs/libmythupnp/upnptasksearch.cpp 2012-01-22
07:48:23.000000000 -0600
+++ MythTV-mythtv-c239b59/mythtv/libs/libmythupnp/upnptasksearch.cpp 2012-02-03
15:43:47.453462572 -0600
@@ -23,6 +23,7 @@
#include <compat.h>
#include <stdlib.h>
+#include <unistd.h>
#include <QStringList>
#include <QFile>
Index: mythtv.spec
===================================================================
RCS file: /cvs/free/rpms/mythtv/devel/mythtv.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- mythtv.spec 2 Feb 2012 03:36:03 -0000 1.86
+++ mythtv.spec 6 Feb 2012 14:01:18 -0000 1.87
@@ -145,6 +145,7 @@
Source1: MythTV-mythweb-v%{version}-0-%{githash3}.tar.gz
Patch0: mythtv-%{version}-fixes.patch
#Patch1: mythplugins-%{version}-fixes.patch
+Patch2: mythtv-0.24.2-gcc47.patch
Source10: PACKAGE-LICENSING
Source101: mythbackend.sysconfig
@@ -871,6 +872,7 @@
%patch0 -p1 -b .mythtv
#patch1 -p1 -b .mythplug
+%patch2 -p1 -b .gcc47
pushd mythtv
@@ -1557,11 +1559,12 @@
################################################################################
%changelog
-* Sun Jan 29 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.24.2-1
+* Mon Feb 06 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.24.2-1
- Update to latest version.
- Update mythbackend systemd service file for better compatibilty with devices
that take time to initialize due to firmware loading.
- Add dependency m2vrequantiser for mytharchive.
+- Patched for building with gcc 4.7 (rawhide/Fedora 17).
* Mon Dec 12 2011 Richard Shaw <hobbes1069(a)gmail.com> - 0.24.1-6
- Fix %%post to make sure group membership gets set for the mythtv user.
Show replies by date