Gnome Chemistry Utils provide C++ classes and Gtk+-2 widgets related to chemistry. This port is needed for science/gchempaint port, which I'll send next. Tested on 4.7-STABLE and 5.0-RELEASE, i386 systems. Put this to science category.
This library will fail if the environment variable LANG is not defined. Here's a patch. (Sent to the author too.) Index: chemistry/element.cc =================================================================== RCS file: /cvsroot/gchemutils/gchemutils/chemistry/element.cc,v retrieving revision 1.3 diff -u -r1.3 element.cc --- chemistry/element.cc 1 Mar 2003 17:02:49 -0000 1.3 +++ chemistry/element.cc 2 Apr 2003 04:14:46 -0000 @@ -97,7 +97,7 @@ if (!strcmp((const char*)child->name, "name")) { tmp = (char*) xmlNodeGetLang(child); - if ((!tmp) && (!lang) && (!strncmp(lang, tmp, 2))) Elt->name = (char*) xmlNodeGetContent(child); + if (tmp && lang && (!strncmp(lang, tmp, 2))) Elt->name = (char*) xmlNodeGetContent(child); else DefaultName = (char*) xmlNodeGetContent(child); } else if (!strcmp((const char*)child->name, "color"))
State Changed From-To: open->closed Committed, thanks!