Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78014 Details for
Bug 119493
sci-misc/cogent - A graphical environment for cognitive modelling
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cogent-2.3.6.ebuild
cogent-2.3.6.ebuild (text/plain), 3.06 KB, created by
Ed Catmur
on 2006-01-24 10:41:54 UTC
(
hide
)
Description:
cogent-2.3.6.ebuild
Filename:
MIME Type:
Creator:
Ed Catmur
Created:
2006-01-24 10:41:54 UTC
Size:
3.06 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit multilib eutils > >DESCRIPTION="A graphical environment for cognitive modelling" >HOMEPAGE="http://cogent.psyc.bbk.ac.uk/" >SRC_URI="http://cogent.psyc.bbk.ac.uk/download/unix/${P}-src.tgz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="doc" >S="${WORKDIR}" ># strip breaks prolog compiled executables (oos) >RESTRICT="nostrip" > >DEPEND="dev-lang/swi-prolog > =x11-libs/gtk+-1.2*" > >src_unpack() { > unpack ${A}; cd ${S} > # Fix compile of declaration_panel.c > epatch ${FILESDIR}/${PN}-2.3.6-declaration_panel.patch > # No need to copy socket.so to /usr/bin; it's found in SWI Prolog libpath > epatch ${FILESDIR}/${PN}-2.3.6-no-swi-socket.patch > # Pass installation locations in as defines > epatch ${FILESDIR}/${PN}-2.3.6-locations.patch > # Default to use online help unless installing documentation > use doc || epatch ${FILESDIR}/${PN}-2.3.6-use-online-help.patch > # Don't pass -remote 'openURL(...)' to browsers; mozilla-launcher doesn't > # need it and epiphany, konqueror etc. don't like it > epatch ${FILESDIR}/${PN}-2.3.6-no-remote-browser.patch > # Fix crash when delete_file fails > epatch ${FILESDIR}/${PN}-2.3.6-oos-error.patch > # Prevent symbol resolution errors by linking ooslib.o into buffer.so > epatch ${FILESDIR}/${PN}-2.3.6-buffer-symbol-errors.patch >} > >src_compile() { > # Is there anything better we can do here? > local DEFAULTBROWSER="netscape" > make \ > CFLAGS="$(gtk-config --cflags) $CFLAGS -DHRP -DLAKATOS -DOP_DECS \ > -DDEFAULT_OOS_EXECUTABLE='\"/usr/bin/oos\"' \ > -DDEFAULT_HELP_DIR='\"/usr/share/doc/${PF}/html/help/\"' \ > -DDEFAULT_SCRIPT_DIR='\"/usr/$(get_libdir)/cogent/scripts/\"' \ > -DDEFAULT_OOS_CLASS_DIR'=\"/usr/$(get_libdir)/cogent/classes/\"' \ > -DDEFAULT_OOS_LIB_DIR='\"/usr/$(get_libdir)/cogent/oos/\"' \ > -DDEFAULT_WEB_BROWSER='\"$DEFAULTBROWSER\"' \ > -DDEFAULT_SYS_INSTALL_HOME='\"/usr/$(get_libdir)/cogent/\"' \ > " \ > linux || die "make failed" >} > >src_install() { > make install BIN=${D}/usr/bin LIB=${D}/usr/$(get_libdir) \ > || die "make install failed" > rm -r ${D}/usr/$(get_libdir)/cogent/help > use doc && dohtml -A xbm,gif,txt -r lib/help > insinto /usr/share/pixmaps > newins xbm/brain64.xpm cogent-brain64.xpm > make_desktop_entry cogent Cogent cogent-brain64.xpm >} > >pkg_postinst() { > echo > einfo "Cogent has been installed to /usr/bin/cogent and to the desktop" > einfo "menu (Applications->Other->Cogent)." > echo > einfo "The installation locations in the first-run screen are correct; the" > einfo "screen has been left enabled so you can choose the Cogent user data" > einfo "directory." > echo > einfo "If you want to use the help, remember to set your browser" > einfo "(Preferences->Help->Help browser)." > echo > einfo "In order to assess usage of Cogent, the authors have made it" > einfo "necessary to enter a registration code to use some features. You" > einfo "can get a registration code by contacting the authors (see" > einfo "$HOMEPAGE). Alternatively, you can generate" > einfo "your own registration code by reading the source code or using gdb." > echo >}
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 119493
:
77471
|
77472
|
77473
|
77474
|
77475
|
77476
|
77485
| 78014 |
78015
|
78016