pkgsrc/x11/libX11/Makefile

62 lines
1.7 KiB
Makefile
Raw Normal View History

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 11:44:41 +02:00
# $NetBSD: Makefile,v 1.35 2013/09/09 09:44:41 wiz Exp $
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 11:44:41 +02:00
DISTNAME= libX11-1.6.2
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= Base X libraries from modular Xorg X11
LICENSE= mit
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --enable-man-pages=3
CONFIGURE_ARGS+= --with-xcb
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 19:55:11 +01:00
CONFIGURE_ARGS+= --disable-specs
PKGCONFIG_OVERRIDE+= x11.pc.in
2010-01-15 22:20:14 +01:00
CONFIGURE_ENV+= FILE_MAN_SUFFIX=5
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --disable-malloc0returnsnull
.endif
CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h
CPPFLAGS.MirBSD+= -pthread
LDFLAGS.MirBSD+= -pthread
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 05:03:01 +02:00
BUILDLINK_API_DEPENDS.libxcb+=libxcb>=1.8.1
2013-06-16 15:34:30 +02:00
TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
# XXX This needs to match the version of xcb-proto we get for the
# target by buildlink3.
TOOL_DEPENDS+= xproto-[0-9]*:../../x11/xproto
.endif
.include "../../x11/bigreqsproto/buildlink3.mk"
.include "../../x11/inputproto/buildlink3.mk"
.include "../../x11/kbproto/buildlink3.mk"
.include "../../x11/libXau/buildlink3.mk"
.include "../../x11/libXdmcp/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/xcmiscproto/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/xf86bigfontproto/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
.include "../../x11/xtrans/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"