rpms/xine-lib-extras-freeworld/devel .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 xine-lib-extras-freeworld.spec, 1.19, 1.20 xine-lib-1.1.16-internal_ffmpeg.patch, 1.1, NONE
by Rex Dieter
Author: rdieter
Update of /cvs/free/rpms/xine-lib-extras-freeworld/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22904
Modified Files:
.cvsignore sources xine-lib-extras-freeworld.spec
Removed Files:
xine-lib-1.1.16-internal_ffmpeg.patch
Log Message:
* Sun Jan 18 2009 Rex Dieter <rdieter(a)fedoraproject.org> - 1.1.16-3
- drop deepbind patch
- --with-external-libfaad (fedora)
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/xine-lib-extras-freeworld/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 7 Jan 2009 20:21:15 -0000 1.4
+++ .cvsignore 23 Jan 2009 14:53:59 -0000 1.5
@@ -1 +1 @@
-xine-lib-1.1.16.tar.bz2
+xine-lib-1.1.16.1.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/xine-lib-extras-freeworld/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 7 Jan 2009 20:21:15 -0000 1.4
+++ sources 23 Jan 2009 14:53:59 -0000 1.5
@@ -1 +1 @@
-acd1a210c5a6444e8fd44696469352bb xine-lib-1.1.16.tar.bz2
+9de11db7e262c564cfdba9841a092ebe xine-lib-1.1.16.1.tar.bz2
Index: xine-lib-extras-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/xine-lib-extras-freeworld/devel/xine-lib-extras-freeworld.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- xine-lib-extras-freeworld.spec 18 Jan 2009 22:19:08 -0000 1.19
+++ xine-lib-extras-freeworld.spec 23 Jan 2009 14:53:59 -0000 1.20
@@ -10,8 +10,8 @@
Name: xine-lib-extras-freeworld
Summary: Extra codecs for the Xine multimedia library
-Version: 1.1.16
-Release: 3%{?dist}
+Version: 1.1.16.1
+Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://xinehq.de/
@@ -20,8 +20,6 @@
Patch0: xine-lib-1.1.3-optflags.patch
Patch6: xine-lib-1.1.1-deepbind-939.patch
-# http://hg.debian.org/hg/xine-lib/xine-lib?cmd=changeset;node=c20ec3a8802d...
-Patch100: xine-lib-1.1.16-internal_ffmpeg.patch
BuildRequires: pkgconfig
BuildRequires: zlib-devel
@@ -74,8 +72,6 @@
# when compiling with external ffmpeg and internal libfaad #939.
#patch6 -p1 -b .deepbind
-%patch100 -p1 -b .internal_ffmpeg
-
# Avoid standard rpaths on lib64 archs:
sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure
@@ -193,7 +189,7 @@
%changelog
* Sun Jan 18 2009 Rex Dieter <rdieter(a)fedoraproject.org> - 1.1.16-3
- drop deepbind patch
-- --with-external-libfaad
+- --with-external-libfaad (fedora)
* Thu Jan 08 2009 Rex Dieter <rdieter(a)fedoraproject.org> - 1.1.16-2
- drop ffmpeg_api patch (not needed)
--- xine-lib-1.1.16-internal_ffmpeg.patch DELETED ---
15 years, 10 months
rpms/gstreamer-plugins-ugly/devel gst-plugins-ugly-0.10.10-asf-push-seek.patch, NONE, 1.1 gstreamer-plugins-ugly.spec, 1.10, 1.11
by jwrdegoede
Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-ugly/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22162
Modified Files:
gstreamer-plugins-ugly.spec
Added Files:
gst-plugins-ugly-0.10.10-asf-push-seek.patch
Log Message:
* Fri Jan 23 2009 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.10-4
- Patch asfdemux plugin to properly handle seeking with push based sources
gst-plugins-ugly-0.10.10-asf-push-seek.patch:
--- NEW FILE gst-plugins-ugly-0.10.10-asf-push-seek.patch ---
diff -ur gst-plugins-ugly-0.10.10/gst/asfdemux/gstasfdemux.c gst-plugins-ugly-0.10.10.new/gst/asfdemux/gstasfdemux.c
--- gst-plugins-ugly-0.10.10/gst/asfdemux/gstasfdemux.c 2008-11-12 23:48:28.000000000 +0100
+++ gst-plugins-ugly-0.10.10.new/gst/asfdemux/gstasfdemux.c 2009-01-23 13:56:18.000000000 +0100
@@ -23,9 +23,6 @@
* - _loop():
* stop if at end of segment if != end of file, ie. demux->segment.stop
*
- * - _chain(): fix newsegment events for live streams where timestamps don't
- * start at zero (need sample files/streams for this)
- *
* - fix packet parsing:
* there's something wrong with timestamps for packets with keyframes,
* and durations too.
@@ -266,6 +263,7 @@
demux = GST_ASF_DEMUX (GST_OBJECT_PARENT (sinkpad));
+ demux->push_mode = TRUE;
demux->state = GST_ASF_DEMUX_STATE_HEADER;
demux->streaming = TRUE;
@@ -278,6 +276,7 @@
GstASFDemux *demux;
demux = GST_ASF_DEMUX (GST_OBJECT_PARENT (pad));
+ demux->push_mode = FALSE;
if (active) {
demux->state = GST_ASF_DEMUX_STATE_HEADER;
@@ -315,8 +314,16 @@
}
GST_OBJECT_LOCK (demux);
+ if (demux->packet_size && newsegment_start > demux->data_offset)
+ demux->packet = (newsegment_start - demux->data_offset) /
+ demux->packet_size;
+ else
+ demux->packet = 0;
+ demux->need_newsegment = TRUE;
gst_asf_demux_reset_stream_state_after_discont (demux);
GST_OBJECT_UNLOCK (demux);
+
+ gst_event_unref (event);
break;
}
case GST_EVENT_EOS:{
@@ -333,6 +340,14 @@
break;
}
+ case GST_EVENT_FLUSH_START:
+ case GST_EVENT_FLUSH_STOP:
+ GST_OBJECT_LOCK (demux);
+ gst_asf_demux_reset_stream_state_after_discont (demux);
+ GST_OBJECT_UNLOCK (demux);
+ gst_asf_demux_send_event_unlocked (demux, event);
+ break;
+
default:
ret = gst_pad_event_default (pad, event);
break;
@@ -342,6 +357,7 @@
return ret;
}
+/* Only used in pull mode */
static gboolean
gst_asf_demux_seek_index_lookup (GstASFDemux * demux, guint * packet,
GstClockTime seek_time, GstClockTime * p_idx_time)
@@ -452,6 +468,11 @@
accurate = ((flags & GST_SEEK_FLAG_ACCURATE) == GST_SEEK_FLAG_ACCURATE);
keyunit_sync = ((flags & GST_SEEK_FLAG_KEY_UNIT) == GST_SEEK_FLAG_KEY_UNIT);
+ if (demux->push_mode) {
+ gst_event_ref (event);
+ return gst_pad_push_event (demux->sinkpad, event);
+ }
+
/* unlock the streaming thread */
if (flush) {
gst_pad_push_event (demux->sinkpad, gst_event_new_flush_start ());
@@ -630,6 +651,7 @@
return TRUE;
}
+/* Only used in push mode */
static GstFlowReturn
gst_asf_demux_chain_headers (GstASFDemux * demux)
{
@@ -724,6 +746,7 @@
return GST_FLOW_NOT_LINKED;
}
+/* Only used in push mode */
static GstFlowReturn
gst_asf_demux_chain (GstPad * pad, GstBuffer * buf)
{
@@ -748,21 +771,6 @@
/* otherwise fall through */
}
case GST_ASF_DEMUX_STATE_DATA:{
-
- if (demux->need_newsegment) {
- GST_DEBUG_OBJECT (demux, "sending new-segment event from %"
- GST_SEGMENT_FORMAT, &demux->segment);
-
- /* FIXME: check last parameter, streams may have non-zero start */
- gst_asf_demux_send_event_unlocked (demux,
- gst_event_new_new_segment (FALSE, demux->segment.rate,
- GST_FORMAT_TIME, demux->segment.start, demux->segment.stop,
- demux->segment.start));
-
- demux->need_newsegment = FALSE;
- demux->segment_running = TRUE;
- }
-
while (gst_adapter_available (demux->adapter) >= demux->packet_size) {
guint64 data_size;
guint8 *data;
@@ -810,6 +818,7 @@
return ret;
}
+/* Only used in pull mode */
static gboolean
gst_asf_demux_pull_data (GstASFDemux * demux, guint64 offset, guint size,
GstBuffer ** p_buf, GstFlowReturn * p_flow)
@@ -846,6 +855,7 @@
return TRUE;
}
+/* Only used in pull mode */
static void
gst_asf_demux_pull_indices (GstASFDemux * demux)
{
@@ -944,6 +954,7 @@
return TRUE;
}
+/* Only used in pull mode */
static gboolean
gst_asf_demux_pull_headers (GstASFDemux * demux)
{
@@ -1179,6 +1190,7 @@
return best_stream;
}
+/* Only used in pull mode */
static GstFlowReturn
gst_asf_demux_push_complete_payloads (GstASFDemux * demux, gboolean force)
{
@@ -1262,6 +1274,7 @@
return gst_asf_demux_aggregate_flow_return (demux);
}
+/* Only used in pull mode */
static void
gst_asf_demux_loop (GstASFDemux * demux)
{
@@ -3241,6 +3254,7 @@
return ret;
}
+/* Only used in push mode */
static GstFlowReturn
gst_asf_demux_push_buffer (GstASFDemux * demux, AsfStream * stream,
GstBuffer * buf)
@@ -3255,23 +3269,46 @@
stream->pending_tags = NULL;
}
+ /* Note we always get called with a buffer with a valid timestamp, so we
+ do not need to check the timestamp */
+
+ if (demux->need_newsegment) {
+ gst_segment_set_seek (&demux->segment, demux->segment.rate,
+ GST_FORMAT_TIME, demux->segment.flags, GST_SEEK_TYPE_SET,
+ GST_BUFFER_TIMESTAMP (buf), GST_SEEK_TYPE_NONE, 0, NULL);
+
+ if (demux->segment.stop == GST_CLOCK_TIME_NONE &&
+ demux->segment.duration > 0) {
+ demux->segment.stop = demux->segment.duration;
+ }
+
+ GST_DEBUG_OBJECT (demux, "sending new-segment event from %"
+ GST_SEGMENT_FORMAT, &demux->segment);
+
+ gst_asf_demux_send_event_unlocked (demux,
+ gst_event_new_new_segment (FALSE, demux->segment.rate,
+ GST_FORMAT_TIME, demux->segment.start,
+ demux->segment.stop, demux->segment.start));
+
+ demux->need_newsegment = FALSE;
+ demux->segment_running = TRUE;
+ }
+
/* don't set the same time stamp on multiple consecutive outgoing
* video buffers, set it on the first one and set NONE on the others,
* it's the decoder's job to fill the missing bits properly */
- if (stream->is_video && GST_BUFFER_TIMESTAMP_IS_VALID (buf) &&
+ if (stream->is_video &&
GST_BUFFER_TIMESTAMP (buf) == stream->last_buffer_timestamp) {
GST_BUFFER_TIMESTAMP (buf) = GST_CLOCK_TIME_NONE;
}
/* make sure segment.last_stop is continually increasing */
- if (GST_BUFFER_TIMESTAMP_IS_VALID (buf) &&
- demux->segment.last_stop < (gint64) GST_BUFFER_TIMESTAMP (buf)) {
+ if (demux->segment.last_stop < (gint64) GST_BUFFER_TIMESTAMP (buf)) {
gst_segment_set_last_stop (&demux->segment, GST_FORMAT_TIME,
GST_BUFFER_TIMESTAMP (buf));
}
- if (GST_BUFFER_TIMESTAMP_IS_VALID (buf))
- stream->last_buffer_timestamp = GST_BUFFER_TIMESTAMP (buf);
+ stream->last_buffer_timestamp = GST_BUFFER_TIMESTAMP (buf);
gst_buffer_set_caps (buf, stream->caps);
@@ -3289,6 +3326,7 @@
return stream->last_flow;
}
+/* Only used in push mode */
static GstFlowReturn
gst_asf_demux_process_chunk (GstASFDemux * demux,
asf_packet_info * packet_info, asf_segment_info * segment_info,
@@ -3493,6 +3531,7 @@
return ret;
}
+/* Only used in push mode */
static GstFlowReturn
gst_asf_demux_process_segment (GstASFDemux * demux,
asf_packet_info * packet_info, guint8 ** p_data, guint64 * p_size)
@@ -3678,6 +3717,7 @@
}
}
+/* Only used in push mode */
static GstFlowReturn
gst_asf_demux_handle_data (GstASFDemux * demux, guint8 ** p_data,
guint64 * p_size)
diff -ur gst-plugins-ugly-0.10.10/gst/asfdemux/gstasfdemux.h gst-plugins-ugly-0.10.10.new/gst/asfdemux/gstasfdemux.h
--- gst-plugins-ugly-0.10.10/gst/asfdemux/gstasfdemux.h 2008-01-08 17:31:29.000000000 +0100
+++ gst-plugins-ugly-0.10.10.new/gst/asfdemux/gstasfdemux.h 2009-01-23 13:34:10.000000000 +0100
@@ -171,6 +171,7 @@
gboolean need_newsegment; /* do we need to send a new-segment event? */
gboolean segment_running; /* if we've started the current segment */
gboolean streaming; /* TRUE if we are operating chain-based */
+ gboolean push_mode; /* are we operating in push_mode? */
/* Descrambler settings */
guint8 span;
Index: gstreamer-plugins-ugly.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-ugly/devel/gstreamer-plugins-ugly.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- gstreamer-plugins-ugly.spec 21 Jan 2009 08:40:50 -0000 1.10
+++ gstreamer-plugins-ugly.spec 23 Jan 2009 14:43:31 -0000 1.11
@@ -11,13 +11,14 @@
Summary: GStreamer streaming media framework "ugly" plug-ins
Name: gstreamer-plugins-ugly
Version: 0.10.10
-Release: 3%{?dist}
+Release: 4%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
URL: http://gstreamer.freedesktop.org/
Source: http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{...
Patch0: gst-plugins-ugly-0.10.10-mpeg2dec.patch
Patch1: gst-plugins-ugly-0.10.10-mad.patch
+Patch2: gst-plugins-ugly-0.10.10-asf-push-seek.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{gstreamer} >= %{gst_minver}
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
@@ -60,6 +61,7 @@
%setup -q -n gst-plugins-ugly-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
@@ -109,6 +111,9 @@
%changelog
+* Fri Jan 23 2009 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.10-4
+- Patch asfdemux plugin to properly handle seeking with push based sources
+
* Wed Jan 21 2009 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.10-3
- Rebuild for new libcdio (rpmfusion 335)
15 years, 10 months
rpms/mythtv/F-10 mythplugins-0.21-svnfixes.patch, 1.6, 1.7 mythtv-0.21-svnfixes.patch, 1.6, 1.7 mythtv.spec, 1.16, 1.17
by Jarod Wilson
Author: jarod
Update of /cvs/free/rpms/mythtv/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv19799
Modified Files:
mythplugins-0.21-svnfixes.patch mythtv-0.21-svnfixes.patch
mythtv.spec
Log Message:
* Thu Jan 22 2009 Jarod Wilson <jarod(a)wilsonet.com> - 0.21-17
- Update release-0-21-fixes patches (r19788)
- Add Require: perl-XML-SAX to mythweather (rpmfusion bz#337)
mythplugins-0.21-svnfixes.patch:
Index: mythplugins-0.21-svnfixes.patch
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-10/mythplugins-0.21-svnfixes.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mythplugins-0.21-svnfixes.patch 31 Dec 2008 00:15:22 -0000 1.6
+++ mythplugins-0.21-svnfixes.patch 23 Jan 2009 03:21:08 -0000 1.7
@@ -73,6 +73,28 @@
default:
$mime = 'application/octet-stream';
}
+Index: mythplugins/mythweb/modules/music/mp3act_functions.php
+===================================================================
+--- mythplugins/mythweb/modules/music/mp3act_functions.php (revision 16468)
++++ mythplugins/mythweb/modules/music/mp3act_functions.php (working copy)
+@@ -334,13 +334,15 @@
+ $length = $row[1];
+
+ // Attempt to find some album art.
+- $query='SELECT ms.filename, ms.album_id, md.path, ma.artist_name, ma.artist_id, ms.directory_id
++ $query='SELECT ms.filename, ms.album_id, md.path, ma.artist_name, ma.artist_id, ms.directory_id, mal.album_name
+ FROM music_songs AS ms
+ LEFT JOIN music_directories AS md
+ ON ms.directory_id=md.directory_id
+ LEFT JOIN music_artists AS ma
+ ON ms.artist_id=ma.artist_id
+- WHERE album_id='.$sql_itemid.'
++ LEFT JOIN music_albums AS mal
++ ON ms.album_id=mal.album_id
++ WHERE ms.album_id='.$sql_itemid.'
+ LIMIT 1';
+ $result = mysql_query($query);
+ if (!$result)
Index: mythplugins/mythweb/modules/_shared/lang/German.cat
===================================================================
--- mythplugins/mythweb/modules/_shared/lang/German.cat (revision 16468)
@@ -11690,6 +11712,136 @@
#include "dvdprobe.h"
+Index: mythplugins/mythvideo/mythvideo/scripts/allocine.pl
+===================================================================
+--- mythplugins/mythvideo/mythvideo/scripts/allocine.pl (revision 16468)
++++ mythplugins/mythvideo/mythvideo/scripts/allocine.pl (working copy)
+@@ -25,7 +25,7 @@
+ use Getopt::Long;
+
+ $title = "Allocine Query";
+-$version = "v2.00";
++$version = "v2.02";
+ $author = "Xavier Hervy";
+
+ binmode(STDOUT, ":utf8");
+@@ -45,6 +45,13 @@
+ exit(-1);
+ }
+
++sub trim {
++ my ($str) = @_;
++ $str =~ s/^\s+//;
++ $str =~ s/\s+$//;
++ return $str;
++}
++
+ # display 1-line of info that describes the version of the program
+ sub version {
+ print "$title ($version) by $author\n"
+@@ -139,37 +146,23 @@
+ my $director = parseBetween($response,"<h4>Réalisé par ","</h4>");
+ $director = removeTag($director);
+
+- # parse writer
+- # (Note: this takes the 'first' writer, may want to include others)
+- my $writer = parseBetween($response, ">Writing credits</b>", "</table>");
+- $writer = parseBetween($writer, "/\">", "</");
+-
+ # parse plot
+ my $plot = parseBetween($response,"<td valign=\"top\" style=\"padding:10 0 0 0\"><div align=\"justify\"><h4>","</h4></div></td>");
+ $plot =~ s/\n//g;
+ $plot = removeTag($plot);
+
+ # parse user rating
+- my $userrating;
+- my $rating = parseBetween($response,"Presse</a> <img ", " border=\"0\" /></h4></td>");
+- my $nbvote = 0;
+- my $sommevote = 0;
+- $rating = parseBetween($rating,"etoile_",".gif");
+- if (!($rating eq "")){
+- $sommevote += $rating - 1;
+- $nbvote ++;
+- }
+- $rating = parseBetween($response,"Spectateurs</a> <img ", " border=\"0\" /></h4></td>");
+- $rating = parseBetween($rating,"etoile_",".gif");
+- if (!($rating eq "")){
+- $sommevote += $rating - 1;
+- $nbvote ++;
+- }
+- if ($nbvote==0){$userrating=0};
+- if ($nbvote==1){$userrating=$sommevote*2;};
+- if ($nbvote==2){$userrating=$sommevote;};
+-
++ my $userrating=0;
++ my $tmpratings = parseBetween($response,"Critiques :</b></h5>", "</table>");
++ my $rating_pat = qr'class="etoile_(\d+)"';
+
++ # ratings are from one to four stars
++ my @ratings = ($tmpratings =~ m/$rating_pat/g);
++ $userrating += $_ foreach @ratings;
++ if (@ratings) { $userrating /= @ratings; }
++
++ if ($userrating) { $userrating = int($userrating * 2.5); }
++
+ # parse rating
+ my $movierating = parseBetween($response,"Interdit aux moins de ","ans");
+ if (!($movierating eq ""))
+@@ -198,26 +191,23 @@
+
+ # parse cast
+
+- my $cast = parseBetween($response, "<h4>Avec ","</h4>");
+- $cast = removeTag($cast);
++ my $castchunk;
++
++ my $name_link_pat = qr'<a .*?href="/personne/.*?".*?>(.*?)</a>';
+ if (defined $opt_casting){
+ my $responsecasting = get "http://www.allocine.fr/film/casting_gen_cfilm=" . $movieid . ".html";
+- my $fullcast = parseBetween($responsecasting, "Acteur(s)", "<table");
+- my $oneactor;
+- $fullcast = parseBetween($fullcast,"style=\"background-color", "</table>");
+- my @listactor = split("style=\"background-color", $fullcast);
+- my @cleanlistactor ;
+- for $oneactor (@listactor ) {
+- $oneactor = parseBetween($oneactor,"<h4>","</h4>");
+- $oneactor = removeTag($oneactor );
+- push(@cleanlistactor,$oneactor);
+- }
+- my $finalcast = join (", ",@cleanlistactor);
+- if ($finalcast ne "") {$cast = $finalcast;};
++ $castchunk = parseBetween($responsecasting, "Acteurs", "</table");
+ }
+-
+-
++
++ if (!$castchunk) {
++ $castchunk = parseBetween($response, "<h4>Avec ","</h4>");
++ }
+
++ my $cast = "";
++ if (defined $castchunk) {
++ $cast = trim(join(',', ($castchunk =~ m/$name_link_pat/g)));
++ }
++
+ #genres
+ my $genres = parseBetween($response,"<h4>Genre : ","</h4>");
+ $genres = removeTag($genres);
+@@ -237,8 +227,7 @@
+ print "UserRating:$userrating\n";
+ print "MovieRating:$movierating\n";
+ print "Runtime:$runtime\n";
+- print "Writers: $writer\n";
+- print "Cast: $cast\n";
++ print "Cast:$cast\n";
+ print "Genres:$genres\n";
+ print "Countries:$countries\n";
+ }
+@@ -469,3 +458,4 @@
+ }
+ getMovieList($query, $options);
+ }
++# vim: set expandtab ts=3 sw=3 :
Index: mythplugins/mythvideo/mythvideo/scripts/ofdb.py
===================================================================
--- mythplugins/mythvideo/mythvideo/scripts/ofdb.py (revision 16468)
@@ -11789,7 +11941,7 @@
nodes = xpath.Evaluate("//A[starts-with(@href, 'film/')]",
doc.documentElement)
-@@ -154,10 +183,11 @@
+@@ -154,25 +183,15 @@
"""Returns the OFDb film page as an XML document."""
debug_out("Starting search for %s '%s'" % (context, uid))
@@ -11803,7 +11955,65 @@
class NoIMDBURL(Exception):
pass
-@@ -275,10 +305,10 @@
+
+-def extract_imdb_url(doc):
+- nodes = xpath.Evaluate("//A[contains(@href, 'imdb.com/Title')]",
+- doc.documentElement)
+- if len(nodes):
+- uid_find = re.compile('imdb.com/Title\?(\d+)', re.I)
+- url = nodes[0].getAttributeNS(EMPTY_NAMESPACE, 'href')
+- m = uid_find.search(url)
+- if m:
+- return (url, m.group(1))
+- raise NoIMDBURL()
+-
+ def search_data(uid, rating_country):
+ def possible_error(path):
+ comment_out("Warning: expected to find content at '%s', site format " \
+@@ -224,16 +243,8 @@
+
+ try:
+ doc = get_ofdb_doc(uid, "data")
+- alturl = None
+- try:
+- (url, id) = extract_imdb_url(doc)
+- alturl = url
+- except NoIMDBURL:
+- if VERBOSE:
+- print_exception(traceback.format_exc())
+- except:
+- print_exception(traceback.format_exc())
+
++#TODO: Add details from tmdb
+ data = {'title' : '',
+ 'countries' : '',
+ 'year' : '',
+@@ -241,11 +252,11 @@
+ 'cast' : '',
+ 'genre' : '',
+ 'user_rating' : '',
+- 'movie_rating' : '',
++# 'movie_rating' : '',
+ 'plot' : '',
+- 'release_date' : '',
+- 'runtime' : '',
+- 'writers' : '',
++# 'release_date' : '',
++# 'runtime' : '',
++# 'writers' : '',
+ }
+
+ data['title'] = single_value(doc.documentElement,
+@@ -263,7 +274,7 @@
+ data['genre'] = ",".join(multi_value(doc.documentElement,
+ "//A[starts-with(@href, 'view.php?page=genre&Genre=')]"))
+ data['user_rating'] = attr_value(doc.documentElement,
+- "//IMG[@src='images/notenspalte.gif']", "alt")
++ "//IMG[@src='images/design3/notenspalte.png']", "alt")
+
+ tmp_sid = attr_value(doc.documentElement,
+ "//A[starts-with(@href, 'plot/')]", "href")
+@@ -275,60 +286,24 @@
debug_out("Looking for plot...")
(rc, content) = ofdb_url_get(urlparse.urljoin(URL_BASE,
@@ -11816,34 +12026,111 @@
data['plot'] = unicode(all_text_children(doc.documentElement,
"//FONT[@class='Blocksatz']"))
-@@ -291,7 +321,7 @@
- debug_out("Looking for other info %s..." % (alturl))
- (rc, content) = ofdb_url_get(alturl)
- reader = HtmlLib.Reader()
-- doc = reader.fromString(content)
-+ doc = reader.fromString(content, charset='utf8')
-
- data['release_date'] = direct_value(doc.documentElement, "//DIV[@class='info']/H5[starts-with(., 'Premierendatum')]/../child::text()[2]")
- data['runtime'] = direct_value(doc.documentElement, u"//DIV[@class='info']/H5[starts-with(., 'L\u00E4nge')]/../child::text()[2]").split()[0]
-@@ -350,7 +380,7 @@
- "title/tt%s/posters" % (id)))
- reader = HtmlLib.Reader()
+- if alturl:
+- # They now give a "bad" query string, just use the id
+- (scheme, netloc, path, query, frag) = urlparse.urlsplit(alturl)
+- path = "title/tt%s/" % (id)
+- alturl = urlparse.urlunsplit((scheme, netloc, path, None, None))
+- debug_out("Looking for other info %s..." % (alturl))
+- (rc, content) = ofdb_url_get(alturl)
+- reader = HtmlLib.Reader()
- doc = reader.fromString(content)
-+ doc = reader.fromString(content, charset='utf8')
+-
+- data['release_date'] = direct_value(doc.documentElement, "//DIV[@class='info']/H5[starts-with(., 'Premierendatum')]/../child::text()[2]")
+- data['runtime'] = direct_value(doc.documentElement, u"//DIV[@class='info']/H5[starts-with(., 'L\u00E4nge')]/../child::text()[2]").split()[0]
+-
+- movie_ratings = multi_value(doc.documentElement, "//DIV[@class='info']/H5[starts-with(., 'Altersfreigabe')]/../A")
+-
+- if len(movie_ratings):
+- found = False
+- if rating_country:
+- for rc in rating_country.split(','):
+- for m in movie_ratings:
+- (country, rating) = m.split(':')
+- if country.lower().find(rc.lower()) != -1:
+- data['movie_rating'] = rating
+- found = True
+- break
+-
+- if found:
+- break
+-
+- if not found:
+- data['movie_rating'] = ",".join(movie_ratings)
+-
+- writers = multi_value(doc.documentElement, "//DIV[@class='info']/H5[starts-with(., 'Drehbuchautoren')]/../A")
+- if len(writers):
+- data['writers'] = writers[0]
+-
++#ReleaseDate:%(release_date)s
++#MovieRating:%(movie_rating)s
++#Runtime:%(runtime)s
++#Writers:%(writers)s
+ print("""\
+ Title:%(title)s
+ Year:%(year)s
+-ReleaseDate:%(release_date)s
+ Director:%(directors)s
+ Plot:%(plot)s
+ UserRating:%(user_rating)s
+-MovieRating:%(movie_rating)s
+-Runtime:%(runtime)s
+-Writers:%(writers)s
+ Cast:%(cast)s
+ Genres:%(genre)s
+ Countries:%(countries)s
+@@ -343,48 +318,7 @@
+ poster_urls = []
+ ofdoc = get_ofdb_doc(uid, "poster")
- nodes = xpath.Evaluate("//TABLE[starts-with(@background, 'http://posters.imdb.com/posters/')]", doc.documentElement)
- for i in nodes:
-@@ -364,7 +394,7 @@
- base = nodes[0].getAttributeNS(EMPTY_NAMESPACE, 'href')
- (rc, content) = ofdb_url_get(base)
- reader = HtmlLib.Reader()
+- try:
+- (url, id) = extract_imdb_url(ofdoc)
+-
+- (rc, content) = ofdb_url_get(urlparse.urljoin("http://www.imdb.com",
+- "title/tt%s/posters" % (id)))
+-
+- reader = HtmlLib.Reader()
+- doc = reader.fromString(content)
+-
+- nodes = xpath.Evaluate("//TABLE[starts-with(@background, 'http://posters.imdb.com/posters/')]", doc.documentElement)
+- for i in nodes:
+- poster_urls.append(i.getAttributeNS(EMPTY_NAMESPACE,
+- 'background'))
+-
+- nodes = xpath.Evaluate("//A[contains(@href, 'impawards.com')]",
+- doc.documentElement)
+- if len(nodes):
+- try:
+- base = nodes[0].getAttributeNS(EMPTY_NAMESPACE, 'href')
+- (rc, content) = ofdb_url_get(base)
+- reader = HtmlLib.Reader()
- doc = reader.fromString(content)
-+ doc = reader.fromString(content, charset='utf8')
- nodes = xpath.Evaluate(
- "//IMG[starts-with(@SRC, 'posters/')]",
- doc.documentElement)
-@@ -420,11 +450,14 @@
+- nodes = xpath.Evaluate(
+- "//IMG[starts-with(@SRC, 'posters/')]",
+- doc.documentElement)
+- for i in nodes:
+- (scheme, netloc, path, query, frag) = \
+- urlparse.urlsplit(base)
+- np = path.split('/')[:-1]
+- np = "/".join(np)
+- poster_urls.insert(0, urlparse.urljoin(base,
+- "%s/%s" % (np, i.getAttributeNS(EMPTY_NAMESPACE,
+- 'SRC'))))
+- except:
+- print_exception(traceback.format_exc())
+- except NoIMDBURL:
+- if VERBOSE:
+- print_exception(traceback.format_exc())
+- except:
+- print_exception(traceback.format_exc())
+-
+- nodes = xpath.Evaluate("//IMG[starts-with(@src, 'http://www.ofdb.de:81/film/')]",
++ nodes = xpath.Evaluate("//IMG[starts-with(@src, 'http://img.ofdb.de/film/')]",
+ ofdoc.documentElement)
+ for node in nodes:
+ poster_urls.append(node.getAttributeNS(EMPTY_NAMESPACE, 'src'))
+@@ -420,11 +354,14 @@
DUMP_RESPONSE = options.dump_response
if options.title_search:
@@ -12259,6 +12546,24 @@
if (defined $opt_v) { version(); exit 1; }
if (defined $opt_i) { info(); exit 1; }
+Index: mythplugins/mythvideo/mythvideo/metadata.cpp
+===================================================================
+--- mythplugins/mythvideo/mythvideo/metadata.cpp (revision 16468)
++++ mythplugins/mythvideo/mythvideo/metadata.cpp (working copy)
+@@ -840,9 +840,10 @@
+ QString filename = item->Filename();
+ QString handler = getPlayer(item);
+
+- QString esc_fname =
+- QString(item->Filename()).replace(QRegExp("\""), "\\\"");
+- QString arg = QString("\"%1\"").arg(esc_fname);
++ QString arg = QString("\"%1\"").arg(QString(item->Filename())
++ .replace(QRegExp("\""), "\\\"")
++ .replace(QRegExp("`"), "\\`")
++ .replace(QRegExp("\\$"), "\\$"));
+
+ QString command = "";
+
Index: mythplugins/mythvideo/mythvideo/globalsettings.cpp
===================================================================
--- mythplugins/mythvideo/mythvideo/globalsettings.cpp (revision 16468)
mythtv-0.21-svnfixes.patch:
Index: mythtv-0.21-svnfixes.patch
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-10/mythtv-0.21-svnfixes.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mythtv-0.21-svnfixes.patch 31 Dec 2008 00:15:22 -0000 1.6
+++ mythtv-0.21-svnfixes.patch 23 Jan 2009 03:21:08 -0000 1.7
@@ -25637,10 +25637,131 @@
<H2>Robert Kulagowski,
-<A HREF="mailto:rkulagow@rocketmail.com">mailto:rkulagow@rocketmail.com</A></H2>2008-03-05, v0.21.00pre
-+<A HREF="mailto:rkulagow@rocketmail.com">mailto:rkulagow@rocketmail.com</A></H2>2008-10-27, v0.21.03
++<A HREF="mailto:rkulagow@rocketmail.com">mailto:rkulagow@rocketmail.com</A></H2>2009-01-20, v0.21.07
<HR>
<EM>Initially, installation of MythTV seems like a huge task. There are lots
of dependencies, and various distributions seem to do the same thing
+@@ -87,8 +87,9 @@
+ <LI><A NAME="toc8.1">8.1</A> <A HREF="mythtv-HOWTO-8.html#ss8.1">Gentoo</A>
+ <LI><A NAME="toc8.2">8.2</A> <A HREF="mythtv-HOWTO-8.html#ss8.2">Obtaining and compiling lirc</A>
+ <LI><A NAME="toc8.3">8.3</A> <A HREF="mythtv-HOWTO-8.html#ss8.3">Completing the lirc install </A>
+-<LI><A NAME="toc8.4">8.4</A> <A HREF="mythtv-HOWTO-8.html#ss8.4">Additional information for lirc</A>
+-<LI><A NAME="toc8.5">8.5</A> <A HREF="mythtv-HOWTO-8.html#ss8.5">Configuring lirc for use with an IR blaster</A>
++<LI><A NAME="toc8.4">8.4</A> <A HREF="mythtv-HOWTO-8.html#ss8.4">Additional information for lirc - native mode</A>
++<LI><A NAME="toc8.5">8.5</A> <A HREF="mythtv-HOWTO-8.html#ss8.5">Additional information for lirc - irxevent mode</A>
++<LI><A NAME="toc8.6">8.6</A> <A HREF="mythtv-HOWTO-8.html#ss8.6">Configuring lirc for use with an IR blaster</A>
+ </UL>
+ <P>
+ <H2><A NAME="toc9">9.</A> <A HREF="mythtv-HOWTO-9.html">Configuring MythTV. </A></H2>
+@@ -96,7 +97,7 @@
+ <UL>
+ <LI><A NAME="toc9.1">9.1</A> <A HREF="mythtv-HOWTO-9.html#ss9.1">Configuring the Master backend system</A>
+ <LI><A NAME="toc9.2">9.2</A> <A HREF="mythtv-HOWTO-9.html#ss9.2">Post-configuration</A>
+-<LI><A NAME="toc9.3">9.3</A> <A HREF="mythtv-HOWTO-9.html#ss9.3">Configuring a non-master backend </A>
++<LI><A NAME="toc9.3">9.3</A> <A HREF="mythtv-HOWTO-9.html#ss9.3">Configuring a slave backend </A>
+ <LI><A NAME="toc9.4">9.4</A> <A HREF="mythtv-HOWTO-9.html#ss9.4">Configuring and running mythfilldatabase</A>
+ <LI><A NAME="toc9.5">9.5</A> <A HREF="mythtv-HOWTO-9.html#ss9.5">Grabbing channel icons for Schedules Direct users</A>
+ </UL>
+Index: mythtv/docs/mythtv-HOWTO-5.html
+===================================================================
+--- mythtv/docs/mythtv-HOWTO-5.html (revision 16468)
++++ mythtv/docs/mythtv-HOWTO-5.html (working copy)
+@@ -200,33 +200,48 @@
+ <H2><A NAME="ss5.4">5.4</A> <A HREF="mythtv-HOWTO.html#toc5.4">Manually building MythTV</A>
+ </H2>
+
+-<P>If you are going to use <B>subversion</B>, execute the following
+-instructions to obtain the latest version of MythTV:</P>
+-<P>
++<P><B>NOTE</B>: Unless you are reading this documentation on the day that a
++new version of MythTV is released, it is highly encouraged that you use the
++"-fixes" version of the software and not the source tarball.</P>
++<P>To download the release version, execute:
+ <BLOCKQUOTE><CODE>
+ <PRE>
+-$ mkdir mythtv
+-$ svn co http://svn.mythtv.org/svn/trunk/ mythtv
+-$ cd mythtv
++$ mkdir mythtv-release-0-21-fixes
++$ svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/ mythtv-release-0-21-fixes
++$ cd mythtv-release-0-21-fixes
+ </PRE>
+ </CODE></BLOCKQUOTE>
+ </P>
+-<P>To use a release version, you can execute:
++<P>See
++<A HREF="http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.21.1">http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.21.1</A> for
++release notes for MythTV v0.21.1</P>
++<P>Execute the following instructions to obtain the latest version of MythTV.
++This is known as the "trunk" version and is considered the unstable code
++which is not guaranteed to work. Use of trunk implies that you are also
++reading the mythtv-dev and mythtv-commits mailing lists; failure to read
++those mailing lists can cause your system to stop working.</P>
++<P>
+ <BLOCKQUOTE><CODE>
+ <PRE>
+-$ mkdir mythtv-release-0.21
+-$ svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/ mythtv-release-0.21
+-$ cd mythtv-release-0.21
++$ mkdir mythtv
++$ svn co http://svn.mythtv.org/svn/trunk/ mythtv
++$ cd mythtv
+ </PRE>
+ </CODE></BLOCKQUOTE>
+ </P>
++<P>See
++<A HREF="http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.22">http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.22</A> for
++release notes for MythTV v0.22</P>
+ <P><B>NOTE</B>: Using a svn version of the code allows you to stay
+ up-to-date with changes. So, if there's an update to the 0.21 release and
+ you originally obtained it using svn, you could enter the
+-mythtv-release-0.21 directory and type "svn up", which will update your copy
+-with the fixed version from the website. You would then recompile and
+-install the updated 0.21 code.</P>
+-<P>If you are using the tarball, then unpack it:
++mythtv-release-0-21-fixes directory and type "svn up", which will update
++your copy with the fixed version from the website. You would then recompile
++and install the updated 0.21 code.</P>
++<P>If you are using the tarball, then unpack it. Again, use of the tarball is
++only appropriate if a "-fixes" branch hasn't been created for the code that
++you're running.</P>
++<P>
+ <BLOCKQUOTE><CODE>
+ <PRE>
+ $ tar -xjf mythtv-0.21.tar.bz2
+Index: mythtv/docs/mythtv-HOWTO-9.html
+===================================================================
+--- mythtv/docs/mythtv-HOWTO-9.html (revision 16468)
++++ mythtv/docs/mythtv-HOWTO-9.html (working copy)
+@@ -529,7 +529,7 @@
+ <A HREF="mythtv-HOWTO-23.html#logrotate">Automatically rotating logs</A> for more
+ information.</P>
+
+-<H2><A NAME="nonmaster_backend"></A> <A NAME="ss9.3">9.3</A> <A HREF="mythtv-HOWTO.html#toc9.3">Configuring a non-master backend </A>
++<H2><A NAME="nonmaster_backend"></A> <A NAME="ss9.3">9.3</A> <A HREF="mythtv-HOWTO.html#toc9.3">Configuring a slave backend </A>
+ </H2>
+
+ <P>Ensure that you've granted access to the master MySQL database for remote
+@@ -558,16 +558,16 @@
+ <P>Make sure that the IP addresses on the General setup screen are accurate.
+ If the slave backend can't communicate with the master backend due to IP
+ address misconfiguration then MythTV will not function properly.</P>
+-<P>Configuration of a non-master backend follows the same general procedure
++<P>Configuration of a slave backend follows the same general procedure
+ as that of the master backend, with the exception that you skip over the
+ "Video Sources" step. All possible video sources need to be defined on the
+ master backend system; only the master backend will query a listings
+-provider to obtain guide data for all the non-master backends.</P>
++provider to obtain guide data for all the slave backends.</P>
+ <P>
+ <FIGURE>
+ <EPS FILE="stop.eps">
+ <IMG SRC="stop.png">
+-<CAPTION><B>NOTE</B>: Do not run <CODE>mythfilldatabase</CODE> on a non-master backend.</CAPTION>
++<CAPTION><B>NOTE</B>: Do not run <CODE>mythfilldatabase</CODE> on a slave backend.</CAPTION>
+ </FIGURE>
+ </P>
+ <H2><A NAME="ss9.4">9.4</A> <A HREF="mythtv-HOWTO.html#toc9.4">Configuring and running mythfilldatabase</A>
Index: mythtv/docs/mythtv-HOWTO.txt
===================================================================
--- mythtv/docs/mythtv-HOWTO.txt (revision 16468)
@@ -25650,10 +25771,39 @@
Robert Kulagowski, mailto:rkulagow@rocketmail.com
<mailto:rkulagow@rocketmail.com>
- 2008-03-05, v0.21.00pre
-+ 2008-10-27, v0.21.03
++ 2009-01-20, v0.21.07
Initially, installation of MythTV seems like a huge task. There are
lots of dependencies, and various distributions seem to do the same
+@@ -110,8 +110,9 @@
+ 8.1 Gentoo
+ 8.2 Obtaining and compiling lirc
+ 8.3 Completing the lirc install
+- 8.4 Additional information for lirc
+- 8.5 Configuring lirc for use with an IR blaster
++ 8.4 Additional information for lirc - native mode
++ 8.5 Additional information for lirc - irxevent mode
++ 8.6 Configuring lirc for use with an IR blaster
+
+ 9. Configuring MythTV.
+ 9.1 Configuring the Master backend system
+@@ -126,7 +127,7 @@
+ 9.1.6.3 Migrating to Storage Groups.
+ 9.1.6.4 Advanced: Algorithm used by the Storage Group
+ 9.2 Post-configuration
+- 9.3 Configuring a non-master backend
++ 9.3 Configuring a slave backend
+ 9.4 Configuring and running mythfilldatabase
+ 9.4.1 Periodically running mythfilldatabase
+ 9.5 Grabbing channel icons for Schedules Direct users
+@@ -343,7 +344,6 @@
+ 24.4 Caching support for Schedules Direct
+
+
+-
+ ______________________________________________________________________
+
+ [1m1. First things first.[0m
@@ -445,15 +445,18 @@
See http://mysettopbox.tv <http://mysettopbox.tv> if you'd like to
install a custom version of Knoppix optimized for MythTV.
@@ -25952,43 +26102,110 @@
-@@ -1838,9 +1844,9 @@
+@@ -1833,36 +1839,55 @@
+
+ [1m5.4. Manually building MythTV[0m
+- If you are going to use [1msubversion[22m, execute the following instructions
+- to obtain the latest version of MythTV:
++ [1mNOTE[22m: Unless you are reading this documentation on the day that a new
++ version of MythTV is released, it is highly encouraged that you use
++ the "-fixes" version of the software and not the source tarball.
+
++ To download the release version, execute:
- $ mkdir mythtv
- $ svn co http://svn.mythtv.org/svn/trunk/ mythtv
- $ cd mythtv
++ $ mkdir mythtv-release-0-21-fixes
++ $ svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/ mythtv-release-0-21-fixes
++ $ cd mythtv-release-0-21-fixes
+
+
+
+- To use a release version, you can execute:
++ See http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.21.1
++ <http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.21.1> for
++ release notes for MythTV v0.21.1
+
++ Execute the following instructions to obtain the latest version of
++ MythTV. This is known as the "trunk" version and is considered the
++ unstable code which is not guaranteed to work. Use of trunk implies
++ that you are also reading the mythtv-dev and mythtv-commits mailing
++ lists; failure to read those mailing lists can cause your system to
++ stop working.
+
+- $ mkdir mythtv-release-0.21
+- $ svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/ mythtv-release-0.21
+- $ cd mythtv-release-0.21
+
+
+ $ mkdir mythtv
+ $ svn co http://svn.mythtv.org/svn/trunk/ mythtv
+ $ cd mythtv
++
++
++ See http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.22
++ <http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.22> for
++ release notes for MythTV v0.22
++
+ [1mNOTE[22m: Using a svn version of the code allows you to stay up-to-date
+ with changes. So, if there's an update to the 0.21 release and you
+ originally obtained it using svn, you could enter the mythtv-
+- release-0.21 directory and type "svn up", which will update your copy
+- with the fixed version from the website. You would then recompile and
+- install the updated 0.21 code.
++ release-0-21-fixes directory and type "svn up", which will update your
++ copy with the fixed version from the website. You would then
++ recompile and install the updated 0.21 code.
+- If you are using the tarball, then unpack it:
++ If you are using the tarball, then unpack it. Again, use of the
++ tarball is only appropriate if a "-fixes" branch hasn't been created
++ for the code that you're running.
-@@ -1892,11 +1898,12 @@
- blue) participating, you would do something like:
++
+ $ tar -xjf mythtv-0.21.tar.bz2
+ $ cd mythtv-0.21
+ $ ./configure
+@@ -1875,11 +1900,10 @@
-- $ export DISTCC_HOSTS='localhost red blue'
-- $ make -j 6 CXX=distcc
+ To compile:
-+ $ export DISTCC_HOSTS='localhost red blue'
-+ $ make -j 6 CXX=distcc
++ $ make -j 2
+- $ make -j 2
-+
- The actual speed-up, if any, is dependant on a number of factors, such
- as number of CPUs / hosts, etc. The [1mdistcc [22mdocumentation recommends
- using a -j value of twice the number of CPUs available to keep all of
-@@ -1951,7 +1958,6 @@
- @audio - nice 0
+-
+ The MythTV compile can take advantage of multiple CPUs, SMP and
+ Hyperthreading. If you want to build MythTV on a multi-CPU machine
+ (or with [1mdistcc[22m), specify "-j numjobs", where "numjobs" is greater
+@@ -1934,7 +1958,6 @@
+ executable. Enabling real-time scheduling is optional, but can make
+ the video display smoother, especially if you are decoding HDTV.
-
- [1m5.4.1.2. realtime module[0m
+ [1m5.4.1.1. rlimits[0m
+
+ The rlimits method is the preferred method and is included in Linux
+@@ -1994,10 +2017,11 @@
+ would still like to do this, you just need to run this as root:
+
+
+- # chmod a+s /usr/local/bin/mythfrontend /usr/local/bin/mythtv
- The second option is to use the Linux realtime kernel module. This is
-@@ -2055,11 +2061,10 @@
++ # chmod a+s /usr/local/bin/mythfrontend /usr/local/bin/mythtv
+
+
++
+ [1m5.4.2. Frontend-only configuration[0m
+
+ Since MythTV uses a client/server architecture, multiple frontend
+@@ -2055,11 +2079,10 @@
[1m6. MySQL.[0m
@@ -26004,7 +26221,7 @@
[1m6.1. Distribution-specific information[0m
-@@ -2077,14 +2082,13 @@
+@@ -2077,14 +2100,13 @@
If this is happening to you, try running the following commands.
@@ -26023,7 +26240,38 @@
[1m6.1.2. Red Hat Linux and Fedora Core[0m
If this is the system maintaining the database, make sure that MySQL
-@@ -2197,7 +2201,7 @@
+@@ -2114,11 +2136,10 @@
+
+ To setup the initial MySQL databases:
+
++ $ cd database
+
+- $ cd database
+
+
+-
+ [1m6.2.1. Mandriva and Red Hat Linux/Fedora Core[0m
+
+
+@@ -2169,8 +2190,6 @@
+ mysql> grant all on mythconverg.* to mythtv@"%" identified by "mythtv";
+ mysql> flush privileges;
+
+-
+-
+ For a more secure setup, you can restrict which machines or subnets
+ have access. If you have a complete DNS system operational, you could
+ do the following:
+@@ -2190,6 +2209,8 @@
+ mysql> grant all on mythconverg.* to mythtv@"192.168.1.%" identified by "mythtv";
+ mysql> flush privileges;
+
++
++
+ You'll also need to check that the "networking" feature of MySQL is
+ turned on. Check that /etc/mysql/my.cnf [4mdoes[24m [4mnot[24m contain skip-
+ networking. If it does, remove it. Also verify that bind-address is
+@@ -2197,7 +2218,7 @@
these items, restart [1mMySQL[22m.
[1mNOTE[22m: Your distribution may have a customized MySQL configuration
@@ -26032,7 +26280,131 @@
configuration.
-@@ -6929,6 +6933,8 @@
+@@ -2474,7 +2495,6 @@
+
+ [1mNOTE to Mandriva 9.1 users[22m: skip to the manual start paragraph
+ below.
+-
+ If the lirc configure program / compile did not mention anything about
+ a kernel module, then you are finished. If it did mention a kernel
+ module, you must edit the /etc/modules.conf file. Add this line as the
+@@ -2499,7 +2519,7 @@
+ 9.1 users, type: # /etc/rc.d/init.d/lircd start instead of:
+
+
+- # /usr/local/sbin/lircd
++ # /usr/local/sbin/lircd
+
+
+
+@@ -2536,6 +2556,7 @@
+ another may contain a definition for "Chan+". Your lircrc file must
+ therefore be configured appropriately, or it won't work.
+
++
+ If this fails, complaining of a missing lircd.conf file, then you must
+ find or make one. First look for a pre-made configuration file at
+ http://lirc.sourceforge.net/remotes/
+@@ -2622,6 +2643,7 @@
+ $ irw
+
+
++
+ Start pressing the keys on your remote; [1mirw [22mwill print the name of the
+ button as it is defined in your /etc/lircd.conf. If you don't see any-
+ thing at this point, you need to troubleshoot further by going back to
+@@ -2644,8 +2666,30 @@
+ control unless you're using native lirc support.
+
+
+- [1m8.4. Additional information for lirc[0m
+
++ [1m8.4. Additional information for lirc - native mode[0m
++
++ If you will be using native mode, your lircrc file will need to look
++ something like this:
++
++
++
++ begin
++ remote = mceusb
++ prog = mythtv
++ button = Guide
++ config = S
++ repeat = 0
++ delay = 0
++ end
++
++
++
++ Note that the name of the "prog" is [1mmythtv[22m, not [1mmythtvfrontend[0m
++
++
++ [1m8.5. Additional information for lirc - irxevent mode[0m
++
+ Take a look at the lircrc.example files in the contrib/configfiles/
+ directory. In my case, (Pinnacle Studio card) the channel up and down
+ functions weren't working, due to the fact that the button names were
+@@ -2717,7 +2761,7 @@
+ experiment and see which value works best for you.
+
+
+- [1m8.5. Configuring lirc for use with an IR blaster[0m
++ [1m8.6. Configuring lirc for use with an IR blaster[0m
+
+ Lirc has support for various IR transmitters. A popular model is the
+ Actisys IR-200L http://store.snapstreamstore.com/accessories.html
+@@ -3406,7 +3450,7 @@
+ called ``Automatically rotating logs'' for more information.
+
+
+- [1m9.3. Configuring a non-master backend[0m
++ [1m9.3. Configuring a slave backend[0m
+
+ Ensure that you've granted access to the master MySQL database for
+ remote backends as discussed in the section titled ``Modifying access
+@@ -3436,16 +3480,15 @@
+ backend due to IP address misconfiguration then MythTV will not
+ function properly.
+
+- Configuration of a non-master backend follows the same general
+- procedure as that of the master backend, with the exception that you
+- skip over the "Video Sources" step. All possible video sources need
+- to be defined on the master backend system; only the master backend
+- will query a listings provider to obtain guide data for all the non-
+- master backends.
++ Configuration of a slave backend follows the same general procedure as
++ that of the master backend, with the exception that you skip over the
++ "Video Sources" step. All possible video sources need to be defined
++ on the master backend system; only the master backend will query a
++ listings provider to obtain guide data for all the slave backends.
+
+
+
+- [1mNOTE[22m: Do not run mythfilldatabase on a non-master backend.
++ [1mNOTE[22m: Do not run mythfilldatabase on a slave backend.
+
+ [1m9.4. Configuring and running mythfilldatabase[0m
+
+@@ -3485,7 +3528,6 @@
+ fit. The [1mmythbackend [22mprogram will now run [1mmythfilldatabase [22mfor you.
+
+
+-
+ [1m9.5. Grabbing channel icons for Schedules Direct users[0m
+
+ While the Schedules Direct TV listings service has several advantages,
+@@ -3547,6 +3589,9 @@
+ [1mNOTE[22m: You should go through the various setup screens in
+ mythfrontend before using any other modules to ensure that the the
+ database is correctly initialized.
++
++
++
+ [1m10.1. General[0m
+
+ The General screen has configuration items that don't really fit
+@@ -6929,6 +6974,8 @@
handle SIG33 nostop noprint
set logging on
set pagination off
@@ -26041,7 +26413,15 @@
set args -l myth.log -v record,channel,siparser
run
thread apply all bt full
-@@ -8616,9 +8622,9 @@
+@@ -8611,24 +8658,29 @@
+
+ +o s/S = SDT : DVB only
+
++ +o c/C = Crypt : The channel is encrypted. If you have a CAM you
++ should see a "C" after a few seconds.
++
+ [1m23.23. What is the difference between the various Hauppauge PVR mod-[0m
+ [1mels?[0m
This is covered in the hardware section, and extensively covered on
the Hauppauge website.
@@ -26054,11 +26434,31 @@
A PVR-150 comes in a number of versions:
+ +o The PVR-150 (Model 1045) is the retail kit. It comes with a remote
+ control and an IR Blaster. It does not have a radio tuner.
+
++
+ +o The PVR-150 MCE (Model 1042) will usually come in a plain white box
+ and is sold as an OEM device. It does not come with a remote
+ control, since it's usually used as the second, third, etc capture
+ device.
++
+ +o The PVR-150 MCE Kit (Model 1062) does not have a radio tuner and
+ comes with a Microsoft Media Center remote control instead of
+ Hauppauge's.
Index: mythtv/docs/mythtv-HOWTO-23.html
===================================================================
--- mythtv/docs/mythtv-HOWTO-23.html (revision 16468)
+++ mythtv/docs/mythtv-HOWTO-23.html (working copy)
-@@ -1085,7 +1085,7 @@
+@@ -1078,6 +1078,7 @@
+ <LI>v/V = VCT : ATSC only</LI>
+ <LI>n/N = NIT : DVB only</LI>
+ <LI>s/S = SDT : DVB only</LI>
++<LI>c/C = Crypt : The channel is encrypted. If you have a CAM you should see a "C" after a few seconds.</LI>
+ </UL>
+ </P>
+ <H2><A NAME="ss23.23">23.23</A> <A HREF="mythtv-HOWTO.html#toc23.23">What is the difference between the various Hauppauge PVR models?</A>
+@@ -1085,7 +1086,7 @@
<P>This is covered in the hardware section, and extensively covered on the
Hauppauge website. (
@@ -26089,7 +26489,7 @@
<author>Robert Kulagowski, <url url="mailto:rkulagow@rocketmail.com"
name="mailto:rkulagow@rocketmail.com">
-<date>2008-03-05, v0.21.00pre
-+<date>2008-10-27, v0.21.03
++<date>2009-01-20, v0.21.07
<abstract>
Initially, installation of MythTV seems like a huge task. There are lots
of dependencies, and various distributions seem to do the same thing
@@ -26180,7 +26580,69 @@
</caption></figure>
<sect2>Pre-compiled packages <label id="precompiled">
-@@ -1516,7 +1519,7 @@
+@@ -1326,30 +1329,49 @@
+
+ <label id="manually_building_mythtv">
+ <sect1>Manually building MythTV
+-<p>If you are going to use <bf>subversion</bf>, execute the following
+-instructions to obtain the latest version of MythTV:
++<p>
++<bf>NOTE</bf>: Unless you are reading this documentation on the day that a
++new version of MythTV is released, it is highly encouraged that you use the
++"-fixes" version of the software and not the source tarball.
+
++To download the release version, execute:
+ <tscreen><verb>
++$ mkdir mythtv-release-0-21-fixes
++$ svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/ mythtv-release-0-21-fixes
++$ cd mythtv-release-0-21-fixes
++</verb></tscreen>
++
++See <url url="http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.21.1"
++name="http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.21.1"> for
++release notes for MythTV v0.21.1
++
++Execute the following instructions to obtain the latest version of MythTV.
++This is known as the "trunk" version and is considered the unstable code
++which is not guaranteed to work. Use of trunk implies that you are also
++reading the mythtv-dev and mythtv-commits mailing lists; failure to read
++those mailing lists can cause your system to stop working.
++
++<tscreen><verb>
+ $ mkdir mythtv
+ $ svn co http://svn.mythtv.org/svn/trunk/ mythtv
+ $ cd mythtv
+ </verb></tscreen>
+
+-To use a release version, you can execute:
+-<tscreen><verb>
+-$ mkdir mythtv-release-0.21
+-$ svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/ mythtv-release-0.21
+-$ cd mythtv-release-0.21
+-</verb></tscreen>
++See <url url="http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.22"
++name="http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.22"> for
++release notes for MythTV v0.22
+
+ <bf>NOTE</bf>: Using a svn version of the code allows you to stay
+ up-to-date with changes. So, if there's an update to the 0.21 release and
+ you originally obtained it using svn, you could enter the
+-mythtv-release-0.21 directory and type "svn up", which will update your copy
+-with the fixed version from the website. You would then recompile and
+-install the updated 0.21 code.
++mythtv-release-0-21-fixes directory and type "svn up", which will update
++your copy with the fixed version from the website. You would then recompile
++and install the updated 0.21 code.
+
+-If you are using the tarball, then unpack it:
++If you are using the tarball, then unpack it. Again, use of the tarball is
++only appropriate if a "-fixes" branch hasn't been created for the code that
++you're running.
++
+ <tscreen><verb>
+ $ tar -xjf mythtv-0.21.tar.bz2
+ $ cd mythtv-0.21
+@@ -1516,7 +1538,7 @@
# emerge mythtv
</verb></tscreen>
<sect>MySQL.<label id="mysql">
@@ -26189,7 +26651,7 @@
out "log-bin" in your <tt>my.cnf</tt> configuration file. This option will
quickly fill your "/var" disk partition with many gigabytes of data,
unless you are doing database replication and deleting these files regularly.
-@@ -1636,7 +1639,7 @@
+@@ -1636,7 +1658,7 @@
<bf>MySQL</bf>.
<bf>NOTE</bf>: Your distribution may have a customized MySQL configuration
@@ -26198,7 +26660,61 @@
configuration.
<sect>Configuring Sound.
-@@ -5913,6 +5916,8 @@
+@@ -2019,7 +2041,23 @@
+ If <bf>irxevent</bf> isn't running, then MythTV will not respond to your remote
+ control unless you're using native lirc support.
+
+-<sect1>Additional information for lirc
++
++<sect1>Additional information for lirc - native mode
++<p>If you will be using native mode, your lircrc file will need to look something like this:
++<tscreen><verb>
++begin
++ remote = mceusb
++ prog = mythtv
++ button = Guide
++ config = S
++ repeat = 0
++ delay = 0
++end
++</verb></tscreen>
++
++Note that the name of the "prog" is <bf>mythtv</bf>, not <bf>mythtvfrontend</bf>
++
++<sect1>Additional information for lirc - irxevent mode
+ <p>Take a look at the lircrc.example files in the <tt>contrib/configfiles/</tt>
+ directory. In my case, (Pinnacle Studio card) the channel up and down functions
+ weren't working, due to the fact that the button names were different than
+@@ -2729,7 +2767,7 @@
+ <ref id="logrotate" name="Automatically rotating logs"> for more
+ information.
+
+-<sect1>Configuring a non-master backend <label id="nonmaster_backend">
++<sect1>Configuring a slave backend <label id="nonmaster_backend">
+ <p>Ensure that you've granted access to the master MySQL database for remote
+ backends as discussed in the section titled <ref id="modify_perm_mysql"
+ name="Modifying access to the MySQL database for multiple systems"> and that
+@@ -2760,16 +2798,16 @@
+ If the slave backend can't communicate with the master backend due to IP
+ address misconfiguration then MythTV will not function properly.
+
+-Configuration of a non-master backend follows the same general procedure
++Configuration of a slave backend follows the same general procedure
+ as that of the master backend, with the exception that you skip over the
+ "Video Sources" step. All possible video sources need to be defined on the
+ master backend system; only the master backend will query a listings
+-provider to obtain guide data for all the non-master backends.
++provider to obtain guide data for all the slave backends.
+
+ <figure loc="here">
+ <eps file="stop.eps" height="1cm">
+ <img src="stop.png">
+-<caption><bf>NOTE</bf>: Do not run <tt>mythfilldatabase</tt> on a non-master backend.
++<caption><bf>NOTE</bf>: Do not run <tt>mythfilldatabase</tt> on a slave backend.
+ </caption>
+ </figure>
+ <sect1>Configuring and running mythfilldatabase
+@@ -5913,6 +5951,8 @@
handle SIG33 nostop noprint
set logging on
set pagination off
@@ -26207,7 +26723,12 @@
set args -l myth.log -v record,channel,siparser
run
thread apply all bt full
-@@ -7380,8 +7385,8 @@
+@@ -7376,12 +7416,13 @@
+ <item>v/V = VCT : ATSC only
+ <item>n/N = NIT : DVB only
+ <item>s/S = SDT : DVB only
++<item>c/C = Crypt : The channel is encrypted. If you have a CAM you should see a "C" after a few seconds.
+ </itemize>
<sect1>What is the difference between the various Hauppauge PVR models?
<p>This is covered in the hardware section, and extensively covered on the
Hauppauge website. (<url
@@ -26218,7 +26739,7 @@
Hauppauge website for the most accurate information.
A PVR-150 comes in a number of versions:
-@@ -7931,13 +7936,14 @@
+@@ -7931,13 +7972,19 @@
You can then press ESC until you return to the main screen.
</article>
<!-- Revision History
@@ -26236,6 +26757,11 @@
+v0.21.01, 2008-06-03. Add mythbuntu.
+v0.21.02, 2008-06-04. Update minimyth link.
+v0.21.03, 2008-10-27. Update Hauppauge link.
++v0.21.04, 2009-01-01. "Crypt" description on LAMC table.
++v0.21.05, 2009-01-02. Expand instructions on how to use -fixes rather than
++the source tarball, put pointer to wiki for Release Notes.
++v0.21.06, 2009-01-11. Add information for native lirc mode
++v0.21.07, 2009-01-20. Standardize terminology for slave backends.
-->
<!--
@@ -26270,11 +26796,32 @@
<H2>Robert Kulagowski,
-<A HREF="mailto:rkulagow@rocketmail.com">mailto:rkulagow@rocketmail.com</A></H2>2008-03-05, v0.21.00pre
-+<A HREF="mailto:rkulagow@rocketmail.com">mailto:rkulagow@rocketmail.com</A></H2>2008-10-27, v0.21.03
++<A HREF="mailto:rkulagow@rocketmail.com">mailto:rkulagow@rocketmail.com</A></H2>2009-01-20, v0.21.07
<HR>
<EM>Initially, installation of MythTV seems like a huge task. There are lots
of dependencies, and various distributions seem to do the same thing
-@@ -322,14 +322,18 @@
+@@ -80,8 +80,9 @@
+ <LI><A NAME="toc8.1">8.1</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss8.1">Gentoo</A>
+ <LI><A NAME="toc8.2">8.2</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss8.2">Obtaining and compiling lirc</A>
+ <LI><A NAME="toc8.3">8.3</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss8.3">Completing the lirc install </A>
+-<LI><A NAME="toc8.4">8.4</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss8.4">Additional information for lirc</A>
+-<LI><A NAME="toc8.5">8.5</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss8.5">Configuring lirc for use with an IR blaster</A>
++<LI><A NAME="toc8.4">8.4</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss8.4">Additional information for lirc - native mode</A>
++<LI><A NAME="toc8.5">8.5</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss8.5">Additional information for lirc - irxevent mode</A>
++<LI><A NAME="toc8.6">8.6</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss8.6">Configuring lirc for use with an IR blaster</A>
+ </UL>
+ <P>
+ <H2><A NAME="toc9">9.</A> <A HREF="mythtv-HOWTO-singlehtml.html#s9">Configuring MythTV. </A></H2>
+@@ -89,7 +90,7 @@
+ <UL>
+ <LI><A NAME="toc9.1">9.1</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss9.1">Configuring the Master backend system</A>
+ <LI><A NAME="toc9.2">9.2</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss9.2">Post-configuration</A>
+-<LI><A NAME="toc9.3">9.3</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss9.3">Configuring a non-master backend </A>
++<LI><A NAME="toc9.3">9.3</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss9.3">Configuring a slave backend </A>
+ <LI><A NAME="toc9.4">9.4</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss9.4">Configuring and running mythfilldatabase</A>
+ <LI><A NAME="toc9.5">9.5</A> <A HREF="mythtv-HOWTO-singlehtml.html#ss9.5">Grabbing channel icons for Schedules Direct users</A>
+ </UL>
+@@ -322,14 +323,18 @@
<A HREF="http://mysettopbox.tv">http://mysettopbox.tv</A> if you'd
like to install a custom version of Knoppix optimized for MythTV.</P>
<P>See
@@ -26296,7 +26843,7 @@
<P>There is a MythTV wiki at
<A HREF="http://wiki.mythtv.org">http://wiki.mythtv.org</A>.</P>
<P>If you are installing this version for Schedules Direct support, please see
-@@ -715,6 +719,9 @@
+@@ -715,6 +720,9 @@
CPU. (The PVR-350 can simultaneously be used as an output device.) Using the
on-board MPEG-2 encoder greatly reduces the CPU requirements for
encoding.</P>
@@ -26306,7 +26853,7 @@
<P><B>NOTE</B>: Motherboards with the Via chipset are notoriously bad with
DMA and have caused numerous issues with ivtv, including hard locks. See
the ivtv website
-@@ -757,9 +764,10 @@
+@@ -757,9 +765,10 @@
<P>There are a number of HDTV cards with Linux drivers which are known to
operate in the United States; a complete list of cards with DVB drivers can
be found at
@@ -26320,7 +26867,7 @@
<P>Cards that have been reported to work include:
<UL>
<LI>pcHDTV HD-2000, Air2PC PCI rev 1-3 (8VSB only)</LI>
-@@ -816,8 +824,8 @@
+@@ -816,8 +825,8 @@
<A HREF="http://www.plextor.com/english/support/LinuxSDK.htm">http://www.plextor.com/english/support/LinuxSDK.htm</A>. MythTV uses the
Plextor to capture hardware encoded MPEG-4, so the host CPU requirements are low.</P>
<P>Hauppauge WinTV-PVR-USB2 (driver available at
@@ -26331,7 +26878,7 @@
<H3>IP Recorder (RTSP, RTS, UDP)</H3>
-@@ -840,13 +848,6 @@
+@@ -840,13 +849,6 @@
<LI>Hauppauge WinTV-USB series</LI>
<LI>Hauppauge WinTV-PVR-usb (model 602), or WinTV-PVR-PCI (model 880) cards (no driver - this is not the PVR-250/350
series of cards supported by the IvyTV driver)</LI>
@@ -26345,7 +26892,7 @@
<LI>ATI All-in-Wonder series</LI>
</UL>
</P>
-@@ -1019,7 +1020,7 @@
+@@ -1019,7 +1021,7 @@
<IMG SRC="warning.png">
<CAPTION><B>NOTE</B>: you must have the MySQL database software installed on a
system to store the master database. This does not necessarily mean that
@@ -26354,7 +26901,70 @@
</FIGURE>
</P>
-@@ -1849,7 +1850,7 @@
+@@ -1629,33 +1631,48 @@
+ <H2><A NAME="ss5.4">5.4</A> <A HREF="#toc5.4">Manually building MythTV</A>
+ </H2>
+
+-<P>If you are going to use <B>subversion</B>, execute the following
+-instructions to obtain the latest version of MythTV:</P>
+-<P>
++<P><B>NOTE</B>: Unless you are reading this documentation on the day that a
++new version of MythTV is released, it is highly encouraged that you use the
++"-fixes" version of the software and not the source tarball.</P>
++<P>To download the release version, execute:
+ <BLOCKQUOTE><CODE>
+ <PRE>
+-$ mkdir mythtv
+-$ svn co http://svn.mythtv.org/svn/trunk/ mythtv
+-$ cd mythtv
++$ mkdir mythtv-release-0-21-fixes
++$ svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/ mythtv-release-0-21-fixes
++$ cd mythtv-release-0-21-fixes
+ </PRE>
+ </CODE></BLOCKQUOTE>
+ </P>
+-<P>To use a release version, you can execute:
++<P>See
++<A HREF="http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.21.1">http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.21.1</A> for
++release notes for MythTV v0.21.1</P>
++<P>Execute the following instructions to obtain the latest version of MythTV.
++This is known as the "trunk" version and is considered the unstable code
++which is not guaranteed to work. Use of trunk implies that you are also
++reading the mythtv-dev and mythtv-commits mailing lists; failure to read
++those mailing lists can cause your system to stop working.</P>
++<P>
+ <BLOCKQUOTE><CODE>
+ <PRE>
+-$ mkdir mythtv-release-0.21
+-$ svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/ mythtv-release-0.21
+-$ cd mythtv-release-0.21
++$ mkdir mythtv
++$ svn co http://svn.mythtv.org/svn/trunk/ mythtv
++$ cd mythtv
+ </PRE>
+ </CODE></BLOCKQUOTE>
+ </P>
++<P>See
++<A HREF="http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.22">http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.22</A> for
++release notes for MythTV v0.22</P>
+ <P><B>NOTE</B>: Using a svn version of the code allows you to stay
+ up-to-date with changes. So, if there's an update to the 0.21 release and
+ you originally obtained it using svn, you could enter the
+-mythtv-release-0.21 directory and type "svn up", which will update your copy
+-with the fixed version from the website. You would then recompile and
+-install the updated 0.21 code.</P>
+-<P>If you are using the tarball, then unpack it:
++mythtv-release-0-21-fixes directory and type "svn up", which will update
++your copy with the fixed version from the website. You would then recompile
++and install the updated 0.21 code.</P>
++<P>If you are using the tarball, then unpack it. Again, use of the tarball is
++only appropriate if a "-fixes" branch hasn't been created for the code that
++you're running.</P>
++<P>
+ <BLOCKQUOTE><CODE>
+ <PRE>
+ $ tar -xjf mythtv-0.21.tar.bz2
+@@ -1849,7 +1866,7 @@
</P>
<H2><A NAME="mysql"></A> <A NAME="s6">6.</A> <A HREF="#toc6">MySQL.</A></H2>
@@ -26363,7 +26973,7 @@
out "log-bin" in your <CODE>my.cnf</CODE> configuration file. This option will
quickly fill your "/var" disk partition with many gigabytes of data,
unless you are doing database replication and deleting these files regularly.</P>
-@@ -2000,7 +2001,7 @@
+@@ -2000,7 +2017,7 @@
<CODE>127.0.0.1</CODE>. If you change either of these items, restart
<B>MySQL</B>.</P>
<P><B>NOTE</B>: Your distribution may have a customized MySQL configuration
@@ -26372,7 +26982,76 @@
configuration.</P>
<H2><A NAME="s7">7.</A> <A HREF="#toc7">Configuring Sound.</A></H2>
-@@ -6432,6 +6433,8 @@
+@@ -2433,9 +2450,29 @@
+ If <B>irxevent</B> isn't running, then MythTV will not respond to your remote
+ control unless you're using native lirc support.</P>
+
+-<H2><A NAME="ss8.4">8.4</A> <A HREF="#toc8.4">Additional information for lirc</A>
++
++<H2><A NAME="ss8.4">8.4</A> <A HREF="#toc8.4">Additional information for lirc - native mode</A>
+ </H2>
+
++<P>If you will be using native mode, your lircrc file will need to look something like this:
++<BLOCKQUOTE><CODE>
++<PRE>
++begin
++ remote = mceusb
++ prog = mythtv
++ button = Guide
++ config = S
++ repeat = 0
++ delay = 0
++end
++</PRE>
++</CODE></BLOCKQUOTE>
++</P>
++<P>Note that the name of the "prog" is <B>mythtv</B>, not <B>mythtvfrontend</B></P>
++
++<H2><A NAME="ss8.5">8.5</A> <A HREF="#toc8.5">Additional information for lirc - irxevent mode</A>
++</H2>
++
+ <P>Take a look at the lircrc.example files in the <CODE>contrib/configfiles/</CODE>
+ directory. In my case, (Pinnacle Studio card) the channel up and down functions
+ weren't working, due to the fact that the button names were different than
+@@ -2502,7 +2539,7 @@
+ the key. The actual <B>repeat =</B> number will vary from system to
+ system, so experiment and see which value works best for you.</P>
+
+-<H2><A NAME="ss8.5">8.5</A> <A HREF="#toc8.5">Configuring lirc for use with an IR blaster</A>
++<H2><A NAME="ss8.6">8.6</A> <A HREF="#toc8.6">Configuring lirc for use with an IR blaster</A>
+ </H2>
+
+ <P>Lirc has support for various IR transmitters. A popular model is the Actisys
+@@ -3140,7 +3177,7 @@
+ <A HREF="#logrotate">Automatically rotating logs</A> for more
+ information.</P>
+
+-<H2><A NAME="nonmaster_backend"></A> <A NAME="ss9.3">9.3</A> <A HREF="#toc9.3">Configuring a non-master backend </A>
++<H2><A NAME="nonmaster_backend"></A> <A NAME="ss9.3">9.3</A> <A HREF="#toc9.3">Configuring a slave backend </A>
+ </H2>
+
+ <P>Ensure that you've granted access to the master MySQL database for remote
+@@ -3169,16 +3206,16 @@
+ <P>Make sure that the IP addresses on the General setup screen are accurate.
+ If the slave backend can't communicate with the master backend due to IP
+ address misconfiguration then MythTV will not function properly.</P>
+-<P>Configuration of a non-master backend follows the same general procedure
++<P>Configuration of a slave backend follows the same general procedure
+ as that of the master backend, with the exception that you skip over the
+ "Video Sources" step. All possible video sources need to be defined on the
+ master backend system; only the master backend will query a listings
+-provider to obtain guide data for all the non-master backends.</P>
++provider to obtain guide data for all the slave backends.</P>
+ <P>
+ <FIGURE>
+ <EPS FILE="stop.eps">
+ <IMG SRC="stop.png">
+-<CAPTION><B>NOTE</B>: Do not run <CODE>mythfilldatabase</CODE> on a non-master backend.</CAPTION>
++<CAPTION><B>NOTE</B>: Do not run <CODE>mythfilldatabase</CODE> on a slave backend.</CAPTION>
+ </FIGURE>
+ </P>
+ <H2><A NAME="ss9.4">9.4</A> <A HREF="#toc9.4">Configuring and running mythfilldatabase</A>
+@@ -6432,6 +6469,8 @@
handle SIG33 nostop noprint
set logging on
set pagination off
@@ -26381,7 +27060,15 @@
set args -l myth.log -v record,channel,siparser
run
thread apply all bt full
-@@ -7994,7 +7997,7 @@
+@@ -7987,6 +8026,7 @@
+ <LI>v/V = VCT : ATSC only</LI>
+ <LI>n/N = NIT : DVB only</LI>
+ <LI>s/S = SDT : DVB only</LI>
++<LI>c/C = Crypt : The channel is encrypted. If you have a CAM you should see a "C" after a few seconds.</LI>
+ </UL>
+ </P>
+ <H2><A NAME="ss23.23">23.23</A> <A HREF="#toc23.23">What is the difference between the various Hauppauge PVR models?</A>
+@@ -7994,7 +8034,7 @@
<P>This is covered in the hardware section, and extensively covered on the
Hauppauge website. (
@@ -26390,6 +27077,50 @@
Hauppauge website for the most accurate information.</P>
<P>A PVR-150 comes in a number of versions:
<UL>
+Index: mythtv/docs/mythtv-HOWTO-8.html
+===================================================================
+--- mythtv/docs/mythtv-HOWTO-8.html (revision 16468)
++++ mythtv/docs/mythtv-HOWTO-8.html (working copy)
+@@ -332,9 +332,29 @@
+ If <B>irxevent</B> isn't running, then MythTV will not respond to your remote
+ control unless you're using native lirc support.</P>
+
+-<H2><A NAME="ss8.4">8.4</A> <A HREF="mythtv-HOWTO.html#toc8.4">Additional information for lirc</A>
++
++<H2><A NAME="ss8.4">8.4</A> <A HREF="mythtv-HOWTO.html#toc8.4">Additional information for lirc - native mode</A>
+ </H2>
+
++<P>If you will be using native mode, your lircrc file will need to look something like this:
++<BLOCKQUOTE><CODE>
++<PRE>
++begin
++ remote = mceusb
++ prog = mythtv
++ button = Guide
++ config = S
++ repeat = 0
++ delay = 0
++end
++</PRE>
++</CODE></BLOCKQUOTE>
++</P>
++<P>Note that the name of the "prog" is <B>mythtv</B>, not <B>mythtvfrontend</B></P>
++
++<H2><A NAME="ss8.5">8.5</A> <A HREF="mythtv-HOWTO.html#toc8.5">Additional information for lirc - irxevent mode</A>
++</H2>
++
+ <P>Take a look at the lircrc.example files in the <CODE>contrib/configfiles/</CODE>
+ directory. In my case, (Pinnacle Studio card) the channel up and down functions
+ weren't working, due to the fact that the button names were different than
+@@ -401,7 +421,7 @@
+ the key. The actual <B>repeat =</B> number will vary from system to
+ system, so experiment and see which value works best for you.</P>
+
+-<H2><A NAME="ss8.5">8.5</A> <A HREF="mythtv-HOWTO.html#toc8.5">Configuring lirc for use with an IR blaster</A>
++<H2><A NAME="ss8.6">8.6</A> <A HREF="mythtv-HOWTO.html#toc8.6">Configuring lirc for use with an IR blaster</A>
+ </H2>
+
+ <P>Lirc has support for various IR transmitters. A popular model is the Actisys
Index: mythtv/docs/mythtv-HOWTO.pdf
===================================================================
Cannot display: file marked as a binary type.
@@ -26403,10 +27134,31 @@
<H2>Robert Kulagowski,
-<A HREF="mailto:rkulagow@rocketmail.com">mailto:rkulagow@rocketmail.com</A></H2>2008-03-05, v0.21.00pre
-+<A HREF="mailto:rkulagow@rocketmail.com">mailto:rkulagow@rocketmail.com</A></H2>2008-10-27, v0.21.03
++<A HREF="mailto:rkulagow@rocketmail.com">mailto:rkulagow@rocketmail.com</A></H2>2009-01-20, v0.21.07
<HR>
<EM>Initially, installation of MythTV seems like a huge task. There are lots
of dependencies, and various distributions seem to do the same thing
+@@ -87,8 +87,9 @@
+ <LI><A NAME="toc8.1">8.1</A> <A HREF="mythtv-HOWTO-8.html#ss8.1">Gentoo</A>
+ <LI><A NAME="toc8.2">8.2</A> <A HREF="mythtv-HOWTO-8.html#ss8.2">Obtaining and compiling lirc</A>
+ <LI><A NAME="toc8.3">8.3</A> <A HREF="mythtv-HOWTO-8.html#ss8.3">Completing the lirc install </A>
+-<LI><A NAME="toc8.4">8.4</A> <A HREF="mythtv-HOWTO-8.html#ss8.4">Additional information for lirc</A>
+-<LI><A NAME="toc8.5">8.5</A> <A HREF="mythtv-HOWTO-8.html#ss8.5">Configuring lirc for use with an IR blaster</A>
++<LI><A NAME="toc8.4">8.4</A> <A HREF="mythtv-HOWTO-8.html#ss8.4">Additional information for lirc - native mode</A>
++<LI><A NAME="toc8.5">8.5</A> <A HREF="mythtv-HOWTO-8.html#ss8.5">Additional information for lirc - irxevent mode</A>
++<LI><A NAME="toc8.6">8.6</A> <A HREF="mythtv-HOWTO-8.html#ss8.6">Configuring lirc for use with an IR blaster</A>
+ </UL>
+ <P>
+ <H2><A NAME="toc9">9.</A> <A HREF="mythtv-HOWTO-9.html">Configuring MythTV. </A></H2>
+@@ -96,7 +97,7 @@
+ <UL>
+ <LI><A NAME="toc9.1">9.1</A> <A HREF="mythtv-HOWTO-9.html#ss9.1">Configuring the Master backend system</A>
+ <LI><A NAME="toc9.2">9.2</A> <A HREF="mythtv-HOWTO-9.html#ss9.2">Post-configuration</A>
+-<LI><A NAME="toc9.3">9.3</A> <A HREF="mythtv-HOWTO-9.html#ss9.3">Configuring a non-master backend </A>
++<LI><A NAME="toc9.3">9.3</A> <A HREF="mythtv-HOWTO-9.html#ss9.3">Configuring a slave backend </A>
+ <LI><A NAME="toc9.4">9.4</A> <A HREF="mythtv-HOWTO-9.html#ss9.4">Configuring and running mythfilldatabase</A>
+ <LI><A NAME="toc9.5">9.5</A> <A HREF="mythtv-HOWTO-9.html#ss9.5">Grabbing channel icons for Schedules Direct users</A>
+ </UL>
Index: mythtv/docs/mythtv-HOWTO-22.html
===================================================================
--- mythtv/docs/mythtv-HOWTO-22.html (revision 16468)
@@ -26423,7 +27175,7 @@
Index: mythtv/libs/libs-targetfix.pro
===================================================================
--- mythtv/libs/libs-targetfix.pro (revision 0)
-+++ mythtv/libs/libs-targetfix.pro (revision 19505)
++++ mythtv/libs/libs-targetfix.pro (revision 19788)
@@ -0,0 +1,20 @@
+# Common project modifications to change the generated target.
+
@@ -26605,7 +27357,37 @@
SetDeleteIter();
SetCommBreakIter();
-@@ -6970,15 +7009,15 @@
+@@ -4529,20 +4568,22 @@
+ {
+ if (hascommbreaktable)
+ {
++
+ commBreakIter = commBreakMap.begin();
+ while (commBreakIter != commBreakMap.end())
+ {
+- if ((framesPlayed + 2) > commBreakIter.key())
+- {
+- commBreakIter++;
+- }
+- else
++ if (framesPlayed <= commBreakIter.key())
+ break;
+- }
+
+- VERBOSE(VB_COMMFLAG, LOC + QString("new commBreakIter = %1 @ frame %2")
++ commBreakIter++;
++ }
++
++ if (commBreakIter != commBreakMap.end())
++ {
++ VERBOSE(VB_COMMFLAG, LOC + QString("new commBreakIter = %1 @ frame %2")
+ .arg(commBreakIter.data())
+ .arg(commBreakIter.key()));
++ }
+ }
+ }
+
+@@ -6970,15 +7011,15 @@
void NuppelVideoPlayer::DisplayDVDButton(void)
{
@@ -26624,7 +27406,7 @@
(osdshown) ||
(dvd_stillframe_showing && buffer->timecode > 0) ||
((!osdshown) &&
-@@ -6990,39 +7029,40 @@
+@@ -6990,39 +7031,40 @@
}
OSDSet *subtitleOSD = NULL;
@@ -26690,7 +27472,7 @@
}
}
-@@ -7037,19 +7077,19 @@
+@@ -7037,19 +7079,19 @@
if ((hmult < 0.99) || (hmult > 1.01) || (vmult < 0.99) || (vmult > 1.01))
{
@@ -27889,6 +28671,37 @@
"ALTER TABLE recorded ADD storagegroup VARCHAR(32) NOT NULL DEFAULT 'Default';",
"ALTER TABLE record ADD storagegroup VARCHAR(32) NOT NULL DEFAULT 'Default';",
"ALTER TABLE inuseprograms ADD rechost VARCHAR(64) NOT NULL;",
+@@ -4247,8 +4252,7 @@
+ "INSERT INTO playgroup VALUES ('Default','',30,5,100);",
+ "INSERT INTO profilegroups VALUES (1,'Software Encoders (v4l based)','V4L',"
+ " 1,NULL);",
+-"INSERT INTO profilegroups VALUES (2,'MPEG-2 Encoders (PVR-x50, PVR-500)',"
+-" 'MPEG',1,NULL);",
++"INSERT INTO profilegroups VALUES (2,'IVTV MPEG-2 Encoders','MPEG',1,NULL);",
+ "INSERT INTO profilegroups VALUES (3,"
+ " 'Hardware MJPEG Encoders (Matrox G200-TV, Miro DC10, etc)','MJPEG',1,NULL);",
+ "INSERT INTO profilegroups VALUES (4,'Hardware HDTV','HDTV',1,NULL);",
+Index: mythtv/libs/libmythtv/hdhrrecorder.cpp
+===================================================================
+--- mythtv/libs/libmythtv/hdhrrecorder.cpp (revision 16468)
++++ mythtv/libs/libmythtv/hdhrrecorder.cpp (working copy)
+@@ -250,9 +250,13 @@
+ if (!pmt)
+ return;
+
+- int next = (pmt->tsheader()->ContinuityCounter()+1)&0xf;
+- pmt->tsheader()->SetContinuityCounter(next);
+- BufferedWrite(*(reinterpret_cast<TSPacket*>(pmt->tsheader())));
++ unsigned char buf[8 * 1024];
++ uint next_cc = (pmt->tsheader()->ContinuityCounter()+1)&0xf;
++ pmt->tsheader()->SetContinuityCounter(next_cc);
++ uint size = pmt->WriteAsTSPackets(buf, next_cc);
++
++ for (uint i = 0; i < size ; i += TSPacket::SIZE)
++ DTVRecorder::BufferedWrite(*(reinterpret_cast<TSPacket*>(&buf[i])));
+ }
+
+ /** \fn HDHRRecorder::HandleMGT(const MasterGuideTable*)
Index: mythtv/libs/libmythtv/eithelper.cpp
===================================================================
--- mythtv/libs/libmythtv/eithelper.cpp (revision 16468)
@@ -27950,7 +28763,16 @@
===================================================================
--- mythtv/libs/libmythtv/siscan.cpp (revision 16468)
+++ mythtv/libs/libmythtv/siscan.cpp (working copy)
-@@ -1124,6 +1124,12 @@
+@@ -328,8 +328,6 @@
+ .arg((*current).FriendlyName));
+ VERBOSE(VB_SIPARSER, LOC + nit->toString());
+
+- dvbChanNums.clear();
+-
+ if (nit->TransportStreamCount())
+ {
+ emit TransportScanUpdateText(
+@@ -1124,6 +1122,12 @@
{ // The service is in database, update it
emit ServiceScanUpdateText(
tr("Updating %1").arg(common_status_info));
@@ -27963,7 +28785,7 @@
ChannelUtil::UpdateChannel(
db_mplexid, db_source_id, chanid,
callsign,
-@@ -1131,7 +1137,7 @@
+@@ -1131,7 +1135,7 @@
chan_num,
pmt->ProgramNumber(),
0, 0,
@@ -27972,7 +28794,7 @@
}
}
-@@ -1510,8 +1516,17 @@
+@@ -1510,8 +1514,17 @@
{ // The service is in database & we have good info, update it
emit ServiceScanUpdateText(tr("Updating %1").arg(service_name));
@@ -27990,7 +28812,7 @@
ChannelUtil::UpdateChannel(
db_mplexid,
-@@ -1522,10 +1537,8 @@
+@@ -1522,10 +1535,8 @@
chan_num,
sdt->ServiceID(i),
0, 0,
@@ -28107,7 +28929,7 @@
Index: mythtv/libs/libmythtv/mpeg/freesat_huffman.h
===================================================================
--- mythtv/libs/libmythtv/mpeg/freesat_huffman.h (revision 0)
-+++ mythtv/libs/libmythtv/mpeg/freesat_huffman.h (revision 19505)
++++ mythtv/libs/libmythtv/mpeg/freesat_huffman.h (revision 19788)
@@ -0,0 +1,12 @@
+#ifndef _FREESAT_HUFFMAN_H_
+#define _FREESAT_HUFFMAN_H_
@@ -28130,7 +28952,7 @@
Index: mythtv/libs/libmythtv/mpeg/freesat_tables.h
===================================================================
--- mythtv/libs/libmythtv/mpeg/freesat_tables.h (revision 0)
-+++ mythtv/libs/libmythtv/mpeg/freesat_tables.h (revision 19505)
++++ mythtv/libs/libmythtv/mpeg/freesat_tables.h (revision 19788)
@@ -0,0 +1,4370 @@
+struct fsattab fsat_table[] = {
+ { 0x00000000, 2, 'T'},
@@ -32511,7 +33333,7 @@
Index: mythtv/libs/libmythtv/mpeg/freesat_huffman.cpp
===================================================================
--- mythtv/libs/libmythtv/mpeg/freesat_huffman.cpp (revision 0)
-+++ mythtv/libs/libmythtv/mpeg/freesat_huffman.cpp (revision 19505)
++++ mythtv/libs/libmythtv/mpeg/freesat_huffman.cpp (revision 19788)
@@ -0,0 +1,107 @@
+#include "freesat_huffman.h"
+
@@ -32693,6 +33515,32 @@
}
#include <vector>
+@@ -333,21 +333,25 @@
+
+ unsigned char *pes_alloc(uint size)
+ {
++#ifndef USING_VALGRIND
+ QMutexLocker locker(&pes_alloc_mutex);
+ if (size <= 188)
+ return get_188_block();
+ else if (size <= 4096)
+ return get_4096_block();
++#endif
+ return (unsigned char*) malloc(size);
+ }
+
+ void pes_free(unsigned char *ptr)
+ {
++#ifndef USING_VALGRIND
+ QMutexLocker locker(&pes_alloc_mutex);
+ if (is_188_block(ptr))
+ return_188_block(ptr);
+ else if (is_4096_block(ptr))
+ return_4096_block(ptr);
+ else
++#endif
+ free(ptr);
+ }
Index: mythtv/libs/libmythtv/mpeg/dvbstreamdata.cpp
===================================================================
--- mythtv/libs/libmythtv/mpeg/dvbstreamdata.cpp (revision 16468)
@@ -32758,6 +33606,88 @@
}
return add_pids.size() || del_pids.size();
+@@ -768,6 +781,42 @@
+ sdts.clear();
+ }
+
++void DVBStreamData::DeleteCachedTable(PSIPTable *psip) const
++{
++ if (!psip)
++ return;
++
++ uint tid = psip->TableIDExtension();
++
++ QMutexLocker locker(&_cache_lock);
++ if (_cached_ref_cnt[psip] > 0)
++ {
++ _cached_slated_for_deletion[psip] = 1;
++ return;
++ }
++ else if ((TableID::NIT == psip->TableID()) &&
++ _cached_nit[psip->Section()])
++ {
++ _cached_nit[psip->Section()] = NULL;
++ delete psip;
++ }
++ else if ((TableID::SDT == psip->TableID()) &&
++ _cached_sdts[tid << 8 | psip->Section()])
++ {
++ _cached_sdts[tid << 8 | psip->Section()] = NULL;
++ delete psip;
++ }
++ else
++ {
++ MPEGStreamData::DeleteCachedTable(psip);
++ return;
++ }
++ psip_refcnt_map_t::iterator it;
++ it = _cached_slated_for_deletion.find(psip);
++ if (it != _cached_slated_for_deletion.end())
++ _cached_slated_for_deletion.erase(it);
++}
++
+ void DVBStreamData::CacheNIT(NetworkInformationTable *nit)
+ {
+ QMutexLocker locker(&_cache_lock);
+Index: mythtv/libs/libmythtv/mpeg/scanstreamdata.h
+===================================================================
+--- mythtv/libs/libmythtv/mpeg/scanstreamdata.h (revision 16468)
++++ mythtv/libs/libmythtv/mpeg/scanstreamdata.h (working copy)
+@@ -27,6 +27,9 @@
+ uint_vec_t& /*del_pids*/) const { return false; }
+
+ QString GetSIStandard(QString guess = "mpeg") const;
++
++ private:
++ virtual void DeleteCachedTable(PSIPTable *psip) const;
+ };
+
+ #endif // SCANSTREAMDATA_H_
+Index: mythtv/libs/libmythtv/mpeg/dvbdescriptors.h
+===================================================================
+--- mythtv/libs/libmythtv/mpeg/dvbdescriptors.h (revision 16468)
++++ mythtv/libs/libmythtv/mpeg/dvbdescriptors.h (working copy)
+@@ -1297,7 +1297,8 @@
+ kServiceTypeRCS_Map = 0x0E,
+ kServiceTypeRCS_FLS = 0x0F,
+ kServiceTypeDVB_MHP = 0x10,
+- kServiceTypeHDTV = 0x19,
++ kServiceTypeHDTV = 0x11,
++ kServiceTypeHDTV2 = 0x19,
+ kServiceTypeEchoStarTV1 = 0x91,
+ kServiceTypeEchoStarTV2 = 0x9a,
+ kServiceTypeEchoStarTV3 = 0xa4,
+@@ -1348,7 +1349,9 @@
+ bool IsDigitalAudio(void) const
+ { return ServiceType() == kServiceTypeDigitalRadioSound; }
+ bool IsHDTV(void) const
+- { return ServiceType() == kServiceTypeHDTV; }
++ { return
++ (ServiceType() == kServiceTypeHDTV) ||
++ (ServiceType() == kServiceTypeHDTV2); }
+ bool IsTeletext(void) const
+ { return ServiceType() == kServiceTypeDataBroadcast; }
+
Index: mythtv/libs/libmythtv/mpeg/mpegstreamdata.h
===================================================================
--- mythtv/libs/libmythtv/mpeg/mpegstreamdata.h (revision 16468)
@@ -32780,6 +33710,61 @@
void UpdateTimeOffset(uint64_t si_utc_time);
+Index: mythtv/libs/libmythtv/mpeg/atscstreamdata.h
+===================================================================
+--- mythtv/libs/libmythtv/mpeg/atscstreamdata.h (revision 16468)
++++ mythtv/libs/libmythtv/mpeg/atscstreamdata.h (working copy)
+@@ -113,6 +113,7 @@
+ void CacheMGT(MasterGuideTable*);
+ void CacheTVCT(uint pid, TerrestrialVirtualChannelTable*);
+ void CacheCVCT(uint pid, CableVirtualChannelTable*);
++ protected:
+ virtual void DeleteCachedTable(PSIPTable *psip) const;
+
+ private:
+Index: mythtv/libs/libmythtv/mpeg/dvbstreamdata.h
+===================================================================
+--- mythtv/libs/libmythtv/mpeg/dvbstreamdata.h (revision 16468)
++++ mythtv/libs/libmythtv/mpeg/dvbstreamdata.h (working copy)
+@@ -182,6 +182,8 @@
+ // Caching
+ void CacheNIT(NetworkInformationTable*);
+ void CacheSDT(ServiceDescriptionTable*);
++ protected:
++ virtual void DeleteCachedTable(PSIPTable *psip) const;
+
+ private:
+ /// DVB table monitoring
+@@ -215,8 +217,8 @@
+ sections_map_t _sdto_section_seen;
+
+ // Caching
+- nit_cache_t _cached_nit; // section -> sdt
+- sdt_cache_t _cached_sdts; // tsid+section -> sdt
++ mutable nit_cache_t _cached_nit; // section -> sdt
++ mutable sdt_cache_t _cached_sdts; // tsid+section -> sdt
+ };
+
+ inline void DVBStreamData::SetDishNetEIT(bool use_dishnet_eit)
+Index: mythtv/libs/libmythtv/mpeg/scanstreamdata.cpp
+===================================================================
+--- mythtv/libs/libmythtv/mpeg/scanstreamdata.cpp (revision 16468)
++++ mythtv/libs/libmythtv/mpeg/scanstreamdata.cpp (working copy)
+@@ -79,3 +79,14 @@
+
+ return "mpeg";
+ }
++
++
++void ScanStreamData::DeleteCachedTable(PSIPTable *psip) const
++{
++ if (!psip)
++ return;
++
++ ATSCStreamData::DeleteCachedTable(psip);
++ if (psip->pesdata())
++ DVBStreamData::DeleteCachedTable(psip);
++}
Index: mythtv/libs/libmythtv/mpeg/dvbdescriptors.cpp
===================================================================
--- mythtv/libs/libmythtv/mpeg/dvbdescriptors.cpp (revision 16468)
@@ -33072,6 +34057,15 @@
command = QString("%1 --config-file '%2' --configure")
.arg(grabber).arg(filename);
+@@ -1635,7 +1637,7 @@
+ QObject::tr("MJPEG capture card (Matrox G200, DC10)"), "MJPEG");
+ # ifdef USING_IVTV
+ setting->addSelection(
+- QObject::tr("MPEG-2 encoder card (PVR-x50, PVR-500)"), "MPEG");
++ QObject::tr("IVTV MPEG-2 encoder card"), "MPEG");
+ # endif // USING_IVTV
+ #endif // USING_V4L
+
Index: mythtv/libs/libmythtv/diseqcsettings.cpp
===================================================================
--- mythtv/libs/libmythtv/diseqcsettings.cpp (revision 16468)
@@ -33204,6 +34198,19 @@
{
if (curRecording)
curRecording->recstatus = rsFailed;
+Index: mythtv/libs/libmythtv/recordingprofile.cpp
+===================================================================
+--- mythtv/libs/libmythtv/recordingprofile.cpp (revision 16468)
++++ mythtv/libs/libmythtv/recordingprofile.cpp (working copy)
+@@ -1038,7 +1038,7 @@
+
+ QSize defaultsize(768, 576), maxsize(768, 576);
+ bool transcoding = profName.left(11) == "Transcoders";
+- bool ivtv = profName.left(34) == "MPEG-2 Encoders (PVR-x50, PVR-500)";
++ bool ivtv = profName.left(20) == "IVTV MPEG-2 Encoders";
+
+ if (transcoding)
+ {
Index: mythtv/libs/libmythtv/importicons.cpp
===================================================================
--- mythtv/libs/libmythtv/importicons.cpp (revision 16468)
@@ -34014,7 +35021,7 @@
Index: mythtv/libs/libavcodec/rectangle.h
===================================================================
--- mythtv/libs/libavcodec/rectangle.h (revision 0)
-+++ mythtv/libs/libavcodec/rectangle.h (revision 19505)
++++ mythtv/libs/libavcodec/rectangle.h (revision 19788)
@@ -0,0 +1,121 @@
+/*
+ * rectangle filling function
@@ -34239,7 +35246,7 @@
Index: mythtv/libs/libavcodec/i386/h264_i386.h
===================================================================
--- mythtv/libs/libavcodec/i386/h264_i386.h (revision 0)
-+++ mythtv/libs/libavcodec/i386/h264_i386.h (revision 19505)
++++ mythtv/libs/libavcodec/i386/h264_i386.h (revision 19788)
@@ -0,0 +1,144 @@
+/*
+ * H.26L/H.264/AVC/JVT/14496-10/... encoder/decoder
@@ -41039,6 +42046,28 @@
// ------------------------------------------------------------------
+Index: mythtv/libs/libmythupnp/httprequest.cpp
+===================================================================
+--- mythtv/libs/libmythupnp/httprequest.cpp (revision 16468)
++++ mythtv/libs/libmythupnp/httprequest.cpp (working copy)
+@@ -180,6 +180,17 @@
+
+ sHeader += GetAdditionalHeaders();
+
++ // ----------------------------------------------------------------------
++ // Temp Hack to process DLNA header
++
++ QString sValue = GetHeaderValue( "getcontentfeatures.dlna.org", "0" );
++
++ if (sValue == "1")
++ sHeader += "contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;"
++ "DLNA.ORG_FLAGS=01500000000000000000000000000000\r\n";
++
++ // ----------------------------------------------------------------------
++
+ sHeader += QString( "Connection: %1\r\n"
+ "Content-Type: %2\r\n"
+ "Content-Length: %3\r\n" )
Index: mythtv/libs/libmythupnp/libmythupnp.pro
===================================================================
--- mythtv/libs/libmythupnp/libmythupnp.pro (revision 16468)
@@ -43906,7 +44935,7 @@
Index: mythtv/contrib/Win32/build/mythtvsetup.iss
===================================================================
--- mythtv/contrib/Win32/build/mythtvsetup.iss (revision 0)
-+++ mythtv/contrib/Win32/build/mythtvsetup.iss (revision 19505)
++++ mythtv/contrib/Win32/build/mythtvsetup.iss (revision 19788)
@@ -0,0 +1,493 @@
+; Script generated by the Inno Setup Script Wizard.
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
@@ -44410,7 +45439,7 @@
Index: mythtv/contrib/Win32/MythInstaller.bat
===================================================================
--- mythtv/contrib/Win32/MythInstaller.bat (revision 0)
-+++ mythtv/contrib/Win32/MythInstaller.bat (revision 19505)
++++ mythtv/contrib/Win32/MythInstaller.bat (revision 19788)
@@ -0,0 +1,69 @@
+@rem = '--*-Perl-*--
+@rem
@@ -44492,7 +45521,7 @@
Index: mythtv/contrib/Win32/run/mythfrontend.cmd
===================================================================
--- mythtv/contrib/Win32/run/mythfrontend.cmd (revision 0)
-+++ mythtv/contrib/Win32/run/mythfrontend.cmd (revision 19505)
++++ mythtv/contrib/Win32/run/mythfrontend.cmd (revision 19788)
@@ -0,0 +1,57 @@
+@Echo off
+::
@@ -44554,7 +45583,7 @@
Index: mythtv/contrib/Win32/run/mythbackend.cmd
===================================================================
--- mythtv/contrib/Win32/run/mythbackend.cmd (revision 0)
-+++ mythtv/contrib/Win32/run/mythbackend.cmd (revision 19505)
++++ mythtv/contrib/Win32/run/mythbackend.cmd (revision 19788)
@@ -0,0 +1,58 @@
+@Echo off
+::
Index: mythtv.spec
===================================================================
RCS file: /cvs/free/rpms/mythtv/F-10/mythtv.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- mythtv.spec 31 Dec 2008 00:15:22 -0000 1.16
+++ mythtv.spec 23 Jan 2009 03:21:09 -0000 1.17
@@ -22,7 +22,7 @@
%if "%{branch}" == "trunk"
Release: 0.2.%{_svnver}%{?dist}
%else
-Release: 16%{?dist}
+Release: 17%{?dist}
%endif
URL: http://www.mythtv.org/
# The primary license is GPLv2+, but bits are borrowed from a number of
@@ -351,6 +351,8 @@
Summary: A MythTV module that displays a weather forcast
Group: Applications/Multimedia
Requires: mythtv-frontend-api = %{mythfeapiver}
+# For some reason, this perl dep isn't automagically picked up
+Requires: perl-XML-SAX
%description -n mythweather
A MythTV module that displays a weather forcast.
@@ -1023,6 +1025,10 @@
%endif
%changelog
+* Thu Jan 22 2009 Jarod Wilson <jarod(a)wilsonet.com> - 0.21-17
+- Update release-0-21-fixes patches (r19788)
+- Add Require: perl-XML-SAX to mythweather (rpmfusion bz#337)
+
* Tue Dec 30 2008 Jarod Wilson <jarod(a)wilsonet.com> - 0.21-16
- Update release-0-21-fixes patches (r19505)
- Fixes infinite loop introduced by firewire fix in -15 (rpmfusion bz#286)
15 years, 10 months
rpms/wxsvg/F-9 wxsvg-1.0-ffmpeg.patch, NONE, 1.1 wxsvg-1.0-internal_expat.patch, NONE, 1.1 wxsvg.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Stewart Adam
Author: firewing
Update of /cvs/free/rpms/wxsvg/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv7632/F-9
Modified Files:
.cvsignore sources
Added Files:
wxsvg-1.0-ffmpeg.patch wxsvg-1.0-internal_expat.patch
wxsvg.spec
Log Message:
Initial import
wxsvg-1.0-ffmpeg.patch:
--- NEW FILE wxsvg-1.0-ffmpeg.patch ---
--- src/Makefile.am.orig 2008-11-13 17:30:57.000000000 -0500
+++ src/Makefile.am 2008-11-13 17:31:42.000000000 -0500
@@ -47,5 +47,8 @@
SVGCanvas.cpp SVGCanvasItem.cpp NodeList.cpp $(FFMPEG_SRC)
libwxsvg_la_LIBADD = svgxml/libwxsvgxml.la $(RENDER_LIB) $(TEXT_LIB)
+libwxsvg_la_CFLAGS = $(LIBAVFORMAT_CFLAGS)
+libwxsvg_la_LDFLAGS = $(LIBAVFORMAT_LDFLAGS)
+
INCLUDES = -I$(top_builddir)/include -I$(top_builddir)/include/wxSVG
wxsvg-1.0-internal_expat.patch:
--- NEW FILE wxsvg-1.0-internal_expat.patch ---
--- src/svgxml/Makefile.am.orig 2008-11-13 21:33:02.000000000 -0500
+++ src/svgxml/Makefile.am 2008-11-13 21:36:12.000000000 -0500
@@ -1,7 +1,5 @@
-SUBDIRS = expat
-
noinst_LTLIBRARIES = libwxsvgxml.la
libwxsvgxml_la_SOURCES = svgxml.cpp svgxmlhelpr.cpp
-libwxsvgxml_la_LIBADD = expat/libexpat.la
+libwxsvgxml_la_LIBADD = $(EXPAT_LIBS)
INCLUDES = -I$(top_builddir)/include/wxSVGXML
--- configure.in.orig 2008-12-11 13:35:19.000000000 -0500
+++ configure.in 2008-12-11 13:35:24.000000000 -0500
@@ -179,7 +179,6 @@
include/wxSVGXML/Makefile
include/wxSVG/Makefile
src/svgxml/Makefile
- src/svgxml/expat/Makefile
src/Makefile
src/agg/Makefile
src/cairo/Makefile
--- src/svgxml/svgxml.cpp.orig 2008-12-11 13:39:49.000000000 -0500
+++ src/svgxml/svgxml.cpp 2008-12-11 13:40:00.000000000 -0500
@@ -21,11 +21,7 @@
#include "svgxml.h"
-#ifdef SYSEXPAT
#include <expat.h>
-#else
-#include "expat/xmlparse.h"
-#endif
#include "wx/wfstream.h"
#include "wx/datstrm.h"
--- NEW FILE wxsvg.spec ---
Name: wxsvg
Version: 1.0
Release: 6%{?dist}
Summary: C++ library to create, manipulate and render SVG files
Group: System Environment/Libraries
License: wxWidgets
URL: http://www.wxsvg.org/
Source0: http://downloads.sourceforge.net/wxsvg/wxsvg-%{version}.tar.bz2
Patch0: wxsvg-1.0-internal_expat.patch
Patch1: wxsvg-1.0-ffmpeg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool, gettext
BuildRequires: expat-devel
BuildRequires: ffmpeg-devel
BuildRequires: freetype-devel
BuildRequires: libart_lgpl-devel
BuildRequires: pango-devel
BuildRequires: wxGTK-devel
%description
wxSVG is C++ library to create, manipulate and render SVG files.
%package devel
Summary: Development files for the wxSVG library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: wxGTK-devel
%description devel
wxSVG is C++ library to create, manipulate and render SVG files. This package
provides the files required to develop programs that use wxsvg.
%prep
%setup -q -n wxsvg-%{version}
%patch0 -b .expat
%patch1 -b .avformat
%{__rm} -rf src/svgxml/expat
%build
./autogen.sh
%configure \
--disable-dependency-tracking \
--disable-static
%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
# Get rid of those .la files
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING TODO
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/wxSVG/
%{_includedir}/wxSVGXML/
%changelog
* Wed Jan 21 2009 Stewart Adam <s.adam at diffingo.com> - 1.0-6
- Add libtool and ffmpeg-devel BR
- Package headers & binaries again
* Tue Jan 20 2009 Stewart Adam <s.adam at diffingo.com> - 1.0-5
- Bump for correct upgrade path from Fedora
* Tue Jan 20 2009 Stewart Adam <s.adam at diffingo.com> - 1.0-4
- Rename wxsvg-freeworld to wxsvg and remove soname patch
- Update description
* Thu Dec 11 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-3
- Change soname to wxsvg_freeworld
- Update expat patch, rm -rf internal expat sources
- BR: expat should be BR: expat-devel
* Thu Nov 13 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-2
- Split off a devel package
* Thu Nov 13 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-1
- Update to 1.0 final
- Remove requires on /etc/ld.so.conf.d
- Patch out the internal expat build
- Remove requires on wxsvg
- Own %%{_libdir}/wxsvg-freeworld
* Fri Oct 17 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.11.b11
- Remove useless -devel subpackage
* Thu Oct 16 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.10.b11
- Remove binaries and include files; these are the same as the originals
- Remove ffmpeg-devel requirement on -devel package
- Get rid of %%configure hack (CFLAGS/CXXFLAGS)
- Require wxsvg and wxsvg-devel so the proper binaries and headers are
pulled in
- Add patch to use LIBAVFORMAT_{CFLAGS,LDFLAGS} in Makefile.am
* Wed Oct 15 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.9.b11
- Make devel package require ffmpeg-devel
- Edit #include statements to append -freeworld
- Add README.Fedora
* Sat Sep 27 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.8.b11
- New package based from Fedora's spec
- Update to 1.0b11, enable ffmpeg
- Use ld.so.conf.d to override non-ffmpeg enabled libraries
* Wed Mar 5 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0-0.8.b10
- Update to 1.0b10.
- Build with dependency tracking disabled.
* Sun Feb 24 2008 Matthias Saou <http://freshrpms.net/> 1.0-0.8.b7_3
- Downgrade to 1.0b7_3 since 1.0b8_1 requires ffmpeg and disabling it doesn't
seem to work properly and it has never avtually been built.
- Update URL field.
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng(a)fedoraproject.org>
- Autorebuild for GCC 4.3
* Mon Jan 14 2008 Matthias Saou <http://freshrpms.net/> 1.0-0.6.b8_1
- Update to 1.0b8_1.
- Replace shipping our own ltmain.sh with running libtoolize.
- Disable new ffmpeg option (which is enabled by default).
- Still needs work (doesn't compile!), since ffmpeg seems to be mandatory now.
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.5.b7_3
- Rebuild for new BuildID feature.
* Sun Aug 5 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.4.b7_3
- Update License field.
* Wed Jun 6 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.3.b7_3
- Update to 1.0b7_3.
- Pass -p to install.
- Remove no longer needed freetype patch, but...
- ...include our own ltmain.sh because it's missing...
- ...run ./autogen.sh since Makefile.in files are missing too.
* Wed May 9 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.2.b7
- Remove rpath on 64bit.
- Update sf.net download URL.
- Add missing wxGTK-devel requirement to the devel package.
* Fri Jan 19 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.1.b7
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/wxsvg/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jan 2009 16:51:26 -0000 1.1
+++ .cvsignore 22 Jan 2009 23:31:21 -0000 1.2
@@ -0,0 +1 @@
+wxsvg-1.0.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/wxsvg/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jan 2009 16:51:26 -0000 1.1
+++ sources 22 Jan 2009 23:31:21 -0000 1.2
@@ -0,0 +1 @@
+baa08719193486b52041050f0a890ccc wxsvg-1.0.tar.bz2
15 years, 10 months
rpms/wxsvg/F-10 wxsvg-1.0-ffmpeg.patch, NONE, 1.1 wxsvg-1.0-internal_expat.patch, NONE, 1.1 wxsvg.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Stewart Adam
Author: firewing
Update of /cvs/free/rpms/wxsvg/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv7632/F-10
Modified Files:
.cvsignore sources
Added Files:
wxsvg-1.0-ffmpeg.patch wxsvg-1.0-internal_expat.patch
wxsvg.spec
Log Message:
Initial import
wxsvg-1.0-ffmpeg.patch:
--- NEW FILE wxsvg-1.0-ffmpeg.patch ---
--- src/Makefile.am.orig 2008-11-13 17:30:57.000000000 -0500
+++ src/Makefile.am 2008-11-13 17:31:42.000000000 -0500
@@ -47,5 +47,8 @@
SVGCanvas.cpp SVGCanvasItem.cpp NodeList.cpp $(FFMPEG_SRC)
libwxsvg_la_LIBADD = svgxml/libwxsvgxml.la $(RENDER_LIB) $(TEXT_LIB)
+libwxsvg_la_CFLAGS = $(LIBAVFORMAT_CFLAGS)
+libwxsvg_la_LDFLAGS = $(LIBAVFORMAT_LDFLAGS)
+
INCLUDES = -I$(top_builddir)/include -I$(top_builddir)/include/wxSVG
wxsvg-1.0-internal_expat.patch:
--- NEW FILE wxsvg-1.0-internal_expat.patch ---
--- src/svgxml/Makefile.am.orig 2008-11-13 21:33:02.000000000 -0500
+++ src/svgxml/Makefile.am 2008-11-13 21:36:12.000000000 -0500
@@ -1,7 +1,5 @@
-SUBDIRS = expat
-
noinst_LTLIBRARIES = libwxsvgxml.la
libwxsvgxml_la_SOURCES = svgxml.cpp svgxmlhelpr.cpp
-libwxsvgxml_la_LIBADD = expat/libexpat.la
+libwxsvgxml_la_LIBADD = $(EXPAT_LIBS)
INCLUDES = -I$(top_builddir)/include/wxSVGXML
--- configure.in.orig 2008-12-11 13:35:19.000000000 -0500
+++ configure.in 2008-12-11 13:35:24.000000000 -0500
@@ -179,7 +179,6 @@
include/wxSVGXML/Makefile
include/wxSVG/Makefile
src/svgxml/Makefile
- src/svgxml/expat/Makefile
src/Makefile
src/agg/Makefile
src/cairo/Makefile
--- src/svgxml/svgxml.cpp.orig 2008-12-11 13:39:49.000000000 -0500
+++ src/svgxml/svgxml.cpp 2008-12-11 13:40:00.000000000 -0500
@@ -21,11 +21,7 @@
#include "svgxml.h"
-#ifdef SYSEXPAT
#include <expat.h>
-#else
-#include "expat/xmlparse.h"
-#endif
#include "wx/wfstream.h"
#include "wx/datstrm.h"
--- NEW FILE wxsvg.spec ---
Name: wxsvg
Version: 1.0
Release: 6%{?dist}
Summary: C++ library to create, manipulate and render SVG files
Group: System Environment/Libraries
License: wxWidgets
URL: http://www.wxsvg.org/
Source0: http://downloads.sourceforge.net/wxsvg/wxsvg-%{version}.tar.bz2
Patch0: wxsvg-1.0-internal_expat.patch
Patch1: wxsvg-1.0-ffmpeg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool, gettext
BuildRequires: expat-devel
BuildRequires: ffmpeg-devel
BuildRequires: freetype-devel
BuildRequires: libart_lgpl-devel
BuildRequires: pango-devel
BuildRequires: wxGTK-devel
%description
wxSVG is C++ library to create, manipulate and render SVG files.
%package devel
Summary: Development files for the wxSVG library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: wxGTK-devel
%description devel
wxSVG is C++ library to create, manipulate and render SVG files. This package
provides the files required to develop programs that use wxsvg.
%prep
%setup -q -n wxsvg-%{version}
%patch0 -b .expat
%patch1 -b .avformat
%{__rm} -rf src/svgxml/expat
%build
./autogen.sh
%configure \
--disable-dependency-tracking \
--disable-static
%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
# Get rid of those .la files
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING TODO
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/wxSVG/
%{_includedir}/wxSVGXML/
%changelog
* Wed Jan 21 2009 Stewart Adam <s.adam at diffingo.com> - 1.0-6
- Add libtool and ffmpeg-devel BR
- Package headers & binaries again
* Tue Jan 20 2009 Stewart Adam <s.adam at diffingo.com> - 1.0-5
- Bump for correct upgrade path from Fedora
* Tue Jan 20 2009 Stewart Adam <s.adam at diffingo.com> - 1.0-4
- Rename wxsvg-freeworld to wxsvg and remove soname patch
- Update description
* Thu Dec 11 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-3
- Change soname to wxsvg_freeworld
- Update expat patch, rm -rf internal expat sources
- BR: expat should be BR: expat-devel
* Thu Nov 13 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-2
- Split off a devel package
* Thu Nov 13 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-1
- Update to 1.0 final
- Remove requires on /etc/ld.so.conf.d
- Patch out the internal expat build
- Remove requires on wxsvg
- Own %%{_libdir}/wxsvg-freeworld
* Fri Oct 17 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.11.b11
- Remove useless -devel subpackage
* Thu Oct 16 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.10.b11
- Remove binaries and include files; these are the same as the originals
- Remove ffmpeg-devel requirement on -devel package
- Get rid of %%configure hack (CFLAGS/CXXFLAGS)
- Require wxsvg and wxsvg-devel so the proper binaries and headers are
pulled in
- Add patch to use LIBAVFORMAT_{CFLAGS,LDFLAGS} in Makefile.am
* Wed Oct 15 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.9.b11
- Make devel package require ffmpeg-devel
- Edit #include statements to append -freeworld
- Add README.Fedora
* Sat Sep 27 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.8.b11
- New package based from Fedora's spec
- Update to 1.0b11, enable ffmpeg
- Use ld.so.conf.d to override non-ffmpeg enabled libraries
* Wed Mar 5 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0-0.8.b10
- Update to 1.0b10.
- Build with dependency tracking disabled.
* Sun Feb 24 2008 Matthias Saou <http://freshrpms.net/> 1.0-0.8.b7_3
- Downgrade to 1.0b7_3 since 1.0b8_1 requires ffmpeg and disabling it doesn't
seem to work properly and it has never avtually been built.
- Update URL field.
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng(a)fedoraproject.org>
- Autorebuild for GCC 4.3
* Mon Jan 14 2008 Matthias Saou <http://freshrpms.net/> 1.0-0.6.b8_1
- Update to 1.0b8_1.
- Replace shipping our own ltmain.sh with running libtoolize.
- Disable new ffmpeg option (which is enabled by default).
- Still needs work (doesn't compile!), since ffmpeg seems to be mandatory now.
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.5.b7_3
- Rebuild for new BuildID feature.
* Sun Aug 5 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.4.b7_3
- Update License field.
* Wed Jun 6 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.3.b7_3
- Update to 1.0b7_3.
- Pass -p to install.
- Remove no longer needed freetype patch, but...
- ...include our own ltmain.sh because it's missing...
- ...run ./autogen.sh since Makefile.in files are missing too.
* Wed May 9 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.2.b7
- Remove rpath on 64bit.
- Update sf.net download URL.
- Add missing wxGTK-devel requirement to the devel package.
* Fri Jan 19 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.1.b7
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/wxsvg/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jan 2009 16:51:26 -0000 1.1
+++ .cvsignore 22 Jan 2009 23:31:21 -0000 1.2
@@ -0,0 +1 @@
+wxsvg-1.0.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/wxsvg/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jan 2009 16:51:26 -0000 1.1
+++ sources 22 Jan 2009 23:31:21 -0000 1.2
@@ -0,0 +1 @@
+baa08719193486b52041050f0a890ccc wxsvg-1.0.tar.bz2
15 years, 10 months
rpms/wxsvg/devel wxsvg-1.0-ffmpeg.patch, NONE, 1.1 wxsvg-1.0-internal_expat.patch, NONE, 1.1 wxsvg.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Stewart Adam
Author: firewing
Update of /cvs/free/rpms/wxsvg/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv7632/devel
Modified Files:
.cvsignore sources
Added Files:
wxsvg-1.0-ffmpeg.patch wxsvg-1.0-internal_expat.patch
wxsvg.spec
Log Message:
Initial import
wxsvg-1.0-ffmpeg.patch:
--- NEW FILE wxsvg-1.0-ffmpeg.patch ---
--- src/Makefile.am.orig 2008-11-13 17:30:57.000000000 -0500
+++ src/Makefile.am 2008-11-13 17:31:42.000000000 -0500
@@ -47,5 +47,8 @@
SVGCanvas.cpp SVGCanvasItem.cpp NodeList.cpp $(FFMPEG_SRC)
libwxsvg_la_LIBADD = svgxml/libwxsvgxml.la $(RENDER_LIB) $(TEXT_LIB)
+libwxsvg_la_CFLAGS = $(LIBAVFORMAT_CFLAGS)
+libwxsvg_la_LDFLAGS = $(LIBAVFORMAT_LDFLAGS)
+
INCLUDES = -I$(top_builddir)/include -I$(top_builddir)/include/wxSVG
wxsvg-1.0-internal_expat.patch:
--- NEW FILE wxsvg-1.0-internal_expat.patch ---
--- src/svgxml/Makefile.am.orig 2008-11-13 21:33:02.000000000 -0500
+++ src/svgxml/Makefile.am 2008-11-13 21:36:12.000000000 -0500
@@ -1,7 +1,5 @@
-SUBDIRS = expat
-
noinst_LTLIBRARIES = libwxsvgxml.la
libwxsvgxml_la_SOURCES = svgxml.cpp svgxmlhelpr.cpp
-libwxsvgxml_la_LIBADD = expat/libexpat.la
+libwxsvgxml_la_LIBADD = $(EXPAT_LIBS)
INCLUDES = -I$(top_builddir)/include/wxSVGXML
--- configure.in.orig 2008-12-11 13:35:19.000000000 -0500
+++ configure.in 2008-12-11 13:35:24.000000000 -0500
@@ -179,7 +179,6 @@
include/wxSVGXML/Makefile
include/wxSVG/Makefile
src/svgxml/Makefile
- src/svgxml/expat/Makefile
src/Makefile
src/agg/Makefile
src/cairo/Makefile
--- src/svgxml/svgxml.cpp.orig 2008-12-11 13:39:49.000000000 -0500
+++ src/svgxml/svgxml.cpp 2008-12-11 13:40:00.000000000 -0500
@@ -21,11 +21,7 @@
#include "svgxml.h"
-#ifdef SYSEXPAT
#include <expat.h>
-#else
-#include "expat/xmlparse.h"
-#endif
#include "wx/wfstream.h"
#include "wx/datstrm.h"
--- NEW FILE wxsvg.spec ---
Name: wxsvg
Version: 1.0
Release: 6%{?dist}
Summary: C++ library to create, manipulate and render SVG files
Group: System Environment/Libraries
License: wxWidgets
URL: http://www.wxsvg.org/
Source0: http://downloads.sourceforge.net/wxsvg/wxsvg-%{version}.tar.bz2
Patch0: wxsvg-1.0-internal_expat.patch
Patch1: wxsvg-1.0-ffmpeg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool, gettext
BuildRequires: expat-devel
BuildRequires: ffmpeg-devel
BuildRequires: freetype-devel
BuildRequires: libart_lgpl-devel
BuildRequires: pango-devel
BuildRequires: wxGTK-devel
%description
wxSVG is C++ library to create, manipulate and render SVG files.
%package devel
Summary: Development files for the wxSVG library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: wxGTK-devel
%description devel
wxSVG is C++ library to create, manipulate and render SVG files. This package
provides the files required to develop programs that use wxsvg.
%prep
%setup -q -n wxsvg-%{version}
%patch0 -b .expat
%patch1 -b .avformat
%{__rm} -rf src/svgxml/expat
%build
./autogen.sh
%configure \
--disable-dependency-tracking \
--disable-static
%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
# Get rid of those .la files
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING TODO
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/wxSVG/
%{_includedir}/wxSVGXML/
%changelog
* Wed Jan 21 2009 Stewart Adam <s.adam at diffingo.com> - 1.0-6
- Add libtool and ffmpeg-devel BR
- Package headers & binaries again
* Tue Jan 20 2009 Stewart Adam <s.adam at diffingo.com> - 1.0-5
- Bump for correct upgrade path from Fedora
* Tue Jan 20 2009 Stewart Adam <s.adam at diffingo.com> - 1.0-4
- Rename wxsvg-freeworld to wxsvg and remove soname patch
- Update description
* Thu Dec 11 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-3
- Change soname to wxsvg_freeworld
- Update expat patch, rm -rf internal expat sources
- BR: expat should be BR: expat-devel
* Thu Nov 13 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-2
- Split off a devel package
* Thu Nov 13 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-1
- Update to 1.0 final
- Remove requires on /etc/ld.so.conf.d
- Patch out the internal expat build
- Remove requires on wxsvg
- Own %%{_libdir}/wxsvg-freeworld
* Fri Oct 17 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.11.b11
- Remove useless -devel subpackage
* Thu Oct 16 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.10.b11
- Remove binaries and include files; these are the same as the originals
- Remove ffmpeg-devel requirement on -devel package
- Get rid of %%configure hack (CFLAGS/CXXFLAGS)
- Require wxsvg and wxsvg-devel so the proper binaries and headers are
pulled in
- Add patch to use LIBAVFORMAT_{CFLAGS,LDFLAGS} in Makefile.am
* Wed Oct 15 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.9.b11
- Make devel package require ffmpeg-devel
- Edit #include statements to append -freeworld
- Add README.Fedora
* Sat Sep 27 2008 Stewart Adam <s.adam at diffingo.com> - 1.0-0.8.b11
- New package based from Fedora's spec
- Update to 1.0b11, enable ffmpeg
- Use ld.so.conf.d to override non-ffmpeg enabled libraries
* Wed Mar 5 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0-0.8.b10
- Update to 1.0b10.
- Build with dependency tracking disabled.
* Sun Feb 24 2008 Matthias Saou <http://freshrpms.net/> 1.0-0.8.b7_3
- Downgrade to 1.0b7_3 since 1.0b8_1 requires ffmpeg and disabling it doesn't
seem to work properly and it has never avtually been built.
- Update URL field.
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng(a)fedoraproject.org>
- Autorebuild for GCC 4.3
* Mon Jan 14 2008 Matthias Saou <http://freshrpms.net/> 1.0-0.6.b8_1
- Update to 1.0b8_1.
- Replace shipping our own ltmain.sh with running libtoolize.
- Disable new ffmpeg option (which is enabled by default).
- Still needs work (doesn't compile!), since ffmpeg seems to be mandatory now.
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.5.b7_3
- Rebuild for new BuildID feature.
* Sun Aug 5 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.4.b7_3
- Update License field.
* Wed Jun 6 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.3.b7_3
- Update to 1.0b7_3.
- Pass -p to install.
- Remove no longer needed freetype patch, but...
- ...include our own ltmain.sh because it's missing...
- ...run ./autogen.sh since Makefile.in files are missing too.
* Wed May 9 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.2.b7
- Remove rpath on 64bit.
- Update sf.net download URL.
- Add missing wxGTK-devel requirement to the devel package.
* Fri Jan 19 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.1.b7
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/wxsvg/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jan 2009 16:51:26 -0000 1.1
+++ .cvsignore 22 Jan 2009 23:31:21 -0000 1.2
@@ -0,0 +1 @@
+wxsvg-1.0.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/wxsvg/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jan 2009 16:51:26 -0000 1.1
+++ sources 22 Jan 2009 23:31:21 -0000 1.2
@@ -0,0 +1 @@
+baa08719193486b52041050f0a890ccc wxsvg-1.0.tar.bz2
15 years, 10 months
rpms/wxsvg/devel .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 sources, NONE, 1.1
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/wxsvg/devel
In directory se02.es.rpmfusion.net:/home/rpmfusion/thl/free/owners/tmpcvsdm7979/rpms/wxsvg/devel
Added Files:
.cvsignore Makefile sources
Log Message:
Setup of module wxsvg
--- NEW FILE .cvsignore ---
--- NEW FILE Makefile ---
# Makefile for source rpm: wxsvg
# $Id: Makefile,v 1.1 2009/01/22 16:51:26 thl Exp $
NAME := wxsvg
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)
--- NEW FILE sources ---
15 years, 10 months
rpms/wxsvg Makefile,NONE,1.1 import.log,NONE,1.1 pkg.acl,NONE,1.1
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/wxsvg
In directory se02.es.rpmfusion.net:/home/rpmfusion/thl/free/owners/tmpcvsdm7979/rpms/wxsvg
Added Files:
Makefile import.log pkg.acl
Log Message:
Setup of module wxsvg
--- NEW FILE Makefile ---
# Top level Makefile for module wxsvg
all : CVS/Root common-update
@cvs update
common-update : common
@cd common && cvs update
common : CVS/Root
@cvs checkout common
CVS/Root :
@echo "ERROR: This does not look like a CVS checkout" && exit 1
clean :
@find . -type f -name *~ -exec rm -fv {} \;
--- NEW FILE import.log ---
--- NEW FILE pkg.acl ---
15 years, 10 months
rpms/wxsvg/devel - New directory
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/wxsvg/devel
In directory se02.es.rpmfusion.net:/home/rpmfusion/thl/free/owners/tmpcvsdm7979/rpms/wxsvg/devel
Log Message:
Directory /cvs/free/rpms/wxsvg/devel added to the repository
15 years, 10 months