Commit Graph

128 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
b000ebfd58 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:52 +01:00
Enrico Weigelt, metux IT consult
3293bc117f configure.ac: drop obsolete checks for libc functions
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:25:15 +01:00
Enrico Weigelt, metux IT consult
2d7d4c6f80 drop support for ancient pre-7.1 xextproto
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:11:32 +01:00
Enrico Weigelt, metux IT consult
11c50217cc drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:55:36 +01:00
Enrico Weigelt, metux IT consult
b55a274d81 drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:14:14 +01:00
Enrico Weigelt, metux IT consult
161d271267 man: replace Xorg by XLibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 14:26:12 +01:00
Enrico Weigelt, metux IT consult
4de494b235 README.md: fix URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:31:32 +01:00
Alan Coopersmith
971c41ec00 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-sunffb/-/merge_requests/10>
2025-12-16 10:40:18 +01:00
Alan Coopersmith
166adfdcf3 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-sunffb/-/merge_requests/9>
2025-12-16 10:40:11 +01:00
Enrico Weigelt, metux IT consult
13ba8812a0 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:36 +01:00
b-aaz
4217d8db03 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-sunffb-1.2.3.2
2025-07-29 18:41:14 +02:00
Enrico Weigelt, metux IT consult
c6c77049aa .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:17 +02:00
callmetango
882e6dc6a8 .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:19 +02:00
Alan Coopersmith
6100635deb Remove XAA support
Mostly done via unifdef -UHAVE_XAA_H, followed by minor manual editing

Since recent commits require xserver-1.18.0 or later to build against,
there's no reason leaving behind big chunks of code that can only build
against the XAA support removed in xserver-1.13.0 (released in 2012).

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sunffb/-/merge_requests/8>
xlibre-xf86-video-sunffb-1.2.3.1
2024-05-19 12:01:39 -07:00
Enrico Weigelt, metux IT consult
9d9b53bc8c 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-sunffb/-/merge_requests/7>
2024-05-14 16:09:05 +02:00
Enrico Weigelt, metux IT consult
63bf2e5e1b 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-sunffb/-/merge_requests/7>
2024-05-14 16:08:48 +02:00
Enrico Weigelt, metux IT consult
3319ce9b3b 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-sunffb/-/merge_requests/6>
2024-05-08 17:00:14 +02:00
Alan Coopersmith
783404574b Fix warning: variable ‘pFfb’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17 10:55:27 -08:00
Alan Coopersmith
a79f714753 Fix -Wunused-function warnings in ffb_ddc.c
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17 10:55:27 -08:00
Alan Coopersmith
485bd59dc6 Fix warning: no previous prototype for ‘FFBi2cInit’ [-Wmissing-prototypes]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17 10:55:27 -08:00
Alan Coopersmith
7fe9507268 Fix warning: no previous prototype for ‘FFB_InitDGA’ [-Wmissing-prototypes]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17 10:55:27 -08:00
Alan Coopersmith
fb7725270c 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:55:27 -08:00
Alan Coopersmith
bd2c0a62a1 Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15 13:21:33 -08:00
Alan Coopersmith
f1ec40923a Fix -Wdiscarded-qualifiers warning in init_dac_flags()
ffb_dac.c: In function ‘init_dac_flags’:
ffb_dac.c:385:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  385 |         device = pFfb->psdp->device;
      |                ^

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15 13:20:55 -08:00
Alan Coopersmith
a60d768271 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:3571: 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:18:15 -08:00
Alan Coopersmith
7ea8209e55 gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-07 08:34:38 -07:00
Alan Coopersmith
34cb130ad1 README: Add supported device info
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09 10:23:17 -08:00
Alan Coopersmith
be0e7c885c xf86-video-sunffb 1.2.3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-sunffb-1.2.3
2022-12-09 10:15:25 -08:00
Alan Coopersmith
ad7b40d5db gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09 10:13:28 -08:00
Alan Coopersmith
656dd83b48 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/ffb_accel.c:39:
../../src/ffb.h:33:10: fatal error: xf86RamDac.h: No such file or directory
   33 | #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 11:05:25 -08:00
Alan Coopersmith
688b7b059d gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29 10:56:24 -08:00
Alan Coopersmith
d4e4327eb9 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:55:35 -08:00
Alan Coopersmith
78732bb576 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29 10:53:15 -08:00
Alan Coopersmith
623db2a643 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07 19:11:08 -08:00
Alan Coopersmith
bd7fe2f2ab Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18 16:24:28 -08:00
Mihail Konev
87b0054a89 autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26 14:00:21 +10:00
Matthieu Herrb
181b60190c Unbreak when XAA is not present.
Turn accel off if loading XAA fails.

Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2013-06-10 22:02:47 +02:00
Matt Turner
46e71051e0 xf86-video-sunffb 1.2.2 xf86-video-sunffb-1.2.2 2013-01-21 22:47:57 -08:00
Adam Jackson
17f43d1d72 Remove mibstore.h
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-09-25 08:54:56 -04:00
Dave Airlie
0799600180 sunffb: fix XAA-less build.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-16 19:12:32 +10:00
Dave Airlie
5954960d4b sunffb: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-07 18:41:23 +01:00
Jeremy Huddleston
20e5b57ca3 Add missing prototypes to silence warnings
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29 19:56:26 -07:00
Jeremy Huddleston
d76eda9d1c Use malloc/calloc/realloc/free directly
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29 19:52:52 -07:00
Jesse Adkins
205ed4acdf 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:46 -07:00
Gaetan Nadon
0fceb69e06 config: add comments for main statements 2010-07-22 15:38:56 -04:00
Gaetan Nadon
fcc30b64c0 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
3c193eae6b 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
482076d49e 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
46c1395250 config: complete AC_INIT m4 quoting
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 09:27:42 -04:00
Gaetan Nadon
e4720abcbd 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