summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-24 16:43:45 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-24 16:43:45 +0000
commit77535eeaed91b27f77b961579f331f6c7af7da10 (patch)
treeb2a25f2d9e1ff15ee96f2bd5215a66087cbfdf31 /sci-chemistry
parentMoving to sci-chemistry/kemistry (diff)
downloadhistorical-77535eeaed91b27f77b961579f331f6c7af7da10.tar.gz
historical-77535eeaed91b27f77b961579f331f6c7af7da10.tar.bz2
historical-77535eeaed91b27f77b961579f331f6c7af7da10.zip
Moved from app-sci/kemistry to sci-chemistry/kemistry.
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/kemistry/ChangeLog55
-rw-r--r--sci-chemistry/kemistry/Manifest9
-rw-r--r--sci-chemistry/kemistry/files/digest-kemistry-0.61
-rw-r--r--sci-chemistry/kemistry/files/digest-kemistry-0.71
-rw-r--r--sci-chemistry/kemistry/files/kemistry-0.6-gcc3.2.patch55
-rw-r--r--sci-chemistry/kemistry/files/kemistry-0.7-fPIC.patch45
-rw-r--r--sci-chemistry/kemistry/files/kemistry-0.7-gcc3.4.patch58
-rw-r--r--sci-chemistry/kemistry/kemistry-0.6.ebuild21
-rw-r--r--sci-chemistry/kemistry/kemistry-0.7.ebuild27
-rw-r--r--sci-chemistry/kemistry/metadata.xml5
10 files changed, 277 insertions, 0 deletions
diff --git a/sci-chemistry/kemistry/ChangeLog b/sci-chemistry/kemistry/ChangeLog
new file mode 100644
index 000000000000..5aa84d985c33
--- /dev/null
+++ b/sci-chemistry/kemistry/ChangeLog
@@ -0,0 +1,55 @@
+# ChangeLog for app-sci/kemistry
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/kemistry/ChangeLog,v 1.1 2004/12/24 16:43:45 ribosome Exp $
+
+*kemistry-0.6 (24 Dec 2004)
+
+ 24 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/kemistry-0.6-gcc3.2.patch, +files/kemistry-0.7-fPIC.patch,
+ +files/kemistry-0.7-gcc3.4.patch, +kemistry-0.6.ebuild,
+ +kemistry-0.7.ebuild:
+ Moved from app-sci/kemistry to sci-chemistry/kemistry.
+
+ 23 Oct 2004; Jason Wever <weeve@gentoo.org> kemistry-0.7.ebuild:
+ Stable on sparc.
+
+ 05 Sep 2004; Malcolm Lashley <malc@gentoo.org>
+ +files/kemistry-0.7-fPIC.patch, +files/kemistry-0.7-gcc3.4.patch,
+ kemistry-0.7.ebuild:
+ ~amd64 -fPIC and gcc3.4 patches
+
+ 14 Aug 2004; Sven Wegener <swegener@gentoo.org> kemistry-0.7.ebuild:
+ Fixed CVS Header.
+
+ 29 Jun 2004; Carsten Lohrke <carlo@gentoo.org> kemistry-0.6.ebuild,
+ kemistry-0.7.ebuild:
+ QA: inherit kde-base -> inherit kde, newdepend -> DEPEND, need-kde after
+ R/DEPEND
+
+ 21 Mar 2004; Jason Wever <weeve@gentoo.org> kemistry-0.7.ebuild:
+ Added ~sparc keyword.
+
+ 15 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> kemistry-0.6.ebuild,
+ kemistry-0.7.ebuild:
+ Moved "newdepend" a little down, so that it really has an effect now. Fixes
+ bug #41664
+
+*kemistry-0.7 (26 Jan 2003)
+
+ 26 Jan 2003; Hannes Mehnert <hannes@gentoo.org> kemistry-0.7.ebuild:
+ version bump
+
+ 02 Nov 2002; Hannes Mehnert <hannes@gentoo.org> kemistry-0.6.ebuild:
+ marked stable
+
+ 27 Oct 2002; Hannes Mehnert <hannes@gentoo.org> kemistry-0.6.ebuild:
+ added kdesdk as depend
+
+ 23 Oct 2002; Hannes Mehnert <hannes@gentoo.org> kemistry-0.6.ebuild,
+ files/kemistry-0.6-gcc3.2.patch: patched source to compile with gcc-3.2
+
+*kemistry-0.6 (23 Oct 2002)
+
+ 23 Oct 2002; Hannes Mehnert <hannes@gentoo.org> kemistry-0.6.ebuild,
+ ChangeLog: Initial ebuild. Thanks to a-tenderholt@northwestern.edu
+ (Adam Tenderholt) for submission (#7679).
diff --git a/sci-chemistry/kemistry/Manifest b/sci-chemistry/kemistry/Manifest
new file mode 100644
index 000000000000..8365c0626441
--- /dev/null
+++ b/sci-chemistry/kemistry/Manifest
@@ -0,0 +1,9 @@
+MD5 c8618bfc1ac857b3d62c990b770e3a45 ChangeLog 1680
+MD5 3b8def1adea90f80a7b84891ff3cee5c kemistry-0.6.ebuild 541
+MD5 92e07e79f9adbfc2adcaef484d7fa225 kemistry-0.7.ebuild 634
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 3f2cfa5242a8209eb005aa688f7e161b files/digest-kemistry-0.6 66
+MD5 ff459344a766830061d4245b51081a7c files/digest-kemistry-0.7 66
+MD5 50e1d5c2a24f011bf95f4f52408c7ad1 files/kemistry-0.6-gcc3.2.patch 1736
+MD5 228927d1d7c84e2f350740b3ed134944 files/kemistry-0.7-fPIC.patch 1966
+MD5 c3996b6e2fbc3c51e3cb7420a61cfed3 files/kemistry-0.7-gcc3.4.patch 2128
diff --git a/sci-chemistry/kemistry/files/digest-kemistry-0.6 b/sci-chemistry/kemistry/files/digest-kemistry-0.6
new file mode 100644
index 000000000000..0a0103bfe7a7
--- /dev/null
+++ b/sci-chemistry/kemistry/files/digest-kemistry-0.6
@@ -0,0 +1 @@
+MD5 e6355c1ba978b5f1fc95a193b7fda8c2 kemistry-0.6.tar.bz2 1100194
diff --git a/sci-chemistry/kemistry/files/digest-kemistry-0.7 b/sci-chemistry/kemistry/files/digest-kemistry-0.7
new file mode 100644
index 000000000000..838ebc88aff9
--- /dev/null
+++ b/sci-chemistry/kemistry/files/digest-kemistry-0.7
@@ -0,0 +1 @@
+MD5 daa7c379a7ac6a866fe0c63f021bbd7e kemistry-0.7.tar.bz2 1177402
diff --git a/sci-chemistry/kemistry/files/kemistry-0.6-gcc3.2.patch b/sci-chemistry/kemistry/files/kemistry-0.6-gcc3.2.patch
new file mode 100644
index 000000000000..e6130f073286
--- /dev/null
+++ b/sci-chemistry/kemistry/files/kemistry-0.6-gcc3.2.patch
@@ -0,0 +1,55 @@
+--- kdrawchem/ioiface.cpp.orig 2002-08-20 16:22:21.000000000 +0200
++++ kdrawchem/ioiface.cpp 2002-10-23 17:41:48.000000000 +0200
+@@ -14,8 +14,8 @@
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+-#include <vector>
+-#include <map>
++#include <vector.h>
++#include <map.h>
+ #include <algorithm>
+
+ #include "ioiface.h"
+--- kdrawchem/kdrawchemdoc.cpp.orig 2002-08-20 16:22:21.000000000 +0200
++++ kdrawchem/kdrawchemdoc.cpp 2002-10-23 17:37:40.000000000 +0200
+@@ -30,6 +30,7 @@
+ #include "kdrawchem.h"
+ #include "kdrawchemview.h"
+ #include <mol.h>
++#include <fstream.h>
+
+
+ QList<KDrawChemView> *KDrawChemDoc::pViewList = 0L;
+--- kembabel/kembabel-openbabel.cpp.orig 2002-08-21 13:50:09.000000000 +0200
++++ kembabel/kembabel-openbabel.cpp 2002-10-23 17:47:47.000000000 +0200
+@@ -36,7 +36,7 @@
+ #include <qcheckbox.h>
+ #include <qradiobutton.h>
+
+-#include <fstream>
++#include <fstream.h>
+
+ #include "kembabel.h"
+
+--- openbabel/c3d.cpp.orig 2002-07-21 19:56:42.000000000 +0200
++++ openbabel/c3d.cpp 2002-10-23 17:14:48.000000000 +0200
+@@ -151,7 +151,7 @@
+ }
+
+ if (!natoms) return(false);
+- divisor = pow(10.0,exponent);
++ divisor = pow((float)10.0,exponent);
+ mol.ReserveAtoms(natoms);
+
+ ttab.SetToType("INT");
+--- openbabel/gaussian.cpp.orig 2002-08-01 01:20:12.000000000 +0200
++++ openbabel/gaussian.cpp 2002-10-23 17:17:31.000000000 +0200
+@@ -23,7 +23,7 @@
+ bool WriteGaussianCart(ostream &ofs,OBMol &mol)
+ {
+ unsigned int i;
+- unsigned int charge = 0;
++ int charge = 0;
+ unsigned int multiplicity = 0;
+ char buffer[BUFF_SIZE];
diff --git a/sci-chemistry/kemistry/files/kemistry-0.7-fPIC.patch b/sci-chemistry/kemistry/files/kemistry-0.7-fPIC.patch
new file mode 100644
index 000000000000..50f9a816b1da
--- /dev/null
+++ b/sci-chemistry/kemistry/files/kemistry-0.7-fPIC.patch
@@ -0,0 +1,45 @@
+--- kemistry-0.7/work/kemistry-0.7/kfile_plugins/Makefile.am 2003-01-21 14:03:28.000000000 +0000
++++ kemistry-0.7_patched/work/kemistry-0.7/kfile_plugins/Makefile.am 2004-09-05 12:36:53.862035280 +0100
+@@ -1,3 +1,4 @@
++KDE_CXXFLAGS = $(USE_RTTI) $(USE_EXCEPTIONS) -fPIC
+ INCLUDES = $(all_includes) -I../openbabel -I../libkemistry
+
+ # these are the headers for your project
+--- kemistry-0.7/work/kemistry-0.7/kdrawchem/Makefile.am 2003-01-02 17:47:58.000000000 +0000
++++ kemistry-0.7_patched/work/kemistry-0.7/kdrawchem/Makefile.am 2004-09-05 12:30:47.718697528 +0100
+@@ -1,3 +1,5 @@
++KDE_CXXFLAGS = $(USE_RTTI) $(USE_EXCEPTIONS) -fPIC
++
+ ####### kdevelop will overwrite this part!!! (begin)##########
+ lib_LTLIBRARIES = libkdrawchem.la
+ bin_PROGRAMS = kdrawchem
+@@ -23,7 +25,7 @@
+ fixeddialogwidget.ui
+
+ libkdrawchem_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -module \
+- -no-undefined
++ -no-undefined
+ libkdrawchem_la_LIBADD = ../libkemistry/libkemistry.la $(LIB_KDEPRINT) $(LIB_KFILE) $(LIB_KDEUI) \
+ $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET) -lkparts ../openbabel/libopenbabel_kemistry.la
+
+--- kemistry-0.7/work/kemistry-0.7/openbabel/Makefile.am 2003-01-21 14:03:29.000000000 +0000
++++ kemistry-0.7_patched/work/kemistry-0.7/openbabel/Makefile.am 2004-09-05 12:03:53.653072800 +0100
+@@ -2,7 +2,7 @@
+
+ METASOURCES=AUTO
+
+-KDE_CXXFLAGS = $(USE_RTTI) $(USE_EXCEPTIONS) -DDATADIR=\"$(kde_datadir)/openbabel\"
++KDE_CXXFLAGS = $(USE_RTTI) $(USE_EXCEPTIONS) -DDATADIR=\"$(kde_datadir)/openbabel\" -fPIC
+ INCLUDES = $(all_includes)
+
+ #bin_PROGRAMS = babel
+--- kemistry-0.7/work/kemistry-0.7/libkemistry/Makefile.am 2003-01-21 14:45:52.000000000 +0000
++++ kemistry-0.7_patched/work/kemistry-0.7/libkemistry/Makefile.am 2004-09-05 12:08:17.850908624 +0100
+@@ -1,6 +1,6 @@
+ METASOURCES=AUTO
+
+-KDE_CXXFLAGS = $(USE_RTTI) $(USE_EXCEPTIONS)
++KDE_CXXFLAGS = $(USE_RTTI) $(USE_EXCEPTIONS) -fPIC
+ INCLUDES = $(all_includes)
+
+ lib_LTLIBRARIES = libkemistry.la
diff --git a/sci-chemistry/kemistry/files/kemistry-0.7-gcc3.4.patch b/sci-chemistry/kemistry/files/kemistry-0.7-gcc3.4.patch
new file mode 100644
index 000000000000..b4eb22e79939
--- /dev/null
+++ b/sci-chemistry/kemistry/files/kemistry-0.7-gcc3.4.patch
@@ -0,0 +1,58 @@
+--- kemistry-0.7/work/kemistry-0.7/kdrawchem/kdrawchempart.cpp 2003-01-02 17:47:58.000000000 +0000
++++ kemistry-0.7_patched/work/kemistry-0.7/kdrawchem/kdrawchempart.cpp 2004-09-05 12:18:13.204401136 +0100
+@@ -17,7 +17,7 @@
+ {
+ return new KDrawChemFactory;
+ }
+-};
++}
+
+ /**
+ * We need one static instance of the factory for our C 'main'
+@@ -115,4 +115,4 @@
+ //eof
+
+
+-#include "kdrawchempart.moc"
+\ No newline at end of file
++#include "kdrawchempart.moc"
+--- kemistry-0.7/work/kemistry-0.7/kdrawchem/kdrawchemdoc.cpp 2003-01-02 17:47:58.000000000 +0000
++++ kemistry-0.7_patched/work/kemistry-0.7/kdrawchem/kdrawchemdoc.cpp 2004-09-05 12:16:39.540640192 +0100
+@@ -183,7 +183,7 @@
+ OBMol *mol=new OBMol;
+
+ OBExtensionTable extab;
+- enum io_type importType;
++ io_type importType;
+
+ importType=extab.FilenameToType(const_cast<char*>(tmpfile.latin1())); //doesn't like being a const char*--casted it to a char*
+
+@@ -241,4 +241,4 @@
+ }
+
+
+-#include "kdrawchemdoc.moc"
+\ No newline at end of file
++#include "kdrawchemdoc.moc"
+--- kemistry-0.7/work/kemistry-0.7/kdrawchem/kdcpreview.cpp 2002-12-19 23:12:43.000000000 +0000
++++ kemistry-0.7_patched/work/kemistry-0.7/kdrawchem/kdcpreview.cpp 2004-09-05 12:14:07.154806360 +0100
+@@ -65,7 +65,7 @@
+ OBMol *mol=new OBMol;
+
+ OBExtensionTable extab;
+- enum io_type importType;
++ io_type importType;
+
+ importType=extab.FilenameToType(const_cast<char*>(filename.latin1())); //doesn't like being a const char*--casted it to a char*
+
+--- kemistry-0.7/work/kemistry-0.7/kfile_plugins/kfile_openbabel.cpp 2002-12-24 13:08:26.000000000 +0000
++++ kemistry-0.7_patched/work/kemistry-0.7/kfile_plugins/kfile_openbabel.cpp 2004-09-05 12:35:48.666946440 +0100
+@@ -37,7 +37,7 @@
+ typedef KGenericFactory<OpenBabelPlugin> OpenBabelFactory;
+
+ K_EXPORT_COMPONENT_FACTORY(kfile_openbabel,
+- OpenBabelFactory("kfile_openbabel"));
++ OpenBabelFactory("kfile_openbabel"))
+
+ OpenBabelPlugin::OpenBabelPlugin(QObject* parent, const char* name,
+ const QStringList &args)
diff --git a/sci-chemistry/kemistry/kemistry-0.6.ebuild b/sci-chemistry/kemistry/kemistry-0.6.ebuild
new file mode 100644
index 000000000000..2af057ddd1d9
--- /dev/null
+++ b/sci-chemistry/kemistry/kemistry-0.6.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/kemistry/kemistry-0.6.ebuild,v 1.1 2004/12/24 16:43:45 ribosome Exp $
+
+inherit kde
+
+S="${WORKDIR}/${PN}"
+
+DESCRIPTION="Kemistry--a set of chemistry related tools for KDE."
+HOMEPAGE="http://kemistry.sourceforge.net"
+SRC_URI="mirror://sourceforge/kemistry/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="kde-base/kdesdk"
+need-kde 3
+
+PATCHES="${FILESDIR}/${P}-gcc3.2.patch" \ No newline at end of file
diff --git a/sci-chemistry/kemistry/kemistry-0.7.ebuild b/sci-chemistry/kemistry/kemistry-0.7.ebuild
new file mode 100644
index 000000000000..bf114c48da49
--- /dev/null
+++ b/sci-chemistry/kemistry/kemistry-0.7.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/kemistry/kemistry-0.7.ebuild,v 1.1 2004/12/24 16:43:45 ribosome Exp $
+
+inherit kde eutils
+
+DESCRIPTION="Kemistry--a set of chemistry related tools for KDE."
+HOMEPAGE="http://kemistry.sourceforge.net"
+SRC_URI="mirror://sourceforge/kemistry/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 sparc ~amd64"
+IUSE=""
+
+DEPEND="kde-base/kdesdk"
+need-kde 3
+
+src_unpack() {
+ kde_src_unpack
+
+ epatch ${FILESDIR}/${P}-gcc3.4.patch
+ if use amd64; then
+ epatch ${FILESDIR}/${P}-fPIC.patch
+ fi
+}
+
diff --git a/sci-chemistry/kemistry/metadata.xml b/sci-chemistry/kemistry/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-chemistry/kemistry/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>