Version bump
authorPatrick Kursawe <phosphan@gentoo.org>
Tue, 4 Jan 2005 16:32:19 +0000 (16:32 +0000)
committerPatrick Kursawe <phosphan@gentoo.org>
Tue, 4 Jan 2005 16:32:19 +0000 (16:32 +0000)
sci-chemistry/ghemical/ChangeLog
sci-chemistry/ghemical/Manifest
sci-chemistry/ghemical/files/digest-ghemical-1.01 [new file with mode: 0644]
sci-chemistry/ghemical/files/gcc3.4-r1.patch [new file with mode: 0644]
sci-chemistry/ghemical/ghemical-1.01.ebuild [new file with mode: 0644]

index cf550530934ad479eb86890482b2e74a7b0d81ea..d4a99d3bc79cd6e4fd9ff2b9412e41489fb9a481 100644 (file)
@@ -1,6 +1,12 @@
 # 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.3 2005/01/04 16:02:11 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ChangeLog,v 1.4 2005/01/04 16:32:19 phosphan Exp $
+
+*ghemical-1.01 (04 Jan 2005)
+
+  04 Jan 2005; Patrick Kursawe <phosphan@gentoo.org> +files/gcc3.4-r1.patch,
+  +ghemical-1.01.ebuild:
+  Version bump
 
   04 Jan 2005; Patrick Kursawe <phosphan@gentoo.org> +files/gcc3.4.patch,
   ghemical-1.00.ebuild:
index f3c819445262f41c4308cfc7faa4e5133a72da0f..6adfce63ae6c2c452c71e7135e9880ba255e6d42 100644 (file)
@@ -1,5 +1,8 @@
 MD5 7eee9f49213553ee1ee395ec0d8c2384 ghemical-1.00.ebuild 1169
-MD5 605bf18d27a39277565f181822f195bf ChangeLog 1542
+MD5 bbff2d1aa187874c26b9d4451e8a78c4 ghemical-1.01.ebuild 1173
+MD5 96b1636ec1fe41b97cf72cdcdf0514e4 ChangeLog 1690
 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
 MD5 fefd85f432335b478759ce408d355480 files/digest-ghemical-1.00 63
+MD5 ed929c4b181d11c1d2ab2e2fdfc65614 files/digest-ghemical-1.01 63
+MD5 d33b8f1ad096b3c68d0edcec13f0caaf files/gcc3.4-r1.patch 350
 MD5 bdb8f7d12899a6cae19b4d7ff183c752 files/gcc3.4.patch 1112
diff --git a/sci-chemistry/ghemical/files/digest-ghemical-1.01 b/sci-chemistry/ghemical/files/digest-ghemical-1.01
new file mode 100644 (file)
index 0000000..f93f191
--- /dev/null
@@ -0,0 +1 @@
+MD5 41f7b6ce38b4a1be9a9cf00d7d068b4a ghemical-1.01.tgz 2790798
diff --git a/sci-chemistry/ghemical/files/gcc3.4-r1.patch b/sci-chemistry/ghemical/files/gcc3.4-r1.patch
new file mode 100644 (file)
index 0000000..3a737a4
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ru src-old/graphics/objects.h src/graphics/objects.h
+--- src-old/graphics/objects.h 2005-01-04 16:21:49.000000000 +0100
++++ src/graphics/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/ghemical-1.01.ebuild b/sci-chemistry/ghemical/ghemical-1.01.ebuild
new file mode 100644 (file)
index 0000000..243d14d
--- /dev/null
@@ -0,0 +1,38 @@
+# 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.01.ebuild,v 1.1 2005/01/04 16:32:19 phosphan 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=""
+
+DEPEND="gnome-base/gnome-libs
+       dev-libs/libf2c
+       sci-chemistry/mpqc
+       =x11-libs/gtkglarea-1.2*
+       >=media-libs/glut-3.7
+       dev-libs/libxml
+       =gnome-base/libglade-0*"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/gcc3.4-r1.patch
+}
+
+src_compile() {
+       ./configure --prefix=/usr --enable-mpqc ||die
+       emake ||die
+}
+
+src_install() {
+       sed -e "s:^prefix=.*:prefix=${D}/usr:" -i Makefile
+       make install||die
+}