Attached is an ebuild for the new version of XDrawChem (1.6). The method for compiling XDrawChem changed since the previous 1.5 version. It now uses a configure script to generate a system-specific Makefile (even though there is already a Makefile in the gzip'd tarball). Adam
Created attachment 5674 [details] Ebuild for XDrawChem-1.6
Hi Adam Thanks for the update! I cleaned it up and committed, please test. George
I noticed that the ebuild now RDEPEND's babel, but xdrawchem contains an openbabel distribution... Adam
Hi Adam >but xdrawchem contains an openbabel distribution... Is this new in 1.6 or was this already in 1.5 as well? The reason I added babel to RDEPEND is that xdrawchem complained that it does not find babel if it's not isntalled. My understanding is that babel provides some (possibly additional) data conversion. Could you please take a look at #6655 (now closed, please respond to this bug) and clear up the situation with conversion tools for me? Thanks! George
Hi, I don't know why xdrawchem-1.5 would need Babel. According to the website, http://www.prism.gatech.edu/~gte067k/xdrawchem/, Babel support wasn't added until versions after 1.5. Either way, Babel (as openbabel) is now included with xdrawchem-1.6. Adam P.S. Here's the install instructions for 1.6: --------- To install XDrawChem: 1) Download and install Qt-3.0 (or later) from http://www.trolltech.com/ if it is not already installed on your system. Optionally, you can install Babel or Open Babel to translate files. XDrawChem will automatically use Babel to convert files. The binary "babel" must be in your path. XDrawChem can build and install OpenBabel if you wish. 2) Type "./configure", unless you installed OpenBabel previously. This will build and install XDrawChem and OpenBabel. If you have already installed OpenBabel, type "./configure --without-openbabel" This will build and install only XDrawChem. Then type "make", followed by (as root) "make install" After installation: 3) Setting the environment variable XDC_SERVER will override the XDC_SERVER set in the Makefile. Enjoy! ----------
Hi Adam. Thanks for clarification. I have removed app-sci/babel from RDEPEND in 1.6 and unmasked the package. Closing the bug. George