- Fix SF.net Source0 URL

- Fix BTFS bug with patch from gentoo:
    https://bugzilla.redhat.com/show_bug.cgi?id=538931
This commit is contained in:
Till Maas 2010-01-15 08:14:18 +00:00
parent b6f96b68bd
commit 07c2eae99e
2 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,22 @@
--- recordmydesktop-0.3.8.1/src/rmd_getzpixmap.c 2008-12-13 17:04:10.000000000 +0100
+++ recordmydesktop-0.3.8.1/src/rmd_getzpixmap.c 2009-11-11 11:30:18.000000000 +0100
@@ -32,7 +32,7 @@
#include <X11/Xlib.h>
#include <X11/Xlibint.h>
-#include <X11/extensions/shmstr.h>
+#include <X11/extensions/shmproto.h>
#include <X11/extensions/XShm.h>
--- recordmydesktop-0.3.8.1/src/rmd_update_image.c 2008-12-13 17:20:49.000000000 +0100
+++ recordmydesktop-0.3.8.1/src/rmd_update_image.c 2009-11-11 11:30:34.000000000 +0100
@@ -32,7 +32,7 @@
#include "rmd_types.h"
#include <X11/Xlibint.h>
-#include <X11/extensions/shmstr.h>
+#include <X11/extensions/shmproto.h>
#include <X11/extensions/XShm.h>

View File

@ -1,12 +1,16 @@
Name: recordmydesktop
Version: 0.3.8.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Desktop session recorder with audio and video
Group: Applications/Multimedia
License: GPLv2+
URL: http://recordmydesktop.iovar.org/
Source0: http://dl.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz
Source0: http://downloads.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz
# from gentoo: http://bugs.gentoo.org/attachment.cgi?id=209904
# 2010-01-15: Bug with proposed fix already upstream:
# http://sourceforge.net/tracker/?func=detail&aid=2889699&group_id=172357&atid=861428
Patch0: recordmydesktop-shmstr.h-to-shmproto.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libXdamage-devel, libSM-devel
@ -27,6 +31,7 @@ exposes the program functionality in a usable way.
%prep
%setup -q
%patch0 -p1 -b .shmstr.h-to-shmproto.h
#chmod -x $RPM_BUILD_DIR/%{name}-%{version}/src/load_cache.c \
# $RPM_BUILD_DIR/%{name}-%{version}/include/rmdtypes.h \
@ -52,6 +57,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jan 15 2010 Till Maas <opensource@till.name> - 0.3.8.1-3
- Fix SF.net Source0 URL
- Fix BTFS bug with patch from gentoo: https://bugzilla.redhat.com/show_bug.cgi?id=538931
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild