[libmdsp] 02/02: Imported Debian patch 0.11-10

Tobias Grimm tiber-guest at moszumanska.debian.org
Sun Oct 11 09:58:44 UTC 2015


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

tiber-guest pushed a commit to branch master
in repository libmdsp.

commit da21bd4fb77aabc5abf84ee2ff7a2cf05259ed5d
Author: Tobias Grimm <etobi at debian.org>
Date:   Fri Mar 5 00:02:10 2010 +0100

    Imported Debian patch 0.11-10
---
 debian/README.source                       |   7 ++
 debian/changelog                           |  81 ++++++++++++++++++++++
 debian/compat                              |   1 +
 debian/control                             |  18 +++++
 debian/copyright                           |  19 ++++++
 debian/docs                                |   2 +
 debian/install                             |   2 +
 debian/patches/00list                      |   2 +
 debian/patches/01_Makefile-fPIC-fix.dpatch |  35 ++++++++++
 debian/patches/02_strndup-fix.dpatch       |  19 ++++++
 debian/rules                               | 105 +++++++++++++++++++++++++++++
 11 files changed, 291 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..54d6fec
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,7 @@
+This package uses the dpatch system to save and apply patches to the
+upstream source code of the software that is packaged. For details
+about how to use dpatch read
+
+   /usr/share/doc/dpatch/README.source.gz
+
+from the dpatch package.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2e7502b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,81 @@
+libmdsp (0.11-10) unstable; urgency=low
+
+  * Dropped debian/watch - the upstream website is gone
+  * Fixed typo in description (Closes: #571530)
+  * Standards-Version: 3.8.4
+
+ -- Tobias Grimm <etobi at debian.org>  Fri, 05 Mar 2010 00:02:10 +0100
+
+libmdsp (0.11-9) unstable; urgency=low
+
+  * Standards-Version: 3.8.3
+  * COMPAT=5
+  * Taken from Ubuntu:
+    - Added ${misc:Depends}
+    - Added gcc-4.4 fix from Alfonso Cepeda Caballos
+    - Added Section field
+    - Added README.source
+
+ -- Tobias Grimm <etobi at debian.org>  Mon, 26 Oct 2009 23:15:38 +0100
+
+libmdsp (0.11-8) unstable; urgency=low
+
+  * Bumped Standards-Version to 3.7.2
+  * Added note about the Debian Maintainers to debian/copyright
+
+ -- Thomas Schmidt <tschmidt at debian.org>  Mon, 28 Aug 2006 23:21:31 +0200
+
+libmdsp (0.11-7) unstable; urgency=low
+
+  * Thomas Schmidt <tschmidt at debian.org>
+    - Changed my email-address to the debian one
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>  Thu, 17 Mar 2005 20:05:02 +0100
+
+libmdsp (0.11-6) unstable; urgency=low
+
+  * Thomas Schmidt <thomas.schmidt at in.stud.tu-ilmenau.de>
+    - Use dpatch, so build-depend on dpatch
+    - Add 01_Makefile-fPIC-fix.dpatch
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>  Tue,  7 Sep 2004 17:06:42 +0200
+
+libmdsp (0.11-5) unstable; urgency=low
+
+  * Tobias Grimm <tg at e-tobi.net>
+    - Added small explanation about METAR to package description
+      (closes: #266558)
+  * Thomas Schmidt <thomas.schmidt at in.stud.tu-ilmenau.de>
+    - Added debian/watch
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>  Wed, 18 Aug 2004 19:00:00 +0200
+
+libmdsp (0.11-4) unstable; urgency=low
+
+  * First upload to the archive (closes: #262889) 
+  * Tobias Grimm <tg at e-tobi.net>
+    - package taken over by Debian VDR Team from c't VDR
+    - using dh_install now
+  * Thomas Schmidt <thomas.schmidt at in.stud.tu-ilmenau.de>
+    - Added myself as Uploader
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>  Sun, 01 Aug 2004 18:20:00 +0200
+
+libmdsp (0.11-3) unstable; urgency=low
+
+  * renamed the package to confirm with Debian policy
+
+ -- Tobias Grimm <tg at e-tobi.net>  Sat,  17 Jan 2004 04:30:00 +0100
+
+mdsplib (0.11-2) unstable; urgency=low
+
+  * fixed download site of upstream source in debian/copyright
+
+ -- Tobias Grimm <tg at e-tobi.net>  Wed,  7 Jan 2004 21:00:00 +0100
+
+mdsplib (0.11-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Tobias Grimm <tg at e-tobi.net>  Tue,  9 Dec 2003 00:48:18 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7a4e32c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: libmdsp
+Priority: optional
+Section: devel
+Maintainer: Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>
+Uploaders: Tobias Grimm <etobi at debian.org>, Thomas Schmidt <tschmidt at debian.org>
+Build-Depends: debhelper (>= 5), dpatch
+Standards-Version: 3.8.4
+
+Package: libmdsp-dev
+Section: devel
+Architecture: any
+Depends: ${misc:Depends}
+Description: METAR Decoder Software Package Library development files
+ METAR (Meteorological Aviation Routine Weather Report) is the standard format
+ for reporting meterological conditions. The MDSP Library provides a programmer
+ with functions to decode and print METAR data.
+ .
+ This is a static only library!
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..aa89182
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,19 @@
+This package was debianized by Tobias Grimm <tg at e-tobi.net> on
+Tue,  9 Dec 2003 00:48:18 +0200.
+
+It was downloaded from http://limulus.net/mdsplib/
+
+Upstream Author: Eric McCarthy <eric at limulus.net>
+
+Debian Maintainers:
+  Tobias Grimm <tg at e-tobi.net>
+  Thomas Schmidt <tschmidt at debian.org>
+
+Copyright:
+
+  Copyright (C) 2003  Eric McCarthy
+
+License:
+
+It may be redistributed under the terms of the GNU LGPL
+found on Debian systems in the file /usr/share/common-licenses/LGPL .
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b3ac423
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README
+README.MDSP
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..380b313
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+libmetar.a usr/lib/
+metar.h usr/include/
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..5cdd54f
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,2 @@
+01_Makefile-fPIC-fix
+02_strndup-fix
diff --git a/debian/patches/01_Makefile-fPIC-fix.dpatch b/debian/patches/01_Makefile-fPIC-fix.dpatch
new file mode 100644
index 0000000..c1910a0
--- /dev/null
+++ b/debian/patches/01_Makefile-fPIC-fix.dpatch
@@ -0,0 +1,35 @@
+#! /bin/sh -e
+## 01_Makefile-fPIC-fix.dpatch by Thomas Schmidt <thomas.schmidt at in.stud.tu-ilmenau.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adds -fPIC to CFLAGS in the Makefile
+
+if [ $# -lt 1 ]; then
+    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+    -patch) patch -p1 ${patch_opts} < $0;;
+    -unpatch) patch -R -p1 ${patch_opts} < $0;;
+    *)
+        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+        exit 1;;
+esac
+
+exit 0
+
+ at DPATCH@
+diff -urNad /home/chelli/vdr/cvs/other/libmdsp/Makefile libmdsp/Makefile
+--- /home/chelli/vdr/cvs/other/libmdsp/Makefile	2003-12-10 20:56:23.000000000 +0100
++++ libmdsp/Makefile	2004-09-07 17:10:30.000000000 +0200
+@@ -1,5 +1,5 @@
+ CC = gcc
+-CFLAGS = -O3
++CFLAGS = -fPIC -O3
+ LIBS = 
+ 
+ library: libmetar.a
diff --git a/debian/patches/02_strndup-fix.dpatch b/debian/patches/02_strndup-fix.dpatch
new file mode 100644
index 0000000..3df1720
--- /dev/null
+++ b/debian/patches/02_strndup-fix.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_strndup-fix.dpatch by Alfonso Cepeda Caballos <cepeda at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad libmdsp-0.11~/src/local.h libmdsp-0.11/src/local.h
+--- libmdsp-0.11~/src/local.h	2003-12-10 22:30:56.000000000 +0100
++++ libmdsp-0.11/src/local.h	2009-09-20 11:18:38.000000000 +0200
+@@ -1175,7 +1175,7 @@
+ char *strupr(char *);
+ char *strlwr(char *);
+ /* char *strdup(char *); */
+-char *strndup(char *, int);
++/* char *strndup(char *, int); */
+ int strcmpi(char *, char *);
+  
+ /* void *memccpy(void *, void *, int, unsigned); */
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9b90b58
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,105 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# include dpatch stuff
+include /usr/share/dpatch/dpatch.make
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: patch-stamp build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean: clean-patched unpatch
+
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	$(MAKE) clean
+	
+	rm -f libmetar.a
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	# $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	dh_install
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#	dh_movefiles
+
+#	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installcron
+	dh_installman
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs HISTORY
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch configure

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



More information about the pkg-vdr-dvb-changes mailing list