Commit Graph

94 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
74aae8609f drop obsolete XAA support
Since recent commits require xserver-1.18.0 or later to build against,
there's no reason leaving behind big chunks of code that can only build
against the XAA support removed in xserver-1.13.0 (released in 2012).

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 17:36:12 +01:00
Enrico Weigelt, metux IT consult
217609ae2b bump minimal xorg version to 1.18
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-08 16:55:22 +01:00
b-aaz
bcdaee5bb8 configure: Automatically detect the default xorg-module-dir.
The module directory has changed to a per ABI folder in the xlibre-xserver.
Now the default value of `xorg-module-dir` will be detected from the `moduledir` variable in xorg-server.pc.

Signed-off-by: b-aaz <b-aazbsd.proton.me>
2025-07-29 18:46:45 +02:00
Alan Coopersmith
ea9736afb1 Quiet -Wredundant-decls from xorg/os.h fallbacks for new libc functions
The Xorg headers provide their own versions of strlcat, strlcpy, and
timingsafe_memcmp for platforms that don't have them in libc yet, but
rely on configure to set HAVE_* defines to determine if they should be
defined in the headers.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/22>
2024-05-14 17:51:43 -07:00
nia
8cf3065812 netbsd: Try getting the EDID via wscons if the DDC2 method fails.
Helps identifying displays on non-x86 hardware.

Patch from Michael Lorenz, autotools'ified by me.

Signed-off-by: Nia Alarie <nia@NetBSD.org>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/19>
2024-05-12 17:05:37 +00:00
Alan Coopersmith
0c96dc0001 xf86-video-nv 2.1.23
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-03-24 12:39:44 -07:00
Alan Coopersmith
85198960a8 configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
so it's time to rely on it.

Clears autoconf warnings:

configure.ac:45: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:45: You should run autoupdate.
aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from...
configure.ac:45: the top level

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08 14:01:21 -08:00
Yusuf Khan
bc1b6343f7 bump to version 2.1.22
Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
2022-07-27 19:50:52 +00:00
Alan Coopersmith
ec6c1e02f9 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22 13:59:51 -08:00
Alan Coopersmith
80b2d1f93a Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25 14:34:43 -08:00
Peter Hutterer
eac0278003 configure: Drop AM_MAINTAINER_MODE
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26 11:18:39 +10:00
Matt Turner
e4134c4ebd xf86-video-nv 2.1.21
Signed-off-by: Matt Turner <mattst88@gmail.com>
2017-01-17 14:42:07 -08:00
Dave Airlie
e82fddd3e9 nv: bump version to 2.1.20
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17 16:49:24 +10:00
Dave Airlie
86e83109d6 xf86-video-nv: bump to version 2.1.19
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17 16:47:03 +10:00
Dave Airlie
e5e3e733d9 nv: make XAA optional.
This allows nv to build without XAA.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-16 18:48:32 +10:00
Aaron Plattner
41de275248 nv 2.1.18
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-30 14:14:59 -07:00
Gaetan Nadon
fb82b1725f config: add comments for main statements 2010-07-22 15:03:50 -04:00
Gaetan Nadon
91d89916d4 config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 16:07:00 -04:00
Gaetan Nadon
c2efd50238 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 14:37:41 -04:00
Gaetan Nadon
7e6c5ff169 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 14:05:22 -04:00
Gaetan Nadon
ead1ae3412 config: complete AC_INIT m4 quoting
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 09:27:42 -04:00
Gaetan Nadon
976120265b config: remove unrequired AC_SUBST([XORG_CFLAGS])
This macro is called by PKG_CHECK_MODULES

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20 21:44:57 -04:00
Gaetan Nadon
91a354748c config: remove unrequired AC_HEADER_STDC
Autoconf says:
"This macro is obsolescent, as current systems have conforming
header files. New programs need not use this macro".

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20 20:24:42 -04:00
Gaetan Nadon
67b7e53a3a config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
AC_PROG_C_C99. This sets gcc with -std=gnu99.
If AC_PROG_CC macro is called afterwards, it resets CC to gcc.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20 19:41:31 -04:00
Gaetan Nadon
d35946f7f5 config: update AC_PREREQ statement to 2.60
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules is 2.60 dated June 2006.

ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20 18:45:19 -04:00
Gaetan Nadon
e81a04c16a config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
2010-07-20 17:42:26 -04:00
Gaetan Nadon
6d2431a37f The /compat code is no longer required.
This was used at one point in time to backport the modes code from server
1.3 to server 1.2. When the tarball was created, whatever modes code
was on the developer disk was included.

The server 1.2 as shipped in the tarball on the web does not contain the
modes code. It was added just after and found in git branch server-1.2-branch.

The modes code was initially included in version 2.0.95 and still compiles
with server 1.2. As of version 2.1.9 it no longer compiles.
Subsequent versions are not backward compatible and probably not meant to be.

The XRandR wiki points to articles saying that XRandR 1.2 first appeared in
server 1.3 and nv 2.0.95. Given that modes code in current server version
does not compile with server 1.2, and that the modes code is included in
version 1.3 and up, might as well stop including this modes code in the driver.

This patch makes the driver requiring server 1.3 or later.

This will solve the issue where "make dist" fails "out of the box"
and requires manual fix-up on the build machine which is documented
in the compat/README file.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-19 11:34:30 -07:00
Aaron Plattner
4e1efd5222 Depend on libpciaccess >= 0.10.7.
This is the first version to contain pci_device_has_kernel_driver.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-06-15 14:59:25 -07:00
Aaron Plattner
78ffecce36 Revert "Refuse to bind to a device which has kernel modesetting active."
It was superseded by 3e9f7704122e0685ce83f7d3d3630e8a07293671, which depends on
libpciaccess and not libdrm.  This is better, because the server already depends
on the former, while the latter is optional.

This reverts commit 17ab5dbea6.

Conflicts:

	src/nv_driver.c
2010-06-15 14:59:25 -07:00
Marcin Slusarz
17ab5dbea6 Refuse to bind to a device which has kernel modesetting active.
Touching directly the hardware while kernel modesetting is active
breaks console output.

Patch almost entrirely based on VESA patch by
Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
2010-04-16 12:53:05 -07:00
Aaron Plattner
71321d0dde nv 2.1.17
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-08 13:34:20 -08:00
Gaetan Nadon
893cee2aed configure.ac: remove unused sdkdir=$(pkg-config...) statement
The sdkdir variable isn't use, so remove the statement.

Acked-by: Dan Nicholson <dbn.lists@gmail.com>

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-30 15:13:00 -05:00
Aaron Plattner
2b69212ff8 nv 2.1.16 2009-12-15 15:49:00 -08:00
Gaetan Nadon
bbb016dfdc INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Add missing INSTALL file. Use standard GNU file on building tarball
README may have been updated
Remove AUTHORS file as it is empty and no content available yet.
Remove NEWS file as it is empty and no content available yet.
2009-11-10 18:41:34 -05:00
Gaetan Nadon
ee24fd1773 Several driver modules do not have a ChangeLog target in Makefile.am #23814
The git generated ChangeLog replaces the hand written one.
Update configure.ac to xorg-macros level 1.3.
Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros
Update Makefile.am to add ChangeLog target if missing
Remove ChangeLog from EXTRA_DIST or *CLEAN variables
This is a pre-req for the INSTALL_CMD
2009-11-10 18:41:34 -05:00
Peter Hutterer
0250f0d7eb nv 2.1.15
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-11 12:24:18 +10:00
Peter Hutterer
957b8c1a24 Update to xextproto 7.1 support.
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers
need to include dpmsconst.h if xextproto 7.1 is available.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-16 11:49:24 +10:00
Gaetan Nadon
e8d4dd85de xf86-video-nv: use XORG_CHANGELOG macro to create ChangeLog. #22611
Adding the macro in configure.ac and use it in Makefile.am
Refer to: https://bugs.freedesktop.org/show_bug.cgi?id=22611

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-11 20:37:59 +10:00
Aaron Plattner
c56b92149c Bump to 2.1.14 2009-07-02 12:03:13 -07:00
Adam Jackson
df87eaf191 nv 2.1.13 2009-04-07 13:40:36 -04:00
Chris Ball
74758ef3b1 Revert "Build fix: set EXA_DRIVER_KNOWN_MAJOR=3"
This reverts commit 492513bf04.
The EXA developers have backed out this ABI bump.

Signed-off-by: Chris Ball <cjb@laptop.org>
2009-02-27 10:55:11 -05:00
Chris Ball
492513bf04 Build fix: set EXA_DRIVER_KNOWN_MAJOR=3
EXA in server HEAD requires this now.  Since this driver doesn't
use {Prepare,Finish}Access or UploadToScratch, the change is safe.

Signed-off-by: Chris Ball <cjb@laptop.org>
2009-02-24 23:44:47 -05:00
Aaron Plattner
27e2a98531 Bump to 2.1.12. 2008-08-28 11:19:04 -07:00
Aaron Plattner
c3aa93fa47 Bump to 2.1.11. 2008-08-26 22:27:46 -07:00
Aaron Plattner
6cd80057fa Bump to 2.1.10. 2008-06-30 16:26:26 -07:00
Aaron Plattner
cca0a00c89 Bump to 2.1.9. 2008-05-09 18:45:46 -07:00
Aaron Plattner
4965498f23 Bump to 2.1.8. 2008-03-06 14:31:22 -08:00
Aaron Plattner
f8b24e5c72 Bump to 2.1.7. 2008-01-25 18:23:48 -08:00
Aaron Plattner
58dbd31953 Bump to 2.1.6. 2007-10-23 13:17:27 -07:00
Aaron Plattner
7a124edd1f Bump to 2.1.5. 2007-09-21 18:55:21 -07:00