2016-01-16 02:22:56 +00:00
|
|
|
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."
|
2016-07-29 21:18:22 +00:00
|
|
|
HOMEPAGE="https://www.x.org/"
|
2016-01-16 02:22:56 +00:00
|
|
|
# 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"
|
2019-11-19 10:07:40 +00:00
|
|
|
REVISION="1"
|
2018-07-19 21:00:53 +00:00
|
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libX11-$portVersion.tar.bz2"
|
2019-11-19 10:07:40 +00:00
|
|
|
CHECKSUM_SHA256="9cc7e8d000d6193fa5af580d50d689380b8287052270f5bb26a5fb6b58b2bed1"
|
2016-01-16 02:22:56 +00:00
|
|
|
SOURCE_DIR="libX11-$portVersion"
|
2018-08-11 08:27:18 +00:00
|
|
|
# TODO: fix the remaining xmlto conversions
|
2016-07-29 21:18:22 +00:00
|
|
|
PATCHES="libx11-$portVersion.patchset"
|
2016-01-16 02:22:56 +00:00
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2016-07-29 21:18:22 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
2016-01-16 02:22:56 +00:00
|
|
|
|
|
|
|
# TODO: patch to detect libnetwork
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
libx11$secondaryArchSuffix = $portVersion
|
2018-08-11 08:27:18 +00:00
|
|
|
lib:libX11$secondaryArchSuffix = 6.3.0 compat >= 6
|
|
|
|
lib:libX11_xcb$secondaryArchSuffix = 1.0.0 compat >= 1
|
2016-01-16 02:22:56 +00:00
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
2018-08-11 08:27:18 +00:00
|
|
|
lib:libXcb$secondaryArchSuffix
|
2016-01-16 02:22:56 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
PROVIDES_devel="
|
|
|
|
libx11${secondaryArchSuffix}_devel = $portVersion
|
2018-08-11 08:27:18 +00:00
|
|
|
devel:libX11$secondaryArchSuffix = 6.3.0 compat >= 6
|
|
|
|
devel:libX11_xcb$secondaryArchSuffix = 1.0.0 compat >= 1
|
2016-01-16 02:22:56 +00:00
|
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
|
|
libx11$secondaryArchSuffix == $portVersion base
|
2018-08-11 08:27:18 +00:00
|
|
|
devel:kbproto
|
|
|
|
devel:libXcb$secondaryArchSuffix
|
|
|
|
devel:xproto
|
2016-01-16 02:22:56 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
2018-08-11 08:27:18 +00:00
|
|
|
docbook_xml_dtd
|
|
|
|
docbook_xsl_stylesheets
|
|
|
|
devel:libXcb$secondaryArchSuffix
|
2018-07-19 21:00:53 +00:00
|
|
|
devel:util_macros
|
|
|
|
devel:xorg_sgml_doctools
|
|
|
|
devel:xtrans
|
2016-01-16 02:22:56 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
2018-07-19 21:00:53 +00:00
|
|
|
cmd:autoconf
|
2016-01-16 02:22:56 +00:00
|
|
|
cmd:gcc$secondaryArchSuffix
|
2016-07-29 21:18:22 +00:00
|
|
|
cmd:libtoolize$secondaryArchSuffix
|
2016-01-16 02:22:56 +00:00
|
|
|
cmd:make
|
|
|
|
cmd:pkg_config$secondaryArchSuffix
|
2018-08-11 08:27:18 +00:00
|
|
|
cmd:xmlto
|
|
|
|
cmd:xsltproc
|
2016-01-16 02:22:56 +00:00
|
|
|
"
|
2018-07-19 21:00:53 +00:00
|
|
|
|
|
|
|
defineDebugInfoPackage libx11$secondaryArchSuffix \
|
|
|
|
"$libDir"/libX11.so.6.3.0 \
|
|
|
|
"$libDir"/libX11-xcb.so.1.0.0
|
2016-01-16 02:22:56 +00:00
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
2018-08-14 09:26:49 +00:00
|
|
|
export CPPFLAGS="-D_BSD_SOURCE"
|
|
|
|
export LDFLAGS="-lnetwork"
|
2018-07-19 21:00:53 +00:00
|
|
|
autoreconf -vfi
|
2016-01-16 02:22:56 +00:00
|
|
|
# --disable-selective-werror else makekeys does not even reach main()
|
2018-08-14 09:26:49 +00:00
|
|
|
runConfigure --omit-dirs docDir ./configure \
|
|
|
|
--docdir=$developDocDir \
|
|
|
|
--disable-selective-werror \
|
|
|
|
--enable-static=no \
|
|
|
|
--enable-unix-transport \
|
|
|
|
--enable-loadable-i18n \
|
|
|
|
--enable-xlocaledir
|
2016-01-16 02:22:56 +00:00
|
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
2017-11-21 22:24:09 +00:00
|
|
|
make install-strip
|
2016-01-16 02:22:56 +00:00
|
|
|
|
2016-07-29 21:18:22 +00:00
|
|
|
rm -f $libDir/lib*.la
|
2018-08-14 09:26:49 +00:00
|
|
|
rm -f $libDir/X11/locale/common/*.la
|
2016-07-29 21:18:22 +00:00
|
|
|
|
2016-01-16 02:22:56 +00:00
|
|
|
prepareInstalledDevelLibs \
|
2016-01-18 14:17:30 +00:00
|
|
|
libX11 \
|
|
|
|
libX11-xcb
|
2016-01-16 02:22:56 +00:00
|
|
|
|
|
|
|
fixPkgconfig
|
|
|
|
|
2016-07-29 21:18:22 +00:00
|
|
|
if [ -n "$secondaryArchSuffix" ]; then
|
2018-08-11 08:27:18 +00:00
|
|
|
rm -rf $manDir
|
2016-07-29 21:18:22 +00:00
|
|
|
maybe_manDir_man3=
|
|
|
|
else
|
|
|
|
maybe_manDir_man3=$manDir/man3
|
|
|
|
fi
|
|
|
|
|
2016-01-16 02:22:56 +00:00
|
|
|
packageEntries devel \
|
2016-07-29 21:18:22 +00:00
|
|
|
$developDir \
|
|
|
|
$maybe_manDir_man3
|
2016-01-16 02:22:56 +00:00
|
|
|
}
|
|
|
|
|
2016-07-29 21:18:22 +00:00
|
|
|
TEST()
|
|
|
|
{
|
|
|
|
make check
|
|
|
|
}
|