[med-svn] r5167 - trunk/packages/mgltools
Steffen Möller
moeller at alioth.debian.org
Thu Aug 19 23:23:20 UTC 2010
Author: moeller
Date: 2010-08-19 23:23:19 +0000 (Thu, 19 Aug 2010)
New Revision: 5167
Modified:
trunk/packages/mgltools/BUILD
Log:
The build script just worked like a charm.
Modified: trunk/packages/mgltools/BUILD
===================================================================
--- trunk/packages/mgltools/BUILD 2010-08-19 22:53:23 UTC (rev 5166)
+++ trunk/packages/mgltools/BUILD 2010-08-19 23:23:19 UTC (rev 5167)
@@ -113,19 +113,24 @@
# Allowing the accession of the tarballs under their Debian package name
(cd ../tarballs && for i in *; do
if [ ! -L "$i" ]; then
- echo "$i"; ln -sf $i mgltools-$i;
+ echo -n "$i"
+ if echo $i | egrep -q "^autodocktools"; then
+ echo " [nothing to do, skipped]"
+ else
+ ln -sf $i mgltools-$i;
+ echo " [linked to mgltools-$i]"
+ fi
fi; done)
Now, to have these tarballs found, the version in the 'debian/changelog'
files need to match. From debian-med/trunk/packages/mgltools execute
the following lines to add the new version to the changelogs
+ if [ -d ../tarballs ]; then
+ cd ..
+ fi
if [ ! -d tarballs ]; then
- if [ -d ../tarballs ]; then
- cd ..;
- else
- echo "Expected folder 'tarballs' in current directory."
- fi
+ echo "Expected folder 'tarballs' in current directory."
fi
if [ -z "$VERSIONNAME" ]; then
echo "Please specify the new version first."
@@ -149,6 +154,10 @@
$EDITOR */trunk/debian/changelog
fi
+Preparing for some packages needed to fulfil runtime dependencies
+
+ sudo apt-get install python-zsi qhull-bin libqhull5 python-pmw python-tk blt
+
Now, there is a build-order to get all the packages built and installed
without broken dependencies. The installation is not required for the
building, though. Try the following:
@@ -158,7 +167,7 @@
d=`pwd`
for p in \
support symserv pybabel pyglf volume utpackages bhtree sff mglutil geomutils \
- opengltk dejavu molkit pmv gle viewerframework pyautodock networkeditor \
+ gle opengltk dejavu molkit viewerframework pmv pyautodock networkeditor \
vision autodocktools \
; do
echo " ----------------------------------------------------------"
@@ -176,8 +185,8 @@
fi
cd "$d/$p/trunk"
if [ ! -r ".svn/deb-layout" ]; then
- echo "origDir=../../tarballs" > .svn/deb-layout
- echo "buildArea=../../build-area" >> .svn/deb-layout
+ echo "origDir=$d/tarballs" > .svn/deb-layout
+ echo "buildArea=$d/build-area" >> .svn/deb-layout
fi
if ! svn-buildpackage -us -uc -rfakeroot --svn-ignore ; then
echo "** ERROR ** building of package '$p' failed."
@@ -185,7 +194,7 @@
if [ -d "$d" ]; then cd "$d"; fi
break
fi
- if ! sudo dpkg -i ../../build-area/${prefix}${p}_${VERSIONNAME}*.deb; then
+ if ! sudo dpkg -i $d/build-area/${prefix}${p}_${VERSIONNAME}*.deb; then
echo "** ERROR ** installation of package '$p' failed."
echo -n " pwd: " ; pwd
if [ -d "$d" ]; then cd "$d"; fi
More information about the debian-med-commit
mailing list