ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Dmitriy Khanzhin <dimajin@mail.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] nvidia драйвера для GF4 и ниже
Date: Tue, 20 Feb 2007 08:08:29 +0300
Message-ID: <45DA824D.60608@mail.ru> (raw)
In-Reply-To: <200702192233.32520.a_s_y@sama.ru>

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

Sergey wrote:
> On Monday 19 February 2007, Dmitriy Khanzhin wrote:
> 
>> Что есть nv_lite?
> 
> Скорее надо обозвать nv_old...
> 
Если я правильно понял, то спек выглядит примерно так?
Непричесан, но работает.
При установке через apt-get модуль тащит что ему еще нужно.
Потом x11setupdrv.

-- 
Rgrds, jinn.

[-- Attachment #2: kernel-modules-nv_lite-std-smp.spec --]
[-- Type: text/plain, Size: 8780 bytes --]

%define module_name	nvidia
%define module_version	7184
%define module_release	alt1.132626.3

%define upstream_module_name	NVIDIA_kernel

%define kversion	2.6.18
%define krelease	alt3
%define flavour		std-smp

%define module_dir /lib/modules/%kversion-%flavour-%krelease/nVidia
%define module_version_dir /lib/modules/%kversion-%flavour-%krelease/.versions

Summary:	nVidia video card drivers
Name:		kernel-modules-nv_lite-%flavour
Version:	1.0.%module_version
Release:	%module_release
License:	Proprietary
Group:		System/Kernel and hardware
URL:		http://www.nvidia.com

Packager:       Kernel Maintainer Team <kernel@packages.altlinux.org>

ExclusiveOS:	Linux
ExclusiveArch:	%ix86 x86_64

BuildRequires: kernel-build-tools >= 0.7
BuildRequires: kernel-headers-modules-%flavour = %kversion-%krelease
BuildRequires: kernel-source-%module_name-%module_version

Provides:  	kernel-modules-nv_lite-%kversion-%flavour-%krelease = %version-%release
Conflicts: 	kernel-modules-%module_name-%kversion-%flavour-%krelease
Conflicts: 	kernel-modules-nv_lite-%kversion-%flavour-%krelease < %version-%release
Conflicts: 	kernel-modules-nv_lite-%kversion-%flavour-%krelease > %version-%release
Prereq:		coreutils
Prereq:		modutils >= 2.4.27-alt4
Prereq:         kernel-image-%flavour = %kversion-%krelease
Requires(postun): kernel-image-%flavour = %kversion-%krelease
#Requires:       NVIDIA_GLX = %version
Requires:       nvidia_glx_%version
Provides:       NVIDIA_kernel = %version

%description
nVidia video card drivers that provide 3d and 2d graphics support for XFree86
Xserver.

%prep
%__rm -rf kernel-source-%module_name-%module_version
tar -jxvf %_usrsrc/kernel/sources/kernel-source-%module_name-%module_version.tar.bz2
%setup -D -T -n kernel-source-%module_name-%module_version

%__rm -f makefile
%__ln_s Makefile.kbuild Makefile

%build
%make_build -C %_usrsrc/linux-%kversion-%flavour modules \
	SUBDIRS=$PWD TEMP_DIR=$PWD/ \
	ARCH=%base_arch \
	SYSSRC=%_usrsrc/linux-%kversion-%flavour

%install
%__mkdir_p %buildroot/%module_dir
%if "%kversion" <= "2.6.0"
%__install -p -m644 nvidia.o %buildroot/%module_dir
%else
%__install -p -m644 nvidia.ko %buildroot/%module_dir
%endif

%__mkdir_p %buildroot/%module_version_dir
echo "%version" >%buildroot/%module_version_dir/%module_name

%post
%post_kernel_modules %kversion-%flavour-%krelease

%postun
%postun_kernel_modules %kversion-%flavour-%krelease

%files
%defattr(644,root,root,755)
%module_dir
%module_version_dir/%module_name

%changelog
* Sun Feb 04 2007 Dmitriy Khanzhin <jinn at altlinux dot ru> 1.0.7184-alt1.132626.3
- old version of driver

* Wed Jan 10 2007 Sergey V Turchin <zerg at altlinux dot org> 1.0.9746-alt1.132626.3
- new release (9746)

* Thu Dec 07 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.9631-alt1.132626.3
- new release (9631)

* Thu Nov 09 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.9629-alt1.132626.3
- new release (9629)

* Fri Nov 03 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.9626-alt1.132626.3
- new release (9626)

* Wed Oct 25 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.8776-alt1.132626.3
- new release (8776)

* Wed Sep 06 2006 L.A. Kostis <lakostis@altlinux.org> 1.0.8774-alt2.132626.3
- make build independed from host-arch.

* Fri Sep 01 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.8774-alt1.132626.3
- new release (8774)

* Wed May 24 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.8762-alt1.132626.3
- new release (8762)

* Wed Apr 12 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.8756-alt1.132626.3
- new release (8756)
- remove NVIDIA_kernel-1.0-8178-U012206.diff (merged by upstream)

* Sat Mar 18 2006 Sergey Vlasov <vsu@altlinux.ru> 1.0.8178-alt2.132626.3
- Added NVIDIA_kernel-1.0-8178-U012206.diff update patch from the nvnews.net
  forum (fixes several problems with newer kernels, including compilation
  failure with 2.6.16).

* Mon Dec 26 2005 Sergey V Turchin <zerg at altlinux dot org> 1.0.8178-alt1.132626.3
- new release (8178)

* Wed Aug 17 2005 Sergey V Turchin <zerg at altlinux dot org> 1.0.7676-alt1.132626.3
- new release (7676)

* Wed Aug 17 2005 Sergey V Turchin <zerg at altlinux dot org> 1.0.7667-alt1.132626.3
- new release (7667)

* Tue Jun 21 2005 Sergey Vlasov <vsu@altlinux.ru> 1.0.7174-alt3.132626.3
- Require modutils >= 2.4.27-alt4 because of .versions/nvidia (#7151).

* Tue Jun 07 2005 Sergey V Turchin <zerg at altlinux dot org> 1.0.7174-alt2.132626.3
- add file with module version

* Thu Apr 07 2005 Anton Farygin <rider@altlinux.ru> 1.0.7174-alt1.132626.3
- new release (7174)

* Mon Mar 14 2005 Sergey Vlasov <vsu@altlinux.ru> 1.0.7167-alt1.132626.3
- New release (7167).
- Removed obsolete compatibility patches.

* Wed Dec 29 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6629-alt2.132626.3
- Added patches for compatibility with kernel 2.6.10 (Patch2, Patch3).

* Sun Dec 26 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6629-alt1.132626.3
- New release (6629).

* Wed Oct 20 2004 Anton Farygin <rider@altlinux.ru> 1.0.6111-alt4.132626.3
- fixed unreslved symbols with kernel 2.6.9

* Sun Oct 17 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6111-alt3.132626.3
- Rebuild for kernel 2.4.27.

* Mon Sep 06 2004 Anton Farygin <rider@altlinux.ru> 1.0.6111-alt2.132626.3
- License fixed

* Tue Aug 17 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6111-alt1.132626.3
- New release (6111).

* Tue Aug 03 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6106-alt2.132626.3
- Use %%post_kernel_modules and %%postun_kernel_modules macros in scripts.

* Fri Jul 02 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6106-alt1.132626.3
- New release (6106).

* Thu May 13 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.5336-alt2.132626.3
- Rebuild for kernel 2.4.26.

* Mon Mar 22 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.5336-alt1.132626.3
- New release (5336).
- Removed AGP fix patch (not needed for 5336).
- Modified build for new makefiles.

* Fri Feb 27 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.5328-alt5.132626.3
- Updated for the new compiler version selection scheme (GCC_VERSION).

* Wed Feb 18 2004 Anton Farygin <rider@altlinux.ru> 1.0.5328-alt4.132626.3
- rebuild for 2.6.3 (increment release without changes)

* Mon Feb 16 2004 Anton Farygin <rider@altlinux.ru> 1.0.5328-alt3.132626.3
- added build scripts for kernel 2.6 

* Thu Jan 15 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.5328-alt2.132626.3
- Added patch to work around problems with AGP support (part of the Linux-2.6
  adaptation patch from www.minion.de).

* Mon Dec 22 2003 Sergey Vlasov <vsu@altlinux.ru> 1.0.5328-alt1.132626.3
- New release (5328).

* Tue Dec 16 2003 Sergey Vlasov <vsu@altlinux.ru> 1.0.4496-alt12.132626.3
- Fixed compiler selection.

* Fri Nov 28 2003 Sergey Vlasov <vsu@altlinux.ru> 1.0.4496-alt11.132626.3
- Added Provides/Conflicts to make sure that only one version of the package
  can be installed for each kernel version.

* Tue Nov 18 2003 Sergey Vlasov <vsu@altlinux.ru> 1.0.4496-alt10.132626.3
- Fixed spec file name.
- Avoid %%postun failure when this package is removed after
  kernel-image-%%flavour (currently rpm cannot prevent this).

* Sat Sep 06 2003 Anton Farygin <rider@altlinux.ru> 1.0.4496-alt9.132626.3
- /usr/include replaces to macros _includedir
- build requires fix

* Tue Aug 26 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt8
- rebuilt with 2.4.21rel-alt14

* Fri Aug 15 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt7
- rebuilt with 2.4.21rel-alt13

* Wed Aug 13 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt6
- rebuilt with 2.4.21rel-alt12

* Tue Aug 12 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt5
- rebuilt with 2.4.21rel-alt11

* Mon Aug 11 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt4
- rebuilt with 2.4.21rel-alt10

* Thu Aug 07 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt3
- rebuilt with 2.4.21rel-alt9

* Wed Aug 06 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt2
- rebuilt with 2.4.21rel-alt8

* Wed Jul 30 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt1
- new release (4496)
- rebuilt with 2.4.21rel-alt7

* Thu Jul 17 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt5
- rebuilt with 2.4.21rel-alt6

* Wed Jul 16 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt4
- rebuilt with 2.4.21rel-alt5

* Mon Jul 07 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt3
- rebuilt with 2.4.21rel alt3 kernel

* Wed Jul 02 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt2
- add provides NVIDIA_kernel = %version

* Sat Jun 21 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt1
- rebuilt with 2.4.21rel kernel

* Thu Apr 10 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4349-alt2
- Provides NVIDIA_kernel for now.

* Sun Mar 23 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4349-alt1
- Initial release




  reply	other threads:[~2007-02-20  5:08 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 12:47 Alexandr Isaev
2007-02-07 12:58 ` Led
2007-02-17 21:13   ` Александр Гвоздев
2007-02-18 20:59     ` Michael Shigorin
2007-02-19 11:51       ` Александр Гвоздев
2007-02-19 14:43         ` Motsyo Gennadi aka Drool
2007-02-19 14:54           ` Pavlov Konstantin
2007-02-19 14:59             ` Led
2007-02-19 15:03               ` Nick S. Grechukh
2007-02-19 15:22               ` Александр Гвоздев
2007-02-19 17:29                 ` Dmitriy Khanzhin
2007-02-19 18:33                   ` Sergey
2007-02-20  5:08                     ` Dmitriy Khanzhin [this message]
2007-02-19 18:30               ` Sergey
2007-02-19 15:06             ` Motsyo Gennadi aka Drool
2007-02-20  8:18               ` Michael Shigorin
2007-02-20  9:53                 ` Motsyo Gennadi aka Drool
2007-02-20 10:00                   ` Michael Shigorin
2007-02-20 10:40                     ` Motsyo Gennadi aka Drool
2007-02-22  5:23                       ` Dmitriy Khanzhin
2007-02-22  5:24                         ` Хихин Руслан
2007-02-22 15:23                           ` Dmitriy Khanzhin
2007-02-22 17:10                             ` Хихин Руслан
2007-02-22 17:34                               ` Dmitriy Khanzhin
2007-02-22 17:39                                 ` Хихин Руслан
2007-02-22 17:53                                   ` Led
2007-02-22 18:02                                     ` Хихин Руслан
2007-02-22 19:36                                     ` Dmitriy Khanzhin
2007-02-24 11:11                                   ` Хихин Руслан
2007-02-24 13:37                                     ` Vyatcheslav Perevalov
2007-02-24 13:37                                       ` Хихин Руслан
2007-02-27 21:07                                     ` Александр Гвоздев
2007-02-28  5:53                                       ` Хихин Руслан
2007-03-01 21:18                                         ` Александр Гвоздев
2007-03-02  5:29                                           ` Хихин Руслан
2007-03-02 11:29                                             ` Александр Гвоздев
2007-03-02 21:03                                       ` Gennadiy Redko
2007-03-02 22:11                                         ` Александр Гвоздев
2007-03-03 10:49                                           ` Хихин Руслан
2007-03-05  7:46                                             ` Gennadiy Redko
2007-03-06  4:09                                                 ` Alexandr Isaev
2007-03-06  4:27                                                   ` Хихин Руслан
2007-03-21 16:58                                                     ` Gennadiy Redko
2007-03-21 17:44                                                       ` Александр Гвоздев
2007-03-21 18:08                                                         ` Gennadiy Redko
2007-03-24 19:16                                                           ` Хихин Руслан
2007-03-25  8:38                                                           ` Хихин Руслан
2007-03-26  9:29                                                             ` Gennadiy Redko
2007-03-26 18:00                                                             ` Александр Гвоздев
2007-03-21 18:20                                                         ` Gennadiy Redko
2007-03-21 18:26                                                           ` Valery V. Inozemtsev
2007-03-21 18:49                                                             ` Gennadiy Redko
2007-03-21 19:13                                                               ` Valery V. Inozemtsev
2007-03-21 19:51                                                                 ` Gennadiy Redko
2007-03-21 19:59                                                                 ` Хихин Руслан
2007-03-21 20:09                                                                   ` Gennadiy Redko
2007-03-21 20:37                                                                   ` Gennadiy Redko
2007-03-21 21:09                                                                     ` Хихин Руслан
2007-03-21 22:17                                                                       ` Gennadiy Redko
2007-03-21 22:22                                                                         ` Gennadiy Redko
2007-03-22  1:44                                                                       ` Gennadiy Redko
2007-03-22  6:39                                                                   ` Valery V. Inozemtsev
2007-03-22 13:22                                                                     ` Gennadiy Redko
2007-03-22 23:52                                                                       ` Alexandr Isaev
2007-03-25 13:29                                                                   ` Michael A. Kangin
2007-03-25 14:32                                                                     ` Хихин Руслан
2007-03-25 14:42                                                                       ` Valery V. Inozemtsev
2007-03-25 15:04                                                                         ` Хихин Руслан
2007-03-25 15:34                                                                       ` Michael A. Kangin
2007-03-25 15:35                                                                       ` Michael A. Kangin
2007-03-25 16:20                                                                         ` Хихин Руслан
2007-03-26 18:42                                                                   ` Александр Гвоздев
2007-03-26 21:51                                                                     ` Alexandr Isaev
2007-03-26 23:01                                                                       ` Александр Гвоздев
2007-03-28  6:13                                                                     ` Gennadiy Redko
2007-03-28  7:52                                                                       ` Александр Гвоздев
2007-03-28  8:55                                                                         ` Gennadiy Redko
2007-03-29 15:22                                                                           ` Александр Гвоздев
2007-03-05 21:09                                             ` Александр Гвоздев
2007-03-05 21:29                                               ` Nick S. Grechukh
2007-03-05 22:07                                                 ` Александр Гвоздев
2007-03-06 21:33                                             ` Александр Гвоздев
2007-02-23 15:05                             ` Александр Гвоздев
2007-02-24  6:21                               ` Хихин Руслан
2007-02-24 14:05                                 ` Александр Гвоздев
2007-02-24 15:42                                   ` Хихин Руслан
2007-02-24 19:01                                     ` Александр Гвоздев
2007-03-10 12:09                                     ` Александр Гвоздев
2007-03-10 15:29                                       ` Хихин Руслан
2007-03-10 13:09                                         ` Александр Гвоздев
2007-02-18 11:21   ` Александр Гвоздев
2007-02-18 11:32     ` Sergey Vlasov
2007-03-14 17:56       ` Александр Гвоздев

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45DA824D.60608@mail.ru \
    --to=dimajin@mail.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git