summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-02BSD MakefileobsdMatthieu Herrb
2024-05-28drop compat with ancient xserver versionsHEADmasterEnrico Weigelt, metux IT consult
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-19drop obsolete XV_NEW_REPUTEnrico Weigelt, metux IT consult
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-19Remove XAA supportAlan Coopersmith
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-12Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)Alan Coopersmith
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-08use XNFcallocarray() instead of xnfcalloc macroEnrico Weigelt, metux IT consult
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-08use XNFalloc() instead of xnfallocEnrico Weigelt, metux IT consult
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-01-05Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith
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>
2023-10-01gitlab CI: ensure libtool is installed in build containerAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07Make order of arguments in function prototypes match definitionsAlan Coopersmith
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-02-09gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-19Update configure.ac bug URL for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17gitlab CI: add a basic build testAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17Build xz tarballs instead of bzip2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-02-06Version bumped to 1.3.0xf86-video-apm-1.3.0Kevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27Use libpciaccess for newer X Servers when unmapping video RAMKevin Brace
Commit d1e29902483a82e86b07cd30d41d411e71b776ea 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-27Eliminate unused variable compilation warningsKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27Use const char for xf86GetOptValString return typeKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27Remove miInitializeBackingStoreKevin Brace
Apparently, it is no longer available. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2017-01-26autogen: add default patch prefixMihail Konev
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2013-01-09Remove #include "mibstore.h"Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-17xf86-video-apm: bump to version 1.2.5xf86-video-apm-1.2.5Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17apm: fix make dist.Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17apm: convert to new screen conversion apis.Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-13apm: handle xaa removalDave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-13apm: initial compat apiDave Airlie
Port to new server compat API. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-12xf86-video-apm 1.2.4xf86-video-apm-1.2.4Julien Cristau
Signed-off-by: Julien Cristau <jcristau@debian.org>
2012-05-12xv: disable reputimage hook on newer apiLuc Verhaegen
This change makes Xv support slightly less nice, but should, in itself, not deteriorate things too much, as most drivers function acceptably without reputimage. Signed-off-by: Luc Verhaegen <luc.verhaegen@basyskom.de> Signed-off-by: Julien Cristau <jcristau@debian.org>
2012-05-01Disable PC98 code on newer serversJulien Cristau
It was removed in xserver commit 6ad7bb69eebd5e5b4068bd9aa0b9a7168f075006, and keeping API compatibility would have been too hard. Or something.
2012-05-01Stop including xf86PciInfo.hJulien Cristau
Deprecated in xserver commit 1f5baa924a5907978f564372265d9830ac72a077
2012-05-01Replace x{{,re,c}alloc,free} with malloc/realloc/calloc/freeJulien Cristau
2011-12-19Fix for new vgaHW ABIAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Fall back to shadowfb if XAA fails to loadAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Merge branch 'master' of ↵Adam Jackson
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-apm
2011-11-17Check ABI major not encoded ABIAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-16Adapt to vgahw changes in videoabi 12Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-16s/IOADDRESS/unsigned long/Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-07-28Add XFree86 Copyright/License to COPYING for all code that came from XF86 4.4Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-23xf86-video-apm 1.2.3xf86-video-apm-1.2.3Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-23Remove xorgconfig reference from the READMEAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-21config: add comments for main statementsGaetan Nadon
2010-07-21config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: complete AC_INIT m4 quotingGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_HEADER_STDCGaetan Nadon
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-20config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon
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-20config: update AC_PREREQ statement to 2.60Gaetan Nadon
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-20config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages.
2010-06-13README: keep the text version of README, discard the sgml versionGaetan Nadon
The linuxdoc doc tool is deprecated. README files are exclusively text files. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>