summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-08-11 08:50:25 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-08-11 08:50:25 +0000
commitf2778285db49ddbf464c166826abbb721c24fa48 (patch)
tree3632545dd163b59787961b5a77ff158470e5f6dd /media-gfx/maya
parentRevbump to add amd64 support, fix enewuser, cleanup init scripts and ebuild, ... (diff)
downloadhistorical-f2778285db49ddbf464c166826abbb721c24fa48.tar.gz
historical-f2778285db49ddbf464c166826abbb721c24fa48.tar.bz2
historical-f2778285db49ddbf464c166826abbb721c24fa48.zip
Version bump. Still in package.mask for development.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'media-gfx/maya')
-rw-r--r--media-gfx/maya/ChangeLog9
-rw-r--r--media-gfx/maya/Manifest17
-rw-r--r--media-gfx/maya/files/50maya4
-rw-r--r--media-gfx/maya/files/aw_flexlm8
-rw-r--r--media-gfx/maya/files/digest-maya-6.50
-rw-r--r--media-gfx/maya/maya-5.0.1-r1.ebuild4
-rw-r--r--media-gfx/maya/maya-6.5.ebuild242
7 files changed, 270 insertions, 14 deletions
diff --git a/media-gfx/maya/ChangeLog b/media-gfx/maya/ChangeLog
index af46fd757d3e..ff99edd6b1a7 100644
--- a/media-gfx/maya/ChangeLog
+++ b/media-gfx/maya/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/maya
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/ChangeLog,v 1.17 2005/07/30 20:45:10 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/ChangeLog,v 1.18 2005/08/11 08:50:25 eradicator Exp $
+
+*maya-6.5 (02 Aug 2005)
+
+ 02 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> +files/50maya,
+ files/aw_flexlm, maya-5.0.1-r1.ebuild, +maya-6.5.ebuild:
+ Version bump. Ebuild made by me with support from Depthvfx,
+ http://www.depthvfx.com.
30 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org>
-files/maya-6.0.md5sum, files/aw_flexlm, files/aw_flexlm.conf.d,
diff --git a/media-gfx/maya/Manifest b/media-gfx/maya/Manifest
index 5432c624cc7b..cb3ae7b89a42 100644
--- a/media-gfx/maya/Manifest
+++ b/media-gfx/maya/Manifest
@@ -1,18 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 c7ee5f18d037a294e8d1968f5b855db0 ChangeLog 2486
-MD5 35237686a26e4acbd35d6113afce8836 maya-5.0.1-r1.ebuild 9453
+MD5 72e5559ca4aab438fe403212ba3ce0fc ChangeLog 2733
+MD5 daffe0e3c6b618205c1bd9c99018fe00 maya-5.0.1-r1.ebuild 9459
+MD5 353e068ef5c5509917ad16f0eaf3a298 maya-6.5.ebuild 8425
MD5 c1e212329f9083e2405b16dd382d6632 metadata.xml 259
-MD5 bb9ba615ef3e351208b07cea7a5683f6 files/aw_flexlm 1165
+MD5 cc3fa6633b4e3b2f99d800cb8884ac17 files/aw_flexlm 1173
MD5 ed8559691fb165588d7db943242e7157 files/aw_flexlm.conf.d 132
MD5 4c7815a2fa0bc842f364c812ac9beb29 files/digest-maya-5.0.1-r1 142
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-maya-6.5 0
MD5 d47d06f98fae1230e4a0e5db03745c90 files/maya-5.0.1.md5sum 62023
+MD5 9bd53be7de27bdf7b1964a15ed99b93d files/50maya 106
MD5 aa3d8c97154f1ce2d263a2a071811c28 files/maya-docs 314
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFC6/LKArHZZzCEUG0RAr/vAJ9RYEaynm03chrrrYjj7YObm7CW/QCfX/wY
-5SPo9reaFJv/YkvoOZuhzI4=
-=0FAq
+iD8DBQFC+xFmArHZZzCEUG0RAg3CAJ9Eq/jsTUUcf9UG+U77lXQ0GVQpsQCeN7ar
+o5AYfVpJmNV5LG53IqUOc9k=
+=fZ+m
-----END PGP SIGNATURE-----
diff --git a/media-gfx/maya/files/50maya b/media-gfx/maya/files/50maya
new file mode 100644
index 000000000000..b9e9a92832f3
--- /dev/null
+++ b/media-gfx/maya/files/50maya
@@ -0,0 +1,4 @@
+AW_COMMON=/opt/aw
+MAYA_LOCATION=${AW_COMMON}/maya
+PATH=${MAYA_LOCATION}/bin
+ROOTPATH=${MAYA_LOCATION}/bin
diff --git a/media-gfx/maya/files/aw_flexlm b/media-gfx/maya/files/aw_flexlm
index 5b546c445c34..fc0239f0daf4 100644
--- a/media-gfx/maya/files/aw_flexlm
+++ b/media-gfx/maya/files/aw_flexlm
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/files/aw_flexlm,v 1.4 2005/07/30 21:34:14 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/files/aw_flexlm,v 1.5 2005/08/11 08:50:25 eradicator Exp $
# description: aw_flexlm controls the Flexlm License Server Daemon for \
# Alias|Wavefront Products.
@@ -13,11 +13,11 @@ depend() {
checkconfig() {
if [[ -x "/opt/aw/COM/etc/lmgrd" ]]; then
- if [[ -f "$LICENSE_FILE" ]] ; then
+ if [[ -f "${LICENSE_FILE}" ]] ; then
return 0
else
eerror "ERROR Cannot run FLEXlm Licensing daemon: lmgrd"
- eerror "$LICENSE_FILE does not exist."
+ eerror "${LICENSE_FILE} does not exist."
fi
else
eerror "ERROR Cannot run FLEXlm Licensing daemon: lmgrd"
@@ -30,7 +30,7 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting FLEXlm License Server Daemon for Alias|Wavefront software"
- LD_ASSUME_KERNEL=2.4.1 su nobody -c "/opt/aw/COM/etc/lmgrd -c ${LICENSE_FILE} -l ${LOG}"
+ LD_ASSUME_KERNEL=2.4.1 su nobody -c "/opt/aw/COM/etc/lmgrd -c '${LICENSE_FILE}' -l '${LOG}'"
eend $?
}
diff --git a/media-gfx/maya/files/digest-maya-6.5 b/media-gfx/maya/files/digest-maya-6.5
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/media-gfx/maya/files/digest-maya-6.5
diff --git a/media-gfx/maya/maya-5.0.1-r1.ebuild b/media-gfx/maya/maya-5.0.1-r1.ebuild
index 609326bbb730..fdfa90106cba 100644
--- a/media-gfx/maya/maya-5.0.1-r1.ebuild
+++ b/media-gfx/maya/maya-5.0.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/maya-5.0.1-r1.ebuild,v 1.13 2005/07/30 21:34:14 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/maya-5.0.1-r1.ebuild,v 1.14 2005/08/11 08:50:25 eradicator Exp $
# Note that this ebuild requires you to set the MAYA_INSTALL_LOC environment
# variable to the location of your maya RPMS and documentation:
@@ -236,7 +236,7 @@ pkg_postinst() {
# http://www.highend2d.com/boards/showthreaded.php?Cat=&Board=linuxforum&Number=174726&page=&view=&sb=&o=
ewarn "You should disable klipper, xfce4-clipman, and any other clipboard"
ewarn "utilities as they have been shown to cause maya to crash."
-
+ ewarn
ewarn "You need to have a linuxthreads (without tls) glibc installed to"
ewarn "use this package. In otherwords, you need to NOT have linuxthreads-tls"
ewarn "or nptlonly in your USE flags when you emerge glibc. If you use nptl,"
diff --git a/media-gfx/maya/maya-6.5.ebuild b/media-gfx/maya/maya-6.5.ebuild
new file mode 100644
index 000000000000..5032ec7825eb
--- /dev/null
+++ b/media-gfx/maya/maya-6.5.ebuild
@@ -0,0 +1,242 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/maya-6.5.ebuild,v 1.1 2005/08/11 08:50:25 eradicator Exp $
+
+inherit rpm eutils versionator
+
+IUSE="bundled-libs maya-shaderlibrary doc"
+
+S="${WORKDIR}"
+
+DESCRIPTION="Alias Wavefront's Maya. Commercial modeling and animation package."
+HOMEPAGE="http://www.alias.com/eng/products-services/maya/index.shtml"
+
+# RPM versions within the tarballs which will get installed
+AWCOMMON_RPM="AWCommon-6.3-1.i686.rpm"
+AWCOMMON_SERVER_RPM="AWCommon-server-6.3-1.i686.rpm"
+MAYA_RPM="Maya6_5-6.5-253.i686.rpm"
+MAYA_DOCS_RPM="Maya6_5-docs-6.5-253.i686.rpm"
+
+# Patches to download go into SRC_URI
+SRC_URI=""
+RESTRICT="fetch nouserpriv"
+
+SLOT="$(get_version_component_range 1-2)"
+
+LICENSE="maya-5.0 mayadoc-5.0"
+
+CDROM_NAME_1="Maya 6.5 Installation CD"
+
+# Still having trouble getting the docs working right.
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/unzip"
+
+RDEPEND="|| ( app-shells/tcsh app-shells/csh )
+ x86? ( app-admin/fam
+ !bundled-libs? ( =x11-libs/qt-3*
+ || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )
+ >=x11-libs/openmotif-2.2 ) )
+ amd64? ( >=app-emulation/emul-linux-x86-baselibs-2.1.4
+ app-emulation/emul-linux-x86-xlibs
+ !bundled-libs? ( app-emulation/emul-linux-x86-qtlibs ) )
+ doc? ( !bundled-libs? ( >=virtual/jre-1.4.2 ) )
+ virtual/opengl"
+
+AWDIR="/opt/aw"
+MAYADIR="${AWDIR}/maya${SLOT}"
+
+pkg_nofetch() {
+ einfo "Please place the required files in ${DISTDIR}:"
+# einfo
+# einfo "Downloads from Alias's support server:"
+# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_107/myr_maya501_gold_linux_update.tgz"
+# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_79/myr_TechDocs.zip"
+}
+
+src_unpack() {
+ cdrom_get_cds AWCommon-${AWCOMMON_RPM}.rpm
+
+ # Unpack downloaded tarballs containing RPMs
+ #mkdir ${S}/RPMS
+ #cd ${S}/RPMS
+ #unpack myr_maya501_gold_linux_update.tgz
+
+ # rpm_unpack unpacks in ${WORKDIR} no matter what we try... so get it out of the way...
+ cd ${S}
+ rpm_unpack ${CDROM_ROOT}/${AWCOMMON_RPM}
+ rpm_unpack ${CDROM_ROOT}/${AWCOMMON_SERVER_RPM}
+ rpm_unpack ${CDROM_ROOT}/${MAYA_RPM}
+
+ if use doc ; then
+ rpm_unpack ${CDROM_ROOT}/${MAYA_DOCS_RPM}
+
+ if ! use bundled-libs; then
+ rm -rf ${S}/usr/aw/maya6.5/docs/jre
+ sed -i -e 's:JAVACMD=\./jre/bin/java:JAVACMD=java:g' ${S}/usr/aw/maya6.5/docs/startDocServer.sh
+ fi
+ fi
+
+ if use maya-shaderlibrary ; then
+ pushd ${CDROM_ROOT} >& /dev/null
+ [[ -d shaderLibrary ]] || die "Could not locate shaderLibrary on Maya Installation CD."
+
+ tar -c -f - shaderLibrary | (cd ${S}; tar -x -f -) || die "Failed to copy over maya shader library"
+
+ popd >& /dev/null
+ fi
+
+ mkdir ${S}/insroot
+ mv ${S}/usr ${S}/insroot/opt
+ rm -rf ${S}/insroot/opt/sbin
+
+ # Don't need RedHat's init script
+ rm -rf ${S}/etc
+
+ # Use app-admin/flexlm
+ rm -rf ${S}/insroot/opt/COM/{bin/lmutil,etc/lmgrd}
+
+ cp -a ${CDROM_ROOT}/README.html ${S}
+
+ # Remove unneeded libs (provided by RDEPEND).
+ if ! use bundled-libs; then
+ #rm -f ${S}/insroot/${AWDIR}/COM/lib/libXm.so.2.1
+ rm -f ${S}/insroot/${MAYADIR}/lib/libgcc_s.so.1
+ rm -f ${S}/insroot/${MAYADIR}/lib/libstdc++.so.5.0.6
+
+ # We keep this one because of possible C++ ABI changes...
+ # Maya 6.5 was compiled with CXXABI_1.2 (libstdc++.so.5)
+ # rm -f ${S}/insroot/${MAYADIR}/lib/libqt.so.3
+
+ rm -f ${S}/insroot/${MAYADIR}/lib/libXm.so.3
+ fi
+}
+
+src_install() {
+ dohtml README.html
+
+ cd ${S}/insroot
+ cp -a . ${D}
+
+ # We use our own Motif runtime unless USE=bundled-libs
+ #if use bundled-libs; then
+ dosym libXm.so.2.1 ${AWDIR}/COM/lib/libXm.so
+ dosym libXm.so.2.1 ${AWDIR}/COM/lib/libXm.so.2
+ #fi
+
+ # SLOT the COM directory to avoid conflicts
+ mv ${D}${AWDIR}/COM ${D}${AWDIR}/COM-${SLOT}
+ dosym COM-${SLOT} ${AWDIR}/COM
+ dosym COM ${AWDIR}/COM2
+ # End rpm -qp --scripts AWCommon-6.3-1.i686.rpm
+
+ # What follows is modified from rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
+ keepdir /var/flexlm
+
+ dosym maya6.5 ${AWDIR}/maya
+
+ # The RPM puts these in /usr/local/bin
+ dosym Maya6.5 ${MAYADIR}/bin/maya
+
+ dodir /usr/bin
+ for mayaexec in Render fcheck imgcvt maya; do
+ dosym ../../${AWDIR}/maya/bin/${mayaexec} /usr/bin/${mayaexec}
+ done
+
+ # links for pcw
+ dosym libawcsprt.so.1 ${MAYADIR}/lib/libawcsprt.so
+ dosym libpcw_opa.so.1 ${MAYADIR}/lib/libpcw_opa.so
+ dosym libpcwfindkey.so.1 ${MAYADIR}/lib/libpcwfindkey.so
+ dosym libpcwxml.so.1 ${MAYADIR}/lib/libpcwxml.so
+
+ # We use our own gcc3 runtime unless USE=bundled-libs
+ if use bundled-libs; then
+ dosym libgcc_s.so.1 ${MAYADIR}/lib/libgcc_s.so
+ dosym libstdc++.so.5.0.6 ${MAYADIR}/lib/libstdc++.so.5
+ dosym libstdc++.so.5.0.6 ${MAYADIR}/lib/libstdc++.so
+ fi
+
+ # update the mental ray configuration files in place
+ dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/mentalray/maya.rayrc
+ dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/mayarender_with_mr
+ dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/mayaexport_with_mr
+ fperms 755 ${MAYADIR}/bin/mayarender_with_mr
+
+ # End rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
+
+ doenvd ${FILESDIR}/50maya
+
+ doinitd ${FILESDIR}/aw_flexlm
+ newconfd ${FILESDIR}/aw_flexlm.conf.d aw_flexlm
+
+ if use maya-shaderlibrary ; then
+ die "Add support to install the shaderLibrary here"
+ fi
+
+ # Fix permissions
+ find ${D}${AWDIR} -type d -exec chmod 755 {} \;
+
+ dosed 's:tail -1: tail -n 1:g' /opt/aw/maya${SLOT}/bin/Maya${SLOT}
+}
+
+pkg_postinst() {
+ # What follows is modified from rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
+ cp ${ROOT}/etc/services ${T}/services.maya_save
+ awk '/mi-ray/ { found++; print ; next } {print} END {if (0==found) print "mi-ray 7003/tcp" }' ${T}/services.maya_save > ${ROOT}/etc/services
+
+ cp ${ROOT}/etc/services ${T}/services.maya_save
+ awk '/mi-raysat/ { found++; print ; next } {print} END {if (0==found) print "mi-raysat 7103/tcp" }' ${T}/services.maya_save > ${ROOT}/etc/services
+
+ # update the magic file
+ if [[ -e ${ROOT}/usr/share/magic ]]; then
+ mv ${ROOT}/usr/share/magic ${T}/magic.rpmsave
+ awk '/Alias.Wavefront Maya files. begin/ {p=1} /Alias.Wavefront Maya files. end/ {p=2} {if (p==2) { p=0} else if (p==0) print }' ${T}/magic.rpmsave > ${ROOT}/usr/share/magic
+ cat ${ROOT}${MAYADIR}/.tmpdata/awmagic >> ${ROOT}/usr/share/magic;
+ # get file to rebuild the cache
+ file -C > /dev/null 2>&1
+ rm -Rf ${ROOT}${MAYADIR}/.tmpdata/awmagic 2>&1 > /dev/null
+ fi
+ # End rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
+
+ einfo "There may be a more recent license for this workstation available on the"
+ einfo "Alias|Wavefront web site. Please visit the following URL to check for"
+ einfo "updated licenses:"
+ einfo "http://www.aliaswavefront.com/en/Community/Special/keys/maya/"
+ echo
+ einfo "To install your key, either place aw.dat in /var/flexlm or run the following"
+ einfo "command from an X session:"
+ einfo "${AWDIR}/COM/bin/installKey -input ${MAYADIR}/license_data/maya_prekey_data"
+ echo
+ einfo "One init scripts has been installed:"
+ einfo "maya-docs is for the document server (help system)."
+ echo
+ einfo "If you want to use the flexlm license server, emerge '>=app-admin/flexlm-9.5'"
+ echo
+
+ # GCC_3.0
+ # GLIBC_2.1.3
+ # GLIBC_2.0
+ # GLIBCPP_3.2
+ # CXXABI_1.2
+ einfo "Maya 6.5 was compiled on the following system configuration:"
+ einfo "Linux 2.4.7-10 (RedHat 7.2, glibc-2.2.4-13), i686, gcc3"
+ einfo "If you intend to compile plugins for Maya, you will need to"
+ einfo "'emerge \=sys-devel/gcc-3.3*' and use gcc-config to switch compilers."
+ einfo "The Maya SDK headers are located in ${MAYADIR}/include, and libs"
+ einfo "are in ${MAYADIR}/lib."
+ echo
+ # http://www.highend2d.com/boards/showthreaded.php?Cat=&Board=linuxforum&Number=174726&page=&view=&sb=&o=
+ ewarn "You should disable klipper, xfce4-clipman, and any other clipboard"
+ ewarn "utilities as they have been shown to cause maya-5.0.1 to crash."
+ ewarn "Feedback on whether or not this is still true ion Maya 6.5 would be"
+ ewarn "appreciated at http://bugs.gentoo.org"
+
+ if use doc && [[ ! -x /usr/bin/mozilla ]] ; then
+ echo
+ ewarn "The Maya document system has been installed, but we have detected"
+ ewarn "that you don't have Mozilla installed on your system. Maya"
+ ewarn "launches mozilla to start the help program, so it is advised that"
+ ewarn "you either install mozilla or place a stub executable at /usr/bin/mozilla"
+ ewarn "which will launch another browser on your system."
+ fi
+}