Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28536 - ebuild for new package openbabel
Summary: ebuild for new package openbabel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 28533
  Show dependency tree
 
Reported: 2003-09-12 10:20 UTC by Hermann Huttler
Modified: 2003-09-24 08:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for openbabel-1.100.1 (openbabel-1.100.1.ebuild,874 bytes, text/plain)
2003-09-12 10:21 UTC, Hermann Huttler
Details
ebuild now takes care of docs (openbabel-1.100.1.ebuild,1.06 KB, text/plain)
2003-09-22 05:50 UTC, Hermann Huttler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hermann Huttler 2003-09-12 10:20:58 UTC
OpenBabel is now a prerequisite for app-sci/xdrawchem, therefore it should be
included in Gentoo. See also bug #28533.

From their homepage:
Open Babel is a project designed to pick up where Babel left off, as a
cross-platform program and library designed to interconvert between many file
formats used in molecular modeling and computational chemistry.
Comment 1 Hermann Huttler 2003-09-12 10:21:57 UTC
Created attachment 17580 [details]
ebuild for openbabel-1.100.1
Comment 2 Markus Luisser 2003-09-18 02:25:24 UTC
the doc folder is not installed...

---------------%>---------------
make[1]: Leaving directory `/var/tmp/portage/openbabel-1.100.1/work/openbabel-1.100.1/test'
Making all in doc
make[1]: Entering directory `/var/tmp/portage/openbabel-1.100.1/work/openbabel-1.100.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openbabel-1.100.1/work/openbabel-1.100.1/doc'
---------------%>---------------

should go into /usr/share/doc/openbabel i'd say...its a pitty to loose the nice povray rendering ;(
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-22 05:07:08 UTC
Hermann, could you please commit a new version which includes the docs?
Comment 4 Hermann Huttler 2003-09-22 05:50:34 UTC
Created attachment 18124 [details]
ebuild now takes care of docs
Comment 5 Markus Luisser 2003-09-22 08:23:41 UTC
sorry folks - i didnt notice this one on the first look:

if povray is installed the file 'docs/babel31.inc' should be moved to '/usr/share/povray-3.5/include/' because in the povray example (dioxin.inc) this file is a required *povray-include* and povray likes to have them in this folder.

i dont know how to handle this properly - the configure/install process of openbabel doesnt care about the file and there is no useflag for povray. on the other hand i dont think that it is so important to make povray a dependency, so perhaps its better to just forget it.

perhaps the easiest solution would be a einfo: "If you want to use openbabel with povray you have to move /usr/share/doc/openabel/babel31.inc to /usr/share/povray-3.5/include/"

i noticed some warnings when i toyed around with that file, seems that it was written for povray-3.1 and a patch may be needed to get it to work out of the box. and at least magnesium is missing in the atoms definitions. the cvs contains the same version of the file. if i can spare the time i can try to patch it, but i dont know pov and dont have much time, so even if i am able to do it, it could take a while...
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-24 08:32:31 UTC
Done. Did a few changes, please have a look at the ebuild.