[Pkg-mpd-commits] [pkg-mpd] 05/06: Drop add_missing_files_for_test.patch, files were added by upstream

Florian Schlichting fsfs at alioth.debian.org
Thu Nov 7 22:36:36 UTC 2013


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

fsfs pushed a commit to branch master
in repository pkg-mpd.

commit c42d8480741bd0566a88c263dcfe9c851b387c01
Author: Florian Schlichting <fsfs at debian.org>
Date:   Thu Nov 7 22:59:59 2013 +0100

    Drop add_missing_files_for_test.patch, files were added by upstream
---
 debian/patches/add_missing_files_for_test.patch |  119 -----------------------
 debian/patches/series                           |    1 -
 2 files changed, 120 deletions(-)

diff --git a/debian/patches/add_missing_files_for_test.patch b/debian/patches/add_missing_files_for_test.patch
deleted file mode 100644
index 89ab960..0000000
--- a/debian/patches/add_missing_files_for_test.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-Description: add files present in upstream git but not in the released tarball
- These are needed for --enable-test
-Author: upstream
-Forwarded: http://bugs.musicpd.org/view.php?id=3852
-
---- /dev/null
-+++ b/src/pcm/dsd2pcm/dsd2pcm.hpp
-@@ -0,0 +1,39 @@
-+#ifndef DSD2PCM_HXX_INCLUDED
-+#define DSD2PCM_HXX_INCLUDED
-+
-+#include <algorithm>
-+#include <stdexcept>
-+#include "dsd2pcm.h"
-+
-+/**
-+ * C++ PImpl Wrapper for the dsd2pcm C library
-+ */
-+
-+class dxd
-+{
-+	dsd2pcm_ctx *handle;
-+public:
-+	dxd() : handle(dsd2pcm_init()) {}
-+
-+	dxd(dxd const& x) : handle(dsd2pcm_clone(x.handle)) {}
-+
-+	~dxd() { dsd2pcm_destroy(handle); }
-+
-+	friend void swap(dxd & a, dxd & b)
-+	{ std::swap(a.handle,b.handle); }
-+
-+	dxd& operator=(dxd x)
-+	{ swap(*this,x); return *this; }
-+
-+	void translate(size_t samples,
-+		const unsigned char *src, ptrdiff_t src_stride,
-+		bool lsbitfirst,
-+		float *dst, ptrdiff_t dst_stride)
-+	{
-+		dsd2pcm_translate(handle,samples,src,src_stride,
-+			lsbitfirst,dst,dst_stride);
-+	}
-+};
-+
-+#endif // DSD2PCM_HXX_INCLUDED
-+
---- /dev/null
-+++ b/src/pcm/dsd2pcm/noiseshape.hpp
-@@ -0,0 +1,43 @@
-+#ifndef NOISE_SHAPE_HXX_INCLUDED
-+#define NOISE_SHAPE_HXX_INCLUDED
-+
-+#include <stdexcept>
-+#include "noiseshape.h"
-+
-+/**
-+ * C++ wrapper for the noiseshape C library
-+ */
-+
-+class noise_shaper
-+{
-+	noise_shape_ctx ctx;
-+public:
-+	noise_shaper(int sos_count, const float *bbaa)
-+	{
-+		noise_shape_init(&ctx, sos_count, bbaa);
-+	}
-+
-+	noise_shaper(noise_shaper const& x)
-+	{
-+		noise_shape_clone(&x.ctx,&ctx);
-+	}
-+
-+	~noise_shaper()
-+	{ noise_shape_destroy(&ctx); }
-+
-+	noise_shaper& operator=(noise_shaper const& x)
-+	{
-+		if (this != &x) {
-+			noise_shape_destroy(&ctx);
-+			noise_shape_clone(&x.ctx,&ctx);
-+		}
-+		return *this;
-+	}
-+
-+	float get() { return noise_shape_get(&ctx); }
-+
-+	void update(float error) { noise_shape_update(&ctx,error); }
-+};
-+
-+#endif /* NOISE_SHAPE_HXX_INCLUDED */
-+
---- /dev/null
-+++ b/test/test_archive_bzip2.sh
-@@ -0,0 +1,10 @@
-+#!/bin/sh -e
-+
-+SRC_BASE=configure
-+SRC="$(dirname $0)/../${SRC_BASE}"
-+DST="$(pwd)/test/tmp/${SRC_BASE}.bz2"
-+
-+mkdir -p test/tmp
-+rm -f "$DST"
-+bzip2 -c "$SRC" >"$DST"
-+./test/run_input "$DST/${SRC_BASE}" |diff "$SRC" -
---- /dev/null
-+++ b/test/test_archive_iso9660.sh
-@@ -0,0 +1,10 @@
-+#!/bin/sh -e
-+
-+SRC_BASE=configure
-+SRC="$(dirname $0)/../${SRC_BASE}"
-+DST="$(pwd)/test/tmp/${SRC_BASE}.iso"
-+
-+mkdir -p test/tmp
-+rm -f "$DST"
-+mkisofs -quiet -l -o "$DST" "$SRC"
-+./test/run_input "$DST/${SRC_BASE}" |diff "$SRC" -
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 8aa850e..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-add_missing_files_for_test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/pkg-mpd.git



More information about the Pkg-mpd-commits mailing list