From 31b86f30bbbe73b249028895a9e0543098076c2c Mon Sep 17 00:00:00 2001 From: "Nyx (Neal Orman)" Date: Wed, 1 Feb 2012 16:25:13 -0500 Subject: PATH-194 WIP adding header file packaging Gives us the packaging we need for viewer headers as an autobuild package so that llphysicsextensions can use its headers. --- package_physicsextensions.sh | 46 ++++++++++++++ package_physicsextensions.xml | 145 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 191 insertions(+) create mode 100644 package_physicsextensions.sh create mode 100644 package_physicsextensions.xml diff --git a/package_physicsextensions.sh b/package_physicsextensions.sh new file mode 100644 index 0000000000..9260dd03ce --- /dev/null +++ b/package_physicsextensions.sh @@ -0,0 +1,46 @@ +#!/bin/bash + +cd "$(dirname "$0")" + +# turn on verbose debugging output for parabuild logs. +set -x +# make errors fatal +set -e + +if [ -z "$AUTOBUILD" ] ; then + fail +fi + +if [ "$OSTYPE" = "cygwin" ] ; then + export AUTOBUILD="$(cygpath -u $AUTOBUILD)" +fi + +# load autbuild provided shell functions and variables +eval "$("$AUTOBUILD" source_environment)" + +projectDir="$(pwd)" + +#directories we need the headers from +projects="llcommon llimage llmath llrender" + +source="$projectDir/indra" + +stage="$projectDir/stage/include" +mkdir -p $stage + +for project in $projects +do + dstIncludeDir="$stage/$project" + mkdir -p $dstIncludeDir + headers="$source/$project/*.h" + cp $headers "$dstIncludeDir" +done + +# Copy the license files into place for packaging +srcLicenseDir="$projectDir/doc" +dstLicenseDir="$projectDir/stage/LICENSES" + +mkdir -p "$dstLicenseDir" +cp "$srcLicenseDir/LGPL-licence.txt" "$dstLicenseDir/LGPL-licence.txt" + +pass diff --git a/package_physicsextensions.xml b/package_physicsextensions.xml new file mode 100644 index 0000000000..3c79b34f69 --- /dev/null +++ b/package_physicsextensions.xml @@ -0,0 +1,145 @@ + + + + package_description + + description + include files referenced in the llphysicsextensions + license + LGPL + license_file + LICENSES/LGPL-licence.txt + name + pathfinding_includes + platforms + + common + + configurations + + Default + + build + + command + bash + options + + -c ../package_physicsextensions.sh + + + configure + + + default + True + name + Default + + + name + common + + darwin + + build_directory + stage + configurations + + common + + build + + command + bash + options + + -c ../package_physicsextensions.sh + + + default + true + manifest + + include/ + LICENSES + + name + common + + + name + darwin + + linux + + build_directory + stage + configurations + + common + + build + + command + bash + options + + -c ../package_physicsextensions.sh + + + default + true + manifest + + include/ + LICENSES + + name + common + + + name + linux + + windows + + build_directory + stage + configurations + + common + + build + + command + bash + options + + -c ../package_physicsextensions.sh + + + default + true + manifest + + include/ + LICENSES + + name + common + + + name + windows + + + version + 1.0 + + type + autobuild + version + 1.2 + + -- cgit v1.2.3 From a5cfb84e3af7ff20bd1db0208bcadac235b61d6f Mon Sep 17 00:00:00 2001 From: "Nyx (Neal Orman)" Date: Wed, 1 Feb 2012 16:26:59 -0500 Subject: BUILDFIX updating physicsextensions to have new navmesh format --- autobuild.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autobuild.xml b/autobuild.xml index 933224b572..acc8a2d841 100644 --- a/autobuild.xml +++ b/autobuild.xml @@ -1110,9 +1110,9 @@ archive hash - 9f2e56fb66a281293e735270055abcb8 + c97157313e496a46227d125212cfb3cb url - http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/248625/arch/Linux/installer/llphysicsextensions-0.1-linux-20120130.tar.bz2 + http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/248758/arch/Linux/installer/llphysicsextensions-0.1-linux-20120201.tar.bz2 name linux @@ -1122,9 +1122,9 @@ archive hash - 331433dac8e471e57188587e3260e694 + 2f65c55658b051653aad697c39a65375 url - http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/248625/arch/CYGWIN/installer/llphysicsextensions-0.1-windows-20120130.tar.bz2 + http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/248758/arch/CYGWIN/installer/llphysicsextensions-0.1-windows-20120201.tar.bz2 name windows -- cgit v1.2.3