Commit graph

84 commits

Author SHA1 Message Date
Keith Packard
de9784eb1b Ignore built man page files 2005-07-11 09:26:40 +00:00
Keith Packard
0c258c36d1 Minor changes to help modular Xlib build i18n modules 2005-07-11 09:18:31 +00:00
Keith Packard
6e752ea120 Enable loadable i18n modules, making them configurable on the configure command line.
Clean up conditionals for XKB, XCMS, XLOCALEDIR
Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path.
Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data.
Split out xcms, xkb, xlibi18n sources from main xlib bits so they can be conditionally included more easily. Lots of source files have been moved with this step; the result seems like it might be easier to maintain.
Display message at end of configure script with selected options.
Fix manual building with cpp to add -traditional in cpprules.in. This isn't conditionalized at all, so it will break on systems not using GNU cpp.
2005-07-11 08:29:18 +00:00
Daniel Stone
b46cf0d879 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 2005-07-10 22:37:33 +00:00
Alan Coopersmith
6f2132b18e Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages 2005-07-09 20:06:04 +00:00
Alan Coopersmith
3939ac4410 - Since all but one line of all the nls/*/Makefile.am files are identical, move common bits to nls/localerules.in for easier updating and use automake includes to include in all the nls/*/Makefile.am files
- Don't assume $(CPP) can take gcc-only -traditional flag
- CPP process man pages as is done in the monolithic tree
2005-07-09 18:44:14 +00:00
Keith Packard
19ba9d0df8 Clean up .cvsignore files 2005-07-09 06:01:49 +00:00
Adam Jackson
f4bba6fa9b typo fix. i suck. 2005-07-09 02:53:29 +00:00
Adam Jackson
3305da61a6 Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) 2005-07-09 02:41:18 +00:00
Keith Packard
afdae2e8cc Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions 2005-07-08 07:11:56 +00:00
Keith Packard
86fa88dc59 Create and install XlibConf.h to provide external users of Xlibint.h the defines necessary to correctly use the library. Xlibint.h should #include this new file.
Add a bunch of .cvsignore files
2005-07-08 06:57:06 +00:00
Chris Less
30f6ffedea Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. 2005-07-04 23:01:48 +00:00
Eric Anholt
55328bb6ca Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. 2005-07-03 10:17:38 +00:00
Daniel Stone
726538ba21 Fix more include paths; add dix-config.h to XKB code. 2005-07-03 07:37:33 +00:00
Daniel Stone
8c7677138e Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-07-03 07:00:55 +00:00
Daniel Stone
197697c92a Fix objdir != srcdir, as well as make distcheck.
Don't attempt to create Compose.pre files; formatting fixes.
Added if not already present.
2005-07-01 22:13:35 +00:00
Søren Sandmann Pedersen
c162d60ad8 Apply these patches from Theo van Klaveren:
lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch
to make the libraries distcheck.
2005-06-22 22:46:31 +00:00
Alan Coopersmith
9ee8abdab0 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them 2005-06-18 07:48:43 +00:00
Daniel Stone
12afc57b7d Typo fix to locale/error/keysym location declarations. 2005-06-15 16:50:47 +00:00
Daniel Stone
9a895777e3 Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. 2005-06-15 13:37:43 +00:00
Daniel Stone
add4928566 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end.
Move ImUtil.h from src/ to include/X11/.
2005-06-15 13:32:35 +00:00
Daniel Stone
845dfc6b42 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 2005-06-15 13:27:48 +00:00
Daniel Stone
bba117f0d9 Remove pointless include of Xlib.h.
Fix #include path to bigreqstr.h.
2005-06-10 14:11:36 +00:00
Alexander Gottwald
1a0de49da1 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 2005-06-09 21:30:15 +00:00
Alexander Gottwald
af4f0f3026 Replace <X11/transport.c> with <X11/Xtrans/transport.c> 2005-06-09 15:55:33 +00:00
Alexander Gottwald
fd5f58e0ba Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h>
Copy Xtrans.h to exports/include/X11/Xtrans only
2005-06-09 15:52:02 +00:00
Alan Coopersmith
44538f9940 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 2005-06-05 03:29:33 +00:00
Alan Coopersmith
588e30e9ec Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 2005-06-04 22:53:21 +00:00
Alan Coopersmith
a547afee2e Bug #3436 <https://bugs.freedesktop.org/show_bug.cgi?id=3436> Conndis.c uses incorrect type for args to XdmcpWrap() (Mike Harris - mharris@www.linux.org.uk) 2005-06-04 21:20:20 +00:00
Matthieu Herrb
ca93c76155 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 2005-05-28 01:02:32 +00:00
Alan Coopersmith
09ebb34935 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 2005-05-22 19:05:11 +00:00
Alan Coopersmith
761219b1ef xtrans:
Create autoconf macro XTRANS_CONNECTION_FLAGS to provide standard set of --enable flags for which transports to support and common place to update for required libraries for platforms that need certain libs for certain transports
ICE:
Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro.
X11:
Moved transport type checks to new macro XTRANS_CONNECTION_FLAGS in xtrans.m4 in xtrans module so they can be shared by all modules using xtrans.
2005-05-21 23:07:48 +00:00
Alan Coopersmith
4b1ba6eb97 Quote $ac_cv_search_* variables to prevent errors from test when they are set to "none required" (as happens on Solaris since dlopen is in libc)
Comment out "override CC = gcc" line as it breaks builds with non-GNU makes, and its incorrect to force a specific compiler. Change LINK line from gcc to $(CC).
2005-05-21 04:26:12 +00:00
Adam Jackson
1d425d5e20 revert last change, didn't do right thing at all, sorry for the noise 2005-05-19 00:22:32 +00:00
Adam Jackson
1b0c46c1ae Require automake 1.7 in AM_INIT_AUTOMAKE 2005-05-19 00:10:07 +00:00
Søren Sandmann Pedersen
cd4657c175 - Check for xproto as its CFLAGS are needed in the .pc file 2005-05-17 22:32:09 +00:00
Egbert Eich
46e8d8a654 gcc4 allows to check if sentinels are correct (a sentinel is the terminating element in a varargs list). A sentinel needs to be NULL, not 0 - which doesn't make a difference on 32bit but matters on 64bit. Furthermore it can be told that functions have a printf-like format string and argument list so that they can verify that both match. To use these features certain attributes need to be set - which are compiler specific. To do this we define macros which are expanded depending on the compiler version. For now we put those in include/Xfuncproto.h (the XFree86 DDX layer contains a file compiler.h which however is not visible outside the DDX) (Bugzilla #3268). 2005-05-17 08:10:10 +00:00
23198d2bfb Make Xdmcp unconditionally required, require various protocol modules.
Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
Check for kbproto if using XKB.
Require xextproto rather than xextensions
Remove the entries from the xlibs tree, as they are not relevant here.
2005-05-16 22:35:27 +00:00
Søren Sandmann Pedersen
8bd3aea84c Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
Check for kbproto if using XKB.
2005-05-16 21:48:36 +00:00
9b1fa9ca3e Require xextproto rather than xextensions
Remove the entries from the xlibs tree, as they are not relevant here.
2005-05-16 21:27:35 +00:00
Søren Sandmann Pedersen
7eee605e3a - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...>
- For Xcomposite and Xdamage, don't link the build system out of the xc tree
- Link the public X11 headers into their own directory
- Add links to XKeysymDB and XErrorDB
- Add links to all the Xlib man pages
- Add links to the lcUniConv subdirectory
- Conditionally include config.h in Xlib source
2005-05-13 22:53:36 +00:00
Alan Coopersmith
6769ccda88 xc/lib/X11/ErrDes.c
//bugs.freedesktop.org/show_bug.cgi?id=132) Patch #2168 (https://bugs.freedesktop.org/attachment.cgi?id=2168) Replace a couple of BUFSIZE uses with better values to check against. Fixes by Stuart Anderson <anderson@netsweng.com>
2005-03-21 04:58:21 +00:00
Roland Mainz
3b9e8ece93 xc/nls/Compose/iso8859-2
xc/nls/Compose/iso8859-3
xc/nls/Compose/iso8859-9
//bugs.freedesktop.org/show_bug.cgi?id=2592) attachment #2156 (https://bugs.freedesktop.org/attachment.cgi?id=2156) Fix a couple of typos in ISO8859-* Compose files ("asciicircum" instead "of asciicirum"). Patch by Matthias Hopf <mhopf@suse.de>.
2005-03-19 22:04:55 +00:00
Alan Coopersmith
0ce5950a08 Bugzilla Bug 2006 (https://bugs.freedesktop.org/show_bug.cgi?id=2006) Patch #2031 (https://bugs.freedesktop.org/attachment.cgi?id=2031) XEmbed client doesn't receive key events from XIM: Use | to set a bit, not &. Patch by Hidetoshi Tajima <hidetoshi.tajima@sun.com>. 2005-03-08 02:53:36 +00:00
Roland Mainz
df341cd2f2 xc/nls/Compose/pt_BR.UTF-8
//bugs.freedesktop.org/show_bug.cgi?id=2400) attachment #1762 (https://bugs.freedesktop.org/attachment.cgi?id=1762): Fix build bustage caused by broken patch for brazillian locale support (see Bugzilla #1896). Patch by Kevin E. Martin <kem@freedesktop.org>.
2005-02-01 03:12:28 +00:00
Markus Kuhn
483d3973f5 cleaned up boundary-case handling for Uxxxx Unicode keysym notation 2005-01-28 18:31:31 +00:00
Roland Mainz
f234188a4c xc/nls/compose.dir
xc/nls/locale.dir
xc/nls/Compose/Imakefile
xc/nls/Compose/pt_BR.UTF-8
xc/nls/XI18N_OBJS/Imakefile
xc/nls/XI18N_OBJS/pt_BR.UTF-8
xc/nls/XLC_LOCALE/Imakefile
xc/nls/XLC_LOCALE/pt_BR.UTF-8
//bugs.freedesktop.org/show_bug.cgi?id=1896) attachment #1675 (https://bugs.freedesktop.org/attachment.cgi?id=1675): Add support for pt_BR.UTF-8 locale. Patch by Gustavo Noronha Silva, Branden Robinson, Julien Lafon.
2005-01-19 01:53:55 +00:00
Egbert Eich
7448ea7ef4 Made some security enhancements:
- no writing past end of buffer caused by bogus locale.
- explicitely add a \0 character at end of string. (Bugzilla #2262)
2005-01-14 18:03:09 +00:00
Roland Mainz
5557d47fcf xc/nls/compose.dir
xc/nls/locale.alias
xc/nls/locale.dir
//bugs.freedesktop.org/show_bug.cgi?id=1830) attachment #1674 (https://bugs.freedesktop.org/attachment.cgi?id=1674): Adding support for the bs_BA (bs, bs_BA, bs_BA.iso88592, bs_BA.ISO-8859-2, bs_BA.ISO_8859-2, bs_BA.UTF-8) locale. Patch by Vedran Ljubovic <vljubovic@smartnet.ba>.
2005-01-14 04:59:05 +00:00
Egbert Eich
1fa3737f04 'Normalize' locale names (ie. remove any '-' and '_' and convert to lower case after the <language>_<territory> part) before matching against locale.alias (Bugzilla #2262). This needs adequate testing that we don't accidentally introduce undesirable side effects. 2005-01-11 17:37:57 +00:00