Commit graph

768 commits

Author SHA1 Message Date
Peter Hutterer
e9a2eb86e9 xserver 1.7.7
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-05-04 11:12:44 +10:00
Peter Hutterer
ba2ba32e04 xserver 1.7.6.902
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-21 09:31:00 +10:00
Peter Hutterer
501c0ee635 xserver 1.7.6.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-12 11:51:21 +10:00
Peter Hutterer
48f8a7d125 configure: Always define XINPUT.
This define was removed in e251c9e75a "Remove all traces of #ifdef XINPUT
and the matching bits from the configure.ac". Drivers that support multiple
server versions and still check for ifdef XINPUT now always build without
XINPUT support if they're calling XORG_DRIVER_CHECK_EXT(XINPUT, inputproto).

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit 6389405b56)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-09 09:47:54 +10:00
Peter Hutterer
c552ec12f9 xserver 1.7.6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-03-17 10:50:41 +10:00
Peter Hutterer
5b4fabb910 configure: restore SHA1_LIB for XSERVER_SYS_LIBS
Accidentally removed in ff5fb43a4b, caused by
a botched merge when cherry-picking 178da6534f.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-03-15 09:03:19 +10:00
Peter Hutterer
5a2b3f36a0 xserver 1.7.5.902
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-03-12 16:53:06 +10:00
Peter Hutterer
ff5fb43a4b Xext: Link to external libraries when necessary.
Although the DDX should be linked to the necessary libraries, we may
also need to pull them in directly to the module to ensure the symbols
are resolved at runtime. Should fix this bug with XSELINUX:

/usr/bin/X: symbol lookup error:
/usr/lib64/xorg/modules/extensions/libextmod.so: undefined symbol:
is_selinux_enabled

-v2: use _LIBADD instead of _LIBS; remove SELINUX_LIBS from
     XSERVER_SYS_LIBS as it should only be needed in extmod.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 178da6534f)

Conflicts:

	configure.ac
2010-03-12 14:39:19 +10:00
Peter Hutterer
1242e494c8 xserver 1.7.5.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-03-05 09:27:13 +10:00
Peter Hutterer
7def5cdf7d configure: move SELINUX_LIBS to XSERVER_SYS_LIBS
All ddxs require linking against selinux if enabled.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 1c2abec479)

Conflicts:

	configure.ac
2010-03-04 15:43:04 +10:00
Peter Hutterer
4026682511 configure: move libselinux requirement up to the common section.
Let's have all version-specific requirements in one block.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit cab99b947c)

Conflicts:

	configure.ac
2010-03-04 15:43:04 +10:00
Eamon Walsh
c030ec32b6 libselinux now has a pkgconfig file. Use it.
Also remove HAVE_NETLINK_AVC_ACQUIRE_FD tests, because we now
require a version of libselinux that has it.

Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Reviewed-by: Keith Packard <keithp@keithp.com>
2010-02-23 15:45:27 -05:00
Peter Hutterer
f0ec2e0d7d xserver 1.7.5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-02-16 13:08:02 +10:00
Peter Hutterer
85b04bb0eb xserver 1.7.4.902
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-02-05 18:08:37 +10:00
Peter Hutterer
d3e5430457 xserver 1.7.4.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-01-23 12:55:38 +13:00
Gaetan Nadon
08c2df881d configure: use backticks rather than $() for commands
This patch to xserver configure.ac is to increase code portability to
non POSIX system by using backticks rather than $() for command
substitution for BUILD_DATE and BUILD_TIME.

Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 6313d2da6c)
2010-01-19 17:35:04 +13:00
Peter Hutterer
88582f3d41 xserver 1.7.4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-01-08 09:38:58 +10:00
Peter Hutterer
d1320f4f29 xserver 1.7.3.902
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-12-26 10:13:46 +10:00
Alan Coopersmith
2b8ba62f00 Change default xkb model from pc104 to pc105
PC105 is a more useful default for non-American keyboard users,
not harmful for American PC101/PC104 keyboard users.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 1df4bd6011)
2009-12-23 16:05:54 -08:00
Alan Coopersmith
17a1587d16 Convert checks for PC98 support from platform #ifdefs to configure flag
Default remains the same - on for most OS'es on i386 (except Solaris),
off for everyone else.   Can be manually toggled via --enable-pc98 or
--disable-pc98.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit b63912ed4c)
2009-12-23 16:05:42 -08:00
Peter Hutterer
601db11ffc xserver 1.7.3.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-12-11 15:34:05 +10:00
Peter Hutterer
aea5ace1ee xserver 1.7.3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-12-03 11:57:16 +10:00
Gaetan Nadon
f41e87f32e configure.ac: error while checking for XDMXCONFIG_DEP
Introduced in commit 9998105a38
The replacement third parameters to PKG_CHECK_MODULES([DMXMODULES]
was not quoted.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 91c1bd78f7)
(cherry picked from commit b8623569a3)
2009-12-03 11:56:33 +10:00
Peter Hutterer
1fff1b37a9 xserver 1.7.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-27 14:58:58 +10:00
Peter Hutterer
9998105a38 Move xdmxconfig modules into DMX conditionals (#25102)
xdmxconfig requires additional modules not checked for if Xdmx build is set
to auto (the default). This may lead to build errors if the Xdmx modules are
installed, but not the extra ones required for xdmxconfig.

X.Org Bug 25102 <http://bugs.freedesktop.org/show_bug.cgi?id=25102>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Remi Cardona <remi@gentoo.org>
Acked-by: Julien Cristau <jcristau@debian.org>
(cherry picked from commit 8806375ed7)
2009-11-25 15:26:35 +10:00
Peter Hutterer
19b24f014f xserver 1.7.1.902
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-20 15:29:05 +10:00
Peter Hutterer
2d55b842b8 xserver 1.7.1.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-06 14:41:19 +10:00
Alan Coopersmith
4fe904f2d5 Enable XF86PM on all Solaris platforms, not just x86/x64
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit f7b375bd14)
2009-11-06 14:41:19 +10:00
Peter Hutterer
48329b2c5c xserver 1.7.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-23 13:24:50 +10:00
Keith Packard
e644e322c7 Fix 'distcheck' to use host xkb files but install to build dir
'make distcheck' needs to read xkb files and write out compiled
versions as a part of the 'make check' phase. This patch passes
suitable options to the configure stage of the distcheck process to
read xkb files from the system location and write them to the
distcheck _inst directory.

Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 08e7f62faf)
2009-10-22 07:53:35 +10:00
Peter Hutterer
37b5f41cce xserver 1.7.0.902
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-19 11:55:03 +10:00
Yaakov Selkowitz
4b419c1651 Fix XWIN_LIBS definition
Move XWIN_LIBS from XWIN=auto conditional to XWIN=yes conditional,
otherwise the build breaks if an explicit --enable-xwin is passed to
configure.

Also remove obsolete library values from the definition.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit ed4c6bc79a)
2009-10-19 11:20:16 +10:00
Jon TURNEY
237bc0c255 Cygwin/X: Don't build rootless extension code unless we need it
Only try to build rootless extension code if we really need it (i.e. mwextwm mode is enabled)

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
(cherry picked from commit 5ddfd9d089)
2009-10-19 11:18:59 +10:00
Peter Hutterer
5411e78bd5 xserver 1.7.0.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-12 14:12:45 +10:00
Alan Coopersmith
a4ce2aa634 Add platform tests for Dtrace linker magic
Replaces special handling for Xquartz DDX and scales better to handling
the multiple platforms that now have some level of Dtrace support available.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2009-10-07 17:24:03 -07:00
Alan Coopersmith
22fd21a71d Fix build of unit tests when dtrace probes are enabled
ar loses the dtrace probe magic when building static libraries, so we
have to link with the .O files in order to resolve the dtrace probe symbols.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-07 17:23:44 -07:00
Alan Coopersmith
8e3299eee8 Set XQUARTZ to no on non-Darwin OS'es
Fixes build with dtrace probes on Solaris after efacd7bfd0

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2009-10-07 17:23:06 -07:00
Peter Hutterer
5c35d07c3b Require libXtst >= 1.0.99.2 and libdmx >= 1.0.99.1
libXtst requirement is already implicit since we require xextproto 7.1 and
that doesn't go well with pre 1.0.99.2 versions of libXtst. Nonetheless,
list it explicitly.

Since d044027510 we require dmxproto 2.2.99.1.
Complementing that is libdmx 1.0.99.1 with the dmxext.h header file.

Reported-by: Mark Rosenstand
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit c629e0fc50)
2009-10-06 18:58:43 +10:00
Peter Hutterer
4257023c1e xserver 1.7.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-02 15:31:23 +10:00
Peter Hutterer
3788113618 configure: if xnest was requested but modules weren't found, fail.
Tested-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
(cherry picked from commit 64fe5784b4)
2009-10-02 13:27:57 +10:00
Peter Hutterer
290a9639db xserver 1.6.99.903 (xserver 1.7 RC3)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-28 21:05:11 +10:00
Peter Hutterer
8c83457c60 Merge remote branch 'origin/xorg-server-1.7-apple' into server-1.7-branch 2009-09-28 16:48:46 +10:00
Tilman Sauerbeck
6af44db315 configure: make XNEST default to auto.
When we're checking whether to build Xnest, we're comparing the
variable to auto but before it never was assigned that.

Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>

[Xnest was enabled to yes to increase build exposure and catch compiler
errors early. The requirements to Xnest are quite low and I expect most
developers have them, so Xnext will be enabled on most boxes. Anyone
missing those requires probably doesn't want to build Xnest anyway.]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 3db28f92b0)
2009-09-28 16:47:00 +10:00
Ben Byer
b49dba33f9 Add (ok, fix) support for DTrace under OS X
(cherry picked from commit 8428a57184)
2009-09-27 23:34:28 -07:00
Kevin E Martin
72f0194be1 dmx: reshuffle linker order to avoid errors when MITSHM is undefined.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit fc9d733bab)
2009-09-27 20:18:06 +10:00
Peter Hutterer
1745808c29 configure: Unify all library defines that require a specific version.
This patch moves all libraries that require a specific version into a single
location instead or duplicating them across the configure.ac file.
Libraries that do not require specific versions are left where they are.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 43a2eb794f)
2009-09-27 20:17:57 +10:00
Peter Hutterer
cecd484fbb Require libXext >= 1.0.99.4
Reported-by: Tilman Sauerbeck
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 9fa73be9fa)
2009-09-26 12:37:51 +10:00
Peter Hutterer
a9e2f7ac15 configure: fix up tslib check once again.
This patch addresses two issues:
The check for HAVE_TSLIB = xauto can never be true, the check has been
corrected to TSLIB = xauto.

Pre-pkgconfig versions of tslib fail to be found, this patch restores the
additional AC_CHECK_LIB. However, the pgk-config check must happen before
AC_CHECK_LIB, as AC_CHECK_LIB does not seem to honour the LD_LIBRARY_PATH.
Thus, if tslib is installed outside of the default paths, AC_CHECK_LIB
fails.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked--by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit 3b5bbb149d)
2009-09-25 09:14:58 +10:00
Peter Hutterer
9c1a18377a xserver 1.6.99.902 (xserver 1.7 RC2)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-22 12:58:34 +10:00
Peter Hutterer
4c8f834da6 configure: fix up check for tslib.
Reduce the tslib-check to the pkg-config check only instead of the previous
library symbol check followd by a pkg-config check.

This patch also reduces the required version of tslib back down to
tslib-0.0. Unfortunately, the 1.0 tarball available through
http://tslib.berlios.de/ still announces itself as 0.0.2.

Reported-by: Werner Landgraf
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-22 07:59:55 +10:00