155 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
dfcb173eaf replace obsolete "pointer" typedef by plain void*
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-06 16:01:15 +01:00
Enrico Weigelt, metux IT consult
5c1ba330e7 drop obsolete compat macros
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-02 16:34:24 +01:00
Enrico Weigelt, metux IT consult
86f9dde2fb .github: use new common driver build actions
Using the new driver build actions in X11Libre/actions-build-driver repo,
instead of having lots of duplicated pipeline and script in all the
individual driver repos.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-27 14:41:25 +01:00
Enrico Weigelt, metux IT consult
c0ef05bfa8 configure.ac: increase minimum xserver version to 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-19 16:17:21 +01:00
Enrico Weigelt, metux IT consult
b3e0a8154e release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-sisusb-25.0.0
2025-12-18 19:19:33 +01:00
Enrico Weigelt, metux IT consult
199045bfb0 configure.ac: tiny formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 17:39:23 +01:00
Enrico Weigelt, metux IT consult
23a2d20f04 drop obsolete #ifdef XFree86LOADER
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:48:45 +01:00
Enrico Weigelt, metux IT consult
b44bc38062 configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:29:51 +01:00
Enrico Weigelt, metux IT consult
458a369ded configure.ac: drop obsolete checks for libc functions
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:22:45 +01:00
Enrico Weigelt, metux IT consult
5e5329bd1e drop support for ancient pre-7.1 xextproto
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:09:44 +01:00
Enrico Weigelt, metux IT consult
c88ca2660c drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:55:17 +01:00
Enrico Weigelt, metux IT consult
88e58470e0 drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:10:24 +01:00
Enrico Weigelt, metux IT consult
b7721d0aa4 README.md: fix URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:23:19 +01:00
Alan Coopersmith
435be65b12 Strip trailing whitespace from source files
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`

`git diff -w` & `git diff -b` show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/8>
2025-12-16 10:37:56 +01:00
Enrico Weigelt, metux IT consult
ce7ccc1d24 configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 19:15:25 +01:00
b-aaz
b331422813 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>
xlibre-xf86-video-sisusb-0.9.7.2
2025-07-29 18:41:26 +02:00
Enrico Weigelt, metux IT consult
df3dab8f60 .github: add CI pipeline
This pipeline builds the driver against the latest Xserver stable
release as well as current master.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 18:32:58 +02:00
callmetango
07dea47b02 .github: Add issue forms
Add the following forms for issue creation:

* Bug report
* Feature request
* Code change
* Documentation update
* Organizational task

* add issue type selection page on "New Issue" call
* mention Github Discussions and the mailing list where appropriate

Part-of: X11Libre/misc#156
Signed-off-by: callmetango <callmetango@users.noreply.github.com>
2025-07-07 17:04:06 +02:00
Enrico Weigelt, metux IT consult
ccff93b681 replace SISUSBErrorLog() by simple macro
Tidy up the error messages and replacing log function by macro,
that's giving us

a) more compact error message
b) smaller, simpler code
c) dropping one of the few remaining consumers of xf86VDrvMsgVerb(),
   so it soon can be phased out in xorg code base

(part of Xorg logging refactoring)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/7>
xlibre-xf86-video-sisusb-0.9.7.1
2025-04-13 09:53:16 -07:00
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