Commit graph

73 commits

Author SHA1 Message Date
wiz
e0985818ef libX11: update to 1.6.12.
Christopher Chavez (1):
      Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage

Felix Yan (1):
      Correct a typo in GetStCmap.c

Matthieu Herrb (2):
      Fix an integer overflow in init_om()
      libX11 1.6.12

Maya Rashish (1):
      Avoid the use of "register" keyword in XkbTranslateKeySym.

Niclas Zeising (1):
      Fix input clients connecting to server
2020-08-26 10:28:03 +00:00
wiz
da62b1b75b libX11: update to 1.6.11.
Alan Coopersmith (1):
      libX11 1.6.11

Yichao Yu (1):
      Fix size calculation in `_XimAttributeToValue`.
2020-08-07 20:20:40 +00:00
maya
1d9a063402 libX11: backport patch fixing regression from upstream. bump PKGREVISION 2020-08-04 15:50:19 +00:00
maya
5e9060bb80 libX11: update to 1.6.10
Heap corruption in the X input method client in libX11
======================================================

CVE-2020-14344

The X Input Method (XIM) client implementation in libX11 has some
integer overflows and signed/unsigned comparison issues that can lead
to heap corruption when handling malformed messages from an input
method.

Patches
=======

Patches for these issues have been commited to the libX11 git repository.
libX11 1.6.10 will be released shortly and will include those patches.

https://gitlab.freedesktop.org/xorg/lib/libx11

commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d (HEAD -> master)

    Change the data_len parameter of _XimAttributeToValue() to CARD16

    It's coming from a length in the protocol (unsigned) and passed
    to functions that expect unsigned int parameters (_XCopyToArg()
    and memcpy()).

commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2

    Zero out buffers in functions

    It looks like uninitialized stack or heap memory can leak
    out via padding bytes.


commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60

    Fix more unchecked lengths

commit 388b303c62aa35a245f1704211a023440ad2c488

    fix integer overflows in _XimAttributeToValue()


commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e

    Fix signed length values in _XimGetAttributeID()

    The lengths are unsigned according to the specification. Passing
    negative values can lead to data corruption.

Thanks
======

X.Org thanks Todd Carson for reporting these issues to our security
team and assisting them in understanding them and providing fixes.
2020-07-31 16:36:55 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
wiz
b7de5822c0 libX11: update to 1.6.9.
1.6.9

A collection of build and documentation fixes, one preparatory change
for a new xorgproto release, and a fix for a deadlock bug in _XReply.
Thanks to all who contributed.

Adam Jackson (3):
      makekeys: Detach ourselves from X headers entirely
      xkb: Provide <X11/extensions/XKBgeom.h> ourselves
      libX11 1.6.9

Dmitry Osipenko (1):
      Fix lockup in _XReply() caused by recursive synchronization

Ross Burton (1):
      src/util/Makefile: explicitly reset LINK to not use libtool

Thomas E. Dickey (6):
      the last commit overlooked some fake-quote pairs
      another fake-quote fix
      trim trailing whitespace from manpages
      split lines at sentence endings
      fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/"
      improve some formatting

Walter Harms (8):
      note that we can handle kbd==NULL
      remove in-text macros
      replace home grown .ZN with std, .B and .BR
      fix TBL format
      Replace home-grown .Ds .De macro with man page .EX/.EE macro
      remove all private macro defines
      get rid of ``fake quotes''
      fix ``fake quotes'' in text

1.6.8

Adam Jackson (2):
      _XDefaultIOError: Reformat to be less ugly
      _XDefaultIOError: Do better at detecting explicit shutdown

Alan Coopersmith (23):
      Remove documentation of obsolete B16 & B32 tags in specs/libX11
      Update README for gitlab migration
      Import reallocarray() from OpenBSD
      Convert main src directory to use reallocarray()
      Convert src/XKB to use reallocarray()
      Convert src/xcms to use reallocarray()
      Add some missing allocation failure checks in src/xcms
      Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray
      Replace Xmalloc+strcpy pairs with strdup calls
      Convert src/xlibi18n to use reallocarray()
      Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb
      Remove no-longer-used name variable in _XGetAtomName
      Fix implicit conversion warnings in _XlcCreateDefaultCharSet
      Avoid use-after-free in _XimProtoSetIMValues()
      Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask
      XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys
      specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry()
      specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows()
      specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys()
      specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys()
      XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris
      Include reallocarray.h in tarballs so "make distcheck" passes
      Add missing close paren to XrmGetStringDatabase synopsis in man page

Albert Astals Cid (2):
      compose.dir: Add ast_ES.UTF-8
      locale.dir: Add ast_ES.UTF-8

Jon Turney (4):
      Add autoconf checks for headers we include for FIONREAD
      Remove makekeys dependency on X headers
      Use EXEEXT_FOR_BUILD for makekeys
      Avoid using libtool wrapper for makekeys

Josh Triplett (1):
      compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences

Matt Turner (2):
      Use AC_SYS_LARGEFILE
      libX11 1.6.8

Matthias Dieter Wallnöfer (5):
      locale.dir.pre - fix the de_LI latin15 locale
      Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH)
      compose.dir.pre - add de_IT locale
      locale.dir.pre - add the de_IT locale
      locale.alias.pre - add the de_IT locale

Pavel Labath (1):
      Fix a leak in XCreateFontSet

Ran Benita (1):
      Compose.man: fix escaped hexadecimal char description

Samuel Thibault (1):
      Braille: Fix typing quickly

Tapani Pälli (1):
      Protect colormap add/removal with display lock

ojab (1):
      Compose sequences for rouble sign
2019-11-13 21:59:51 +00:00
rillig
121d00ed27 x11: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 09:14:06 +00:00
rillig
ac265811da x11/libX11: remove unrecognized configure options 2019-04-28 10:53:03 +00:00
wiz
c5528dbe1c libX11: update to 1.6.7.
Bhavi Dhingra (1):
     XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB

Matt Turner (1):
     libX11 1.6.7

Michel Dänzer (2):
     poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails
     poll_for_event: Allow using xcb_poll_for_queued_event
2018-10-10 20:01:56 +00:00
wiz
b40700e1c5 libX11: update to 1.6.6.
Security fix release.

Alan Coopersmith (6):
      Make Xkb{Get,Set}NamedIndicator spec & manpages match code
      Clarify state parameter to XkbSetNamedDeviceIndicator
      Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages
      If XGetImage fails to create image, don't dereference it to bounds check
      Use size_t for buffer sizes in SetHints.c
      Change fall through comment in lcDB.c to match gcc's requirements

Arthur Huillet (1):
      _XDefaultError: set XlibDisplayIOError flag before calling exit

Bhavi Dhingra (1):
      Fix possible memory leak in cmsProp.c:140

Martin Natano (1):
      Don't rebuild ks_tables.h if nothing changed.

Matthieu Herrb (2):
      Remove statement with no effect.
      libX11 1.6.6

Michal Srb (1):
      Use flexible array member instead of fake size.

Ryan C. Gordon (1):
      Valgrind fix for XStoreColor and XStoreColors.

Samuel Thibault (1):
      XkbOpenDisplay.3: fix typo

Tobias Stoeckmann (4):
      Validation of server response in XListHosts.
      Fixed off-by-one writes (CVE-2018-14599).
      Fixed out of boundary write (CVE-2018-14600).
      Fixed crash on invalid reply (CVE-2018-14598).

walter harms (13):
      fix shadow warning
      _XIOError(dpy); will never return so remore dead
      remove argument check for free() adjust one inden
      fix shadow char_size
      fix more shadow warning
      no need to check argument for _XkbFree()
      remove stray extern
      no need to check args for Xfree()
      fix memleak in error path
      fix memleak in error path
      no need to check XFree arguments
      mark _XDefaultIOError as no_return
      Fixes: warning: variable 'req' set but not,used

wharms (3):
      add _X_UNUSED to avoid unused variable warnings
      remove empty line
      silence gcc warning assignment discards 'const' qualifier from pointer target type
2018-08-21 19:29:48 +00:00
wiz
380b6ec244 xorgproto: use xorgproto instead of separate *proto packages
Remove now obsolete packages.
2018-03-07 11:57:28 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
wiz
064d1fd652 Updated libX11 to 1.6.5.
Adam Jackson (1):
      Revert "Compose sequences for rouble sign"

Alan Coopersmith (6):
      specs/libX11: More synopsis fixes
      specs/libX11: Fix paramdef entries listing multiple parameters
      specs/libX11: Make paramdef spacing more consistent
      specs/libX11: Add missing parameter types for XGetWindowProperty()
      specs/libX11: Fix broken synopsis for Data/Data16/Data32
      specs/libX11: Update Portability Considerations for the 21st century

Emil Velikov (1):
      autogen.sh: use quoted string variables

Emilio Pozuelo Monfort (1):
      Plug a memory leak

Julien Cristau (1):
      Fix wrong Xfree in XListFonts failure path

Lucien Gentis (1):
      Typos in "Xlib - C Language X Interface" document - Chapter 02

Matt Turner (1):
      libX11 1.6.5

Mihail Konev (2):
      autogen: add default patch prefix
      Compose sequences for rouble sign

Peter Hutterer (1):
      autogen.sh: use exec instead of waiting for configure to finish

Petr Písař (1):
      Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8
2017-02-27 09:09:50 +00:00
joerg
f08737cd20 Requires a newer xcb version. 2016-10-08 23:26:56 +00:00
wiz
c422799a45 Updated libX11 to 1.6.4.
Alan Coopersmith (20):
      Move Compose \ o / to be with other emoji compose sequences
      Replace Xmalloc+memset pairs with Xcalloc calls
      Get rid of some extraneous ; at the end of C source lines
      Remove unused definition of XCONN_CHECK_FREQ
      Bug 93184: read_EncodingInfo invalid free
      Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths
      Delete #if 0 hunks of code
      Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM
      XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup
      XDefaultOMIF: additional code simplification
      XDefaultOMIF: Remove comments referring to ancient Sun bug ids
      XlcDL.c: replace strcpy+strcat sequences with snprintf
      XlcDL.c: reduce code duplication
      lcPubWrap: replace malloc(strlen) + strcpy with strdup
      Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them
      Stop checking for preferred order of local transports
      Don't need to link libX11-xcb against libX11
      xcms: use size_t for strlen/sizeof values instead of converting to int & back
      xcms: use unsigned indexes when looping through unsigned values
      xcms: use size_t for pointer offsets passed to strncmp

Bhavi Dhingra (1):
      omGeneric.c: Correct the parameter usage of sizeof

Christian Linhart (1):
      fix for Xlib 32-bit request number issues

Daniel Albers (1):
      Add Compose sequence for U+1F4A9.

Dominik Muth (1):
      Xlib.h: Fix macros imitating C functions.

Gunnar Hjalmarsson (1):
      Add compose file for pt_PT similar to pt_BR

James Cloos (2):
      Fix missing update in cf4d5989383a
      Fix another missing update in cf4d5989383a

Julien Cristau (1):
      Mark _XNextRequest as hidden

Mats Blakstad (1):
      New compose keys for local languages in Togo

Matthew D. Fuller (1):
      Fixup param specification for XChangeProperty()

Matthieu Herrb (1):
      libX11 1.6.4

Mike FABIAN (3):
      add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir
      fix spelling mistakes in ks_IN and sd_IN devanagari locales
      Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93

Olivier Fourdan (1):
      XKB: fix XkbGetKeyboardByName with Xming server

Peter Hutterer (3):
      Fix potential memory leak
      Fix an indentation issue
      Fix three "use of uninitialized variable" coverity warnings

Ross Burton (1):
      Add missing NULL checks to ICWrap

Thomas Klausner (2):
      Do not return() after exit().
      Ignore test-driver (used by newer autoconf).

Tobias Stoeckmann (2):
      The validation of server responses avoids out of boundary accesses.
      Validation of server responses in XGetImage()

walter harms (1):
      XFree will accept NULL as argument
2016-10-04 21:58:10 +00:00
jperkin
02201cb05b Use OPSYSVARS. 2016-02-26 10:57:45 +00:00
agc
d8f09469bb Add SHA512 digests for distfiles for x11 category
Problems found locating distfiles:
        Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2
        Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz
        Package xservers: missing distfile xservers-3.3.6.5.tar.bz2
        Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz
        Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 03:28:24 +00:00
wiz
753b49a479 Update to 1.6.3:
This release of libX11 looks bigger than it is, due to a lot of spec/doc
cleanup work that doesn't affect the code itself.  There is still a good
deal of bug fixes, code cleanup, locale improvements, and compose key table
additions, including new UTF-8 compose sequences for:

<Multi_key> <R> <equal>      : "<U+20B9>" U20b9 # INDIAN RUPEE SIGN
<Multi_key> <S> <semicolon>  : "Ș"   U0218  # LATIN CAPITAL LETTER S WITH COMMA BELOW
<Multi_key> <s> <semicolon>  : "ș"   U0219  # LATIN SMALL LETTER S WITH COMMA BELOW
<Multi_key> <T> <semicolon>  : "Ț"   U021A  # LATIN CAPITAL LETTER T WITH COMMA BELOW
<Multi_key> <t> <semicolon>  : "ț"   U021B  # LATIN SMALL LETTER T WITH COMMA BELOW
<Multi_key> <F> <U>          : "<U+1F595>"  U1F595 # REVERSED HAND WITH MIDDLE FINGER EXTENDED
<Multi_key> <L> <L> <A> <P>  : "<U+1F596>"  U1F596 # RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS

Alan Coopersmith (77):
      Xcms file parsing should not require the impossible to succeed
      Drop X_LOCALE fallback for OS'es without setlocale()
      unifdef -UISC
      XkbSelectEventDetails: remove unnecessary assignments
      _XkbReadGeomOverlay: check for NULL first, then use pointer
      Remove unused ETEST & ESZTEST macros from XlibInt.c
      Add RANDR 1.4 requests & events to XErrorDB
      Fix typos in Xrm.c comments
      Fix "follwing" typo in en_US.UTF-8/Compose comment
      XCreateGC.man: simplify table to work with Solaris tbl
      Add missing .TE tags to end tables in Xkb man pages
      Start adding Unicode 7.0 support to compose table
      specs/libX11: Fix x & y in parameter lists to be two separate parameters
      specs/libX11: Fix height & width in parameter lists to be two separate entries
      specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types
      Fix map->num_types check in XkbAddKeyType()
      Fix validation of ctrls parameter to XkbGetPerClientControls()
      Use C99 named initializers to fill in events passed to XSendEvent
      specs/libX11: Correct value of IconicState to match Xutil.h
      specs/libX11: disengender a user reference
      specs/XKB: Convert header filenames to filename tags
      specs/XKB: Fix various markup issues in functiondecl tables
      specs/XKB: Add index
      specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable
      specs/XKB: normalize <emphasis> layout in xml files
      specs/XKB: Markup function names as <function> instead of <emphasis>
      specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec
      specs/XKB: Turn Chapter references into xref links
      specs/XKB: Turn section references into xref links
      specs/XKB: Turn Table references into links
      specs/XKB: Add <figure> tags and make Figure references link to them
      specs/XKB: make olinks to xkbproto for references in section 10.13
      specs/XKB: Remove remaining xref comments
      specs/XKB: re-normalize <emphasis> layout in xml files
      specs/XKB: manually fixup some more emphasis tagging mismatches
      specs/XKB: Convert remaining error names to errorname tags
      specs/XKB: Markup function args as <parameter> instead of <emphasis>
      specs/XKB: Markup NULL as <symbol> instead of <emphasis>
      specs/XKB: Markup keysyms as <keysym> instead of <emphasis>
      specs/XKB: Use ° instead of o for degrees.
      specs/XKB: Markup XKB macros as <symbol> instead of <emphasis>
      specs/XKB: Markup *Rec as <structname> instead of <emphasis>
      specs/XKB: Markup *Ptr as <type> instead of <emphasis>
      specs/XKB: Markup symbol names in table entries too
      specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis>
      specs/XKB: Markup characters & strings as <literal> instead of <emphasis>
      specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis>
      specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis>
      specs/XKB: Manual fixup of function name markup
      specs/XKB: Manual fixup of symbol name markup
      specs/XKB: Manual fixup of struct name/field markup
      specs/XKB: Manual fixup of parameter markup
      specs/XKB: Manual fixup of type markup
      specs/XKB: Markup key terms as <firstterm> instead of <emphasis>
      specs/XKB: fixup newlines between tags and parens
      specs/XKB: fixup newlines between tags and punctuation
      specs/XKB: Markup quoted terms as <quote> instead of with ""
      specs/XKB: make sure all files have DOCTYPEs so standard entities work
      specs/XKB: Markup some subtractions with &minus; instead of -
      specs/XKB: Markup some ranges with &ndash; instead of -
      specs/XKB: replace =&gt; with &rArr; for double arrows
      specs/XKB: replace -&gt; with &rarr; when used as arrow, not in C structs
      specs/XKB: remove unwanted white space around C -&gt; struct references
      specs/XKB: Table 4.1: remove page numbers & unnecessary para tags
      specs/XKB: add links to more tables listing section references
      specs/XKB: add links for terms in definition list under figure 1.1
      specs/XKB: add some more links by hand
      specs/XKB: fixup various formatting issues in <literallayout>s
      specs/XKB: fixup various formatting issues in <programlisting>s
      specs/XKB: add some more indexterms by hand
      specs/XKB: Fix miscelleanous typos & spelling errors
      specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb"
      specs/XKB: Trim leading spaces off text lines
      specs/XKB: acknowledge my contributions
      specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis>
      Fix source paths for out-of-tree lintlib builds
      libX11 1.6.3

Andreas Schwab (1):
      Restore lost tabs in sed commands

Benno Schulenberg (15):
      nls: Fix transposed locale identifier for Khmer.
      nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>.
      nls: Adding compose sequences (with <parenleft> first) that GTK also has.
      nls: Ordering some compose sequences in a more customary way.
      nls: Adding accessible compose sequences for Ș and Ț (with comma below).
      nls: Adding the missing postfix sequences for composing vowels with ogoneks.
      nls: Adding the missing compose sequences with <comma> for O with ogonek.
      nls: Transform Brazilian compose file to an include plus three overrides.
      nls: Grouping the compose sequences for Dstroke/dstroke together.
      nls: Grouping a lone superscript minus together with its mates.
      nls: Adding the visual composing characters to two comment lines.
      nls: Add one lowercase compose variant for ®, to mirror those for ©.
      nls: Add a comment to the block of accented Hebrew letters.
      nls: Remove a duplicate locale name, and sort some others more strictly.
      nls: Sorting compose sequences rigorously in mirroring pairs, as is custom.

Gabriel Souza Franco (1):
      Add double-arrow compose sequence

Gaetan Nadon (1):
      makekeys: don't need to use target-specific CFLAGS

Gioele Barabucci (1):
      Add compose sequence for U+20B9 INDIAN RUPEE SIGN

Ingo Schwarze (1):
      Fix pasto in XkbGetKeyBehaviors(3) manual

James Cloos (4):
      nls/en_US.UTF-8/Compose.pre: Fix typo.
      Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has."
      Add nls for cs_CZ.UTF-8
      Add cs_CZ.UTF-8 locale to configure.ac

Jon TURNEY (1):
      Don't try so hard to find a matching font with the given encoding

Joonas Javanainen (1):
      Fix XErrorEvent struct field order in man page

Marko Myllynen (1):
      Annotate Finnish Compose map with Unicode code points

Owen W. Taylor (1):
      Fix XNextRequest() after direct usage of XCB

Peter Hutterer (1):
      man: fix man page for XkbGetMap

Ran Benita (5):
      nls: remove duplicate 'ohorn' and 'uhorn' compose sequences
      nls: always use XCOMM instead of # for comments in Compose.pre files
      Remove dead USE_OWN_COMPOSE-protected code
      xkb: fix misleading comment about consumed modifiers
      compose: fix the description of modifiers in compose sequences

Reuben Thomas (1):
      en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A.

Teemu Likonen (1):
      Fix "RING ABOVE" key in the Finnish compose file

walter harms (8):
      libX11/lcGenConv.c fix: dereferenced before check
      libX11/XKBNames.c fix: dereferenced before check
      libX11/lcUTF8.c fix: dereferenced before check
      Remove redundant null checks before free
      Remove more redundant null checks before Xfree()
      libX11: rm redundante NULL checks
      rm redundant null checks
      lcDefConv.c: fix use before check
2015-03-10 07:16:26 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
jperkin
9f5deef43b Don't append LIBABISUFFIX to X11_LDFLAGS when using pkgsrc libX11. 2014-07-30 20:34:50 +00:00
wiz
6d78fcb426 Add patch from upstream to silence qt5 warning:
nls/en_US.UTF-8/Compose.pre: Fix typo.

    Fix typo added in 215ce6a67863, s/actute/acute/.

    Fixes bug #69476.  Reported by Jean Krohn.

    Signed-off-by: James Cloos <cloos@jhcloos.com>

Bump PKGREVISION.
2014-05-30 12:51:29 +00:00
rodent
f35c689221 libXext build failure on OpenBSD exposed libX11 test failing during
configure due to missing pthread library. Buildlink pthread. Don't hardcode
-pthread for OSF1, MirBSD, and OpenBSD, but use PTHREAD_{C,LD}FLAGS
instead. Add pthread in bl3, but for the above targets.
2014-05-27 04:45:33 +00:00
obache
20014042a9 require xproto>=7.0.17 2014-04-29 10:27:33 +00:00
obache
8031ce34c4 Remove legacy builtin detection.
This builtin.mk is only used with modular X (using pkgconfig files),
and legacy detection prevent to detect sufficient version with *.pc file.
2014-04-29 07:45:42 +00:00
jperkin
9d5b1e7ac2 Search for pkgconfig files in lib${LIBABISUFFIX} and share directories
as appropriate.  This is required for X11_TYPE=native on Red Hat Linux.
2014-03-10 11:05:51 +00:00
wiz
ced1f026b6 PLIST update for 1.6.2. 2013-09-09 09:45:52 +00:00
wiz
574dbdebb7 Update to 1.6.2:
This release of libX11 includes a number of fixes to handle realloc() failure
better, resolves a number of compiler & static analyzer warnings, fixes several
bugs in the X Input Method framework, and cleans up the XKB code to be a little
more maintainable.

Alan Coopersmith (28):
      Fix file leak on malloc error in XlcDL.c:resolve_object()
      lcfile: skip over any null entries in args list
      xlibi18n: convert sprintf calls to snprintf
      ximcp/imRm.c: convert sprintf calls to snprintf
      omGeneric.c: convert sprintf calls to snprintf
      Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object()
      lcDB.c: ensure buffer size is updated correctly if realloc fails
      Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline()
      Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro
      miRegionCopy(): handle realloc failure better
      miRegionOp(): ensure region size is not updated if realloc fails
      Delete unused XKB_INSURE_SIZE macro from XKBlibint.h
      init_om: remove unneeded extra copy of string to local buffer
      Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName()
      Fix const handling in XSetLocaleModifiers
      xlibi18n: Fix a bunch of const cast warnings
      i18n modules: Fix some const cast warnings
      xlibi18n: fix argsize argument to _XlcParsePath
      Remove even more casts of return values from Xmalloc/Xrealloc
      Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc
      Remove unnecessary casts of pointers to (char *) in calls to Xfree()
      Remove long unused src/udcInf.c
      Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created
      Reindent XKB code to X.Org standard style
      Rearrange some variable declarations & initializations in XKB
      Stop checking for HAVE_DIX_CONFIG_H on the client side
      Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size
      libX11 1.6.2

Benno Schulenberg (1):
      nls: Adding more accessible compose sequences for J́ and j́.

Egbert Eich (2):
      XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place.
      XIM: Fix sync problem on focus change.

ISHIKAWA,chiaki (1):
      Fix bogus timestamp generated by XIM

Julien Cristau (1):
      Add missing locales to configure.ac
2013-09-09 09:44:41 +00:00
wiz
82a6c24e53 Update to 1.6.1:
This release includes fixes to the code, docs & build system.
It makes both clang & doclifter happier.  It includes patches
upstreamed from Ubuntu, NetBSD, and Solaris.

Alan Coopersmith (10):
      Update README to reflect where to find the Xlib specs now
      specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder
      troff macro expansion in specs/libX11
      Require ANSI C89 pre-processor, drop pre-C89 token pasting support
      XSetModifierMapping: Use Data instead of GetReqExtra
      Refactor common code from XAddHost & XRemoveHost into single function
      omGeneric: remove space between struct name & member name
      Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir
      Fix undefined XCMSDIR error when building lint library
      libX11 1.6.1

Eric S. Raymond (2):
      Remove call to undefined macro.
      Remove call to undefined macro.

Kees Cook (2):
      libX11: check size of GetReqExtra after XFlush
      libX11: check "req" when calling GetReqExtra

Thomas Klausner (6):
      Deal with the limited range of VAX floating point numbers when compiling for VAX.
      Stop truncating source to destination length if it is larger.
      Use newer callback-based API for XIM.
      Check for symbol existence with #ifdef, not #if
      Fix out-of-range comparison in _XF86BigfontQueryFont
      Tighten out-of-range comparisons.
2013-07-30 07:09:01 +00:00
obache
7e3be9fc97 preprocessor is a tool. 2013-06-16 13:34:30 +00:00
joerg
d501b58eb1 Consistently use devel/tradcpp as preprocessor. 2013-06-13 22:30:41 +00:00
wiz
4eb89e91ed Update to 1.6.0:
Changes since libX11 1.5 (found in the release candidates) include fixes
for the recently announced security issues CVE-2013-1981, CVE-2013-1997,
and CVE-2013-2004; the addition of the _XEatDataWords API for use by
Xlib-based extension libraries, to help them avoid integer overflows when
it is necessary to discard data; removal of ancient, unused, incomplete
support for the Cray Unicos OS, and the DECnet and TLI transport types;
numerous improvements to compose files and locale data; man page macro
cleanups to improve compatibility with doclifter; and various other
code cleanups and compiler warning fixes.

Alan Coopersmith (1):
      libX11 1.6.0

Thomas Klausner (2):
      XCreateGC man page: Avoid .TS H and .TH macros
      cmsMath.c: Add missing stdio header for printf(3) in DEBUG build.
2013-06-04 07:57:13 +00:00
riastradh
65e8a1fbdd Fix and tweak libX11 cross-build.
- Tool-depend on xproto for data for a tool that libX11 builds and
  runs.

- No need to pass CPPFLAGS_FOR_BUILD=-I${PREFIX}/include.

- Pass CC_FOR_BUILD=${NATIVE_CC:Q} in CONFIGURE_ENV, not MAKE_ENV.
2013-05-10 22:38:31 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
tron
2a2e83c60e Increase the minium required version of the "x11/libxcb" package to 1.6.
There are at least two packages ("graphics/cairo" and "x11/xlsclients")
which require this. And we definitely want to avoid the situation where
both the based and "pkgsrc" version get used at the same time.

Bump all the packages which use the "x11/libxcb" package except the two
which already require version 1.6. For those package remove the manually
set minimum required version.

Change discussed with Thomas Klausner in private e-mail.
2012-10-02 12:09:40 +00:00
mef
eea650b868 Update from 1.3.5 to 1.5.0 based on PR pkg/46183
[ANNOUNCE] libX11 1.5.0
------------------------
 At long last, the stable release of Xlib 1.5.0.

 While it only strictly requires libxcb 1.2, it's recommended that libxcb 1.8.1
 be used to get the fix for network connection fallback from Unix sockets to
 TCP that replaces the code previously found in libX11.

 Since there have been no changes since the final release candidate,
 here's the full list of changes since libX11 1.4.4:

    ( Some 150 lines omitted, see following URL for detail )
 http://lists.x.org/archives/xorg-announce/2012-June/001970.html

[ANNOUNCE] libX11 1.4.4
-----------------------
Thu, 28 Jul 2011 20:05:49 -0700 by  Alan Coopersmith

Another bug fix release of libX11 brings another large set of fixes
found by static analysis or to ease further static analysis, many
documentation fixes and improvments, and improved assertions to
help users and developers figure out why Xlib just crashed on them.

[ANNOUNCE] libX11 1.4.3
-----------------------
Tue Apr 5 14:18:18 PDT 2011 by Alan Coopersmith

A minor release of libX11 to add support for the Sinhala keysyms required
by the recent xkb-config 2.2 release.   Note that to get full support for
these keysyms you will also need to upgrade to x11proto 7.0.21 before
building the new libX11.

[ANNOUNCE] libX11 1.4.2
-----------------------
This bugfix release pulls in a ton of fixes for problems found by code static
analysis tools.  Many thanks to everyone who has helped find and fix these
issues before they turned into nasty problems.

Additionally, Jamey Sharp has provided some fixes for Display lock handling
that caused some deadlocks when using xcb for transport (which was optional
in 1.3.x and is required in 1.4.x), so this update is highly recomended to
users of multi-threaded Xlib applications.

[ANNOUNCE] libX11 1.4.1
------------------------
Tue, 11 Jan 2011 22:35:19 -0800 by Alan Coopersmith

This bugfix release corrects two small issues in Xlib event handling,
and provides, for the first time ever, the XKB API spec in DocBook format.

[ANNOUNCE] libX11 1.4.0
------------------------
Sun Nov 21 14:38:32 PST 2010 by Alan Coopersmith

After 3 release candidates, it's finally done - libX11 1.4 is released.

As previously warned, libX11 1.4 *requires* libxcb.   The Xlib 1.3 branch
continues to support the --without-xcb option for the benefit of any
remaining distributors who do not yet ship XCB in their stable releases.

[ANNOUNCE] libX11 1.3.6
------------------------
2010-09-20 6:16:18 by Daniel Stone

Just a small maintenance release for libX11; pending any catastrophic
bugs, this will probably be the last release from the 1.3.x branch.  The
XStringToKeysym changes should provide a not-insignificant speedup for
X server and application startup.
2012-07-10 03:03:01 +00:00
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