[med-svn] r2445 - trunk/packages/sofa/trunk/debian
domibel-guest at alioth.debian.org
domibel-guest at alioth.debian.org
Mon Sep 1 21:48:54 UTC 2008
Author: domibel-guest
Date: 2008-09-01 21:48:53 +0000 (Mon, 01 Sep 2008)
New Revision: 2445
Modified:
trunk/packages/sofa/trunk/debian/changelog
trunk/packages/sofa/trunk/debian/control
trunk/packages/sofa/trunk/debian/get-orig-source
trunk/packages/sofa/trunk/debian/rules
Log:
- source package renamed to sofa-framework
- fixed some lintian warnings
Modified: trunk/packages/sofa/trunk/debian/changelog
===================================================================
--- trunk/packages/sofa/trunk/debian/changelog 2008-09-01 12:11:45 UTC (rev 2444)
+++ trunk/packages/sofa/trunk/debian/changelog 2008-09-01 21:48:53 UTC (rev 2445)
@@ -1,11 +1,11 @@
-sofa (1.0.0~beta3-3) experimental; urgency=low
+sofa-framework (1.0.0~beta3-3) unstable; urgency=low
* debian/copyright: MKL removed
-- Dominique Belhachemi <domibel at cs.tu-berlin.de> Sat, 30 Aug 2008 13:41:33 +0100
-sofa (1.0.0~beta3-2) unstable; urgency=low
+sofa-framework (1.0.0~beta3-2) unstable; urgency=low
* Example files can be find in /usr/share/sofa
* Use a shell script to set the environment variable SOFA_DATA_PATH and to start the sofa gui
@@ -13,7 +13,7 @@
-- Dominique Belhachemi <domibel at cs.tu-berlin.de> Sun, 24 Aug 2008 12:21:33 +0100
-sofa (1.0.0~beta3-1) unstable; urgency=low
+sofa-framework (1.0.0~beta3-1) unstable; urgency=low
* Initial release (Closes: #455064)
Modified: trunk/packages/sofa/trunk/debian/control
===================================================================
--- trunk/packages/sofa/trunk/debian/control 2008-09-01 12:11:45 UTC (rev 2444)
+++ trunk/packages/sofa/trunk/debian/control 2008-09-01 21:48:53 UTC (rev 2445)
@@ -1,4 +1,4 @@
-Source: sofa
+Source: sofa-framework
Section: graphics
Priority: optional
Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
@@ -13,8 +13,15 @@
Package: sofa-apps
Architecture: any
-Depends: libsofa1 (= ${binary:Version}), sofa-share
+Depends: ${shlibs:Depends}, libsofa1 (= ${binary:Version}), sofa-share
Description: 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.
+ .
+ This package contains the SOFA main application.
Package: libsofa1-dev
@@ -50,8 +57,7 @@
Package: sofa-tutorials
Section: graphics
-Depends: libsofa1 (= ${binary:Version})
-Architecture: any
+Architecture: all
Description: Simulation Open Framework Architecture - tutorials
SOFA is an Open Source framework primarily targeted at
real-time simulation, with an emphasis on medical simulation.
@@ -64,7 +70,7 @@
Package: sofa-share
Section: graphics
-Architecture: any
+Architecture: all
Description: Simulation Open Framework Architecture - tutorials
SOFA is an Open Source framework primarily targeted at
real-time simulation, with an emphasis on medical simulation.
@@ -77,7 +83,7 @@
Package: sofa-doc
Section: doc
-Architecture: any
+Architecture: all
Description: SOFA class reference documentation
SOFA is an Open Source framework primarily targeted at
real-time simulation, with an emphasis on medical simulation.
Modified: trunk/packages/sofa/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/sofa/trunk/debian/get-orig-source 2008-09-01 12:11:45 UTC (rev 2444)
+++ trunk/packages/sofa/trunk/debian/get-orig-source 2008-09-01 21:48:53 UTC (rev 2445)
@@ -1,18 +1,18 @@
-mkdir -p sofa-tmp/downloads
+mkdir -p sofa-framework-tmp/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-tmp/downloads
-mv sofa-modules-1.0-beta3.zip sofa-tmp/downloads
-mv sofa-applications-1.0-beta3.zip sofa-tmp/downloads
+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
############################################################
-mkdir -p sofa-tmp/repackaged/sofa-1.0.0~beta3
-cd sofa-tmp/repackaged/sofa-1.0.0~beta3
+mkdir -p sofa-framework-tmp/repackaged/sofa-framework-1.0.0~beta3
+cd sofa-framework-tmp/repackaged/sofa-framework-1.0.0~beta3
unzip ../../downloads/sofa-framework-1.0-beta3.zip
unzip ../../downloads/sofa-modules-1.0-beta3.zip
@@ -28,9 +28,9 @@
cd ..
-tar cvzf sofa_1.0.0~beta3.orig.tar.gz sofa-1.0.0~beta3
-mv sofa-1.0.0~beta3 ../../
-mv sofa_1.0.0~beta3.orig.tar.gz ../../
+tar cvzf sofa-framework_1.0.0~beta3.orig.tar.gz sofa-framework-1.0.0~beta3
+mv sofa-framework-1.0.0~beta3 ../../
+mv sofa-framework_1.0.0~beta3.orig.tar.gz ../../
cd ../../
-#rm -rf sofa-tmp/
+#rm -rf sofa-framework-tmp/
Modified: trunk/packages/sofa/trunk/debian/rules
===================================================================
--- trunk/packages/sofa/trunk/debian/rules 2008-09-01 12:11:45 UTC (rev 2444)
+++ trunk/packages/sofa/trunk/debian/rules 2008-09-01 21:48:53 UTC (rev 2445)
@@ -30,18 +30,21 @@
qmake
touch configure-stamp
+ # create a folder without object files
+ cp -r $(CURDIR)/applications/tutorials $(CURDIR)/tutorials
+
+
build: build-stamp
build-stamp: configure
dh_testdir
- # install the source code of the example applications
- dh_install -psofa-tutorials applications/tutorials usr/share/sofa
-
# Add here commands to compile the package.
$(MAKE)
- mkdir -p $(CURDIR)/doc
- doxygen -u Doxyfile
+
+ # Create the documentation files
+# mkdir -p $(CURDIR)/doc
+# doxygen -u Doxyfile
# doxygen
touch $@
@@ -71,7 +74,10 @@
# # 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/
+# dh_install -psofa-docs doc/doxygen usr/share/doc/sofa-doc/html
+
+
mkdir -p $(CURDIR)/debian/tmp/usr/bin
mkdir -p $(CURDIR)/debian/tmp/usr/lib
mkdir -p $(CURDIR)/debian/tmp/usr/include
@@ -116,15 +122,18 @@
dh_install -psofa-apps debian/sofa.desktop usr/share/applications
dh_install -psofa-apps debian/sofa.xpm usr/share/pixmaps
+
+ # install the source code of the example applications
+ dh_install -psofa-tutorials tutorials usr/share/sofa
+
+ chmod -R 644 share
+ chmod -R 644 examples
+
dh_install -psofa-share share usr/share/sofa
dh_install -psofa-share examples usr/share/sofa
- # install the source code of the example applications
-# dh_install -psofa-tutorials applications/tutorials usr/share/sofa
-# this happens now before we build the applications (see build-stamp)
-
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
More information about the debian-med-commit
mailing list