Commit Graph

167 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
c81b601dfa replace obsolete "pointer" typedef by void*
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-03 14:48:37 +01:00
Enrico Weigelt, metux IT consult
359338ac87 configure.ac: drop obsolete AM_MAINTAINER_MODE
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-30 15:52:54 +01:00
Enrico Weigelt, metux IT consult
44acc18b30 .github: add NetBSD build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-29 16:34:39 +01:00
Enrico Weigelt, metux IT consult
0e624e94ae .github: add freebsd and dragonfly build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-28 14:14:49 +01:00
Enrico Weigelt, metux IT consult
4727a15ef2 .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-23 13:11:29 +01:00
Enrico Weigelt, metux IT consult
0b9f081683 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:03:23 +01:00
Enrico Weigelt, metux IT consult
70233262bc release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-apm-25.0.0
2025-12-18 18:42:12 +01:00
Enrico Weigelt, metux IT consult
72f397a6b6 configure.ac: tiny formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 17:18:37 +01:00
Enrico Weigelt, metux IT consult
c7239ddb44 drop hacks for ancient pre-libpciaccess Xservers
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 15:01:48 +01:00
Enrico Weigelt, metux IT consult
c73bc77a22 drop obsolete #ifdef XFree86LOADER
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:39:50 +01:00
Enrico Weigelt, metux IT consult
070d4c93e7 configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:06:05 +01:00
Enrico Weigelt, metux IT consult
bebcaf61ce drop support for ancient pre-7.1 xextproto
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:00:35 +01:00
Enrico Weigelt, metux IT consult
bab91b5348 drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:51:42 +01:00
Enrico Weigelt, metux IT consult
4ae15eda69 drop obsolete HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-17 19:22:53 +01:00
Enrico Weigelt, metux IT consult
be2aedd078 man: replace Xorg by XLibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:52:19 +01:00
Enrico Weigelt, metux IT consult
03091e46e2 release 1.3.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-apm-1.3.1
2025-12-15 15:31:27 +01:00
Enrico Weigelt, metux IT consult
c7ed8e3493 configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 15:30:48 +01:00
Alan Coopersmith
e1b00e3275 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-apm/-/merge_requests/12>
2025-12-15 15:29:04 +01:00
Enrico Weigelt, metux IT consult
3e50f68938 don't include <opaque.h>
Don't need anything from it, so no need to include it at all.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-apm-1.3.0.3
2025-11-20 15:02:07 +01:00
Enrico Weigelt, metux IT consult
6a95b771f2 ApmPreInit: fix const warning
The `mod` field is only assigned a literal (readonly data), so needs
to be const.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-apm-1.3.0.2
2025-07-24 19:34:11 +02:00
Enrico Weigelt, metux IT consult
cc477d22cf .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-24 19:05:17 +02:00
b-aaz
2502c4c029 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>
2025-07-22 13:14:59 +02:00
callmetango
b8a94f3df0 .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:02:51 +02:00
Alan Coopersmith
235fc7fac7 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-apm/-/merge_requests/11>
xlibre-xf86-video-apm-1.3.0.1
2025-06-01 15:50:28 -07:00
Enrico Weigelt, metux IT consult
196784e691 drop compat with ancient xserver versions
We're relying on at least 1.18, so compat with older ones 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-apm/-/merge_requests/10>
2024-05-28 09:33:24 +02:00
Enrico Weigelt, metux IT consult
3dfab5b9b8 drop obsolete XV_NEW_REPUT
Since we're relying on new enought Xserver that always has
ScrnInfoRec.ModeSet, no need to support old legacy anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/8>
2024-05-19 17:30:20 +00:00
Alan Coopersmith
c09e52d10e 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-apm/-/merge_requests/7>
2024-05-19 09:35:41 -07:00
Alan Coopersmith
0d1874d2eb Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)
Already effectively required by use of XNFcallocarray() introduced in
xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015.

Allows dropping remnants of code for PC98 and pre-pciaccess X servers

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/7>
2024-05-12 15:07:50 -07:00
Enrico Weigelt, metux IT consult
2d7eaf8a86 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-apm/-/merge_requests/6>
2024-05-08 14:23:11 +02:00
Enrico Weigelt, metux IT consult
ba1f9b2164 use XNFalloc() instead of xnfalloc
xnfalloc is just an alias for XNFalloc() 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-apm/-/merge_requests/6>
2024-05-08 11:41:03 +02:00
Alan Coopersmith
836f8742de Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05 18:16:12 -08:00
Alan Coopersmith
7a0d8ea962 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-05 18:12:48 -08:00
Alan Coopersmith
e7c5b8c54f gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-01 12:28:10 -07:00
Alan Coopersmith
c9ff983435 Make order of arguments in function prototypes match definitions
Found by cppcheck:
apm_funcs.c:1026:45: warning:
 Function 'ApmSubsequentSolidBresenhamLine' argument order different:
 declaration 'pScrn, x1, y1, octant, err, e1, e2, length'
 definition 'pScrn, x1, y1, e1, e2, err, length, octant'
 [funcArgOrderDifferent]

apm_funcs.c:1087:49: warning:
 Function 'ApmSubsequentSolidBresenhamLine6422' argument order different:
 declaration 'pScrn, x1, y1, octant, err, e1, e2, length'
 definition 'pScrn, x1, y1, e1, e2, err, length, octant'
 [funcArgOrderDifferent]

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07 11:00:20 -07:00
Alan Coopersmith
2aa261e265 gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-09 12:06:55 -08:00
Alan Coopersmith
d8e7c1eedc Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-19 12:17:46 -08:00
Alan Coopersmith
e8bdccab29 gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17 14:52:01 -08:00
Alan Coopersmith
6bf2b85a0b Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17 14:47:13 -08:00
Kevin Brace
b71848a9b9 Version bumped to 1.3.0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
xf86-video-apm-1.3.0
2019-02-06 19:57:59 -08:00
Kevin Brace
175586a648 Use libpciaccess for newer X Servers when unmapping video RAM
Commit d1e2990248 missed using
XSERVER_LIBPCIACCESS conditional compilation keyword when unmapping
video RAM. This meant that the code was not getting compiled correctly
for newer X Servers due to the missing xf86UnMapVidMem.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27 21:08:09 -08:00
Kevin Brace
1d31027398 Eliminate unused variable compilation warnings
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27 21:07:57 -08:00
Kevin Brace
ced64e1325 Use const char for xf86GetOptValString return type
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27 21:07:45 -08:00
Kevin Brace
6e780e5870 Remove miInitializeBackingStore
Apparently, it is no longer available.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27 21:07:34 -08:00
Mihail Konev
a013a67e8b autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26 14:00:21 +10:00
Adam Jackson
9f67408e4f Remove #include "mibstore.h"
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-09 22:03:29 -05:00
Dave Airlie
736cb01bfa xf86-video-apm: bump to version 1.2.5
Signed-off-by: Dave Airlie <airlied@redhat.com>
xf86-video-apm-1.2.5
2012-07-17 16:05:09 +10:00
Dave Airlie
09c6ce0bea apm: fix make dist.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17 15:22:37 +10:00
Dave Airlie
a57b784ddf apm: convert to new screen conversion apis.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17 14:52:05 +10:00
Dave Airlie
d9a3071242 apm: handle xaa removal
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-13 15:09:29 +10:00
Dave Airlie
01bdd7d3d1 apm: initial compat api
Port to new server compat API.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-13 15:09:01 +10:00