Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31996 Details for
Bug 51664
[EBUILD] app-sci/scilab-3.0_rc1 (version bump)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New ebuild with gtk2 implementation
scilab-3.0_rc1.ebuild (text/plain), 4.87 KB, created by
Federico Zenith
on 2004-05-25 05:35:41 UTC
(
hide
)
Description:
New ebuild with gtk2 implementation
Filename:
MIME Type:
Creator:
Federico Zenith
Created:
2004-05-25 05:35:41 UTC
Size:
4.87 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >VENDOR_P=Scilab-3.0-RC1 > >DESCRIPTION="Scientific software package for numerical computations, Matlab lookalike" >SRC_URI="ftp://ftp.inria.fr/INRIA/Scilab/release_candidate/${VENDOR_P}.src.tar.gz" >HOMEPAGE="http://www.scilab.org/" > >LICENSE="scilab" >SLOT="0" >KEYWORDS="~x86" >IUSE="tcltk atlas gtk gtk2" > >RDEPEND="virtual/x11 > x11-libs/Xaw3d > sys-libs/ncurses > tcltk? ( dev-lang/tk ) > atlas? ( dev-libs/atlas ) > gtk? ( =x11-libs/gtk+-1.2* > >=gnome-base/gnome-libs-1.4.2 > >=dev-libs/glib-2.2 > media-libs/jpeg > media-libs/libpng > sys-libs/zlib ) > gtk2? ( >=x11-libs/gtk+-2* > >=gnome-base/gnome-libs-1.4.2 > >=dev-libs/glib-2.2 > media-libs/jpeg > media-libs/libpng > sys-libs/zlib > >=x11-libs/libzvt-2* > >=gnome-extra/libgtkhtml-2* )" > >DEPEND="app-text/sablotron > dev-libs/libxslt" > >pkg_setup() { > > local BAD_VERSION > BAD_VERSION="ls -l $(which scilab 2> /dev/null) | grep -e 2.6/ -e 2.7/ -e 2.7-r1/" > if [ -e "${BAD_VERSION}" ]; then > ewarn "It appears that your installation has been emerged with ebuilds" > ewarn "that are now known to cause problems when updating." > ewarn "The concerned Scilab ebuilds are 2.6, 2.7 and 2.7-r1." > ewarn "Specifically, they have a wicked pkg_postrm()." > ewarn "To install properly, remove the current installation manually with" > ewarn > ewarn "emerge -C scilab" > ewarn > ewarn "before proceeding as normal. If should not work, try manually" > ewarn "removing the link /usr/bin/scilab or the program folder:" > ewarn > ewarn "rm -f /usr/bin/scilab" > ewarn "rm -rf /usr/lib/scilab*" > ewarn > die > fi > >} > >src_unpack() { > > unpack ${A} > cd ${WORKDIR} > # Patch by Stephane Mottelet to use scilab from the command line > # without losing functionality. > epatch ${FILESDIR}/nc.patch > mv ${VENDOR_P} ${P} # This makes everything sooo much tidier. > >} > >src_compile() { > > local myopts > > use tcltk || myopts="${myopts} --without-tk" > use atlas && myopts="${myopts} --with-atlas-library=/usr/lib" > use gtk2 && myopts="${myopts} --with-gtk2" || use gtk && myopts="${myopts} --with-gtk" || myopts="${myopts} --without-gtk" > > > econf ${myopts} || die "./configure failed" > env HOME=${S} make all || die "make all failed" > >} > >src_install() { > > # These instructions come from the file ${P}/Makefile, mostly section install. > # Make sure files have not been removed added to these list when you use > # this ebuild as a template for future versions. > > PVMBINDISTFILES="\ > ${P}/pvm3/Readme \ > ${P}/pvm3/lib/pvm \ > ${P}/pvm3/lib/pvmd \ > ${P}/pvm3/lib/pvmtmparch \ > ${P}/pvm3/lib/pvmgetarch \ > ${P}/pvm3/lib/LINUX/pvmd3 \ > ${P}/pvm3/lib/LINUX/pvmgs \ > ${P}/pvm3/lib/LINUX/pvm \ > ${P}/pvm3/bin/LINUX/*" > > BINDISTFILES="\ > ${P}/.binary \ > ${P}/.pvmd.conf \ > ${P}/ACKNOWLEDGEMENTS \ > ${P}/CHANGES \ > ${P}/Makefile \ > ${P}/Makefile.OBJ \ > ${P}/Makefile.incl \ > ${P}/Makemex \ > ${P}/Path.incl \ > ${P}/README_Unix \ > ${P}/Version.incl \ > ${P}/configure \ > ${P}/libtool \ > ${P}/license.txt \ > ${P}/licence.txt \ > ${P}/scilab.quit \ > ${P}/scilab.star \ > ${P}/X11_defaults \ > ${P}/bin \ > ${P}/config \ > ${P}/contrib \ > ${P}/demos \ > ${P}/examples \ > ${P}/imp/NperiPos.ps \ > ${P}/imp/giffonts \ > ${P}/macros \ > ${P}/man/eng/ \ > ${P}/man/fr/ \ > ${P}/man/*.dtd \ > ${P}/man/*/*.xsl \ > ${P}/maple \ > ${P}/routines/*.h \ > ${P}/routines/Make.lib \ > ${P}/routines/default/FCreate \ > ${P}/routines/default/Flist \ > ${P}/routines/default/README \ > ${P}/routines/default/fundef \ > ${P}/routines/default/*.c \ > ${P}/routines/default/*.f \ > ${P}/routines/default/*.h \ > ${P}/routines/graphics/Math.h \ > ${P}/routines/graphics/Graphics.h \ > ${P}/routines/graphics/Entities.h \ > ${P}/routines/interf/*.h \ > ${P}/routines/intersci/sparse.h \ > ${P}/routines/menusX/*.h \ > ${P}/routines/scicos/scicos.h \ > ${P}/routines/scicos/scicos_block.h \ > ${P}/routines/sun/*.h \ > ${P}/routines/xsci/*.h \ > ${P}/scripts \ > ${P}/tcl \ > ${P}/tests \ > ${P}/util" > > touch .binary > strip bin/scilex > cd ${S}/tests && make distclean > cd ${S}/examples && make distclean > cd ${S}/man && make man > > dodir /usr/lib > (cd ${S}/.. && tar cf - ${BINDISTFILES} ${PVMBINDISTFILES} | (cd ${D}/usr/lib; tar xf -)) > rm .binary > > dodir /usr/bin > dosym /usr/lib/${P}/bin/scilab /usr/bin/scilab > dosym /usr/lib/${P}/bin/intersci /usr/bin/intersci > dosym /usr/lib/${P}/bin/intersci-n /usr/bin/intersci-n > >} > >pkg_preinst() { > > # The compilate and install process causes the work folder to be registered > # as the runtime folder in the launch script. This is corrected here. > BAD_LINE=SCI\=\"${WORKDIR}/${P}\" > FIXED_LINE=SCI\=\"/usr/lib/${P}\" > sed -i -e "s#${BAD_LINE}#${FIXED_LINE}#" ${D}/usr/lib/${P}/bin/scilab >} > >pkg_postinst() { > > einfo > einfo "To tell Scilab about your printers, set the environment" > einfo "variable PRINTERS in the form:" > einfo > einfo "PRINTERS = \"firstPrinter:secondPrinter:anotherPrinter\"" > 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 51664
:
31796
|
31797
|
31996
|
31998