104 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
22ec8b06ed replace obsolete "pointer" typedef by plain void*
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-07 18:28:43 +01:00
Enrico Weigelt, metux IT consult
8b07470df0 drop obsolete compat macros
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-02 15:39:25 +01:00
Enrico Weigelt, metux IT consult
60e6a9025c configure.ac: drop obsolete AM_MAINTAINER_MODE
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-30 16:31:28 +01:00
Enrico Weigelt, metux IT consult
55efa35a19 .github: add NetBSD build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-29 18:42:19 +01:00
Enrico Weigelt, metux IT consult
fbb5b4dce2 .github: add freebsd and dragonfly build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-28 17:23:29 +01:00
Enrico Weigelt, metux IT consult
18c78155ff .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:47:16 +01:00
Enrico Weigelt, metux IT consult
9d6613f943 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:18:20 +01:00
Enrico Weigelt, metux IT consult
6421ac209d release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-suncg6-25.0.0
2025-12-18 19:20:47 +01:00
Enrico Weigelt, metux IT consult
c04dfa9147 configure.ac: tiny formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 17:40:54 +01:00
Enrico Weigelt, metux IT consult
17ae0f12d0 configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:31:24 +01:00
Enrico Weigelt, metux IT consult
ca80bf076f configure.ac: drop obsolete checks for libc functions
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:25:36 +01:00
Enrico Weigelt, metux IT consult
6494186d51 drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:55:32 +01:00
Enrico Weigelt, metux IT consult
daba2381f6 drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:13:00 +01:00
Enrico Weigelt, metux IT consult
51a1f94e45 drop ifdef on ancient XFree86LOADER
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-17 14:25:28 +01:00
Enrico Weigelt, metux IT consult
c2fa7eac59 man: replace Xorg by XLibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 14:25:28 +01:00
Enrico Weigelt, metux IT consult
4d42912f34 README.md: fix URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:31:57 +01:00
Alan Coopersmith
771dd91e37 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-suncg6/-/merge_requests/9>
2025-12-16 10:39:48 +01:00
Alan Coopersmith
c2e79d0e39 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-suncg6/-/merge_requests/8>
2025-12-16 10:39:39 +01:00
Enrico Weigelt, metux IT consult
f1684d8776 configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 19:25:00 +01:00
b-aaz
c2447ea938 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-suncg6-1.1.3.2
2025-07-29 18:41:40 +02:00
Enrico Weigelt, metux IT consult
ffbfc4f316 .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:13 +02:00
callmetango
8c1bfd1ac1 .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:35 +02:00
Enrico Weigelt, metux IT consult
37a28d0d9d 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-suncg6/-/merge_requests/7>
xlibre-xf86-video-suncg6-1.1.3.1
2024-05-14 16:07:27 +02:00
Enrico Weigelt, metux IT consult
5d1f28eef5 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-suncg6/-/merge_requests/7>
2024-05-14 16:07:09 +02:00
Enrico Weigelt, metux IT consult
99551f9633 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-suncg6/-/merge_requests/6>
2024-05-08 16:59:57 +02:00
Alan Coopersmith
b56894b531 Fix warning: variable ‘pCg6’ set but not used [-Wunused-but-set-variable]
cg6_driver.c: In function ‘CG6FreeRec’:
cg6_driver.c:166:12: warning: variable ‘pCg6’ set but not used [-Wunused-but-set-variable]
  166 |     Cg6Ptr pCg6;
      |            ^~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17 10:53:44 -08:00
Alan Coopersmith
be81b93b6d Fix prototype warnings for CG6HWCursorInit()
cg6_cursor.c:93:1: warning: no previous prototype for ‘CG6HWCursorInit’ [-Wmissing-prototypes]
   93 | CG6HWCursorInit(ScreenPtr pScreen)
      | ^~~~~~~~~~~~~~~

cg6_driver.c: In function ‘CG6ScreenInit’:
cg6_driver.c:517:21: warning: nested extern declaration of ‘CG6HWCursorInit’ [-Wnested-externs]
  517 |         extern Bool CG6HWCursorInit(ScreenPtr pScreen);
      |                     ^~~~~~~~~~~~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17 10:53:44 -08:00
Alan Coopersmith
0a15c064cf 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:53:44 -08:00
Alan Coopersmith
bee8f7345c Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15 13:03:18 -08:00
Alan Coopersmith
1dc46cbbe9 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 13:02:21 -08:00
Alan Coopersmith
b6c6a2da82 gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-06 16:25:20 -07:00
Alan Coopersmith
0fb611cd0f Add supported hardware info to README and man page
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09 11:13:40 -08:00
Alan Coopersmith
965ab478ee xf86-video-suncg6 1.1.3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-suncg6-1.1.3
2022-12-09 10:08:42 -08:00
Alan Coopersmith
91baf16b64 gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09 10:07:44 -08:00
Alan Coopersmith
14392504de Include xf86Cursor.h instead of 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/cg6_cursor.c:31:
../../src/cg6.h:29:10: fatal error: xf86RamDac.h: No such file or directory
   29 | #include "xf86RamDac.h"
      |          ^~~~~~~~~~~~~~

but xf86RamDac.h in turn included xf86Cursor.h which we still need.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29 10:43:39 -08:00
Alan Coopersmith
3718002bbe gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29 10:20:27 -08:00
Alan Coopersmith
e5ac3c9c16 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 10:20:09 -08:00
Alan Coopersmith
39b14e487f Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29 10:19:46 -08:00
Alan Coopersmith
3762661116 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07 19:10:39 -08:00
Alan Coopersmith
f1da29c429 Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18 16:23:30 -08:00
Matt Turner
ee1cfb2f37 xf86-video-suncg6 1.1.2 xf86-video-suncg6-1.1.2 2013-01-21 22:46:03 -08:00
Adam Jackson
e21c7021fc Remove mibstore.h
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-09-25 08:54:55 -04:00
Dave Airlie
d5206ab29d cg6: port to new compat api.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-06 11:35:41 +01:00
Jeremy Huddleston
9d6d59f7a3 Use malloc/calloc/realloc/free directly
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29 19:52:38 -07:00
Jesse Adkins
65463d54b2 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:36 -07:00
Gaetan Nadon
34ade544a3 config: add comments for main statements 2010-07-22 15:38:56 -04:00
Gaetan Nadon
fc94cccd78 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
6f2a1aa5ea 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
06d5c7fb6f 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
9ac3e4d009 config: complete AC_INIT m4 quoting
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 09:27:42 -04:00