98 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
9bda8e557c configure.ac: drop obsolete AM_MAINTAINER_MODE
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-30 15:57:43 +01:00
Enrico Weigelt, metux IT consult
59e6af63cb 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:06:15 +01:00
Enrico Weigelt, metux IT consult
00fa8e0b98 release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 19:10:46 +01:00
Enrico Weigelt, metux IT consult
4002351d36 release 2.18.2
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 16:27:03 +01:00
Enrico Weigelt, metux IT consult
504694f675 drop support for ancient pre-pciaccess xservers
The Xserver's PCI handling as long moved to libpciaccess decades ago.
Cleanup up those code pathes which were only meant for really ancient
xserver versions that we really don't support anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 16:03:11 +01:00
Enrico Weigelt, metux IT consult
57fd3be83f configure.ac: drop hacks for xextproto <= 7.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 15:55:27 +01:00
Enrico Weigelt, metux IT consult
34924a58de configure.ac: little formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 15:53:33 +01:00
Enrico Weigelt, metux IT consult
e5ad71db48 configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 15:49:55 +01:00
b-aaz
e7bf065a45 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-25 19:21:06 +02:00
Martin-Éric Racine
a409dc6572 Geode 2.18.1
This release is the result of an extensive code cleanup by
Connor Behan and Enrico Weigelt. Most noticable changes:

* The supported Xserver version is bumped to 1.18.x minimum.
* The GX component no longer supports XAA. Only EXA remains.
* The LX component now uses the default Xserver pixel depth.

VALIDATION PLATFORMS
 * Debian (Xserver 1.18.4) on ARTEC DBE61 (Geode LX700).
 * Debian (Xserver 1.18.4) on FIC ION603A (Geode LX800).
 * Debian (Xserver 21.1.7) on FIC ION603A (Geode LX800).

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2025-03-01 17:07:43 +02:00
Martin-Éric Racine
dd5f7fb2a4 Revert configure.ac bump for a minute.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2025-03-01 17:05:00 +02:00
Connor Behan
9318797494 Add option to avoid building GX support
One of the checks for HAVE_GX appeared to be in the wrong place. Once it
is in the right place, a configure option can be used to not set HAVE_GX
and avoid compiling the associated files.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-09-17 05:32:38 +00:00
Martin-Éric Racine
44b5c24c54 Bump configure.ac and README to version 2.18.1 for pending release. 2024-06-18 18:42:29 +03:00
Enrico Weigelt, metux IT consult
1bd62d4e15 drop obsolete XAA support
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: Enrico Weigelt, metux IT consult <info@metux.net>
2024-06-11 14:13:32 +02:00
Enrico Weigelt, metux IT consult
4fe4d8e49d 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>
2024-06-11 14:13:32 +02:00
Martin-Éric Racine
a82d6cfc1c Add brackets to AC_PREREQ. 2024-06-09 16:31:36 +03:00
Alan Coopersmith
dc1f918c15 xf86-video-geode 2.11.21
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-04 17:56:58 -07:00
Alan Coopersmith
2c415eb841 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22 10:47:51 -08:00
Martin-Éric Racine
c8c1e7ffbe Geode 2.11.20
This release restores compatibility with xserver-1.20 and newer.

VALIDATION PLATFORM
 * Debian (X server 1.20.4) on FIC ION603A (Geode LX800).

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2019-09-20 12:46:17 +03:00
Alan Coopersmith
df37efae78 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25 13:57:53 -08:00
Martin-Éric Racine
ec3440ea60 Geode 2.11.19
This release restores compatibility with xserver-1.19 and newer.

VALIDATION PLATFORM
 * Debian (X server 1.19.0) on FIC ION603A (Geode LX800).

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2016-12-10 15:23:23 +02:00
Martin-Éric Racine
9b04a4df42 Geode 2.11.18
This release restores compatibility with xserver-1.18 and newer.

Conditional support for the Geode MSR device on FreeBSD is merged.

GX acceleration and compositing is upgraded to current standards.

LX switching to VT and back is restored. Farewell blanks screens!

VALIDATION PLATFORM
 * Debian (X server 1.18.0) on FIC ION603A (Geode LX800).

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2016-02-03 20:38:37 +02:00
Martin-Éric Racine
97e53b5896 Geode 2.11.17
This release restores compatibility with xserver-1.17.

Support for the Geode MSR device on OpenBSD is merged.

VALIDATION PLATFORM
 * Debian (X server 1.17.1) on FIC ION603A (Geode LX800).

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2015-05-20 11:24:30 +03:00
Martin-Éric Racine
6ec1e2df7a Geode 2.11.16
This release restores compatibility with xserver-1.15 and newer
by adding a missing xf86Modes.h include to src/geode_dcon.c

VALIDATION PLATFORM
 * Debian (X server 1.15.99.904) on FIC ION603A (Geode LX800).

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2014-07-17 03:32:17 +03:00
Martin-Éric Racine
c2d956a1e9 Geode 2.11.15
This release restores compatibility with xserver-1.14 by removing
mibstore.h includes and miInitializeBackingStore() functions.
Since Nov.2010 (commit c4c4676) the only purpose of mibstore.h
was to define an empty function for backward compatibility.

Build helpers migrate to contemporary [build-aux] and [m4].

VALIDATION PLATFORM
 * Debian (X server 1.14.3) on FIC ION603A (Geode LX800).

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-10-09 14:48:45 +03:00
Martin-Éric Racine
69a8eedfe6 Migrate AC_CONFIG_AUX_DIR to [build-aux]
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-10-03 01:41:43 +03:00
Martin-Éric Racine
b57f56b311 Fix whitespace in AC_INIT
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-10-02 22:39:49 +03:00
Martin-Éric Racine
7d9f923e15 Bump AC_PREREQ to 2.60 as suggested by Gaetan Nadon
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-10-02 22:35:12 +03:00
Martin-Éric Racine
cb36826843 libtool upgrade to include m4 directory
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-10-02 22:24:07 +03:00
Martin-Éric Racine
a96a4e28a0 Geode 2.11.14
This release restores compatibility with xserver-1.13, cairo-1.12 and gtk-3:

* Fix building with new xserver-1.13 (Maarten Lankhorst)
  + Implement xserver-1.13 API changes.
  + Make XAA support optional (dropped as of xserver-1.13).
* Implement solid source pictures acceleration for cairo-1.12 (Mart Raudsepp)
* Fix EXA Composite implementation in the LX component (Mart Raudsepp)
  Restores icon and text rendering for GNOME 3 fallback mode.

This release also improves compatibility with non-Linux/non-32-bit hardware:
* Fix compiling on 64-bit hosts (Dave Airlie)
* Fix compiling on non-Linux platforms (Martin-Éric Racine)

VALIDATION PLATFORMS
 * Debian (X server 1.7.7) on Artec DBE61.
 * Debian (X server 1.12.14) on FIC ION603A.
 * Fedora (X server 1.13) on OLPC XO-1.
2012-11-25 11:12:58 +02:00
Mart Raudsepp
86a879a1ec configure: Make the new XAA checks work, and other improvements
commit 68646c31 added XAA checks were too early, when XORG_CFLAGS isn't
declared yet, so it got never enabled. Move the block after xorg-server
pkg-config checks, which declare XORG_CFLAGS.
Change configure to fail if --enable-xaa is explicitly requested, but
XAA headers are not found.
Other tweaks for more autoconf-ism.

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2012-07-26 10:31:01 +03:00
Maarten Lankhorst
68646c3119 Allow building on Xservers without XAA 2012-07-26 05:18:14 +03:00
Martin-Éric Racine
e420d7956a Geode 2.11.13
This release mainly features a complete overhaul of the building scripts plus
a cleanup of deprecated macros. The key benefit is that this Geode driver can
finally build on FreeBSD and on other platforms not offering V4L2 support and
that it can also build on a 64-bit host using its 32-bit personality.

Support for the Video Input Port (VIP) feature of the Geode LX found in 'ztv'
is now documented and the source code saw the removal of deprecated Linux 2.4
backward compatibility code. Compiling is skipped on platforms without V4L2.

Configuration for laptops featuring WXGA resolutions is finally documented.

Setting the GEODE_TRACE_FALL macro now enables composite operation tracing on
this driver. This can be used to profile the performance during development.

Fixes to keep this driver compilable on recent X servers are also included.

VALIDATION PLATFORMS
* Debian/stable (X server 1.7.7) on Artec DBE61 and Hercules EC-800.
* Ubuntu/Precise (X server 1.10.4) on FIC ION603A.

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2011-12-26 22:13:22 +02:00
Gaetan Nadon
8fc372b4e2 config: fix Autoconf warnings and improve comments
These changes have been done in all other video drivers.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:11 +02:00
Gaetan Nadon
725d6ddc0b config: The compiler version to use is now set in XORG_DEFAULT_OPTIONS
In this case "now" means a couple of years ago. All of Xorg is compiled
with AC_PROG_CC_C99. It shows up in config.log as CC='gcc -std=gnu99'.

The removed statement was resetting the compiler to C89 as it comes
after XORG_DEFAULT_OPTIONS.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:11 +02:00
Gaetan Nadon
40aae069bb config: remove a few dead/obsolete lines of code
HAVE_XEXTPROTO_71 not used in Makefile.
AC_HEADER_STD is very obsolete.
AC_SUBST([XORG_CFLAGS]) is redundant.
DRIVER_NAME is correctly no longer used.
AC_SUBST([moduledir]) has just been moved up.

Any erroneously removed statements above would result
in a configuration failure.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:11 +02:00
Gaetan Nadon
fa0e88bfe0 Move back ztv with geode driver
Now we have a clean separation between CPP flags and C Flags
Only the C Flags apply to both geode and ztv driver, however
it is not worth doing a per target compilation.

Should some flags become mutually exclusive and if we want to have
both target in the same makefile, add the incompatible flag
on the appropriate target, example:

geode_drv_la_CFLAGS = $(AM_CFLAGS) -newCFlag
and/or
geode_drv_la_CPPFLAGS = $(AM_CPPFLAGS) -newCPPFlag

Note that both AM_CFLAGS and AM_CPPFLAGS are picked-up by both
geode and ztv driver target.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:11 +02:00
Gaetan Nadon
03529b7b35 Separate compiler from pre-processor options
Clean-up what goes in AM_CFLAGS and AM_CPPFLAGS
Use more descriptive names such that comments are not needed.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:11 +02:00
Gaetan Nadon
ac99bf2c5c Detect 32bit support on 64bit OS and compile with -m32 if found
For gcc compiler only at the moment.
The configuration reports if support is found or not, e.g.:

   checking if gcc supports the -m32 Intel/AMD option... yes

The configuration C test relies on #include unistd.h which includes
features.h which includes gnu/stubs.h which includes gnu/stubs-32.h
which is missing on 64 bit system without the 32 bit library support.

Tested on x86_64 AMD64 CPU with/without libc6-dev-i386 which provides
32 bit support. Remains to be tested on Geode and FreeBSD 32/64 bit.

The configuration does not attempt to decide if building should proceed
or be aborted. If no 32 bit support then the build will die in the
assembly code as it always did before.

The variable M32_CFLAGS provides the flag for the makefiles.
The variable names and organization is subject to change.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:11 +02:00
Gaetan Nadon
4eaba919fc Remove unused and misleading I386ARCH configuration code
The AM_CONDITIONAL I386ARCH is not used.

The AC_CHECK_DECLS is misleading as it suggests there could be some i*86
system with a 64 bit architecture which is incorrect.
It also provides false results on 64 bit computer.

The generated HAVE_DECL_XXX are not used anyway.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:10 +02:00
Gaetan Nadon
60c3f5f7e9 Remove duplicate warning variable and werror option
Use already existing:
  --enable-strict-compilation
                          Enable all warnings from compiler and make them
                          errors (default: disabled)
which, byt the way was broken as it was not implemented in geode.

Use already existing CWARNINGFLAGS variable, so there is no need
to define GCC_WARNINGS.

Both come from util-macros version 1.4 or later.
http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in
?id=03b04a6b5d61aafbd2705f7d29e58e0c92553a4a

If you configure with a later version of util-macros you may see new
warnings appear as additional flags have been added over the years.

You get better support for platforms/compiler differences.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:10 +02:00
Gaetan Nadon
5f228208cc Remove unrequired .s assembly files automake support
Only the suffixes .s, .S, and .sx are recognized by automake
as being files containing assembly code.

http://www.gnu.org/software/automake/manual/automake.html#Assembly-Support

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:10 +02:00
Gaetan Nadon
100576b3a0 Remove broken duplicate visibility configure option
This was added by commit f762b456 in 2007 and has been since implemented
in the server which returns it in XORG_CFLAGS

pkg-config --cflags xorg-server

The server also takes care of platforms and compilers being used.
Currently the visibility is set twice and even if you disable it,
it is still passed through XORG_CFLAGS.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:10 +02:00
Gaetan Nadon
fc19e7d2bd Add a configure option to enable/disable building the ztv driver
Even when V4L2 is available there are always reasons why distros
may not want to build the driver.

This patch uses a common idiom in xorg.
When no configure option is specified ztv is built iff v4l2 is detected (auto).
When user issues --disable-ztv, the ztv driver is not built (no)
When user issues --enable-ztv, the ztv driver is built (yes) if v4l2 is detected
but the configuration fails if v4l2 is missing. Distros do not want silent
failures when a feature is explicitly requested but cannot be built.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:09 +02:00
Gaetan Nadon
23b85b3fcd Add conditional build for ztv
Detect the presence of Video4Linux V2 and do not build if missing.

The geode driver is no longer Linux only.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:09 +02:00
Gaetan Nadon
e4b771572d Move ztv driver to it's own directory
The convention is to have the video driver (geode) in the src subdir
and any other targets (utils, apps, other drivers) in their own
directory. It makes it much simpler to right a correct makefile
and to set conditional compile.

This highlighted a few things to fix. For now, the directory includes
have not been copied as they are required. The AM_CCASFLAGS is not required
either as there is no assembler.

Other than that, the gcc command issued has no differences. Other unrequired
defines could be removed later.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-21 10:33:09 +02:00
Martin-Éric Racine
b724ff4045 Revert "Only enable z4l.c on Linux" until we have a consensus. 2011-11-14 08:44:32 +02:00
Martin-Éric Racine
ee6296ecb8 Whitespace cleanup. 2011-11-13 03:14:51 +02:00
Martin-Éric Racine
f6745f544f Only enable z4l.c on Linux. 2011-11-13 03:10:01 +02:00
Martin-Éric Racine
1a23956758 Geode 2.11.12 2011-02-13 21:52:55 +02:00