Hello community,
here is the log from the commit of package gstreamer-plugins-ugly for
openSUSE:Factory checked in at 2012-10-12 08:05:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-ugly (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-plugins-ugly.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-ugly", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/gstreamer-plugins-ugly/gstreamer-plugins-ugly.changes
2012-10-10 09:21:56.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.gstreamer-plugins-ugly.new/gstreamer-plugins-ugly.changes
2012-10-12 08:11:17.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Oct 10 22:47:30 UTC 2012 - [email protected]
+
+- Add gstreamer-plugins-ugly-1.0.1-patched_liba52.patch
+
+-------------------------------------------------------------------
New:
----
gstreamer-plugins-ugly-1.0.1-patched_liba52.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-plugins-ugly.spec ++++++
--- /var/tmp/diff_new_pack.yihFQm/_old 2012-10-12 08:11:17.000000000 +0200
+++ /var/tmp/diff_new_pack.yihFQm/_new 2012-10-12 08:11:17.000000000 +0200
@@ -32,6 +32,8 @@
Url: http://gstreamer.freedesktop.org/
%if 0%{?BUILD_ORIG}
Source:
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/%{_name}-%{version}.tar.xz
+# PATCH-FIX-OPENSUSE gstreamer-plugins-ugly-1.0.1-patched_liba52.patch
[email protected] -- Make it build with the VideoLAN SVN liba52 patched by
Packman
+Patch0: gstreamer-plugins-ugly-1.0.1-patched_liba52.patch
%else
# WARNING: This is not a comment, but the real command to repack source:
#%(bash %{_sourcedir}/%{name}-patch-source.sh %{_name}-%{version}.tar.bz2)
@@ -134,6 +136,9 @@
%prep
%setup -q -n %{_name}-%{version}
#translation-update-upstream po gst-plugins-ugly-%{gst_branch}
+%if 0%{?BUILD_ORIG}
+%patch0
+%endif
%build
#%if ! 0%{?BUILD_ORIG}
++++++ gstreamer-plugins-ugly-1.0.1-patched_liba52.patch ++++++
Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -24878,11 +24878,7 @@ int
main ()
{
a52_state_t *state;
-#if defined(A52_ACCEL_DETECT)
- state = a52_init ();
-#else
state = a52_init (0);
-#endif
a52_free (state);
return 0;
}
Index: ext/a52dec/gsta52dec.c
===================================================================
--- ext/a52dec/gsta52dec.c.orig
+++ ext/a52dec/gsta52dec.c
@@ -45,9 +45,7 @@
#include <gst/gst.h>
#include <a52dec/a52.h>
-#if !defined(A52_ACCEL_DETECT)
-# include <a52dec/mm_accel.h>
-#endif
+#include <a52dec/mm_accel.h>
#include "gsta52dec.h"
#if HAVE_ORC
@@ -201,13 +199,11 @@ gst_a52dec_class_init (GstA52DecClass *
* generic software djbfft based one when available in the used liba52 */
#ifdef MM_ACCEL_DJBFFT
klass->a52_cpuflags = MM_ACCEL_DJBFFT;
-#elif defined(A52_ACCEL_DETECT)
- klass->a52_cpuflags = A52_ACCEL_DETECT;
#else
klass->a52_cpuflags = 0;
#endif
-#if HAVE_ORC && !defined(A52_ACCEL_DETECT)
+#if HAVE_ORC
cpuflags = orc_target_get_default_flags (orc_target_get_by_name ("mmx"));
if (cpuflags & ORC_TARGET_MMX_MMX)
klass->a52_cpuflags |= MM_ACCEL_X86_MMX;
@@ -246,13 +242,7 @@ gst_a52dec_start (GstAudioDecoder * dec)
GST_DEBUG_OBJECT (dec, "start");
klass = GST_A52DEC_CLASS (G_OBJECT_GET_CLASS (a52dec));
-#if defined(A52_ACCEL_DETECT)
- a52dec->state = a52_init ();
- /* This line is just to avoid being accused of not using klass */
- a52_accel (klass->a52_cpuflags & A52_ACCEL_DETECT);
-#else
a52dec->state = a52_init (klass->a52_cpuflags);
-#endif
if (!a52dec->state) {
GST_ELEMENT_ERROR (GST_ELEMENT (a52dec), LIBRARY, INIT, (NULL),
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]