summaryrefslogtreecommitdiff
path: root/bcm5974-dkms-mkdeb/debian
diff options
context:
space:
mode:
Diffstat (limited to 'bcm5974-dkms-mkdeb/debian')
-rw-r--r--bcm5974-dkms-mkdeb/debian/README.Debian23
-rw-r--r--bcm5974-dkms-mkdeb/debian/changelog5
-rw-r--r--bcm5974-dkms-mkdeb/debian/compat1
-rw-r--r--bcm5974-dkms-mkdeb/debian/control16
-rw-r--r--bcm5974-dkms-mkdeb/debian/copyright41
-rw-r--r--bcm5974-dkms-mkdeb/debian/dirs1
-rw-r--r--bcm5974-dkms-mkdeb/debian/postinst71
-rw-r--r--bcm5974-dkms-mkdeb/debian/postrm27
-rw-r--r--bcm5974-dkms-mkdeb/debian/prerm28
-rw-r--r--bcm5974-dkms-mkdeb/debian/rules53
10 files changed, 0 insertions, 266 deletions
diff --git a/bcm5974-dkms-mkdeb/debian/README.Debian b/bcm5974-dkms-mkdeb/debian/README.Debian
deleted file mode 100644
index 1f170f1..0000000
--- a/bcm5974-dkms-mkdeb/debian/README.Debian
+++ /dev/null
@@ -1,23 +0,0 @@
1MODULE_NAME DKMS module for Debian
2
3BCM5974: This driver adds support for the multitouch trackpad on the
4new Apple Macbook Air and Macbook Pro Penryn laptops. It replaces the
5appletouch driver on those computers, and integrates well with the
6synaptics driver of the Xorg system.
7
8Known to work on Macbook Air and Macbook Pro Penryn.
9
10* Install the debian package (uses dkms)
11
12* Reboot
13
14Post installation
15
16* Make sure your /etc/X11/xorg.conf settings are sane.
17
18* If experiencing problems with your xorg settings, try the
19 bcm5974-diagnostics script (dkms installs the source under /usr/src/).
20
21Enjoy!
22
23Henrik Rydberg <rydberg@euromail.se>
diff --git a/bcm5974-dkms-mkdeb/debian/changelog b/bcm5974-dkms-mkdeb/debian/changelog
deleted file mode 100644
index 2f74f29..0000000
--- a/bcm5974-dkms-mkdeb/debian/changelog
+++ /dev/null
@@ -1,5 +0,0 @@
1MODULE_NAME-dkms (MODULE_VERSION) unstable; urgency=low
2
3 * Add support for MacBook 5,1 (unibody)
4
5 -- Henrik Rydberg <rydberg@euromail.se> DATE_STAMP
diff --git a/bcm5974-dkms-mkdeb/debian/compat b/bcm5974-dkms-mkdeb/debian/compat
deleted file mode 100644
index 7ed6ff8..0000000
--- a/bcm5974-dkms-mkdeb/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
15
diff --git a/bcm5974-dkms-mkdeb/debian/control b/bcm5974-dkms-mkdeb/debian/control
deleted file mode 100644
index c5497bf..0000000
--- a/bcm5974-dkms-mkdeb/debian/control
+++ /dev/null
@@ -1,16 +0,0 @@
1Source: MODULE_NAME-dkms
2Section: linux-input
3Priority: optional
4Maintainer: Henrik Rydberg <rydberg@euromail.se>
5Build-Depends: debhelper (>= 5)
6Standards-Version: 3.7.2
7Homepage: http://web.comhem.se/rydberg/Bits/
8
9Package: MODULE_NAME-dkms
10Architecture: all
11Depends: dkms (>= 1.95), bash (>> 1.99)
12Description: Apple USB BCM5974 Multitouch trackpad support (DKMS)
13 This driver adds support for the multitouch trackpad on the new
14 Apple Macbook Air and Macbook Pro Penryn laptops. It replaces the
15 appletouch driver on those computers, and integrates well with the
16 synaptics driver of the Xorg system.
diff --git a/bcm5974-dkms-mkdeb/debian/copyright b/bcm5974-dkms-mkdeb/debian/copyright
deleted file mode 100644
index e00b447..0000000
--- a/bcm5974-dkms-mkdeb/debian/copyright
+++ /dev/null
@@ -1,41 +0,0 @@
1The bcm5974-dkms package was created using DKMS <dkms-devel@dell.com>
2
3Source URL: http://web.comhem.se/rydberg/Bits/
4
5Upstream Author: Henrik Rydberg <rydberg@euromail.se>
6
7Copyright:
8 Copyright (C) 2008 Henrik Rydberg (rydberg@euromail.se)
9
10 The USB initialization and package decoding was made by
11 Scott Shawcroft as part of the touchd user-space driver project:
12 Copyright (C) 2008 Scott Shawcroft (scott.shawcroft@gmail.com)
13
14 The BCM5974 driver is based on the appletouch driver:
15 Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
16 Copyright (C) 2005 Johannes Berg (johannes@sipsolutions.net)
17 Copyright (C) 2005 Stelian Pop (stelian@popies.net)
18 Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de)
19 Copyright (C) 2005 Peter Osterlund (petero2@telia.com)
20 Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch)
21 Copyright (C) 2006 Nicolas Boichat (nicolas@boichat.ch)
22
23License:
24
25 This program is free software; you can redistribute it and/or modify
26 it under the terms of the GNU General Public License as published by
27 the Free Software Foundation; either version 2 of the License, or
28 (at your option) any later version.
29
30 This program is distributed in the hope that it will be useful,
31 but WITHOUT ANY WARRANTY; without even the implied warranty of
32 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 GNU General Public License for more details.
34
35 You should have received a copy of the GNU General Public License
36 along with this program; if not, write to the Free Software
37 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
38
39Packaging:
40 Copyright (C) 2008 by Henrik Rydberg <rydberg@euromail.se>
41 released under GPL 2
diff --git a/bcm5974-dkms-mkdeb/debian/dirs b/bcm5974-dkms-mkdeb/debian/dirs
deleted file mode 100644
index b601f22..0000000
--- a/bcm5974-dkms-mkdeb/debian/dirs
+++ /dev/null
@@ -1 +0,0 @@
1usr/src
diff --git a/bcm5974-dkms-mkdeb/debian/postinst b/bcm5974-dkms-mkdeb/debian/postinst
deleted file mode 100644
index 65b16ae..0000000
--- a/bcm5974-dkms-mkdeb/debian/postinst
+++ /dev/null
@@ -1,71 +0,0 @@
1#!/bin/sh
2
3set -e
4
5NAME=MODULE_NAME
6VERSION=MODULE_VERSION
7
8case "$1" in
9 configure)
10 # Determine current arch / kernel
11 c_arch=`uname -m`
12 c_kern=`uname -r`
13
14 if [ -e "/var/lib/dkms/$NAME/$VERSION" ]; then
15 echo "Removing old $NAME-$VERSION DKMS files..."
16 dkms remove -m $NAME -v $VERSION --all
17 fi
18
19 echo "Loading new $NAME-$VERSION DKMS files..."
20 #dkms add -m $NAME -v $VERSION
21 dkms ldtarball --archive "/usr/src/$NAME-$VERSION.dkms.tar.gz"
22 rm -f "/usr/src/$NAME-$VERSION.dkms.tar.gz"
23
24 echo "Installing prebuilt kernel module binaries (if any)"
25 set +e
26 IFS='
27'
28 for kern in `dkms status -m $NAME -v $VERSION -a $c_arch | grep ": built" | awk {'print $3'} | sed 's/,$//'`; do
29 echo "Trying kernel: $kern"
30 dkms install --force -m $NAME -v $VERSION -k $kern -a $c_arch
31 done
32 unset IFS
33 set -e
34
35 # If none installed, install.
36 ##if [ `dkms status -m $NAME -v $VERSION -k $c_kern -a $c_arch | grep -c ": installed"` -eq 0 ]; then
37 dkms_status=`dkms status -m $NAME -v $VERSION -k $c_kern -a $c_arch`
38 if [ `echo $dkms_status | grep -c ": installed"` -eq 0 ]; then
39 if [ `echo $c_kern | grep -c "BOOT"` -eq 0 ] && [ -e "/lib/modules/$c_kern/build/include" ]; then
40 # Only build if we need to.
41 if [ `echo $dkms_status | grep -c ": built"` -eq 0 ]; then
42 echo "Building module..."
43 dkms build -m $NAME -v $VERSION
44 fi
45 echo "Installing module..."
46 dkms install -m $NAME -v $VERSION
47 elif [ `echo $c_kern | grep -c "BOOT"` -gt 0 ]; then
48 echo -e ""
49 echo -e "Module build for the currently running kernel was skipped since you"
50 echo -e "are running a BOOT variant of the kernel."
51 else
52 echo -e ""
53 echo -e "Module build for the currently running kernel was skipped since the"
54 echo -e "kernel source for this kernel does not seem to be installed."
55 fi
56 fi
57 ;;
58
59 abort-upgrade|abort-remove|abort-deconfigure)
60 ;;
61
62 *)
63 echo "postinst called with unknown argument \`$1'" >&2
64 exit 1
65 ;;
66esac
67
68#DEBHELPER#
69
70exit 0
71
diff --git a/bcm5974-dkms-mkdeb/debian/postrm b/bcm5974-dkms-mkdeb/debian/postrm
deleted file mode 100644
index 78221c8..0000000
--- a/bcm5974-dkms-mkdeb/debian/postrm
+++ /dev/null
@@ -1,27 +0,0 @@
1#!/bin/sh
2
3NAME=MODULE_NAME
4VERSION=MODULE_VERSION
5
6set -e
7
8case "$1" in
9 purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
10 moddir="/lib/modules/`uname -r`/kernel/"
11 depmod
12 if [ -d "/usr/src/$NAME-$VERSION" ]; then
13 echo "Removing old module source..."
14 rm -rf "/usr/src/$NAME-$VERSION"
15 fi
16 ;;
17
18 *)
19 echo "postrm called with unknown argument \`$1'" >&2
20 exit 1
21 ;;
22esac
23
24#DEBHELPER#
25
26exit 0
27
diff --git a/bcm5974-dkms-mkdeb/debian/prerm b/bcm5974-dkms-mkdeb/debian/prerm
deleted file mode 100644
index f42d293..0000000
--- a/bcm5974-dkms-mkdeb/debian/prerm
+++ /dev/null
@@ -1,28 +0,0 @@
1#!/bin/sh
2
3NAME=MODULE_NAME
4VERSION=MODULE_VERSION
5
6set -e
7
8case "$1" in
9 remove|upgrade|deconfigure)
10 if [ "`dkms status -m $NAME`" ]; then
11 dkms remove -m $NAME -v $VERSION --all
12 fi
13 ;;
14
15 failed-upgrade)
16 ;;
17
18 *)
19 echo "prerm called with unknown argument \`$1'" >&2
20 exit 1
21 ;;
22esac
23
24#DEBHELPER#
25
26exit 0
27
28
diff --git a/bcm5974-dkms-mkdeb/debian/rules b/bcm5974-dkms-mkdeb/debian/rules
deleted file mode 100644
index 385aa1c..0000000
--- a/bcm5974-dkms-mkdeb/debian/rules
+++ /dev/null
@@ -1,53 +0,0 @@
1#!/usr/bin/make -f
2# -*- makefile -*-
3
4# Uncomment this to turn on verbose mode.
5#export DH_VERBOSE=1
6
7NAME=MODULE_NAME
8VERSION=MODULE_VERSION
9
10configure: configure-stamp
11configure-stamp:
12 dh_testdir
13 touch configure-stamp
14
15
16build: build-stamp
17
18build-stamp: configure-stamp
19 dh_testdir
20 $(MAKE)
21 touch $@
22
23clean:
24 dh_testdir
25 dh_testroot
26 rm -f build-stamp configure-stamp
27 -$(MAKE) clean
28 dh_clean
29
30install: build
31 dh_testdir
32 dh_testroot
33 dh_clean -k
34 dh_installdirs
35 $(MAKE) DESTDIR=$(CURDIR)/debian/$(NAME)-dkms NAME=$(NAME) VERSION=$(VERSION) install
36
37binary-arch: build install
38
39binary-indep: build install
40 dh_testdir
41 dh_testroot
42 dh_link
43 dh_strip
44 dh_compress
45 dh_fixperms
46 dh_installdeb
47 dh_shlibdeps
48 dh_gencontrol
49 dh_md5sums
50 dh_builddeb
51
52binary: binary-indep binary-arch
53.PHONY: build clean binary-indep binary-arch binary install configure