From 5aed828b2c39260d8b829443ad5c06abab081ca7 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Sat, 8 Aug 2015 06:18:40 +0200 Subject: [PATCH] Added updated recipes for xtrans and xextproto --- x11-libs/xtrans/xtrans-1.3.5.recipe | 54 ++++++++++++++++++ x11-proto/xextproto/xextproto-7.3.0.recipe | 65 ++++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 x11-libs/xtrans/xtrans-1.3.5.recipe create mode 100644 x11-proto/xextproto/xextproto-7.3.0.recipe diff --git a/x11-libs/xtrans/xtrans-1.3.5.recipe b/x11-libs/xtrans/xtrans-1.3.5.recipe new file mode 100644 index 000000000..55dfc63cd --- /dev/null +++ b/x11-libs/xtrans/xtrans-1.3.5.recipe @@ -0,0 +1,54 @@ +SUMMARY="X.Org's library to handle network protocol transport" +DESCRIPTION="xtrans is a library of code that is shared among various X \ +packages to handle network protocol transport in a modular fashion, allowing \ +a single place to add new transport types. It is used by the X server, \ +libX11, libICE, the X font server, and related components." +HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/" +COPYRIGHT="1993, 1994, 1998 The Open Group + 1993, 1994 NCR Corporation + 2002, 2005 Sun Microsystems, Inc. + 1996 Sebastien Marineau, Holger Veit + 2003 Keith Packard, Noah Levitt" +LICENSE="MIT (no promotion)" +REVISION="1" +SOURCE_URI="http://xorg.freedesktop.org/releases/individual/lib/xtrans-1.3.5.tar.gz" +CHECKSUM_SHA256="b7a577c1b6c75030145e53b4793db9c88f9359ac49e7d771d4385d21b3e5945d" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + xtrans$secondaryArchSuffix = $portVersion + devel:xtrans$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + devel:util_macros$secondaryArchSuffix + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + libtoolize --force --copy --install + autoreconf -i + runConfigure ./configure +} + +INSTALL() +{ + make install + mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//} + mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/ +} diff --git a/x11-proto/xextproto/xextproto-7.3.0.recipe b/x11-proto/xextproto/xextproto-7.3.0.recipe new file mode 100644 index 000000000..1191320ae --- /dev/null +++ b/x11-proto/xextproto/xextproto-7.3.0.recipe @@ -0,0 +1,65 @@ +SUMMARY="X.Org's generic event extension" +DESCRIPTION="X was designed to provide 64 event opcodes for all extensions. \ +These events are limited to 32 bytes. + +The Generic Event Extension (xextproto) provides a template event for \ +extensions to re-use a single event opcode. GE only provide headers and the \ +most basic functionality, leaving the extensions to interpret the events in \ +their specific context. + +GenericEvents may be longer than 32 bytes. If so, the number of 4 byte units \ +following the initial 32 bytes must be specified in the length field of the \ +event." +HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/" +COPYRIGHT="1989, 1998 The Open Group + 1997 by Silicon Graphics Computer Systems, Inc. + 1992 Network Computing Devices + 1994, 1995 Hewlett-Packard Company + 1996 Digital Equipment Corporation, Maynard, Massachusetts. + 1988, 1989, 1990, 1994 Network Computing Devices, Inc. + 1991,1993 by Digital Equipment Corporation, Maynard, Massachusetts, and \ +Olivetti Research Limited, Cambridge, England. + 1986, 1987, 1988 by Hewlett-Packard Corporation + 2007-2008 Peter Hutterer" +LICENSE="MIT (no promotion)" +REVISION="1" +SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/xextproto-7.3.0.tar.gz" +CHECKSUM_SHA256="1b1bcdf91221e78c6c33738667a57bd9aaa63d5953174ad8ed9929296741c9f5" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + xextproto$secondaryArchSuffix = $portVersion + devel:xextproto$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + devel:util_macros$secondaryArchSuffix >= 1.7.0 + cmd:autoconf + cmd:libtool + cmd:aclocal + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + libtoolize --force --copy --install + autoreconf -i + runConfigure ./configure +} + +INSTALL() +{ + make install + fixPkgconfig +}