[quake3-commits] r1608 - in trunk/misc/setup: . pkg pkg/ioquake3 pkg/ioquake3d pkg/ioquake3m

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Sep 14 21:48:58 EDT 2009


Author: icculus
Date: 2009-09-14 21:48:58 -0400 (Mon, 14 Sep 2009)
New Revision: 1608

Modified:
   trunk/misc/setup/Solaris_pkg.sh
   trunk/misc/setup/pkg/ioq3ded.sh
   trunk/misc/setup/pkg/ioquake3.sh
   trunk/misc/setup/pkg/ioquake3/depend
   trunk/misc/setup/pkg/ioquake3/pkginfo.template
   trunk/misc/setup/pkg/ioquake3d/depend
   trunk/misc/setup/pkg/ioquake3m/depend
Log:
Updated Solaris packaging, per Vincent Cojot.

 Fixes Bugzilla #4058.


Modified: trunk/misc/setup/Solaris_pkg.sh
===================================================================
--- trunk/misc/setup/Solaris_pkg.sh	2009-09-15 01:44:58 UTC (rev 1607)
+++ trunk/misc/setup/Solaris_pkg.sh	2009-09-15 01:48:58 UTC (rev 1608)
@@ -37,10 +37,11 @@
 BUILD_DIR="${MOUNT_DIR}/build/release-${PLATFORM}-${ARCH}"
 PKG_SRC_DIR="${MOUNT_DIR}/misc/setup/pkg/${PKG_SOLARIS_NAME}"
 PKG_BUILD_DIR="/tmp/ioquake3-build/${PKG_SOLARIS_NAME}-${BUILD_VERSION}"
+PKG_EXTRA_BUILD_DIR="/usr/local/src/quake3-data/ioquake3/quake3"
 PKG_DATA_SRC_DIR="${MOUNT_DIR}/misc/setup/pkg/${PKG_DATA_NAME}"
-PKG_DATA_BUILD_DIR="/usr/local/src/quake3-data/quake3"
+PKG_DATA_BUILD_DIR="/usr/local/src/quake3-data/ioquake3d/quake3"
 PKG_DEMO_SRC_DIR="${MOUNT_DIR}/misc/setup/pkg/${PKG_DEMO_NAME}"
-PKG_DEMO_BUILD_DIR="/usr/local/src/quake3-demo/quake3"
+PKG_DEMO_BUILD_DIR="/usr/local/src/quake3-data/ioquake3m/quake3"
 
 # Tools
 RM="/usr/bin/rm"
@@ -113,7 +114,7 @@
 		fi
 	done
 
-        ${PKGPROTO} ${PKG_BUILD_DIR}=quake3 | \
+        ${PKGPROTO} ${PKG_BUILD_DIR}=quake3 ${PKG_EXTRA_BUILD_DIR}=quake3 | \
                 ${NAWK} '{ print $1,$2,$3,$4 }' >> ${PKG_SRC_DIR}/prototype
         ${PKGMK} -o -p "${PKG_MAINT_ID}${BUILD_DATE}" \
                 -b ${PKG_SRC_DIR} -f ${PKG_SRC_DIR}/prototype \

Modified: trunk/misc/setup/pkg/ioq3ded.sh
===================================================================
--- trunk/misc/setup/pkg/ioq3ded.sh	2009-09-15 01:44:58 UTC (rev 1607)
+++ trunk/misc/setup/pkg/ioq3ded.sh	2009-09-15 01:48:58 UTC (rev 1608)
@@ -5,9 +5,16 @@
 
 IOQ3_DIR=/usr/local/share/games/quake3
 
-COMPILE_PLATFORM=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'`
-COMPILE_ARCH=`uname -p | sed -e s/i.86/i386/`
+if [ "x${LD_LIBRARY_PATH}" = "x" ]; then
+	LD_LIBRARY_PATH="${IOQ3_DIR}/lib"
+else
+	LD_LIBRARY_PATH="${IOQ3_DIR}/lib:${LD_LIBRARY_PATH}"
+fi
+export LD_LIBRARY_PATH
 
+COMPILE_PLATFORM=`uname|sed -e 's/_.*//'|tr '[:upper:]' '[:lower:]'`
+COMPILE_ARCH=`uname -p | sed -e 's/i.86/i386/'`
+
 EXEC_REL=release
 
 # EXEC_BIN=ioquake3.${COMPILE_ARCH}

Modified: trunk/misc/setup/pkg/ioquake3/depend
===================================================================
--- trunk/misc/setup/pkg/ioquake3/depend	2009-09-15 01:44:58 UTC (rev 1607)
+++ trunk/misc/setup/pkg/ioquake3/depend	2009-09-15 01:48:58 UTC (rev 1608)
@@ -1,3 +1,2 @@
-P SUNWxilrl XIL Runtime Environment
-P SFWsdl SDL - Simple DirectMedia Layer library
-P ioquake3d Icculus.Org Quake3 game data files for Solaris 10 (X11,GLX,SDL)
+P SUNWxwplt X Window System platform software
+P ioquake3d Icculus.Org Quake3 patch data files for Solaris 10 (X11,GLX,SDL)

Modified: trunk/misc/setup/pkg/ioquake3/pkginfo.template
===================================================================
--- trunk/misc/setup/pkg/ioquake3/pkginfo.template	2009-09-15 01:44:58 UTC (rev 1607)
+++ trunk/misc/setup/pkg/ioquake3/pkginfo.template	2009-09-15 01:48:58 UTC (rev 1608)
@@ -3,10 +3,10 @@
 TZ=PST
 PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
 PKG=ioquake3
-NAME=ioquake3 1.34 for Solaris 10 (X11,GLX,SDL)
+NAME=ioquake3 for Solaris 10 (X11,GLX,SDL)
 VERSION=
 CATEGORY=application,graphics,opengl
-DESC=Icculus.Org Quake3 1.34 for Solaris 10 (http://www.ioquake3.org/)
+DESC=Icculus.Org Quake3 for Solaris 10 (http://www.ioquake3.org/)
 VENDOR=http://www.ioquake3.org/
 EMAIL=quake at cojot.name
 PKGSAV=/var/sadm/pkg/ioquake3/save

Modified: trunk/misc/setup/pkg/ioquake3.sh
===================================================================
--- trunk/misc/setup/pkg/ioquake3.sh	2009-09-15 01:44:58 UTC (rev 1607)
+++ trunk/misc/setup/pkg/ioquake3.sh	2009-09-15 01:48:58 UTC (rev 1608)
@@ -5,9 +5,16 @@
 
 IOQ3_DIR=/usr/local/share/games/quake3
 
-COMPILE_PLATFORM=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'`
-COMPILE_ARCH=`uname -p | sed -e s/i.86/i386/`
+if [ "x${LD_LIBRARY_PATH}" = "x" ]; then
+	LD_LIBRARY_PATH="${IOQ3_DIR}/lib"
+else
+	LD_LIBRARY_PATH="${IOQ3_DIR}/lib:${LD_LIBRARY_PATH}"
+fi
+export LD_LIBRARY_PATH
 
+COMPILE_PLATFORM=`uname|sed -e 's/_.*//'|tr '[:upper:]' '[:lower:]'`
+COMPILE_ARCH=`uname -p | sed -e 's/i.86/i386/'`
+
 EXEC_REL=release
 
 EXEC_BIN=ioquake3.${COMPILE_ARCH}

Modified: trunk/misc/setup/pkg/ioquake3d/depend
===================================================================
--- trunk/misc/setup/pkg/ioquake3d/depend	2009-09-15 01:44:58 UTC (rev 1607)
+++ trunk/misc/setup/pkg/ioquake3d/depend	2009-09-15 01:48:58 UTC (rev 1608)
@@ -1,2 +1 @@
-P SUNWxilrl XIL Runtime Environment
-P SFWsdl SDL - Simple DirectMedia Layer library
+P SUNWxwplt X Window System platform software

Modified: trunk/misc/setup/pkg/ioquake3m/depend
===================================================================
--- trunk/misc/setup/pkg/ioquake3m/depend	2009-09-15 01:44:58 UTC (rev 1607)
+++ trunk/misc/setup/pkg/ioquake3m/depend	2009-09-15 01:48:58 UTC (rev 1608)
@@ -1,2 +1 @@
-P SUNWxilrl XIL Runtime Environment
-P SFWsdl SDL - Simple DirectMedia Layer library
+P SUNWxwplt X Window System platform software



More information about the quake3-commits mailing list