Commit Graph

111 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
c70353ddf4 drop remains of old compat code
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/merge_requests/9>
xlibre-xf86-video-voodoo-1.2.6.1
2024-05-28 10:43:35 +02:00
Enrico Weigelt, metux IT consult
4f34e3c1b1 drop dead code
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/merge_requests/9>
2024-05-27 16:34:35 +02:00
Alan Coopersmith
38537b4dff Remove XAA support
Mostly done via unifdef -UHAVE_XAA_H, followed by minor manual editing

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: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/merge_requests/8>
2024-05-22 19:02:40 -07:00
Alan Coopersmith
014923aa85 Drop ifdefs for ABI_VIDEODRV_VERSION < 6
ABI_VIDEODRV_VERSION 6 shipped in Xserver 1.7, less than our new minimum

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/merge_requests/8>
2024-05-22 18:51:44 -07:00
Enrico Weigelt, metux IT consult
deeaf931fe drop compat with ancient xserver versions
We're relying on at least 1.18 now.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/merge_requests/7>
2024-05-14 16:31:01 +02:00
Enrico Weigelt, metux IT consult
12b735fe2c 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>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/merge_requests/7>
2024-05-14 16:30:38 +02:00
Enrico Weigelt, metux IT consult
2da59302a2 use XNFcallocarray() instead of xnfcalloc macro
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/merge_requests/6>
2024-05-08 17:27:13 +02:00
Enrico Weigelt, metux IT consult
7f0ef65c8b use XNFalloc() instead of xnfalloc
xnfalloc is just an alias for XNFalloc() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/merge_requests/6>
2024-05-08 13:20:10 +02:00
Alan Coopersmith
3065954a83 voodoo_find_dac doesn't check device_ids (#2)
Closes: #2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-16 16:38:58 -08:00
Alan Coopersmith
a2b65b4bca Fix 4 -Wunused-variable warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-16 16:30:18 -08:00
Alan Coopersmith
ead68c88de Fix 3 -Wunused-but-set-variable warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-16 16:27:27 -08:00
Alan Coopersmith
cfe1fcb4ee 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>
2024-01-16 16:20:57 -08:00
Alan Coopersmith
2495db60d9 Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-16 16:20:11 -08:00
Alan Coopersmith
f1434139a3 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:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:44: You should run autoupdate.
aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from...
configure.ac:44: the top level

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-16 15:57:08 -08:00
Alan Coopersmith
59113321b1 gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-07 09:31:00 -07:00
Alan Coopersmith
bbc506ee81 xf86-video-voodoo 1.2.6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-voodoo-1.2.6
2022-12-09 12:34:35 -08:00
Alan Coopersmith
043a5ba907 gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09 12:32:57 -08:00
Laurent Carlier
fbde65aa7e Remove miInitializeBackingStore()
This doesn't exist any more for a long time

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-09-29 18:20:09 -07:00
Laurent Carlier
d67f3a5bf7 Stop using deprecated xf86PciInfo.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-09-29 18:19:25 -07:00
Alan Coopersmith
6375a5849d gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30 09:09:38 -08:00
Alan Coopersmith
cdd117ca4b Fix spelling/wording issues
Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30 09:09:06 -08:00
Alan Coopersmith
c916fe55fd Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30 09:02:59 -08:00
Alan Coopersmith
b4108f7f1a Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07 19:22:39 -08:00
Mihail Konev
f03229a471 autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26 14:00:22 +10:00
Emil Velikov
81f01ddd4d autogen.sh: use quoted string variables
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
fall-outs, when they contain space.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26 11:26:29 +10:00
Peter Hutterer
1cb7a0df2f autogen.sh: use exec instead of waiting for configure to finish
Syncs the invocation of configure with the one from the server.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-01-26 11:23:47 +10:00
Alan Coopersmith
89387b4d72 autogen.sh: Honor NOCONFIGURE=1
See http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26 11:16:38 +10:00
Alan Coopersmith
bb5b6c6b9e configure: Drop AM_MAINTAINER_MODE
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26 11:16:38 +10:00
Dave Airlie
9172ae566a don't use PCITAG in struct anymore 2014-09-22 10:56:02 +10:00
Dave Airlie
e505d6b248 xf86-video-voodoo: bump to version 1.2.5
Signed-off-by: Dave Airlie <airlied@redhat.com>
xf86-video-voodoo-1.2.5
2012-07-17 16:05:09 +10:00
Dave Airlie
7dd9360b9d voodoo: fix build against older X servers.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17 15:39:50 +10:00
Dave Airlie
f9e3039056 voodoo: fix build against XAA-less server.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-16 18:52:50 +10:00
Dave Airlie
a5a9f9d7f6 voodoo: add compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-06 12:39:10 +01:00
Adam Jackson
8c1121725c Drop useless vgaHW include
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19 17:40:16 -05:00
Adam Jackson
b835f5083c Fall back to shadowfb if XAA is unavailable
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19 17:39:44 -05:00
Jeremy Huddleston
d2f109c417 Fix implicit declaration warning
voodoo_driver.c:898:7: warning: implicit declaration of function 'VoodooRestorePassThrough' [-Wimplicit-function-declaration]

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29 19:02:46 -07:00
Trevor Woerner
614ccdf6a5 Update xf86dgastr.h include.
To xf86dgaproto.h.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-24 10:50:01 -04:00
Trevor Woerner
ae5f55acea Convert x+m/calloc/free to m/calloc/free.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-24 10:50:00 -04:00
Jesse Adkins
db25d980b7 Purge cvs tags.
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-06 20:51:51 -07:00
Gaetan Nadon
83be53038f config: add comments for main statements 2010-07-22 20:24:42 -04:00
Gaetan Nadon
1f0d72b11e 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
dfa89c2014 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 14:37:42 -04:00
Gaetan Nadon
54a332ac74 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 14:05:23 -04:00
Gaetan Nadon
a3dcd95353 config: complete AC_INIT m4 quoting
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 09:27:42 -04:00
Gaetan Nadon
beb44a9dbd 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:58 -04:00
Gaetan Nadon
3e43d913b9 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
d251e3bbec 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
1b4cf228ef 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
494fd2ae23 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:38:00 -04:00
Dave Airlie
e58d315815 voodoo 1.2.4 xf86-video-voodoo-1.2.4 2010-07-05 14:39:03 +10:00