Commit graph

638 commits

Author SHA1 Message Date
Thien-Thi Nguyen
ccf21a8877 libX11: Fix comment: Invert polarity (direction) of reformat description.
Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org>
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-11 20:54:38 -08:00
Osamu Sayama
4d4676c0d6 set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70
- In set_fontset_extents, check font_data is not NULL before running
  loop that may increment it to a non-NULL invalid pointer.
- Make sure get_rotate_fontname counts the final field

Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-01-06 13:17:40 -08:00
Alan Coopersmith
87529c0390 Merge X11, XKBPROTO, & XPROTO pkg-config lists
Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS
in configure.ac anyway, might as well combine the lists passed to
PKG_CHECK_MODULES to reduce duplication in the flags.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Rémi Cardona <remi@gentoo.org>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-01-06 13:17:12 -08:00
Alan Coopersmith
2dd053667b Add XCompose man page shadow for Compose man page
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-05 18:28:48 -08:00
Alan Coopersmith
02543bba81 Add $(AM_V_GEN) to silence lint rules too
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-05 18:28:48 -08:00
Alan Coopersmith
db7c6fdeea Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-05 18:28:48 -08:00
Gaetan Nadon
6b4e526e7b configure.ac: restore correct order for XORG_DEFAULT_OPTIONS
It must be following AC_USE_SYSTEM_EXTENSION
2009-11-29 10:44:24 -05:00
Gaetan Nadon
3dbaa11d1c Add .gitignore in /specs for generated files
Being in /specs, it will apply for all 3 subdirs
2009-11-29 10:01:44 -05:00
Gaetan Nadon
f45d39d37a Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
2009-11-27 20:56:03 -05:00
Gaetan Nadon
464390f16d INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Add missing INSTALL file. Use standard GNU file on building tarball
README may have been updated
Remove AUTHORS file as it is empty and no content available yet.
Remove NEWS file as it is empty and no content available yet.
2009-11-14 09:26:16 -05:00
Gaetan Nadon
6360e7f0ce Deploy the new XORG_DEFAULT_OPTIONS #24242
This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.
2009-11-14 09:26:16 -05:00
Gaetan Nadon
d02f943c98 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
ChangeLog filename is known to Automake and requires no further
coding in the makefile.
2009-11-14 09:26:16 -05:00
Gaetan Nadon
f77c89c751 .gitignore: use common defaults with custom section # 24239
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
2009-11-14 09:26:16 -05:00
Alan Coopersmith
46c7b0e9d0 Add compose-check.pl to EXTRA_DIST
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-11-12 23:05:40 -08:00
Julien Cristau
54c64267cc man: fix XCopyGC argument order
Ubuntu bug#408337
2009-10-29 17:41:02 +01:00
Alan Coopersmith
aad1003265 libX11 1.3.2
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-23 13:55:14 -07:00
Peter Hutterer
6303ada89c Add smiley faces to compose sequences.
I wonder how we could have lasted that long without them.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Daniel Stone <daniel@fooishbar.org>
Acked-By: James Cloos <cloos@jhcloos.com>
2009-10-23 13:53:56 -07:00
Alan Coopersmith
0e104ebd86 Add man page for Compose file format
Based on grammar description in modules/im/ximcp/imLcPrs.c and
note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-22 23:12:30 -07:00
Jeremy Huddleston
9c95f2af7c Add extra configuration and sanity checks for groff and ps2pdf
1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these
   environment variables.
2) Check that groff -ms works

Some distributions ship the ms macros as a separate package which may
not be installed together with groff, so we need to make sure that groff
works and the required macros are actually installed before attempting
to build the specs.

Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2009-10-20 12:54:46 -07:00
Yaakov Selkowitz
d3f801fd2f Fix VPATH build of libX11 specs
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2009-10-19 10:56:44 -07:00
Alan Coopersmith
ad15e1a89d libX11 1.3.1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-17 16:43:19 -07:00
Alan Coopersmith
0cbf98c17a Fix make distcheck
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-17 16:43:12 -07:00
Alan Coopersmith
082e62ad26 Use $(AM_V_GEN) to silence echo commands for generating shadow man pages
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-16 19:25:35 -07:00
Alan Coopersmith
4e66da0783 Move libX11 & XIM/locale specs from xorg-docs
If groff is found, and --disable-specs is not passed to configure,
specs will be converted to text, html and ps (or pdf if ps2pdf is
found) and installed to $(docdir)

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-14 16:18:24 -07:00
Yaakov Selkowitz
5d3d817a42 Provide _Xsetlocale compat wrappers on Cygwin
Previous versions of Cygwin did not have proper locale support, so Cygwin/X
defined X_LOCALE, using _Xsetlocale instead.  Cygwin 1.7 has added locale
support, but we can't remove the _Xsetlocale entry point without breaking
ABI.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2009-10-14 13:57:59 -07:00
Yaakov Selkowitz
2c8b3a877a dolt: add Cygwin to supported platforms
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2009-10-14 13:57:45 -07:00
Alan Coopersmith
a2c8e3e34b Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris
Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-14 13:23:30 -07:00
Jon TURNEY
34ddfca7b7 Include sys/select.h for select() and struct timeval, if it exists
This is a cygwin build fix
2009-10-14 01:25:16 +01:00
Xake
383165916d Use AM_V_GEN instead of customized macros for AM_SILENT_RULES
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-08 08:29:58 -07:00
Julien Cristau
854269d55c configure: quote argument to m4_pattern_forbid
Without this, configure spits out
../configure: line 12364: ac_fn_c_check_member: command not found
../configure: line 12378: ac_fn_c_check_type: command not found

Also anchor the pattern to make it stricter.

Signed-off-by: Julien Cristau <jcristau@debian.org>
2009-10-06 16:12:45 +02:00
Jeremy Huddleston
3bb020587c Split CFLAGS into CPPFLAGS and CFLAGS
On some build systems, CPPFLAGS is set to "-I/some/prefix/include".  If older
X11 headers are in /some/prefix/include, they will be preferred over the
shipped headers.  This corrects that problem.
2009-10-01 22:20:38 -07:00
Peter Hutterer
d54caf1c9c libX11 1.3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-02 12:15:38 +10:00
Peter Hutterer
dd201bcf9e nls: remove duplicate Compose sequences from pt_BR.UTF-8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-10-02 12:15:38 +10:00
Peter Hutterer
a293ae9e83 Add XF86TouchpadToggle to XKeysymDB
Lenovo laptops provide a key to enable or disable the touchpad and the
trackstick. This key is usually located on Fn + F8.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Adam Jackson <ajax@redhat.com>
2009-10-02 10:54:50 +10:00
Alan Coopersmith
69839f8903 Bug 24173: libX11 from git fails to build with automake older then 1.11
AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the
Makefiles, instead of after.
<http://bugs.freedesktop.org/show_bug.cgi?id=24173>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-27 10:36:06 -07:00
Alan Coopersmith
f5effd041f Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-18 17:13:05 -07:00
Alan Coopersmith
3843778358 Add perl script to check for duplicate or conflicting compose file entries
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-18 17:13:05 -07:00
Alan Coopersmith
19cc5e1fa1 Use make rules instead of shell for loops to generate shadow man pages
Allows parallel make and simpler build logs/error reporting

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-18 17:13:04 -07:00
Alan Coopersmith
7dabcac973 Add AM_SILENT_RULES support for cpp rules for man & nls files
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-18 17:13:04 -07:00
Alan Coopersmith
bfa19cddd8 Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-18 17:13:04 -07:00
Mikko Niskanen
51396066c8 Fix wrong typedef on HP-UX (#18998)
shl_dt doesn't exist, the type is shl_t.

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

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-04 10:12:06 +10:00
Paul Bender
615220a312 Don't require xdmcp in configure.ac (#22583)
X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-04 10:05:21 +10:00
Peter Hutterer
20f9ecd86a man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499)
X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-03 14:02:44 +10:00
Peter Hutterer
c2814a614d man: XQueryTree may return BadWindow. (#23416)
X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-03 12:07:44 +10:00
Alan Coopersmith
dbe98d456c Fix version tag in .TH line of several XKB man pages
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-08-28 23:07:58 +08:00
Alan Coopersmith
bf24400936 XkbSetDeviceButtonActions.man: remove non-existent actions argument
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-08-28 23:04:38 +08:00
Alan Coopersmith
53affa9335 XkbQueryExtension.man: Arguments should be pointers
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-08-28 23:00:17 +08:00
Alan Coopersmith
6233948885 XkbSAActionSetCtrls.man: Fix typo in formatting macro
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-08-28 22:53:03 +08:00
Alan Coopersmith
28a9ca57cd Convert Xkb API man pages to ANSI prototypes
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-08-28 22:49:31 +08:00
James Cloos
fa2eecca85 Add some (Serbian) Cyrillic NFD sequences.
A number of characters in use in the various countries which use the
Cyrillic script do not appear as pre-composed characters in The UCS
or Unicode; they are only available as combining-character sequences.

This commit adds support for using (prefix) dead keys and Multi_key-
initiated sequences to enter a number of these combining-character
sequences.  This ensures that users can enter these scripts even
when using the current Cyrillic keymaps, which lack support for
the combining characters.

Please see the discussions on the xkb mailing list.

Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-08-24 06:35:17 -04:00