[med-svn] r2737 - in trunk/packages/mgltools: . bhtree/trunk/debian molkit/trunk/debian

smoe-guest at alioth.debian.org smoe-guest at alioth.debian.org
Mon Nov 24 22:33:56 UTC 2008


Author: smoe-guest
Date: 2008-11-24 22:33:56 +0000 (Mon, 24 Nov 2008)
New Revision: 2737

Modified:
   trunk/packages/mgltools/BUILD
   trunk/packages/mgltools/README
   trunk/packages/mgltools/TODO
   trunk/packages/mgltools/bhtree/trunk/debian/control
   trunk/packages/mgltools/molkit/trunk/debian/rules
Log:
Smallish bits spotted while rebuilding on Ubuntu.


Modified: trunk/packages/mgltools/BUILD
===================================================================
--- trunk/packages/mgltools/BUILD	2008-11-24 21:55:29 UTC (rev 2736)
+++ trunk/packages/mgltools/BUILD	2008-11-24 22:33:56 UTC (rev 2737)
@@ -268,7 +268,61 @@
 	echo 
 done
 
+3. How to port to another .deb-based distribution
+-------------------------------------------------
 
+The packages might well work rightaway with no further
+emendations. Nevertheless, many prefer a native rebuild over guesswork. To
+recompile the packages on an Ubuntu machine, I have added a deb-src entry
+for Debian-unstable, where the sources are, to /etc/apt/sources.list:
+
+echo "deb-src http://ftp2.de.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
+sudo apt-get update
+
+Then, every mgltools package should be fetched, built, and installed. The
+installation is required only for a few packages, but the here suggested
+instructions install them all, anyway. They are equivalent to the instructions
+on how to rebuild the non-free architecture-dependent packages across
+architectures.
+
+# needed for installatation but not a build-dependency
+sudo aptitude install python-pmw python-zsi python-simpy python-imaging-tk
+# perform the packaging
+for p in \
+	mgltools-bhtree mgltools-sff mgltools-geomutils mgltools-gle \
+	mgltools-pybabel \
+	mgltools-opengltk \
+	mgltools-dejavu \
+	mgltools-molkit \
+	mgltools-pyglf \
+	mgltools-utpackages mgltools-mglutil mgltools-networkeditor \
+	mgltools-pyautodock \
+	mgltools-scenario \
+	mgltools-support mgltools-symserv \
+	mgltools-volume \
+	mgltools-viewerframework \
+	mgltools-pmv \
+	autodocktools \
+	mgltools-vision
+do
+	if ls ${p}_*.deb > /dev/null; then
+		echo "Package for '$p' is already existing...skipped."
+		sleep 1
+	else
+		sudo apt-get build-dep $p && \
+			apt-get source --compile $p && \
+			sudo dpkg -i ${p}_*.deb || break
+	fi
+done
+
+Not yet in Debian:
+
+mgltools-cmolkit
+mgltools-qslimlib
+
+       -----------------------------------------------------------
+       -----------------------------------------------------------
+
 Comments please send to 
 
- -- Steffen Moeller <moeller at debian.org>  Sun, 08 Jun 2008 23:05:39 +0200
+ -- Steffen Moeller <moeller at debian.org>  Mon, 24 Nov 2008 22:31:11 +0100

Modified: trunk/packages/mgltools/README
===================================================================
--- trunk/packages/mgltools/README	2008-11-24 21:55:29 UTC (rev 2736)
+++ trunk/packages/mgltools/README	2008-11-24 22:33:56 UTC (rev 2737)
@@ -66,9 +66,9 @@
 
 for p in bhtree sff geomutils gle molkit opengltk pyglf utpackages
 do
-	apt-get build-dep mgltools-$p
+	sudo apt-get build-dep mgltools-$p
 	apt-get source --compile mgltools-$p
-	dpkg -i mgltools-${p}_*.deb
+	sudo dpkg -i mgltools-${p}_*.deb
 done
 
 And if you are a Debian developer who is also using these packages on

Modified: trunk/packages/mgltools/TODO
===================================================================
--- trunk/packages/mgltools/TODO	2008-11-24 21:55:29 UTC (rev 2736)
+++ trunk/packages/mgltools/TODO	2008-11-24 22:33:56 UTC (rev 2737)
@@ -5,9 +5,6 @@
 
 	QSlimLib comes with additional license which are not described properly in the debian/copyright file.
 
-	W: mgltools-networkeditor: extra-license-file usr/share/pyshared/NetworkEditor/LICENSE
-		which seems to be just the same like the one that the metapackage distributes?!?!?
-
 * Other
 
 W: mgltools-vision: extra-license-file usr/share/pyshared/Vision/LICENSE

Modified: trunk/packages/mgltools/bhtree/trunk/debian/control
===================================================================
--- trunk/packages/mgltools/bhtree/trunk/debian/control	2008-11-24 21:55:29 UTC (rev 2736)
+++ trunk/packages/mgltools/bhtree/trunk/debian/control	2008-11-24 22:33:56 UTC (rev 2737)
@@ -5,7 +5,7 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller <moeller at debian.org>, Sargis Dallakyan <sargis at scripps.edu>
-Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), cdbs (>= 0.4.49), python2.5-dev, python-numpy
+Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), cdbs (>= 0.4.49), python2.5-dev, python-numpy, swig (>= 1.3.20)
 Standards-Version: 3.8.0
 XS-Python-Version: 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/bhtree/trunk/?rev=0&sc=0

Modified: trunk/packages/mgltools/molkit/trunk/debian/rules
===================================================================
--- trunk/packages/mgltools/molkit/trunk/debian/rules	2008-11-24 21:55:29 UTC (rev 2736)
+++ trunk/packages/mgltools/molkit/trunk/debian/rules	2008-11-24 22:33:56 UTC (rev 2737)
@@ -17,4 +17,5 @@
 
 clean::
 	find . -name CVS -a -type d| xargs -r rm -r
-	rm -rf build build-stamp debian/Pmv
+	rm -rf build build-stamp
+	find . -name .cvsignore | xargs -r rm




More information about the debian-med-commit mailing list