Commit graph

100 commits

Author SHA1 Message Date
Alexey Dokuchaev
4dbad60965 Convert patch which does not apply in every case now to inplace editing, and
thus unbreak legacy drivers build.  Do some minor cleanups while here.
2010-10-09 08:20:49 +00:00
Max Brazhnikov
1570b91ba5 - Don't install vdpau library and headers, they are now provided by
multimedia/libvdpau. [1]
- Explicitly set PORTREVISION to zero for slaves ports (legacy drivers),
  they are not affected by the changes.

PR:		ports/150369 [1]
Submitted by:	Anonymous <swell.k at gmail.com>
Reviewed by:	danfe (maintainer)
2010-09-24 19:11:01 +00:00
Alexey Dokuchaev
7f365b7d07 Restore correct MASTER_SITE_SUBDIR for legacy driver versions that was
mistakenly dropped in rev. 1.97 and add a comment explaining why do we
set it not in PORTNAME section, but later (when NVVERSION is defined).

PR:	ports/146566
2010-05-24 03:01:56 +00:00
Alexey Dokuchaev
92d58bfe50 - Update nVidia BETA drivers to version 195.36.15
- Add missing symlink `libglx.so' to pkg-plist to unbreak installation
  from binary package (accidentally dropped in rev. 1.23)
- Provide symlinks for VDPAU headers in /usr/local/include/vdpau [1]

Discussed with:	decke, czander@nVidia [1]
2010-04-10 13:40:07 +00:00
Alexey Dokuchaev
53d4b141a7 Add OSVERSION check in order to apply d_mmap() fix only when required.
Feature safe:	yes
2010-02-19 17:38:17 +00:00
Alexey Dokuchaev
d0d11ca5b3 - Update legacy drivers to their most recent versions
- Patch for updated d_mmap() in recent -CURRENT where applicable
- Adjust FreeBSD version requirement (legacy drivers work on older releases,
  contrary to 195.22 beta)

Feature safe:	yes
2010-02-16 15:30:21 +00:00
Alexey Dokuchaev
69e7885f35 Update to version 195.22. These are BETA drivers, and normally update would
not occur, but now it is special: it features long-awaited x86-64 (amd64)
support.  In order to use this driver release, your system will need to have
either FreeBSD 7-STABLE after 702106 or FreeBSD 8.0 and above.

Both the FreeBSD/x86 and FreeBSD/x86-64 driver packages include 32-bit Linux
ABI compatibility libraries; 64-bit Linux libraries may be included with a
future release (when support for Linux/x86-64 compatibility is added to
FreeBSD/amd64).  The FreeBSD/x86-64 package does not include the FreeBSD/x86
OpenGL libraries; however, the libraries shipped with the FreeBSD/x86 driver
package have been tested on FreeBSD/x86-64.

Port was updated to serve both versions seamlessly.  No need to specify
anything to distinguish between architectures.

I would like to thank everyone involved to make this happen.

Reviewed on:	-ports@
2009-12-15 00:08:09 +00:00
Alexey Dokuchaev
7f02e3caac - Update to the latest release from NVidia, 185.18.36 [1]
- Register CONFLICTS with number of Linux DRI ports [2]
- Improve grammar in comment while here

PRs:		ports/138598 [1], ports/135322 [2]
Reviewed by:	bsam [2]
Feature safe:	yes
2009-09-29 13:25:25 +00:00
Alexey Dokuchaev
603ca9adcf - Use accurate NVVERSION for checking libcuda compat library presence
- Now that no version of drivers installs nvidia_drv.o, remove the check
  and clean up pkg-plist
2009-08-04 08:27:43 +00:00
Alexey Dokuchaev
2de2f64d2c Update NVidia drivers to most recent versions. 2009-08-03 17:36:41 +00:00
Alexey Dokuchaev
e2aafd0942 Update to version 180.60, the latest to date. 2009-06-06 11:00:29 +00:00
Alexey Dokuchaev
ecf150c5ab - Update to catch up with latest releases from NVidia
- Drop `agpvar.h' location fix as it was integrated upstream
- Add missing libvdpau entries and cleanup pkg-plist
2009-04-13 12:27:21 +00:00
Alexey Dokuchaev
2cef6a25cb - Correct OSVERSION value in minor() -> dev2unit() fix
- Remove offending piece of code (already commented out)
- Update some comments
- Remove old X11 libraries hack for USE_LINUX, seems to be of no use
  there days
2009-04-13 08:24:25 +00:00
Martin Wilke
6d24077e4c - Update to 180.29
- Fix build on HEAD

Approved by:	maintainer timeout on ports/130336
2009-02-19 15:52:27 +00:00
Wesley Shields
c0a7a1f972 - Remove conditional checks for FreeBSD 5.x and older
Approved by:	pav
2009-01-05 19:42:29 +00:00
Alexey Dokuchaev
9ff25955e2 - Update to version 177.80, the latest from NVidia
- As this update renders even more GPUs obsolete (please consult README file
  to find out if your card needs legacy driver), x11/nvidia-driver-173 slave
  port will be committed shortly
2008-10-27 19:54:17 +00:00
Alexey Dokuchaev
9cb337fac8 - Drop nowadays useless and unsupported OPTION
- Give a hint in Makefile header about this port being master
2008-10-21 21:35:04 +00:00
Alexey Dokuchaev
6eb569c191 Non-functional changes:
- Sort distinfo entries so that latest release is on top
- Touch some comments
2008-10-21 16:31:44 +00:00
Alexey Dokuchaev
527b1a4e9d - Stop checking for XFree86-4-Server and xorg-server-snap, they're gone
- Rename XLIBVERSION to LIBGLVERSION here and there
- Remove now superfluous insertion of <sys/priv.h>
- Minor comment nit in pkg-plist
2008-10-21 01:57:21 +00:00
Alexey Dokuchaev
aa047073b2 Unbreak on recent -CURRENT after suser() -> priv_check() API changes. 2008-10-20 12:47:09 +00:00
Alexey Dokuchaev
4cc0f858af - Update stable version to 173.14.12, and legacy versions to 71.86.06 and
96.43.07
- Minor Makefile retouch

Reminded by:	miwi
2008-08-06 19:09:29 +00:00
Alexey Dokuchaev
0b085967bf Update to 173.14.09 release.
Submitted by:	ale
2008-06-18 19:46:18 +00:00
Alexey Dokuchaev
a558e0734b - Fix the build on recent 6-STABLE [1]
- Fix the build with FreeBSD AGP [2]

PR:	ports/124407 [1], ports/124497 [2]
Also submitted by:	ale [1]
2008-06-12 10:18:21 +00:00
Alexey Dokuchaev
2f239b9f1f - Update to version 173.14.05, the latest from NVidia
- Remove NVVERSION hacks and corresponding comments
- Fix X11BASE reference in a comment
2008-06-06 20:32:28 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Alexey Dokuchaev
797c5cda92 GC remnants of XFree86 support. 2008-03-20 14:59:15 +00:00
Florent Thoumie
836aebde5b Remove support for XFree8-4.
From now on, X_WINDOW_SYSTEM != "xorg" is not supported anymore.

PR:		ports/119418
Submitted by:	flz
Approved by:	portmgr (pav)
2008-03-07 21:47:50 +00:00
Alexey Dokuchaev
752a122b14 Rename no longer special patch, stop abusing EXTRA_PATCHES. 2008-03-03 13:49:01 +00:00
Alexey Dokuchaev
4495902fe8 Catch up with latest updates from NVidia:
- Update mainstream driver to version 169.12
- Update legacy drivers to versions 71.86.04 and 96.43.05
2008-03-03 13:45:32 +00:00
Alexey Dokuchaev
85cdd5c943 - Fix the build with OS-native (FreeBSD) AGP support
- Correct textual typo in comments while here
2008-03-02 15:03:05 +00:00
Alexey Dokuchaev
acce147415 - Update the driver to version 169.07. Since they've changed version scheme
once again, as a temporary measure, NVVERSION is easier to define in slave
  and master ports independently than further obfuscate the Makefile
- Display pkg-message consistenly between port vs. package installation
- Minor nit: spell `NVidia' consistently in Makefile

Closes PR:	ports/119090
Submitted by:	Brad Allen
2008-02-19 14:32:04 +00:00
Alexey Dokuchaev
c4e35c08eb Correct previous fix: required prototypes were removed from <sys/systm.h>
not that long ago.  Check for suitable OSVERSION so the port is buildable
on 6.x/5.x again.

Approved by:	portmgr (pav)
Pointy hat to:	danfe
2007-12-03 10:10:42 +00:00
Alexey Dokuchaev
99e04bc803 - Fix `agpvar.h' location on recent -CURRENT
- Building with -Werror requires prototype for suser()

Based on PR:	ports/118063
Submitted by:	Yuri Pankov
Approved by:	portmgr (linimon)
2007-11-24 21:55:46 +00:00
Alexey Dokuchaev
b4d369724e - Chase another nVidia update (100.x -> 1419, legacy versions -> 7186/9643)
- Convert NVVERSION to brave new order (makes them ugly, I know)
- Fix the emulation of semaphores implemented in `nvidia_os.c'.  The problem
  with nVidia's code was that it tries to use a spin mutex with a condition
  variable, which is explicitely disallowed [1]
- Remove X.org-related path hacks since nVidia handles it correctly now
- Fix symlinks when installing from package (plist change)
- Stop saying FILESDIR when PATCHDIR was meant
- Simplify some Makefile logic: remove always-true check

Submitted by:	mux, Craig Boston (independently) [1]
2007-10-30 08:16:58 +00:00
Mark Linimon
136ae8d835 Attempt to silence warnings that show up with 'make ignorelist'.
Hat:		portmgr
2007-09-17 05:22:23 +00:00
Alexey Dokuchaev
814368e7d3 Fix an edge case of "make describe".
Reported by:	portsnap buildbox
2007-08-20 14:59:46 +00:00
Alexey Dokuchaev
a59adb76f9 Long-awaited NVidia driver update:
- Update the driver to the latest version, 100.14.11
- Update legacy driver versions to 1.0-7185 and 1.0-9639
- Prevent the port from messing with system configuration files (e.g.
  /boot/loader.conf) and doing automatic module loading/unloading.  This
  functionality would be lost in package anyway, and might cause undesired
  side effects [*]
- Register proper @exec/@unexec for ldconfig(8) calls for Linux libraries
- Kill NVidia's afterinstall banner, our pkg-message tells the same but is
  more detailed and accurate
- Require X server being installed
- INSTALLS_SHLIB -> USE_LDCONFIG, seems to be OK nowadays
- Respect NOPORTDOCS user setting
- Throw in couple of comments + other minor tweaks

100.14.11 Release Hightlights:

- GeForce 7050 PV/NVidia nForce 630a
- GeForce 7025/NVidia nForce 630a
- Fixed console restore problems in several different configurations, e.g.
  VESA console, notebook LCD displays
- Improved interaction with ATi RS480/482 based mainboards
- Improved support for House Sync with G-Sync II
- Improved NVidia X driver interaction with ACPI daemon

Requested by:	several [*]
2007-08-20 12:56:07 +00:00
Alexey Dokuchaev
75a7683de8 More cleanups:
- Simplify SHLIB_VERSION handling, it's not that bad after all
- Better and cleaner PORTDOCS handling, less hacks in Makefile
- Fix non-root installation (use pre-su-install)
- Miscellaneous Makefile nits
2007-07-24 09:10:57 +00:00
Alexey Dokuchaev
bd0b7743ac - Make plist substitution knobs named coherently with X system used,
previously they were somewhat misleading (logic remains the same) [1]
- Take xorg-server-snap into account, previously having it installed
  would break pkg-list logic (libglx.so wasn't backed up/restored
  properly) [2]
- Utilize DOCSDIR macro in pkg-message.in
- Drop currently noop USE_X_PREFIX

Discussed with:	flz [1]
Suggested by:	flz [2]
2007-07-23 15:46:06 +00:00
Alexey Dokuchaev
5bbb51a00f In sight of upcoming update, overhaul things slightly:
- NVVERSION is no longer user settable.  nVidia changed their versioning
  scheme, which made my life a bit harder.  Since this is master port and
  cares about legacy version slaves as well, derive NVVERSION from DIST-
  VERSION as doing so required less intrusive changes.  Update the comment
  accordingly.  UPDATING note will be committed separately
- Retire OSVERSION hack since it's no longer needed.  PORTREVISION are now
  set in all three nvidia-driver ports independently.  Previously it was
  not really safe because NVVERSION was user settable variable
- Introduce new variable, SHLIB_VERSION, and use it in PLIST_SUB, because
  it's not always equal to NVVERSION these days
- Mute MKDIR along the way

For slave ports:

- Rename port directory names to reflect future reality: their versions
  going to bump as well.  No repo copy since there's no history to preserve
2007-07-23 13:24:27 +00:00
Mark Linimon
8c91d898a6 Populate the 'kld' virtual category, for ports that install Kernel Loadable
modules.

Hat:		portmgr
2007-06-29 09:16:42 +00:00
Florent Thoumie
9e98d77440 Indent fix.
Approved by:	portmgr (implicit)
2007-05-20 14:03:16 +00:00
Florent Thoumie
99f8b985a0 Fix legacy nvidia-drivers.
Submitted by:	Stefan Ehmann <shoesoft@gmx.net>
Approved by:	portmgr (pav), maintainer (implicit)
2007-05-20 14:01:22 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Alexey Dokuchaev
88c8b624ed Fix the build on recent -CURRENT.
Reported by:	piso
2007-02-26 11:29:34 +00:00
Alexey Dokuchaev
4017e1e7eb - Add a patch by Christian Zander from nVidia that fixes crashes reported by
users on recent 6.X and -CURRENT systems.  This applies to both versions,
  9631 and 9746
- Optimize REINPLACE_CMD invocation while here
2007-02-08 17:49:13 +00:00
Alexey Dokuchaev
feb679cb9e Quickly fix package list for earlier versions while no one notices. 2007-02-08 15:11:12 +00:00
Alexey Dokuchaev
8949d849fc - Utilize MASTER_SITE_NVIDIA macro
- Drop support for WITH_LEGACY_GPU_SUPPORT knob, instead allow to specify
  needed NVVERSION (move towards being master port) [*]
- Update related comment

Prodded by:	many [*]
2007-02-08 14:54:43 +00:00
Alexey Dokuchaev
64a1a2c484 - Update to version 9746, the latest from nVidia, which adds support for
GeForce 8800 GTS and GeForce 8800 GTX boards [1]
- More proper WITHOUT_LINUX knob handling [1] [2]
- Update an old patch to be more consistent with current way of doing
  Linux-compat things (should be no-op change though)

PR:		ports/107307 [1]
Submitted by:	Eygene Ryabinkin [1]
Reported by:	Rostislav Krasny [2]
2007-01-07 18:47:16 +00:00
Alexey Dokuchaev
b28bc3788a Fix PLIST (remove superfluous file). 2006-12-17 10:22:28 +00:00