Changeset 1598
- Timestamp:
- Aug 26, 2015, 5:11:38 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/0.10-stable merged: 1580-1581,1583-1589,1591-1595
- Property svn:mergeinfo changed
-
trunk/NEWS
r1579 r1598 14 14 svndigest 0.10.x series from 15 15 http://dev.thep.lu.se/svndigest/svn/branches/0.10-stable 16 17 Version 0.10.3 (released 25 August 2015) 18 - Fixed build system to work with the changes introduced in plplot 19 5.11.x releases (ticket #532). 20 - Improved help2man utility detection (ticket #530). 21 22 A complete list of closed tickets can be found here [[br]] 23 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.10.3 16 24 17 25 Version 0.10.2 (released 23 February 2015) -
trunk/bin/svndigest.cc
r1573 r1598 4 4 Copyright (C) 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson 5 5 Copyright (C) 2010, 2011, 2012 Peter Johansson 6 Copyright (C) 2015 Jari Häkkinen 6 7 7 8 This file is part of svndigest, http://dev.thep.lu.se/svndigest -
trunk/configure.ac
r1579 r1598 13 13 # Copyright (C) 2006 Jari Häkkinen 14 14 # Copyright (C) 2007, 2008, 2009, 2010 Jari Häkkinen, Peter Johansson 15 # Copyright (C) 2011, 2012 , 2015Peter Johansson16 # Copyright (C) 2015 Jari Häkkinen 15 # Copyright (C) 2011, 2012 Peter Johansson 16 # Copyright (C) 2015 Jari Häkkinen, Peter Johansson 17 17 # 18 18 # This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 232 232 ]) 233 233 234 # PLPLOT_USE_D is set to character 'd' for plplot versions prior to 235 # 5.11 since library names changed in plplot 5.11, i.e., the 'd' to 236 # indicate double floating number precision was removed from library 237 # names. 238 PLPLOT_USE_D= 234 239 use_plplot_pc="no" 235 240 AS_IF([test "x$plplot_found" = "xyes" && test -n "$PKG_CONFIG"], [ 236 AC_MSG_CHECKING([for plplotd-c++.pc]) 237 AS_IF([$PKG_CONFIG --exists plplotd-c++], [ 241 # check for plplot 5.11 or later first 242 AC_MSG_CHECKING([for plplot-c++.pc]) 243 AS_IF([$PKG_CONFIG --exists plplot-c++], [ 238 244 AC_MSG_RESULT([yes]) 239 245 use_plplot_pc="yes" 240 246 ],[ 241 AC_MSG_RESULT([no]) 242 AC_MSG_WARN([cannot find plplotd-c++; 243 please use --with-plplot with appropriate argument to get more accurate 244 configuration.]) 247 # fall back to check for plplot prior to version 5.11 248 AC_MSG_CHECKING([for plplotd-c++.pc]) 249 AS_IF([$PKG_CONFIG --exists plplotd-c++], [ 250 AC_MSG_RESULT([yes]) 251 use_plplot_pc="yes" 252 # plplot prior to 5.11 found, use 'd' 253 PLPLOT_USE_D=d 254 ],[ 255 AC_MSG_RESULT([no]) 256 AC_MSG_WARN([cannot find plplotd-c++ nor plplot-c++; 257 please use --with-plplot with appropriate argument to get more accurate 258 configuration.]) 259 ]) 245 260 ]) 246 261 ]) … … 255 270 # substituting potential '/plplot' in PREFIX. 256 271 YAT_CPP_ADD_FLAG([CPPFLAGS], 257 [`$PKG_CONFIG plplot d-c++ --cflags-only-I | sed 's|/plplot | |g'`])258 YAT_LD_ADD_FLAG([LDFLAGS], [`$PKG_CONFIG plplot d-c++ --libs-only-L`])259 PLPLOT_LIBS="`$PKG_CONFIG plplot d-c++ --libs-only-l --libs-only-other`"272 [`$PKG_CONFIG plplot$PLPLOT_USE_D-c++ --cflags-only-I | sed 's|/plplot | |g'`]) 273 YAT_LD_ADD_FLAG([LDFLAGS], [`$PKG_CONFIG plplot$PLPLOT_USE_D-c++ --libs-only-L`]) 274 PLPLOT_LIBS="`$PKG_CONFIG plplot$PLPLOT_USE_D-c++ --libs-only-l --libs-only-other`" 260 275 ],[ 261 276 # otherwise guess 262 PLPLOT_LIBS="-lplplotcxx d -lplplotd";277 PLPLOT_LIBS="-lplplotcxx -lplplot"; 263 278 AS_IF([test -n "$with_plplot" && test "x$with_plplot" != "xyes"], [ 264 279 YAT_LD_ADD_FLAG([LDFLAGS], [-L$with_plplot/lib]) … … 274 289 AS_IF([test "x$plplot_found" = "xyes" && test -n "$PKG_CONFIG"], [ 275 290 AC_MSG_CHECKING([plplot version >= $plplot_version]) 276 AS_IF([$PKG_CONFIG --atleast-version=$plplot_version plplot d-c++], [291 AS_IF([$PKG_CONFIG --atleast-version=$plplot_version plplot$PLPLOT_USE_D-c++], [ 277 292 AC_MSG_RESULT([yes]) 278 293 ],[ 279 have_plplot_version=`$PKG_CONFIG --modversion plplot d-c++`294 have_plplot_version=`$PKG_CONFIG --modversion plplot$PLPLOT_USE_D-c++` 280 295 AC_MSG_RESULT([$have_plplot_version]) 281 296 plplot_found="old" … … 348 363 all_reqs_ok="true" 349 364 365 # checking for help2man, missing help2man is non-fatal but subsequent 366 # use of `make dist` and `make distcheck` is constructed to fail. 367 AC_MSG_CHECKING([help2man]) 368 # redirecting potential error msg to log file 369 AS_IF([help2man --version >/dev/null 2>&AS_MESSAGE_LOG_FD], 370 [have_help2man=yes], [have_help2man=no]) 371 AM_CONDITIONAL([HAVE_HELP2MAN], [test "x$have_help2man" = "xyes"]) 372 AC_SUBST([have_help2man]) 373 AC_MSG_RESULT([$have_help2man]) 374 375 # if we work in an svn wc we should have a test repository and warn if 376 # help2man missing 350 377 AS_VAR_IF([have_svn_wc], [yes], [ 351 AC_MSG_CHECKING([help2man])352 # redirecting potential error msg to log file353 AS_IF([help2man --version >/dev/null 2>&AS_MESSAGE_LOG_FD],354 [AC_MSG_RESULT([yes])],355 [AC_MSG_RESULT([no])356 AC_MSG_WARN(m4_text_wrap(m4_normalize([357 `help2man' is missing on your system. You will not be358 able to create the man page. A sound man page should be359 included in a distribution, and since you will not able360 to create a complete distribution `make dist' will fail.361 ]),[ ],362 [ ], 79))363 ])364 378 if (test "$test_repo_found" = "no"); then 365 379 all_reqs_ok="false"; 366 AC_MSG_WARN([dnl 367 Cannot find test repository (test_repo_filename), which should be 368 available when building from a subversion working copy. Try svn 369 update in top directory.]); 380 AC_MSG_WARN(m4_text_wrap(m4_normalize([ 381 Cannot find test repository (test/repo), which should be 382 available when building from a subversion working copy. 383 Try svn update in top directory. 384 ]), 385 [ ],[ ],79)) 386 fi 387 if (test "$have_help2man" = "no"); then 388 # non-fatal, only issue warning 389 AC_MSG_WARN(m4_text_wrap(m4_normalize([ 390 `help2man' is missing on your system. You will not be 391 able to create the man page. A sound man page should be 392 included in a distribution, and since you will not able 393 to create a complete distribution `make dist' will fail. 394 ]), 395 [ ],[ ],79)) 370 396 fi 371 397 ]) -
trunk/m4/version.m4
- Property svn:mergeinfo changed
/branches/0.10-stable/m4/version.m4 merged: 1580,1595
- Property svn:mergeinfo changed
-
trunk/man/Makefile.am
r1532 r1598 4 4 5 5 # Copyright (C) 2008, 2009, 2010, 2011, 2012 Peter Johansson 6 # Copyright (C) 2015 Jari Häkkinen 6 7 # 7 8 # This file is part of svndigest, http://dev.thep.lu.se/trac/svndigest … … 53 54 endif 54 55 56 if !HAVE_HELP2MAN 57 dist-hook: 58 @echo " help2man not found, cannot generate/update man pages." 59 exit 1 60 endif 61 55 62 $(srcdir)/man/svndigest.1: $(svndigest_man_deps) 63 if HAVE_HELP2MAN 56 64 $(AM_V_at)$(HELP2MAN) --no-info -o $@ \ 57 65 --include $(srcdir)/man/svndigest.x \ 58 66 --version-option="--no-verbose --version" \ 59 67 $(top_builddir)/bin/svndigest$(EXEEXT) 68 else 69 @echo " help2man not found, no $@ man page created" 70 @echo " 'make dist' and 'make distcheck' will fail" 71 endif 60 72 61 73 $(srcdir)/man/svncopyright.1: $(svncopyright_man_deps) 74 if HAVE_HELP2MAN 62 75 $(AM_V_at)$(HELP2MAN) --no-info -o $@ \ 63 76 --include $(srcdir)/man/svndigest.x \ 64 77 --version-option="--no-verbose --version" \ 65 78 $(top_builddir)/bin/svncopyright$(EXEEXT) 79 else 80 @echo " help2man not found, no $@ man page created" 81 @echo " 'make dist' and 'make distcheck' will fail" 82 endif 66 83 67 84 $(srcdir)/man/svndigest-copy-cache.1: $(svndigest_copy_cache_man_deps) 85 if HAVE_HELP2MAN 68 86 $(AM_V_at)$(HELP2MAN) --no-info -o $@ \ 69 87 --include $(srcdir)/man/svndigest.x \ 70 88 --version-option="--no-verbose --version" \ 71 89 $(top_builddir)/bin/svndigest-copy-cache$(EXEEXT) 72 90 else 91 @echo " help2man not found, no $@ man page created" 92 @echo " 'make dist' and 'make distcheck' will fail" 93 endif -
trunk/test/Makefile.am
r1571 r1598 36 36 CLEANFILES += $(EXTRA_PROGRAMS) 37 37 38 test_option_test_SOURCES = test/option.cc bin/Parameter.cc \ 39 bin/AbstractParameter.cc bin/svndigestParameter.cc 38 test_option_test_SOURCES = test/option.cc 40 39 41 40 distributed_TESTS = … … 87 86 test_libsvndigesttest_a_SOURCES = test/Suite.cc 88 87 88 ## we need to link in some object files from bin/ 89 test_option_test_LDADD = bin/Parameter.$(OBJEXT) \ 90 bin/AbstractParameter.$(OBJEXT) \ 91 bin/svndigestParameter.$(OBJEXT) $(LDADD) 92 89 93 .PHONY: lazycheck 90 94 -
trunk/test/repo_test.sh
r1532 r1598 5 5 # Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 6 6 # Copyright (C) 2009, 2010, 2012 Peter Johansson 7 # Copyright (C) 2015 Jari Häkkinen 7 8 # 8 9 # This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 32 33 33 34 SVNDIGEST_run 0 -r $rootdir -t $targetdir --force 35 # the below test typically fails with plplot 5.11.0 34 36 test -e stderr || exit_fail 35 37 test -s stderr && exit_fail
Note: See TracChangeset
for help on using the changeset viewer.