Commit graph

32 commits

Author SHA1 Message Date
joerg
939aee86ce Update to xproto-7.0.18:
- support for noreturn on SunPro 5.9 and later
- Add _X_NORETURN macro
- disable visibility attributes on Cygwin
- Add XF86XK_TouchpadToogle
2010-09-10 20:07:29 +00:00
tnn
c0aed9755a Update to xproto-7.0.16. Changes:
Improves compatibility with some current OS'es, at the cost of
decreased compatibility with premillennial OS'es and pre-C89 compilers.

Death to RCS tags.
Remove all trace of X_NOT_STDC_ENV (#6527)
Remove a bunch of garbage for unsupported platforms.
__STDC__ is always defined in C89.
Use ## catenation not /**/
Remove #ifdef macII code left over from ancient A/UX 3.0 support
Removing dangling #else block from X_NOT_STDC_ENV removal
Use indentation to provide a map through the twisty maze of ifdefs, all alike
Drop support for SunOS 4 and Solaris releases older than 2.5 (1995)
Get rid of unneeded && clause in list of LP64 ifdefs in Xmd.h
Drop #ifdef USG checks for some truly ancient (pre-SVR4) SysV's
Don't need an #ifdef when both cases just include the same file
xproto 7.0.16
Apple: Only define _DARWIN_C_SOURCE if it isn't already defined
Cygwin/X: Don't destroy min/max macros in Xwindows.h
Restore macro definition of sleep(), needed by Xming
2010-01-15 18:03:32 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
0e89bfe838 Update to 7.0.15:
James Cloos (4):
      Add dead keysyms for DOUBLE GRAVE and INVERTED BREVE accents
      Add a dead_belowcomma keysym
      [keysymdef.h] Add dead_currency symbol.
      Bump to 7.0.15.

Paulo Cesar Pereira de Andrade (1):
      Janitor: Correct make distcheck and dont distribute autogen.sh

Peter Hutterer (1):
      Add XF86XK_Suspend and XF86XK_Hibernate keysym defs.

Sayamindu Dasgupta (1):
      Add dead vowels in keysymdef.h
2009-03-06 10:28:32 +00:00
hasso
75099ab593 Quick fix for DragonFly master with getpwnam_r and friends. 2009-01-01 21:56:16 +00:00
wiz
8142967387 Update to 7.0.14:
Bastien Nocera (1):
      Keysyms needed for some HID remote controls to work under X. #16519

James Cloos (2):
      fix typo in commit 40ed4eef
      Add dead_perispomeni to keysymdef.h

Peter Hutterer (5):
      Add keysyms for XF86XK_Battery, XF86XK_Bluetooth, XF86XK_WLAN,
      XF86XK_UWB.  Fix typos in comments (UP/DOWN TACK and LEFT/RIGHT
      TACK wrong way round).  Revert "Fix typos in comments (UP/DOWN
      TACK and LEFT/RIGHT TACK wrong way round)." Fix typos in
      comments (UP/DOWN TACK and LEFT/RIGHT TACK wrong way round).
      Bump to 7.0.14.
2008-10-24 16:13:37 +00:00
cube
403e256ff6 Merge cube-native-xorg, so that pkgsrc-current can be used with the native
X.Org found in NetBSD-current.

Thanks a lot to all who helped, especially Matthias Scheler who did
repeated tests on Mac OS X and older versions of NetBSD to make sure the
support for those platforms wouldn't be broken (or at least, not fatally,
as I would still expect a few hiccups here and there, because there is
only so much one can test in such limited time).

On the infrastructure side, this branch brings pkgconfig-builtin.mk, in
order to write very easily new builtin.mk files.  It can actually handle
more than just pkgconfig files, but it will provide a version if it finds
such a file.  x11.builtin.mk has also been made more useful and now all
existing (and future!) native-X11-related builtin.mk files should include
it.
2008-10-05 21:36:32 +00:00
wiz
33a6245945 Update to 7.0.13:
Alan Hourihane (1):
      avoid checking for fds_bits on mingw

Colin Harrison (2):
      Use winsock2.h
      Use Sleep() instead of sleep() on windows

James Cloos (2):
      Fix typo in XF86Keysym.h
      Add more dead key syms

Jeremy Huddleston (3):
      Apple: Cleaned up some Apple definitions
      Apple: Define _DARWIN_C_SOURCE otherwise _XOPEN_SOURCE,
      _POSIX_SOURCE, or _POSIX_C_SOURCE will cause fd_mask to not
      be defined due to the strict namespace
      Apple: Added a comment to explain _DARWIN_C_SOURCE

Markus Kuhn (1):
      Added comment to slightly discourage the definition of ever
      more Unicode keysyms

Peter Hutterer (2):
      Add GenericEvent and xGenericEvent definitions.
      Bump to 7.0.13.
2008-05-30 10:41:16 +00:00
tnn
9f2a42bc6b Switch master site to MASTER_SITE_XORG. 2008-05-24 21:45:14 +00:00
wiz
954f884e88 Update to 7.0.12:
Adam Jackson (1):
      x11proto 7.0.12

Alan Coopersmith (1):
      Make Xalloca.h work with Sun C++ compiler

Ben Byer (1):
      fd_mask needs to be defined on OS X, too

Daniel Stone (1):
      Check headers before testing for fds_bits access method (bug #8442)

Jeremy Huddleston (2):
      Changed __DARWIN__ to __APPLE__
      Fixed #ifdef checks that were using i386 to use __i386__
2008-03-07 20:03:18 +00:00
tron
12a974e2e1 Unbreak build of a lot of the "pange" package under Mac OS X Leopard.
Checking whether "X11_TYPE" is "xorg" is obsolete and *not* equivalent
to checking whether we are not using modular X.org.
2008-02-14 20:01:44 +00:00
joerg
9440aca7f7 Disable visibility code on Solaris, even when compiling with GCC 4.
From Gilles Dauphin in PR 37634.
2008-01-24 20:15:20 +00:00
wiz
fecffea32e Update 7.0.11:
bump to 7.0.11

    Describe what XF86XK_Display does (or now is meant to do).

    Add dead_abovecomma and dead_abovereversedcomma

    Also added aliases dead_psili and dead_dasia.

    The UCS unifies Combining Psili and Combining Dasia with
    Combining Comma Above and Combining Reversed Comma Above.
    These two aliases mirror that unification.

    Comment on the new locations of the files referenced in keysymdef.h
    keysymdef.h has a comment from the monolithic days suggesting that
    the file be kept in sync with mappings inxc/lib/X11/KeyBind.c and
    the protocol specication in xc/doc/specs/XProtocol/X11.keysyms.

    This commit adds pointers to the new locations of those two files.

    Add *~ to .gitignore to skip patch/emacs droppings

    bcopy needs definition in Xfuncs.h for Xming

    Added some more files to .gitignore.

    Enable GCC's visibility attributes on GCC 4 or greater only.

    Add keysym definitions from Jim Gettys.
2008-01-15 22:58:55 +00:00
rillig
863e9d140a pkgsrc doesn't have "xorg" anymore. 2008-01-06 00:08:30 +00:00
joerg
38af886787 Update to xproto-7.0.10. No functional changes. 2007-01-18 18:06:43 +00:00
joerg
df099bfa92 NetBSD doesn't provide _POSIX_THREAD_SAFE_FUNCTIONS, which broke
the pwent/grent accessor functions. Fix and bump revision.
2006-12-30 11:50:11 +00:00
joerg
8dabe168b8 Fix the fix of the typo. Bump revision again. 2006-12-23 15:31:29 +00:00
joerg
0988643082 For reasons beyond my compressions, (b)make handles
.if foo || bar
BAZ=	no
.else
BAZ=	yes
.endif

different from

.if foo
BAZ=	no
.elif bar
BAZ=	no
.else
BAZ=	yes
.endif

in some situations exposed in this builtin.mk. Workaround this for now.
2006-12-16 01:04:43 +00:00
joerg
1662e47171 Don't assume that we have a builtin version of the X11 proto packages,
if LOCALBASE and X11BASE are identical.
2006-12-15 20:43:00 +00:00
joerg
6359a506b8 Just include limits.h in Xos_r.h, don't play with _POSIX_SOURCE.
For example, configure plays dirty with that.

Fix a type in the MTSAFE_PWAPI section and the configure test for
NETDBAPI (from David Sainty).

Assume that readdir_r follows POSIX semantics if configure detected it
and we have no reason to believe so otherwise. Most importantly, use it
when _POSIX_REENTRANT_FUNCTIONS is not defined.

Bump revision.
2006-12-15 19:11:48 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
joerg
f1ad3246d7 Really bump API depends for Xos_r.h changes. 2006-11-03 17:04:38 +00:00
joerg
89471e6d1e Update to xproto-7.0.9:
- add _X_LIKELY and _X_UNLIKELY (branch prediction)
- define _X_INLINE for older compilers

Add patches to handle reentrancy in X11/Xos_r.h better
by detecting via autoconf whether the interfaces are
actually present.

As this change is needed on various change for xproto to work
correctly, bump BUILDLINK_API_DEPENDS.

Take maintainership.
2006-11-03 17:03:04 +00:00
reed
c5ab2f0f17 Update to 7.0.8.
Due to builtin.mk this is not used by default on most pkgsrc systems
that have good enough headers (or use Xorg).

Changes include:

    XF86keysym: add keyboard/monitor brightness controls (Bug #8120)
    Add XF86{Kbd,Mon}Brightness{Up,Down}, and XF86KbdLightOnOff.

    Xfuncproto: add _X_INLINE

    Bug #7458: AIX changes to Xmd.h

    Bugzilla Bug #7458 <https://bugs.freedesktop.org/show_bug.cgi?id=7458>
    Patch #6179 <https://bugs.freedesktop.org/attachment.cgi?id=6179>

    Add ISO_Level5_{Shift,Latch,Lock}.

    Bug #6887: Add dead_stroke, bump to 7.0.7. (Troy Korjuslommi)

    Bug #6296: Add support for Braille. (Samuel Thibault)

    Fix more comment typos.

    On Solaris, #include <sys/isa_defs.h> to be sure _LP64 is defined in 64-bit
        builds.
    Fix some comment typos.
2006-10-13 13:45:23 +00:00
rillig
d9579252ee Needs a C compiler. 2006-07-21 04:51:11 +00:00
joerg
19338c63c5 Don't use the builtin framework for the various Xorg components
when X11_TYPE=xorg. Let them include x11.buildlink3.mk directly.
Remove the manual USE_BUILTIN declarations from xorg-libs/b3.mk.
This fixes a symmetry in the dependency list depending on whether
xorg-libs is installed already or not.

Discussed with jlam@
2006-07-11 14:42:03 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
reed
4d28f1b9a7 Add builtin.mk. It is needed by x11-links. Also this works
so native XFree86 and Xorg and packaged xorg-libs will be used instead.
2006-04-19 12:19:47 +00:00
reed
3776faa5ee Change "wip" to "x11". 2006-04-18 17:10:50 +00:00
reed
93f318a749 Import xproto from pkgsrc-wip.
X protocol and ancillary headers from modular Xorg X11.
2006-04-18 17:06:39 +00:00