[med-svn] r1200 - trunk/packages/mgltools
smoe-guest at alioth.debian.org
smoe-guest at alioth.debian.org
Sat Jan 26 23:09:07 UTC 2008
Author: smoe-guest
Date: 2008-01-26 23:09:07 +0000 (Sat, 26 Jan 2008)
New Revision: 1200
Modified:
trunk/packages/mgltools/BUILD
Log:
Corrections/improvements.
Modified: trunk/packages/mgltools/BUILD
===================================================================
--- trunk/packages/mgltools/BUILD 2008-01-26 13:03:48 UTC (rev 1199)
+++ trunk/packages/mgltools/BUILD 2008-01-26 23:09:07 UTC (rev 1200)
@@ -5,27 +5,26 @@
cvs -d:pserver:anonymous at mgl1.scripps.edu:/opt/cvs login
cvs -z3 -d:pserver:anonymous at mgl1.scripps.edu:/opt/cvs co MGLPACKSDIST
-missing is the following package
+Should you find packages to remain missing, then write a report to the developers and download the missing packages separatedly like this:
- cvs -z3 -d:pserver:anonymous at mgl1.scripps.edu:/opt/cvs co Support
+ cvs -z3 -d:pserver:anonymous at mgl1.scripps.edu:/opt/cvs co SupportDist
Sadly, the names of the directories are invariantly set to a name that does not appeal too much to us since they all end on "DIST". These should be renamed.
- PREVDIST=DIST
- VERSIONNAME=1.5.0.cvs.`date +"%Y%m%d" | tr -d '\n'`
- NEWDIST=-$VERSIONNAME
- for i in `find . -name "*$PREVDIST" -a -type d | sort -r`; do b=`echo $i| sed -e "s/$PREVDIST/$NEWDIST/"`; echo renaming $i to $b; mv $i $b; done
- mv Support Support$NEWDIST
+ PREVDIST=DIST
+ VERSIONNAME=1.5.0.cvs.`date +"%Y%m%d" | tr -d '\n'`
+ NEWDIST=-$VERSIONNAME
+ for i in *$PREVDIST; do b=`echo $i| sed -e "s/$PREVDIST/$NEWDIST/"`; echo renaming $i to $b; mv $i $b; done
To prepare the tar files
- for d in *; do
- if [ -d $d ]; then
- tfn=`echo $d | sed -e "s/-$VERSIONNAME/_$VERSIONNAME.orig.tar.gz/ | tr 'A-Z' 'a-z'"`
- echo taring $d to $tfn
- GZIP=-9 tar --exclude CVS -czvf $tfn $d
- fi
- done
+ for d in *; do
+ if [ -d $d ]; then
+ tfn=`echo $d | sed -e "s/-$VERSIONNAME/_$VERSIONNAME.orig.tar.gz/" | tr 'A-Z' 'a-z'`
+ echo taring $d to $tfn
+ GZIP=-9 tar --exclude CVS -czvf $tfn $d
+ fi
+ done
The removal of the CVS directories is slightly unfortunate since for upstream these are thought to ensure a closer communication with their user base.
@@ -43,9 +42,9 @@
Now, there is a build-order to get all the packages built and installed without broken dependencies. Try the following:
- #support \
for p in \
+ support \
symserv \
pybabel \
sff \
@@ -59,8 +58,10 @@
dejavu \
pmv \
gle \
+ viewerframework \
+ autodocktools \
; do
- (cd $p/trunk; svn-b; sudo dpkg -i ../../build-area/mgltools-$p*.deb)
+ (cd $p/trunk && svn-b && sudo dpkg -i ../../build-area/mgltools-$p_$VERSIONNAME*.deb)
done
The relative path of the build-area may differ on your system. It can be set in .svn/deb-layout as buildArea=../../build-area
More information about the debian-med-commit
mailing list