[Pkg-gstreamer-commits] [gst-plugins-bad1.0] 03/03: New upstream release candidate

Sebastian Dröge slomo at alioth.debian.org
Thu Sep 19 11:51:15 UTC 2013


This is an automated email from the git hooks/post-receive script.

slomo pushed a commit to branch debian-experimental
in repository gst-plugins-bad1.0.

commit f38ccd235370f896d9b61692f2481155dfbad355
Author: Sebastian Dröge <slomo at circular-chaos.org>
Date:   Thu Sep 19 12:54:29 2013 +0200

    New upstream release candidate
---
 debian/build-deps                        |    2 +-
 debian/build-deps.in                     |    2 +-
 debian/changelog                         |    9 ++
 debian/control                           |    4 +-
 debian/patches/02_soundtouch-int.patch   |  234 ------------------------------
 debian/patches/03_modplug-includes.patch |   29 ----
 debian/patches/04_opencv-2.4.6.1.patch   |   25 ----
 debian/patches/series                    |    3 -
 debian/rules                             |    2 +-
 9 files changed, 14 insertions(+), 296 deletions(-)

diff --git a/debian/build-deps b/debian/build-deps
index 1988abc..d39b0b5 100644
--- a/debian/build-deps
+++ b/debian/build-deps
@@ -34,7 +34,7 @@ libglib2.0-dev (>= 2.32)
 libgme-dev
 libgnutls-dev (>= 2.11.3)
 libgsm1-dev
-libgstreamer-plugins-base at GST_ABI@-dev (>= 1.1.4)
+libgstreamer-plugins-base at GST_ABI@-dev (>= 1.1.90)
 libgtk2.0-dev (>= 2.14.0)
 libiptcdata0-dev (>= 1.0.2)
 libjasper-dev
diff --git a/debian/build-deps.in b/debian/build-deps.in
index 459409d..677a690 100644
--- a/debian/build-deps.in
+++ b/debian/build-deps.in
@@ -1,6 +1,6 @@
 @GST_LIB_DEV_DEP@
 @GST_EXTRA_BUILD_DEPENDS@
-libgstreamer-plugins-base at GST_ABI@-dev (>= 1.1.4)
+libgstreamer-plugins-base at GST_ABI@-dev (>= 1.1.90)
 autotools-dev
 dh-autoreconf
 automake (>= 1.11)
diff --git a/debian/changelog b/debian/changelog
index 63ffdc2..f294957 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+gst-plugins-bad1.0 (1.1.90-1) experimental; urgency=low
+
+  * New upstream release candidate:
+    + debian/rules,
+      debian/build-deps.in:
+      - Build depend on GStreamer and gst-plugins-base >= 1.1.90.
+
+ -- Sebastian Dröge <slomo at debian.org>  Thu, 19 Sep 2013 12:53:58 +0200
+
 gst-plugins-bad1.0 (1.1.4-3) experimental; urgency=low
 
   * debian/patches/03_modplug-includes.patch:
diff --git a/debian/control b/debian/control
index a8cb3fd..c8ab600 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Build-Depends: autoconf (>= 2.62),
                libdc1394-22-dev (>= 2.0.0) [linux-any],
                libgudev-1.0-dev (>= 143) [linux-any],
                libusb-1.0-0-dev [linux-any],
-               libgstreamer1.0-dev (>= 1.1.4),
+               libgstreamer1.0-dev (>= 1.1.90),
                gstreamer1.0-doc,
                gstreamer1.0-plugins-base (>= 1.0.0),
                gstreamer1.0-plugins-base-doc,
@@ -44,7 +44,7 @@ Build-Depends: autoconf (>= 2.62),
                libgme-dev,
                libgnutls-dev (>= 2.11.3),
                libgsm1-dev,
-               libgstreamer-plugins-base1.0-dev (>= 1.1.4),
+               libgstreamer-plugins-base1.0-dev (>= 1.1.90),
                libgtk2.0-dev (>= 2.14.0),
                libiptcdata0-dev (>= 1.0.2),
                libjasper-dev,
diff --git a/debian/patches/02_soundtouch-int.patch b/debian/patches/02_soundtouch-int.patch
deleted file mode 100644
index 028a5a1..0000000
--- a/debian/patches/02_soundtouch-int.patch
+++ /dev/null
@@ -1,234 +0,0 @@
-From 576b4826c80a3b4ca4fa946a42732e7c599d312f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <slomo at circular-chaos.org>
-Date: Mon, 2 Sep 2013 10:29:08 +0200
-Subject: [PATCH] soundtouch: Allow compilation against float and integer
- version of the library
-
-https://bugzilla.gnome.org/show_bug.cgi?id=707270
----
- ext/soundtouch/gstbpmdetect.cc | 31 +++++++++++++++---------
- ext/soundtouch/gstpitch.cc     | 53 ++++++++++++++++++++----------------------
- ext/soundtouch/gstpitch.hh     |  5 ++--
- 3 files changed, 47 insertions(+), 42 deletions(-)
-
-diff --git a/ext/soundtouch/gstbpmdetect.cc b/ext/soundtouch/gstbpmdetect.cc
-index cb21e4c..79f7658 100644
---- a/ext/soundtouch/gstbpmdetect.cc
-+++ b/ext/soundtouch/gstbpmdetect.cc
-@@ -31,7 +31,6 @@
- #undef PACKAGE_BUGREPORT
- #undef PACKAGE
- 
--#define FLOAT_SAMPLES 1
- #include <soundtouch/BPMDetect.h>
- 
- #include <gst/audio/audio.h>
-@@ -55,11 +54,21 @@ struct _GstBPMDetectPrivate
- #endif
- };
- 
--#define ALLOWED_CAPS \
--    "audio/x-raw, "                                           \
--    " format = (string) " GST_AUDIO_NE (F32) ", "             \
--    " rate = (int) [ 8000, MAX ], "                           \
--    " channels = (int) [ 1, 2 ]"
-+#if defined(SOUNDTOUCH_FLOAT_SAMPLES)
-+  #define ALLOWED_CAPS \
-+    "audio/x-raw, " \
-+      "format = (string) " GST_AUDIO_NE (F32) ", " \
-+      "rate = (int) [ 8000, MAX ], " \
-+      "channels = (int) [ 1, 2 ]"
-+#elif defined(SOUNDTOUCH_INTEGER_SAMPLES)
-+  #define ALLOWED_CAPS \
-+    "audio/x-raw, " \
-+      "format = (string) " GST_AUDIO_NE (S16) ", " \
-+      "rate = (int) [ 8000, MAX ], " \
-+      "channels = (int) [ 1, 2 ]"
-+#else
-+#error "Only integer or float samples are supported"
-+#endif
- 
- #define gst_bpm_detect_parent_class parent_class
- G_DEFINE_TYPE (GstBPMDetect, gst_bpm_detect, GST_TYPE_AUDIO_FILTER);
-@@ -209,13 +218,13 @@ gst_bpm_detect_transform_ip (GstBaseTransform * trans, GstBuffer * in)
- 
-   gst_buffer_map (in, &info, GST_MAP_READ);
- 
--  nsamples = info.size / (4 * GST_AUDIO_INFO_CHANNELS (&filter->info));
-+  nsamples = info.size / (GST_AUDIO_INFO_BPF (&filter->info) * GST_AUDIO_INFO_CHANNELS (&filter->info));
- 
-   /* For stereo BPMDetect->inputSamples() does downmixing into the input
-    * data but our buffer data shouldn't be modified.
-    */
-   if (GST_AUDIO_INFO_CHANNELS (&filter->info) == 1) {
--    gfloat *inbuf = (gfloat *) info.data;
-+    soundtouch::SAMPLETYPE *inbuf = (soundtouch::SAMPLETYPE *) info.data;
- 
-     while (nsamples > 0) {
-       bpm_detect->priv->detect->inputSamples (inbuf, MIN (nsamples, 2048));
-@@ -223,13 +232,13 @@ gst_bpm_detect_transform_ip (GstBaseTransform * trans, GstBuffer * in)
-       inbuf += 2048;
-     }
-   } else {
--    gfloat *inbuf, *intmp, data[2 * 2048];
-+    soundtouch::SAMPLETYPE *inbuf, *intmp, data[2 * 2048];
- 
--    inbuf = (gfloat *) info.data;
-+    inbuf = (soundtouch::SAMPLETYPE *) info.data;
-     intmp = data;
- 
-     while (nsamples > 0) {
--      memcpy (intmp, inbuf, sizeof (gfloat) * 2 * MIN (nsamples, 2048));
-+      memcpy (intmp, inbuf, sizeof (soundtouch::SAMPLETYPE) * 2 * MIN (nsamples, 2048));
-       bpm_detect->priv->detect->inputSamples (intmp, MIN (nsamples, 2048));
-       nsamples -= 2048;
-       inbuf += 2048 * 2;
-diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc
-index fd36d21..1235b31 100644
---- a/ext/soundtouch/gstpitch.cc
-+++ b/ext/soundtouch/gstpitch.cc
-@@ -31,7 +31,6 @@
- #undef PACKAGE_BUGREPORT
- #undef PACKAGE
- 
--#define FLOAT_SAMPLES 1
- #include <soundtouch/SoundTouch.h>
- 
- #include <gst/gst.h>
-@@ -62,11 +61,21 @@ enum
-   ARG_PITCH
- };
- 
--#define SUPPORTED_CAPS \
--  "audio/x-raw, " \
--    "format = (string) " GST_AUDIO_NE (F32) ", " \
--    "rate = (int) [ 8000, MAX ], " \
--    "channels = (int) [ 1, 2 ]"
-+#if defined(SOUNDTOUCH_FLOAT_SAMPLES)
-+  #define SUPPORTED_CAPS \
-+    "audio/x-raw, " \
-+      "format = (string) " GST_AUDIO_NE (F32) ", " \
-+      "rate = (int) [ 8000, MAX ], " \
-+      "channels = (int) [ 1, 2 ]"
-+#elif defined(SOUNDTOUCH_INTEGER_SAMPLES)
-+  #define SUPPORTED_CAPS \
-+    "audio/x-raw, " \
-+      "format = (string) " GST_AUDIO_NE (S16) ", " \
-+      "rate = (int) [ 8000, MAX ], " \
-+      "channels = (int) [ 1, 2 ]"
-+#else
-+#error "Only integer or float samples are supported"
-+#endif
- 
- static GstStaticPadTemplate gst_pitch_sink_template =
- GST_STATIC_PAD_TEMPLATE ("sink",
-@@ -294,29 +303,17 @@ static gboolean
- gst_pitch_setcaps (GstPitch * pitch, GstCaps * caps)
- {
-   GstPitchPrivate *priv;
--  GstStructure *structure;
--  gint rate, channels;
- 
-   priv = GST_PITCH_GET_PRIVATE (pitch);
- 
--  structure = gst_caps_get_structure (caps, 0);
--
--  if (!gst_structure_get_int (structure, "rate", &rate) ||
--      !gst_structure_get_int (structure, "channels", &channels)) {
-+  if (gst_audio_info_from_caps (&pitch->info, caps))
-     return FALSE;
--  }
- 
-   GST_OBJECT_LOCK (pitch);
- 
--  pitch->samplerate = rate;
--  pitch->channels = channels;
--
-   /* notify the soundtouch instance of this change */
--  priv->st->setSampleRate (rate);
--  priv->st->setChannels (channels);
--
--  /* calculate sample size */
--  pitch->sample_size = (sizeof (gfloat) * channels);
-+  priv->st->setSampleRate (pitch->info.rate);
-+  priv->st->setChannels (pitch->info.channels);
- 
-   GST_OBJECT_UNLOCK (pitch);
- 
-@@ -361,10 +358,10 @@ gst_pitch_prepare_buffer (GstPitch * pitch)
-   if (samples == 0)
-     return NULL;
- 
--  buffer = gst_buffer_new_and_alloc (samples * pitch->sample_size);
-+  buffer = gst_buffer_new_and_alloc (samples * pitch->info.bpf);
- 
-   gst_buffer_map (buffer, &info, (GstMapFlags) GST_MAP_READWRITE);
--  samples = priv->st->receiveSamples ((gfloat *) info.data, samples);
-+  samples = priv->st->receiveSamples ((soundtouch::SAMPLETYPE *) info.data, samples);
-   gst_buffer_unmap (buffer, &info);
- 
-   if (samples <= 0) {
-@@ -373,7 +370,7 @@ gst_pitch_prepare_buffer (GstPitch * pitch)
-   }
- 
-   GST_BUFFER_DURATION (buffer) =
--      gst_util_uint64_scale (samples, GST_SECOND, pitch->samplerate);
-+      gst_util_uint64_scale (samples, GST_SECOND, pitch->info.rate);
-   /* temporary store samples here, to avoid having to recalculate this */
-   GST_BUFFER_OFFSET (buffer) = (gint64) samples;
- 
-@@ -471,8 +468,8 @@ gst_pitch_convert (GstPitch * pitch,
-   g_return_val_if_fail (dst_format && dst_value, FALSE);
- 
-   GST_OBJECT_LOCK (pitch);
--  sample_size = pitch->sample_size;
--  samplerate = pitch->samplerate;
-+  sample_size = pitch->info.bpf;
-+  samplerate = pitch->info.rate;
-   GST_OBJECT_UNLOCK (pitch);
- 
-   if (sample_size == 0 || samplerate == 0) {
-@@ -847,7 +844,7 @@ gst_pitch_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
- 
-   /* push the received samples on the soundtouch buffer */
-   GST_LOG_OBJECT (pitch, "incoming buffer (%d samples) %" GST_TIME_FORMAT,
--      (gint) (gst_buffer_get_size (buffer) / pitch->sample_size),
-+      (gint) (gst_buffer_get_size (buffer) / pitch->info.bpf),
-       GST_TIME_ARGS (timestamp));
- 
-   if (GST_PITCH_GET_PRIVATE (pitch)->pending_segment) {
-@@ -872,7 +869,7 @@ gst_pitch_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
-   }
- 
-   gst_buffer_map (buffer, &info, GST_MAP_READ);
--  priv->st->putSamples ((gfloat *) info.data, info.size / pitch->sample_size);
-+  priv->st->putSamples ((soundtouch::SAMPLETYPE *) info.data, info.size / pitch->info.bpf);
-   gst_buffer_unmap (buffer, &info);
-   gst_buffer_unref (buffer);
- 
-diff --git a/ext/soundtouch/gstpitch.hh b/ext/soundtouch/gstpitch.hh
-index ad1f7f6..1efb59b 100644
---- a/ext/soundtouch/gstpitch.hh
-+++ b/ext/soundtouch/gstpitch.hh
-@@ -21,6 +21,7 @@
- #define __GST_PITCH_H__
- 
- #include <gst/gst.h>
-+#include <gst/audio/audio.h>
- 
- G_BEGIN_DECLS
- 
-@@ -71,9 +72,7 @@ struct _GstPitch
-   gfloat  seg_arate;            /* Rate to apply from input segment */
- 
-   /* values extracted from caps */
--  gint          samplerate;      /* samplerate                           */
--  gint          channels;        /* number of audio channels             */
--  gsize         sample_size;     /* number of bytes for a single sample  */
-+  GstAudioInfo  info;
- 
-   /* stream tracking */
-   GstClockTime  next_buffer_time;
--- 
-1.8.4
-
diff --git a/debian/patches/03_modplug-includes.patch b/debian/patches/03_modplug-includes.patch
deleted file mode 100644
index fdaed0c..0000000
--- a/debian/patches/03_modplug-includes.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From c1d20ea244baf2c87ac3a98e4bfa55c542d646f4 Mon Sep 17 00:00:00 2001
-From: Iain Lane <iain.lane at canonical.com>
-Date: Tue, 10 Sep 2013 08:48:32 +0000
-Subject: [PATCH] modplug: Specify directory when including stdafx.h
-
-modplug stopped exposing their directory in their pcfile, meaining
-consumers accessing the headers directly fail to build.
-
-http://sourceforge.net/p/modplug-xmms/git/ci/75e9b166982ed637b59ef7cbc1835a09f768923e/
----
- ext/modplug/gstmodplug.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ext/modplug/gstmodplug.cc b/ext/modplug/gstmodplug.cc
-index 47154cf..a968c4a 100644
---- a/ext/modplug/gstmodplug.cc
-+++ b/ext/modplug/gstmodplug.cc
-@@ -54,7 +54,7 @@
- #define WORDS_BIGENDIAN 0
- #endif
- 
--#include <stdafx.h>
-+#include <libmodplug/stdafx.h>
- #include <libmodplug/sndfile.h>
- 
- #include "gstmodplug.h"
--- 
-1.8.3.2
-
diff --git a/debian/patches/04_opencv-2.4.6.1.patch b/debian/patches/04_opencv-2.4.6.1.patch
deleted file mode 100644
index da7bb0f..0000000
--- a/debian/patches/04_opencv-2.4.6.1.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From c70fceb16fa71207b02f4a70c2b2524c7ee4ffa2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <slomo at circular-chaos.org>
-Date: Tue, 10 Sep 2013 11:37:55 +0200
-Subject: [PATCH] opencv: We also work with OpenCV 2.4.6.1
-
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 580c6ef..1a77cc1 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1743,7 +1743,7 @@ AG_GST_CHECK_FEATURE(OPENCV, [opencv plugins], opencv, [
-   dnl a new version and the no-backward-compatibility define. (There doesn't
-   dnl seem to be a switch to suppress the warnings the cvcompat.h header
-   dnl causes.)
--  PKG_CHECK_MODULES(OPENCV, opencv >= 2.0.0 opencv <= 2.4.5 , [
-+  PKG_CHECK_MODULES(OPENCV, opencv >= 2.0.0 opencv <= 2.4.6.1 , [
-     AC_PROG_CXX
-     AC_LANG([C++])
-     OLD_CPPFLAGS=$CPPFLAGS
--- 
-1.8.4
-
diff --git a/debian/patches/series b/debian/patches/series
index 93493e6..d02a58f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,2 @@
 01_fix-modplug-linking.patch
-02_soundtouch-int.patch
-03_modplug-includes.patch
-04_opencv-2.4.6.1.patch
 99_ltmain_as-needed.patch
diff --git a/debian/rules b/debian/rules
index cad0bc3..6e822ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,7 +46,7 @@ gst_abi=$(gst_major).$(gst_minor)
 gst_lib=libgstreamer$(gst_abi)-0
 gst_lib_dev=libgstreamer$(gst_abi)-dev
 # what gstreamer version is needed
-gst_lib_dev_dep=$(gst_lib_dev) (>= 1.1.4)
+gst_lib_dev_dep=$(gst_lib_dev) (>= 1.1.90)
 
 gst_pkgname=gstreamer$(gst_abi)
 gst_deb_abi=$(gst_abi)-0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gstreamer/gst-plugins-bad1.0.git



More information about the Pkg-gstreamer-commits mailing list