Commit Graph

90 Commits

Author SHA1 Message Date
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
Gaetan Nadon
e7dceb8c94 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
8b36052f7d 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
c9e2ed0555 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
109a88bd98 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
cb5693a8e2 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
Gaetan Nadon
baafed1146 COPYING: replace stub file with actual Copyright notices.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-13 11:09:37 -04:00
Alan Coopersmith
c1c9d3696e Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15 15:47:05 -08:00
Gaetan Nadon
8492422f4f configure.ac: remove unused sdkdir=$(pkg-config...) statement
The sdkdir variable isn't use, so remove the statement.

Acked-by: Dan Nicholson <dbn.lists@gmail.com>

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-30 15:13:00 -05:00
Gaetan Nadon
95d5b0b7b4 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
2009-11-23 09:25:05 -05:00
Gaetan Nadon
8cda2c1ede INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Automake 'foreign' option is specified in configure.ac.
Remove from Makefile.am
2009-10-28 14:41:41 -04:00
Gaetan Nadon
29ad9f4182 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Add missing INSTALL file. Use standard GNU file on building tarball
README may have been updated
Remove AUTHORS file as it is empty and no content available yet.
Remove NEWS file as it is empty and no content available yet.
2009-10-28 14:09:09 -04:00
Gaetan Nadon
e1c9b4d382 Several driver modules do not have a ChangeLog target in Makefile.am #23814
The git generated ChangeLog replaces the hand written one.
Update configure.ac to xorg-macros level 1.3.
Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros
Update Makefile.am to add ChangeLog target if missing
Remove ChangeLog from EXTRA_DIST or *CLEAN variables
This is a pre-req for the INSTALL_CMD
2009-10-26 12:54:22 -04:00
Gaetan Nadon
5eb19f18b6 .gitignore: use common defaults with custom section # 24239
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
2009-10-22 12:34:18 -04:00
Gaetan Nadon
345231051a xf86-video-suncg6: Remove unused .cvsignore file #23776
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-08 10:48:58 +10:00