diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-20 12:29:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-20 12:29:37 +0100 |
commit | d3ae3ea75073c53ed5f3a4418e76383436bb0f58 (patch) | |
tree | e7bdf993ecf567ea3b6d9c8c00797f63ae25ea02 /sci-chemistry/namd | |
parent | c59df12b8749ab7bbd5a0692072652d4fbb0d2cf (diff) |
gentoo auto-resync : 20:07:2024 - 12:29:37
Diffstat (limited to 'sci-chemistry/namd')
-rw-r--r-- | sci-chemistry/namd/Manifest | 5 | ||||
-rw-r--r-- | sci-chemistry/namd/files/namd-2.10-gentoo.patch | 124 | ||||
-rw-r--r-- | sci-chemistry/namd/files/namd-2.7-iml-dec.patch | 24 | ||||
-rw-r--r-- | sci-chemistry/namd/metadata.xml | 12 | ||||
-rw-r--r-- | sci-chemistry/namd/namd-2.10.ebuild | 110 |
5 files changed, 0 insertions, 275 deletions
diff --git a/sci-chemistry/namd/Manifest b/sci-chemistry/namd/Manifest deleted file mode 100644 index 4d348875c0d2..000000000000 --- a/sci-chemistry/namd/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX namd-2.10-gentoo.patch 4637 BLAKE2B 0439e424f3d2a73378c68052f9d9dd69dc9590b9f83fa4062d4abc156b3b682f0e8a2cffd8a1e1f751f8dfd71d067c0234ba56946773ca9139e73c57e775c631 SHA512 35afda71ad7567d1b2c4c1f4073792d5977edc997ba7a43cf71c8ed32308062edc5cb4923202d599d59ade2f98602a0fac21138ba205a3bf6b681c86a61411f8 -AUX namd-2.7-iml-dec.patch 520 BLAKE2B c16430d1161b9d7e3faf22257d84ff1090eccf906a296f91d4ec0731fa89d23334d5c39c7988f8ac6d5f5020d403d4491dadbe34b1e9800ada81ad18b2448b7d SHA512 50ddf91bcb0e370a98d6fe5329f00ec9a8016f0178e342b086f4b9d4130a41e525ed9d960e92dc83b4372f135ce9d454bef836d3e215fb6ac7933999278efa37 -DIST NAMD_2.10_Source.tar.gz 9200234 BLAKE2B fe348a21309b279640da81ed4dd5447c1e6e467866270dc1730b26d02d5518b45bd662211c3cbe228bd8d9885edb062cf5d245d634bcd38773c36873febd2ee6 SHA512 3712a03841fad76c502ac4e41469162ff78e6152560d0f6855d61d2b5583241a661e2a3e7446029b56a6f6f1100f25cb51b2c3df6571542397961d3bb625bc92 -EBUILD namd-2.10.ebuild 2644 BLAKE2B 6d91c9f7f90f2b304c18bb176e7fdfcfff98a077bf8d6ed720b24ee186b5dece164fde49cee6db3f3dff217a53bba76d6d1c00b45ca7633ab1d9fb2a0b53ef46 SHA512 816bc445d23cc15fcf7d17bacb11b7ae4566a7bf135a88f80b7587d9630db0650e0f8b54b828bbbe8454008b6967fc276fbfc347cda351ec4b9e370d08671e08 -MISC metadata.xml 377 BLAKE2B 727b1c499d11b56228aab0bb2c47c45f63c48a1406f52b5b3d3fe8d02b69d0113dbad00eca99bcff194fc164605b2b698bdd8581c20fb6401c54169265d73f6b SHA512 4dbe460b1b9a0a8112d7866a11a389a1e2847afa3404c57479bdf39e6b3600d403c5c1f70d76196cd1508770dcd8befcc73687969b6853ff1e5f25cf5d22fea7 diff --git a/sci-chemistry/namd/files/namd-2.10-gentoo.patch b/sci-chemistry/namd/files/namd-2.10-gentoo.patch deleted file mode 100644 index ffef6dc3ad68..000000000000 --- a/sci-chemistry/namd/files/namd-2.10-gentoo.patch +++ /dev/null @@ -1,124 +0,0 @@ -diff -Naur NAMD_2.10_Source.orig/arch/Linux-x86_64.fftw NAMD_2.10_Source/arch/Linux-x86_64.fftw ---- NAMD_2.10_Source.orig/arch/Linux-x86_64.fftw 2015-03-06 17:53:44.170416075 -0700 -+++ NAMD_2.10_Source/arch/Linux-x86_64.fftw 2015-03-06 17:54:46.641162629 -0700 -@@ -1,7 +1,7 @@ - --FFTDIR=/Projects/namd2/fftw/linux-x86_64 -+FFTDIR=/usr - FFTINCL=-I$(FFTDIR)/include --FFTLIB=-L$(FFTDIR)/lib -lsrfftw -lsfftw -+FFTLIB=-L$(FFTDIR)/gentoo-libdir -lsrfftw -lsfftw - FFTFLAGS=-DNAMD_FFTW - FFT=$(FFTINCL) $(FFTFLAGS) - -diff -Naur NAMD_2.10_Source.orig/arch/Linux-x86_64.tcl NAMD_2.10_Source/arch/Linux-x86_64.tcl ---- NAMD_2.10_Source.orig/arch/Linux-x86_64.tcl 2015-03-06 17:53:44.170416075 -0700 -+++ NAMD_2.10_Source/arch/Linux-x86_64.tcl 2015-03-06 17:54:46.641162629 -0700 -@@ -1,9 +1,9 @@ - - #TCLDIR=/Projects/namd2/tcl/tcl8.5.9-linux-x86_64 --TCLDIR=/Projects/namd2/tcl/tcl8.5.9-linux-x86_64-threaded -+TCLDIR=/usr - TCLINCL=-I$(TCLDIR)/include - #TCLLIB=-L$(TCLDIR)/lib -ltcl8.5 -ldl --TCLLIB=-L$(TCLDIR)/lib -ltcl8.5 -ldl -lpthread -+#TCLLIB=-L$(TCLDIR)/gentoo-libdir -ltcl8.5 -ldl -lpthread - TCLFLAGS=-DNAMD_TCL - TCL=$(TCLINCL) $(TCLFLAGS) - -diff -Naur NAMD_2.10_Source.orig/Makefile NAMD_2.10_Source/Makefile ---- NAMD_2.10_Source.orig/Makefile 2015-03-06 17:53:44.170416075 -0700 -+++ NAMD_2.10_Source/Makefile 2015-03-06 18:01:32.645966590 -0700 -@@ -389,10 +389,10 @@ - $(DSTDIR)/stringhash.o - - # definitions for Charm routines --CHARMC = $(CHARM)/bin/charmc --CHARMXI = $(CHARM)/bin/charmc --CHARMINC = $(CHARM)/include $(COPTD)CMK_OPTIMIZE=1 --CHARMLIB = $(CHARM)/lib -+CHARMC = /usr/bin/charmc -+CHARMXI = /usr/bin/charmc -+CHARMINC = /usr/include/gentoo-charm $(COPTD)CMK_OPTIMIZE=1 -+CHARMLIB = /usr/gentoo-libdir - CHARM_MODULES = -module NeighborLB -module HybridLB -module RefineLB -module GreedyLB -module CkMulticast - #CHARM_MODULES = -module NeighborLB -module HybridLB -module RefineLB -module GreedyLB - #CHARM_MODULES = -module msa -module NeighborLB -module HybridLB -module RefineLB -module GreedyLB -@@ -418,7 +418,7 @@ - - # Add new executables here. - --BINARIES = namd2 psfgen sortreplicas flipdcd flipbinpdb charmrun -+BINARIES = namd2 psfgen sortreplicas flipdcd flipbinpdb - - # This should be rebuilt at every compile, but not on Win32. - BUILDINFO = $(DSTDIR)/buildinfo -@@ -434,7 +434,7 @@ - - namd2: $(MKINCDIR) $(MKDSTDIR) $(OBJS) $(LIBS) - $(MAKEBUILDINFO) -- $(CHARMC) -verbose -ld++-option \ -+ $(CHARMC) $(LDFLAGS) -verbose -ld++-option \ - '$(COPTI)$(CHARMINC) $(COPTI)$(INCDIR) $(COPTI)$(SRCDIR) $(CXXOPTS) $(CXXMICOPTS)' \ - "$(CHARM_MODULES)" -language charm++ \ - $(BUILDINFO).o \ -@@ -484,11 +484,8 @@ - charmd_faceless.exe: - $(COPY) $(CHARM)/bin/charmd_faceless.exe charmd_faceless.exe - --charmrun.exe: -- $(COPY) $(CHARM)/bin/charmrun.exe charmrun.exe -- - psfgen: $(MKDSTDIR) $(SBOBJS) $(PLUGINOBJS) -- $(CC) $(SBCFLAGS) -o psfgen $(SBOBJS) $(PLUGINOBJS) $(TCLLIB) $(TCLAPPLIB) -lm -+ $(CC) $(SBCFLAGS) $(LDFLAGS) -o psfgen $(SBOBJS) $(PLUGINOBJS) $(TCLLIB) $(TCLAPPLIB) -lm - - psfgen.exe: $(MKDSTDIR) $(SBOBJS) $(PLUGINOBJS) $(TCLDLL) - $(CC) $(SBCFLAGS) -o psfgen $(SBOBJS) $(PLUGINOBJS) $(TCLLIB) $(TCLAPPLIB) -lm -@@ -506,7 +503,7 @@ - $(CC) $(CFLAGS) -o diffbinpdb $(SRCDIR)/diffbinpdb.c -lm - - flipdcd: $(SRCDIR)/flipdcd.c -- $(CC) $(CFLAGS) -o $@ $(SRCDIR)/flipdcd.c || \ -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SRCDIR)/flipdcd.c || \ - echo "#!/bin/sh\necho unavailable on this platform" > $@; \ - chmod +x $@ - -@@ -516,7 +513,7 @@ - chmod +x $@ - - fixdcd: $(SRCDIR)/fixdcd.c -- $(CC) $(CFLAGS) -o fixdcd $(SRCDIR)/fixdcd.c -+ $(CC) $(CFLAGS) $(LDFLAGS) -o fixdcd $(SRCDIR)/fixdcd.c - - dumpdcd: $(SRCDIR)/dumpdcd.c - $(CC) $(CFLAGS) -o dumpdcd $(SRCDIR)/dumpdcd.c -@@ -711,9 +708,7 @@ - - DOC_FILES = README.txt announce.txt license.txt notes.txt - --RELEASE_FILES = $(LIBCUDARTSO) flipdcd flipbinpdb sortreplicas psfgen charmrun namd2 -- --WINDOWS_RELEASE_FILES = $(LIBCUDARTSO) $(WINDOWSBINARIES) $(TCLDLL) -+RELEASE_FILES = $(LIBCUDARTSO) flipdcd flipbinpdb sortreplicas psfgen namd2 - - release: all - $(ECHO) Creating release $(RELEASE_DIR_NAME) -@@ -724,17 +719,9 @@ - for f in `find $(RELEASE_DIR_NAME)/lib -name CVS`; do \ - /bin/rm -rf $$f; \ - done -- if [ -r $(CHARM)/bin/charmd ]; then \ -- $(COPY) $(CHARM)/bin/charmd $(RELEASE_DIR_NAME); \ -- fi -- if [ -r $(CHARM)/bin/charmd_faceless ]; then \ -- $(COPY) $(CHARM)/bin/charmd_faceless $(RELEASE_DIR_NAME); \ -- fi - chmod -R a+rX $(RELEASE_DIR_NAME) - tar cf $(RELEASE_DIR_NAME).tar $(RELEASE_DIR_NAME) - gzip $(RELEASE_DIR_NAME).tar -- echo $(CHARM) -- ls -l $(CHARM)/lib - -for f in $(RELEASE_FILES); do echo $$f; $(LDD) $(RELEASE_DIR_NAME)/$$f; done - - winrelease: winall diff --git a/sci-chemistry/namd/files/namd-2.7-iml-dec.patch b/sci-chemistry/namd/files/namd-2.7-iml-dec.patch deleted file mode 100644 index e5ee3bd6c818..000000000000 --- a/sci-chemistry/namd/files/namd-2.7-iml-dec.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/src/flipbinpdb.c b/src/flipbinpdb.c -index 94b71ba..01a2529 100644 ---- a/src/flipbinpdb.c -+++ b/src/flipbinpdb.c -@@ -9,6 +9,7 @@ - #include <sys/mman.h> - #include <fcntl.h> - #include <stdio.h> -+#include <stdlib.h> - - #ifndef MAP_FILE - #define MAP_FILE 0 -diff --git a/src/flipdcd.c b/src/flipdcd.c -index 8ec85b7..1c23433 100644 ---- a/src/flipdcd.c -+++ b/src/flipdcd.c -@@ -13,6 +13,7 @@ - #include <sys/mman.h> - #include <fcntl.h> - #include <stdio.h> -+#include <stdlib.h> - - #ifndef MAP_FILE - #define MAP_FILE 0 diff --git a/sci-chemistry/namd/metadata.xml b/sci-chemistry/namd/metadata.xml deleted file mode 100644 index 11bbcb9bf2c8..000000000000 --- a/sci-chemistry/namd/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>nicolasbock@gentoo.org</email> - <name>Nicolas Bock</name> - </maintainer> - <maintainer type="project"> - <email>sci-chemistry@gentoo.org</email> - <name>Gentoo Chemistry Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-chemistry/namd/namd-2.10.ebuild b/sci-chemistry/namd/namd-2.10.ebuild deleted file mode 100644 index 76a34c5a0a19..000000000000 --- a/sci-chemistry/namd/namd-2.10.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PN="NAMD" - -inherit multilib toolchain-funcs flag-o-matic - -DESCRIPTION="A powerful and highly parallelized molecular dynamics code" -HOMEPAGE="http://www.ks.uiuc.edu/Research/namd/" -SRC_URI="${MY_PN}_${PV}_Source.tar.gz" - -LICENSE="namd" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RESTRICT="fetch" - -RDEPEND=" - >=sys-cluster/charm-6.5.1-r2 - sci-libs/fftw:3.0 - dev-lang/tcl:0=" - -DEPEND="${RDEPEND} - virtual/pkgconfig - app-shells/tcsh" - -NAMD_ARCH="Linux-x86_64-g++" - -NAMD_DOWNLOAD="http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=NAMD" - -S="${WORKDIR}/${MY_PN}_${PV}_Source" - -PATCHES=( - # apply a few small fixes to make NAMD compile and - # link to the proper libraries - "${FILESDIR}"/namd-2.10-gentoo.patch - "${FILESDIR}"/namd-2.7-iml-dec.patch -) - -pkg_nofetch() { - echo - einfo "Please download ${MY_PN}_${PV}_Source.tar.gz from" - einfo "${NAMD_DOWNLOAD}" - einfo "after agreeing to the license and then move it to" - einfo "your DISTDIR directory." - einfo "Be sure to select the ${PV} version!" - echo -} - -src_prepare() { - CHARM_VERSION=$(best_version sys-cluster/charm | cut -d- -f3) - - default - - sed \ - -e "/CHARMBASE =/s:= .*:= /usr/bin/charm-${CHARM_VERSION}:" \ - -i Make.charm || die - - # Remove charm distribution. We don't need it. - rm -f charm-*.tar || die - - # proper compiler and cflags - sed \ - -e "s/g++.*/$(tc-getCXX)/" \ - -e "s/gcc.*/$(tc-getCC)/" \ - -e "s/CXXOPTS = .*/CXXOPTS = ${CXXFLAGS} ${LDFLAGS}/" \ - -e "s/COPTS = .*/COPTS = ${CFLAGS} ${LDFLAGS}/" \ - -i arch/${NAMD_ARCH}.arch || die - - sed \ - -e "s/gentoo-libdir/$(get_libdir)/g" \ - -e "s/gentoo-charm/charm-${CHARM_VERSION}/g" \ - -i Makefile || die "Failed gentooizing Makefile." - sed -e "s@/lib@/$(get_libdir)@g" -e '/FFTDIR=/s@=.*@=/usr@' -i arch/Linux-x86_64.fftw3 || die - sed -e "s/gentoo-libdir/$(get_libdir)/g" -i arch/Linux-x86_64.tcl || die -} - -src_configure() { - # configure - ./config ${NAMD_ARCH} --with-fftw3 --charm-arch . || die -} - -src_compile() { - # build namd - cd "${S}/${NAMD_ARCH}" || die - TCLLIB="$($(tc-getPKG_CONFIG) --libs tcl) -ldl -pthread" \ - emake -} - -src_install() { - dodoc announce.txt license.txt notes.txt - cd "${S}/${NAMD_ARCH}" || die - - # the binaries - dobin ${PN}2 psfgen flipbinpdb flipdcd -} - -pkg_postinst() { - echo - einfo "For detailed instructions on how to run and configure" - einfo "NAMD please consults the extensive documentation at" - einfo "http://www.ks.uiuc.edu/Research/namd/" - einfo "and the NAMD tutorials available at" - einfo "http://www.ks.uiuc.edu/Training/Tutorials/" - einfo "Have fun :)" - echo -} |