From: "Donnie Berkholz (dberkholz)" <dberkholz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/coot: ChangeLog coot-0.4_pre2-r549.ebuild
Date: Wed, 19 Dec 2007 18:46:32 +0000 [thread overview]
Message-ID: <E1J53w8-0003Kf-F8@stork.gentoo.org> (raw)
dberkholz 07/12/19 18:46:32
Modified: ChangeLog
Added: coot-0.4_pre2-r549.ebuild
Log:
Bump to 0.4 prerelease, unkeyworded. Use a package.keywords entry with '**' for the keyword to install.
(Portage version: 2.1.4_rc9)
Revision Changes Path
1.15 sci-chemistry/coot/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/coot/ChangeLog?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/coot/ChangeLog?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/coot/ChangeLog?r1=1.14&r2=1.15
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/coot/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog 16 Aug 2007 06:05:12 -0000 1.14
+++ ChangeLog 19 Dec 2007 18:46:31 -0000 1.15
@@ -1,6 +1,16 @@
# ChangeLog for sci-chemistry/coot
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/ChangeLog,v 1.14 2007/08/16 06:05:12 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/ChangeLog,v 1.15 2007/12/19 18:46:31 dberkholz Exp $
+
+*coot-0.4_pre2-r549 (19 Dec 2007)
+
+ 19 Dec 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/0.4_pre2-as-needed.patch,
+ +files/0.4_pre2-link-against-guile-gtk-properly.patch,
+ +files/0.4_pre2-r549-fix-namespace-error.patch,
+ +coot-0.4_pre2-r549.ebuild:
+ Bump to 0.4 prerelease, unkeyworded. Use a package.keywords entry with '**'
+ for the keyword to install.
*coot-0.3.3 (16 Aug 2007)
1.1 sci-chemistry/coot/coot-0.4_pre2-r549.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/coot/coot-0.4_pre2-r549.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/coot/coot-0.4_pre2-r549.ebuild?rev=1.1&content-type=text/plain
Index: coot-0.4_pre2-r549.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.4_pre2-r549.ebuild,v 1.1 2007/12/19 18:46:31 dberkholz Exp $
inherit autotools eutils
MY_S_PV=${PV/_pre/-pre-}-${PR/r/revision-}
MY_S_P=${PN}-${MY_S_PV}
MY_PV=${PV/_pre/-pre-}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Crystallographic Object-Oriented Toolkit for model building, completion and validation"
HOMEPAGE="http://www.ysbl.york.ac.uk/~emsley/coot/"
if [[ ${MY_PV} = *pre* ]]; then
SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/pre-release/${MY_S_P}.tar.gz"
else
SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/${MY_P}.tar.gz"
fi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND=">=sci-libs/gsl-1.3
>=x11-libs/gtk+-2.2
gnome-base/libgnomecanvas
=x11-libs/guile-gtk-2*
x11-libs/gtkglext
virtual/glut
virtual/opengl
sci-chemistry/ccp4
dev-lang/python
dev-scheme/guile-gui
dev-scheme/net-http
dev-scheme/goosh
dev-scheme/guile-www
sci-libs/coot-data
sci-chemistry/reduce
sci-chemistry/probe
>=sci-libs/clipper-20070907
<sci-libs/mmdb-1.0.10"
# These are still required to run autoreconf
RDEPEND="${RDEPEND}
=dev-libs/glib-1.2*
=x11-libs/gtkglarea-1.2*"
DEPEND="${RDEPEND}
dev-lang/swig"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PV}-as-needed.patch
epatch "${FILESDIR}"/${PV}-link-against-guile-gtk-properly.patch
epatch "${FILESDIR}"/${PVR}-fix-namespace-error.patch
# Link against single-precision fftw
sed -i \
-e "s:lfttw:lsfttw:g" \
-e "s:lrfttw:lsrfttw:g" \
"${S}"/macros/clipper.m4
# Fix where it looks for some binaries
sed -i \
-e "s:/y/people/emsley/coot/Linux/bin/probe.2.11.050121.linux.RH9:/usr/bin/probe:g" \
-e "s:/y/people/emsley/coot/Linux/bin/reduce.2.21.030604:/usr/bin/reduce:g" \
"${S}"/scheme/group-settings.scm
# Look for clipper slotted with '-2' suffix
sed -i \
-e "s~\(-lclipper[[:alnum:]-]*\)~\1-2~g" \
"${S}"/macros/clipper.m4 \
|| die "sed to find -2 slotted libraries failed"
grep 'include.*clipper' -rl . \
| xargs sed -i \
-e "s~\(include.*clipper\)/~\1-2/~g" \
|| die "sed to find -2 slotted headers failed"
cd "${S}"
AT_M4DIR="macros" eautoreconf
}
src_compile() {
# All the --with's are used to activate various parts.
# Yes, this is broken behavior.
econf \
--includedir='${prefix}/include/coot' \
--with-gtkcanvas-prefix=/usr \
--with-clipper-prefix=/usr \
--with-mmdb-prefix=/usr \
--with-ssmlib-prefix=/usr \
--with-guile=/usr \
--with-python=/usr \
--with-guile-gtk \
--with-gtk2 \
|| die "econf failed"
# Regenerate wrappers, otherwise at least gtk-2 build fails
pushd src
rm -f coot_wrap_python.cc coot_wrap_python_pre.cc \
&& emake coot_wrap_python.cc \
|| die "failed to regenerate python wrapper"
rm -f coot_wrap_guile.cc coot_wrap_guile_pre.cc \
&& emake coot_wrap_guile.cc \
||die "failed to regenerate guile wrapper"
popd
# Parallel build's broken
emake -j1 || die "emake failed"
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "install failed"
# Install misses this
insinto /usr/share/coot/python
doins "${S}"/src/coot.py
}
--
gentoo-commits@gentoo.org mailing list
next reply other threads:[~2007-12-19 18:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-19 18:46 Donnie Berkholz (dberkholz) [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-04-17 9:53 [gentoo-commits] gentoo-x86 commit in sci-chemistry/coot: ChangeLog coot-0.4_pre2-r549.ebuild Sebastien Fabbro (bicatali)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1J53w8-0003Kf-F8@stork.gentoo.org \
--to=dberkholz@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox