[med-svn] r2501 - trunk/packages/sofa-framework/trunk/debian

domibel-guest at alioth.debian.org domibel-guest at alioth.debian.org
Tue Sep 16 21:57:24 UTC 2008


Author: domibel-guest
Date: 2008-09-16 21:57:23 +0000 (Tue, 16 Sep 2008)
New Revision: 2501

Added:
   trunk/packages/sofa-framework/trunk/debian/Notes
Modified:
   trunk/packages/sofa-framework/trunk/debian/README.Debian
   trunk/packages/sofa-framework/trunk/debian/get-orig-source
   trunk/packages/sofa-framework/trunk/debian/rules
   trunk/packages/sofa-framework/trunk/debian/sofa-doc.doc-base
Log:
fixed some lintian warnings


Added: trunk/packages/sofa-framework/trunk/debian/Notes
===================================================================
--- trunk/packages/sofa-framework/trunk/debian/Notes	                        (rev 0)
+++ trunk/packages/sofa-framework/trunk/debian/Notes	2008-09-16 21:57:23 UTC (rev 2501)
@@ -0,0 +1,21 @@
+1)
+grep -r "1.0 beta 1" .
+./modules/sofa/component/forcefield/TriangularAnisotropicFEMForceField.cpp:*       SOFA, Simulation Open-Framework Architecture, 
+version 1.0 beta 1       *
+./modules/sofa/component/forcefield/TriangularAnisotropicFEMForceField.h:*       SOFA, Simulation Open-Framework Architecture, 
+version 1.0 beta 1       *
+
+
+2)
+please provide a 
+copyright file for extlibs/miniFlowVR/
+
+3)
+please provide a 
+make install
+
+4)
+Sometimes it is better to link against:
+libqt3-mt-dev, qt3-dev-tools,
+libqglviewer-dev, libqwt-dev,
+

Modified: trunk/packages/sofa-framework/trunk/debian/README.Debian
===================================================================
--- trunk/packages/sofa-framework/trunk/debian/README.Debian	2008-09-16 14:54:24 UTC (rev 2500)
+++ trunk/packages/sofa-framework/trunk/debian/README.Debian	2008-09-16 21:57:23 UTC (rev 2501)
@@ -1,26 +1,22 @@
-sofa for Debian
----------------
+sofa-framework for Debian
+-------------------------
 
-1)
-grep -r "1.0 beta 1" .
-./modules/sofa/component/forcefield/TriangularAnisotropicFEMForceField.cpp:*       SOFA, Simulation Open-Framework Architecture, 
-version 1.0 beta 1       *
-./modules/sofa/component/forcefield/TriangularAnisotropicFEMForceField.h:*       SOFA, Simulation Open-Framework Architecture, 
-version 1.0 beta 1       *
 
+Project MESSAGE: ====== SOFA Build Configuration ======
+Project MESSAGE: | Platform: Linux/Unix
+Project MESSAGE: | Mode: RELEASE
+Project MESSAGE: | Qt version: 4.x
+Project MESSAGE: | RDTSC timer: DISABLED
+Project MESSAGE: | PNG support: DISABLED
+Project MESSAGE: | OpenGL Extensions support using GLEW: ENABLED
+Project MESSAGE: | GPU support using CUDA: DISABLED
+Project MESSAGE: | PML/LML support: DISABLED
+Project MESSAGE: | GLUT GUI: ENABLED
+Project MESSAGE: | Qt GUI: ENABLED
+Project MESSAGE: | - Qt OpenGL viewer: ENABLED
+Project MESSAGE: | - Qt QGLViewer viewer: DISABLED
+Project MESSAGE: | - Qt OGRE 3D viewer: DISABLED
+Project MESSAGE: ======================================
 
-2)
-please provide a 
-copyright file for extlibs/miniFlowVR/
 
-3)
-please provide a 
-make install
-
-4)
-Sometimes it is better to link against:
-libqt3-mt-dev, qt3-dev-tools,
-libqglviewer-dev, libqwt-dev,
-
-
  -- Dominique Belhachemi <domibel at cs.tu-berlin.de>  Sat, 16 Feb 2008 10:26:03 +0100

Modified: trunk/packages/sofa-framework/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/sofa-framework/trunk/debian/get-orig-source	2008-09-16 14:54:24 UTC (rev 2500)
+++ trunk/packages/sofa-framework/trunk/debian/get-orig-source	2008-09-16 21:57:23 UTC (rev 2501)
@@ -1,18 +1,18 @@
-mkdir -p sofa-framework-tmp/downloads
+mkdir -p tmp-sofa-framework/downloads
 
 wget http://gforge.inria.fr/frs/download.php/5654/sofa-framework-1.0-beta3.zip
 wget http://gforge.inria.fr/frs/download.php/5598/sofa-modules-1.0-beta3.zip
 wget http://gforge.inria.fr/frs/download.php/5596/sofa-applications-1.0-beta3.zip
 
-mv sofa-framework-1.0-beta3.zip    sofa-framework-tmp/downloads
-mv sofa-modules-1.0-beta3.zip      sofa-framework-tmp/downloads
-mv sofa-applications-1.0-beta3.zip sofa-framework-tmp/downloads
+mv sofa-framework-1.0-beta3.zip    tmp-sofa-framework/downloads
+mv sofa-modules-1.0-beta3.zip      tmp-sofa-framework/downloads
+mv sofa-applications-1.0-beta3.zip tmp-sofa-framework/downloads
 
 
 ############################################################
 
-mkdir -p sofa-framework-tmp/repackaged/sofa-framework-1.0.0~beta3
-cd sofa-framework-tmp/repackaged/sofa-framework-1.0.0~beta3
+mkdir -p tmp-sofa-framework/repackaged/sofa-framework-1.0.0~beta3
+cd tmp-sofa-framework/repackaged/sofa-framework-1.0.0~beta3
 
 unzip ../../downloads/sofa-framework-1.0-beta3.zip
 unzip ../../downloads/sofa-modules-1.0-beta3.zip
@@ -32,5 +32,4 @@
 mv sofa-framework-1.0.0~beta3 ../../
 mv sofa-framework_1.0.0~beta3.orig.tar.gz ../../
 cd ../../
-#rm -rf sofa-framework-tmp/
-
+#rm -rf tmp-sofa-framework/

Modified: trunk/packages/sofa-framework/trunk/debian/rules
===================================================================
--- trunk/packages/sofa-framework/trunk/debian/rules	2008-09-16 14:54:24 UTC (rev 2500)
+++ trunk/packages/sofa-framework/trunk/debian/rules	2008-09-16 21:57:23 UTC (rev 2501)
@@ -43,9 +43,9 @@
 	$(MAKE)
 
 	# Create the documentation files
-	mkdir -p $(CURDIR)/doc
+	mkdir -p $(CURDIR)/doc/doxygen
 	doxygen -u Doxyfile
-	doxygen
+##	doxygen
 
 	touch $@
 
@@ -93,10 +93,10 @@
 	rm -rf $(CURDIR)/debian/tmp/usr/include/applications
 
 	mv $(CURDIR)/bin/runSofa         $(CURDIR)/debian/tmp/usr/bin/sofa.bin
-	mv $(CURDIR)/bin/oneParticule    $(CURDIR)/debian/tmp/usr/bin/sofa_particule
-	mv $(CURDIR)/bin/oneTetrahedron  $(CURDIR)/debian/tmp/usr/bin/sofa_tetrahedron
-	mv $(CURDIR)/bin/chainHybrid     $(CURDIR)/debian/tmp/usr/bin/sofa_chain_hybrid
-	mv $(CURDIR)/bin/mixedPendulum   $(CURDIR)/debian/tmp/usr/bin/sofa_mixed_pendulum
+###	mv $(CURDIR)/bin/oneParticule    $(CURDIR)/debian/tmp/usr/bin/sofa_particule
+###	mv $(CURDIR)/bin/oneTetrahedron  $(CURDIR)/debian/tmp/usr/bin/sofa_tetrahedron
+###	mv $(CURDIR)/bin/chainHybrid     $(CURDIR)/debian/tmp/usr/bin/sofa_chain_hybrid
+###	mv $(CURDIR)/bin/mixedPendulum   $(CURDIR)/debian/tmp/usr/bin/sofa_mixed_pendulum
 
 
 	cp -r $(CURDIR)/lib/linux/lib* $(CURDIR)/debian/tmp/usr/lib/
@@ -108,30 +108,36 @@
 	dh_install -plibsofa1-dev    debian/tmp/usr/include/*                 usr/include
 
 	dh_install -psofa-apps   debian/tmp/usr/bin/sofa.bin              usr/bin
-	dh_install -psofa-apps   debian/tmp/usr/bin/sofa_particule        usr/bin
-	dh_install -psofa-apps   debian/tmp/usr/bin/sofa_tetrahedron      usr/bin
-	dh_install -psofa-apps   debian/tmp/usr/bin/sofa_chain_hybrid     usr/bin
-	dh_install -psofa-apps   debian/tmp/usr/bin/sofa_mixed_pendulum   usr/bin
+###	dh_install -psofa-apps   debian/tmp/usr/bin/sofa_particule        usr/bin
+###	dh_install -psofa-apps   debian/tmp/usr/bin/sofa_tetrahedron      usr/bin
+###	dh_install -psofa-apps   debian/tmp/usr/bin/sofa_chain_hybrid     usr/bin
+###	dh_install -psofa-apps   debian/tmp/usr/bin/sofa_mixed_pendulum   usr/bin
 	dh_install -psofa-apps   debian/sofa                              usr/bin
 	dh_install -psofa-apps   debian/sofa.desktop                      usr/share/applications
 	dh_install -psofa-apps   debian/sofa.xpm                          usr/share/pixmaps
 
+        # because of a lintian warning
+	find tutorials -name "*.kdevelop" | xargs chmod 644
 
         # install the source code of the example applications
 	dh_install -psofa-tutorials    tutorials     usr/share/sofa
 
-	chmod -R 644 share
-	chmod -R 644 examples
+	find share -type f -exec chmod 644 \{\} \;
+	find share -name "*.sh" | xargs chmod 755
 
+	find examples -type f -exec chmod 644 \{\} \;
+	find examples -name "*.sh" | xargs chmod 755
+
 	dh_install -psofa-share   share                                usr/share/sofa
 	dh_install -psofa-share   examples                             usr/share/sofa
 
-
-#       # Documentation
-#       cp -rf $(CURDIR)/doc/doxygen/* $(CURDIR)/debian/sofa-doc/usr/share/doc/sofa-doc/html/
-#       cp -p -r $(CURDIR)/doc/doxygen/* $(CURDIR)/debian/tmp/usr/share/doc/sofa-doc/
+	# Documentation
 	dh_install -psofa-doc     doc/doxygen                          usr/share/doc/sofa-doc
 
+	# lintian override
+	install -p -D -m644 debian/libsofa1.lintian debian/libsofa1/usr/share/lintian/overrides/libsofa1
+
+
 # Build architecture-independent files here.
 binary-indep: build install
 # We have nothing to do by default.

Modified: trunk/packages/sofa-framework/trunk/debian/sofa-doc.doc-base
===================================================================
--- trunk/packages/sofa-framework/trunk/debian/sofa-doc.doc-base	2008-09-16 14:54:24 UTC (rev 2500)
+++ trunk/packages/sofa-framework/trunk/debian/sofa-doc.doc-base	2008-09-16 21:57:23 UTC (rev 2501)
@@ -1,7 +1,12 @@
 Document: sofa-doc
 Title: SOFA class documentation
 Author: Various
-Abstract:  SOFA
+Abstract: GUI for the Simulation Open Framework Architecture (SOFA)
+ SOFA is an Open Source framework primarily targeted at
+ real-time simulation, with an emphasis on medical simulation.
+ It is mostly intended for the research community to help
+ develop newer algorithms, but can also be used as an efficient
+ prototyping tool.
 Section: Programming
 
 Format: HTML




More information about the debian-med-commit mailing list