Commit Graph

136 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
cbd2ed803a drop ifdef's on UNLOCK_ALWAYS
it's always defined, so no ifdef's needed.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/6>
2024-05-29 15:31:08 +02:00
Enrico Weigelt, metux IT consult
3fa0b32951 drop dead code
We've got lots of code thats disabled by #if 0 - most likely nobody
needs that anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/6>
2024-05-29 15:31:08 +02:00
Enrico Weigelt, metux IT consult
7b4e5fd2bb drop obsolete compat macros
These used to have different implementations based on Xserver versions,
but since we've relying on xserver >= 1.18 now, most of them are
obsolete now.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/6>
2024-05-29 15:31:06 +02:00
Enrico Weigelt, metux IT consult
b745a0301e drop compat for videodrv api < 12
Our minimal supported xserver is 1.18, which has VIDEODRV ABI 20.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/6>
2024-05-23 20:36:42 +02:00
Enrico Weigelt, metux IT consult
6c1717c6aa drop obsolete check for _X_EXPORT
Since we're relying on xserver >= 1.18 now, this check is obsolete.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/6>
2024-05-22 22:17:48 +02:00
Enrico Weigelt, metux IT consult
70512255ca drop obsolete check for REGION_NULL
Relying on at least xserver 1.18, so this check isn't needed anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/6>
2024-05-22 21:12:44 +02:00
Enrico Weigelt, metux IT consult
0106396d92 drop never used defines
These haven't ever been used, since their incarnation back two decades ago.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/5>
2024-05-15 15:50:51 +02:00
Enrico Weigelt, metux IT consult
91c8a84a83 drop compat with ancient xservers w/o HaveDriverFuncs
Since our minimal version (1.18) it's guaranteed to exist.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/5>
2024-05-15 15:50:51 +02:00
Enrico Weigelt, metux IT consult
eb4267dc07 drop compat with ancient XFree86 2/2
Since we're not compiling on ancient XFree86 anymore, the XF86_VERSION_CURRENT
is fixed at 4.3.99.902.0. Therefore we can now remove all code pathes meant
for lower versions.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/5>
2024-05-15 15:50:46 +02:00
Enrico Weigelt, metux IT consult
c32692a262 drop compat with ancient XFree86 1/2
We still have lots of code pathes for XFree86, which is gone for
aeons now. That's detected by precense of XORG_VERSION_CURRENT define.

Since the whole show is quite complex now, yet just dropping all code pathes
only active if XORG_VERSION_CURRENT isn't defined. Still leaving the places
where Xorg is treated as Xf86 version 4.3.99.902.0 - these are cleaned up later.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/5>
2024-05-15 14:11:21 +02:00
Enrico Weigelt, metux IT consult
c7f05ad586 drop supporting ancient xservers
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-sisusb/-/merge_requests/5>
2024-05-14 16:01:46 +02:00
Enrico Weigelt, metux IT consult
bda2d19394 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-sisusb/-/merge_requests/5>
2024-05-14 16:01:02 +02:00
Enrico Weigelt, metux IT consult
54181eb101 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-sisusb/-/merge_requests/4>
2024-05-08 16:58:13 +02:00
Alan Coopersmith
ae568c6675 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-17 10:44:47 -08:00
Alan Coopersmith
8dddea0a56 Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15 11:28:52 -08:00
Alan Coopersmith
2882c966bd 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-15 11:26:16 -08:00
Alan Coopersmith
dc0b6199a6 gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-06 16:14:02 -07:00
Alan Coopersmith
8d0e741fe2 gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08 18:43:08 -08:00
Alan Coopersmith
949441f8f4 gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-28 16:39:27 -08:00
Alan Coopersmith
b53bb3a6aa 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-28 16:38:34 -08:00
Alan Coopersmith
aa851a1a08 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-28 16:36:43 -08:00
Alan Coopersmith
922d545296 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07 19:09:45 -08:00
Alan Coopersmith
20aee9211d Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18 16:19:06 -08:00
Alan Coopersmith
000489bd93 Remove obsolete B16 & B32 tags in struct definitions
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-10 13:06:18 -08:00
Mihail Konev
06a2f92d23 autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26 14:00:21 +10:00
Emil Velikov
14d7b2763d 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:28 +10:00
Peter Hutterer
65340b961a 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:46 +10:00
Alan Coopersmith
758cabc873 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:37 +10:00
Alan Coopersmith
61a467d2cc configure: Drop AM_MAINTAINER_MODE
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26 11:16:37 +10:00
Matt Turner
fceb6ca43b xf86-video-sisusb 0.9.7
Signed-off-by: Matt Turner <mattst88@gmail.com>
xf86-video-sisusb-0.9.7
2017-01-17 14:46:23 -08:00
Stefan Dirsch
6d44eb7a60 Adapt Block/WakeupHandler signature for ABI 23
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
2016-12-10 13:07:37 +01:00
Adam Jackson
293d090270 Remove mibstore.h
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-09-25 08:54:52 -04:00
Dave Airlie
894814fe2e xf86-video-sisusb: bump to version 0.9.6
Signed-off-by: Dave Airlie <airlied@redhat.com>
xf86-video-sisusb-0.9.6
2012-07-17 16:05:09 +10:00
Dave Airlie
1a278211f7 sisub: don't require xaa
it doesn't use xaa at all.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-15 20:01:57 +10:00
Dave Airlie
a5904352bd sisusb: fix build since compat-api
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-15 20:01:30 +10:00
Dave Airlie
414c3ae620 sisusb: bump to 0.9.5 release
Signed-off-by: Dave Airlie <airlied@redhat.com>
xf86-video-sisusb-0.9.5
2012-07-02 13:23:21 +01:00
Dave Airlie
de082dae48 sisusb: add support for compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-06 12:28:19 +01:00
Jeremy Huddleston
02451944ba Build fix for -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-11-01 23:05:45 -07:00
Jeremy Huddleston
2901c9cf5e Use unsigned long rather than deprecated IOADDRESS
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-11-01 22:57:33 -07:00
Jeremy Huddleston
6272e69d85 Fix build failures with recent server changes to swapl and swaps
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-07 12:47:05 -07:00
Jeremy Huddleston
dc6d77656d Also use calloc rather than xcalloc
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-07 12:47:05 -07:00
Jeremy Huddleston
3dc05f6432 Use malloc/free rather than xalloc/xfree
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-24 14:02:12 -07:00
Jeremy Huddleston
b2fe8b0fd3 Include xf86Pci.h for IOADDRESS
My previous commit incorrectly included pciaccess.h

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-24 14:00:29 -07:00
Jeremy Huddleston
91720979dc Require libpciaccess
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-15 14:45:25 -07:00
Jeremy Huddleston
4968496bdd Add missing include for pciaccess.h
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-15 14:42:48 -07:00
Alan Coopersmith
241dd519e9 Convert sisusb.man from XORG_RAWCPP to using sed like other drivers
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.

Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
The existing statement can now be removed from the configuration file.

Use automake provided $(AM_V_GEN) and XORG_DEFAULT_OPTIONS provided $(SED)
Enables silent rule and use platform appropriate version of sed.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-06-07 22:18:32 -07:00
Thierry Vignaud
471636eca6 Fix compilation with -Werror=format-security (bug #31540)
Not actually a security bug, but shuts gcc up at least.

Signed-off-by: Thierry Vignaud <thierry.vignaud@gmail.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2010-12-03 09:40:53 +00:00
Jesse Adkins
8253e3db08 Purge cvs tags.
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-06 20:47:28 -07:00
Gaetan Nadon
0a9d98a6ef config: add comments for main statements 2010-07-22 15:38:56 -04:00
Gaetan Nadon
6a97c2386a 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