r38400 - /packages/feel++/trunk/debian/patches/minconfig.patch
prudhomm at users.alioth.debian.org
prudhomm at users.alioth.debian.org
Tue Apr 19 10:13:38 UTC 2011
Author: prudhomm
Date: Tue Apr 19 10:13:29 2011
New Revision: 38400
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=38400
Log:
even more minimal
Modified:
packages/feel++/trunk/debian/patches/minconfig.patch
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=38400&op=diff
==============================================================================
--- packages/feel++/trunk/debian/patches/minconfig.patch (original)
+++ packages/feel++/trunk/debian/patches/minconfig.patch Tue Apr 19 10:13:29 2011
@@ -1,13 +1,13 @@
Index: feel++-0.90.0/doc/tutorial/CMakeLists.txt
===================================================================
---- feel++-0.90.0.orig/doc/tutorial/CMakeLists.txt 2011-03-20 21:22:47.000000000 +0100
-+++ feel++-0.90.0/doc/tutorial/CMakeLists.txt 2011-03-20 21:23:41.000000000 +0100
+--- 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 @@
endforeach()
endmacro()
-foreach( docex myapp myintegrals mymesh myfunctionspace laplacian residualestimator)
-+foreach( docex myapp myintegrals mymesh)
++foreach( docex myapp mymesh)
add_docex( ${docex} )
endforeach()
@@ -16,7 +16,38 @@
if ( NOT FEEL_MINIMAL_CONFIGURATION )
-foreach( docex stokes bratu nonlinearpow )
-+foreach( docex myfunctionspace laplacian residualestimator stokes bratu nonlinearpow )
++foreach( docex myintegrals myfunctionspace laplacian residualestimator stokes bratu nonlinearpow )
add_docex( ${docex} )
endforeach()
+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
+@@ -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
+@@ -248,10 +248,13 @@
+ std::cout << app.optionsDescription() << "\n";
+ return 0;
+ }
+-
++#if defined(FEEL_MINIMAL_CONFIGURATION)
++ app.add( new MyIntegrals<2>( app.vm(), app.about() ) );
++#else
+ app.add( new MyIntegrals<1>( app.vm(), app.about() ) );
+ 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