ports/82986: [NEW PORT] multimedia/istanbul is a desktop session recorder for the Free Desktop
Dominique Goncalves
dominique.goncalves at gmail.com
Mon Jul 4 19:40:16 UTC 2005
>Number: 82986
>Category: ports
>Synopsis: [NEW PORT] multimedia/istanbul is a desktop session recorder for the Free Desktop
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 04 19:40:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Dominique Goncalves <dominique.goncalves at gmail.com>
>Release: FreeBSD 5.4-STABLE i386
>Organization:
djdomics.no-ip.com
>Environment:
System: FreeBSD djdomics.no-ip.com 5.4-STABLE FreeBSD 5.4-STABLE #16: Fri Jul 1 19:03:03 CEST 2005 root at djdomics.no-ip.com:/usr/obj/usr/src/sys/GODFATHER i386
>Description:
Istanbul is a desktop session recorder for the Free Desktop. It records your
session into an Ogg Theora video file. It works on Gnome, KDE, XFCE and
others.
Patch are obtained from cvs.gnome.org/viewcvs/istanbul.
These patches fix icecast2 streaming and fix a bug when not saving.
>How-To-Repeat:
>Fix:
--- istanbul.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# istanbul
# istanbul/distinfo
# istanbul/Makefile
# istanbul/pkg-descr
# istanbul/files
# istanbul/files/patch-main.py
# istanbul/files/patch-prefs.py
# istanbul/pkg-plist
#
echo c - istanbul
mkdir -p istanbul > /dev/null 2>&1
echo x - istanbul/distinfo
sed 's/^X//' >istanbul/distinfo << 'END-of-istanbul/distinfo'
XMD5 (istanbul-0.1.1.tar.bz2) = 360f0225c916e81eed459e9915caf317
XSIZE (istanbul-0.1.1.tar.bz2) = 238673
END-of-istanbul/distinfo
echo x - istanbul/Makefile
sed 's/^X//' >istanbul/Makefile << 'END-of-istanbul/Makefile'
X# New ports collection makefile for: istanbul
X# Date created: 2005-07-03
X# Whom: Dominique Goncalves <dominique.goncalves at gmail.com>
X#
X# $FreeBSD$
X
XPORTNAME= istanbul
XPORTVERSION= 0.1.1
XCATEGORIES= multimedia
XMASTER_SITES= http://live.hujjat.org/
X
XMAINTAINER= dominique.goncalves at gmail.com
XCOMMENT= Istanbul is a desktop session recorder for the Free Desktop
X
XRUN_DEPENDS= icecast:${PORTSDIR}/audio/icecast2 \
X ${PYTHON_SITELIBDIR}/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer \
X ${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2
XBUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer \
X ${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2
X
XGNU_CONFIGURE= yes
XUSE_GMAKE= yes
XUSE_LIBTOOL_VER= 15
XUSE_PYTHON= 2.4+
XUSE_BZIP2= yes
XUSE_X_PREFIX= yes
XUSE_GSTREAMER= shout2 theora ogg
XUSE_REINPLACE= yes
X
Xpost-configure:
X ${REINPLACE_CMD} -e "s|#!/usr/bin/python|#!/usr/bin/env python|" `${FIND} ${WRKDIR} -type f -name "istanbul"`
X
X.include <bsd.port.mk>
END-of-istanbul/Makefile
echo x - istanbul/pkg-descr
sed 's/^X//' >istanbul/pkg-descr << 'END-of-istanbul/pkg-descr'
XIstanbul is a desktop session recorder for the Free Desktop. It records your
Xsession into an Ogg Theora video file. To start the recording, you click on its
Xicon in the notification area. To stop you click its icon again. It works on
XGnome, KDE, XFCE and others.
X
XWWW: http://live.gnome.org/Istanbul
END-of-istanbul/pkg-descr
echo c - istanbul/files
mkdir -p istanbul/files > /dev/null 2>&1
echo x - istanbul/files/patch-main.py
sed 's/^X//' >istanbul/files/patch-main.py << 'END-of-istanbul/files/patch-main.py'
X--- istanbul/main/main.py
X+++ istanbul/main/main.py 2005-07-02 19:39:02.000000000 +0200
X@@ -114,7 +114,7 @@
X mainpipeline = 'ximagesrc ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=%d,height=%d,framerate=%f' % (width, height, framerate)
X
X save_pipeline = ''
X- encode_pipeline = ''
X+ encode_pipeline = 'theoraenc ! oggmux'
X icecast_pipeline = ''
X
X if self.settingsdialog.xml.get_widget('save').get_active():
X@@ -122,7 +122,6 @@
X encode_pipeline = 'smokeenc ! multipartmux'
X filename = '%s.tmp' % self.settingsdialog.xml.get_widget('filenameEntry').get_text()
X else:
X- encode_pipeline = 'theoraenc ! oggmux'
X filename = self.settingsdialog.xml.get_widget('filenameEntry').get_text()
X
X save_pipeline = 'filesink location=%s' % filename
X@@ -130,6 +129,7 @@
X ip = self.settingsdialog.xml.get_widget('shout_ip').get_text()
X port = self.settingsdialog.xml.get_widget('shout_port').get_value_as_int()
X mountpoint = self.settingsdialog.xml.get_widget('shout_mount').get_text()
X+ password = self.settingsdialog.xml.get_widget('shout_password').get_text()
X icecast_pipeline = 'shout2send ip=%s port=%s mount=%s password=%s' % (ip, port, mountpoint, password)
X if save_pipeline != '' and icecast_pipeline != '':
X final_pipeline = '%s ! %s ! tee name=t ! %s t. ! { queue ! %s }' % (mainpipeline, encode_pipeline, save_pipeline, icecast_pipeline)
END-of-istanbul/files/patch-main.py
echo x - istanbul/files/patch-prefs.py
sed 's/^X//' >istanbul/files/patch-prefs.py << 'END-of-istanbul/files/patch-prefs.py'
X--- istanbul/main/prefs.py
X+++ istanbul/main/prefs.py 2005-07-02 19:37:21.000000000 +0200
X@@ -61,7 +61,7 @@
X state = button.get_active()
X self.xml.get_widget('filenameLabel').set_sensitive(state)
X self.xml.get_widget('filenameEntry').set_sensitive(state)
X- self.xml.get_widget('encode_later').set_senisitive(state)
X+ self.xml.get_widget('encode_later').set_sensitive(state)
X
X def icecast_toggled_cb(self, button):
X state = button.get_active()
END-of-istanbul/files/patch-prefs.py
echo x - istanbul/pkg-plist
sed 's/^X//' >istanbul/pkg-plist << 'END-of-istanbul/pkg-plist'
Xbin/istanbul
Xlib/python2.4/site-packages/istanbul/__init__.py
Xlib/python2.4/site-packages/istanbul/configure/__init__.py
Xlib/python2.4/site-packages/istanbul/configure/config.py
Xlib/python2.4/site-packages/istanbul/extern/__init__.py
Xlib/python2.4/site-packages/istanbul/extern/pytrayicon/__init__.py
Xlib/python2.4/site-packages/istanbul/extern/pytrayicon/pytrayicon.so
Xlib/python2.4/site-packages/istanbul/main/__init__.py
Xlib/python2.4/site-packages/istanbul/main/main.py
Xlib/python2.4/site-packages/istanbul/main/prefs.py
Xshare/applications/istanbul.desktop
X%%DATADIR%%/glade/prefs.glade
Xshare/pixmaps/istanbul.png
X at dirrm share/istanbul/glade
X at dirrm share/istanbul
X at dirrm lib/python2.4/site-packages/istanbul/main
X at dirrm lib/python2.4/site-packages/istanbul/extern/pytrayicon
X at dirrm lib/python2.4/site-packages/istanbul/extern
X at dirrm lib/python2.4/site-packages/istanbul/configure
X at dirrm lib/python2.4/site-packages/istanbul
END-of-istanbul/pkg-plist
exit
--- istanbul.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list