108 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
78e4715776 replace obsolete "pointer" typedef by plain void*
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-06 15:39:28 +01:00
Enrico Weigelt, metux IT consult
aaff5fdafa drop obsolete compat-api.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-02 15:32:35 +01:00
Enrico Weigelt, metux IT consult
9779e910dc configure.ac: drop obsolete AM_MAINTAINER_MODE
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-30 16:33:42 +01:00
Enrico Weigelt, metux IT consult
a50e44ee40 .github: add NetBSD build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-29 18:41:57 +01:00
Enrico Weigelt, metux IT consult
7f47ab6067 .github: add freebsd and dragonfly build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-28 16:59:16 +01:00
Enrico Weigelt, metux IT consult
71659fa660 .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:51 +01:00
Enrico Weigelt, metux IT consult
98e0f3fef9 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:45 +01:00
Enrico Weigelt, metux IT consult
e886747648 release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-suncg14-25.0.0
2025-12-18 19:19:55 +01:00
Enrico Weigelt, metux IT consult
306fce7470 configure.ac: tiny formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:18:14 +01:00
Enrico Weigelt, metux IT consult
929047172b drop obsolete compat-api.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:18:11 +01:00
Enrico Weigelt, metux IT consult
862a452bff configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:30:25 +01:00
Enrico Weigelt, metux IT consult
b6bc93138f configure.ac: drop obsolete checks for libc functions
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:26:27 +01:00
Enrico Weigelt, metux IT consult
23b21b80f6 drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:55:22 +01:00
Enrico Weigelt, metux IT consult
61bc0a7036 drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:11:10 +01:00
Enrico Weigelt, metux IT consult
dce2ca79c9 drop ifdef on ancient XFree86LOADER
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-17 14:21:48 +01:00
Enrico Weigelt, metux IT consult
59116f3c5c release 1.2.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-suncg14-1.2.1
2025-12-16 15:30:16 +01:00
Enrico Weigelt, metux IT consult
9940061e1f man: replace Xorg by XLibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 14:23:58 +01:00
Enrico Weigelt, metux IT consult
f9fbd1c485 README.md: update URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:36:40 +01:00
Alan Coopersmith
c303ce2af9 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-suncg14/-/merge_requests/11>
2025-12-16 10:38:36 +01:00
Alan Coopersmith
4ba6ae1e86 Improve man page formatting
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html
and fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10`

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-suncg14/-/merge_requests/10>
2025-12-16 10:38:27 +01:00
Enrico Weigelt, metux IT consult
deddc31a9a 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:59 +01:00
b-aaz
51806e510b 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-suncg14-1.2.0.1
2025-07-29 18:41:23 +02:00
Enrico Weigelt, metux IT consult
ac79cdf058 .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:33:02 +02:00
callmetango
6867fb4f3d .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:03:56 +02:00
Alan Coopersmith
0a25ddf389 xf86-video-suncg14 1.2.0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-suncg14-1.2.0
2025-01-05 11:30:23 -08:00
Enrico Weigelt, metux IT consult
471e04fe84 drop compat with 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-suncg14/-/merge_requests/8>
2024-05-14 16:03:37 +02:00
Enrico Weigelt, metux IT consult
e34ad1626b 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-suncg14/-/merge_requests/8>
2024-05-14 16:02:55 +02:00
Enrico Weigelt, metux IT consult
6eb5c1640e 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-suncg14/-/merge_requests/7>
2024-05-10 17:55:26 +02:00
nia
896da55744 Sync unaccelerated code with NetBSD
Adds support for more bit depths, screen blanking from Michael Lorenz.

NetBSD also has hardware cursor, acceleration, and shadow fb
support for this hardware, but it's a more complicated merge
and something for later (the code also needs to be cleaned up
for multi-depth support).

NetBSD may actually be the last consumer of this driver.

Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-suncg14/-/merge_requests/6>
2024-05-03 12:11:39 +02:00
Alan Coopersmith
e94a73e4e2 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:46:33 -08:00
Alan Coopersmith
cc4113a11c Fix warning: variable ‘pCg14’ set but not used [-Wunused-but-set-variable]
cg14_driver.c: In function ‘CG14FreeRec’:
cg14_driver.c:165:13: warning: variable ‘pCg14’ set but not used [-Wunused-but-set-variable]
  165 |     Cg14Ptr pCg14;
      |             ^~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15 11:40:06 -08:00
Alan Coopersmith
5831d0db76 Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15 11:38:33 -08:00
Alan Coopersmith
0be2874329 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:3551: AC_PROG_LIBTOOL is expanded from...
configure.ac:45: the top level

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15 11:33:07 -08:00
Alan Coopersmith
07f3fbcdb1 gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-06 16:22:54 -07:00
Alan Coopersmith
302c058b4a xf86-video-suncg14 1.1.3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-suncg14-1.1.3
2022-12-09 14:56:20 -08:00
Alan Coopersmith
e748b42fa6 Add supported hardware info to README and man page
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09 11:05:23 -08:00
Alan Coopersmith
5105aedd66 Add include of unistd.h for ioctl() definition on Solaris
Clears gcc warning:
cg14_driver.c: In function ‘CG14InitCplane24’:
cg14_driver.c:669:3: warning: implicit declaration of function ‘ioctl’;
  did you mean ‘iscntrl’? [-Wimplicit-function-declaration]
   ioctl (pCg14->psdp->fd, CG14_SET_PIXELMODE, &bpp);
   ^~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09 09:47:27 -08:00
Alan Coopersmith
de90578cd0 gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09 09:47:27 -08:00
Alan Coopersmith
8608e7f4ef Stop including xf86RamDac.h
ramdac drivers have been removed from xserver since version 21.0.99.1
and xorg/xserver@f0385fb4 resulting in the following build failure:

In file included from ../../src/cg14_driver.c:38:
../../src/cg14.h:29:10: fatal error: xf86RamDac.h: No such file or directory
   29 | #include "xf86RamDac.h"
      |          ^~~~~~~~~~~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29 09:58:24 -08:00
Alan Coopersmith
d184685290 gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29 09:50:08 -08:00
Alan Coopersmith
7b994b4443 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-29 09:48:57 -08:00
Alan Coopersmith
f4fa38688d Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29 09:48:08 -08:00
Alan Coopersmith
5d549c78e2 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07 19:10:12 -08:00
Alan Coopersmith
60ab990f7e Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18 16:20:20 -08:00
Matt Turner
997931ea1b xf86-video-suncg14 1.1.2 xf86-video-suncg14-1.1.2 2013-01-21 22:37:01 -08:00
Adam Jackson
7ef291650f Remove mibstore.h
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-09-25 08:54:53 -04:00
Dave Airlie
182a1491c7 suncg14: port to new compat API
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-07 18:49:17 +01:00
Jeremy Huddleston
871f39d28f Include <sys/ioctl.h> for ioctl()
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29 19:51:21 -07:00
Jeremy Huddleston
6d87bfa594 Use malloc/calloc/realloc/free directly
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29 19:50:27 -07:00
Jesse Adkins
e865dffc32 Purge cvs tags.
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-06 20:49:08 -07:00