diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-chemistry/mead | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-chemistry/mead')
-rw-r--r-- | sci-chemistry/mead/Manifest | 1 | ||||
-rw-r--r-- | sci-chemistry/mead/files/mead-2.2.7-gcc43.patch | 22 | ||||
-rw-r--r-- | sci-chemistry/mead/files/mead-2.2.7-respect-cflags.patch | 57 | ||||
-rw-r--r-- | sci-chemistry/mead/files/mead-2.2.7-respect-flags.patch | 74 | ||||
-rw-r--r-- | sci-chemistry/mead/mead-2.2.7-r1.ebuild | 44 | ||||
-rw-r--r-- | sci-chemistry/mead/mead-2.2.7.ebuild | 44 | ||||
-rw-r--r-- | sci-chemistry/mead/metadata.xml | 5 |
7 files changed, 247 insertions, 0 deletions
diff --git a/sci-chemistry/mead/Manifest b/sci-chemistry/mead/Manifest new file mode 100644 index 000000000000..b86a2a21886e --- /dev/null +++ b/sci-chemistry/mead/Manifest @@ -0,0 +1 @@ +DIST mead-2.2.7.tar.gz 806319 RMD160 9adf9743e44061779f9ac3b9064abb9164ad3e58 SHA1 6d3bbda29a5f8fdf26600e036ca8debacc37b90e SHA256 fd2a4b357bbd847ac9b255563034d7e71bf16cf59efa371d966b6fbbe9b4cd7c diff --git a/sci-chemistry/mead/files/mead-2.2.7-gcc43.patch b/sci-chemistry/mead/files/mead-2.2.7-gcc43.patch new file mode 100644 index 000000000000..673f25890e74 --- /dev/null +++ b/sci-chemistry/mead/files/mead-2.2.7-gcc43.patch @@ -0,0 +1,22 @@ +--- mead-2.2.7.orig/libmead/AtomSet.h ++++ mead-2.2.7/libmead/AtomSet.h +@@ -31,8 +31,7 @@ + + #include <map> + #include <list> +-#include <string> +-using std::string; ++#include <string.h> + #include "MEAD/Atom.h" + #include "MEAD/Coord.h" + #include "MEAD/AtomID.h" +--- mead-2.2.7.orig/libmead/DielCubeRep.h ++++ mead-2.2.7/libmead/DielCubeRep.h +@@ -31,6 +31,7 @@ + + #include "MEAD/CubeLatSpec.h" + #include "MEAD/globals.h" ++#include <string.h> + + class DielCubeRep { + public: diff --git a/sci-chemistry/mead/files/mead-2.2.7-respect-cflags.patch b/sci-chemistry/mead/files/mead-2.2.7-respect-cflags.patch new file mode 100644 index 000000000000..61c54737778e --- /dev/null +++ b/sci-chemistry/mead/files/mead-2.2.7-respect-cflags.patch @@ -0,0 +1,57 @@ +diff -Naur mead-2.2.7-orig/apps/libmso/Makefile.in mead-2.2.7/apps/libmso/Makefile.in +--- mead-2.2.7-orig/apps/libmso/Makefile.in 2004-12-10 14:33:49.000000000 -0600 ++++ mead-2.2.7/apps/libmso/Makefile.in 2009-02-15 16:32:40.000000000 -0600 +@@ -35,8 +35,8 @@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + + ALL_CPPFLAGS = -I. $(LOCALINCS) $(CPPFLAGS) $(REGEX_CPP) $(CXX_DEFS) +-ALL_CXXFLAGS = $(CXX_OPTFLAGS) $(CXX_DEBUGFLAGS) +-ALL_CFLAGS = $(CC_DEBUGFLAGS) $(CC_OPTFLAGS) ++ALL_CXXFLAGS = @CXXFLAGS@ ++ALL_CFLAGS = @CFLAGS@ + + .SUFFIXES: + .SUFFIXES: .cc .o +diff -Naur mead-2.2.7-orig/apps/Makefile.common.in mead-2.2.7/apps/Makefile.common.in +--- mead-2.2.7-orig/apps/Makefile.common.in 2004-11-19 16:49:56.000000000 -0600 ++++ mead-2.2.7/apps/Makefile.common.in 2009-02-15 16:32:22.000000000 -0600 +@@ -36,10 +36,10 @@ + LIBS = @LIBS@ -lm + + ALL_CPPFLAGS = -I. $(LOCALINCS) $(CPPFLAGS) $(REGEX_CPP) $(CXX_DEFS) +-ALL_CXXFLAGS = $(CXX_OPTFLAGS) $(CXX_DEBUGFLAGS) +-ALL_CFLAGS = $(CC_DEBUGFLAGS) $(CC_OPTFLAGS) ++ALL_CXXFLAGS = @CXXFLAGS@ ++ALL_CFLAGS = @CFLAGS@ + +-CXXLINK = $(CXX) $(ALL_CPPFLAGS) $(CXX_DEBUGFLAGS) $(CXX_OPTFLAGS) \ ++CXXLINK = $(CXX) $(ALL_CPPFLAGS) @CXXFLAGS@ \ + $(LDFLAGS) + + .SUFFIXES: .cc .o +diff -Naur mead-2.2.7-orig/libmead/Makefile.in mead-2.2.7/libmead/Makefile.in +--- mead-2.2.7-orig/libmead/Makefile.in 2008-03-04 14:18:22.000000000 -0600 ++++ mead-2.2.7/libmead/Makefile.in 2009-02-15 16:31:56.000000000 -0600 +@@ -99,8 +99,8 @@ + INCLUDES = -I$(top_srcdir) + + ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS) $(REGEX_CPP) $(CXX_DEFS) +-ALL_CXXFLAGS = $(CXX_OPTFLAGS) $(CXX_DEBUGFLAGS) $(CXX_SHAREDFLAGS) +-ALL_CFLAGS = $(CC_DEBUGFLAGS) $(CC_OPTFLAGS) ++ALL_CXXFLAGS = @CXXFLAGS@ ++ALL_CFLAGS = @CFLAGS@ + + + +diff -Naur mead-2.2.7-orig/swig/Makefile.in mead-2.2.7/swig/Makefile.in +--- mead-2.2.7-orig/swig/Makefile.in 2007-11-27 15:57:17.000000000 -0600 ++++ mead-2.2.7/swig/Makefile.in 2009-02-15 16:34:35.000000000 -0600 +@@ -58,7 +58,7 @@ + CXX_FLAGS = @CXX_NOOPTFLAGS@ @CXX_DEBUGFLAGS@ @CXX_SHAREDFLAGS@ + CXX_DYNLIB_FLAGS = @CXX_DYNLIB_FLAGS@ + +-ALL_CXXFLAGS = $(CPP_FLAGS) $(CXX_FLAGS) ++ALL_CXXFLAGS = $(CPP_FLAGS) @CXXFLAGS@ @CXX_SHAREDFLAGS@ + + MEADINC = -I$(top_srcdir) -I$(srcdir) + MEADLIBS = -L../libmead -lmead diff --git a/sci-chemistry/mead/files/mead-2.2.7-respect-flags.patch b/sci-chemistry/mead/files/mead-2.2.7-respect-flags.patch new file mode 100644 index 000000000000..9ffb238ece8c --- /dev/null +++ b/sci-chemistry/mead/files/mead-2.2.7-respect-flags.patch @@ -0,0 +1,74 @@ +diff --git a/apps/Makefile.common.in b/apps/Makefile.common.in +index 15c61ae..f15d71d 100644 +--- a/apps/Makefile.common.in ++++ b/apps/Makefile.common.in +@@ -36,10 +36,10 @@ REGEX_CPP = @REGEX_CPP@ + LIBS = @LIBS@ -lm + + ALL_CPPFLAGS = -I. $(LOCALINCS) $(CPPFLAGS) $(REGEX_CPP) $(CXX_DEFS) +-ALL_CXXFLAGS = $(CXX_OPTFLAGS) $(CXX_DEBUGFLAGS) +-ALL_CFLAGS = $(CC_DEBUGFLAGS) $(CC_OPTFLAGS) ++ALL_CXXFLAGS = @CXXFLAGS@ ++ALL_CFLAGS = @CFLAGS@ + +-CXXLINK = $(CXX) $(ALL_CPPFLAGS) $(CXX_DEBUGFLAGS) $(CXX_OPTFLAGS) \ ++CXXLINK = $(CXX) $(ALL_CPPFLAGS) @CXXFLAGS@ \ + $(LDFLAGS) + + .SUFFIXES: .cc .o +diff --git a/apps/libmso/Makefile.in b/apps/libmso/Makefile.in +index 249c25b..9d23665 100644 +--- a/apps/libmso/Makefile.in ++++ b/apps/libmso/Makefile.in +@@ -35,8 +35,8 @@ INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + + ALL_CPPFLAGS = -I. $(LOCALINCS) $(CPPFLAGS) $(REGEX_CPP) $(CXX_DEFS) +-ALL_CXXFLAGS = $(CXX_OPTFLAGS) $(CXX_DEBUGFLAGS) +-ALL_CFLAGS = $(CC_DEBUGFLAGS) $(CC_OPTFLAGS) ++ALL_CXXFLAGS = @CXXFLAGS@ ++ALL_CFLAGS = @CFLAGS@ + + .SUFFIXES: + .SUFFIXES: .cc .o +diff --git a/apps/redti/Makefile.in b/apps/redti/Makefile.in +index c4aa5ca..9561bf3 100644 +--- a/apps/redti/Makefile.in ++++ b/apps/redti/Makefile.in +@@ -21,7 +21,7 @@ CFLAGS = @CFLAGS@ + redti_objs = redti.o rfixpro.o rfixprosee.o pfix.o tc.o + + redti : $(redti_objs) +- $(CC) $(CFLAGS) $(redti_objs) -lm -o redti ++ $(CC) $(CFLAGS) $(LDFLAGS) $(redti_objs) -lm -o redti + + appname = redti + include ../Makefile.common +diff --git a/libmead/Makefile.in b/libmead/Makefile.in +index 3d4d5f0..8b4a4ac 100644 +--- a/libmead/Makefile.in ++++ b/libmead/Makefile.in +@@ -99,8 +99,8 @@ PYTHONINC = @PYTHONINC@ + INCLUDES = -I$(top_srcdir) + + ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS) $(REGEX_CPP) $(CXX_DEFS) +-ALL_CXXFLAGS = $(CXX_OPTFLAGS) $(CXX_DEBUGFLAGS) $(CXX_SHAREDFLAGS) +-ALL_CFLAGS = $(CC_DEBUGFLAGS) $(CC_OPTFLAGS) ++ALL_CXXFLAGS = @CXXFLAGS@ ++ALL_CFLAGS = @CFLAGS@ + + + +diff --git a/swig/Makefile.in b/swig/Makefile.in +index 81b3b4e..8410307 100644 +--- a/swig/Makefile.in ++++ b/swig/Makefile.in +@@ -58,7 +58,7 @@ CPP_FLAGS = -DSWIG @CPPFLAGS@ + CXX_FLAGS = @CXX_NOOPTFLAGS@ @CXX_DEBUGFLAGS@ @CXX_SHAREDFLAGS@ + CXX_DYNLIB_FLAGS = @CXX_DYNLIB_FLAGS@ + +-ALL_CXXFLAGS = $(CPP_FLAGS) $(CXX_FLAGS) ++ALL_CXXFLAGS = $(CPP_FLAGS) @CXXFLAGS@ @CXX_SHAREDFLAGS@ + + MEADINC = -I$(top_srcdir) -I$(srcdir) + MEADLIBS = -L../libmead -lmead diff --git a/sci-chemistry/mead/mead-2.2.7-r1.ebuild b/sci-chemistry/mead/mead-2.2.7-r1.ebuild new file mode 100644 index 000000000000..fd67abb3c345 --- /dev/null +++ b/sci-chemistry/mead/mead-2.2.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Macroscopic Electrostatics with Atomic Detail" +HOMEPAGE="http://www.teokem.lu.se/~ulf/Methods/mead.html" +SRC_URI="ftp://ftp.scripps.edu/pub/bashford/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="python" + +RESTRICT="fetch" + +pkg_nofetch() { + elog "Download ${SRC_URI}" + elog "and place it in ${DISTDIR}." + elog + elog "Use \"anonymous\" as a login, and an email address as a password." +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-respect-flags.patch + epatch "${FILESDIR}"/${P}-gcc43.patch +} + +src_compile() { + econf \ + ${conf_opts} \ + || die "configure failed" + emake || die "make failed" +} + +src_install() { + # package hates emake DESTDIR="${D}" install + einstall || die "install failed" +} diff --git a/sci-chemistry/mead/mead-2.2.7.ebuild b/sci-chemistry/mead/mead-2.2.7.ebuild new file mode 100644 index 000000000000..fd67abb3c345 --- /dev/null +++ b/sci-chemistry/mead/mead-2.2.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Macroscopic Electrostatics with Atomic Detail" +HOMEPAGE="http://www.teokem.lu.se/~ulf/Methods/mead.html" +SRC_URI="ftp://ftp.scripps.edu/pub/bashford/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="python" + +RESTRICT="fetch" + +pkg_nofetch() { + elog "Download ${SRC_URI}" + elog "and place it in ${DISTDIR}." + elog + elog "Use \"anonymous\" as a login, and an email address as a password." +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-respect-flags.patch + epatch "${FILESDIR}"/${P}-gcc43.patch +} + +src_compile() { + econf \ + ${conf_opts} \ + || die "configure failed" + emake || die "make failed" +} + +src_install() { + # package hates emake DESTDIR="${D}" install + einstall || die "install failed" +} diff --git a/sci-chemistry/mead/metadata.xml b/sci-chemistry/mead/metadata.xml new file mode 100644 index 000000000000..9ac9ffdb3a41 --- /dev/null +++ b/sci-chemistry/mead/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-chemistry</herd> +</pkgmetadata> |