import Record My Desktop (and gtk-frontend)

Recordmydesktop produces a file(default out.ogg) that contains a video
and audio recording of a desktop session. The default behavior of
recording is to mark areas that have changed(through libxdamage) and
update the frame.

with patch from bernd@ to make sound recording work.
This commit is contained in:
jasper 2008-07-04 21:15:23 +00:00
parent b3e53655d3
commit 52c07b36c9
15 changed files with 213 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/07/04 21:15:23 jasper Exp $
SUBDIR += base
SUBDIR += gtk
.include <bsd.port.subdir.mk>

View File

@ -0,0 +1,11 @@
CATEGORIES= multimedia x11
HOMEPAGE= http://recordmydesktop.iovar.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=recordmydesktop/}

View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/07/04 21:15:23 jasper Exp $
COMMENT= record desktop sessions to an Ogg-Theora-Vorbis file
DISTNAME= recordmydesktop-0.3.7.3
WANTLIB= ICE SM X11 Xdamage Xext Xfixes c m ogg ossaudio pthread z
LIB_DEPENDS= vorbis,vorbisfile,vorbisenc::audio/libvorbis \
theora::multimedia/libtheora
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-oss=yes \
--enable-jack=no
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -logg -lossaudio"
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (recordmydesktop-0.3.7.3.tar.gz) = cFcY9ThXgdoXuRUJch5BdA==
RMD160 (recordmydesktop-0.3.7.3.tar.gz) = tZGcWVvj3OKUfLrHafqTZcTQPd4=
SHA1 (recordmydesktop-0.3.7.3.tar.gz) = CzYD+GLqtxSuF8VUmS83pvnxGLc=
SHA256 (recordmydesktop-0.3.7.3.tar.gz) = K/38hdAwrCCRqqYKuI2HaCdOsIvKiWuExMjlRT0Ga3Y=
SIZE (recordmydesktop-0.3.7.3.tar.gz) = 186550

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-configure,v 1.1.1.1 2008/07/04 21:15:24 jasper Exp $
--- configure.orig Mon Jun 9 12:26:56 2008
+++ configure Mon Jun 9 12:27:27 2008
@@ -8087,13 +8087,13 @@ echo "$as_me: error: Can't find libtheora" >&2;}
fi
-{ echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
-echo $ECHO_N "checking for pthread_mutex_lock in -lpthread... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for pthread_mutex_lock in -pthread" >&5
+echo $ECHO_N "checking for pthread_mutex_lock in -pthread... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -8153,7 +8153,7 @@ if test $ac_cv_lib_pthread_pthread_mutex_lock = yes; t
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
else
{ { echo "$as_me:$LINENO: error: Can't find libpthread" >&5

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-include_rmdmacro_h,v 1.1.1.1 2008/07/04 21:15:24 jasper Exp $
--- include/rmdmacro.h.orig Tue Jun 17 13:46:57 2008
+++ include/rmdmacro.h Tue Jun 17 13:51:13 2008
@@ -102,7 +102,7 @@
#ifdef HAVE_LIBASOUND
#define DEFAULT_AUDIO_DEVICE "hw:0,0"
#else
- #define DEFAULT_AUDIO_DEVICE "/dev/dsp"
+ #define DEFAULT_AUDIO_DEVICE "/dev/audio"
#endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-include_rmdtypes_h,v 1.1.1.1 2008/07/04 21:15:24 jasper Exp $
--- include/rmdtypes.h.orig Mon Jun 9 13:47:32 2008
+++ include/rmdtypes.h Mon Jun 9 13:47:45 2008
@@ -68,7 +68,7 @@
#include <alsa/asoundlib.h>
#else
#include <sys/ioctl.h>
- #include <sys/soundcard.h>
+ #include <soundcard.h>
#endif
#ifdef HAVE_JACK_H

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_opendev_c,v 1.1.1.1 2008/07/04 21:15:24 jasper Exp $
--- src/opendev.c.orig Mon Jun 9 13:48:19 2008
+++ src/opendev.c Mon Jun 9 13:48:27 2008
@@ -41,7 +41,7 @@
#include <alsa/asoundlib.h>
#else
#include <sys/ioctl.h>
- #include <sys/soundcard.h>
+ #include <soundcard.h>
#endif
#ifdef HAVE_LIBASOUND

View File

@ -0,0 +1,4 @@
Recordmydesktop produces a file(default out.ogg) that contains a video
and audio recording of a desktop session. The default behavior of
recording is to mark areas that have changed(through libxdamage) and
update the frame.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/07/04 21:15:24 jasper Exp $
@bin bin/recordmydesktop
@man man/man1/recordmydesktop.1

View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/07/04 21:15:23 jasper Exp $
COMMENT= GTK frontend to recorMyDesktop
V= 0.3.7.2
DISTNAME= gtk-recordmydesktop-$V
PKGNAME= recordmydesktop-gtk-$V
BUILD_DEPENDS= ::x11/py-gtk2
RUN_DEPENDS= ::devel/desktop-file-utils \
::devel/gettext \
::multimedia/recordmydesktop/base \
::x11/py-gtk2
MODULES= lang/python \
textproc/intltool
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PYTHON="${MODPY_BIN}"
pre-configure:
perl -pi -e 's,!!PYTHON!!,${MODPY_BIN},' ${WRKSRC}/src/gtk-recordMyDesktop.in
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (gtk-recordmydesktop-0.3.7.2.tar.gz) = xv3Nmcqr6gQXCfXgCA4vbQ==
RMD160 (gtk-recordmydesktop-0.3.7.2.tar.gz) = MJs986HuYzHwOvvZRaA0LP9uHvQ=
SHA1 (gtk-recordmydesktop-0.3.7.2.tar.gz) = epKl5RlfeQLf+q6eQjP7T4ygxCY=
SHA256 (gtk-recordmydesktop-0.3.7.2.tar.gz) = DqLeHoyDVJJax+lH95jjS/kF/FgTDZ5gT8A2fOo2NZ4=
SIZE (gtk-recordmydesktop-0.3.7.2.tar.gz) = 195274

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-src_gtk-recordMyDesktop_in,v 1.1.1.1 2008/07/04 21:15:23 jasper Exp $
--- src/gtk-recordMyDesktop.in.orig Mon Jun 9 15:25:57 2008
+++ src/gtk-recordMyDesktop.in Mon Jun 9 15:26:17 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!!!PYTHON!!
#/*********************************************************************************

View File

@ -0,0 +1 @@
GTK-based frontend to recordMyDesktop.

View File

@ -0,0 +1,56 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/07/04 21:15:23 jasper Exp $
bin/gtk-recordMyDesktop
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/__init__.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/__init__.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdConfig.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdConfig.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdConfig.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdFrame.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdFrame.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdFrame.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdMonitor.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdMonitor.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdMonitor.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdPrefsWidget.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdPrefsWidget.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdPrefsWidget.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdSelect.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdSelect.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdSelect.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdSelectThumb.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdSelectThumb.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdSelectThumb.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdSimple.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdSimple.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdSimple.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdStrings.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdStrings.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdStrings.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdTrayIcon.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdTrayIcon.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdTrayIcon.pyo
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdTrayPopup.py
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdTrayPopup.pyc
lib/python${MODPY_VERSION}/site-packages/recordMyDesktop/rmdTrayPopup.pyo
share/applications/
share/applications/gtk-recordmydesktop.desktop
share/locale/ar/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/ca/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/de/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/el/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/es/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/fr/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/it/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/ja/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/pl/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/pt/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/pt_BR/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/ru/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/sv/LC_MESSAGES/gtk-recordMyDesktop.mo
share/locale/tr/LC_MESSAGES/gtk-recordMyDesktop.mo
share/pixmaps/
share/pixmaps/gtk-recordmydesktop.png
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database