Commit graph

53 commits

Author SHA1 Message Date
Alexey Dokuchaev
9d2be9a5f0 - Stop deleting `lib/modules/extensions/libglx.so' upon pkg_delete
- Update to version 1.0-8762, the latest from nVidia

Changes from version 1.0-8178 (previous in Ports Collection):

  - Added support for new GPUs, such as QuadroFX 4500 X2, Quadro FX 5500,
    Quadro FX 3500, and Quadro FX 1500
  - Added support for GeForce 7300, GeForce 7400 Go, GeForce 7600, and
    GeForce 7900 GPUs
  - Improved Quadro FX 3450/4000 SDI support
  - Added support for running OpenGL applications while the Composite X
    extension is enabled; see "The X Composite Extension" appendix for details
  - Enabled hardware acceleration of the Render X extension by default
  - Added new "nvidia-auto-select" mode entry for use in the X configuration
    file; see description in the "Programming Modes" appendix
  - Added support for GLX 1.4
  - Added "AddARGBGLXVisuals" X configuration option, so that OpenGL
    applications can render to X Windows' alpha channel
  - Added ability for OpenGL applications to span greater than 4096 pixels
    when in Xinerama
  - Fixed video memory reporting with GeForce 6200 Turbo Cache
  - Fixed a problem with Overlay support when in TwinView
  - Fixed several issues with mode selection for CRTs and DFPs
  - Fixed a corruption problem with Rotation and large desktops on older GPUs
    including GeForce4 MX
  - Fixed a system crash starting X with TwinView on certain GPUs
  - Addressed an NV-CONTROL compatibility issue; please see the Known Issues
    section of the README for details
  - Improved G-Sync support
  - Fixed interlaced modes on CRTs

PR:		ports/96385
Submitted by:	Sean Farley <sean-freebsd(at)farley.org>
2006-05-29 14:19:32 +00:00
Alexey Dokuchaev
ed6dd533f5 - Remove unneeded PKGMESSAGE override (SUB_FILEs does it automatically)
- Add a dependency to the native xorg-libraries when the LINUX option is
  enabled (it causes USE_XLIB to depend on Linux libraries instead of the
  native ones).  This should aid in updating process.

PR:		ports/96883
Submitted by:	alepulver
2006-05-29 13:39:09 +00:00
Alexey Dokuchaev
e020d422ee - Xorg 6.9 uses the .so extension instead of .a for the server extensions.
Fix the pkg-plist for that [1]
- Remove the USE_REINPLACE since it is no longer needed [1]

Please note that 4.X users will probably suffer from this as a side
effect, however, taking them into account will further complicate the
Makefile logic, which is already pretty hard to follow.  Since I warned
4.X users about removing support for that old release of FreeBSD (and
since I'd be really suprised to find out there's someone still using
4.X as their desktop) more than 8 months ago, plus we're not obliged to
support ports on 4.X anymore, I think we can live with it.

Once again, I'm encouraging people using this port use it with modern
FreeBSD version and modern graphics card.

PR:		ports/92862 [1]
Submitted by:	Sean Farley <sean-freebsd(at)farley.org> [1]
2006-03-20 16:08:46 +00:00
Alexey Dokuchaev
3abf3049db Good news, everyone! There's a crate to deliver^W^W^Wnew release from
nVidia, 1.0-8178.  This release highlights:

  - Improved stability with the Composite X extension
  - Fixed a corruption bug with RenderAccel and the Composite X
    extension when using wide desktops
  - Fixed a problem validating HDTV modes on GeForce 6200
  - Fixed detection of certain older TV encoders
2005-12-26 03:19:22 +00:00
Alexey Dokuchaev
ade78ba123 Deal with non-standard DOCSDIR in a sane manner. 2005-12-21 16:01:33 +00:00
Alexey Dokuchaev
5937b8a28a Update to version 1.0-8174, the latest from nVidia. Release highlights:
- Fixed GeForce 7800 GTX clocking problem that affected 3D performance
  - Added support for new GPUs such as the GeForce 6100 and GeForce 6150
  - Added support for Stereo Digital Flat Panels such as the SeeReal and
    Sharp3D DFPs
  - Added support for static Rotation; see the "Rotate" X config option in
    the README
2005-12-15 12:53:50 +00:00
Alexey Dokuchaev
ffa05628cf Use smarter regexps. 2005-12-14 10:39:55 +00:00
Alexey Dokuchaev
ac327e0777 Fix missing misc/compat5x dependency in WITH_LEGACY_GPU_SUPPORT case.
PR:		ports/90304
Submitted by:	Bjoern Koenig <bkoenig(at)cs.tu-berlin.de>
2005-12-14 10:32:18 +00:00
Alexey Dokuchaev
000931d3c9 Add SHA256 hashes to my ports. 2005-11-30 13:35:03 +00:00
Alexey Dokuchaev
34beeaea38 Do not install nvidia-settings, there's native version available in
`x11/nvidia-settings' port.

Based on PR:	ports/84969
Submitted by:	jylefort
2005-11-09 16:26:51 +00:00
Alexey Dokuchaev
0982920874 Once again. nVidia's libGL depends on libm.so.3 which is not available
since ${OSVERSION} >= 600033.  Get one via `misc/compat5x' port.

Reported by:	several
2005-09-12 13:44:28 +00:00
Alexey Dokuchaev
a2af49333c Update to version 1.0-7676, the latest from nVidia, which fixes GeForce 7800
GTX clocking problem that affected 3D performance.

I've decided not to rename patches to ease on CVS repo's life.  This is
bug-fix release, and I hope nVidia will incorporate our patches into next
"major" release.
2005-08-31 13:34:41 +00:00
Alexey Dokuchaev
a49971069e Unbreak on recent -CURRENT/6.X.
Based on PR:	ports/84481
Submitted by:	Andrej Zverev <az(at)inec.ru>
Approved by:	portmgr (marcus)
2005-08-02 17:37:55 +00:00
Alexey Dokuchaev
99a8c0e087 Introduce WITH_LEGACY_GPU_SUPPORT option, which sticks us to previous
version of NVidia driver release for the sake of supporting some "legacy"
GPUs.  Note that this options is unsupported, and presumably would only be
needed for a few unlucky souls out there.

PR:		ports/82758
2005-06-30 04:18:22 +00:00
Alexey Dokuchaev
2571ce9ac7 - Update to 1.0.7667 [1]
- Fixed assignment of PORTREVISION.  It needs to be set before including
  bsd.port.pre.mk [1]
- Disabled exit upon failure to kldunload and kldload of NVidia driver
  for 7667 driver.  This would break an upgrade of an earlier install [1]
- Fix PREFIX expansion in pkg-message

PR:		ports/82554 [1]
Submitted by:	Sean Farley <sean-freebsd(at)farley.org>
2005-06-28 06:28:45 +00:00
Alexander Leidinger
23b3bc4b0d Mega-patch to cleanup the ports infrastructure regarding our linux bits:
- USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
    tools to strip binaries anymore, so it's not neccesary anymore to override
    STRIP and STRIP_CMD.
  - USE_LINUX_PREFIX implies NO_MTREE now.
  - In the USE_LINUX case, USE_XLIB now depends upon the linux X11 libraries
    instead upon the native FreeBSD libraries.
  - The variable LINUX_BASE_PORT contains a string which is suitable as an
    item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
    default (or overriden) linux base, ${LINUX_BASE_PORT} should be used
    instead of a hardcoded reference.
  - Change all ports to comply to the "new world order".
  - The Ports Collection now allows to override the default linux_base port.
    Specify e.g. OVERRIDE_LINUX_BASE_PORT=rh-9 in /etc/make.conf to use
    ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use
    ${PORTSDIR}/emulators/linux_base-${OVERRIDE_LINUX_BASE_PORT}).
  - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
    port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
    be marked as IGNORE. [1]
  - Readd USE_LINUX knobs into several ports and make several uses of a
    conditional dependency ("USE_LINUX?=") into an unconditional one
    ("USE_LINUX=") which where removed/changed by Trevor to allow the use of
    alternative linux_base ports. While this is a nice goal, the implementation
    resulted in missing dependencies. The OVERRIDE_LINUX_BASE_PORT knob
    in this commit is supposed to fix the problem while keeping the feature.
    Basicaly this includes a backout of Trevor's commit, to prevent confusion
    I mention it here explicitely.
  - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for some ports.
    Chase dependencies for this.
  - Changes to make linux_devtools installable on amd64, remove some stray
    device nodes (they don't work on recent OS versions and aren't really
    needed).
  - Make linux_base-8 PREFIX clean and remove some stray device nodes.
    Additionally tell a little bit more about how to setup NIS/YP [2].
  - Update the PGSQL dependency in the linux-opengroupware port to a recent
    version (the old one isn't available anymore), I don't know if this
    works (at least it isn't more broken than before).
  - Use PREFIX/usr/share/doc instead of PREFIX/usr/doc in the divx4linux
    ports, the former path exists already and gets populated by other
    packages too (PREFIX=LINUXPREFIX!).
  - Fix some obvious (non-linuxolator) bugs in some linux ports while being
    there.
  - Bump PORTREVISION where neccesary.

Requested by:	portmgr (linimon) [1]
Submittted by:	Gerrit Kuehn <gerrit_huehn@gruft.fido.de [2]
Approved by:	portmgr (kris, linimon), maintainers (or maintainer timeout)
Tested on:	ports cluster (kris)
Reviewed by:	silence on emulation@
Superseedes PR:	69997

Maintainer approval from:
	chris@chrisburkert.de
	cracauer@cons.org
	des
	girgen
	jamie@bishopston.net
	mezz
	mi
	nivit@users.sf.net
        pat
	simond@irrelevant.org
	riggs@rrr.de
	Udo.Schweigert@Siemens.com
2005-06-17 22:59:29 +00:00
Alexey Dokuchaev
b9159074e4 Stop patching nvidia_subr.c when building version 7174 of driver, correct
locking is already there.  Bump PORTREVISION.

This should fix recursive panics reported on 5.4-STABLE.

Reported by:	green
Submitted by:	sam
Reviewed by:	alc, dfr
2005-06-15 09:17:40 +00:00
Alexey Dokuchaev
67d180c2f4 Fix pkg-plist.
Based on PR:	ports/81041
Submitted by:	Sean Farley <sean-freebsd(at)farley.org>
2005-05-24 15:57:37 +00:00
Alexey Dokuchaev
447983b59c - Convert to OPTIONS
- Fix 6113-case of extra patching
2005-05-24 15:42:43 +00:00
Alexey Dokuchaev
5ff603dbf2 Long anticipated update to version 1.0-7174, the latest from nVidia.
Release Highlights:

    * Supports FreeBSD 5-STABLE (5.3-RELEASE or later).  For FreeBSD 4.x
      and 5.2.1 users we stick to previous version (6113), since 7174 does
      not play nicely with legacy FreeBSD releases
    * Added support for the latest NVIDIA GPUs, including the GeForce 6600
      and 6200 with TurboCache(TM)
    * Added support for the KSE threading libraries

Prodded by:	many
Tested by:	several
Tested on:	FreeBSD 4.11 and 5.3
2005-05-11 08:52:37 +00:00
Trevor Johnson
e66743b7d5 Respect the user's USE_LINUX setting. 2005-03-01 21:51:48 +00:00
Alexey Dokuchaev
733a52902b It turns out there's a call to vm_page_wakeup() that does not hold the
object lock across the call.  It shows up with INVARIANTS turned on.

PR:		ports/77750
Submitted by:	Frank Mayhar <frank(at)exit.com>
2005-02-24 05:28:21 +00:00
Alexey Dokuchaev
af02a82fb5 IGNORE string should not be quoted.
Part of PR:	ports/76095
2005-01-11 14:28:49 +00:00
Alexander Leidinger
64cf27c85d Say hello to the linux mega patch, it consolidates our linux bits a
little bit and allows to proceed to a more recent linux_base from
a stable (read as: the major bugs should be ironed out or identified
and most linux ports build just fine) source.

It also allows to ship 4.11 with a working linuxolator (the EOLed
linux_base is marked forbidden because of a security hole).

This is a major update, please read UPDATING (and CHANGES if you
develop linux ports).

Changes:
 - change the default linux_base from v7 to v8
 - add a newer freetype to linux_base-8 for nicer fonts display [1]
 - don't let cpio use hardlinks in the linux_base-8 port to quiet some
   warnings in some cases [2]
 - fix a cut&past error in the linux_base-8 pkg-install script [3]
 - convert the binary knob "USE_LINUX" to a version specifier, e.g.
   USE_LINUX=<value> specifies a dependency upon
   emulators/linux_base-<value>, exceptions are a value of "7" (which
   does what you want and adds a dependency to linux_base) and any
   value without a corresponding port in
   PORTSDIR/emulators/linux_base-<value> (which adds a dependency to
   the default linux_base)
 - don't implicitly add USE_LINUX with the USE_LINUX_PREFIX knob,
   this allows us to use the USE_LINUX_PREFIX knob for linux_base and
   paves the way for splitting up future linux base ports into
   individual pieces
 - remove RESTRICTED from some GPL licensed ports, even when we only
   distribute binaries, we get them from official linux sites, so
   anyone can grab them there if he needs to
 - add a dependency upon the linux X11 bits where necessary (based upon
   guesswork)
 - don't use USE_X_PREFIX in some linux ports since it adds a dependency
   to the FreeBSD X11 libs, as a workaround use PREFIX?= (the clean
   solution would be to remove the implicit USE_XLIB from USE_X_PREFIX)
 - bump the portrevision of the linux ports ("better safe than sorry"
   algorithm)
 - pass maintainership of the important linux infrastructure to a
   mailinglist, hijack freebsd-emulation@ for this purpose (if somebody
   doesn't like this: tell us your bikeshed color at freebsd-emulation@,
   my color would be "linuxolator@" in case someone cares...)
 - add a pkg-install script for linux-fontconfig, but don't use it;
   everything should work without it (the FreeBSD fc-cache program should
   do all the work), but in case we need it we just need to decomment the
   pkg-install part in the Makefile
 - fix some dependencies
 - fix some bugs
 - add some static plists
 - unbreak the ports with dependecies to more than one linux_base

This also fixes some ports which are marked BROKEN because of dependencies
to v7 and v8 of linux_base at the same time.

Known bugs:
 - the linux-mesa and linux-devtools ports install libGL*.so symlinks
 - some "minor" plist bugs (e.g. ld.so.{conf,cache} are modified by
   the linux X11 port, so linx_Base-8 moans at deinstall time)

Future work (interested souls should coordinate with freebsd-emulation@):
 - add some kind of USE_LINUX_X11 knob to streamline the X11 dependencies,
   or modify the behavior of USE_XLIB in the USE_LINUX case
   AFAIK trevor has some patches.
 - make USE_XLIB and USE_X_PREFIX orthogonal to be able to get rid of
   the PREFIX?= workaround in some linux ports
   Should be discussed/coordinated on/with x11@.
 - move the RPM bits from x11-toolkits/linux-gtk/Makefile to PORTSDIR/Mk/
 - update to a more recent linux base

PR:			69997, 70539 (and maybe others)
Discussed with/on:	java@, x11@, trevor, portmgr
Tested by:		mezz, portmgr, pointyhat
RPM hunted down by:	Joseph Gelinas <scirocco@tasam.com> [1]
Requested by:		portmgr [2]
Submitted by:		kris [3]
Approved by:		portmgr
2004-12-31 18:24:10 +00:00
Alexey Dokuchaev
71990e22f8 nVidia's libGL depends on libm.so.2 which is not available since 5.3-BETA7.
Get one via `misc/compat4x' port.

PR:		ports/74130
Submitted by:	Marius Nuennerich <marius.nuennerich(at)gmx.de>
2004-12-27 02:53:25 +00:00
Alexey Dokuchaev
11e3f6da5a Mark as for i386 only.
Suggested by:	remko
2004-12-27 02:27:28 +00:00
Alexey Dokuchaev
03068b7dd1 Despite the fact nVidia claims 4.9 or later is required, allow people with
older releases (and thus older make(1)) to use this port.

Quoting linimon, I sure will be glad when everyone has that newer make(1).

PR:		ports/72137
Submitted by:	Michel Lavondes <fox(at)vader.aacc.cc.md.us>
Approved by:	fjoe (mentor, implicit)
2004-11-09 09:42:42 +00:00
Alexey Dokuchaev
52da72ebd5 Install link libXvMCNVIDIA_dynamic.so.1 -> libXvMCNVIDIA.so.1. Some apps
seem to need this.  Bump PORTREVISION.

PR:		ports/72877
Submitted by:	ahze
Approved by:	fjoe (mentor, implicit)
2004-11-09 09:37:32 +00:00
Alexey Dokuchaev
eb7041b464 Add forgotten patch from the PR (ports/70564).
Approved by:	fjoe (mentor)
2004-08-27 09:24:05 +00:00
Alexey Dokuchaev
48249e3fe0 Update my email address to `@FreeBSD.org'.
Relinquish ports I happen to no longer use.  They seem to be of the latest
versions, and non-broken, so this is a "clean" dump.

Approved by:	fjoe (mentor)
2004-08-27 08:46:33 +00:00
Sergey A. Osokin
9becd45701 Update nVidia binary drivers to most recent released version, 6113.
Features:
 * Support for the latest NVIDIA GPUs including GeForce 6800 Series
 * Improved interaction with -CURRENT's new threading libraries.

It also brings some more general fixes to the port:
 * Utilizes PORTDOCS
 * New knobs added
 * pkg-plist fixed

Special note for -CURRENT users: nVidia driver now depends
on mem.ko kernel module.

Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru> (maintainer)
PR:		70561
2004-08-17 11:54:09 +00:00
Pav Lucistnik
c28c472aa3 - Detect and use xorg
PR:		ports/70193
Submitted by:	Sergey N. Voronkov <serg@tmn.ru>
Approved by:	maintainer
2004-08-10 07:51:48 +00:00
Max Khon
52c3a75e7f Fix build on FreeBSD > 502115.
PR:		68162
Submitted by:	MAINTAINER
2004-06-21 14:01:52 +00:00
Kris Kennaway
a27ee4c587 BROKEN on 5.x: Does not compile 2004-06-20 08:58:35 +00:00
Pav Lucistnik
a49d5fc71c - Fix d_flags on recent -CURRENT
PR:		ports/63554
Submitted by:	matk
Approved by:	maintainer
2004-03-02 09:33:10 +00:00
Kirill Ponomarev
c750694c8d - SIZEify
PR:		ports/63548
Submitted by:	maintainer
2004-02-29 20:50:30 +00:00
Kirill Ponomarev
509d4221d5 - Add patches to fix nvidia drivers after 502103
__FreeBSD_version

PR:		ports/63326
Submitted by:	maintainer
2004-02-25 13:05:12 +00:00
Pav Lucistnik
b1d96356f5 - Install kernel module to proper location on -STABLE
PR:		ports/62210
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru> (maintainer)
2004-02-01 12:35:57 +00:00
Kirill Ponomarev
55854aa76d - handles the rename of PCIR_HEADERTYPE -> PCIR_HDRTYPE #define
- nvidia.ko is now installed under /boot/modules rather
  than /boot/kernel on 5.x

PR:		ports/61867
Submitted by:	maintainer
2004-01-25 13:52:46 +00:00
David E. O'Brien
9dbcd2cc53 Don't falsely tell the kernel that this driver supports the nForce onboard
Ethernet's PCI Device ID's.

Obtained from:	http://www.onthenet.com.au/~q/nvnet/nvidia-agp.diff
2003-12-08 00:50:59 +00:00
David E. O'Brien
619df5a9a0 Don't falsely tell the kernel that this driver supports the nForce onboard
Ethernet's PCI Device ID's.

Obtained from:	http://www.onthenet.com.au/~q/nvnet/nvidia-agp.diff
2003-12-07 05:16:20 +00:00
Sergey A. Osokin
3cacb971f9 Fix installation (in special cases)
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru> (maintainer)
PR:		55796
2003-08-20 10:42:11 +00:00
Daichi GOTO
9fa582d23d update x11/nvidia-driver: some tweaks
- eliminates hardcoded version numbers
  - adds INSTALLS_SHLIB per `portlint(1) -A';
  - ensures the port upgradeble

PR:		55410
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru> (mainatiner)
2003-08-18 05:40:52 +00:00
Sergey A. Osokin
241f33e7b8 Update to 1.0.4365
Give maintainership to submitter.

Submitted by:	Alexey Dokuchaev <danfe@nsu.ru>
Approved by:	fjoe (mentor) (implicit)
2003-07-04 14:35:20 +00:00
Jimmy Olgeni
72f2a5955a Fix plist for -CURRENT: kernel module lives in /boot/kernel/ and
MAKEDEV.nvidia is not installed in /dev/.
2003-06-07 18:53:22 +00:00
Erwin Lansing
be6cdc5a86 Change "USE_FREEBSD_AGP" to "WITH_FREEBSD_AGP"
in the pkg-message

PR:		52942
Submitted by:	Serge Gagnon <gagnon__s@videotron.ca>
Approved by:	edwin (mentor)
2003-06-04 17:15:04 +00:00
Maxime Henrion
57a8c90d83 - Update to the latest version of my patch to fix malloc() flags
for -CURRENT.  This fixes the printing of annoying backtraces.
- Don't try to run mknod on -CURRENT where we have devfs.
- Bump PORTREVISION.
2003-03-24 13:49:54 +00:00
Maxime Henrion
db303857e8 Add patches so that the nVidia driver works with -CURRENT. Be
aware that nVidia doesn't officially supports -CURRENT though.
Older versions of -CURRENT (ie. __FreeBSD_version < 500105) are
not supported.  5.0-RELEASE is thus unsupported as well.

Requested by:	many
2003-03-06 01:12:23 +00:00
Akinori MUSHA
cb07270bfe De-pkg-comment. 2003-02-20 19:21:36 +00:00
Kris Kennaway
1576539fd5 For some reason ${PKG_INFO} doesn't work here, so hard-code
/usr/sbin/pkg_info just to get it working again.  Add a note that they
should be fixed to use the bsd.port.mk variables.
2003-01-25 00:46:18 +00:00