Package: nvidia-kernel-source
Version: 1.0.7174-4
Severity: wishlist
Tags: patch

Please find attached patches to 1.0.7174-4 debian.module/rules and 
debian.module/control.template
that allow the use of make-kpkg --stem option (or alternatively of $KPKG_STEM 
environment variable).
If none is specified, then the defaults "kernel" value is applied.

These changes should also be documented in the README.Debian, as default linux 
kernel packages are now called
linux-{image,doc...}.

Please add these patches in the next release.

Cheers
Julien


-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (1100, 'stable'), (990, 'testing'), (10, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-ck5-neptune-20050806.1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     4.9.5      helper programs for debian/rules
ii  dpatch                        2.0.14     patch maintenance system for Debia
ii  make                          3.80-9     The GNU version of the "make" util
ii  sed                           4.1.2-8    The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.9.4      Scripts to make the life of a Debi
ii  kernel-package                9.001      A utility for building Linux kerne
ii  nvidia-glx                    1.0.7174-4 NVIDIA binary XFree86 4.x driver

-- no debconf information
--- control.template.orig       2005-08-20 00:44:55.000000000 +0200
+++ control.template    2005-08-20 00:22:20.000000000 +0200
@@ -9,7 +9,7 @@
 Architecture: i386 amd64
 Provides: nvidia-kernel-1.0.7174
 Depends: nvidia-kernel-common (>= 1.0.7174)
-Recommends: kernel-image-#KVERS#
+Recommends: #STEM#-image-#KVERS#
 Description: NVIDIA binary kernel module for Linux #KVERS#
  These XFree86 4.0 binary drivers provide optimized hardware acceleration of 
  OpenGL applications via a direct-rendering X Server and support the TNT,
--- rules.orig  2005-08-20 00:43:36.000000000 +0200
+++ rules       2005-08-20 00:40:49.000000000 +0200
@@ -17,6 +17,12 @@
 KSRC:=$(KSRC)
 KVERS:=${KVERS}
 
+ifndef KPKG_STEM
+STEM:=kernel
+else
+STEM:=${KPKG_STEM}
+endif
+
 # 6106 has builtin sysfs support supposedly 
 NV_PATCH_SYSFS ?= 0
 
@@ -175,7 +181,7 @@
        dh_testroot
        dh_clean -k
 
-       sed 's/#KVERS#/$(KVERS)/g' debian/control.template > 
$(CURDIR)/debian/control
+       sed -e 's/#KVERS#/$(KVERS)/g' -e 's/#STEM#/$(STEM)/g' 
debian/control.template > $(CURDIR)/debian/control
        sed 's/#KVERS#/$(KVERS)/g' debian/dirs.template > $(CURDIR)/debian/dirs
        sed 's/#KVERS#/$(KVERS)/g' debian/override.template > 
$(CURDIR)/debian/override
 

Reply via email to