rpms/schroedinger/F-12 gst-plugins-schroedinger-1.0.8.patch, NONE, 1.1 gst-plugins-schroedinger-plug.patch, NONE, 1.1 import.log, NONE, 1.1 schroedinger.spec, 1.17, 1.18

Nicolas Chauvet kwizart at fedoraproject.org
Wed Oct 28 00:03:41 UTC 2009


Author: kwizart

Update of /cvs/pkgs/rpms/schroedinger/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16955/F-12

Modified Files:
	schroedinger.spec 
Added Files:
	gst-plugins-schroedinger-1.0.8.patch 
	gst-plugins-schroedinger-plug.patch import.log 
Log Message:
- Re-introduce gstreamer sub-package until seen in -good


gst-plugins-schroedinger-1.0.8.patch:
 gst-libs/gst/video/Makefile.am           |   24 
 gst-libs/gst/video/gstbasevideocodec.c   |  565 ++++++++++++++
 gst-libs/gst/video/gstbasevideocodec.h   |  150 +++
 gst-libs/gst/video/gstbasevideodecoder.c | 1223 +++++++++++++++++++++++++++++++
 gst-libs/gst/video/gstbasevideodecoder.h |  163 ++++
 gst-libs/gst/video/gstbasevideoencoder.c |  521 +++++++++++++
 gst-libs/gst/video/gstbasevideoencoder.h |  123 +++
 gst-libs/gst/video/gstbasevideoparse.c   |  871 ++++++++++++++++++++++
 gst-libs/gst/video/gstbasevideoparse.h   |  141 +++
 gst-libs/gst/video/gstbasevideoutils.c   |  163 ++++
 gst-libs/gst/video/gstbasevideoutils.h   |   95 ++
 gst/Makefile.am                          |   27 
 gst/gstschro.c                           |   54 +
 gst/gstschrodec.c                        |  728 ++++++++++++++++++
 gst/gstschroenc.c                        |  791 ++++++++++++++++++++
 gst/gstschroparse.c                      |  610 +++++++++++++++
 gst/gstschroutils.c                      |  149 +++
 gst/gstschroutils.h                      |   34 
 18 files changed, 6432 insertions(+)

--- NEW FILE gst-plugins-schroedinger-1.0.8.patch ---
diff -uNr schroedinger-1.0.8.orig/gst/gstschro.c schroedinger-1.0.8/gst/gstschro.c
--- schroedinger-1.0.8.orig/gst/gstschro.c	1970-01-01 01:00:00.000000000 +0100
+++ schroedinger-1.0.8/gst/gstschro.c	2009-09-11 17:35:39.000000000 +0200
@@ -0,0 +1,54 @@
+/* GStreamer
+ * Copyright (C) 2005 David Schleef <ds at schleef.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <gst/gst.h>
+#include <schroedinger/schro.h>
+
+GType gst_schro_enc_get_type (void);
+GType gst_schro_dec_get_type (void);
+GType gst_schro_parse_get_type (void);
+
+GST_DEBUG_CATEGORY (schro_debug);
+#define GST_CAT_DEFAULT schro_debug
+
+static gboolean
+plugin_init (GstPlugin * plugin)
+{
+  schro_init ();
+
+  GST_DEBUG_CATEGORY_INIT (schro_debug, "schro", 0, "Schroedinger");
+  gst_element_register (plugin, "schrodec", GST_RANK_PRIMARY,
+      gst_schro_dec_get_type ());
+  gst_element_register (plugin, "schroparse", GST_RANK_NONE,
+      gst_schro_parse_get_type ());
+  gst_element_register (plugin, "schroenc", GST_RANK_PRIMARY,
+      gst_schro_enc_get_type ());
+
+  return TRUE;
+}
+
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+    GST_VERSION_MINOR,
+    "schro",
+    "Schroedinger plugin",
+    plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
diff -uNr schroedinger-1.0.8.orig/gst/gstschrodec.c schroedinger-1.0.8/gst/gstschrodec.c
--- schroedinger-1.0.8.orig/gst/gstschrodec.c	1970-01-01 01:00:00.000000000 +0100
+++ schroedinger-1.0.8/gst/gstschrodec.c	2009-10-12 12:23:39.000000000 +0200
@@ -0,0 +1,728 @@
+/* Schrodinger
+ * Copyright (C) 2006 David Schleef <ds at schleef.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <gst/gst.h>
+#include <gst/base/gstadapter.h>
+#include <gst/video/video.h>
+#include <gst/video/gstbasevideodecoder.h>
+#include <string.h>
+#include <schroedinger/schro.h>
+#include <math.h>
+#include "gstschroutils.h"
+
+#include <schroedinger/schroparse.h>
+
+GST_DEBUG_CATEGORY_EXTERN (schro_debug);
+#define GST_CAT_DEFAULT schro_debug
+
+#define GST_TYPE_SCHRO_DEC \
+  (gst_schro_dec_get_type())
+#define GST_SCHRO_DEC(obj) \
+  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SCHRO_DEC,GstSchroDec))
+#define GST_SCHRO_DEC_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SCHRO_DEC,GstSchroDecClass))
+#define GST_IS_SCHRO_DEC(obj) \
+  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SCHRO_DEC))
+#define GST_IS_SCHRO_DEC_CLASS(obj) \
+  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SCHRO_DEC))
+
+typedef struct _GstSchroDec GstSchroDec;
+typedef struct _GstSchroDecClass GstSchroDecClass;
+
+struct _GstSchroDec
+{
+  GstBaseVideoDecoder base_video_decoder;
+
+  SchroDecoder *decoder;
+
+  GstBuffer *seq_header_buffer;
+};
+
+struct _GstSchroDecClass
+{
+  GstBaseVideoDecoder base_video_decoder_class;
+};
+
+
+/* GstSchroDec signals and args */
+enum
+{
+  LAST_SIGNAL
+};
+
+enum
+{
+  ARG_0
+};
+
+static void gst_schro_dec_finalize (GObject * object);
+static void gst_schro_dec_set_property (GObject * object, guint prop_id,
+    const GValue * value, GParamSpec * pspec);
+static void gst_schro_dec_get_property (GObject * object, guint prop_id,
+    GValue * value, GParamSpec * pspec);
+
+static gboolean gst_schro_dec_sink_query (GstPad * pad, GstQuery * query);
+
+static gboolean gst_schro_dec_start (GstBaseVideoDecoder * dec);
+static gboolean gst_schro_dec_stop (GstBaseVideoDecoder * dec);
+static gboolean gst_schro_dec_reset (GstBaseVideoDecoder * dec);
+static GstFlowReturn gst_schro_dec_parse_data (GstBaseVideoDecoder *
+    base_video_decoder, gboolean at_eos);
+static int gst_schro_dec_scan_for_sync (GstBaseVideoDecoder *
+    base_video_decoder, gboolean at_eos, int offset, int n);
+static GstFlowReturn gst_schro_dec_handle_frame (GstBaseVideoDecoder * decoder,
+    GstVideoFrame * frame);
+static GstFlowReturn gst_schro_dec_finish (GstBaseVideoDecoder *
+    base_video_decoder, GstVideoFrame * frame);
+static void gst_schrodec_send_tags (GstSchroDec * schro_dec);
+
+static GstStaticPadTemplate gst_schro_dec_sink_template =
+GST_STATIC_PAD_TEMPLATE ("sink",
+    GST_PAD_SINK,
+    GST_PAD_ALWAYS,
+    GST_STATIC_CAPS ("video/x-dirac")
+    );
+
+static GstStaticPadTemplate gst_schro_dec_src_template =
+GST_STATIC_PAD_TEMPLATE ("src",
+    GST_PAD_SRC,
+    GST_PAD_ALWAYS,
+    GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("{ I420, YUY2, AYUV }"))
+    );
+
+GST_BOILERPLATE (GstSchroDec, gst_schro_dec, GstBaseVideoDecoder,
+    GST_TYPE_BASE_VIDEO_DECODER);
+
+static void
+gst_schro_dec_base_init (gpointer g_class)
+{
+  static GstElementDetails compress_details =
+      GST_ELEMENT_DETAILS ("Dirac Decoder",
+      "Codec/Decoder/Video",
+      "Decode Dirac streams",
+      "David Schleef <ds at schleef.org>");
+  GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
+
+  gst_element_class_add_pad_template (element_class,
+      gst_static_pad_template_get (&gst_schro_dec_src_template));
+  gst_element_class_add_pad_template (element_class,
+      gst_static_pad_template_get (&gst_schro_dec_sink_template));
+
+  gst_element_class_set_details (element_class, &compress_details);
+}
+
+static void
+gst_schro_dec_class_init (GstSchroDecClass * klass)
+{
+  GObjectClass *gobject_class;
[...6105 lines suppressed...]
+    GstFormat src_format, gint64 src_value,
+    GstFormat * dest_format, gint64 * dest_value)
+{
+  gboolean res = FALSE;
+
+  if (src_format == *dest_format) {
+    *dest_value = src_value;
+    return TRUE;
+  }
+
+  GST_DEBUG ("src convert");
+
+#if 0
+  if (src_format == GST_FORMAT_DEFAULT && *dest_format == GST_FORMAT_TIME) {
+    if (dec->fps_d != 0) {
+      *dest_value = gst_util_uint64_scale (granulepos_to_frame (src_value),
+          dec->fps_d * GST_SECOND, dec->fps_n);
+      res = TRUE;
+    } else {
+      res = FALSE;
+    }
+  } else {
+    GST_WARNING ("unhandled conversion from %d to %d", src_format,
+        *dest_format);
+    res = FALSE;
+  }
+#endif
+
+  return res;
+}
+
+gboolean
+gst_base_video_state_from_caps (GstVideoState * state, GstCaps * caps)
+{
+
+  gst_video_format_parse_caps (caps, &state->format,
+      &state->width, &state->height);
+
+  if (!gst_video_parse_caps_framerate (caps, &state->fps_n, &state->fps_d))
+    return FALSE;
+
+  state->par_n = 1;
+  state->par_d = 1;
+  gst_video_parse_caps_pixel_aspect_ratio (caps, &state->par_n, &state->par_d);
+
+  {
+    GstStructure *structure = gst_caps_get_structure (caps, 0);
+    state->interlaced = FALSE;
+    gst_structure_get_boolean (structure, "interlaced", &state->interlaced);
+  }
+
+  state->clean_width = state->width;
+  state->clean_height = state->height;
+  state->clean_offset_left = 0;
+  state->clean_offset_top = 0;
+
+  /* FIXME need better error handling */
+  return TRUE;
+}
+
+GstClockTime
+gst_video_state_get_timestamp (const GstVideoState * state, int frame_number)
+{
+  if (frame_number < 0) {
+    return state->segment.start -
+        (gint64) gst_util_uint64_scale (-frame_number,
+        state->fps_d * GST_SECOND, state->fps_n);
+  } else {
+    return state->segment.start +
+        gst_util_uint64_scale (frame_number,
+        state->fps_d * GST_SECOND, state->fps_n);
+  }
+}
diff -uNr schroedinger-1.0.8.orig/gst-libs/gst/video/gstbasevideoutils.h schroedinger-1.0.8/gst-libs/gst/video/gstbasevideoutils.h
--- schroedinger-1.0.8.orig/gst-libs/gst/video/gstbasevideoutils.h	1970-01-01 01:00:00.000000000 +0100
+++ schroedinger-1.0.8/gst-libs/gst/video/gstbasevideoutils.h	2009-09-11 17:35:39.000000000 +0200
@@ -0,0 +1,95 @@
+/* GStreamer
+ * Copyright (C) 2008 David Schleef <ds at schleef.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef _GST_BASE_VIDEO_UTILS_H_
+#define _GST_BASE_VIDEO_UTILS_H_
+
+#ifndef GST_USE_UNSTABLE_API
+#warning "The base video utils API is unstable and may change in future."
+#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
+#endif
+
+#include <gst/gst.h>
+#include <gst/video/video.h>
+#include <gst/base/gstadapter.h>
+
+G_BEGIN_DECLS
+
+typedef struct _GstVideoState GstVideoState;
+typedef struct _GstVideoFrame GstVideoFrame;
+
+struct _GstVideoState
+{
+  GstVideoFormat format;
+  int width, height;
+  int fps_n, fps_d;
+  int par_n, par_d;
+  gboolean interlaced;
+  gboolean top_field_first;
+
+  int clean_width, clean_height;
+  int clean_offset_left, clean_offset_top;
+
+  int bytes_per_picture;
+
+  GstSegment segment;
+
+  int picture_number;
+};
+
+struct _GstVideoFrame
+{
+  guint64 decode_timestamp;
+  guint64 presentation_timestamp;
+  guint64 presentation_duration;
+
+  gint system_frame_number;
+  gint decode_frame_number;
+  gint presentation_frame_number;
+
+  int distance_from_sync;
+  gboolean is_sync_point;
+  gboolean is_eos;
+
+  GstBuffer *sink_buffer;
+  GstBuffer *src_buffer;
+
+  int field_index;
+  int n_fields;
+
+  void *coder_hook;
+};
+
+gboolean gst_base_video_rawvideo_convert (GstVideoState *state,
+    GstFormat src_format, gint64 src_value,
+    GstFormat * dest_format, gint64 *dest_value);
+gboolean gst_base_video_encoded_video_convert (GstVideoState *state,
+    GstFormat src_format, gint64 src_value,
+    GstFormat * dest_format, gint64 *dest_value);
+
+gboolean gst_base_video_state_from_caps (GstVideoState *state,
+    GstCaps *caps);
+
+GstClockTime gst_video_state_get_timestamp (const GstVideoState *state,
+    int frame_number);
+
+G_END_DECLS
+
+#endif
+
diff -uNr schroedinger-1.0.8.orig/gst-libs/gst/video/Makefile.am schroedinger-1.0.8/gst-libs/gst/video/Makefile.am
--- schroedinger-1.0.8.orig/gst-libs/gst/video/Makefile.am	1970-01-01 01:00:00.000000000 +0100
+++ schroedinger-1.0.8/gst-libs/gst/video/Makefile.am	2009-09-11 17:35:39.000000000 +0200
@@ -0,0 +1,24 @@
+
+lib_LTLIBRARIES = libgstbasevideo- at GST_MAJORMINOR@.la
+
+CLEANFILES = $(BUILT_SOURCES)
+
+libgstbasevideo_ at GST_MAJORMINOR@_la_SOURCES = \
+	gstbasevideoutils.c \
+	gstbasevideocodec.c \
+	gstbasevideodecoder.c \
+	gstbasevideoencoder.c \
+	gstbasevideoparse.c
+
+libgstbasevideo_ at GST_MAJORMINOR@includedir = $(includedir)/gstreamer- at GST_MAJORMINOR@/gst/video
+libgstbasevideo_ at GST_MAJORMINOR@include_HEADERS = \
+	gstbasevideoutils.h \
+	gstbasevideocodec.h \
+	gstbasevideodecoder.h \
+	gstbasevideoencoder.h \
+	gstbasevideoparse.h
+
+libgstbasevideo_ at GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -DGST_USE_UNSTABLE_API -I$(top_srcdir)/gst-libs
+libgstbasevideo_ at GST_MAJORMINOR@_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) -lgstvideo- at GST_MAJORMINOR@
+libgstbasevideo_ at GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) -static
+

gst-plugins-schroedinger-plug.patch:
 Makefile.am  |    6 +++++-
 configure.ac |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 1 deletion(-)

--- NEW FILE gst-plugins-schroedinger-plug.patch ---
--- schroedinger-1.0.8.orig/configure.ac	2009-09-29 07:23:37.000000000 +0200
+++ schroedinger-1.0.8/configure.ac	2009-04-23 05:20:57.000000000 +0200
@@ -150,6 +150,47 @@
 SCHRO_CFLAGS="$SCHRO_CFLAGS -I\$(top_srcdir)"
 AC_SUBST(SCHRO_CFLAGS)
 
+########################
+# GStreamer stuff
+########################
+
+GST_MAJORMINOR=0.10
+AC_SUBST(GST_MAJORMINOR)
+dnl *** check for arguments to configure ***
+
+if test "x$with_opengl" = xyes; then
+  GST_GL_DEP="gst-plugins-gl-0.10"
+fi
+
+AC_ARG_ENABLE(gstreamer, AC_HELP_STRING([--disable-gstreamer],
+              [disable gstreamer support (default=enabled)]))
+if test "x$enable_gstreamer" != xno
+then
+  PKG_CHECK_MODULES(GST, gstreamer-0.10 >= 0.10.19 gstreamer-base-0.10 >= 0.10.19 gstreamer-video-0.10 >= 0.10.19 ${GST_GL_DEP},
+      HAVE_GST=yes, HAVE_GST=no)
+else
+  HAVE_GST=no
+fi
+
+AM_CONDITIONAL(HAVE_GST, test "x$HAVE_GST" = "xyes")
+AC_SUBST(GST_CFLAGS)
+AC_SUBST(GST_LIBS)
+
+plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
+AC_SUBST(plugindir)
+
+GST_ALL_LDFLAGS="-no-undefined"
+AC_SUBST(GST_ALL_LDFLAGS)
+
+GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"
+AC_SUBST(GST_PLUGIN_LDFLAGS)
+
+AC_DEFINE(GST_PACKAGE_ORIGIN, "unknown", [Package origin in GStreamer plugin])
+
+AC_ARG_ENABLE(video-compat, AC_HELP_STRING([--disable-video-compat],
+    [disable gstvideo compatibility (default=enabled)]))
+AM_CONDITIONAL(ENABLE_VIDEO_COMPAT, test "x$enable_video_compat" != "xno")
+
 
 ########################
 # Check for CUDA
@@ -238,6 +279,8 @@
 schroedinger/Makefile
 schroedinger/cuda/Makefile
 schroedinger/opengl/Makefile
+gst-libs/gst/video/Makefile
+gst/Makefile
 testsuite/Makefile
 testsuite/cache/Makefile
 testsuite/cuda/Makefile
--- schroedinger-1.0.8.orig/Makefile.am	2009-09-29 07:08:51.000000000 +0200
+++ schroedinger-1.0.8/Makefile.am	2009-04-22 04:35:57.000000000 +0200
@@ -4,7 +4,11 @@
 
 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
 
-DIST_SUBDIRS = schroedinger doc tools testsuite
+if HAVE_GST
+SUBDIRS += gst-libs/gst/video gst
+endif
+
+DIST_SUBDIRS = schroedinger doc tools gst testsuite gst-libs/gst/video
 
 EXTRA_DIST = COPYING COPYING.GPL COPYING.LGPL COPYING.MIT COPYING.MPL \
 	     autogen.sh schroedinger.spec TODO NEWS


--- NEW FILE import.log ---
schroedinger-1_0_8-3_fc11:F-12:schroedinger-1.0.8-3.fc11.src.rpm:1256688175


Index: schroedinger.spec
===================================================================
RCS file: /cvs/pkgs/rpms/schroedinger/F-12/schroedinger.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- schroedinger.spec	20 Oct 2009 23:31:14 -0000	1.17
+++ schroedinger.spec	28 Oct 2009 00:03:41 -0000	1.18
@@ -2,7 +2,7 @@
 
 Name:           schroedinger
 Version:        1.0.8
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Portable libraries for the high quality Dirac video codec
 
 Group:          System Environment/Libraries
@@ -10,17 +10,18 @@ Group:          System Environment/Libra
 License:        GPL+ or LGPLv2+ or MIT or MPLv1.1
 URL:            http://www.diracvideo.org/
 Source0:	http://www.diracvideo.org/download/schroedinger/schroedinger-%{version}.tar.gz
+Patch0:         gst-plugins-schroedinger-1.0.8.patch
+Patch1:         gst-plugins-schroedinger-plug.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+BuildRequires:  libtool
+
 BuildRequires:  liboil-devel >= 0.3.16
 BuildRequires:  glew-devel >= 1.5.1
 BuildRequires:  gstreamer-devel >= 0.10
 BuildRequires:  gstreamer-plugins-base-devel >= 0.10
 BuildRequires:  gtk-doc
 
-#Moved to -bad - need to be investigated.
-Obsoletes:  gstreamer-plugins-schroedinger < %{version}
-
 %description
 The Schrödinger project will implement portable libraries for the high
 quality Dirac video codec created by BBC Research and
@@ -41,12 +42,31 @@ Requires:	liboil-devel >= 0.3.16
 %description devel
 Development files for schroedinger
 
+%package -n gstreamer-plugins-schroedinger
+Group:          Applications/Multimedia
+Summary:        GStreamer Plugins that implement Dirac video encoding and decoding
+
+%description -n gstreamer-plugins-schroedinger
+GStreamer Plugins that implement Dirac video encoding and decoding
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1 -b .plug
+
+autoreconf -vif
+
 
 %build
 %configure --disable-static --enable-gtk-doc
+
+# hack to define the package name
+echo "#define GST_PACKAGE_NAME \"gst-plugins-schroedinger fedora rpm\"" >> config.h
+
+# remove rpath from libtool
+sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
 make %{?_smp_mflags}
 
 %install
@@ -73,8 +93,16 @@ rm -rf %{buildroot}
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/schroedinger-%{abi}.pc
 
+%files -n gstreamer-plugins-schroedinger
+%defattr(-,root,root,-)
+%{_libdir}/gstreamer-0.10/libgstschro.so
+%exclude %{_libdir}/libgstbasevideo-0.10.a
+%exclude %{_includedir}/gstreamer-0.10
 
 %changelog
+* Sun Oct 25 2009 kwizart < kwizart at gmail.com > - 1.0.8-3
+- Re-introduce gstreamer sub-package until seen in -good
+
 * Tue Oct 20 2009 kwizart < kwizart at gmail.com > - 1.0.8-2
 - Update to 1.0.8
 - gstreamer-plugins-schroedinger is now in bad.




More information about the fedora-extras-commits mailing list