Commit graph

38 commits

Author SHA1 Message Date
bsiegert
491aaa2662 Add -pthread on MirBSD, fixes build of dependent packages like libXpm.
I think that patch-aa is incorrect, at least on MirBSD. It supposes that
pthread_self is already in libc. However, I won't touch the patches
during the freeze.
2011-09-18 11:55:22 +00:00
bsiegert
86169ce9ef Add a pthread option for MirBSD, regenerate patch-ac using autoconf-2.65nb1
to minimize its size.

No change for other platforms, thus no package revision bump.
2011-09-15 19:50:14 +00:00
joerg
699380fabd When building with clang, pull in devel/ucpp for the man page
processing. XXX should be fixed upstream to use sed
2011-07-19 13:59:45 +00:00
joerg
32c80e39ed Only pull in xcb if it this is modular Xorg or the native one has it.
First half of PR 43868, builtin.mk for libxcb is the rest.
2010-09-11 18:47:09 +00:00
joerg
e12cfc4e1a Update to libX11-1.3.5:
- Enable XCB support [pkgsrc]

- Improve I18N support
- Various bug fixes, including use-after-free and XCB thread fixes
2010-09-10 20:28:03 +00:00
tnn
68b1e1f70a wire down FILE_MAN_SUFFIX 2010-01-15 21:20:14 +00:00
tnn
e5c88f7ecd Update to libX11-1.3.2.
1.3.2:
Alan Coopersmith (2):
Add man page for Compose file format
libX11 1.3.2
Add extra configuration and sanity checks for groff and ps2pdf
Add smiley faces to compose sequences.
Fix VPATH build of libX11 specs

1.3.1:
Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris
Move libX11 & XIM/locale specs from xorg-docs
Use $(AM_V_GEN) to silence echo commands for generating shadow man pages
Fix make distcheck
libX11 1.3.1
Split CFLAGS into CPPFLAGS and CFLAGS
Include sys/select.h for select() and struct timeval, if it exists
configure: quote argument to m4_pattern_forbid
Use AM_V_GEN instead of customized macros for AM_SILENT_RULES
dolt: add Cygwin to supported platforms
Provide _Xsetlocale compat wrappers on Cygwin

1.3:
Convert Xkb API man pages to ANSI prototypes
XkbSAActionSetCtrls.man: Fix typo in formatting macro
XkbQueryExtension.man: Arguments should be pointers
XkbSetDeviceButtonActions.man: remove non-existent actions argument
Fix version tag in .TH line of several XKB man pages
Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS
Add AM_SILENT_RULES support for cpp rules for man & nls files
Use make rules instead of shell for loops to generate shadow man pages
Add perl script to check for duplicate or conflicting compose file entries
Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8
Bug 24173: libX11 from git fails to build with automake older then 1.11
Add some (Serbian) Cyrillic NFD sequences.
man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections
man: use __libmansuffix__ instead of 3X11 for references to other pages
man/xkb: delete spurious newline in .TH headers
Fix wrong typedef on HP-UX (#18998)
Don't require xdmcp in configure.ac (#22583)
man: XQueryTree may return BadWindow. (#23416)
man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499)
Add XF86TouchpadToggle to XKeysymDB
nls: remove duplicate Compose sequences from pt_BR.UTF-8
libX11 1.3

1.2.99.901:
nls: add {left,right}wards arrow to compose table
Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h
Update library version for new symbols
Bump to 1.2.99.1
Add generic event cookie handling to libX11.
Add utlist.h to the Makefile.am
Fix compiler warning 'unused variable qelt'
Bump to 1.2.99.901 (1.3 RC1)
2010-01-15 18:55:11 +00:00
tnn
f086b6948b Drop MAKE_JOBS_SAFE=no.
Built OK with MAKE_JOBS=16 three times.
2009-10-22 19:32:01 +00:00
tnn
9083691bac Invoke the C preprocessor in a portable manner on all non-GCC compilers.
This is PR pkg/39879.
2009-09-22 19:34:05 +00:00
wiz
8d825b5cdb Update to 1.2.2:
Adam Jackson (1):
      Remove X_NOT_STDC_ENV usage. (#6527)

Alan Coopersmith (4):
      Revert "Change masculine to ordmasculine in Compose file comments"
      Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE
      Correct return type in XkbGetKeyboard man page
      Drop ancient USG SysV #ifdefs

Caolan McNamara (1):
      man: missing space in XAllocColor man page

Christoph Pfister (1):
      X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c)

James Cloos (3):
      [nls] Remove combining_ keysyms from the Compose files
      [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences.
      [nls] Replace remaining UCS Combining Characters in Compose sequences.

Julien Cristau (4):
      Fix fi_FI.UTF-8, again
      nls: remove duplicated en_US* aliases
      nls: remove broken sd_IN.UTF-8 alias
      nls: remove more duplicated aliases

Peter Hutterer (3):
      XWindowEvent/XCheckWindowEvent must not return GenericEvents.
      XMaskEvent/XCheckMaskedEvents must not check for GenericEvents.
      Bump to 1.2.2

Theppitak Karoonboonyanan (3):
      CharSet-to-CompoundText Conversion Failed for Thai Locales
      Thai XIM not filters when NumLock or CapsLock is on
      Thai XIM not retrieve MB surrounding on UTF-8 LC

parag (2):
      libX11: Add new Indic language information to nls directory files. #21560
      nls: Add pa_PK locale information and make pa_IN as default for pa.
2009-07-18 10:20:51 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
wiz
c1c597a7d6 Update to 1.2.1:
Alan Coopersmith (21):
      flags member of Display structure needs to be marked volatile
      Incorporate char range comments from Solaris version of ksc5601.h
      Incorporate more locale names/aliases from Solaris libX11
      Add --with-locale-lib-dir configure option to set locale lib install dir
      Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error
      Bug 9953: Please provide locale alias hu_HU.utf8
      Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr)
      Bug 14651: We need to add new locale specification for Belarusian Latin locale
      Bug 10082: Compose entries for some standard mathematical operators
      XErrorDB additions for RANDR 1.3
      XErrorDB additions for XInput errors and new XInput 1.5 requests
      XErrorDB additions for DRI2 requests
      Remove ifdef checks for macII left over from ancient A/UX 3.0 support
      When makekeys fails to find a good hash, print error instead of divide-by-zero
      makekeys: combine malloc(strlen)+strcpy into strdup
      Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c
      Delete some unused "#ifdef notdef" static functions
      Change masculine to ordmasculine in Compose file comments
      Further ansify prototypes & reduce #ifdefs in locking.c
      Fix a several sparse warnings: Using plain integer as NULL pointer
      Version bump: 1.2.1

Caolan McNamara (1):
      Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature

Chris Ball (2):
      Build fix for fi_FI.
      Fix fi_FI locale install directory.

Emilio Jesús Gallego Arias (1):
      xcb_io: Avoid datatype overflow on AMD64 and friends.

Julien Cristau (2):
      nls: actually use the fi_FI.UTF-8 files
      Add a ru_RU.UTF-8 locale

Lubos Lunak (2):
      XGetErrorText() fails for extension error codes equal to the error base
      XErrorDB updates for XTEST, RANDR, DAMAGE extensions

Mlos Komarcevic (1):
      Bug 11456: Serbian locale updates (sr_RS and sr_ME)

Paul Bender (1):
      Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb

Xue Wei (4):
      Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan
      Add locale aliases for no_NO & sh_BA locale variants
      Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk
      Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA

Yaakov Selkowitz (Cygwin Ports maintainer) (1):
      Bug 20773: Xcursor dynamic loading on Cygwin
2009-06-06 22:37:28 +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
b78733df73 Update to 1.2:
New libX11 release to go with libxcb 1.2.

Some more fixes, janitorial work, NLS updates, and the long-awaited
addition of ☭ and ♥ to your favorite Compose file.  Details follow in
the shortlog from 1.1.99.2.

Cheers,
Julien

Adam Jackson (1):
      Fix leak in _XimXGetReadData

Alan Coopersmith (1):
      Add README with pointers to mailing list, bugzilla & git repos

Brian Rogers (1):
      Initialize event_notify after allocating the memory for it.

Colin Harrison (1):
      Fix copy/paste typo in imLcPrs

James Cloos (7):
      [nls]  Add some UTF-8 Compose sequences
      [nls] Annotate the Bépo compose sequences
      Use C comments rather than initial doubled hashes to exclude lines from .pre files
      Revert "For nls/*.pre, allow people to comment lines by starting them with '##'."
      [i18n] s/U00DC/Udiaeresis/g
      NLS: Add UTF-8 compose file for Finnish
      dolt: allow older versions of bash to compile the library

Jeremy Huddleston (1):
      Force local transport when using the launchd socket.

Julien Cristau (2):
      Check Xmalloc return value in _XConnectXCB
      Bump to 1.2

Ken Thomases (1):
      [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202)

Paulo Cesar Pereira de Andrade (10):
      Janitor: ansification, make distcheck, compiler warnings.
      Janitor: Correct some gcc/sparse warnings.
      patches to avoid gcc warnings for libX11 (#1)
      patches to avoid gcc warnings for libX11 (#2)
      patches to avoid gcc warnings for libX11 (#3)
      patches to avoid gcc warnings for libX11 (#4)
      WORD64 compile fix. This bug catched on a overview of the code.
      Don't add prototypes for functions that don't exist.
      Allow multiple inclusions of cursorfont.h, cosmetic patch.
      Check if a function argument is NULL.

Peter Hutterer (2):
      Add XF86Suspend, XF86Hibernate to KeysymDB.
      Fix wrong implies symbol.

Stefan Dirsch (3):
      Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182).
      Added remaining xlib patch required for gb18030 support (#1573).
      Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299).

Will Thompson (2):
      Add two essential compose sequences
      NLS: Compose: Non-aliasing CCCP

vehemens (1):
      [i18n] Distribute new headers which were added for gb18030 support.
2009-02-21 16:44:29 +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
bjs
cdeb921a6f Update to libX11-1.1.5: integrates the patches listed as removed
as well as a number of i18n fixes.
2008-09-16 21:57:09 +00:00
bjs
7e7069fbf2 Properly define XTHREAD_CFLAGS/XTHREADLIB on NetBSD: We do not
want -pthread in XTHREAD_CFLAGS, as this will end up linking everything
against libpthread.  Thus, in keeping with our gcc specfile, define
_REENTRANT in XTHREAD_CFLAGS instead.  XTHREADLIB is now
-pthread, not -lpthread.

While here, update to head of libX11-1.1 branch in GIT (with the
exception of some unicode changes which caused mkpatches to choke).

changes:

 - IM: Respect XMODIFIERS for Thai locale (bug #15719)
 - Bug #15884: Remove useless sleep()'s from the connection code.
 - NLS: Make UTF-8 the default for Russian
 - ConnDis: properly cast 'addr' before accessing it as a byte array.
 - added error check in Xcms color file parser; closes bug #15305
 - Fix missing error condition in cmsColNm.c, also.

Bump PKGREVISION.
2008-07-24 01:07:31 +00:00
tnn
9f2a42bc6b Switch master site to MASTER_SITE_XORG. 2008-05-24 21:45:14 +00:00
tnn
aa0c6bbf57 Fix build on OSF1.
If including <pthread.h>, it is mandatory to compile with -pthread.
2008-05-24 20:15:46 +00:00
tnn
e8852f69f4 Some of the X.org packages assume that the C preprocessor will use stdin
if no filename given, but this isn't true with the native HP compiler, so
teach them to use '-' explicitly.

XXX using cpp(1) to postprocess manpages is ugly, most of the other X.org
packages seem to have been converted to use sed(1).
2008-05-16 13:48:41 +00:00
joerg
f8f9e4deb6 Make sure that configure includes pthread.h when checking for pthread
stubs as they are macros at least on NetBSD. Bump revision.
2008-04-24 07:45:49 +00:00
wiz
17e9bc69a1 Update to 1.1.4:
Adam Jackson (2):
      Bug #14029: Don't LockDisplay() recursively.
      libX11 1.1.4

Alan Coopersmith (6):
      X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man
page
      XErrorDB updates for Render 0.9 & XFixes 4.0
      Add WM_LOCALE_NAME to list of properties set in XSetWMProperties
comment
      Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp
errors from #
      Add support for building lint library with --enable-lint-library
      Man page typo fixes

Anton Zinoviev (1):
      Additions to the Compose file for UTF-8

Daniel Stone (1):
      Colours: Fix --disable-xcms

Eric Anholt (2):
      Add XF86 keyboard/monitor brightness keysyms to the keysymbdb.
      Bug #2081: Note the range limitation of XSetScreenSaver arguments.

Eric S. Raymond (9):
      Bug #9516: Markup error in XAllocWMHints.3x
      Bug 9523: Markup problems in XQueryExtension.3x
      Bug #9650: Bad markup in XLoadFont.3x manual page
      Bug #9651: Bad markup in XcmsColor.3x
      Bug #9652: Bad markup in XDrawArc.3x
      Bug #9653: Bad markup in XQueryColor.3x
      Bug #9654: Bad markup in XrmGetFileDatabase.3x
      Bug #9655: Bad markup in XrmUniqueQuark.3x
      Bug #9658: Bad markup on XIfEvent.3x

Ian Romanick (1):
      Make sure nls/am_ET.UTF-8/Makefile is created by configure.

James Cloos (12):
      Fix SMP Compose targets
      Add some compose sequences
      Compose fix for Latin-1 (from Debian)
      Add additional Euro signs to compose
      Patch for Catalan locales
      Add compose file for Ethiopic to match new keyboard in
xkeyboard-config
      Fix typo
      Use the new dead_psili and dead_dasia keysyms added to
proto/x11proto 7.0.11
      Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file
      Update the currency symbols block of en_US.UTF-8/Compose.pre
      Add <dead_stroke> compose sequences
      add a comment to en_US.UTF-8/Compose

Jamey Sharp (1):
      Two threads can request sequence sync and XID fetch
simultaneously.

Jeremy C. Reed (1):
      Fix a mutex reference-counting bug.

Jeremy Huddleston (3):
      Define __DARWIN__ when host_os =3D=3D darwin* as needed in SetLocale.=
c
      Use __APPLE__ instead of __DARWIN__
      Added launchd support.

Kim Woelders (1):
      Fix bs_BA entries in locale.dir.pre

Kristian H=C3=B8gsberg (1):
      Add GLX 1.4 requests and errors.

Samuel Thibault (1):
      X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man

S=C3=B8ren Sandmann Pedersen (1):
      XIM: Fix a hand when switching input context.

Yann Droneaud (1):
      XIM: Properly initialise client event
2008-04-17 12:33:56 +00:00
tron
fd72e9fcdc Initialize the prefix properly when we detect a builtin "libX11". 2008-04-01 13:46:13 +00:00
tnn
ff0ea425d0 ... wrong patch, this one has the final #endif 2008-01-14 07:12:53 +00:00
tnn
bafb37be43 HP-UX is icky in that EAGAIN != EWOULDBLOCK and select(2) can return both
things. Fortunately libX11 has code to handle this already. Enable it
for HP-UX.
2008-01-14 06:50:51 +00:00
tron
f84bd2a4cb Rename variable to be consistent with other "builtin.mk" files. 2007-12-15 15:26:15 +00:00
tron
3bcf5449e9 Detect builtin "libX11" e.g. under Mac OS X Leopard. 2007-12-15 15:21:53 +00:00
joerg
eae2e658f2 Update libX11 to 1.1.3:
- man page fixes
- reset hostname when setting it internally for consistency
- fix XGetMotionEvents argument order
- locking fixes
2007-08-05 22:39:38 +00:00
joerg
7fc035c0fe USE_CROSS_COMPILE is always defined, just use it. 2007-08-01 16:50:24 +00:00
joerg
4bb0dfb5ac Teach libX11 about cross-compilation:
- define an automake conditional for cross-compilation
- build xmakekeys in addition to makekeys when using
  cross-compilation. Provide manual compiliation rules to replace
  the default automake rules. We do use X11_CFLAGS, but we do *not*
  want CFLAGS as the latter can contain platform specific flags like
  -mieee on Alpha.
- Use either xmakekeys or makekeys depending on whether this is a native
  build or not.

Supported-by: Google SoC 2007
2007-08-01 16:46:16 +00:00
joerg
b46f40e01c Update do libX11-1.1.2. Major changes include:
- fixed integer overflows [ patched before ]
- fixed file descriptor leak
- allow re-entrant Xlib calls from _XIOError for the sake of
  atexit handlers or ELF/C++ destructors
- define XTHREADLIB and XTHREAD_CFLAGS [ not perfect, but used for now ]
- Many constness and some 64bit issues fixed
- Added man apge for XKB

Add a NetBSD xsrc patch to unlock mutexes before destroying them.
2007-07-12 15:01:59 +00:00
joerg
fa3e8e36f9 Wire down malloc(0) != NULL for more Xorg packages on NetBSD. 2007-07-03 13:35:49 +00:00
drochner
7e90b1e274 fix a possible memory corruption due to incomplete input validation in
XInitImage()
(CVE 2007-1667)
bump PKGREVISION
2007-04-03 20:28:38 +00:00
joerg
c91a145f22 Update to libX11-1.1.1:
Changes include:
- fix use-after-free
- fix dependency on inputproto
- XListFontsWithInfo
- avoid calling callbacks to applications with holding the display lock
- fix leaks in XKB
- fix compose entries in the NLS lists
- fix display locking in XKB
- fix double open of compose file
- fallback to unix domain or TCP connections, when the local connection
  failed

Note that XCB is currently not active as I don't think it is currently
useful or stable enough.
2007-01-23 19:47:53 +00:00
joerg
0381550c33 To keep the status quo, set X11_LDFLAGS here for X11_TYPE=modular. 2007-01-02 11:35:13 +00:00
joerg
350177ef79 No need to include bsd.prefs.mk here. 2006-12-20 15:09:12 +00:00
joerg
68ff4729c6 First step to making modular transparent:
Redirect from the individual modular libraries to the old libs or
mk/x11.buildlink3.mk.
2006-11-05 16:55:28 +00:00
joerg
df66ce9775 Import libX11-1.0.3 from pkgsrc-wip:
This is the libX11 library that is the C binding to the X protocol. It
is the foundation of practically every X Window System program out there.

This is from the modular X.org X11 project.
2006-11-03 18:11:18 +00:00