Commit graph

11 commits

Author SHA1 Message Date
Alan Coopersmith
f717637569 Strip trailing whitespace from source files
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`

`git diff -w` & `git diff -b` show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/99>
2025-08-02 14:39:03 -07:00
Alan Coopersmith
1914233e66 Xfuncproto: define _X_FALLTHROUGH for modern compilers
Can be used to tell the compiler that fallthrough between cases in
a switch statement is intentional.  Handles gcc >= 7 and clang >= 12
as well as all C23-compliant compilers.

Bumps xproto version to 7.0.34.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/96>
2025-04-22 09:59:16 -07:00
Alan Coopersmith
50671520ef Xfuncproto: define _X_NONSTRING for __attribute__((nonstring))
Bumps xproto version to 7.0.33

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
2020-10-10 14:22:24 -07:00
orbea
daffc5b462 pkgconfig: Drop exec_prefix from the .pc.in files.
This is not used by xorg-devel which contains only headers.
2020-08-24 15:01:44 +00:00
Jeremy Puhlman
91c1c8e149 Remove libdir from pc files.
Currently the pc files define libdir, however they are installed into
/usr/share, which means they should be architecture agnostic. In a
multilib system, xorg-proto built for each multilib abi, the value of
libdir is going to be different. These should either be installed in
<libdir>/pkgconfig or they shouldn't define libdir, espeically since
they don't actually use the definition. This specifically causes an
issue when trying to install both abis at the same time, since they are
not binary identical, something like rpm will complain that they
conflict.

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2018-06-13 11:40:13 -04:00
Adam Jackson
9ce02998c8 xproto: Bump to 7.0.32
Since 7.0.31 we've added four new keysyms (XF86XK_Keyboard, _WWAN,
_RFKill, and _AudioPreset).

Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-12 11:11:14 -05:00
Adam Jackson
7519914301 Fix .pc module versions
Just stuff the versions in the .pc file directly, @PACKAGE_VERSION@ is
the version set in configure.ac which is now different.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-01-16 11:13:00 -05:00
Daniel Stone
f97e34e65e Add includex11dir as a path to the includes, sans X11/.
Turn Xpoll.h into a generated file. In the modular tree, substitute in
    whichever of fds_bits or __fds_bits is being used for the member of
    fd_set on the system; in the monolithic tree, substitute in fds_bits
    unconditionally, as that's the way it was before thanks to
    _XOPEN_SOURCE being defined.
2005-07-22 08:01:39 +00:00
Søren Sandmann Pedersen
207e3f8201 - Add FSlib to symlink.sh
- Change Xtrans includedir back to be X11/Xtrans, so that users of it can
    continue to include <X11/*>
- Add build system for FSlib
- Conditionally include config.h in xc/lib/FS
- Remove redundant include of FSproto.h in xc/lib/FS
- Add check to proto/X11/configure.ac whether -D_XOPEN_SOURCE is needed.
2005-05-25 21:47:56 +00:00
Josh Triplett
a5a4bfe9b4 The macros in Xpoll.h poke at the guts of struct fd_set in ways that only
work if _XOPEN_SOURCE is defined, so define it in Cflags in the
    pkg-config file.
2005-05-23 01:22:10 +00:00
Kevin E Martin
803c8ecaba Initial build system files for proto module. 2005-05-06 01:46:31 +00:00