diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2008-01-06 23:40:26 +0100 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2008-01-06 23:40:26 +0100 |
commit | 6249ff002f9388fafd464b461658a1f56c13defc (patch) | |
tree | a7156f8d41771bb3eb7c973dd9733b6f4cee67cd | |
parent | 87dae1589f9ed94b46aab1a7f0daed0d194b3b46 (diff) | |
download | vdr-plugin-live-6249ff002f9388fafd464b461658a1f56c13defc.tar.gz vdr-plugin-live-6249ff002f9388fafd464b461658a1f56c13defc.tar.bz2 |
Added debian build directory and some git specific files.
This was needed after the import of the cvs repository into a git
repository.
-rw-r--r-- | .gitignore | 13 | ||||
-rw-r--r--[-rwxr-xr-x] | cache.h | 0 | ||||
-rw-r--r-- | debian/changelog | 114 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 22 | ||||
-rw-r--r-- | debian/copyright | 246 | ||||
-rw-r--r-- | debian/dirs | 1 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/install | 4 | ||||
-rw-r--r-- | debian/links | 4 | ||||
-rw-r--r-- | debian/patches/00list | 1 | ||||
-rwxr-xr-x | debian/patches/90_clean.dpatch | 16 | ||||
-rw-r--r-- | debian/plugin.live.conf | 11 | ||||
-rw-r--r-- | debian/postinst | 42 | ||||
-rw-r--r-- | debian/postrm | 42 | ||||
-rwxr-xr-x | debian/rules | 94 | ||||
-rw-r--r-- | debian/watch | 3 | ||||
-rw-r--r--[-rwxr-xr-x] | stdext.h | 0 |
18 files changed, 615 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c990521 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +CVS +.#* +*~ +*.o +*.a +*.so +pages/*.cpp +po/*.mo +po/live.pot +.dependencies +.cvsignore +.libs +locale diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..896b6af --- /dev/null +++ b/debian/changelog @@ -0,0 +1,114 @@ +vdr-plugin-live (0.1.0-30) unstable; urgency=low + + * cg-update 20071202 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Sun, 02 Dec 2007 01:00:18 +0100 + +vdr-plugin-live (0.1.0-29) unstable; urgency=low + + * cg-update 20071202 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Sun, 02 Dec 2007 00:58:57 +0100 + +vdr-plugin-live (0.1.0-28) unstable; urgency=low + + * cg-update 20071021 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Sun, 21 Oct 2007 17:36:23 +0200 + +vdr-plugin-live (0.1.0-27) unstable; urgency=low + + * cg-update 20071021 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Sun, 21 Oct 2007 17:17:30 +0200 + +vdr-plugin-live (0.1.0-26) unstable; urgency=low + + * cg-update 20071005 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Fri, 05 Oct 2007 17:25:49 +0200 + +vdr-plugin-live (0.1.0-25) unstable; urgency=low + + * cg-update 20070917 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Mon, 17 Sep 2007 01:11:54 +0200 + +vdr-plugin-live (0.1.0-24) unstable; urgency=low + + * cg-update 20070917 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Mon, 17 Sep 2007 01:07:41 +0200 + +vdr-plugin-live (0.1.0-23) unstable; urgency=low + + * cg-update 20070917 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Mon, 17 Sep 2007 01:06:00 +0200 + +vdr-plugin-live (0.1.0-22) unstable; urgency=low + + * cg-update 20070917 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Mon, 17 Sep 2007 01:00:08 +0200 + +vdr-plugin-live (0.1.0-21) unstable; urgency=low + + * cg-update 20070917 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Mon, 17 Sep 2007 00:36:35 +0200 + +vdr-plugin-live (0.1.0-20) unstable; urgency=low + + * cg-update 20070916 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Sun, 16 Sep 2007 23:43:27 +0200 + +vdr-plugin-live (0.1.0-19) unstable; urgency=low + + * cg-update 20070909 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Sun, 09 Sep 2007 00:18:35 +0200 + +vdr-plugin-live (0.1.0-18) unstable; urgency=low + + * cg-update 20070907 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Fri, 07 Sep 2007 01:01:21 +0200 + +vdr-plugin-live (0.1.0-17) unstable; urgency=low + + * cg-update 20070907 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Fri, 07 Sep 2007 00:50:18 +0200 + +vdr-plugin-live (0.1.0-16) unstable; urgency=low + + * cg-update 20070907 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Fri, 07 Sep 2007 00:44:14 +0200 + +vdr-plugin-live (0.1.0-15) unstable; urgency=low + + * cg-update 20070907 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Fri, 07 Sep 2007 00:28:30 +0200 + +vdr-plugin-live (0.1.0-14) unstable; urgency=low + + * cg-update 20070907 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Fri, 07 Sep 2007 00:10:31 +0200 + +vdr-plugin-live (0.1.0-13) unstable; urgency=low + + * cg-update 20070907 + + -- Michael Brueckner <michi@cerebellum.mittelstation.de> Fri, 07 Sep 2007 00:00:46 +0200 + +vdr-plugin-live (0.1.0-1) unstable; urgency=low + + * Initial release (Closes: #426762) + + -- Tobias Grimm <tg@e-tobi.net> Wed, 30 May 2007 20:54:17 +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..2414265 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: vdr-plugin-live +Section: misc +Priority: extra +Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> +Uploaders: Thomas Schmidt <tschmidt@debian.org>, Tobias Grimm <tg@e-tobi.net> +Build-Depends: debhelper (>= 5), dpatch, vdr-dev (>= 1.4.6-2ctvdr1), libtntnet-dev, libcxxtools-dev, libssl-dev +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/ +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-live/trunk/ + +Package: vdr-plugin-live +Architecture: any +Depends: ${shlibs:Depends}, ${vdr:Depends} +Description: Web administration plugin for VDR + Live, the "Live Interactive VDR Environment", is a plugin providing the + possibility to interactively control the Linux Video Disc Recorder VDR and + some of it's plugins from a web interface. + . + Unlike external programs, like the VDR web frontend "VDRAdmin-AM", that + communicate with VDR via its SVDRP socket interface, Live has direct + access to VDR's data structures and thus is very fast. +XB-VDR-Patchlevel: ${vdr:Patchlevel} diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e7cc13f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,246 @@ +This package was debianized by Tobias Grimm <tg@e-tobi.net> on +Wed, 30 May 2007 20:54:17 +0200. + +It was downloaded from http://live.vdr-developer.org + +Upstream Authors: + Thomas Keil <tkeil@datacrystal.de> + Sascha Volkenandt <sascha@akv-soft.de> + Dieter Hametner <dh+vdr@gekrumbel.de> + Christian Wieninger <cwieninger@gmx.de> + Michael Brueckner <vdr@gekrumbel.de> + +Debian Maintainers: + Tobias Grimm <tg@e-tobi.net> + +Copyright: + (C) 2007 Thomas Keil, Sascha Volkenandt, Dieter Hametner, + Christian Wieninger, Michael Brueckner + (C) 2003-2006 Tommi Maekitalo (Tntnet httpd) + (C) 2002-2005 Dan Allen, Mojavelinux.com (DOM Tooltip JavaScript library) + +License: + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + + The complete text of the GNU General Public License can be found + in /usr/share/common-licenses/GPL on most Debian systems. + + +License (DOM Tooltip JavaScript library): + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +The Debian packaging is (C) 2007, Tobias Grimm <tg@e-tobi.net> and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e2eca95 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +var/lib/vdr/plugins/live diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..e6068ff --- /dev/null +++ b/debian/install @@ -0,0 +1,4 @@ +libvdr-live.so.* usr/lib/vdr/plugins/ +debian/plugin.live.conf etc/vdr/plugins/ + +live/* usr/share/vdr-plugin-live/ diff --git a/debian/links b/debian/links new file mode 100644 index 0000000..a09ac13 --- /dev/null +++ b/debian/links @@ -0,0 +1,4 @@ +usr/share/vdr-plugin-live/css var/lib/vdr/plugins/live/css +usr/share/vdr-plugin-live/img var/lib/vdr/plugins/live/img +usr/share/vdr-plugin-live/js var/lib/vdr/plugins/live/js +usr/share/vdr-plugin-live/themes var/lib/vdr/plugins/live/themes diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..1412cf0 --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1 @@ +#90_clean diff --git a/debian/patches/90_clean.dpatch b/debian/patches/90_clean.dpatch new file mode 100755 index 0000000..a6dea38 --- /dev/null +++ b/debian/patches/90_clean.dpatch @@ -0,0 +1,16 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run + +## 99_clean.dpatch - Tobias Grimm <tg@e-tobi.nez> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixes clean target + +@DPATCH@ +--- vdr-plugin-live-0.1.0.orig/pages/Makefile ++++ vdr-plugin-live-0.1.0/pages/Makefile +@@ -53,4 +53,4 @@ + $(AR) r $@ $^ + + clean: +- @rm -f *~ *.o core* libpages.a $(OBJS:%.o=%.cpp) ++ @rm -f *~ *.o core* libpages.a $(OBJS:%.o=%.cpp) $(DEPFILE) diff --git a/debian/plugin.live.conf b/debian/plugin.live.conf new file mode 100644 index 0000000..3b7690f --- /dev/null +++ b/debian/plugin.live.conf @@ -0,0 +1,11 @@ +# +# Command line parameters for vdr-plugin-live +# +# For more details see: +# - /usr/share/doc/vdr-plugin-live/README +# - `vdr --help -Plive` + +--port=8008 +--ip=0.0.0.0 +--log=INFO +--epgimages=/var/cache/vdr/epgimages diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..2f989fe --- /dev/null +++ b/debian/postinst @@ -0,0 +1,42 @@ +#!/bin/sh +# postinst script for vdr-plugin-live +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + chown -R vdr:vdr /var/lib/vdr/plugins/live + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..e540425 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,42 @@ +#!/bin/sh +# postrm script for vdr-plugin-live +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + rm -f /var/lib/vdr/plugins/live/httpd.config + rm -f /var/lib/vdr/plugins/live/httpd.properties + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..fc7104f --- /dev/null +++ b/debian/rules @@ -0,0 +1,94 @@ +#! /bin/sh /usr/share/vdr-dev/make-special-vdr.sh +# 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 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +# To use dpatch uncomment the following line and set Build-Depends to dpatch +DPATCH=yes + +ifdef DPATCH +include /usr/share/dpatch/dpatch.make +else +patch: +patch-stamp: +unpatch: +endif + +MAKE_OPTIONS = DVBDIR=/usr VDRDIR=/usr/include/vdr LIBDIR=. + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) all $(MAKE_OPTIONS) + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) -o .dependencies clean $(MAKE_OPTIONS) + rm -f libvdr-*.so.* + rm -rf locale + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + 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_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 + sh /usr/share/vdr-dev/patchlevel.sh subst + sh /usr/share/vdr-dev/dependencies.sh + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure \ + clean-patched patch unpatch diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..d6ff0ca --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://live.vdr-developer.org/downloads/vdr-live-(.*)\.tar\.gz |