~ubuntu-branches/ubuntu/maverick/nvidia-graphics-drivers-96/maverick-proposed

« back to all changes in this revision

Viewing changes to debian/nvidia-96.README.Debian.in

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone
  • Date: 2010-01-08 23:34:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100108233451-f1142o5r7z0ou4o0
Tags: 96.43.14-0ubuntu1
* Rework packaging taking Mandriva's as a model:
  - Use alternatives instead of diversions.
  - Reduce the number of binary packages to nvidia-96,
    nvidia-96-dev and nvidia-96-modaliases.
* debian/rules:
  - Switch to CDBS.
  - Remove libGL.la as no static library is provided.
* debian/nvidia-current.README.Debian.in:
  - Document the update process.
* nvidia-current.postinst: try to build the module for the most
  recent kernel in addition to building it for the current kernel
  (LP: #474917).
* New upstream release (LP: #494166):
 - Add support for xserver 1.7.x.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
NVIDIA video drivers for Ubuntu
 
2
============================
 
3
 
 
4
Further information can be found at http://www.nvidia.com/ -- look for
 
5
the "Download Drivers" tab and follow links to the Linux drivers.
 
6
 
 
7
This package is generated from the official NVIDIA driver
 
8
installer that is available from the above homepage.
 
9
 
 
10
DKMS
 
11
-------------------------
 
12
   Ubuntu includes support to build modules using a utility
 
13
   developed by Dell, called DKMS.  It will automatically
 
14
   build your kernel module for you when you first boot into
 
15
   the kernel (or as necessary)
 
16
 
 
17
   See the DKMS man page for more information.
 
18
 
 
19
Kernel patches
 
20
-------------------------
 
21
   If you need to provide a kernel patch (say for a kernel not formally
 
22
   supported yet by NVIDIA), you can add this patch in the
 
23
   debian/dkms/patches directory and mention the patch in the
 
24
   debian/dkms.conf.in file.
 
25
 
 
26
   It is usually a good idea to restrict the use of a patch to certain
 
27
   kernel versions with the PATCH_MATCH[n] variable.
 
28
 
 
29
   See the DKMS man page for more information.
 
30
 
 
31
32 bit libraries on 64 bit systems
 
32
-------------------------
 
33
   32 bit libraries are provided on 64 bit systems for compatibility
 
34
   reasons.
 
35
   
 
36
   The following templates are merged together into the same file on
 
37
   amd64:
 
38
   debian/nvidia-current.links32.in
 
39
   debian/nvidia-current.links.in
 
40
 
 
41
   $ld_so_conf_path lets the system know where it should look for 32
 
42
   bit libraries.
 
43
 
 
44
Update procedure
 
45
-------------------------
 
46
When a new NVIDIA is available, do the following to update
 
47
#DRIVERNAME#:
 
48
 
 
49
0.  On your build system, make sure you have the prerequisites
 
50
    installed:
 
51
 
 
52
    $ sudo apt-get build-dep #DRIVERNAME#
 
53
 
 
54
1.  Download the NVIDIA installers i.e. the .run files.
 
55
 
 
56
2.  dch -i to update the version in the debian/changelog so that it
 
57
    matches the new upstream version.
 
58
 
 
59
    Also make sure that the changelog includes both the changes you
 
60
    made (if any) to the files in debian/ changes and the changes from
 
61
    upstream (i.e. NVIDIA) which you can find in the release notes of
 
62
    the driver.
 
63
 
 
64
3.  debclean to regenerate most of the files in debian/ from their
 
65
    templates.
 
66
 
 
67
4.  Temporarily move the debian/ directory out of the source directory
 
68
    and compress it as $SOURCE_NAME _ $NEW_VERSION . orig . tar . gz
 
69
    e.g. #DRIVERSRCNAME#_#VERSION#.orig.tar.gz
 
70
 
 
71
5.  Move the debian/ directory back to the source directory and type
 
72
    debuild -S -sa to produce a new .dsc
 
73
 
 
74
6.  Verify the new .dsc produces valid .debs by running it through
 
75
    pbuilder, sbuild, etc. as usual.
 
76
 
 
77
7.  Install and test the .debs, and then dput the .changes file
 
78
 
 
79
 
 
80
IMPORTANT NOTE: If any changes to files in debian/ are needed, make sure
 
81
to discuss your changes with the maintainer (Alberto aka tseliot) before
 
82
you upload.
 
83
 
 
84
 
 
85
 -- Alberto Milone <alberto.milone@canonical.com>  Mon, 21 Dec 2009 12:36:15 +0100