diff options
-rw-r--r-- | sci-chemistry/ghemical/ChangeLog | 9 | ||||
-rw-r--r-- | sci-chemistry/ghemical/files/1.90-gcc3.4-r1.patch | 12 | ||||
-rw-r--r-- | sci-chemistry/ghemical/files/digest-ghemical-1.90 | 1 | ||||
-rw-r--r-- | sci-chemistry/ghemical/files/ghemical-1.90-ghemical-server-fix.patch | 13 | ||||
-rw-r--r-- | sci-chemistry/ghemical/ghemical-1.90.ebuild | 41 |
5 files changed, 75 insertions, 1 deletions
diff --git a/sci-chemistry/ghemical/ChangeLog b/sci-chemistry/ghemical/ChangeLog index 3bc4d9e3cfe5..f19e8fb2f61b 100644 --- a/sci-chemistry/ghemical/ChangeLog +++ b/sci-chemistry/ghemical/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-chemistry/ghemical # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ChangeLog,v 1.7 2005/07/09 00:20:11 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ChangeLog,v 1.8 2005/07/09 05:06:00 spyderous Exp $ + +*ghemical-1.90 (09 Jul 2005) + + 09 Jul 2005; Donnie Berkholz <spyderous@gentoo.org>; + +files/ghemical-1.90-ghemical-server-fix.patch, + +files/1.90-gcc3.4-r1.patch, +ghemical-1.90.ebuild: + Development version. 09 Jul 2005; Donnie Berkholz <spyderous@gentoo.org>; ghemical-1.02.ebuild: We can use virtual/glut here, no need to get tied into media-libs/glut. diff --git a/sci-chemistry/ghemical/files/1.90-gcc3.4-r1.patch b/sci-chemistry/ghemical/files/1.90-gcc3.4-r1.patch new file mode 100644 index 000000000000..5b359c1ca0a7 --- /dev/null +++ b/sci-chemistry/ghemical/files/1.90-gcc3.4-r1.patch @@ -0,0 +1,12 @@ +diff -ru src-old/objects.h src/objects.h +--- src-old/objects.h 2005-01-04 16:21:49.000000000 +0100 ++++ src/objects.h 2005-01-04 12:26:57.000000000 +0100 +@@ -177,7 +177,7 @@ + { + protected: + +- friend obj_loc_data * dummy_object::GetLocDataRW(void) const; ++ friend class dummy_object; + + obj_loc_data * data; + diff --git a/sci-chemistry/ghemical/files/digest-ghemical-1.90 b/sci-chemistry/ghemical/files/digest-ghemical-1.90 new file mode 100644 index 000000000000..3e2936c9532e --- /dev/null +++ b/sci-chemistry/ghemical/files/digest-ghemical-1.90 @@ -0,0 +1 @@ +MD5 0800279e8d0df8da1e155919ba59e5c2 ghemical-1.90.tgz 1392772 diff --git a/sci-chemistry/ghemical/files/ghemical-1.90-ghemical-server-fix.patch b/sci-chemistry/ghemical/files/ghemical-1.90-ghemical-server-fix.patch new file mode 100644 index 000000000000..cbc473e897d6 --- /dev/null +++ b/sci-chemistry/ghemical/files/ghemical-1.90-ghemical-server-fix.patch @@ -0,0 +1,13 @@ +diff -urN ghemical-1.90.orig/Makefile.in ghemical-1.90/Makefile.in +--- ghemical-1.90.orig/Makefile.in 2005-06-30 06:04:13.000000000 -0700 ++++ ghemical-1.90/Makefile.in 2005-07-08 21:59:35.000000000 -0700 +@@ -72,7 +72,8 @@ + ## prefix? now goes into /usr/lib/bonobo/servers/ + ################################################# + @echo "Copying GNOME_Ghemical.server" +- cp -p $(top_srcdir)/GNOME_Ghemical.server /usr/lib/bonobo/servers/ ++ $(top_srcdir)/mkinstalldirs @libdir@/bonobo/servers ++ cp -p $(top_srcdir)/GNOME_Ghemical.server @libdir@/bonobo/servers/ + @echo "" + + ## prefix? now goes into /usr/share/gnome-2.0/ui/ diff --git a/sci-chemistry/ghemical/ghemical-1.90.ebuild b/sci-chemistry/ghemical/ghemical-1.90.ebuild new file mode 100644 index 000000000000..232e0d188bc3 --- /dev/null +++ b/sci-chemistry/ghemical/ghemical-1.90.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ghemical-1.90.ebuild,v 1.1 2005/07/09 05:06:00 spyderous Exp $ + +inherit eutils + +DESCRIPTION="Ghemical supports both quantum-mechanics (semi-empirical and ab initio) models and molecular mechanics models (there is an experimental Tripos 5.2-like force field for organic molecules). Also a tool for reduced protein models is included. Geometry optimization, molecular dynamics and a large set of visualization tools are currently available." +HOMEPAGE="http://www.uku.fi/~thassine/ghemical/" +SRC_URI="http://www.uku.fi/~thassine/ghemical/download/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="threads" + +DEPEND="dev-libs/libf2c + virtual/glut + >=dev-util/pkgconfig-0.15 + >=x11-libs/gtkglext-1.0.5 + >=gnome-base/libglade-2.4.0 + >=sci-chemistry/libghemical-1.90 + threads? ( >=dev-libs/glib-2.4.0 )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-gcc3.4-r1.patch + epatch ${FILESDIR}/${P}-ghemical-server-fix.patch +} + +src_compile() { + ./configure \ + --prefix=/usr \ + $(use_enable threads) || die "Configure failed" + emake || die "Make failed" +} + +src_install() { + sed -e "s:^prefix=.*:prefix=${D}/usr:" -i Makefile + make install || die "Install failed" +} |