Changeset 456

Show
Ignore:
Timestamp:
02/12/2007 16:56:02 (8 months ago)
Author:
nextime
Message:

[svn-inject] Applying Debian modifications to trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • packages/main/vloopback/trunk/debian/changelog

    r453 r456  
    1 vloopback (1.0-1) unstable; urgency=low 
     1vloopback (1.1-rc1-2) unstable; urgency=low 
    22 
    3   * New upstream release 
     3  * Initial release  
    44 
    5  -- Jack Bates <ms419@freezone.co.uk>  Wed, 30 Aug 2006 09:40:36 -0700 
     5 -- Unixmedia S.r.l. (Medianix Devel) <devel@unixmedia.it>  Sun, 02 Dec 2007 16:31:45 +0100 
    66 
    7 vloopback (0.97-snap3-1) unstable; urgency=low 
    8  
    9   * New upstream release 
    10  
    11  -- Jack Bates <ms419@freezone.co.uk>  Mon,  1 May 2006 19:48:36 -0700 
    12  
    13 vloopback (0.97-snap1-1) unstable; urgency=low 
    14  
    15   * Initial release 
    16  
    17  -- Jack Bates <ms419@freezone.co.uk>  Thu,  8 Dec 2005 16:43:57 -0800 
  • packages/main/vloopback/trunk/debian/compat

    r453 r456  
    1 
     1
  • packages/main/vloopback/trunk/debian/control.modules.in

    r453 r456  
    11Source: vloopback 
    2 Section: unknown 
     2Section: video 
    33Priority: optional 
    4 Maintainer: Jack Bates <ms419@freezone.co.uk
    5 Build-Depends: debhelper (>> 4.0.0) # module-assistant? 
    6 Standards-Version: 3.6.2 
     4Maintainer: Unixmedia S.r.l. (Medianix Devel) <devel@unixmedia.it
     5Build-Depends: debhelper (>= 5) 
     6Standards-Version: 3.7.2 
    77 
    88Package: vloopback-modules-_KVERS_ 
    99Architecture: any 
    1010Provides: vloopback-modules 
    11 Description: vloopback modules for Linux _KVERS_ 
    12  vloopback is a video4linux driver providing video pipes.  With this driver you 
    13  can use the output of a user program as input to another program which would 
    14  normally communicate with a video4linux device. 
     11Description: vloopback modules for Linux (kernel _KVERS_). 
     12 This package contains the set of loadable kernel modules for the 
     13 video4linux loopback device (formerly "vloopback"). 
     14 . 
     15 This package contains the compiled kernel modules for _KVERS_ 
     16 . 
     17 If you have compiled your own kernel, you will most likely need to build 
     18 your own vloopback-modules. The vloopback-source package has been 
     19 provided for use with the Debian's module-assistant or kernel-package 
     20 utilities to produce a version of vloopback-modules for your kernel. 
  • packages/main/vloopback/trunk/debian/copyright

    r453 r456  
    1 Copyright Holder: 
     1This package was debianized by unknown <devel@unixmedia.it> on 
     2Sun, 02 Dec 2007 16:31:45 +0100. 
    23 
    3     Angel Carpintero, ack@telefonica.net 
    4     Kenneth Lavrsen, kenneth@lavrsen.dk 
     4It was downloaded from <url://example.com> 
     5 
     6Upstream Author(s):  
     7   Jeroen Vreeken (pe1rxq@amsat.org) 
     8   Kenneth Lavrsen 
     9   tibit 
     10   W Brack 
     11   Angel Carpintero 
     12 
     13Copyright:  
     14 
     15 Copyright Jeroen Vreeken (pe1rxq@amsat.org), 2000 
     16 Additional copyright by the contributing authors in the 
     17 change history in the source headers 
    518 
    619License: 
    720 
    8    This package is free software; you can redistribute it and/or modify 
    9    it under the terms of the GNU General Public License as published by 
    10    the Free Software Foundation; either version 2 of the License, or 
    11    (at your option) any later version. 
     21    Published under the GNU Public License. 
    1222 
    13    This package is distributed in the hope that it will be useful, 
    14    but WITHOUT ANY WARRANTY; without even the implied warranty of 
    15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    16    GNU General Public License for more details. 
     23The Debian packaging is (C) 2007, Unixmedia S.r.l. (Medianix Devel) <devel@unixmedia.it> and 
     24is licensed under the GPL, see `/usr/share/common-licenses/GPL'. 
    1725 
    18    You should have received a copy of the GNU General Public License 
    19    along with this package; if not, write to the Free Software 
    20    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA 
    21  
    22 On Debian systems, the complete text of the GNU General 
    23 Public License can be found in `/usr/share/common-licenses/GPL'. 
     26# Please also look if there are files or directories which have a 
     27# different copyright/license attached and list them here. 
  • packages/main/vloopback/trunk/debian/rules

    r453 r456  
    11#!/usr/bin/make -f 
    2  
    3 # Uncomment to turn on verbose mode 
    4 #export DH_VERBOSE = 1 
     2# -*- makefile -*- 
     3# Sample debian/rules that uses debhelper.  
     4# This file was originally written by Joey Hess and Craig Small. 
     5# As a special exception, when this file is copied by dh-make into a 
     6# dh-make output file, you may use that output file without restriction. 
     7# This special exception was added by Craig Small in version 0.37 of dh-make. 
     8
     9# This version is for a hypothetical package that can build a kernel modules 
     10# architecture-dependant package via make-kpkg, as well as an 
     11# architecture-independent module source package, and other packages 
     12# either dep/indep for things like common files or userspace components 
     13# needed for the kernel modules. 
     14 
     15# Uncomment this to turn on verbose mode.  
     16#export DH_VERBOSE=1 
     17 
     18 
     19 
     20 
     21CFLAGS = -Wall -g 
    522 
    623ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 
     
    1027endif 
    1128 
    12 # Prefix of the target package name 
    13 PACKAGE = vloopback-modules 
    14  
    15 # Load generic variable handling 
    16 -include /usr/share/modass/include/generic.make 
    17  
    18 # Load default rules, including kdist, kdist_image, ... 
    19 -include /usr/share/modass/include/common-rules.make 
    20  
     29# some default definitions, important! 
     30#  
     31# Name of the source package 
     32psource:=vloopback-source 
     33 
     34# The short upstream name, used for the module source directory 
     35sname:=vloopback 
     36 
     37### KERNEL SETUP 
     38### Setup the stuff needed for making kernel module packages 
     39### taken from /usr/share/kernel-package/sample.module.rules 
     40 
     41# prefix of the target package name 
     42PACKAGE=vloopback-modules 
     43# modifieable for experiments or debugging m-a 
     44MA_DIR ?= /usr/share/modass 
     45# load generic variable handling 
     46-include $(MA_DIR)/include/generic.make 
     47# load default rules, including kdist, kdist_image, ... 
     48-include $(MA_DIR)/include/common-rules.make 
     49   
     50# module assistant calculates all needed things for us and sets 
     51# following variables: 
     52# KSRC (kernel source directory), KVERS (kernel version string), KDREV 
     53# (revision of the Debian kernel-image package), CC (the correct 
     54# compiler), VERSION (the final package version string), PKGNAME (full 
     55# package name with KVERS included), DEB_DESTDIR (path to store DEBs) 
     56   
     57# The kdist_config target is called by make-kpkg modules_config and 
     58# by kdist* rules by dependency. It should configure the module so it is 
     59# ready for compilation (mostly useful for calling configure). 
     60# prep-deb-files from module-assistant creates the neccessary debian/ files  
     61kdist_config: prep-deb-files 
     62   
     63# the kdist_clean target is called by make-kpkg modules_clean and from 
     64# kdist* rules. It is responsible for cleaning up any changes that have 
     65# been made by the other kdist_commands (except for the .deb files created) 
     66kdist_clean: clean 
     67        $(MAKE) $(MFLAGS) -f debian/rules clean 
     68#       rm -f driver/*.o driver/*.ko 
     69
     70### end  KERNEL SETUP 
     71 
     72configure: configure-stamp 
     73configure-stamp: 
     74        dh_testdir 
     75        # Add here commands to configure the package. 
     76 
     77        touch configure-stamp 
     78 
     79 
     80build-arch: configure-stamp  build-arch-stamp 
     81build-arch-stamp: 
     82        dh_testdir 
     83 
     84        # Add here command to compile/build the package. 
     85        $(MAKE) 
     86 
     87        touch $@ 
     88 
     89#k = $(shell echo $(KVERS) | grep -q ^2.6 && echo k) 
     90 
     91# the binary-modules rule is invoked by module-assistant while processing the 
     92# kdist* targets. It is called by module-assistant or make-kpkg and *not* 
     93# during a normal build 
    2194binary-modules: 
    22         dh_testdir 
    2395        dh_testroot 
     96        dh_clean -k 
    2497        dh_installdirs lib/modules/$(KVERS)/misc 
    2598 
    2699        # Build the module 
    27         $(MAKE) -C $(KSRC) M=$(PWD) modules 
     100        $(MAKE) -C drivers KERNEL_DIR=$(KSRC) KVERS=$(KVERS) 
    28101 
    29102        # Install the module 
    30         $(MAKE) -C $(KSRC) M=$(PWD) \ 
    31                 DEST=debian/$(PKGNAME)/lib/modules/$(KVERS)/misc modules_install 
    32  
    33         dh_installdocs README vloopback.html 
    34         dh_installmodules 
     103        cp drivers/slusb.$ko drivers/slamr.$ko debian/$(PKGNAME)/lib/modules/$(KVERS)/misc 
     104 
     105        dh_installdocs 
    35106        dh_installchangelogs 
    36         dh_link 
    37         dh_strip 
    38107        dh_compress 
    39108        dh_fixperms 
     
    42111        dh_md5sums 
    43112        dh_builddeb --destdir=$(DEB_DESTDIR) 
    44  
    45 kdist_clean: 
     113        dh_clean -k 
     114 
     115build-indep:  configure-stamp build-indep-stamp 
     116build-indep-stamp: 
     117        dh_testdir 
     118 
     119        # Add here command to compile/build the arch indep package. 
     120        # It's ok not to do anything here, if you don't need to build 
     121        #  anything for this package. 
     122        #docbook-to-man debian/vloopback.sgml > vloopback.1 
     123 
     124        touch $@ 
     125 
     126build: build-arch build-indep 
     127 
     128clean: 
     129        dh_testdir 
     130        #dh_testroot 
     131        rm -f build-arch-stamp build-indep-stamp configure-stamp 
     132 
     133        # Add here commands to clean up after the build process. 
    46134        -$(MAKE) clean 
    47135 
    48         # kdist_clean may be run before prep-deb-files 
    49         -dh_clean 
    50         rm -f debian/control 
    51  
    52 kdist_config: prep-deb-files 
     136        dh_clean 
     137 
     138install: DH_OPTIONS= 
     139install: build 
     140        dh_testdir 
     141        dh_testroot 
     142        dh_clean -k 
     143        dh_installdirs 
     144 
     145        # Create the directories to install the source into 
     146        dh_installdirs -p$(psource)  usr/src/modules/$(sname)/debian 
     147 
     148        # Copy only the driver source to the proper location 
     149        cp -ap Makefile Modules.symvers vloopback.c  debian/$(psource)/usr/src/modules/$(sname) 
     150        # Copy the needed debian/ pieces to the proper location 
     151        cp debian/*modules.in* \ 
     152                debian/$(psource)/usr/src/modules/$(sname)/debian 
     153        cp debian/rules debian/changelog debian/copyright \ 
     154                debian/compat debian/$(psource)/usr/src/modules/$(sname)/debian/ 
     155        cd debian/$(psource)/usr/src && tar c modules | bzip2 -9 > $(sname).tar.bz2 && rm -rf modules 
     156 
     157        # Add here commands to install the package into debian/vloopback. 
     158        #$(MAKE) DESTDIR=$(CURDIR)/debian/vloopback install 
     159 
     160        #dh_install 
     161 
     162# Build architecture-independent files here. 
     163# Pass -i to all debhelper commands in this target to reduce clutter. 
     164binary-indep: build install 
     165        dh_testdir -i 
     166        dh_testroot -i 
     167        dh_installchangelogs  -i 
     168        dh_installdocs -i 
     169        dh_installexamples -i 
     170#       dh_install -i 
     171#       dh_installmenu -i 
     172#       dh_installdebconf -i 
     173#       dh_installlogrotate -i 
     174#       dh_installemacsen -i 
     175#       dh_installpam -i 
     176#       dh_installmime -i 
     177#       dh_installinit -i 
     178#       dh_installcron -i 
     179#       dh_installinfo -i 
     180        dh_installman -i 
     181        dh_link -i 
     182        dh_compress -i 
     183        dh_fixperms -i 
     184        dh_installdeb -i 
     185#       dh_perl -i 
     186#       dh_python -i 
     187#       dh_makeshlibs -i 
     188        dh_installdeb -i 
     189        dh_shlibdeps -i 
     190        dh_gencontrol -i 
     191        dh_md5sums -i 
     192        dh_builddeb -i 
     193 
     194# Build architecture-dependent files here. 
     195binary-arch: build install 
     196        dh_testdir -s 
     197        dh_testroot -s 
     198#       dh_installdebconf -s 
     199        dh_installdocs -s 
     200        dh_installexamples -s 
     201        dh_installmenu -s 
     202#       dh_installlogrotate -s 
     203#       dh_installemacsen -s 
     204#       dh_installpam -s 
     205#       dh_installmime -s 
     206#       dh_installinit -s 
     207        dh_installcron -s 
     208#       dh_installman -s 
     209        dh_installinfo -s 
     210        dh_installchangelogs  -s 
     211        dh_strip -s 
     212        dh_link -s 
     213        dh_compress -s 
     214        dh_fixperms -s 
     215#       dh_makeshlibs -s 
     216        dh_installdeb -s 
     217#       dh_perl -s 
     218        dh_shlibdeps -s 
     219        dh_gencontrol -s 
     220        dh_md5sums -s 
     221        dh_builddeb -s 
     222 
     223binary: binary-indep binary-arch 
     224.PHONY: build clean binary-indep binary-arch binary install configure binary-modules kdist kdist_configure kdist_image kdist_clean