SUMMARY="X.Org X11 library" DESCRIPTION="The X.Org project provides an open source implementation of the \ X Window System. \ The development work is being done in conjunction with the freedesktop.org \ community. \ The X.Org Foundation is the educational non-profit corporation whose \ Board serves this effort, and whose Members lead this work." HOMEPAGE="https://www.x.org/" # TODO: sort & merge COPYRIGHT="2003-2006,2008 Jamey Sharp, Josh Triplett 2009 Red Hat, Inc. 1990-1992,1999,2000,2004,2009,2010 Oracle and/or its affiliates. 1984-1994, 1998 The Open Group 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1994, 1996 X Consortium 2000 The XFree86 Project, Inc. 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1993 Digital Equipment Corporation 1990, 1991 by Tektronix, Inc. 1999-2000 Free Software Foundation, Inc. 1990, 1991 Tektronix, Inc. 1990, 1991, 1992, 1993, 1994, 1995 FUJITSU LIMITED 1992 by Oki Technosystems Laboratory, Inc. 1992 by Fuji Xerox Co., Ltd. 1995 David E. Wexelblat 1990, 1991 by OMRON Corporation 1993 Digital Equipment Corporation, Maynard, Massachusetts, 1994 Sony Corporation 1991 the Open Software Foundation 1993, 1994 Sony Corporation 1993, 1995 Silicon Graphics Computer Systems, Inc. 1992, 1993 by FUJITSU LIMITED 1993 Fujitsu Open Systems Solutions, Inc. 1994 Sony Corporation 1987, 1988, 1990, 1993 by Digital Equipment Corporation, Maynard, Massachusetts, 1993 SunSoft, Inc. 1999-2000 by Bruno Haible 1991 the Open Software Foundation 1993 the TOSHIBA Corp 1988 Wyse Technology, Inc., San Jose, Ca. 1991 the Open Software Foundation 1993, 1994 the Sony Corporation 1992, 1993 FUJITSU LIMITED 1993 Fujitsu Open Systems Solutions, Inc. 1993, 1994 Sony Corporation 1986, 1998 The Open Group 2000 The XFree86 Project, Inc. 1990, 1991 OMRON Corporation, NTT Software Corporation, and Nippon Telegraph and Telephone Corporation 1991 the Open Software Foundation 1993 the FUJITSU LIMITED 1988 Wyse Technology, Inc., San Jose, Ca, 1987 Digital Equipment Corporation, Maynard, Massachusetts 1991, 1992 Fuji Xerox Co., Ltd. 1992, 1993, 1994 FUJITSU LIMITED 2006 Josh Triplett 1996 Sebastien Marineau and Holger Veit 1990, 1991 OMRON Corporation, NTT Software Corporation, and Nippon Telegraph and Telephone Corporation 1991 the Open Software Foundation 1993 the TOSHIBA Corp. 1993, 1994 Sony Corporation 1993, 1994 the FUJITSU LIMITED 2000 Bruno Haible 2003 Keith Packard 2007-2009 Troy D. Hanson 1992, 1993 TOSHIBA Corp. 1993 IBM Corporation 1990, 1991 OMRON Corporation, NTT Software Corporation, and Nippon Telegraph and Telephone Corporation " # TODO: check all the licenses in the COPYING file in the next century. LICENSE="MIT" REVISION="5" SOURCE_URI="https://www.x.org/releases/individual/lib/libX11-$portVersion.tar.bz2" CHECKSUM_SHA256="4d3890db2ba225ba8c55ca63c6409c1ebb078a2806de59fb16342768ae63435d" SOURCE_DIR="libX11-$portVersion" PATCHES="libx11-$portVersion.patchset" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" # TODO: patch to detect libnetwork PROVIDES=" libx11$secondaryArchSuffix = $portVersion lib:libx11$secondaryArchSuffix = 6.3.0 compat >= 6 lib:libx11_xcb$secondaryArchSuffix = 1.0.0 compat >= 1 " REQUIRES=" haiku$secondaryArchSuffix lib:libxcb$secondaryArchSuffix lib:libxau$secondaryArchSuffix " PROVIDES_devel=" libx11${secondaryArchSuffix}_devel = $portVersion devel:libx11$secondaryArchSuffix = 6.3.0 compat >= 6 devel:libx11_xcb$secondaryArchSuffix = 1.0.0 compat >= 1 " REQUIRES_devel=" libx11$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel #docbook_xml_dtd #docbook_xsl_stylesheets devel:inputproto devel:kbproto devel:libpthread_stubs devel:libxau$secondaryArchSuffix devel:libxcb$secondaryArchSuffix devel:util_macros devel:xcb_proto devel:xextproto devel:xorg_sgml_doctools devel:xproto devel:xtrans " BUILD_PREREQUIRES=" cmd:autoconf cmd:gcc$secondaryArchSuffix cmd:libtoolize$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix #cmd:xmlto #cmd:xsltproc " defineDebugInfoPackage libx11$secondaryArchSuffix \ "$libDir"/libX11.so.6.3.0 \ "$libDir"/libX11-xcb.so.1.0.0 BUILD() { autoreconf -vfi # --disable-selective-werror else makekeys does not even reach main() runConfigure ./configure --disable-selective-werror --enable-static=no make $jobArgs } INSTALL() { make install-strip rm -f $libDir/lib*.la prepareInstalledDevelLibs \ libX11 \ libX11-xcb fixPkgconfig if [ -n "$secondaryArchSuffix" ]; then rm -rf $documentationDir maybe_manDir_man3= else maybe_manDir_man3=$manDir/man3 fi packageEntries devel \ $developDir \ $maybe_manDir_man3 } TEST() { make check }