Changeset d1831e


Ignore:
Timestamp:
Feb 2, 2016, 5:50:22 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
3690e4
Parents:
e38750 (diff), b61bd5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'Fix_debianpackage' into Candidate_v1.5.1

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    re38750 rd1831e  
    319319  enable_levmar="no")
    320320AC_MSG_RESULT($enable_levmar)
    321 # don't use AS_IF here as it expands (and tests) AC_F77_FUN evene if levmar
     321# don't use AS_IF here as it expands (and tests) AC_F77_FUN even if levmar
    322322# is disabled.
    323 if test x"$enable_levmar" = x"yes"; then
    324         AX_LAPACK([enable_levmar=yes],[enable_levmar=no])
     323if test x"$enable_levmar" = xyes; then
     324        AX_LAPACK([enable_levmar=yes],
     325                [enable_levmar=no
     326                AC_MSG_WARN(["Missing LAPACK, disabling off levmar"])
     327                ]
     328        )
    325329fi
    326 AS_IF([test x"$enable_levmar" = x"yes"],[
     330AS_IF([test x"$enable_levmar" = xyes],[
     331        AC_MSG_CHECKING(for levmar presence via given path )
    327332        AC_ARG_WITH(
    328333                [levmar],
    329334                [AS_HELP_STRING([--with-levmar], [give path to LevMar package])],
    330                 [have_levmar_path=$withval],
     335                [have_levmar_path=$withval
     336                enable_levmar=yes],
    331337                [enable_levmar=no])
    332                 ],[enable_levmar=no])
    333 AS_IF([test x"$enable_levmar" = x"yes"],[
    334         LEVMAR_CPPFLAGS="-I${have_levmar_path}/include"
    335         LEVMAR_LDFLAGS="-L${have_levmar_path}/lib"
    336         LEVMAR_LIBS="-llevmar"
     338        AC_MSG_RESULT($enable_levmar)
     339        AS_IF([test -n "$have_levmar_path"],[
     340                LEVMAR_CPPFLAGS="-I${have_levmar_path}/include"
     341                LEVMAR_LDFLAGS="-L${have_levmar_path}/lib"
     342                LEVMAR_LIBS="-llevmar"],[
     343                PKG_CHECK_MODULES([LEVMAR],[levmar],[enable_levmar=yes],[
     344                        AC_MSG_CHECKING(for levmar presence via locate)
     345                        enable_levmar=no
     346                        levmar_lib=`locate liblevmar.a | head -n 1 | xargs dirname`
     347                        levmar_include=`locate levmar.h | head -n 1 | xargs dirname`
     348                        if test -n "$levmar_lib"; then
     349                                if test -n "$levmar_include"; then
     350                                        enable_levmar=yes
     351                                        LEVMAR_CPPFLAGS="-I${levmar_include}"
     352                                        LEVMAR_LDFLAGS="-L${levmar_lib}"
     353                                        LEVMAR_LIBS="-llevmar"
     354                                fi
     355                        fi
     356                        AC_MSG_RESULT($enable_levmar)
     357                ])
     358        ])
     359        ],[enable_levmar=no]
     360)
     361AC_MSG_CHECKING(for levmar usability)
     362AS_IF([test x"$enable_levmar" = xyes],[
    337363        AC_SUBST(LEVMAR_CPPFLAGS)
    338364        AC_SUBST(LEVMAR_LDFLAGS)
    339365        AC_SUBST(LEVMAR_LIBS)
    340         AC_DEFINE(HAVE_LEVMAR,1, ["use levmar for non-linear minimisation/potential fitting."])
    341         ],[AC_MSG_WARN(["Missing LAPACK, disabling off levmar"])])
     366        AC_DEFINE(HAVE_LEVMAR,1, ["use levmar for non-linear minimisation/potential fitting."])])
     367AC_MSG_RESULT($enable_levmar)
    342368AM_CONDITIONAL([CONDLEVMAR], [test x"$enable_levmar" = x"yes"])
    343369
  • debian/changelog

    re38750 rd1831e  
    44  * This is my first Debian package.
    55 
    6  -- Frederik Heber <heber@ins.uni-bonn.de>  Sun, 09 Aug 2015 21:37:00 +0100
     6 -- Frederik Heber <heber@molecuilder.com>  Sun, 09 Aug 2015 21:37:00 +0100
  • debian/control

    re38750 rd1831e  
    44Maintainer: Frederik Heber <heber@molecuilder.com>
    55Build-Depends: debhelper (>=9), cdbs, autoconf, automake (>=1.11), pkg-config,
    6  gfortran, libgpg-error0, libboost-dev (>=1.46), python2.7, libgsl0-dev,
    7  libcodepatterns (>=1.3.0), levmar (>=2.6), units, libcppunit-dev (>=1.12),
    8  libqt4-dev (>=4.8.5),
     6 gfortran, libgpg-error0, libboost-dev (>=1.46), libboost-python-dev (>=1.46),
     7 libboost-program-options-dev (>=1.46), libboost-serialization-dev (>=1.46),
     8 libboost-graph-dev (>=1.46), libboost-system-dev (>=1.46),
     9 libboost-filesystem-dev (>=1.46), libboost-iostreams-dev (>=1.46),
     10 libboost-python-dev (>=1.46), python (>=2.7), python-dev (>=2.7), libgsl0-dev,
     11 libcodepatterns-dev (>=1.3.0), liblapack-dev (>= 3.3.1), levmar (>=2.6),
     12 units, libcppunit-dev (>=1.12), libqt4-dev (>=4.8.5), libqt4-3d-dev (>=1.0),
     13 libqwt5-qt4-dev (>=5.2.2), doxygen (>=1.7.6), graphviz (>= 2.26.3)
    914Build-Conflicts: autoconf2.13, automake1.4
    1015Standards-Version: 3.9.3
  • m4/qwt.m4

    re38750 rd1831e  
    4343  mol_ac_qwt_name=qwt
    4444  CXXFLAGS="$CXXFLAGS $QT_CFLAGS"
     45  if test -z "$mol_ac_qwt_include_path"; then
     46        mol_ac_qwt_include_path=`locate qwt.h | xargs dirname`
     47  fi
    4548  if test -n "$mol_ac_qwt_include_path"; then
    4649    mol_ac_qwt_cxxflags="-I$mol_ac_qwt_include_path"
     
    4851  fi
    4952  LDFLAGS="$LDFLAGS $QT_LDFLAGS"
     53  if test -z "$mol_ac_qwt_lib_path"; then
     54        mol_ac_qwt_lib_path=`locate libqwt-qt4.so | head -n 1 | xargs dirname`
     55  fi
    5056  if test -n "$mol_ac_qwt_lib_path"; then
    5157    for mol_ac_qwt_candidate in \
Note: See TracChangeset for help on using the changeset viewer.