Browse Source

Package no longer works and is abandoned upstream

main
Mat Booth 6 years ago
parent
commit
47b8daab4a
9 changed files with 1 additions and 320 deletions
  1. +0
    -5
      .gitignore
  2. +1
    -0
      dead.package
  3. +0
    -12
      recordmydesktop-ALSA-default.patch
  4. +0
    -32
      recordmydesktop-fix-configure-ac-jack-support.patch
  5. +0
    -48
      recordmydesktop-sane-theora-defaults.patch
  6. +0
    -22
      recordmydesktop-shmstr.h-to-shmproto.h.patch
  7. +0
    -35
      recordmydesktop-var-tmp.patch
  8. +0
    -165
      recordmydesktop.spec
  9. +0
    -1
      sources

+ 0
- 5
.gitignore View File

@@ -1,5 +0,0 @@
/recordmydesktop-0.3.8.1.tar.gz
/.project
/.build-*.log
/*.src.rpm
/x86_64

+ 1
- 0
dead.package View File

@@ -0,0 +1 @@
Package no longer works and is abandoned upstream

+ 0
- 12
recordmydesktop-ALSA-default.patch View File

@@ -1,12 +0,0 @@
diff -up recordmydesktop-0.3.8.1/src/rmd_types.h.ALSA-default recordmydesktop-0.3.8.1/src/rmd_types.h
--- recordmydesktop-0.3.8.1/src/rmd_types.h.ALSA-default 2010-01-15 10:23:33.774880012 +0100
+++ recordmydesktop-0.3.8.1/src/rmd_types.h 2010-01-15 10:23:55.973840192 +0100
@@ -39,7 +39,7 @@
#ifdef HAVE_LIBASOUND
#include <alsa/asoundlib.h>
- #define DEFAULT_AUDIO_DEVICE "hw:0,0"
+ #define DEFAULT_AUDIO_DEVICE "default"
#else
#include <sys/ioctl.h>
#include <sys/soundcard.h>

+ 0
- 32
recordmydesktop-fix-configure-ac-jack-support.patch View File

@@ -1,32 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 2de2f9e..c817753 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,7 @@ AC_CHECK_LIB([pthread],[pthread_mutex_lock],,
AC_MSG_ERROR([Can't find libpthread]))
if test x$jack = xtrue ; then
-AC_CHECK_LIB([jack],[jack_activate],jack_lib_found=true,)
+AC_CHECK_LIB([jack],[jack_activate],,)
fi
if test x$oss = xfalse; then
@@ -119,18 +119,12 @@ AC_OUTPUT
if test x$audio_backend != xOSS; then
audio_backend="ALSA"
fi
-if test x$jack_lib_found = xtrue ; then
- jack_support="Enabled"
-else
- jack_support="Disabled"
-fi
echo ""
echo ""
echo "****************************************"
echo ""
echo "Audio driver that will be used: $audio_backend"
echo ""
-echo "Compile with Jack support: $jack_support"
echo ""
echo "****************************************"
echo ""

+ 0
- 48
recordmydesktop-sane-theora-defaults.patch View File

@@ -1,48 +0,0 @@
--- recordmydesktop-0.3.8.1.old/src/rmd_initialize_data.c 2009-11-25 10:05:58.708779029 -0500
+++ recordmydesktop-0.3.8.1.old/src/rmd_initialize_data.c 2009-11-25 09:28:07.629507987 -0500
@@ -224,7 +224,7 @@
args->channels = 1;
args->frequency = 22050;
args->buffsize = 4096;
- args->v_bitrate = 45000;
+ args->v_bitrate = 0;
args->v_quality = 63;
args->s_quality = 10;
--- recordmydesktop-0.3.8.1.old/src/rmd_parseargs.c 2009-11-25 10:06:07.409777969 -0500
+++ recordmydesktop-0.3.8.1.old/src/rmd_parseargs.c 2009-11-25 09:39:32.786757292 -0500
@@ -104,10 +104,10 @@
"Encoding Options\n"
"\t--on-the-fly-encoding\tEncode the audio-video data, while recording.\n"
"\t--v_quality n\t\tA number from 0 to 63 for"
- " desired encoded video quality(default 63).\n"
+ " desired encoded video quality(default 63).\n\t (set quality to zero for bitrate controlled usage)\n"
- "\t--v_bitrate n\t\tA number from 45000 to 2000000"
- " for desired encoded video bitrate(default 45000).\n"
+ "\t--v_bitrate n\t\tA number from 0 to 200000000"
+ " for desired encoded video bitrate(default 0 = not rate controlled).\n"
"\t--s_quality n\t\tDesired audio quality(-1 to 10).\n\n"
@@ -327,17 +327,17 @@
strcmp(argv[i], "-v_bitrate") == 0) {
if(i+1<argc){
int num=atoi(argv[i+1]);
- if((num>=45000)&&(num<=2000000))
+ if((num>=0)&&(num<=200000000))
arg_return->v_bitrate=num;
else{
fprintf(stderr,"Argument Usage:"
- " --v_bitrate n(number 45000-2000000)\n");
+ " --v_bitrate n(number 0-200000000)\n");
return FALSE;
}
}
else{
fprintf(stderr,"Argument Usage:"
- " --v_bitrate n(number 45000-2000000)\n");
+ " --v_bitrate n(number 0-200000000)\n");
return FALSE;
}
i++;

+ 0
- 22
recordmydesktop-shmstr.h-to-shmproto.h.patch View File

@@ -1,22 +0,0 @@
--- 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>

+ 0
- 35
recordmydesktop-var-tmp.patch View File

@@ -1,35 +0,0 @@
--- src/rmd_initialize_data.c.orig 2015-04-03 10:40:24.785080213 +0100
+++ src/rmd_initialize_data.c 2015-04-03 10:41:04.064554483 +0100
@@ -239,8 +239,8 @@
args->device = (char *) malloc(strlen(DEFAULT_AUDIO_DEVICE) + 1);
strcpy(args->device, DEFAULT_AUDIO_DEVICE);
- args->workdir = (char *) malloc(5);
- strcpy(args->workdir, "/tmp");
+ args->workdir = (char *) malloc(9);
+ strcpy(args->workdir, "/var/tmp");
args->pause_shortcut = (char *) malloc(15);
strcpy(args->pause_shortcut, "Control+Mod1+p");
--- src/rmd_parseargs.c.orig 2015-04-03 10:43:47.311369535 +0100
+++ src/rmd_parseargs.c 2015-04-03 10:44:02.364168064 +0100
@@ -123,7 +123,7 @@
"\t--compress-cache\tImage data are cached with light compression.\n"
"\t--workdir DIR\t\tLocation where a temporary directory"
- " will be created to hold project files(default $HOME).\n"
+ " will be created to hold project files(default /var/tmp).\n"
"\t--delay n[H|h|M|m]\tNumber of secs(default),minutes or hours"
" before capture starts(number can be float)\n"
--- doc/recordmydesktop.1.orig 2015-04-03 10:45:20.907116818 +0100
+++ doc/recordmydesktop.1 2015-04-03 10:45:33.132953184 +0100
@@ -419,7 +419,7 @@
.TP
.B
\-\-workdir DIR
- Location where a temporary directory will be created to hold project files(default /tmp).
+ Location where a temporary directory will be created to hold project files(default /var/tmp).
.br
.TP
.B

+ 0
- 165
recordmydesktop.spec View File

@@ -1,165 +0,0 @@
Name: recordmydesktop
Version: 0.3.8.1
Release: 19%{?dist}
Summary: Desktop session recorder with audio and video

License: GPLv2+
URL: http://recordmydesktop.sourceforge.net/
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
# Use default Alsa device instead of hardcoded device:
# https://bugzilla.redhat.com/show_bug.cgi?id=538853
Patch1: recordmydesktop-ALSA-default.patch
# Use sane theora defaults
# https://bugzilla.redhat.com/show_bug.cgi?id=525155
Patch2: recordmydesktop-sane-theora-defaults.patch
# Fix jack support detection
# https://bugzilla.redhat.com/show_bug.cgi?id=554292
# Patch by debian
# 2010-01-15: patch submitted upstream:
# https://sourceforge.net/tracker/?func=detail&aid=2894861&group_id=172357&atid=861428
Patch3: recordmydesktop-fix-configure-ac-jack-support.patch
# Use /var/tmp by default for writing large files
# See http://fedoraproject.org/wiki/Features/tmp-on-tmpfs
Patch4: recordmydesktop-var-tmp.patch

BuildRequires: libXdamage-devel, libSM-devel
BuildRequires: libXext-devel
BuildRequires: alsa-lib-devel, zlib-devel
BuildRequires: libtheora-devel, libvorbis-devel, jack-audio-connection-kit-devel
Requires: jack-audio-connection-kit-example-clients


%description
recordMyDesktop is a desktop session recorder for linux that attempts to be
easy to use, yet also effective at it's primary task.

As such, the program is separated in two parts; a simple command line tool that
performs the basic tasks of capturing and encoding and an interface that
exposes the program functionality in a usable way.


%prep
%setup -q
# seems that shmstr.h was renamed to shmproto.h in Fedora 12
%if 0%{?fedora} >= 12
%patch0 -p1 -b .shmstr.h-to-shmproto.h
%endif
%patch1 -p1 -b .ALSA-default
%patch2 -p1 -b .sane-theora-defaults
%patch3 -p1 -b .fix-configure-ac-jack-support
%patch4

%build
# re-run autoreconf to add support for aarch64
autoreconf -i -f
%configure
make %{?_smp_mflags}

%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p"

%files
%doc AUTHORS COPYING README ChangeLog
%{_bindir}/*
%{_mandir}/man?/*


%changelog
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.1-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.1-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.1-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Fri Apr 03 2015 Mat Booth <mat.booth@redhat.com> - 0.3.8.1-14
- Use /var/tmp by default for writing large tmp files, rhbz#1060324
- http://fedoraproject.org/wiki/Features/tmp-on-tmpfs

* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Mon Apr 29 2013 Mat Booth <fedora@matbooth.co.uk> - 0.3.8.1-10
- Re-run autoreconf to add support for aarch64, rhbz #926435

* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Tue Feb 02 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.3.8.1-5
- update URL

* Fri Jan 15 2010 Till Maas <opensource@till.name> - 0.3.8.1-4
- fix jack support: https://bugzilla.redhat.com/show_bug.cgi?id=554292
- use default Alsa device: https://bugzilla.redhat.com/show_bug.cgi?id=538853
- use sane theora defaults: https://bugzilla.redhat.com/show_bug.cgi?id=525155
- apply patch0 only for F12 and higher

* 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

* Wed Apr 01 2009 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 0.3.8.1-1
- New upstream release

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.7.3-2
- fix license tag

* Wed May 28 2008 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 0.3.7.3-1
- New upstream release

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3.7-3
- Autorebuild for GCC 4.3

* Tue Jan 22 2008 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.7-2
- Add missing jack dependency
* Thu Jan 17 2008 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.7-1
- New upstream release
* Sun Dec 02 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.6-2
- Add jack support
* Sun Oct 21 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.6-1
- New version
- Update URL
* Sat Jun 02 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.4-1
- New version 0.3.4
* Mon Mar 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-3
- chmod +x on source files to make rpmlint happy
* Mon Mar 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-2
- Remove duplicate BR
- Add missing zlib-devel BR
- Preserve timestamps
* Sun Mar 04 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-1
- Initial build


+ 0
- 1
sources View File

@@ -1 +0,0 @@
6998b165540598965499bd99d8aa0eef recordmydesktop-0.3.8.1.tar.gz

Loading…
Cancel
Save