head 1.15; access; symbols pkgsrc-2022Q3:1.14.0.2 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.12.0.60 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.58 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.12.0.56 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.12.0.54 pkgsrc-2021Q3-base:1.12 pkgsrc-2021Q2:1.12.0.52 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.50 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.48 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.46 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.42 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.12.0.22 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.44 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.12.0.40 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.38 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.36 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.34 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.32 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.30 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.12.0.28 pkgsrc-2018Q1-base:1.12 pkgsrc-2017Q4:1.12.0.26 pkgsrc-2017Q4-base:1.12 pkgsrc-2017Q3:1.12.0.24 pkgsrc-2017Q3-base:1.12 pkgsrc-2017Q2:1.12.0.20 pkgsrc-2017Q2-base:1.12 pkgsrc-2017Q1:1.12.0.18 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.12.0.16 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.14 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.12 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.12.0.10 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.8 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.6 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.4 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.2 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.11.0.6 pkgsrc-2014Q4-base:1.11 pkgsrc-2014Q3:1.11.0.4 pkgsrc-2014Q3-base:1.11 pkgsrc-2014Q2:1.11.0.2 pkgsrc-2014Q2-base:1.11 pkgsrc-2014Q1:1.10.0.14 pkgsrc-2014Q1-base:1.10 pkgsrc-2013Q4:1.10.0.12 pkgsrc-2013Q4-base:1.10 pkgsrc-2013Q3:1.10.0.10 pkgsrc-2013Q3-base:1.10 pkgsrc-2013Q2:1.10.0.8 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.10.0.6 pkgsrc-2013Q1-base:1.10 pkgsrc-2012Q4:1.10.0.4 pkgsrc-2012Q4-base:1.10 pkgsrc-2012Q3:1.10.0.2 pkgsrc-2012Q3-base:1.10 pkgsrc-2012Q2:1.9.0.8 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.6 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.4 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.2 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.8.0.8 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.6 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.4 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.2 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.7.0.12 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.10 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.8 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.6 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.4 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.2 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.6.0.4 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.2 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.5.0.2 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.4.0.4 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.2 pkgsrc-2008Q1:1.3.0.6 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.4 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.2 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.1.0.4 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.2 pkgsrc-2007Q1-base:1.1; locks; strict; comment @# @; 1.15 date 2022.11.10.21.29.16; author wiz; state dead; branches; next 1.14; commitid xlFExKAnyoiizc1E; 1.14 date 2022.07.26.02.19.03; author gutteridge; state Exp; branches; next 1.13; commitid M8BAecin2aqEDlND; 1.13 date 2022.07.15.23.23.35; author gutteridge; state Exp; branches; next 1.12; commitid TZ6Xwpcxl04FZ2MD; 1.12 date 2015.03.10.07.16.26; author wiz; state Exp; branches; next 1.11; commitid vEYVeeGwGu3zU1dy; 1.11 date 2014.05.30.12.51.29; author wiz; state Exp; branches; next 1.10; commitid cYMdjjioRvHHTyCx; 1.10 date 2012.07.10.03.03.01; author mef; state Exp; branches; next 1.9; 1.9 date 2011.09.15.19.50.14; author bsiegert; state Exp; branches; next 1.8; 1.8 date 2010.09.10.20.28.03; author joerg; state Exp; branches; next 1.7; 1.7 date 2009.02.21.16.44.29; author wiz; state Exp; branches; next 1.6; 1.6 date 2008.09.16.21.57.09; author bjs; state Exp; branches; next 1.5; 1.5 date 2008.07.24.01.07.31; author bjs; state Exp; branches; next 1.4; 1.4 date 2008.04.24.07.45.49; author joerg; state Exp; branches; next 1.3; 1.3 date 2007.08.01.16.48.41; author joerg; state Exp; branches; next 1.2; 1.2 date 2007.07.12.15.02.06; author joerg; state dead; branches; next 1.1; 1.1 date 2007.04.03.20.28.38; author drochner; state Exp; branches; next ; desc @@ 1.15 log @libX11: update to 1.8.2. This is primarily a bug fix release, including further work on improving the thread-safety-constructor and making it work with software which had incorrectly called libX11 functions from inside X*IfEvent() calls. Highlights: * Allow X*IfEvent() to reenter libX11 to avoid deadlock from unsafe calls when thread-safety-constructor is enabled (!150). * Remove Xlib's pthread function stubs - instead use system provided threads functions, including linking against any needed pthread libraries if thread-safety-constructor is enabled (!155, !156). * Fix off-by-one error in XKeycodeToKeysym for indexes > 3 (!78). * Allow XNSpotLocation with OnTheSpot (!127). * Fix Win32 build when -fno-common is in effect (!140). * Fix memory leak in XRegisterIMInstantiateCallback (!158). * Add compose sequences for the double-struck capitals ℕ ℤ ℚ ℝ ℂ (!144), Samogitian E with dot above and macron (!147), Unicode minus sign (!163). * Change <^> <-> to mean superscript minus instead of macron (!162). * Delete compose sequences that mix top-row digits with numpad digits (!139) or mix upper & lower case letters (!144). * Delete some unuseful compose sequences meant for Bépo layout (!146). * Delete compose sequences using leftcaret & rightcaret keysyms (!163). * Remove KOI8-R character set from en_US.UTF-8/XLC_LOCALE (!148). * Map sr locales to sr_RS compose files (!161). Complete changelog: Adam Jackson (1): Allow X*IfEvent() to reenter libX11 Adam Sampson (1): xkb: Fix off-by-one error in XKeycodeToKeysym Alan Coopersmith (11): xkb: set num_keys when filling in keys in _XkbReadGetNamesReply() doc: Document possible return values for XkbGetKeyboard() gitlab CI: stop requiring Signed-off-by in commits If thread-safety-constructor is enabled, link against pthreads not stubs Use same pthread-stubs as libxcb COPYING: remove notice for the removed UIThrStubs.c Copyright & license cleanup man pages: document XCloseIM frees its argument Remove NEWS file which only covered 2006 & 2007 releases README.md: Add 1.8.2 changes libX11 1.8.2 Benno Schulenberg (13): nls: delete compose sequences that mix top-row digits with numpad digits docs: hard-wrap some items so that Table 2 fits within 80 characters docs: remove the unsightly dashes from the overviews of arguments docs: replace three placeholders with something that makes sense nls: delete some pointless and wrong compose sequences meant for Bépo nls: add compose sequences for the double-struck capitals ℕ ℤ ℚ ℝ ℂ nls: delete eight sequences that pointlessly mix upper and lower case nls: add four sequences for the Samogitian E with dot above and macron nls: delete two compose sequences with an anomalous post-fixed breve nls: change <^> <-> to mean superscript minus instead of macron nls: let ` ` compose U+2212 (MINUS SIGN) nls: remove two compose sequences that use deprecated symbols nls: reshuffle a few compose sequences, to have similar ones together David H. Gutteridge (1): configure.ac: report thread safety constructor build status Jan Tojnar (1): nls: Map sr locales to sr_RS compose files Jon Turney (1): Fix Win32 build with -fno-common Kirill Chibisov (1): ximcp/imRm.c: allow XNSpotLocation with OnTheSpot Matthieu Herrb (1): Mention that the predicate function is called with the display lock Mike FABIAN (1): Remove KOI8-R character set from en_US.UTF-8/XLC_LOCALE Po Lu (1): specs: document change in XIMPreeditCallbacks Thomas E. Dickey (4): reduce compiler warnings for macros BufAlloc, Data and Data32 using casts use casts to reduce compiler warnings (no object change) reduce compiler warnings with casts (no object change) fix a memory leak in XRegisterIMInstantiateCallback @ text @$NetBSD: patch-aa,v 1.14 2022/07/26 02:19:03 gutteridge Exp $ Include pthread.h as thread stubs might be macros like on NetBSD. Define conditional for cross-compiling support. Indicate whether the thread safety constructor is enabled. (This can cause issues with X clients that aren't coded correctly.) https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/149 --- configure.ac.orig 2022-06-09 01:06:45.000000000 +0000 +++ configure.ac @@@@ -222,7 +222,7 @@@@ xyes) ;; esac -AC_CHECK_LIB(c, pthread_self, [thrstubs="no"], [thrstubs="yes"]) +AC_CHECK_DECLS([pthread_self], [thrstubs="no"], [thrstubs="yes"], [[#include ]]) AM_CONDITIONAL(THRSTUBS, test x$thrstubs = xyes) # XXX incomplete, please fill this in @@@@ -231,12 +231,12 @@@@ if test x$xthreads = xyes ; then linux*|gnu*|k*bsd*-gnu) XTHREADLIB=-lpthread ;; netbsd*) - XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS" - XTHREADLIB="-lpthread" ;; + XTHREAD_CFLAGS="-D_REENTRANT" + XTHREADLIB="-pthread" ;; freebsd*) XTHREAD_CFLAGS="-D_THREAD_SAFE" XTHREADLIB="-pthread" ;; - dragonfly*|openbsd*) + dragonfly*|openbsd*|mirbsd*) XTHREADLIB="-pthread" ;; solaris*) XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;; @@@@ -437,6 +437,7 @@@@ echo " Loadable i18n module support: echo " Loadable xcursor library support: "$XLIB_LOADABLE_XCURSOR echo " Threading support: "$xthreads echo " Use Threads safe API: "$mtsafeapi +echo " Use thread safety constructor: "$USE_THREAD_SAFETY_CONSTRUCTOR echo " Threads stubs in libX11: "$thrstubs echo " XCMS: "$XCMS echo " Internationalization support: "$XLOCALE @ 1.14 log @libX11: note upstream pull request for latest configure tweak @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.13 2022/07/15 23:23:35 gutteridge Exp $ @ 1.13 log @libX11: report the thread safety constructor build state (NFC) 1.8 added a feature (--enable-thread-safety-constructor) which is enabled by default and can cause issues like hangs with X11 clients that aren't coded properly. (This affects more than one DE in pkgsrc.) When the feature was added, it didn't include any output from configure itself that reports what the state of the option is set to. No change to package defaults or resulting binaries, this is just for informational purposes for anyone else dealing with this, should they want to disable the setting, or just recognize what state the build used. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.12 2015/03/10 07:16:26 wiz Exp $ d9 1 @ 1.12 log @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: : "" U20b9 # INDIAN RUPEE SIGN : "Ș" U0218 # LATIN CAPITAL LETTER S WITH COMMA BELOW : "ș" U0219 # LATIN SMALL LETTER S WITH COMMA BELOW : "Ț" U021A # LATIN CAPITAL LETTER T WITH COMMA BELOW : "ț" U021B # LATIN SMALL LETTER T WITH COMMA BELOW : "" U1F595 # REVERSED HAND WITH MIDDLE FINGER EXTENDED

: "" 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 layout in xml files specs/XKB: Markup function names as instead of specs/XKB: Apply 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

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 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 instead of specs/XKB: Markup NULL as instead of specs/XKB: Markup keysyms as instead of specs/XKB: Use ° instead of o for degrees. specs/XKB: Markup XKB macros as instead of specs/XKB: Markup *Rec as instead of specs/XKB: Markup *Ptr as instead of specs/XKB: Markup symbol names in table entries too specs/XKB: Markup structs as instead of specs/XKB: Markup characters & strings as instead of specs/XKB: Markup keyboard keys as instead of specs/XKB: Markup protocol requests as instead of 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 instead of specs/XKB: fixup newlines between tags and parens specs/XKB: fixup newlines between tags and punctuation specs/XKB: Markup quoted terms as instead of with "" specs/XKB: make sure all files have DOCTYPEs so standard entities work specs/XKB: Markup some subtractions with − instead of - specs/XKB: Markup some ranges with – instead of - specs/XKB: replace => with ⇒ for double arrows specs/XKB: replace -> with → when used as arrow, not in C structs specs/XKB: remove unwanted white space around C -> 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 s specs/XKB: fixup various formatting issues in 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 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 . nls: Adding compose sequences (with 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 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 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 @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.11 2014/05/30 12:51:29 wiz Exp $ d7 4 a10 1 --- configure.ac.orig 2013-09-09 01:37:20.000000000 +0000 d12 1 a12 1 @@@@ -276,7 +276,7 @@@@ xyes) d21 1 a21 1 @@@@ -285,12 +285,12 @@@@ if test x$xthreads = xyes ; then d37 8 @ 1.11 log @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 Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 2012/07/10 03:03:01 mef Exp $ a6 3 Also, don't look for keysmydef.h, as this could break cross builds (from GIT). @ 1.10 log @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. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.9 2011/09/15 19:50:14 bsiegert Exp $ d10 3 a12 3 --- configure.ac.orig 2012-06-02 15:37:17.000000000 +0900 +++ configure.ac 2012-06-28 19:14:45.000000000 +0900 @@@@ -277,7 +277,7 @@@@ d21 1 a21 1 @@@@ -286,12 +286,12 @@@@ @ 1.9 log @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. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2010/09/10 20:28:03 joerg Exp $ d10 3 a12 3 --- configure.ac.orig Wed Aug 11 23:23:48 2010 +++ configure.ac @@@@ -315,7 +315,7 @@@@ xyes) d20 3 a22 3 dnl XXX incomplete, please fill this in @@@@ -324,12 +324,12 @@@@ if test x$xthreads = xyes ; then linux*|openbsd*|gnu*|k*bsd*-gnu) d32 2 a33 2 - dragonfly*) + dragonfly*|mirbsd*) @ 1.8 log @Update to libX11-1.3.5: - Enable XCB support [pkgsrc] - Improve I18N support - Various bug fixes, including use-after-free and XCB thread fixes @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2009/02/21 16:44:29 wiz Exp $ d10 1 a10 1 --- configure.ac.orig 2009-02-17 14:38:52.000000000 +0000 d12 1 a12 1 @@@@ -215,7 +215,7 @@@@ xyes) d21 1 a21 1 @@@@ -224,8 +224,8 @@@@ if test x$xthreads = xyes ; then d32 5 @ 1.7 log @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. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2008/09/16 21:57:09 bjs Exp $ a31 9 @@@@ -340,6 +340,8 @@@@ else fi AC_SUBST(XKBPROTO_REQUIRES) +AM_CONDITIONAL(CROSS_COMPILING, [ test $cross_compiling = yes ]) + AC_FUNC_MMAP() composecache_default=$ac_cv_func_mmap_fixed_mapped AC_CHECK_FUNC(nl_langinfo, , [composecache_default=no]) @ 1.6 log @Update to libX11-1.1.5: integrates the patches listed as removed as well as a number of i18n fixes. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2008/07/24 01:07:31 bjs Exp $ d10 1 a10 1 --- configure.ac.orig 2008-09-04 17:38:59.000000000 -0400 d12 3 a14 3 @@@@ -180,7 +180,7 @@@@ esac AC_SUBST(XTHREADS) AC_SUBST(XUSE_MTSAFE_API) d21 1 a21 1 @@@@ -189,8 +189,8 @@@@ if test x$xthreads = xyes ; then d32 1 a32 1 @@@@ -305,6 +305,8 @@@@ else @ 1.5 log @ 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. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2008/04/24 07:45:49 joerg Exp $ d10 1 a10 1 --- configure.ac.orig 2008-03-06 15:48:26.000000000 -0500 d32 1 a32 39 @@@@ -220,31 +220,14 @@@@ AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, # # Find keysymdef.h # -KEYSYMDEF="" AC_MSG_CHECKING([keysymdef.h]) -for flag in $XPROTO_CFLAGS -I/usr/include; do - case "$KEYSYMDEF" in - "") - case "$flag" in - *-I*) - dir=`echo "$flag" | sed 's/ *-I//'` - file="$dir/X11/keysymdef.h" - if test -f "$file"; then - KEYSYMDEF="$file" - fi - ;; - esac - ;; - esac -done -case "$KEYSYMDEF" in -"") - AC_MSG_ERROR([Cannot find keysymdef.h]) - ;; -*) +dir=`pkg-config --variable=includedir xproto` +KEYSYMDEF="$dir/X11/keysymdef.h" +if test -f "$KEYSYMDEF"; then AC_MSG_RESULT([$KEYSYMDEF]) - ;; -esac +else + AC_MSG_ERROR([Cannot find keysymdef.h]) +fi AC_SUBST(KEYSYMDEF) AM_CONDITIONAL(UDC, test xfalse = xtrue) @@@@ -322,6 +305,8 @@@@ else @ 1.4 log @Make sure that configure includes pthread.h when checking for pthread stubs as they are macros at least on NetBSD. Bump revision. @ text @d1 1 a1 1 $NetBSD$ d7 4 a10 1 --- configure.ac.orig 2008-03-06 21:48:26.000000000 +0100 d21 50 a70 1 @@@@ -322,6 +322,8 @@@@ else @ 1.3 log @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 @ text @d3 5 a7 1 --- configure.ac.orig 2007-07-27 18:02:55.000000000 +0200 d9 10 a18 1 @@@@ -304,6 +304,8 @@@@ else @ 1.2 log @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. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2007/04/03 20:28:38 drochner Exp $ d3 5 a7 7 --- src/ImUtil.c.orig 2007-04-03 19:08:57.000000000 +0200 +++ src/ImUtil.c @@@@ -327,12 +327,13 @@@@ XImage *XCreateImage (dpy, visual, depth { register XImage *image; int bits_per_pixel = 1; + int min_bytes_per_line; d9 1 a9 69 if (depth == 0 || depth > 32 || (format != XYBitmap && format != XYPixmap && format != ZPixmap) || (format == XYBitmap && depth != 1) || (xpad != 8 && xpad != 16 && xpad != 32) || - offset < 0 || image_bytes_per_line < 0) + offset < 0) return (XImage *) NULL; if ((image = (XImage *) Xcalloc(1, (unsigned) sizeof(XImage))) == NULL) return (XImage *) NULL; @@@@ -363,16 +364,21 @@@@ XImage *XCreateImage (dpy, visual, depth /* * compute per line accelerator. */ - if (image_bytes_per_line == 0) { if (format == ZPixmap) - image->bytes_per_line = + min_bytes_per_line = ROUNDUP((bits_per_pixel * width), image->bitmap_pad); else - image->bytes_per_line = + min_bytes_per_line = ROUNDUP((width + offset), image->bitmap_pad); } - else image->bytes_per_line = image_bytes_per_line; + if (image_bytes_per_line == 0) { + image->bytes_per_line = min_bytes_per_line; + } else if (image_bytes_per_line < min_bytes_per_line) { + return 0; + } else { + image->bytes_per_line = image_bytes_per_line; + } image->bits_per_pixel = bits_per_pixel; image->obdata = NULL; @@@@ -384,7 +390,11 @@@@ XImage *XCreateImage (dpy, visual, depth Status XInitImage (image) XImage *image; { + int min_bytes_per_line; + if (image->depth == 0 || image->depth > 32 || + image->bits_per_pixel > 32 || image->bitmap_unit > 32 || + image->bits_per_pixel < 0 || image->bitmap_unit < 0 || (image->format != XYBitmap && image->format != XYPixmap && image->format != ZPixmap) || @@@@ -392,21 +402,24 @@@@ Status XInitImage (image) (image->bitmap_pad != 8 && image->bitmap_pad != 16 && image->bitmap_pad != 32) || - image->xoffset < 0 || image->bytes_per_line < 0) + image->xoffset < 0) return 0; /* * compute per line accelerator. */ - if (image->bytes_per_line == 0) - { if (image->format == ZPixmap) - image->bytes_per_line = + min_bytes_per_line = ROUNDUP((image->bits_per_pixel * image->width), image->bitmap_pad); else - image->bytes_per_line = + min_bytes_per_line = ROUNDUP((image->width + image->xoffset), image->bitmap_pad); d11 3 a13 7 + if (image->bytes_per_line == 0) { + image->bytes_per_line = min_bytes_per_line; + } else if (image->bytes_per_line < min_bytes_per_line) { + return 0; } _XInitImageFuncPtrs (image); @ 1.1 log @fix a possible memory corruption due to incomplete input validation in XInitImage() (CVE 2007-1667) bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @