Commit graph

79 commits

Author SHA1 Message Date
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
Alexey Dokuchaev
976e3176b0 - Update to most recent version from nVidia, 9631
- As threatened, drop support for FreeBSD 4.X
- Apply minor fix for master sites [*]
- Add last padding line for pkg-message for prettier output

Tested on:	FreeBSD 6.2-PRERELEASE (i386)

[*] alepulver@ will take care of master sites in separate commit
2006-12-06 21:46:44 +00:00
Alexey Dokuchaev
ad55271af0 Update to most recent versions available from nVidia (8776, 7184 for legacy
GPUs) and thus unforbid.

Approved by:	portmgr (erwin)
2006-10-23 15:44:33 +00:00
Simon L. B. Nielsen
334584d543 Mark FORBIDDEN due to arbitrary root code execution vulnerability.
Security:	http://vuxml.FreeBSD.org/a6d9da4a-5d5e-11db-8faf-000c6ec775d9.html
With hat:	secteam
Approved by:	portmgr (secteam blanket)
2006-10-16 22:02:05 +00:00
Alexey Dokuchaev
c8ebf26932 Update to version 8774, the latest from nVidia. 2006-09-05 10:38:22 +00:00
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
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