Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209161 - [science overlay] sci-libs/msms-1.5.4
Summary: [science overlay] sci-libs/msms-1.5.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://mgltools.scripps.edu
Whiteboard: [SCI OVERLAY]
Keywords: EBUILD, InOverlay
Depends on:
Blocks: 246320
  Show dependency tree
 
Reported: 2008-02-06 16:15 UTC by Justin Lecher (RETIRED)
Modified: 2010-08-21 22:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-libs/msms-2.6.1.ebuild (msms-2.6.1.ebuild,865 bytes, text/plain)
2008-02-06 16:16 UTC, Justin Lecher (RETIRED)
Details
update (msms-2.6.1.ebuild,1.29 KB, text/plain)
2008-02-10 19:25 UTC, Justin Lecher (RETIRED)
Details
msms-2.6.1.ebuild (msms-2.6.1.ebuild,1.29 KB, text/plain)
2008-02-10 19:30 UTC, Justin Lecher (RETIRED)
Details
msms-2.6.1.ebuild (msms-2.6.1.ebuild,1.40 KB, text/plain)
2008-02-12 07:59 UTC, Justin Lecher (RETIRED)
Details
msms-bin-2.6.1.ebuild (msms-bin-2.6.1.ebuild,1.31 KB, text/plain)
2008-02-13 10:45 UTC, Justin Lecher (RETIRED)
Details
msms-bin-2.6.1.ebuild (msms-bin-2.6.1.ebuild,1.36 KB, text/plain)
2008-02-14 15:10 UTC, Justin Lecher (RETIRED)
Details
msms-bin-2.6.1.ebuild (msms-bin-2.6.1.ebuild,1.27 KB, text/plain)
2008-03-13 15:51 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2008-02-06 16:15:42 UTC
http://mgltools.scripps.edu

Should be available for protein structure science.

Perhaps the science overlay.


Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2008-02-06 16:16:05 UTC
Created attachment 142835 [details]
sci-libs/msms-2.6.1.ebuild

sci-libs/msms-2.6.1.ebuild
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2008-02-10 19:25:52 UTC
Created attachment 143150 [details]
update

critical thing fix (bins are installed in /bin not /usr/bin
amd64 added, but at this time upstream bug in the compression (tar.gz is just tar)
some syntax optimisations
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2008-02-10 19:30:10 UTC
Created attachment 143153 [details]
msms-2.6.1.ebuild

typo, sorry about that!
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2008-02-10 19:33:55 UTC
Comment on attachment 143153 [details]
msms-2.6.1.ebuild

><HTML><HEAD/><BODY><PRE># Copyright 1999-2008 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>inherit eutils
>
>DESCRIPTION="This allows you to run msms as a standalone application. A wrapped version of the library comes with MGLTools"
>SRC_URI="x86? ( http://mgltools.scripps.edu/downloads/tars/releases/MSMSRELEASE/REL${PV}/${PN}_i86Linux2_${PV}.tar.gz )
>		 amd64? ( http://mgltools.scripps.edu/downloads/tars/releases/MSMSRELEASE/REL${PV}/${PN}_i86_64Linux2_${PV}.tar.gz )"
>HOMEPAGE="http://mgltools.scripps.edu"
>RESTRICT="mirror"
>LICENSE="academical free"
>SLOT=""
>KEYWORDS="~x86 ~amd64"
>IUSE="static"
>
>RDEPEND=""
>DEPEND="${RDEPEND}"
>
>src_install() {
>	insinto /usr/lib/msms/
>	doins atmtypenumbers
>	exeinto /usr/lib/msms/
>	doexe pdb_to_xyzr pdb_to_yzrn 
>	x86? &amp;&amp; doexe msms.i86Linux2.2.6.1
>	amd64? &amp;&amp; !static? &amp;&amp; doexe msms.x86_64Linux2.2.6.1
>	amd64? &amp;&amp; static? &amp;&amp; doexe msms.x86_64Linux2.2.6.1.staticgcc
>	x86 &amp;&amp; dosym /usr/lib/msms/msms.i86Linux2.2.6.1 /usr/bin/msms
>	amd64? &amp;&amp; static? &amp;&amp; dosym /usr/lib/msms/msms.x86_64Linux2.2.6.1.staticgcc /usr/bin/msms
>	amd64? &amp;&amp; !static? &amp;&amp; dosym /usr/lib/msms/msms.x86_64Linux2.2.6.1 /usr/bin/msms
>	dosym /usr/lib/msms/pdb_to_xyzr /usr/bin/pdb_to_xyzr
>	dosym /usr/lib/msms/pdb_to_xyzrn /usr/bin/pdb_to_xyzrn
>	dodoc README ReleaseNotes
>	doman msms.1
>}
>
></PRE></BODY></HTML>
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2008-02-12 07:58:44 UTC
Comment on attachment 143153 [details]
msms-2.6.1.ebuild

wrong use of arch specific code
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2008-02-12 07:59:17 UTC
Created attachment 143286 [details]
msms-2.6.1.ebuild
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2008-02-12 13:49:35 UTC
Hi Justin,

Thanks much for your efforts!

Is there any chance the we can have upstream release
the sources for msms? Only in very special circumstances
should binary packages ever end up in portage.

Thanks,
Markus
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2008-02-12 16:22:11 UTC
I do not know. They provide on there webpage only the bins. I wrote this ebuild originaly, because I needed msms as a depency. Think there is no really requirement for many people. Just wanted to provide it.
The effort I made were simply for training my skills. The original ebuild was just for x86, but I tried to enlarge it at least to amd64. As I am an uprising ebuild writer I made some big mistakes, thats why there were so many version.

As an summary: Think no sources available, if there is a need here is the ebuild, else forget about it.

Thanks justin

P.s. I just found out that there sources but inside a larger program package (MGLTools). If I got time I will look on that. http://mgltools.scripps.edu/downloads
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2008-02-12 17:55:19 UTC
If it does end up being a binary package, it should get the -bin suffix in its name and install to /opt rather than /usr. Although since you noticed that its source is released as part of another package, it really shouldn't be a major issue for upstream to also release it separately.
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2008-02-13 10:45:08 UTC
Created attachment 143412 [details]
msms-bin-2.6.1.ebuild

You are right. Corrected now to /opt and -bin.
This ebuild is a dependency of bug 209970.
Comment 11 Markus Dittrich (RETIRED) gentoo-dev 2008-02-13 14:12:16 UTC
msms is a pretty nice tool. I've used it a lot as part of VMD
to render surfaces. Let's look into the possibility of getting
at the sources, either by pulling them out of a larger
source tarball or asking upstream if they'd be willing to post
ones for msms only.

cheers,
Markus
Comment 12 Justin Lecher (RETIRED) gentoo-dev 2008-02-13 15:45:10 UTC
I contact the author with the request for publication of the sources. Let's wait for that.
Comment 13 Markus Dittrich (RETIRED) gentoo-dev 2008-02-14 11:26:02 UTC
Hi Justin,

That sounds great!

Thanks,
Markus
Comment 14 Justin Lecher (RETIRED) gentoo-dev 2008-02-14 15:10:44 UTC
Created attachment 143504 [details]
msms-bin-2.6.1.ebuild

We use gawk and not nawk, don't we?
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2008-03-13 06:04:55 UTC
Comments:

- If a package is named msms-bin, it should install to /opt/msms-bin
- Try a case statement for the ARCH section instead. It's a bit cleaner.
- Relative symlinks
- I'm a little surprised RDEPEND is empty. Is that right? It could be.
- What are you doing with the eclasses this inherits?
- Should the keywords have -* ?
Comment 16 Justin Lecher (RETIRED) gentoo-dev 2008-03-13 15:51:05 UTC
(In reply to comment #15)
> Comments:
> 
> - If a package is named msms-bin, it should install to /opt/msms-bin
> - Try a case statement for the ARCH section instead. It's a bit cleaner.
I did.
> - Relative symlinks
I reformed them. Hope that is what you mean, although the most ebuild use absolute statements.
> - I'm a little surprised RDEPEND is empty. Is that right? It could be.
just glibc
> - What are you doing with the eclasses this inherits?
They are looking very important!!! :)
> - Should the keywords have -* ?
Right.
> 

Comment 17 Justin Lecher (RETIRED) gentoo-dev 2008-03-13 15:51:26 UTC
Created attachment 146033 [details]
msms-bin-2.6.1.ebuild
Comment 18 Justin Lecher (RETIRED) gentoo-dev 2008-12-18 10:33:30 UTC
There are some unclarity with the license plus I found some sources. Thus I clear things with upstream and reopen this Bug or setup a new one.
Comment 19 Justin Lecher (RETIRED) gentoo-dev 2009-03-20 21:49:48 UTC
Okay, I learned something in the last time. Here is the msms lib source ebuild. http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=tree;f=sci-libs/msms;h=2b1ece8e400aa1dd3a08dcab8c7ab726739da9e2;hb=HEAD
Comment 20 Alexey Shvetsov archtester gentoo-dev 2010-08-21 22:59:06 UTC
I added it to tree with its own MSMS licence