Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 335212 Details for
Bug 451406
freecad-0.12.5284, tcl8.6, netgen-4.9.13, opecascade-6.5.4 bundle - ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
opencascade-6.5.4.ebuild
opencascade-6.5.4.ebuild (text/plain), 6.63 KB, created by
Jimmy.Jazz
on 2013-01-11 14:47:00 UTC
(
hide
)
Description:
opencascade-6.5.4.ebuild
Filename:
MIME Type:
Creator:
Jimmy.Jazz
Created:
2013-01-11 14:47:00 UTC
Size:
6.63 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=4 > >inherit autotools eutils check-reqs multilib java-pkg-opt-2 flag-o-matic > >DESCRIPTION="Software development platform for CAD/CAE, 3D surface/solid modeling and data exchange" >HOMEPAGE="http://www.opencascade.org/" >SRC_URI="http://files.opencascade.com/OCCT/OCC_${PV}_release/OpenCASCADE${PV//\./}.tar.gz" > >LICENSE="Open-CASCADE-Technology-Public-License-6.5" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="debug doc examples gl2ps java freeimage +tbb" > >DEPEND=" > media-libs/ftgl > virtual/opengl > virtual/glu > x11-libs/libXmu > >=dev-lang/tcl-8.4 > >=dev-lang/tk-8.4 > >=dev-tcltk/itcl-3.2 > >=dev-tcltk/itk-3.2 > >=dev-tcltk/tix-8.4.2 > freeimage? ( >=media-libs/freeimage-2.3.7 ) > gl2ps? ( x11-libs/gl2ps ) >" >RDEPEND="${DEPEND} > tbb? ( dev-cpp/tbb )" > >S=${WORKDIR}/ros > >RESTRICT="bindist mirror" ># http://bugs.gentoo.org/show_bug.cgi?id=352435 ># http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt > >CHECKREQS_MEMORY="256M" >CHECKREQS_DISK_BUILD="3584M" > >pkg_setup() { > check-reqs_pkg_setup > java-pkg-opt-2_pkg_setup > > INSTALL_DIR="/usr/$(get_libdir)/${P}/ros" > CASROOT="${S}" > OSNAME=$(uname) > > # Determine itk, itcl, tix, tk and tcl versions > > cat > "${T}/header.env" <<-! > ITK="itk$(sed -n '/ITK_VER/ {s/^.*"\(.*\)".*/\1/p;q}' /usr/include/itk.h)" > ITCL="tcl$(sed -n '/ITCL_VER/ {s/^.*"\(.*\)".*/\1/p;q}' /usr/include/itcl.h)" > TIX="tix$(sed -n '/TIX_VER/ {s/^.*"\(.*\)".*/\1/p;q}' /usr/include/tix.h)" > TK="tk$(sed -n '/TK_VER/ {s/^.*"\(.*\)".*/\1/p;q}' /usr/include/tk.h)" > TCL="tcl$(sed -n '/TCL_VER/ {s/^.*"\(.*\)".*/\1/p;q}' /usr/include/tcl.h)" > > TCLHOME="/usr/bin" > TCLLIBPATH="/usr/$(get_libdir)" > TBBLIB="/usr/$(get_libdir)" > ! > > echo ' > CASROOT="${CASROOT}" > MMGT_CLEAR="1" > CSF_MDTVFontDirectory="${CASROOT}/src/FontMFT" > CSF_LANGUAGE="us" > CSF_EXCEPTION_PROMPT="1" > CSF_SHMessage="${CASROOT}/src/SHMessage" > CSF_MDTVTexturesDirectory="${CASROOT}/src/Textures" > CSF_XSMessage="${CASROOT}/src/XSMessage" > CSF_StandardDefaults="${CASROOT}/src/StdResource" > CSF_PluginDefaults="${CASROOT}/src/StdResource" > CSF_XCAFDefaults="${CASROOT}/src/StdResource" > CSF_StandardLiteDefaults="${CASROOT}/src/StdResource" > CSF_GraphicShr="${CASROOT}/${OSNAME}${OSNAME:+/}lib/libTKOpenGl.so" > CSF_UnitsLexicon="${CASROOT}/src/UnitsAPI/Lexi_Expr.dat" > CSF_UnitsDefinition="${CASROOT}/src/UnitsAPI/Units.dat" > CSF_IGESDefaults="${CASROOT}/src/XSTEPResource" > CSF_STEPDefaults="${CASROOT}/src/XSTEPResource" > CSF_XmlOcafResource="${CASROOT}/src/XmlOcafResource" > CSF_MIGRATION_TYPES="${CASROOT}/src/StdResource/MigrationSheet.txt" > ITK_LIBRARY="'${TCLLIBPATH}/${ITK}'" > ITCL_LIBRARY="'${TCLLIBPATH}/${ITCL}'" > TIX_LIBRARY="'${TCLLIBPATH}/${TIX}'" > TK_LIBRARY="'${TCLLIBPATH}/${TK}'" > TCL_LIBRARY="'${TCLLIBPATH}/${TCL}'" > ' | sed 's:^\s\+::' > "${T}"/body.env > > LIBDIR="${OSNAME}${OSNAME:+/}"lib > BINDIR="${OSNAME}${OSNAME:+/}"bin > > echo ' > PATH="'${CASROOT}/${BINDIR}:${PATH}'" > LD_LIBRARY_PATH="'${CASROOT}/${LIBDIR}:${LD_LIBRARY_PATH}'" > ' | sed 's:^\s\+::' > "${T}"/footer.env > > ewarn " Please note that building OpenCascade takes a lot of time and " > ewarn " hardware ressources: 3.5-4 GB free diskspace and 256 MB RAM are " > ewarn " the minimum requirements. " >} > >src_prepare() { > java-pkg-opt-2_src_prepare > > sed -e '/AM_C_PROTOTYPES/d' -i configure.* || die > > #epatch "${FILESDIR}/${PN}-6.5-fixed-ftgl-includes.patch" > epatch "${FILESDIR}/${PN}-6.5.1-fixed-OSD_include.patch" > use tbb && epatch "${FILESDIR}/${PN}-6.5.2-fixed-tbb-VERSION.patch" > epatch "${FILESDIR}/${PN}-6.5.3-fixed-DESTDIR.patch" > #epatch "${FILESDIR}/${PN}-6.5.3-missing-include.patch" > epatch "${FILESDIR}/${PN}-6.5.3-makefile.patch" > > epatch "${FILESDIR}/${PN}-6.5.4-tcl8.6.patch" > > # Substitute with our ready-made env.sh script > > local partial line > for partial in header body footer; do > while read line; do > case "${line}" in > [A-Z][A-Z0-9]*=*) eval echo ${line};; > esac > done < "${T}/${partial}.env" > done | sed "s:^[A-Z]:export &:" > "${T}"/env.sh > > source "${T}"/env.sh > > eautoreconf >} > >src_configure() { > append-flags "-fpermissive" > append-flags "-I/usr/include/FTGL" > > # Add the configure options > local confargs="--prefix=${INSTALL_DIR} --exec-prefix=${INSTALL_DIR} --with-tcl=/usr/$(get_libdir) --with-tk=/usr/$(get_libdir)" > > confargs+=" --with-freetype=/usr" > confargs+=" --with-ftgl=/usr" > if use tbb; then > confargs+=" --with-tbb-include=/usr/include --with-tbb-library=/usr/$(get_libdir)" > fi > > use gl2ps && confargs+=" --with-gl2ps=/usr" > use freeimage && confargs+=" --with-freeimage=/usr" > > if use java ; then > confargs+=" --with-java-include=$(java-config -O)/include" > else > confargs+=" --without-java-include" > fi > > append-cppflags '-DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT' > > econf ${confargs} \ > $(use_enable debug ) $(use_enable !debug production ) \ > || die "Configuration failed" >} > >src_compile() { > append-ldflags "-L/usr/$(get_libdir)" > > use freeimage && LIBS="$(pkg-config --libs freeimage)" > > emake ${LIBS:+LIBS="${LIBS}"} >} > >src_install() { > emake DESTDIR="${D}" install > > CASROOT="${INSTALL_DIR}" > > # .la files kill cute little kittens > find "${D}" -name '*.la' -exec rm {} + > > # Tweak the environment variables script again with new destination > > OSNAME='' #'lin' > LIBDIR="${OSNAME}${OSNAME:+/}$(get_libdir)" > BINDIR="${OSNAME}${OSNAME:+/}bin" > > # Symlinks for keeping original OpenCascade folder structure and > # add a link lib to $(get_libdir) if we are e.g. on amd64 multilib > if [ "$(get_libdir)" != "lib" ]; then > dosym "$(get_libdir)" "${CASROOT}/${OSNAME}${OSNAME:+/}lib" > fi > > echo ' > PATH="'${CASROOT}/${BINDIR}'" > LD_LIBRARY_PATH="'${CASROOT}/${LIBDIR}'" > ' | sed 's:^\s\+::' > "${T}"/footer.env > > # Build the env.d environment variables > local partial line > #for partial in header body footer; do > for partial in header body; do > while read line; do > case "${line}" in > PATH=*|LDPATH=*|LD_LIBRARY_PATH=*) > echo ${line} > ;; > [A-Z][A-Z0-9]*=*) eval echo "${line}";; > esac > done < "${T}/${partial}.env" > done > "${T}"/50${PN} > > # Install the env.d variables file > doenvd ${T}/50${PN} > > cd "${S}"/../ || die > > if use examples; then > insinto /usr/share/doc/${PF}/examples > doins -r data > > insinto /usr/share/doc/${PF}/examples > doins -r samples > fi > > cd "${S}"/../doc || die > dodoc *.pdf > > # Install the documentation > if use doc; then > insinto /usr/share/doc/${PF} > doins -r {overview,ReferenceDocumentation} > fi >} > >pkg_postinst() { > einfo > elog "After upgrading OpenCASCADE you may have to rebuild packages depending on it." > elog "You get a list by running \"equery depends sci-libs/opencascade\"" > elog "revdep-rebuild does NOT suffice." > einfo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 451406
:
335200
|
335202
|
335204
|
335206
|
335208
|
335210
| 335212 |
335214
|
335216
|
335218
|
335220
|
335222
|
335224
|
335226
|
335228
|
335230
|
335232