rpms/mednafen/devel mednafen-0.9.19-gcc47.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 mednafen.spec, 1.14, 1.15 sources, 1.8, 1.9
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/mednafen/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25256
Modified Files:
.cvsignore mednafen.spec sources
Added Files:
mednafen-0.9.19-gcc47.patch
Log Message:
* Fri Feb 10 2012 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.9.19-0.1
- Updated to 0.9.19-WIP
- Dropped obsolete Group, Buildroot, %clean and %defattr
- Updated %description
mednafen-0.9.19-gcc47.patch:
0 files changed
--- NEW FILE mednafen-0.9.19-gcc47.patch ---
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/mednafen/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore 27 Nov 2011 13:28:47 -0000 1.8
+++ .cvsignore 10 Feb 2012 21:53:54 -0000 1.9
@@ -1 +1 @@
-mednafen-0.9.18-wip.tar.bz2
+mednafen-0.9.19-wip.tar.bz2
Index: mednafen.spec
===================================================================
RCS file: /cvs/nonfree/rpms/mednafen/devel/mednafen.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- mednafen.spec 8 Feb 2012 23:44:22 -0000 1.14
+++ mednafen.spec 10 Feb 2012 21:53:54 -0000 1.15
@@ -1,14 +1,13 @@
Name: mednafen
-Version: 0.9.18
-Release: 0.2%{?dist}
+Version: 0.9.19
+Release: 0.1%{?dist}
Summary: A multi-system emulator utilizing OpenGL and SDL
-Group: Applications/Emulators
#mednafen is a monstrosity build out of many emulators hence the colourful licensing
License: GPLv2+ and BSD and ISC and LGPLv2+ and MIT and zlib
URL: http://mednafen.sourceforge.net
#Get it here: http://forum.fobby.net/index.php?t=thread&frm_id=4
Source0: %{name}-%{version}-wip.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{_version}-%{release}-root-%(%{__id_u} -n)
+Patch0: %{name}-%{version}-gcc47.patch
BuildRequires: gettext
BuildRequires: pkgconfig >= 0.9.0
BuildRequires: SDL_net-devel >= 1.2.0
@@ -32,9 +31,11 @@
* SuperGrafx
* PC-FX
* WonderSwan (Color)
+* Sega Master System
* Sega Genesis
* Nintendo Virtual Boy
* Super NES
+* Sony PlayStation
Mednafen has the ability to remap hotkey functions and virtual system
inputs to a keyboard, a joystick or both simultaneously. Save states are
supported, as is real-time game rewinding. Screen snapshots may be taken at the
@@ -45,6 +46,7 @@
%prep
%setup -q -n %{name}
+%patch0 -p1 -b .gcc47
# Permission cleanups for debuginfo
find \( -name \*.c\* -or -name \*.h\* \) -exec chmod -x {} \;
@@ -66,18 +68,18 @@
%find_lang %{name}
-%clean
-rm -rf %{buildroot}
-
-
%files -f %{name}.lang
-%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/%{name}
%doc AUTHORS ChangeLog COPYING TODO Documentation/*
%changelog
+* Fri Feb 10 2012 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.9.19-0.1
+- Updated to 0.9.19-WIP
+- Dropped obsolete Group, Buildroot, %%clean and %%defattr
+- Updated %%description
+
* Thu Feb 09 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 0.9.18-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/mednafen/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources 27 Nov 2011 13:28:47 -0000 1.8
+++ sources 10 Feb 2012 21:53:54 -0000 1.9
@@ -1 +1 @@
-0327b3b0f8413f1ed446c4d8b9b897f0 mednafen-0.9.18-wip.tar.bz2
+64be12196aa02828539af677b0e2a66c mednafen-0.9.19-wip.tar.bz2
12 years, 9 months
rpms/openafs-kmod/F-15 .cvsignore, 1.5, 1.6 openafs-kmod.spec, 1.32, 1.33 sources, 1.8, 1.9
by Ken Dreyer
Author: ktdreyer
Update of /cvs/free/rpms/openafs-kmod/F-15
In directory se02.es.rpmfusion.net:/tmp/cvs-serv19840
Modified Files:
.cvsignore openafs-kmod.spec sources
Log Message:
* Fri Feb 10 2012 Ken Dreyer <ktdreyer(a)ktdreyer.com> - 1.6.1-0.pre2
- Update to OpenAFS 1.6.1 pre-release 2
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/openafs-kmod/F-15/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore 6 Jan 2012 23:54:26 -0000 1.5
+++ .cvsignore 10 Feb 2012 21:13:17 -0000 1.6
@@ -1 +1 @@
-openafs-1.6.1pre1-src.tar.bz2
+openafs-1.6.1pre2-src.tar.bz2
Index: openafs-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/openafs-kmod/F-15/openafs-kmod.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- openafs-kmod.spec 9 Feb 2012 21:01:29 -0000 1.32
+++ openafs-kmod.spec 10 Feb 2012 21:13:17 -0000 1.33
@@ -1,7 +1,5 @@
# (un)define the next line to either build for the newest or all current kernels
%define buildforkernels newest
-%define buildforkernels newest
-%define buildforkernels newest
# Define the OpenAFS sysname
%ifarch %{ix86}
@@ -19,13 +17,13 @@
%define kmod_name openafs
-%define pre pre1
+%define pre pre2
# name should have a -kmod suffix
Name: %{kmod_name}-kmod
Version: 1.6.1
-Release: 0.%{pre}%{?dist}.6
+Release: 0.%{pre}%{?dist}
Summary: Kernel module(s)
Group: System Environment/Kernel
@@ -98,6 +96,9 @@
%changelog
+* Fri Feb 10 2012 Ken Dreyer <ktdreyer(a)ktdreyer.com> - 1.6.1-0.pre2
+- Update to OpenAFS 1.6.1 pre-release 2
+
* Thu Feb 09 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1.6.1-0.pre1.6
- rebuild for updated kernel
Index: sources
===================================================================
RCS file: /cvs/free/rpms/openafs-kmod/F-15/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources 6 Jan 2012 23:54:26 -0000 1.8
+++ sources 10 Feb 2012 21:13:17 -0000 1.9
@@ -1 +1 @@
-99a79608d68a7f087a1357d2f3ad2b01 openafs-1.6.1pre1-src.tar.bz2
+9715d40c4226d2bc119f139392b2f57b openafs-1.6.1pre2-src.tar.bz2
12 years, 9 months
rpms/openafs/F-15 .cvsignore, 1.6, 1.7 openafs.spec, 1.18, 1.19 sources, 1.9, 1.10 openafs-1.6.0-setserverprefs.patch, 1.1, NONE openafs-1.6.0-xstat-cm-test.patch, 1.1, NONE
by Ken Dreyer
Author: ktdreyer
Update of /cvs/free/rpms/openafs/F-15
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15927
Modified Files:
.cvsignore openafs.spec sources
Removed Files:
openafs-1.6.0-setserverprefs.patch
openafs-1.6.0-xstat-cm-test.patch
Log Message:
* Wed Feb 08 2012 Ken Dreyer <ktdreyer(a)ktdreyer.com> 0:1.6.1-0.pre2
- Update to OpenAFS 1.6.1 pre-release 2
- Drop setserverprefs patch (merged in http://gerrit.openafs.org/5566)
- Drop xstat_cm_test patch (merged in http://gerrit.openafs.org/6386)
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/openafs/F-15/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 6 Jan 2012 23:50:41 -0000 1.6
+++ .cvsignore 10 Feb 2012 20:59:34 -0000 1.7
@@ -1,2 +1,2 @@
-openafs-1.6.1pre1-src.tar.bz2
-openafs-1.6.1pre1-doc.tar.bz2
+openafs-1.6.1pre2-src.tar.bz2
+openafs-1.6.1pre2-doc.tar.bz2
Index: openafs.spec
===================================================================
RCS file: /cvs/free/rpms/openafs/F-15/openafs.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- openafs.spec 16 Jan 2012 22:13:49 -0000 1.18
+++ openafs.spec 10 Feb 2012 20:59:34 -0000 1.19
@@ -10,12 +10,12 @@
%define sysname amd64_linux26
%endif
-%define pre pre1
+%define pre pre2
Summary: Enterprise Network File System
Name: openafs
Version: 1.6.1
-Release: 0.%{pre}.1%{?dist}
+Release: 0.%{pre}%{?dist}
License: IBM
Group: System Environment/Daemons
URL: http://www.openafs.org
@@ -32,10 +32,6 @@
Patch0: openafs-1.6.0-fPIC.patch
-# Already merged in master, awaiting 1.6.
-Patch1: openafs-1.6.0-setserverprefs.patch
-Patch2: openafs-1.6.0-xstat-cm-test.patch
-
%description
The AFS distributed filesystem. AFS is a distributed filesystem
allowing cross-platform sharing of files among multiple computers.
@@ -101,8 +97,6 @@
# This changes osconf.m4 to build with -fPIC on i386 and x86_64
%patch0
-# These patches are already merged in master.
-
# Convert the licese to UTF-8
mv src/LICENSE src/LICENSE~
iconv -f ISO-8859-1 -t UTF8 src/LICENSE~ > src/LICENSE
@@ -327,6 +321,11 @@
%{_datadir}/openafs/C/afszcm.cat
%changelog
+* Wed Feb 08 2012 Ken Dreyer <ktdreyer(a)ktdreyer.com> 0:1.6.1-0.pre2
+- Update to OpenAFS 1.6.1 pre-release 2
+- Drop setserverprefs patch (merged in http://gerrit.openafs.org/5566)
+- Drop xstat_cm_test patch (merged in http://gerrit.openafs.org/6386)
+
* Mon Jan 16 2012 Ken Dreyer <ktdreyer(a)ktdreyer.com> 0:1.6.1-0.pre1.1
- Log an error if we couldn't load the kernel module (RF BZ #2006)
- Fix setserverprefs for vlservers (http://gerrit.openafs.org/5465)
Index: sources
===================================================================
RCS file: /cvs/free/rpms/openafs/F-15/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources 6 Jan 2012 23:50:41 -0000 1.9
+++ sources 10 Feb 2012 20:59:34 -0000 1.10
@@ -1,2 +1,2 @@
-99a79608d68a7f087a1357d2f3ad2b01 openafs-1.6.1pre1-src.tar.bz2
-be0f3db9d12603684126c56a3aa4c613 openafs-1.6.1pre1-doc.tar.bz2
+9715d40c4226d2bc119f139392b2f57b openafs-1.6.1pre2-src.tar.bz2
+ecea0ca0c1669c2885f34cd7b2a1c4e2 openafs-1.6.1pre2-doc.tar.bz2
--- openafs-1.6.0-setserverprefs.patch DELETED ---
--- openafs-1.6.0-xstat-cm-test.patch DELETED ---
12 years, 9 months
rpms/k3b-extras-freeworld/F-16 k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch, NONE, 1.1 k3b-extras-freeworld.spec, 1.26, 1.27
by Rex Dieter
Author: rdieter
Update of /cvs/free/rpms/k3b-extras-freeworld/F-16
In directory se02.es.rpmfusion.net:/tmp/cvs-serv23820
Modified Files:
k3b-extras-freeworld.spec
Added Files:
k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch
Log Message:
* Fri Feb 10 2012 Rex Dieter <rdieter(a)fedoraproject.org> 1:2.0.2-4
- fix for newer FindFFMPEG.cmake
k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch:
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch ---
diff -up k3b-2.0.2/plugins/decoder/ffmpeg/CMakeLists.txt.ffmpeg k3b-2.0.2/plugins/decoder/ffmpeg/CMakeLists.txt
--- k3b-2.0.2/plugins/decoder/ffmpeg/CMakeLists.txt.ffmpeg 2011-01-15 14:47:29.000000000 -0600
+++ k3b-2.0.2/plugins/decoder/ffmpeg/CMakeLists.txt 2012-02-10 10:26:17.938144608 -0600
@@ -9,7 +9,7 @@ if(FFMPEG_INCLUDE_DIR_OLD_STYLE)
else(FFMPEG_INCLUDE_DIR_OLD_STYLE)
message(STATUS "found new ffmpegcodecpath")
add_definitions(-DNEWFFMPEGAVCODECPATH)
- include_directories (${FFMPEG_INCLUDE_DIR})
+ include_directories (${FFMPEG_INCLUDE_DIR} ${FFMPEG_INCLUDE_DIRS})
endif(FFMPEG_INCLUDE_DIR_OLD_STYLE)
set(k3bffmpegdecoder_PART_SRCS k3bffmpegdecoder.cpp k3bffmpegwrapper.cpp )
Index: k3b-extras-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/k3b-extras-freeworld/F-16/k3b-extras-freeworld.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- k3b-extras-freeworld.spec 29 Sep 2011 22:13:08 -0000 1.26
+++ k3b-extras-freeworld.spec 10 Feb 2012 17:24:16 -0000 1.27
@@ -3,19 +3,21 @@
Summary: Additional codec plugins for the k3b CD/DVD burning application
Epoch: 1
Version: 2.0.2
-Release: 2%{?dist}
+Release: 4%{?dist}
Group: Applications/Archiving
License: GPLv2+
URL: http://www.k3b.org/
Source0: http://downloads.sourceforge.net/sourceforge/k3b/k3b-%{version}%{?pre}.ta...
-# fix build with FFmpeg 0.8 (#1960)
-Patch1: k3b-2.0.2-ffmpeg08.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# TODO: bugzilla/document
ExcludeArch: s390 s390x
## upstreamable patches
+# fix build with FFmpeg 0.8 (#1960)
+Patch50: k3b-2.0.2-ffmpeg08.patch
+# kde-4.7+ FindFFMPEG.cmake uses FFMPEG_INCLUDE_DIRS (instead of FFMPEG_INCLUDE_DIR)
+Patch51: k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch
BuildRequires: cmake
BuildRequires: flac-devel
@@ -48,7 +50,9 @@
%prep
%setup -q -n k3b-%{version}
-%patch1 -p1 -b .ffmpeg08
+
+%patch50 -p1 -b .ffmpeg08
+%patch51 -p1 -b .FFMPEG_INCLUDE_DIRS
%build
@@ -92,6 +96,12 @@
%changelog
+* Fri Feb 10 2012 Rex Dieter <rdieter(a)fedoraproject.org> 1:2.0.2-4
+- fix for newer FindFFMPEG.cmake
+
+* Wed Feb 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1:2.0.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
* Thu Sep 29 2011 Kevin Kofler <Kevin(a)tigcc.ticalc.org> - 1:2.0.2-2
- fix build with FFmpeg 0.8 (#1960)
12 years, 9 months
rpms/k3b-extras-freeworld/devel k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch, NONE, 1.1 k3b-extras-freeworld.spec, 1.27, 1.28
by Rex Dieter
Author: rdieter
Update of /cvs/free/rpms/k3b-extras-freeworld/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv23634
Modified Files:
k3b-extras-freeworld.spec
Added Files:
k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch
Log Message:
* Fri Feb 10 2012 Rex Dieter <rdieter(a)fedoraproject.org> 1:2.0.2-4
- fix for newer FindFFMPEG.cmake
k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch:
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch ---
diff -up k3b-2.0.2/plugins/decoder/ffmpeg/CMakeLists.txt.ffmpeg k3b-2.0.2/plugins/decoder/ffmpeg/CMakeLists.txt
--- k3b-2.0.2/plugins/decoder/ffmpeg/CMakeLists.txt.ffmpeg 2011-01-15 14:47:29.000000000 -0600
+++ k3b-2.0.2/plugins/decoder/ffmpeg/CMakeLists.txt 2012-02-10 10:26:17.938144608 -0600
@@ -9,7 +9,7 @@ if(FFMPEG_INCLUDE_DIR_OLD_STYLE)
else(FFMPEG_INCLUDE_DIR_OLD_STYLE)
message(STATUS "found new ffmpegcodecpath")
add_definitions(-DNEWFFMPEGAVCODECPATH)
- include_directories (${FFMPEG_INCLUDE_DIR})
+ include_directories (${FFMPEG_INCLUDE_DIR} ${FFMPEG_INCLUDE_DIRS})
endif(FFMPEG_INCLUDE_DIR_OLD_STYLE)
set(k3bffmpegdecoder_PART_SRCS k3bffmpegdecoder.cpp k3bffmpegwrapper.cpp )
Index: k3b-extras-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/k3b-extras-freeworld/devel/k3b-extras-freeworld.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- k3b-extras-freeworld.spec 8 Feb 2012 21:50:58 -0000 1.27
+++ k3b-extras-freeworld.spec 10 Feb 2012 17:23:17 -0000 1.28
@@ -3,19 +3,21 @@
Summary: Additional codec plugins for the k3b CD/DVD burning application
Epoch: 1
Version: 2.0.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Group: Applications/Archiving
License: GPLv2+
URL: http://www.k3b.org/
Source0: http://downloads.sourceforge.net/sourceforge/k3b/k3b-%{version}%{?pre}.ta...
-# fix build with FFmpeg 0.8 (#1960)
-Patch1: k3b-2.0.2-ffmpeg08.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# TODO: bugzilla/document
ExcludeArch: s390 s390x
## upstreamable patches
+# fix build with FFmpeg 0.8 (#1960)
+Patch50: k3b-2.0.2-ffmpeg08.patch
+# kde-4.7+ FindFFMPEG.cmake uses FFMPEG_INCLUDE_DIRS (instead of FFMPEG_INCLUDE_DIR)
+Patch51: k3b-2.0.2-FFMPEG_INCLUDE_DIRS.patch
BuildRequires: cmake
BuildRequires: flac-devel
@@ -48,7 +50,9 @@
%prep
%setup -q -n k3b-%{version}
-%patch1 -p1 -b .ffmpeg08
+
+%patch50 -p1 -b .ffmpeg08
+%patch51 -p1 -b .FFMPEG_INCLUDE_DIRS
%build
@@ -92,6 +96,9 @@
%changelog
+* Fri Feb 10 2012 Rex Dieter <rdieter(a)fedoraproject.org> 1:2.0.2-4
+- fix for newer FindFFMPEG.cmake
+
* Wed Feb 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1:2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years, 9 months
rpms/mythtv/F-15 mythtv-0.24.2-gcc47.patch,NONE,1.1
by Richard Shaw
Author: hobbes1069
Update of /cvs/free/rpms/mythtv/F-15
In directory se02.es.rpmfusion.net:/tmp/cvs-serv18880
Added Files:
mythtv-0.24.2-gcc47.patch
Log Message:
Add missing patch.
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>
12 years, 9 months
rpms/mythtv/F-15 99-mythbackend.rules, NONE, 1.1 mythfrontend.png, NONE, 1.1 mythtv-0.24.2-fixes.patch, NONE, 1.1 mythtv-setup.png, NONE, 1.1 branch, 1.1, 1.2 mythbackend.service, 1.2, 1.3 mythtv.spec, 1.85, 1.86 sources, 1.51, 1.52
by Richard Shaw
Author: hobbes1069
Update of /cvs/free/rpms/mythtv/F-15
In directory se02.es.rpmfusion.net:/tmp/cvs-serv18576
Modified Files:
branch mythbackend.service mythtv.spec sources
Added Files:
99-mythbackend.rules mythfrontend.png
mythtv-0.24.2-fixes.patch mythtv-setup.png
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).
--- NEW FILE 99-mythbackend.rules ---
# Do not edit this file, it will be overwritten on update
# If you need to make changes to this file create a copy in
# /etc/udev/rules.d first.
# This file is part of the packaging of MythTV
#
# MythTV is free software; view http://www.mythtv.org
# for more information.
#
# The purpose of this set of rules is to ensure that
# systemd will create device units that the backend
# startup can (optionally) wait on.
#
#
# Insure that systemd creates device units for capture devices
#
SUBSYSTEM=="video4linux", TAG+="systemd"
SUBSYSTEM=="dvb", TAG+="systemd"
SUBSYSTEM=="firewire", TAG+="systemd"
mythtv-0.24.2-fixes.patch:
avformatdecoder.cpp | 9 +++++++--
cc708decoder.cpp | 7 +++++++
cc708decoder.h | 1 +
eitfixup.h | 2 +-
recordinginfo.cpp | 7 ++++++-
5 files changed, 22 insertions(+), 4 deletions(-)
--- NEW FILE mythtv-0.24.2-fixes.patch ---
mythtv/libs/libmythtv/avformatdecoder.cpp | 9 +++++++--
mythtv/libs/libmythtv/cc708decoder.cpp | 7 +++++++
mythtv/libs/libmythtv/cc708decoder.h | 1 +
mythtv/libs/libmythtv/eitfixup.h | 2 +-
mythtv/libs/libmythtv/recordinginfo.cpp | 7 ++++++-
5 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
index 896ad11..655cfa8 100644
--- a/mythtv/libs/libmythtv/avformatdecoder.cpp
+++ b/mythtv/libs/libmythtv/avformatdecoder.cpp
@@ -2577,14 +2577,19 @@ void AvFormatDecoder::DecodeDTVCC(const uint8_t *buf, uint len)
{
uint cc_code = buf[2+(cur*3)];
bool cc_valid = cc_code & 0x04;
- if (!cc_valid)
- continue;
uint data1 = buf[3+(cur*3)];
uint data2 = buf[4+(cur*3)];
uint data = (data2 << 8) | data1;
uint cc_type = cc_code & 0x03;
+ if (!cc_valid)
+ {
+ if (cc_type >= 0x2)
+ ccd708->decode_cc_null();
+ continue;
+ }
+
if (cc_type <= 0x1) // EIA-608 field-1/2
{
if (cc608_good_parity(cc608_parity_table, data))
diff --git a/mythtv/libs/libmythtv/cc708decoder.cpp b/mythtv/libs/libmythtv/cc708decoder.cpp
index 4214772..4fe3bbf 100644
--- a/mythtv/libs/libmythtv/cc708decoder.cpp
+++ b/mythtv/libs/libmythtv/cc708decoder.cpp
@@ -62,6 +62,13 @@ void CC708Decoder::decode_cc_data(uint cc_type, uint data1, uint data2)
}
}
+void CC708Decoder::decode_cc_null(void)
+{
+ if (partialPacket.size && reader)
+ parse_cc_packet(reader, &partialPacket, last_seen);
+ partialPacket.size = 0;
+}
+
void CC708Decoder::services(uint seconds, bool seen[64]) const
{
time_t now = time(NULL);
diff --git a/mythtv/libs/libmythtv/cc708decoder.h b/mythtv/libs/libmythtv/cc708decoder.h
index 4a00073..2b403aa 100644
--- a/mythtv/libs/libmythtv/cc708decoder.h
+++ b/mythtv/libs/libmythtv/cc708decoder.h
@@ -32,6 +32,7 @@ class CC708Decoder
~CC708Decoder() {}
void decode_cc_data(uint cc_type, uint data1, uint data2);
+ void decode_cc_null(void);
/// \return Services seen in last few seconds as specified.
void services(uint seconds, bool[64]) const;
diff --git a/mythtv/libs/libmythtv/eitfixup.h b/mythtv/libs/libmythtv/eitfixup.h
index a724506..39f732a 100644
--- a/mythtv/libs/libmythtv/eitfixup.h
+++ b/mythtv/libs/libmythtv/eitfixup.h
@@ -134,8 +134,8 @@ class EITFixUp
const QRegExp m_ukYearColon;
const QRegExp m_ukExclusionFromSubtitle;
const QRegExp m_ukCompleteDots;
- const QRegExp m_ukQuotedSubtitle;
const QRegExp m_ukAllNew;
+ const QRegExp m_ukQuotedSubtitle;
const QRegExp m_comHemCountry;
const QRegExp m_comHemDirector;
const QRegExp m_comHemActor;
diff --git a/mythtv/libs/libmythtv/recordinginfo.cpp b/mythtv/libs/libmythtv/recordinginfo.cpp
index 3e2e7a9..9f90d97 100644
--- a/mythtv/libs/libmythtv/recordinginfo.cpp
+++ b/mythtv/libs/libmythtv/recordinginfo.cpp
@@ -518,7 +518,12 @@ void RecordingInfo::ApplyRecordStateChange(RecordingType newstate, bool save)
record->m_type = newstate;
if (save)
- record->Save();
+ {
+ if (newstate == kNotRecording)
+ record->Delete();
+ else
+ record->Save();
+ }
}
/** \fn RecordingInfo::ApplyRecordRecPriorityChange(int)
Index: branch
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-15/branch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- branch 24 May 2011 20:40:38 -0000 1.1
+++ branch 10 Feb 2012 16:41:09 -0000 1.2
@@ -1 +1 @@
-F-15
+F-16
Index: mythbackend.service
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-15/mythbackend.service,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mythbackend.service 21 Nov 2011 23:19:04 -0000 1.2
+++ mythbackend.service 10 Feb 2012 16:41:09 -0000 1.3
@@ -1,3 +1,34 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in
+# /etc/systemd/system
+
+# This file is part of the packaging of MythTV
+#
+# MythTV is free software; view http://www.mythtv.org
+# for more information.
+#
+# It is sometimes necessary to wait for a capture
+# device to finish (hot)plug initialization before
+# the backend starts. If this is necessary,
+# create a Wants and After entry for all the capture
+# devices that one wishes to wait to be created
+# before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns
+# into dev-some-thing.device). These normally should
+# be udev persistent filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename
+# discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a
+# device unit for the capture device, one must
+# insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev
+# rule file located in: /lib/udev/rules.d/99-mythbackend.rules
+
+
[Unit]
Description=MythTV backend service
After=network.target mysqld.service
Index: mythtv.spec
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-15/mythtv.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- mythtv.spec 22 Nov 2011 03:11:16 -0000 1.85
+++ mythtv.spec 10 Feb 2012 16:41:09 -0000 1.86
@@ -3,6 +3,7 @@
#
# by: Chris Petersen <rpm(a)forevermore.net>
# Jarod Wilson <jarod(a)wilsonet.com>
+# Richard Shaw <hobbes1069(a)gmail.com>
#
# Modified/Extended from the great work of:
# Axel Thimm <Axel.Thimm(a)ATrpms.net>
@@ -62,11 +63,19 @@
%define desktop_applications mythfrontend mythtv-setup
# The vendor name we should attribute the aforementioned entries to
-%define desktop_vendor RPMFusion
+%define desktop_vendor RPMFusion
# Git revision and branch ID
# 0.24 release: git tag v0.24.1
-%define _gitrev e89d6a9f7e
+%define _gitrev 40f3bae
+
+# Mythtv and plugins from github.com
+%global githash1 g4627dc9
+%global githash2 c239b59
+# Mythweb from github.com
+%global githash3 g946deb7
+%global githash4 28a6e31
+
%define branch fixes/0.24
#
@@ -78,17 +87,17 @@
Group: Applications/Multimedia
# Version/Release info
-Version: 0.24.1
+Version: 0.24.2
%if "%{branch}" == "master"
-Release: 0.1.git.%{_gitrev}%{?dist}
+Release: 0.1.git.%{_gitrev}%{?dist}
#Release: 0.1.rc1%{?dist}
%else
-Release: 5%{?dist}
+Release: 1%{?dist}
%endif
# The primary license is GPLv2+, but bits are borrowed from a number of
# projects... For a breakdown of the licensing, see PACKAGE-LICENSING.
-License: GPLv2+ and LGPLv2+ and LGPLv2 and (GPLv2 or QPL) and (GPLv2+ or LGPLv2+)
+License: GPLv2+ and LGPLv2+ and LGPLv2 and (GPLv2 or QPL) and (GPLv2+ or LGPLv2+)
################################################################################
@@ -130,11 +139,14 @@
################################################################################
-Source0: mythtv-%{version}.tar.bz2
-Source1: mythplugins-%{version}.tar.bz2
+#Source0: mythtv-%{version}.tar.bz2
+#Source1: mythplugins-%{version}.tar.bz2
+Source0: MythTV-%{name}-v%{version}-0-%{githash1}.tar.gz
+Source1: MythTV-mythweb-v%{version}-0-%{githash3}.tar.gz
Patch0: mythtv-%{version}-fixes.patch
-Patch1: mythplugins-%{version}-fixes.patch
-#Patch2: mythweb-%{version}-fixes.patch\
+#Patch1: mythplugins-%{version}-fixes.patch
+Patch2: mythtv-0.24.2-gcc47.patch
+
Source10: PACKAGE-LICENSING
Source101: mythbackend.sysconfig
Source102: mythbackend.init
@@ -145,6 +157,7 @@
Source108: mythtv-setup.png
Source109: mythtv-setup.desktop
Source110: mysql.txt
+Source111: 99-mythbackend.rules
Source401: mythweb.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -181,12 +194,8 @@
BuildRequires: freetype-devel >= 2
BuildRequires: gcc-c++
BuildRequires: mysql-devel >= 5
-%if 0%{?fedora} >= 14
BuildRequires: qt-webkit-devel
BuildRequires: qt-devel >= 4.4
-%else
-BuildRequires: qt4-devel >= 4.4
-%endif
BuildRequires: phonon-devel
BuildRequires: lm_sensors-devel
@@ -323,6 +332,8 @@
Requires: perl(Image::Size)
BuildRequires: perl(SOAP::Lite)
Requires: perl(SOAP::Lite)
+BuildRequires: perl(JSON)
+Requires: perl(JSON)
%endif
%if %{with_mythzoneminder}
@@ -348,11 +359,7 @@
Requires: mythtv-setup = %{version}-%{release}
Requires: perl-MythTV = %{version}-%{release}
Requires: python-MythTV = %{version}-%{release}
-
Requires: mythplugins = %{version}-%{release}
-# These are available via mythtv's built-in theme downloader now,
-# so lets not install them by default.
-#Requires: mythtv-themes = %{version}
Requires: mysql-server >= 5, mysql >= 5
# XMLTV is not yet packaged for rpmfusion
@@ -366,7 +373,7 @@
%description
MythTV provides a unified graphical interface for recording and viewing
-television programs. Refer to the mythtv package for more information.
+television programs. Refer to the mythtv package for more information.
There are also several add-ons and themes available. In order to facilitate
installations with smart/apt-get/yum and other related package
@@ -375,7 +382,7 @@
MythTV implements the following DVR features, and more, with a
unified graphical interface:
- - Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV.
+ - Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV.
- Video compression using RTjpeg or MPEG-4, and support for DVB and
hardware encoder cards/devices.
- Program listing retrieval using XMLTV
@@ -518,8 +525,8 @@
Requires: mythtv-common = %{version}-%{release}
Requires: mythtv-base-themes = %{version}
Provides: mythtv-frontend-api = %{mythfeapiver}
-Obsoletes: mythcontrols < %{version}-%{release}
-Provides: mythcontrols = %{version}-%{release}
+Obsoletes: mythcontrols < %{version}-%{release}
+Provides: mythcontrols = %{version}-%{release}
%description frontend
MythTV provides a unified graphical interface for recording and viewing
@@ -670,6 +677,7 @@
Requires: python >= 2.3.5
Requires: python-imaging
Requires: transcode >= 1.0.2
+Requires: m2vrequantiser
%description -n mytharchive
MythArchive is a new plugin for MythTV that lets you create DVDs from
@@ -839,7 +847,20 @@
################################################################################
%prep
-%setup -q -c -a 1
+#### MythWeb
+# Provided as a separate download so we deal with it here.
+%setup -q -T -b 1 -n MythTV-mythweb-%{githash4}
+
+# Fix up permissions for MythWeb
+ chmod -R g-w ./*
+
+# Remove execute bits from some php mythweb files
+# chmod -x mythweb/classes/*.php
+
+
+#### MythTV
+#setup -q -c -a 1
+%setup -q -n MythTV-%{name}-%{githash2}
# Replace static lib paths with %{_lib} so we build properly on x86_64
# systems, where the libs are actually in lib64.
@@ -849,10 +870,11 @@
grep -rlZ '/lib ' . | xargs -r0 sed -i -e 's,/lib ,/%{_lib} ,g'
fi
-##### MythTV
+%patch0 -p1 -b .mythtv
+#patch1 -p1 -b .mythplug
+%patch2 -p1 -b .gcc47
-cd mythtv-%{version}
-%patch0 -p2
+pushd mythtv
# Drop execute permissions on contrib bits, since they'll be %doc
find contrib/ -type f -exec chmod -x "{}" \;
@@ -879,14 +901,13 @@
sed -i -e 's,VENDOR_XVMC_LIBS="-lXvMCNVIDIA",VENDOR_XVMC_LIBS="-lXvMCNVIDIA -lXv",' configure
# On to mythplugins
-cd ..
+popd
+
##### MythPlugins
%if %{with_plugins}
-cd mythplugins-%{version}
-%patch1 -p2
-#patch2 -p1
+pushd mythplugins
# Fix /mnt/store -> /var/lib/mythmusic
cd mythmusic
@@ -898,16 +919,11 @@
sed -i -e 's,/share/Movies/dvd,%{_localstatedir}/lib/mythvideo,' mythvideo/globalsettings.cpp
cd ..
-# Fix up permissions for MythWeb
- cd mythweb
- chmod -R g-w ./*
- cd ..
+# And back to the compile root
+popd
+
-# Remove execute bits from some php mythweb files
- chmod -x mythweb/classes/*.php
-# And back to the compile root
-cd ..
%endif
@@ -916,7 +932,7 @@
%build
# First, we build MythTV
-cd mythtv-%{version}
+pushd mythtv
# Similar to 'percent' configure, but without {_target_platform} and
# {_exec_prefix} etc... MythTV no longer accepts the parameters that the
@@ -996,15 +1012,15 @@
make %{?_smp_mflags}
# Prepare to build the plugins
- cd ..
- mkdir temp
- temp=`pwd`/temp
- make -C mythtv-%{version} install INSTALL_ROOT=$temp
+ popd
+ mkdir fakeroot
+ temp=`pwd`/fakeroot
+ make -C mythtv install INSTALL_ROOT=$temp
export LD_LIBRARY_PATH=$temp%{_libdir}:$LD_LIBRARY_PATH
# Next, we build the plugins
%if %{with_plugins}
-cd mythplugins-%{version}
+pushd mythplugins
# Fix things up so they can find our "temp" install location for mythtv-libs
echo "QMAKE_PROJECT_DEPTH = 0" >> settings.pro
@@ -1082,7 +1098,7 @@
make %{?_smp_mflags}
- cd ..
+ popd
%endif
################################################################################
@@ -1093,7 +1109,7 @@
rm -rf %{buildroot}
# First, install MythTV
-cd mythtv-%{version}
+pushd mythtv
make install INSTALL_ROOT=%{buildroot}
@@ -1115,15 +1131,19 @@
# chmod +x %{buildroot}%{python_sitelib}/MythTV/Myth*.py
# mysql.txt and other config/init files
- install -m 644 %{SOURCE110} %{buildroot}%{_sysconfdir}/mythtv/
+ install -m 0644 %{SOURCE110} %{buildroot}%{_sysconfdir}/mythtv/
echo "# to be filled in by mythtv-setup" > %{buildroot}%{_sysconfdir}/mythtv/config.xml
%if 0%{?fedora} >= 16
- install -p -m 644 %{SOURCE104} %{buildroot}%{_unitdir}/
+ install -p -m 0644 %{SOURCE104} %{buildroot}%{_unitdir}/
+ # Install udev rules for devices that may initialize late in the boot
+ # process so they are available for mythbackend.
+ mkdir -p %{buildroot}/lib/udev/rules.d/
+ install -p -m 0644 %{SOURCE111} %{buildroot}/lib/udev/rules.d/
%else
- install -p -m 755 %{SOURCE102} %{buildroot}%{_sysconfdir}/init.d/mythbackend
- install -p -m 644 %{SOURCE101} %{buildroot}%{_sysconfdir}/sysconfig/mythbackend
+ install -p -m 0755 %{SOURCE102} %{buildroot}%{_sysconfdir}/init.d/mythbackend
+ install -p -m 0644 %{SOURCE101} %{buildroot}%{_sysconfdir}/sysconfig/mythbackend
%endif
- install -p -m 644 %{SOURCE103} %{buildroot}%{_sysconfdir}/logrotate.d/mythbackend
+ install -p -m 0644 %{SOURCE103} %{buildroot}%{_sysconfdir}/logrotate.d/mythbackend
# Desktop entries
mkdir -p %{buildroot}%{_datadir}/pixmaps
@@ -1143,11 +1163,11 @@
mkdir -p %{buildroot}%{_datadir}/mythtv/build/
install -p -m 644 settings.pro %{buildroot}%{_datadir}/mythtv/build/
- cd ..
+popd
# MythPlugins
%if %{with_plugins}
-cd mythplugins-%{version}
+pushd mythplugins
make install INSTALL_ROOT=%{buildroot}
@@ -1174,9 +1194,10 @@
ln -s ../../../../../%{_sysconfdir}/mythgame/ \
%{buildroot}%{_datadir}/mythtv/games/PC/gamelist.xml
%endif
+popd
%if %{with_mythweb}
- cd mythweb
+ pushd ../MythTV-mythweb-%{githash4}
mkdir -p %{buildroot}%{_datadir}/mythweb
cp -a * %{buildroot}%{_datadir}/mythweb/
mkdir -p %{buildroot}%{_datadir}/mythweb/{image_cache,php_sessions}
@@ -1185,11 +1206,10 @@
cp %{SOURCE401} %{buildroot}%{_sysconfdir}/httpd/conf.d/
# drop .htaccess file, settings handled in the above
rm -f %{buildroot}%{_datadir}/mythweb/data/.htaccess
- cd ..
+ popd
%endif
# And back to the build/install root
- cd ..
%endif
################################################################################
@@ -1209,10 +1229,10 @@
getent passwd mythtv >/dev/null || \
useradd -r -g mythtv -d %{_localstatedir}/lib/mythtv -s /sbin/nologin \
-c "mythbackend user" mythtv
-exit 0
# Make sure the mythtv user is in the audio and video group for existing
# or new installs.
usermod -a -G audio,video mythtv
+exit 0
%post backend
%if 0%{?fedora} >= 16
@@ -1274,16 +1294,16 @@
%files docs
%defattr(-,root,root,-)
-%doc mythtv-%{version}/README*
-%doc mythtv-%{version}/UPGRADING
-%doc mythtv-%{version}/AUTHORS
-%doc mythtv-%{version}/COPYING
-%doc mythtv-%{version}/FAQ
-%doc mythtv-%{version}/database mythtv-%{version}/keys.txt
-%doc mythtv-%{version}/docs/*.html mythtv-%{version}/docs/*.png
-%doc mythtv-%{version}/docs/*.txt
-%doc mythtv-%{version}/PACKAGE-LICENSING
-%doc mythtv-%{version}/contrib
+%doc mythtv/README*
+%doc mythtv/UPGRADING
+%doc mythtv/AUTHORS
+%doc mythtv/COPYING
+%doc mythtv/FAQ
+%doc mythtv/database mythtv/keys.txt
+%doc mythtv/docs/*.html mythtv/docs/*.png
+%doc mythtv/docs/*.txt
+%doc mythtv/PACKAGE-LICENSING
+%doc mythtv/contrib
%files common
%defattr(-,root,root,-)
@@ -1311,6 +1331,7 @@
%attr(-,mythtv,mythtv) %dir %{_localstatedir}/cache/mythtv
%if 0%{?fedora} >=16
%{_unitdir}/mythbackend.service
+/lib/udev/rules.d/99-mythbackend.rules
%else
%{_sysconfdir}/init.d/mythbackend
%config(noreplace) %{_sysconfdir}/sysconfig/mythbackend
@@ -1398,15 +1419,15 @@
%if %{with_plugins}
%files -n mythplugins
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/COPYING
+%doc mythplugins/COPYING
%if %{with_mytharchive}
%files -n mytharchive
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mytharchive/AUTHORS
-%doc mythplugins-%{version}/mytharchive/COPYING
-%doc mythplugins-%{version}/mytharchive/README
-%doc mythplugins-%{version}/mytharchive/TODO
+%doc mythplugins/mytharchive/AUTHORS
+%doc mythplugins/mytharchive/COPYING
+%doc mythplugins/mytharchive/README
+%doc mythplugins/mytharchive/TODO
%{_bindir}/mytharchivehelper
%{_libdir}/mythtv/plugins/libmytharchive.so
%{_datadir}/mythtv/archivemenu.xml
@@ -1418,9 +1439,9 @@
%if %{with_mythbrowser}
%files -n mythbrowser
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythbrowser/AUTHORS
-%doc mythplugins-%{version}/mythbrowser/COPYING
-%doc mythplugins-%{version}/mythbrowser/README
+%doc mythplugins/mythbrowser/AUTHORS
+%doc mythplugins/mythbrowser/COPYING
+%doc mythplugins/mythbrowser/README
%{_libdir}/mythtv/plugins/libmythbrowser.so
%{_datadir}/mythtv/i18n/mythbrowser_*.qm
%endif
@@ -1428,12 +1449,12 @@
%if %{with_mythgallery}
%files -n mythgallery
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythgallery/AUTHORS
-%doc mythplugins-%{version}/mythgallery/COPYING
-%doc mythplugins-%{version}/mythgallery/README
+%doc mythplugins/mythgallery/AUTHORS
+%doc mythplugins/mythgallery/COPYING
+%doc mythplugins/mythgallery/README
%{_libdir}/mythtv/plugins/libmythgallery.so
%{_datadir}/mythtv/i18n/mythgallery_*.qm
-%{_localstatedir}/lib/pictures
+%attr(-,mythtv,mythtv) %{_localstatedir}/lib/pictures
%endif
%if %{with_mythgame}
@@ -1453,9 +1474,9 @@
%if %{with_mythmusic}
%files -n mythmusic
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythmusic/AUTHORS
-%doc mythplugins-%{version}/mythmusic/COPYING
-%doc mythplugins-%{version}/mythmusic/README
+%doc mythplugins/mythmusic/AUTHORS
+%doc mythplugins/mythmusic/COPYING
+%doc mythplugins/mythmusic/README
%{_libdir}/mythtv/plugins/libmythmusic.so
%{_localstatedir}/lib/mythmusic
%{_datadir}/mythtv/musicmenu.xml
@@ -1466,9 +1487,9 @@
%if %{with_mythnews}
%files -n mythnews
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythnews/AUTHORS
-%doc mythplugins-%{version}/mythnews/COPYING
-%doc mythplugins-%{version}/mythnews/README
+%doc mythplugins/mythnews/AUTHORS
+%doc mythplugins/mythnews/COPYING
+%doc mythplugins/mythnews/README
%{_libdir}/mythtv/plugins/libmythnews.so
%{_datadir}/mythtv/mythnews
%{_datadir}/mythtv/i18n/mythnews_*.qm
@@ -1477,22 +1498,22 @@
%if %{with_mythvideo}
%files -n mythvideo
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythvideo/COPYING
-%doc mythplugins-%{version}/mythvideo/README*
+%doc mythplugins/mythvideo/COPYING
+%doc mythplugins/mythvideo/README*
%{_libdir}/mythtv/plugins/libmythvideo.so
%{_datadir}/mythtv/mythvideo
%{_datadir}/mythtv/i18n/mythvideo_*.qm
%{_datadir}/mythtv/video_settings.xml
%{_datadir}/mythtv/videomenu.xml
-%{_localstatedir}/lib/mythvideo
+%attr(-,mythtv,mythtv) %{_localstatedir}/lib/mythvideo
%endif
%if %{with_mythweather}
%files -n mythweather
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythweather/AUTHORS
-%doc mythplugins-%{version}/mythweather/COPYING
-%doc mythplugins-%{version}/mythweather/README
+%doc mythplugins/mythweather/AUTHORS
+%doc mythplugins/mythweather/COPYING
+%doc mythplugins/mythweather/README
%{_libdir}/mythtv/plugins/libmythweather.so
%{_datadir}/mythtv/i18n/mythweather_*.qm
%{_datadir}/mythtv/weather_settings.xml
@@ -1503,7 +1524,8 @@
%if %{with_mythweb}
%files -n mythweb
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythweb/README
+%doc ../MythTV-mythweb-%{githash4}/README
+%doc ../MythTV-mythweb-%{githash4}/LICENSE
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mythweb.conf
%defattr(-,apache,apache,0775)
%dir %{_datadir}/mythweb
@@ -1522,9 +1544,9 @@
%if %{with_mythnetvision}
%files -n mythnetvision
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythnetvision/AUTHORS
-%doc mythplugins-%{version}/mythnetvision/ChangeLog
-%doc mythplugins-%{version}/mythnetvision/README
+%doc mythplugins/mythnetvision/AUTHORS
+%doc mythplugins/mythnetvision/ChangeLog
+%doc mythplugins/mythnetvision/README
%{_bindir}/mythfillnetvision
%{_libdir}/mythtv/plugins/libmythnetvision.so
%{_datadir}/mythtv/mythnetvision
@@ -1537,6 +1559,18 @@
################################################################################
%changelog
+* 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.
+- Fix ownership of mythtv directories.
+- Update to latest 0.24.1-fixes, git revision 40f3bae.
+
* Mon Nov 21 2011 Richard Shaw <hobbes1069(a)gmail.com> - 0.24.1-5
- Fix typo in spec file causing mythtv user to not be created (#2051).
- Change mythbackend systemd type to "simple" and other fixes (#2016).
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-15/sources,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- sources 17 May 2011 22:34:20 -0000 1.51
+++ sources 10 Feb 2012 16:41:09 -0000 1.52
@@ -1,4 +1,2 @@
-be3ab99952c2a3a135a7c4af90b08f15 mythfrontend.png
-be3ab99952c2a3a135a7c4af90b08f15 mythtv-setup.png
-6870c679619ec58456e76839745411d8 mythtv-0.24.1.tar.bz2
-3fbe948f05263000fb50ec20d89835b6 mythplugins-0.24.1.tar.bz2
+89473db072e917ece75ead18666cd912 MythTV-mythtv-v0.24.2-0-g4627dc9.tar.gz
+25420e68e1b5d35fb8a53a4ffc8258b7 MythTV-mythweb-v0.24.2-0-g946deb7.tar.gz
12 years, 9 months
rpms/mythtv/F-16 mythtv-0.24.2-fixes.patch,NONE,1.1
by Richard Shaw
Author: hobbes1069
Update of /cvs/free/rpms/mythtv/F-16
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11217
Added Files:
mythtv-0.24.2-fixes.patch
Log Message:
Add missing patch.
mythtv-0.24.2-fixes.patch:
avformatdecoder.cpp | 9 +++++++--
cc708decoder.cpp | 7 +++++++
cc708decoder.h | 1 +
eitfixup.h | 2 +-
recordinginfo.cpp | 7 ++++++-
5 files changed, 22 insertions(+), 4 deletions(-)
--- NEW FILE mythtv-0.24.2-fixes.patch ---
mythtv/libs/libmythtv/avformatdecoder.cpp | 9 +++++++--
mythtv/libs/libmythtv/cc708decoder.cpp | 7 +++++++
mythtv/libs/libmythtv/cc708decoder.h | 1 +
mythtv/libs/libmythtv/eitfixup.h | 2 +-
mythtv/libs/libmythtv/recordinginfo.cpp | 7 ++++++-
5 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
index 896ad11..655cfa8 100644
--- a/mythtv/libs/libmythtv/avformatdecoder.cpp
+++ b/mythtv/libs/libmythtv/avformatdecoder.cpp
@@ -2577,14 +2577,19 @@ void AvFormatDecoder::DecodeDTVCC(const uint8_t *buf, uint len)
{
uint cc_code = buf[2+(cur*3)];
bool cc_valid = cc_code & 0x04;
- if (!cc_valid)
- continue;
uint data1 = buf[3+(cur*3)];
uint data2 = buf[4+(cur*3)];
uint data = (data2 << 8) | data1;
uint cc_type = cc_code & 0x03;
+ if (!cc_valid)
+ {
+ if (cc_type >= 0x2)
+ ccd708->decode_cc_null();
+ continue;
+ }
+
if (cc_type <= 0x1) // EIA-608 field-1/2
{
if (cc608_good_parity(cc608_parity_table, data))
diff --git a/mythtv/libs/libmythtv/cc708decoder.cpp b/mythtv/libs/libmythtv/cc708decoder.cpp
index 4214772..4fe3bbf 100644
--- a/mythtv/libs/libmythtv/cc708decoder.cpp
+++ b/mythtv/libs/libmythtv/cc708decoder.cpp
@@ -62,6 +62,13 @@ void CC708Decoder::decode_cc_data(uint cc_type, uint data1, uint data2)
}
}
+void CC708Decoder::decode_cc_null(void)
+{
+ if (partialPacket.size && reader)
+ parse_cc_packet(reader, &partialPacket, last_seen);
+ partialPacket.size = 0;
+}
+
void CC708Decoder::services(uint seconds, bool seen[64]) const
{
time_t now = time(NULL);
diff --git a/mythtv/libs/libmythtv/cc708decoder.h b/mythtv/libs/libmythtv/cc708decoder.h
index 4a00073..2b403aa 100644
--- a/mythtv/libs/libmythtv/cc708decoder.h
+++ b/mythtv/libs/libmythtv/cc708decoder.h
@@ -32,6 +32,7 @@ class CC708Decoder
~CC708Decoder() {}
void decode_cc_data(uint cc_type, uint data1, uint data2);
+ void decode_cc_null(void);
/// \return Services seen in last few seconds as specified.
void services(uint seconds, bool[64]) const;
diff --git a/mythtv/libs/libmythtv/eitfixup.h b/mythtv/libs/libmythtv/eitfixup.h
index a724506..39f732a 100644
--- a/mythtv/libs/libmythtv/eitfixup.h
+++ b/mythtv/libs/libmythtv/eitfixup.h
@@ -134,8 +134,8 @@ class EITFixUp
const QRegExp m_ukYearColon;
const QRegExp m_ukExclusionFromSubtitle;
const QRegExp m_ukCompleteDots;
- const QRegExp m_ukQuotedSubtitle;
const QRegExp m_ukAllNew;
+ const QRegExp m_ukQuotedSubtitle;
const QRegExp m_comHemCountry;
const QRegExp m_comHemDirector;
const QRegExp m_comHemActor;
diff --git a/mythtv/libs/libmythtv/recordinginfo.cpp b/mythtv/libs/libmythtv/recordinginfo.cpp
index 3e2e7a9..9f90d97 100644
--- a/mythtv/libs/libmythtv/recordinginfo.cpp
+++ b/mythtv/libs/libmythtv/recordinginfo.cpp
@@ -518,7 +518,12 @@ void RecordingInfo::ApplyRecordStateChange(RecordingType newstate, bool save)
record->m_type = newstate;
if (save)
- record->Save();
+ {
+ if (newstate == kNotRecording)
+ record->Delete();
+ else
+ record->Save();
+ }
}
/** \fn RecordingInfo::ApplyRecordRecPriorityChange(int)
12 years, 9 months
rpms/mythtv/F-16 99-mythbackend.rules, NONE, 1.1 mythfrontend.png, NONE, 1.1 mythtv-0.24.2-gcc47.patch, NONE, 1.1 mythtv-setup.png, NONE, 1.1 mythbackend.service, 1.2, 1.3 mythtv.spec, 1.86, 1.87 sources, 1.51, 1.52
by Richard Shaw
Author: hobbes1069
Update of /cvs/free/rpms/mythtv/F-16
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11002
Modified Files:
mythbackend.service mythtv.spec sources
Added Files:
99-mythbackend.rules mythfrontend.png
mythtv-0.24.2-gcc47.patch mythtv-setup.png
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).
--- NEW FILE 99-mythbackend.rules ---
# Do not edit this file, it will be overwritten on update
# If you need to make changes to this file create a copy in
# /etc/udev/rules.d first.
# This file is part of the packaging of MythTV
#
# MythTV is free software; view http://www.mythtv.org
# for more information.
#
# The purpose of this set of rules is to ensure that
# systemd will create device units that the backend
# startup can (optionally) wait on.
#
#
# Insure that systemd creates device units for capture devices
#
SUBSYSTEM=="video4linux", TAG+="systemd"
SUBSYSTEM=="dvb", TAG+="systemd"
SUBSYSTEM=="firewire", TAG+="systemd"
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: mythbackend.service
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-16/mythbackend.service,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mythbackend.service 21 Nov 2011 21:13:57 -0000 1.2
+++ mythbackend.service 10 Feb 2012 15:38:46 -0000 1.3
@@ -1,3 +1,34 @@
+# Do not edit this file, it will be replaced on update
+# If you need to make modifications to this unit file first make a copy in
+# /etc/systemd/system
+
+# This file is part of the packaging of MythTV
+#
+# MythTV is free software; view http://www.mythtv.org
+# for more information.
+#
+# It is sometimes necessary to wait for a capture
+# device to finish (hot)plug initialization before
+# the backend starts. If this is necessary,
+# create a Wants and After entry for all the capture
+# devices that one wishes to wait to be created
+# before the backend starts using the systemd
+# device name mangling names (/dev/some/thing turns
+# into dev-some-thing.device). These normally should
+# be udev persistent filename rules to avoid confusion.
+# See the MythTV wiki for udev persistent filename
+# discussions found at:
+# http://www.mythtv.org/wiki/Device_Filenames_and_udev
+#
+# In order to insure that systemd will create a
+# device unit for the capture device, one must
+# insure that udev will have the tag "systemd"
+# (i.e. add TAG+="systemd" to the udev rule).
+#
+# The MythTV package ships with a default udev
+# rule file located in: /lib/udev/rules.d/99-mythbackend.rules
+
+
[Unit]
Description=MythTV backend service
After=network.target mysqld.service
Index: mythtv.spec
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-16/mythtv.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- mythtv.spec 22 Nov 2011 03:10:37 -0000 1.86
+++ mythtv.spec 10 Feb 2012 15:38:46 -0000 1.87
@@ -3,6 +3,7 @@
#
# by: Chris Petersen <rpm(a)forevermore.net>
# Jarod Wilson <jarod(a)wilsonet.com>
+# Richard Shaw <hobbes1069(a)gmail.com>
#
# Modified/Extended from the great work of:
# Axel Thimm <Axel.Thimm(a)ATrpms.net>
@@ -62,11 +63,19 @@
%define desktop_applications mythfrontend mythtv-setup
# The vendor name we should attribute the aforementioned entries to
-%define desktop_vendor RPMFusion
+%define desktop_vendor RPMFusion
# Git revision and branch ID
# 0.24 release: git tag v0.24.1
-%define _gitrev e89d6a9f7e
+%define _gitrev 40f3bae
+
+# Mythtv and plugins from github.com
+%global githash1 g4627dc9
+%global githash2 c239b59
+# Mythweb from github.com
+%global githash3 g946deb7
+%global githash4 28a6e31
+
%define branch fixes/0.24
#
@@ -78,17 +87,17 @@
Group: Applications/Multimedia
# Version/Release info
-Version: 0.24.1
+Version: 0.24.2
%if "%{branch}" == "master"
-Release: 0.1.git.%{_gitrev}%{?dist}
+Release: 0.1.git.%{_gitrev}%{?dist}
#Release: 0.1.rc1%{?dist}
%else
-Release: 5%{?dist}
+Release: 1%{?dist}
%endif
# The primary license is GPLv2+, but bits are borrowed from a number of
# projects... For a breakdown of the licensing, see PACKAGE-LICENSING.
-License: GPLv2+ and LGPLv2+ and LGPLv2 and (GPLv2 or QPL) and (GPLv2+ or LGPLv2+)
+License: GPLv2+ and LGPLv2+ and LGPLv2 and (GPLv2 or QPL) and (GPLv2+ or LGPLv2+)
################################################################################
@@ -130,11 +139,14 @@
################################################################################
-Source0: mythtv-%{version}.tar.bz2
-Source1: mythplugins-%{version}.tar.bz2
+#Source0: mythtv-%{version}.tar.bz2
+#Source1: mythplugins-%{version}.tar.bz2
+Source0: MythTV-%{name}-v%{version}-0-%{githash1}.tar.gz
+Source1: MythTV-mythweb-v%{version}-0-%{githash3}.tar.gz
Patch0: mythtv-%{version}-fixes.patch
-Patch1: mythplugins-%{version}-fixes.patch
-#Patch2: mythweb-%{version}-fixes.patch\
+#Patch1: mythplugins-%{version}-fixes.patch
+Patch2: mythtv-0.24.2-gcc47.patch
+
Source10: PACKAGE-LICENSING
Source101: mythbackend.sysconfig
Source102: mythbackend.init
@@ -145,6 +157,7 @@
Source108: mythtv-setup.png
Source109: mythtv-setup.desktop
Source110: mysql.txt
+Source111: 99-mythbackend.rules
Source401: mythweb.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -181,12 +194,8 @@
BuildRequires: freetype-devel >= 2
BuildRequires: gcc-c++
BuildRequires: mysql-devel >= 5
-%if 0%{?fedora} >= 14
BuildRequires: qt-webkit-devel
BuildRequires: qt-devel >= 4.4
-%else
-BuildRequires: qt4-devel >= 4.4
-%endif
BuildRequires: phonon-devel
BuildRequires: lm_sensors-devel
@@ -323,6 +332,8 @@
Requires: perl(Image::Size)
BuildRequires: perl(SOAP::Lite)
Requires: perl(SOAP::Lite)
+BuildRequires: perl(JSON)
+Requires: perl(JSON)
%endif
%if %{with_mythzoneminder}
@@ -348,11 +359,7 @@
Requires: mythtv-setup = %{version}-%{release}
Requires: perl-MythTV = %{version}-%{release}
Requires: python-MythTV = %{version}-%{release}
-
Requires: mythplugins = %{version}-%{release}
-# These are available via mythtv's built-in theme downloader now,
-# so lets not install them by default.
-#Requires: mythtv-themes = %{version}
Requires: mysql-server >= 5, mysql >= 5
# XMLTV is not yet packaged for rpmfusion
@@ -366,7 +373,7 @@
%description
MythTV provides a unified graphical interface for recording and viewing
-television programs. Refer to the mythtv package for more information.
+television programs. Refer to the mythtv package for more information.
There are also several add-ons and themes available. In order to facilitate
installations with smart/apt-get/yum and other related package
@@ -375,7 +382,7 @@
MythTV implements the following DVR features, and more, with a
unified graphical interface:
- - Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV.
+ - Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV.
- Video compression using RTjpeg or MPEG-4, and support for DVB and
hardware encoder cards/devices.
- Program listing retrieval using XMLTV
@@ -518,8 +525,8 @@
Requires: mythtv-common = %{version}-%{release}
Requires: mythtv-base-themes = %{version}
Provides: mythtv-frontend-api = %{mythfeapiver}
-Obsoletes: mythcontrols < %{version}-%{release}
-Provides: mythcontrols = %{version}-%{release}
+Obsoletes: mythcontrols < %{version}-%{release}
+Provides: mythcontrols = %{version}-%{release}
%description frontend
MythTV provides a unified graphical interface for recording and viewing
@@ -670,6 +677,7 @@
Requires: python >= 2.3.5
Requires: python-imaging
Requires: transcode >= 1.0.2
+Requires: m2vrequantiser
%description -n mytharchive
MythArchive is a new plugin for MythTV that lets you create DVDs from
@@ -839,7 +847,20 @@
################################################################################
%prep
-%setup -q -c -a 1
+#### MythWeb
+# Provided as a separate download so we deal with it here.
+%setup -q -T -b 1 -n MythTV-mythweb-%{githash4}
+
+# Fix up permissions for MythWeb
+ chmod -R g-w ./*
+
+# Remove execute bits from some php mythweb files
+# chmod -x mythweb/classes/*.php
+
+
+#### MythTV
+#setup -q -c -a 1
+%setup -q -n MythTV-%{name}-%{githash2}
# Replace static lib paths with %{_lib} so we build properly on x86_64
# systems, where the libs are actually in lib64.
@@ -849,10 +870,11 @@
grep -rlZ '/lib ' . | xargs -r0 sed -i -e 's,/lib ,/%{_lib} ,g'
fi
-##### MythTV
+%patch0 -p1 -b .mythtv
+#patch1 -p1 -b .mythplug
+%patch2 -p1 -b .gcc47
-cd mythtv-%{version}
-%patch0 -p2
+pushd mythtv
# Drop execute permissions on contrib bits, since they'll be %doc
find contrib/ -type f -exec chmod -x "{}" \;
@@ -879,14 +901,13 @@
sed -i -e 's,VENDOR_XVMC_LIBS="-lXvMCNVIDIA",VENDOR_XVMC_LIBS="-lXvMCNVIDIA -lXv",' configure
# On to mythplugins
-cd ..
+popd
+
##### MythPlugins
%if %{with_plugins}
-cd mythplugins-%{version}
-%patch1 -p2
-#patch2 -p1
+pushd mythplugins
# Fix /mnt/store -> /var/lib/mythmusic
cd mythmusic
@@ -898,16 +919,11 @@
sed -i -e 's,/share/Movies/dvd,%{_localstatedir}/lib/mythvideo,' mythvideo/globalsettings.cpp
cd ..
-# Fix up permissions for MythWeb
- cd mythweb
- chmod -R g-w ./*
- cd ..
+# And back to the compile root
+popd
+
-# Remove execute bits from some php mythweb files
- chmod -x mythweb/classes/*.php
-# And back to the compile root
-cd ..
%endif
@@ -916,7 +932,7 @@
%build
# First, we build MythTV
-cd mythtv-%{version}
+pushd mythtv
# Similar to 'percent' configure, but without {_target_platform} and
# {_exec_prefix} etc... MythTV no longer accepts the parameters that the
@@ -996,15 +1012,15 @@
make %{?_smp_mflags}
# Prepare to build the plugins
- cd ..
- mkdir temp
- temp=`pwd`/temp
- make -C mythtv-%{version} install INSTALL_ROOT=$temp
+ popd
+ mkdir fakeroot
+ temp=`pwd`/fakeroot
+ make -C mythtv install INSTALL_ROOT=$temp
export LD_LIBRARY_PATH=$temp%{_libdir}:$LD_LIBRARY_PATH
# Next, we build the plugins
%if %{with_plugins}
-cd mythplugins-%{version}
+pushd mythplugins
# Fix things up so they can find our "temp" install location for mythtv-libs
echo "QMAKE_PROJECT_DEPTH = 0" >> settings.pro
@@ -1082,7 +1098,7 @@
make %{?_smp_mflags}
- cd ..
+ popd
%endif
################################################################################
@@ -1093,7 +1109,7 @@
rm -rf %{buildroot}
# First, install MythTV
-cd mythtv-%{version}
+pushd mythtv
make install INSTALL_ROOT=%{buildroot}
@@ -1115,15 +1131,19 @@
# chmod +x %{buildroot}%{python_sitelib}/MythTV/Myth*.py
# mysql.txt and other config/init files
- install -m 644 %{SOURCE110} %{buildroot}%{_sysconfdir}/mythtv/
+ install -m 0644 %{SOURCE110} %{buildroot}%{_sysconfdir}/mythtv/
echo "# to be filled in by mythtv-setup" > %{buildroot}%{_sysconfdir}/mythtv/config.xml
%if 0%{?fedora} >= 16
- install -p -m 644 %{SOURCE104} %{buildroot}%{_unitdir}/
+ install -p -m 0644 %{SOURCE104} %{buildroot}%{_unitdir}/
+ # Install udev rules for devices that may initialize late in the boot
+ # process so they are available for mythbackend.
+ mkdir -p %{buildroot}/lib/udev/rules.d/
+ install -p -m 0644 %{SOURCE111} %{buildroot}/lib/udev/rules.d/
%else
- install -p -m 755 %{SOURCE102} %{buildroot}%{_sysconfdir}/init.d/mythbackend
- install -p -m 644 %{SOURCE101} %{buildroot}%{_sysconfdir}/sysconfig/mythbackend
+ install -p -m 0755 %{SOURCE102} %{buildroot}%{_sysconfdir}/init.d/mythbackend
+ install -p -m 0644 %{SOURCE101} %{buildroot}%{_sysconfdir}/sysconfig/mythbackend
%endif
- install -p -m 644 %{SOURCE103} %{buildroot}%{_sysconfdir}/logrotate.d/mythbackend
+ install -p -m 0644 %{SOURCE103} %{buildroot}%{_sysconfdir}/logrotate.d/mythbackend
# Desktop entries
mkdir -p %{buildroot}%{_datadir}/pixmaps
@@ -1143,11 +1163,11 @@
mkdir -p %{buildroot}%{_datadir}/mythtv/build/
install -p -m 644 settings.pro %{buildroot}%{_datadir}/mythtv/build/
- cd ..
+popd
# MythPlugins
%if %{with_plugins}
-cd mythplugins-%{version}
+pushd mythplugins
make install INSTALL_ROOT=%{buildroot}
@@ -1174,9 +1194,10 @@
ln -s ../../../../../%{_sysconfdir}/mythgame/ \
%{buildroot}%{_datadir}/mythtv/games/PC/gamelist.xml
%endif
+popd
%if %{with_mythweb}
- cd mythweb
+ pushd ../MythTV-mythweb-%{githash4}
mkdir -p %{buildroot}%{_datadir}/mythweb
cp -a * %{buildroot}%{_datadir}/mythweb/
mkdir -p %{buildroot}%{_datadir}/mythweb/{image_cache,php_sessions}
@@ -1185,11 +1206,10 @@
cp %{SOURCE401} %{buildroot}%{_sysconfdir}/httpd/conf.d/
# drop .htaccess file, settings handled in the above
rm -f %{buildroot}%{_datadir}/mythweb/data/.htaccess
- cd ..
+ popd
%endif
# And back to the build/install root
- cd ..
%endif
################################################################################
@@ -1209,10 +1229,10 @@
getent passwd mythtv >/dev/null || \
useradd -r -g mythtv -d %{_localstatedir}/lib/mythtv -s /sbin/nologin \
-c "mythbackend user" mythtv
-exit 0
# Make sure the mythtv user is in the audio and video group for existing
# or new installs.
usermod -a -G audio,video mythtv
+exit 0
%post backend
%if 0%{?fedora} >= 16
@@ -1274,16 +1294,16 @@
%files docs
%defattr(-,root,root,-)
-%doc mythtv-%{version}/README*
-%doc mythtv-%{version}/UPGRADING
-%doc mythtv-%{version}/AUTHORS
-%doc mythtv-%{version}/COPYING
-%doc mythtv-%{version}/FAQ
-%doc mythtv-%{version}/database mythtv-%{version}/keys.txt
-%doc mythtv-%{version}/docs/*.html mythtv-%{version}/docs/*.png
-%doc mythtv-%{version}/docs/*.txt
-%doc mythtv-%{version}/PACKAGE-LICENSING
-%doc mythtv-%{version}/contrib
+%doc mythtv/README*
+%doc mythtv/UPGRADING
+%doc mythtv/AUTHORS
+%doc mythtv/COPYING
+%doc mythtv/FAQ
+%doc mythtv/database mythtv/keys.txt
+%doc mythtv/docs/*.html mythtv/docs/*.png
+%doc mythtv/docs/*.txt
+%doc mythtv/PACKAGE-LICENSING
+%doc mythtv/contrib
%files common
%defattr(-,root,root,-)
@@ -1311,6 +1331,7 @@
%attr(-,mythtv,mythtv) %dir %{_localstatedir}/cache/mythtv
%if 0%{?fedora} >=16
%{_unitdir}/mythbackend.service
+/lib/udev/rules.d/99-mythbackend.rules
%else
%{_sysconfdir}/init.d/mythbackend
%config(noreplace) %{_sysconfdir}/sysconfig/mythbackend
@@ -1398,15 +1419,15 @@
%if %{with_plugins}
%files -n mythplugins
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/COPYING
+%doc mythplugins/COPYING
%if %{with_mytharchive}
%files -n mytharchive
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mytharchive/AUTHORS
-%doc mythplugins-%{version}/mytharchive/COPYING
-%doc mythplugins-%{version}/mytharchive/README
-%doc mythplugins-%{version}/mytharchive/TODO
+%doc mythplugins/mytharchive/AUTHORS
+%doc mythplugins/mytharchive/COPYING
+%doc mythplugins/mytharchive/README
+%doc mythplugins/mytharchive/TODO
%{_bindir}/mytharchivehelper
%{_libdir}/mythtv/plugins/libmytharchive.so
%{_datadir}/mythtv/archivemenu.xml
@@ -1418,9 +1439,9 @@
%if %{with_mythbrowser}
%files -n mythbrowser
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythbrowser/AUTHORS
-%doc mythplugins-%{version}/mythbrowser/COPYING
-%doc mythplugins-%{version}/mythbrowser/README
+%doc mythplugins/mythbrowser/AUTHORS
+%doc mythplugins/mythbrowser/COPYING
+%doc mythplugins/mythbrowser/README
%{_libdir}/mythtv/plugins/libmythbrowser.so
%{_datadir}/mythtv/i18n/mythbrowser_*.qm
%endif
@@ -1428,12 +1449,12 @@
%if %{with_mythgallery}
%files -n mythgallery
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythgallery/AUTHORS
-%doc mythplugins-%{version}/mythgallery/COPYING
-%doc mythplugins-%{version}/mythgallery/README
+%doc mythplugins/mythgallery/AUTHORS
+%doc mythplugins/mythgallery/COPYING
+%doc mythplugins/mythgallery/README
%{_libdir}/mythtv/plugins/libmythgallery.so
%{_datadir}/mythtv/i18n/mythgallery_*.qm
-%{_localstatedir}/lib/pictures
+%attr(-,mythtv,mythtv) %{_localstatedir}/lib/pictures
%endif
%if %{with_mythgame}
@@ -1453,9 +1474,9 @@
%if %{with_mythmusic}
%files -n mythmusic
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythmusic/AUTHORS
-%doc mythplugins-%{version}/mythmusic/COPYING
-%doc mythplugins-%{version}/mythmusic/README
+%doc mythplugins/mythmusic/AUTHORS
+%doc mythplugins/mythmusic/COPYING
+%doc mythplugins/mythmusic/README
%{_libdir}/mythtv/plugins/libmythmusic.so
%{_localstatedir}/lib/mythmusic
%{_datadir}/mythtv/musicmenu.xml
@@ -1466,9 +1487,9 @@
%if %{with_mythnews}
%files -n mythnews
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythnews/AUTHORS
-%doc mythplugins-%{version}/mythnews/COPYING
-%doc mythplugins-%{version}/mythnews/README
+%doc mythplugins/mythnews/AUTHORS
+%doc mythplugins/mythnews/COPYING
+%doc mythplugins/mythnews/README
%{_libdir}/mythtv/plugins/libmythnews.so
%{_datadir}/mythtv/mythnews
%{_datadir}/mythtv/i18n/mythnews_*.qm
@@ -1477,22 +1498,22 @@
%if %{with_mythvideo}
%files -n mythvideo
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythvideo/COPYING
-%doc mythplugins-%{version}/mythvideo/README*
+%doc mythplugins/mythvideo/COPYING
+%doc mythplugins/mythvideo/README*
%{_libdir}/mythtv/plugins/libmythvideo.so
%{_datadir}/mythtv/mythvideo
%{_datadir}/mythtv/i18n/mythvideo_*.qm
%{_datadir}/mythtv/video_settings.xml
%{_datadir}/mythtv/videomenu.xml
-%{_localstatedir}/lib/mythvideo
+%attr(-,mythtv,mythtv) %{_localstatedir}/lib/mythvideo
%endif
%if %{with_mythweather}
%files -n mythweather
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythweather/AUTHORS
-%doc mythplugins-%{version}/mythweather/COPYING
-%doc mythplugins-%{version}/mythweather/README
+%doc mythplugins/mythweather/AUTHORS
+%doc mythplugins/mythweather/COPYING
+%doc mythplugins/mythweather/README
%{_libdir}/mythtv/plugins/libmythweather.so
%{_datadir}/mythtv/i18n/mythweather_*.qm
%{_datadir}/mythtv/weather_settings.xml
@@ -1503,7 +1524,8 @@
%if %{with_mythweb}
%files -n mythweb
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythweb/README
+%doc ../MythTV-mythweb-%{githash4}/README
+%doc ../MythTV-mythweb-%{githash4}/LICENSE
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mythweb.conf
%defattr(-,apache,apache,0775)
%dir %{_datadir}/mythweb
@@ -1522,9 +1544,9 @@
%if %{with_mythnetvision}
%files -n mythnetvision
%defattr(-,root,root,-)
-%doc mythplugins-%{version}/mythnetvision/AUTHORS
-%doc mythplugins-%{version}/mythnetvision/ChangeLog
-%doc mythplugins-%{version}/mythnetvision/README
+%doc mythplugins/mythnetvision/AUTHORS
+%doc mythplugins/mythnetvision/ChangeLog
+%doc mythplugins/mythnetvision/README
%{_bindir}/mythfillnetvision
%{_libdir}/mythtv/plugins/libmythnetvision.so
%{_datadir}/mythtv/mythnetvision
@@ -1537,6 +1559,18 @@
################################################################################
%changelog
+* 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.
+- Fix ownership of mythtv directories.
+- Update to latest 0.24.1-fixes, git revision 40f3bae.
+
* Mon Nov 21 2011 Richard Shaw <hobbes1069(a)gmail.com> - 0.24.1-5
- Fix typo in spec file causing mythtv user to not be created (#2051).
- Change mythbackend systemd type to "simple" and other fixes (#2016).
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-16/sources,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- sources 17 May 2011 22:34:20 -0000 1.51
+++ sources 10 Feb 2012 15:38:46 -0000 1.52
@@ -1,4 +1,2 @@
-be3ab99952c2a3a135a7c4af90b08f15 mythfrontend.png
-be3ab99952c2a3a135a7c4af90b08f15 mythtv-setup.png
-6870c679619ec58456e76839745411d8 mythtv-0.24.1.tar.bz2
-3fbe948f05263000fb50ec20d89835b6 mythplugins-0.24.1.tar.bz2
+89473db072e917ece75ead18666cd912 MythTV-mythtv-v0.24.2-0-g4627dc9.tar.gz
+25420e68e1b5d35fb8a53a4ffc8258b7 MythTV-mythweb-v0.24.2-0-g946deb7.tar.gz
12 years, 9 months
rpms/k9copy/F-16 k9copy-2.3.8-mimetype.patch, NONE, 1.1 .cvsignore, 1.12, 1.13 k9copy.spec, 1.20, 1.21 sources, 1.12, 1.13 k9copy-2.3.5-mimetype.patch, 1.1, NONE
by Rex Dieter
Author: rdieter
Update of /cvs/free/rpms/k9copy/F-16
In directory se02.es.rpmfusion.net:/tmp/cvs-serv7962
Modified Files:
.cvsignore k9copy.spec sources
Added Files:
k9copy-2.3.8-mimetype.patch
Removed Files:
k9copy-2.3.5-mimetype.patch
Log Message:
sync w/devel for 2.3.8
k9copy-2.3.8-mimetype.patch:
k9copy.desktop | 4 ++--
k9copy_assistant.desktop | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE k9copy-2.3.8-mimetype.patch ---
diff -up k9copy-2.3.8-Source/k9copy_assistant.desktop.mimetype k9copy-2.3.8-Source/k9copy_assistant.desktop
--- k9copy-2.3.8-Source/k9copy_assistant.desktop.mimetype 2011-12-09 15:08:41.000000000 -0600
+++ k9copy-2.3.8-Source/k9copy_assistant.desktop 2012-02-10 09:01:12.717968602 -0600
@@ -14,9 +14,9 @@ GenericName[fr]=Backup de DVD Video
GenericName[tr]=DVD Vidyo Yedekleme Aracı
GenericName[ru]=Копирование с видео-DVD
GenericName[uk]=Копіювання відео-DVD
-MimeTypes=
+MimeType=
Terminal=false
Icon=k9copy
X-DocPath=k9copy/index.html
Categories=Qt;KDE;AudioVideo;DiscBurning;
-X-KDE-StartupNotify=true
\ No newline at end of file
+X-KDE-StartupNotify=true
diff -up k9copy-2.3.8-Source/k9copy.desktop.mimetype k9copy-2.3.8-Source/k9copy.desktop
--- k9copy-2.3.8-Source/k9copy.desktop.mimetype 2011-12-09 15:08:41.000000000 -0600
+++ k9copy-2.3.8-Source/k9copy.desktop 2012-02-10 09:01:02.330098511 -0600
@@ -14,9 +14,9 @@ GenericName[fr]=Backup de DVD Video
GenericName[tr]=DVD Vidyo Yedekleme Aracı
GenericName[ru]=Копирование с видео-DVD
GenericName[uk]=Копіювання відео-DVD
-MimeTypes=
+MimeType=
Terminal=false
Icon=k9copy
X-DocPath=k9copy/index.html
Categories=Qt;KDE;AudioVideo;DiscBurning;
-X-KDE-StartupNotify=true
\ No newline at end of file
+X-KDE-StartupNotify=true
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/k9copy/F-16/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- .cvsignore 29 Sep 2010 12:18:39 -0000 1.12
+++ .cvsignore 10 Feb 2012 15:15:37 -0000 1.13
@@ -1 +1 @@
-k9copy-2.3.6-Source.tar.gz
+k9copy-2.3.8-Source.tar.gz
Index: k9copy.spec
===================================================================
RCS file: /cvs/free/rpms/k9copy/F-16/k9copy.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- k9copy.spec 29 Sep 2010 12:18:40 -0000 1.20
+++ k9copy.spec 10 Feb 2012 15:15:37 -0000 1.21
@@ -1,6 +1,6 @@
Name: k9copy
-Version: 2.3.6
+Version: 2.3.8
Release: 1%{?dist}
Summary: Video DVD backup and creation program
Group: Applications/Multimedia
@@ -11,13 +11,15 @@
## upstreamable patches
# https://sourceforge.net/tracker/?func=detail&aid=3016058&group_id=157868&...
-Patch52: k9copy-2.3.5-mimetype.patch
+Patch52: k9copy-2.3.8-mimetype.patch
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: ffmpeg-devel
BuildRequires: gettext
+%if 0%{?fedora} && 0%{?fedora} < 16
BuildRequires: hal-devel
+%endif
BuildRequires: kdelibs4-devel
BuildRequires: libdvdread-devel
BuildRequires: libmpeg2-devel
@@ -29,8 +31,8 @@
Requires: dvdauthor
# Optional, not *strictly* required:
-Requires(hint): mencoder
-Requires(hint): mplayer
+Requires: mencoder
+Requires: mplayer
%description
Video DVD backup and creation program, features include:
@@ -62,7 +64,7 @@
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
-%find_lang %{name}
+%find_lang %{name} --with-kde
%check
@@ -97,11 +99,17 @@
%{_kde4_appsdir}/solid/actions/*.desktop
%{_kde4_datadir}/applications/kde4/k9copy.desktop
%{_kde4_datadir}/applications/kde4/k9copy_assistant.desktop
-%{_kde4_docdir}/HTML/en/k9copy/
%{_kde4_iconsdir}/hicolor/*/*/*
%changelog
+* Fri Feb 10 2012 Rex Dieter <rdieter(a)fedoraproject.org> 2.3.8-1
+- 2.3.8
+- drop use of Requires(hint)
+
+* Wed Feb 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 2.3.6-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
* Wed Sep 29 2010 Rex Dieter <rdieter(a)fedoraproject.org> 2.3.6-1
- k9copy-2.3.6
Index: sources
===================================================================
RCS file: /cvs/free/rpms/k9copy/F-16/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sources 29 Sep 2010 12:18:40 -0000 1.12
+++ sources 10 Feb 2012 15:15:37 -0000 1.13
@@ -1 +1 @@
-c062dcb141a0320afe9dae0d36f87965 k9copy-2.3.6-Source.tar.gz
+584f6cc50f28befbeb0d5c1ec9476456 k9copy-2.3.8-Source.tar.gz
--- k9copy-2.3.5-mimetype.patch DELETED ---
12 years, 9 months