Hi list,

On Wednesday, 05 October 2011 at 17:38, Geoffrey Hutchison wrote:
> There's one or two crashing bugs which I'd like to fix in the next week,
> but I think it's long overdue to get v2.3.1 out.
> 
> So my suggestion is to target next Friday, Oct. 14th for a release, and
> "freeze" the code on Oct 12th to allow Chris and myself time to make
> binaries for Mac and Windows.

I don't know if there's still time, but I have two patches submitted by an user
via RedHat/Fedora bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=680292

I'm attaching them below, too.

openbabel-2.3.0-obenergy-fflist.patch

Moves the OBConversion instantiation in obenergy to fix "forcefields is not
a recognized plugin type. Those with instances of sub-types loaded are:"
message when obenergy is called without parameters.

openbabel-2.3.0-plugindir.patch

In Fedora, we use a macro (%cmake) to build apps using CMake. %cmake macro
in openbabel.spec sets -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib which breaks
openbabel build system. Not sure if you want to apply this, but I'm posting
it nevertheless.

Regards,
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
--- openbabel-2.3.0_orig/tools/obenergy.cpp     2010-10-10 06:05:20.000000000 
+0400
+++ openbabel-2.3.0/tools/obenergy.cpp  2011-03-19 18:58:18.000000000 +0300
@@ -40,6 +40,7 @@
   int verbose = 0;
   bool hydrogens = false;
   string basename, filename = "", option, option2, ff = "";
+  OBConversion conv;
 
   if (argc < 2) {
     cout << "Usage: obenergy [options] <filename>" << endl;
@@ -89,7 +90,6 @@
   }
 
   // Find Input filetype
-  OBConversion conv;
   OBFormat *format_in = conv.FormatFromExt(filename.c_str());
     
   if (!format_in || !conv.SetInFormat(format_in)) {
diff -ru openbabel-2.3.0/CMakeLists.txt openbabel-2.3.0-lg/CMakeLists.txt
--- openbabel-2.3.0/CMakeLists.txt      2010-10-23 02:05:07.000000000 +0400
+++ openbabel-2.3.0-lg/CMakeLists.txt   2011-02-26 18:49:31.000000000 +0300
@@ -218,7 +218,7 @@
     }
    " SCANDIR_NEEDS_CONST)
 
-  set(OB_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/${OB_PLUGIN_INSTALL_DIR}")
+  set(OB_MODULE_PATH "${OB_PLUGIN_INSTALL_DIR}")
   add_definitions(-DOB_MODULE_PATH="\\"${OB_MODULE_PATH}\\"")
 
   # Add some visibility support when using GCC
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to