r38402 - in /packages/feel++/trunk/debian: feel++-apps.install patches/minconfig.patch
prudhomm at users.alioth.debian.org
prudhomm at users.alioth.debian.org
Tue Apr 19 16:21:48 UTC 2011
Author: prudhomm
Date: Tue Apr 19 16:21:33 2011
New Revision: 38402
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=38402
Log:
fix feel++ apps install
Modified:
packages/feel++/trunk/debian/feel++-apps.install
packages/feel++/trunk/debian/patches/minconfig.patch
Modified: packages/feel++/trunk/debian/feel++-apps.install
URL: http://svn.debian.org/wsvn/debian-science/packages/feel%2B%2B/trunk/debian/feel%2B%2B-apps.install?rev=38402&op=diff
==============================================================================
--- packages/feel++/trunk/debian/feel++-apps.install (original)
+++ packages/feel++/trunk/debian/feel++-apps.install Tue Apr 19 16:21:33 2011
@@ -1,6 +1,1 @@
-debian/tmp/usr/bin/feel_doc_myapp /usr/bin
-debian/tmp/usr/bin/feel_doc_mymesh /usr/bin
-debian/tmp/usr/bin/feel_doc_myintegrals /usr/bin
-#debian/tmp/usr/bin/feel_doc_myfunctionspace /usr/bin
-#debian/tmp/usr/bin/feel_doc_laplacian /usr/bin
-#debian/tmp/usr/bin/feel_doc_residualestimator /usr/bin
+debian/tmp/usr/bin/feel_doc_* /usr/bin
Modified: packages/feel++/trunk/debian/patches/minconfig.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/feel%2B%2B/trunk/debian/patches/minconfig.patch?rev=38402&op=diff
==============================================================================
--- packages/feel++/trunk/debian/patches/minconfig.patch (original)
+++ packages/feel++/trunk/debian/patches/minconfig.patch Tue Apr 19 16:21:33 2011
@@ -1,41 +1,58 @@
Index: feel++-0.90.0/doc/tutorial/CMakeLists.txt
===================================================================
---- feel++-0.90.0.orig/doc/tutorial/CMakeLists.txt 2011-04-19 10:03:03.000000000 +0000
-+++ feel++-0.90.0/doc/tutorial/CMakeLists.txt 2011-04-19 10:03:50.000000000 +0000
-@@ -80,7 +80,7 @@
+--- feel++-0.90.0.orig/doc/tutorial/CMakeLists.txt 2011-04-19 18:18:53.000000000 +0200
++++ feel++-0.90.0/doc/tutorial/CMakeLists.txt 2011-04-19 18:19:52.000000000 +0200
+@@ -80,14 +80,10 @@
endforeach()
endmacro()
-
+
-foreach( docex myapp myintegrals mymesh myfunctionspace laplacian residualestimator)
+foreach( docex myapp )
add_docex( ${docex} )
endforeach()
-
-@@ -100,7 +100,7 @@
-
+
+-set(FEEL_INSTALL_APPS ${FEEL_INSTALL_APPS};${LIST_APPS} PARENT_SCOPE)
+-message(STATUS "doc tutorial: ${LIST_APPS}")
+-
+-
+ add_custom_target(
+ tut-prerequisites
+ ALL
+@@ -100,7 +96,7 @@
+
if ( NOT FEEL_MINIMAL_CONFIGURATION )
-
+
-foreach( docex stokes bratu nonlinearpow )
+foreach( docex mymesh myintegrals myfunctionspace laplacian residualestimator stokes bratu nonlinearpow )
add_docex( ${docex} )
endforeach()
-
+
+@@ -111,6 +107,9 @@
+
+ endif ( NOT FEEL_MINIMAL_CONFIGURATION )
+
++set(FEEL_INSTALL_APPS ${FEEL_INSTALL_APPS};${LIST_APPS} PARENT_SCOPE)
++message(STATUS "doc tutorial: ${LIST_APPS}")
++
+ IF ( OCTAVE_FOUND )
+
+ GET_DIRECTORY_PROPERTY(cmake_include_directories INCLUDE_DIRECTORIES)
Index: feel++-0.90.0/CMakeLists.txt
===================================================================
---- feel++-0.90.0.orig/CMakeLists.txt 2011-04-19 10:03:03.000000000 +0000
-+++ feel++-0.90.0/CMakeLists.txt 2011-04-19 10:03:10.000000000 +0000
+--- feel++-0.90.0.orig/CMakeLists.txt 2011-04-19 18:18:53.000000000 +0200
++++ feel++-0.90.0/CMakeLists.txt 2011-04-19 18:19:04.000000000 +0200
@@ -214,6 +214,7 @@
set( ENABLE_INSTANTIATION_MODE OFF )
UNSET( FEEL_INSTANTIATION_MODE CACHE )
SET(FEEL_MESH_MAX_ORDER "1" CACHE STRING "maximum geometrical order in templates to instantiate" FORCE )
+ add_definitions( -DFEEL_MINIMAL_CONFIGURATION=1 )
ENDIF( FEEL_MINIMAL_CONFIGURATION )
-
+
#
Index: feel++-0.90.0/doc/tutorial/myintegrals.cpp
===================================================================
---- feel++-0.90.0.orig/doc/tutorial/myintegrals.cpp 2011-04-19 10:03:02.000000000 +0000
-+++ feel++-0.90.0/doc/tutorial/myintegrals.cpp 2011-04-19 10:03:10.000000000 +0000
+--- feel++-0.90.0.orig/doc/tutorial/myintegrals.cpp 2011-04-19 18:18:53.000000000 +0200
++++ feel++-0.90.0/doc/tutorial/myintegrals.cpp 2011-04-19 18:19:04.000000000 +0200
@@ -248,10 +248,13 @@
std::cout << app.optionsDescription() << "\n";
return 0;
@@ -48,6 +65,6 @@
app.add( new MyIntegrals<2>( app.vm(), app.about() ) );
app.add( new MyIntegrals<3>( app.vm(), app.about() ) );
+#endif
-
+
app.run();
}
More information about the debian-science-commits
mailing list