diff options
author | 2008-09-30 18:48:36 +0000 | |
---|---|---|
committer | 2008-09-30 18:48:36 +0000 | |
commit | dda697127bed264749621fbe2a635778c09006f7 (patch) | |
tree | 988a89d780ed7d8c530a42f526934583013aa68d /sci-chemistry | |
parent | media-gfx/fotoxx: Version bumb for fotoxx. (diff) | |
download | sunrise-dda697127bed264749621fbe2a635778c09006f7.tar.gz sunrise-dda697127bed264749621fbe2a635778c09006f7.tar.bz2 sunrise-dda697127bed264749621fbe2a635778c09006f7.zip |
sci-chemistry/bist: New Ebuild sci-chemistry/bist for bug 239172 thanks to Giuseppe Marco Randazzo aka zeld
svn path=/sunrise/; revision=7170
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/bist/ChangeLog | 9 | ||||
-rw-r--r-- | sci-chemistry/bist/Manifest | 5 | ||||
-rw-r--r-- | sci-chemistry/bist/bist-0.4.7.ebuild | 41 | ||||
-rw-r--r-- | sci-chemistry/bist/files/wrap_bracket_dialog-amd64.patch | 11 | ||||
-rw-r--r-- | sci-chemistry/bist/metadata.xml | 12 |
5 files changed, 78 insertions, 0 deletions
diff --git a/sci-chemistry/bist/ChangeLog b/sci-chemistry/bist/ChangeLog new file mode 100644 index 000000000..a94a925d9 --- /dev/null +++ b/sci-chemistry/bist/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-chemistry/bist +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 30 Sep 2008; Giuseppe Marco Randazzo <gmrandazzo@gmail.com> + +files/wrap_bracket_dialog-amd64.patch, +bist-0.4.7.ebuild, +metadata.xml: + New Ebuild sci-chemistry/bist for bug 239172 thanks to Giuseppe Marco + Randazzo aka zeld + diff --git a/sci-chemistry/bist/Manifest b/sci-chemistry/bist/Manifest new file mode 100644 index 000000000..838a74e66 --- /dev/null +++ b/sci-chemistry/bist/Manifest @@ -0,0 +1,5 @@ +AUX wrap_bracket_dialog-amd64.patch 379 RMD160 4d9d835a8c189862ec53f069862069a005b4c4ff SHA1 7c6ec5afb2bf2f1d6bc4ed931c5dbf03fe2abb98 SHA256 3fd94f204a237d3b00c2fd86b45259f65ac31606ebfe7ab076c3e24f8f855671 +DIST bist-0.4.7.tar.bz2 687273 RMD160 5907ae5e8c2f9605c3e63bca3a4d81d1893d4105 SHA1 51bdaa8aac322171072d00421e6923d4081cf2fd SHA256 100075c2fa11e2b1138da700d13aea3c3699782124230be14c897950f1aaea67 +EBUILD bist-0.4.7.ebuild 916 RMD160 5cd08ad1b2a9b9e201f4787e26ab8435be621c90 SHA1 a01a8a5d4a6c125d91997afb6fa9dd50475738de SHA256 34f448ca3d6cfac4fd3b20501de9b79f8eae8b8c28f2da6e17b086a2254d2fab +MISC ChangeLog 351 RMD160 761b4aab37bee2173f9ffc9a33db0c1f248960ab SHA1 6393013fa4518ddc064de3d48db19b1230d67e66 SHA256 d0a5acf32762ac6285f7c17e2016eb51ac887290efb984f30f607f890ca8a8af +MISC metadata.xml 1166 RMD160 76b030166aeba9413714da9cca53f83600e9a5b0 SHA1 45918e9272f8db5a4e81ecbed7ae8279539e934b SHA256 6cbbb060eb3c2f018811815dd82e0f6bd2e57f0cf152b8ce66aaaf70e744dcc4 diff --git a/sci-chemistry/bist/bist-0.4.7.ebuild b/sci-chemistry/bist/bist-0.4.7.ebuild new file mode 100644 index 000000000..a39b43d63 --- /dev/null +++ b/sci-chemistry/bist/bist-0.4.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Bist, the chemical drawing tool" +HOMEPAGE="http://www.autistici.org/interzona/index.php?mod=03_Bist" +SRC_URI="http://www.autistici.org/interzona/ftrack.php?url=sections/06_Download/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="net-misc/curl + dev-libs/expat + x11-libs/fltk + >=sys-devel/gcc-4.2 + sci-libs/gsl + >=sci-chemistry/openbabel-2.2.0 + >=media-libs/plotutils-2.5" + + +src_unpack() { + unpack ${A} + cd "${S}" + use amd64 && epatch "${FILESDIR}/wrap_bracket_dialog-amd64.patch" +} + + +src_install() { + dobin bist || die "bist install failed" + #istall bist plugin + insinto /usr/lib/bist/plugin + doins plugin/*.so || die "make plugin failed" + dodoc AUTHORS TODO || die + cd doc + doman man/bist.1 || die + dohtml *.html *.png *jpg || die +} diff --git a/sci-chemistry/bist/files/wrap_bracket_dialog-amd64.patch b/sci-chemistry/bist/files/wrap_bracket_dialog-amd64.patch new file mode 100644 index 000000000..86a587e6a --- /dev/null +++ b/sci-chemistry/bist/files/wrap_bracket_dialog-amd64.patch @@ -0,0 +1,11 @@ +--- pluginclude/wrap_bracket_dialog.hpp.orig 2008-09-30 10:45:56.000000000 +0200 ++++ pluginclude/wrap_bracket_dialog.hpp 2008-09-30 10:46:07.000000000 +0200 +@@ -10,7 +10,7 @@ + #if SIZEOF_INT_P == 8 + #define WRAP_BRACKET_SIZE_USER_DATA_MENU long int + #else +-#define WRAP_BRACKET_SIZE_USER_DATA_MENU unsigned int ++#define WRAP_BRACKET_SIZE_USER_DATA_MENU unsigned long + #endif + + diff --git a/sci-chemistry/bist/metadata.xml b/sci-chemistry/bist/metadata.xml new file mode 100644 index 000000000..e08bb678f --- /dev/null +++ b/sci-chemistry/bist/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +<longdescription> +Bist stands for bidimensional structures (in italian it sounds like "beast" in english ) and is a chemical drawing tool. It is focused on organic chemistry but it may be useful also for chemists or teacher as well. +Bist support many of the formalism used to describe molecoles structures like single bond, double bond, stereospecific bond, charges, resonance arrows, lone pairs etc... +It can export both postscript and png formats. +This version is now integrated with openbabel API so virtually all the formats this library can accept should be a valid input for bist too. +Currently portability is not my goal so only GNU/Linux platform is supported. However any effort in this direction is appreciated so feel free to ask me about any porting question. Please remember that bist is actually in a beta stage of development so i strongly suggest you to not using it except for testing or hacking purpose. Bist is free software released under GNU GPL version 3 +</longdescription> +</pkgmetadata> |