Changeset 1182
- Timestamp:
- Aug 25, 2010, 3:02:41 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 23 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/0.8-stable (added) merged: 1129,1131,1139-1142,1145,1147-1150,1159,1161,1165-1167,1169-1171,1174-1180
- Property svn:mergeinfo changed
-
trunk/.svndigest/config
r1038 r1182 84 84 bootstrap = "#":"\n" 85 85 Makefile = "#":"\n" 86 Portfile = "#":"\n" -
trunk/Makefile.am
r1119 r1182 71 71 { echo incorrect svn revision - expected single unmodified revision 1>&2; \ 72 72 exit 1; } 73 74 # run in end of release target 75 RELEASE_HOOK = build_support/Portfile 76 77 edit = $(SED) \ 78 -e 's|@PACKAGE_URL[@]|$(PACKAGE_URL)|g' \ 79 -e 's|@VERSION[@]|$(VERSION)|g' 80 81 build_support/Portfile: Makefile build_support/Portfile.in $(distdir).tar.gz.MD5 82 @rm -f $@ $@.t 83 @md5sum=`cut -f 1 -d ' ' $(distdir).tar.gz.MD5`;\ 84 $(edit) -e "s|@MD5SUM[@]|$$md5sum|g" '$(srcdir)/$@.in' > $@.t 85 @chmod a-w $@.t 86 @mv $@.t $@ 87 @echo "creating $@" -
trunk/NEWS
r1156 r1182 16 16 http://dev.thep.lu.se/svndigest/svn/branches/0.8-stable 17 17 18 Version 0.8 (released NOT YET)18 Version 0.8 (released 25 August 2010) 19 19 - cache file now contains config information (ticket #433) 20 20 - Gnuplot replaced with plplot (ticket:97) 21 21 - option --copyright deprecated; use new program snvcopyright (ticket #307) 22 - new program svndigest-copy-cache (ticket #380) 22 23 - new option --format (ticket:438) 23 24 - new option --anchor-format (ticket:279) … … 27 28 - new default codon for `*.R` in config file (ticket:432) 28 29 - image format is configurable, refer to Manual (ticket:405) 30 - color of different author is configurable (ticket #75 #413) 29 31 30 32 A complete list of closed tickets can be found here [[br]] … … 35 37 36 38 Version 0.7.5 (released 3 July 2010) 39 - now handles the case when parts of repository is not readable (bug #458) 37 40 38 41 A complete list of closed tickets can be found here [[br]] 39 42 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.7.5 40 - now handles the case when parts of repository is not readable (bug #458)41 43 42 44 Version 0.7.4 (released 8 June 2010) -
trunk/README
r978 r1182 25 25 svndigest can be obtained from 26 26 27 http://dev.thep.lu.se/svndigest/wiki/DownloadPage27 https://sourceforge.net/projects/svndigest/files/ 28 28 29 29 … … 43 43 consequence, the dependency is inherited by svndigest. 44 44 45 * PLplot, http://plplot.sourceforge.net, is used to generate graphics 46 in the output. You can build svndigest without PLplot if you run 47 configure with `--without-plplot`. 45 * PLplot, http://plplot.sourceforge.net, version 5.9.6 (or newer) is 46 required to generate graphics in the output. You can build 47 svndigest without PLplot if you run configure with 48 `--without-plplot`. If you output plots in PNG format, it is 49 recommended to install plplot with pngcairo or pngqt devices. 48 50 49 51 * pkg-config utility, http://pkg-config.freedesktop.org, is used to … … 103 105 http://dev.thep.lu.se/svndigest/newticket 104 106 105 Use user `svndigest` and password `svndigest`. 107 Use user `svndigest` and password `svndigest`. For more details please 108 refer to section 'Reporting failures' in file `test/README`. 106 109 107 110 … … 123 126 Copyright (C) 2005, 2006 Jari Häkkinen 124 127 Copyright (C) 2007, 2008, 2009 Jari Häkkinen, Peter Johansson 128 Copyright (C) 2010 Peter Johansson 125 129 126 130 This file is part of svndigest, http://dev.thep.lu.se/svndigest -
trunk/bin/Makefile.am
r1173 r1182 34 34 LDADD = $(top_builddir)/lib/libsvndigest.a \ 35 35 $(top_builddir)/yat/libyat.a $(SVN_LIBS) $(APR_LIBS) $(PLPLOT_LIBS) 36 AM_LDFLAGS = $( PLPLOT_LDFLAGS) $(APR_LDFLAGS) $(SVN_LDFLAGS)36 AM_LDFLAGS = $(SVNDIGEST_LDFLAGS) 37 37 38 AM_CPPFLAGS = -I$(top_srcdir) $(DEFAULT_CPPFLAGS) \ 39 $(APR_CPPFLAGS) $(SVN_CPPFLAGS) $(PLPLOT_CPPFLAGS) 40 AM_CXXFLAGS = $(DEFAULT_CXXFLAGS) 38 AM_CPPFLAGS = -I$(top_srcdir) $(SVNDIGEST_CPPFLAGS) 39 AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS) 41 40 42 41 ##svndigest_LDADD = $(LDADD) $(PLPLOT_LIBS) -
trunk/bin/svndigest.cc
r1157 r1182 2 2 3 3 /* 4 Copyright (C) 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson 5 Copyright (C) 2010 Peter Johansson 4 Copyright (C) 2006, 2007, 2008, 2009, 2010 Jari Häkkinen, Peter Johansson 6 5 7 6 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 62 61 int main( int argc, char* argv[]) 63 62 { 63 // Need to create an instance of Graph (plstream) since there is a 64 // bug in plplot with dynamic loading of runtime libraries. The 65 // issue is reported in the plplot issue tracking system 66 // https://sf.net/tracker/?func=detail&aid=3009045&group_id=2915&atid=102915 67 // and as http://dev.thep.lu.se/svndigest/ticket/472. Simply remove 68 // this comment and the next line of code when plplot developers 69 // fixes their bug. 70 // 71 // Omitting the dummy instance will cause segmentation fault. 72 Graph dummy_never_used("/dev/null", "png"); 64 73 65 74 // Reading commandline options -
trunk/configure.ac
r1172 r1182 12 12 # Copyright (C) 2005 Jari Häkkinen, Peter Johansson 13 13 # Copyright (C) 2006 Jari Häkkinen 14 # Copyright (C) 2007, 2008, 2009 Jari Häkkinen, Peter Johansson 15 # Copyright (C) 2010 Peter Johansson 14 # Copyright (C) 2007, 2008, 2009, 2010 Jari Häkkinen, Peter Johansson 16 15 # 17 16 # This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 33 32 34 33 m4_include([m4/version.m4]) 35 AC_INIT([svndigest], m4_defn([SVNDIGEST_VERSION]),[jari@thep.lu.se],, 34 AC_INIT([svndigest], m4_defn([SVNDIGEST_VERSION]), 35 [svndigest-users@lists.sourceforge.net],, 36 36 [http://dev.thep.lu.se/svndigest]) 37 37 AC_CONFIG_SRCDIR([lib/File.h]) … … 107 107 AC_PROG_RANLIB 108 108 AC_PROG_SED 109 A C_PATH_PROG([HELP2MAN], [help2man], [no])109 AM_MISSING_PROG([HELP2MAN], [help2man]) 110 110 # look for pkg-config 111 111 PKG_PROG_PKG_CONFIG([0.23]) … … 142 142 for i in $apr_link_ld; do 143 143 AS_IF([test ${i:0:2} = "-l"],[APR_LIBS="$i $APR_LIBS"], 144 [YAT_LD_ADD_FLAG([ APR_LDFLAGS], [$i])])144 [YAT_LD_ADD_FLAG([LDFLAGS], [$i])]) 145 145 done 146 YAT_CPP_ADD_FLAG([APR_CPPFLAGS],[`$apr_config --includes --cppflags`]) 147 save_CPPFLAGS=$CPPFLAGS 148 CPPFLAGS="$APR_CPPFLAGS $CPPFLAGS" 146 YAT_CPP_ADD_FLAG([CPPFLAGS],[`$apr_config --includes --cppflags`]) 149 147 AC_CHECK_HEADER([apr_allocator.h],,[apr_found="no"]) 150 CPPFLAGS=$save_CPPFLAGS 151 fi 152 AC_SUBST([APR_CPPFLAGS]) 153 AC_SUBST([APR_LDFLAGS]) 148 fi 154 149 AC_SUBST([APR_LIBS]) 155 150 … … 165 160 with_svn=`cd $with_svn && pwd` 166 161 DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --with-svn=$with_svn" 167 YAT_LD_ADD_FLAG([ SVN_LDFLAGS], [-L$with_svn/lib])168 YAT_CPP_ADD_FLAG([ SVN_CPPFLAGS], [-I$with_svn/include])162 YAT_LD_ADD_FLAG([LDFLAGS], [-L$with_svn/lib]) 163 YAT_CPP_ADD_FLAG([CPPFLAGS], [-I$with_svn/include]) 169 164 ]) 170 165 # svn needs needs apr headers 171 save_CPPFLAGS=$CPPFLAGS172 CPPFLAGS="$APR_CPPFLAGS $SVN_CPPFLAGS $CPPFLAGS"173 166 AC_CHECK_HEADER([subversion-1/svn_types.h],,[svn_found="no"]) 174 CPPFLAGS=$save_CPPFLAGS 175 176 save_LDFLAGS=$LDFLAGS 167 177 168 save_LIBS=$LIBS 178 169 tmp_LIBS="$APR_LIBS $save_LIBS" 179 170 LIBS="" 180 LDFLAGS="$SVN_LDFLAGS $APR_LDFLAGS"181 171 AC_SEARCH_LIBS([svn_cmdline_setup_auth_baton],[svn_subr-1], 182 172 [], [svn_found="no"], [$tmp_LIBS]) … … 188 178 SVN_LIBS=$LIBS 189 179 LIBS=$save_LIBS 190 LDFLAGS=$save_LDFLAGS191 AC_SUBST([SVN_CPPFLAGS])192 AC_SUBST([SVN_LDFLAGS])193 180 AC_SUBST([SVN_LIBS]) 194 181 … … 201 188 # error is detected. 202 189 plplot_found="yes" 203 plplot_version=5.9 190 plplot_version=5.9.6 204 191 save_PKG_CONFIG_PATH=$PKG_CONFIG_PATH 205 192 AC_ARG_WITH([plplot], … … 235 222 # copy flags if we have found pc file 236 223 AS_IF([test "$use_plplot_pc" = "yes"], [ 237 YAT_LD_ADD_FLAG([ PLPLOT_LDFLAGS], [`$PKG_CONFIG plplotd-c++ --libs-only-L`])224 YAT_LD_ADD_FLAG([LDFLAGS], [`$PKG_CONFIG plplotd-c++ --libs-only-L`]) 238 225 PLPLOT_LIBS="`$PKG_CONFIG plplotd-c++ --libs-only-l --libs-only-other`" 239 226 ],[ … … 241 228 PLPLOT_LIBS="-lplplotcxxd -lplplotd"; 242 229 AS_IF([test -n "$with_plplot" && test "x$with_plplot" != "xyes"], [ 243 YAT_LD_ADD_FLAG([ PLPLOT_LDFLAGS], [-L$with_plplot/lib])230 YAT_LD_ADD_FLAG([LDFLAGS], [-L$with_plplot/lib]) 244 231 ]) 245 232 ]) … … 247 234 # `PREFIX/include/plplot' rather than `PREFIX/include' 248 235 AS_IF([test -n "$with_plplot" && test "x$with_plplot" != "xyes"], [ 249 YAT_CPP_ADD_FLAG([ PLPLOT_CPPFLAGS], [-I$with_plplot/include])236 YAT_CPP_ADD_FLAG([CPPFLAGS], [-I$with_plplot/include]) 250 237 ]) 251 238 ]) 252 239 253 240 AS_IF([test "x$plplot_found" = "xyes"], [ 254 save_CPPFLAGS=$CPPFLAGS255 CPPFLAGS="$PLPLOT_CPPFLAGS $CPPFLAGS"256 241 AC_CHECK_HEADER([plplot/plstream.h], [], [plplot_found="noheader"]) 257 CPPFLAGS=$save_CPPFLAGS258 242 ]) 259 243 … … 264 248 AC_MSG_RESULT([yes]) 265 249 ],[ 266 AC_MSG_RESULT([`$PKG_CONFIG --modversion= plplotd-c++`]) 250 have_plplot_version=`$PKG_CONFIG --modversion plplotd-c++` 251 AC_MSG_RESULT([$have_plplot_version]) 267 252 plplot_found="old" 268 253 ]) … … 270 255 271 256 AS_IF([test "x$plplot_found" = "xyes"], [ 272 save_CPPFLAGS=$CPPFLAGS273 CPPFLAGS="$PLPLOT_CPPFLAGS $CPPFLAGS"274 save_LDFLAGS=$LDFLAGS275 LDFLAGS="$PLPLOT_LDFLAGS $LDFLAGS"276 257 save_LIBS=$LIBS 277 258 LIBS="$PLPLOT_LIBS $LIBS" … … 286 267 [AC_MSG_RESULT([no]) 287 268 plplot_found=nolib;]) 288 CPPFLAGS=$save_CPPFLAGS289 LDFLAGS=$save_LDFLAGS290 269 LIBS=$save_LIBS 291 270 ]) 292 271 # restore variable 293 272 export PKG_CONFIG_PATH=$save_PKG_CONFIG_PATH 294 AC_SUBST(PLPLOT_CPPFLAGS)295 AC_SUBST(PLPLOT_LDFLAGS)296 273 AC_SUBST(PLPLOT_LIBS) 297 274 … … 319 296 320 297 # Restore FLAGS 321 APR_RESTORE_THE_ENVIRONMENT([CPPFLAGS], [DEFAULT_]) 322 APR_RESTORE_THE_ENVIRONMENT([CXXFLAGS], [DEFAULT_]) 298 APR_RESTORE_THE_ENVIRONMENT([CPPFLAGS], [SVNDIGEST_]) 299 APR_RESTORE_THE_ENVIRONMENT([CXXFLAGS], [SVNDIGEST_]) 300 APR_RESTORE_THE_ENVIRONMENT([LDFLAGS], [SVNDIGEST_]) 323 301 324 302 AC_CONFIG_FILES([Makefile … … 340 318 341 319 if (test "$wc_found" = "yes"); then 342 if test x$HELP2MAN = xno; then 320 AC_MSG_CHECKING([help2man]) 321 # redirecting potential error msg to log file 322 AS_IF([help2man --version >/dev/null 2>&AS_MESSAGE_LOG_FD], 323 [AC_MSG_RESULT([yes])], 324 [AC_MSG_RESULT([no]) 343 325 AC_MSG_WARN(m4_text_wrap(m4_normalize([ 344 326 `help2man' is missing on your system. You will not be … … 348 330 ]),[ ], 349 331 [ ], 79)) 350 fi332 ]) 351 333 # svnversion is required when building from svn wc 352 if (test " $svnversion" = "no"); then334 if (test "x$SVNVERSION" = "xno"); then 353 335 all_reqs_ok="false"; 354 336 AC_MSG_WARN([dnl … … 427 409 +++++++++++++++++++++++++++++++++++++++++++++++ 428 410 Compiler: $CXX 429 Preprocessor flags: $SD_CPPFLAGS $CPPFLAGS 430 CPPFLAGS: $CPPFLAGS 431 DEFAULT_CPPFLAGS: $DEFAULT_CPPFLAGS 432 APR_CPPFLAGS: $APR_CPPFLAGS 433 SVN_CPPFLAGS: $SVN_CPPFLAGS 434 PLPLOT_CPPFLAGS: $PLPLOT_CPPFLAGS 411 Preprocessor flags: 412 CPPFLAGS: $CPPFLAGS 413 SVNDIGEST_CPPFLAGS: $SVNDIGEST_CPPFLAGS 435 414 C++ flags: 436 CXXFLAGS: $CXXFLAGS437 DEFAULT_CXXFLAGS: $DEFAULT_CXXFLAGS415 CXXFLAGS: $CXXFLAGS 416 SVNDIGEST_CXXFLAGS: $SVNDIGEST_CXXFLAGS 438 417 Linker flags: 439 LDFLAGS: $LDFLAGS 440 APR_LDFLAGS: $APR_LDFLAGS 441 SVN_LDFLAGS: $SVN_LDFLAGS 442 PLPLOT_LDFLAGS: $PLPLOT_LDFLAGS 418 LDFLAGS: $LDFLAGS 419 SVNDIGEST_LDFLAGS: $SVNDIGEST_LDFLAGS 443 420 Libraries: 444 LIBS $LIBS445 APR_LIBS $APR_LIBS446 SVN_LIBS $SVN_LIBS447 PLPLOT_LIBS $PLPLOT_LIBS421 LIBS $LIBS 422 APR_LIBS $APR_LIBS 423 SVN_LIBS $SVN_LIBS 424 PLPLOT_LIBS $PLPLOT_LIBS 448 425 +++++++++++++++++++++++++++++++++++++++++++++++]dnl 449 426 ) -
trunk/lib/Graph.cc
r1126 r1182 43 43 legend_.reserve(10); 44 44 // we use color map 0 position 0 for background color 45 if (format=="png") 46 pls_.scolbg(255,255,255); 47 else 48 pls_.scolbga(255,255,255,0); 45 pls_.scolbga(255,255,255,0); 49 46 pls_.setopt("geometry", "600x500"); 50 47 pls_.init(); -
trunk/lib/Makefile.am
r1168 r1182 25 25 SVN_REVISION = `$(SVNVERSION) $(top_srcdir)` 26 26 27 AM_CPPFLAGS = -I$(top_srcdir) $(DEFAULT_CPPFLAGS) \ 28 $(APR_CPPFLAGS) $(SVN_CPPFLAGS) $(PLPLOT_CPPFLAGS) 29 AM_CXXFLAGS = $(DEFAULT_CXXFLAGS) 27 AM_CPPFLAGS = -I$(top_srcdir) $(SVNDIGEST_CPPFLAGS) 28 AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS) 30 29 31 30 noinst_LIBRARIES = libsvndigest.a -
trunk/lib/css.cc
r1090 r1182 38 38 << "Copyright (C) 2006 Peter Johansson\n" 39 39 << "Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson\n" 40 << "Copyright (C) 2009 Peter Johansson\n"40 << "Copyright (C) 2009, 2010 Peter Johansson\n" 41 41 << "\nThis file is part of svndigest, " 42 42 << "http://dev.thep.lu.se/svndigest\n\n" -
trunk/m4/apache_LICENSE-2.0.txt
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/m4/ax_cxx_check_flag.m4
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/m4/ax_cxxcpp_check_flag.m4
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/m4/ax_ld_check_flag.m4
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/m4/find_apr.m4
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/m4/pkg.m4
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/m4/yat_add_flag.m4
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/m4/yat_svn_release.m4
r874 r1182 1 ## $Id: yat_svn_release.m4 2 116 2009-11-22 04:33:23Z peter $1 ## $Id: yat_svn_release.m4 2301 2010-07-24 01:12:27Z peter $ 2 2 3 # serial 13 # serial 3 (yat 0.7) 4 4 5 5 # SYNOPSIS … … 18 18 m4_define([yat_svn_release_copyright], [ 19 19 # 20 # Copyright (C) 2009 Peter Johansson20 # Copyright (C) 2009, 2010 Peter Johansson 21 21 # 22 22 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 42 42 AC_REQUIRE([AC_PROG_EGREP]) 43 43 AC_CHECK_PROGS([MD5], [md5sum gmd5sum md5 md5deep], [no]) 44 m4_pushdef([YAT_OUTPUTFILE], [m aintainer.am])44 m4_pushdef([YAT_OUTPUTFILE], [m4_default([$1], [maintainer.am])]) 45 45 46 AX_AC_PRINT_TO_FILE( [maintainer.am],46 AX_AC_PRINT_TO_FILE(YAT_OUTPUTFILE, 47 47 [# ]YAT_OUTPUTFILE[ generated by autoconf from $0 48 48 ]yat_svn_release_copyright[ … … 73 73 *\"\$\$today\"*);; \\ 74 74 *) \\ 75 echo \"NEWS: release date incorrect; expected '\$\$ date'\" 1>&2;\\75 echo \"NEWS: release date incorrect; expected '\$\$today'\" 1>&2;\\ 76 76 exit 1;; \\ 77 77 esac … … 113 113 \$(MD5) \$\$a > \$\$a.MD5; \\ 114 114 done; 115 @test -z \"\$(RELEASE_HOOK)\" || \$(MAKE) \$(AM_MAKEFLAGS) \$(RELEASE_HOOK) 115 116 ]) 116 117 m4_popdef([YAT_OUTPUTFILE]) -
trunk/test/Makefile.am
r1173 r1182 28 28 EXTRA_PROGRAMS = cache_partial.test color.test \ 29 29 config.test copyright.test date.test \ 30 htmlstream.test \30 graph_test htmlstream.test \ 31 31 parser.test stats.test svn_diff.test trac.test utility.test 32 32 … … 60 60 $(top_builddir)/yat/libyat.a \ 61 61 $(SVN_LIBS) $(APR_LIBS) $(PLPLOT_LIBS) 62 AM_LDFLAGS = $( PLPLOT_LDFLAGS) $(APR_LDFLAGS) $(SVN_LDFLAGS)62 AM_LDFLAGS = $(SVNDIGEST_LDFLAGS) 63 63 64 AM_CPPFLAGS = -I$(top_srcdir) $(APR_CPPFLAGS) $(SVN_CPPFLAGS) \ 65 $(DEFAULT_CPPFLAGS) $(PLPLOT_CPPFLAGS) 66 AM_CXXFLAGS = $(DEFAULT_CXXFLAGS) 64 AM_CPPFLAGS = -I$(top_srcdir) $(SVNDIGEST_CPPFLAGS) 65 AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS) 67 66 68 67 libsvndigesttest_a_SOURCES = Suite.cc -
trunk/test/Suite.cc
r1162 r1182 56 56 if (!have_test_repo) { 57 57 out() << "Skipping test because test repository is not available\n"; 58 ::exit (77);58 exit (EXIT_SKIP); 59 59 } 60 60 update_test_wc(); -
trunk/test/Suite.h
r1162 r1182 6 6 /* 7 7 Copyright (C) 2008 Jari Häkkinen, Peter Johansson 8 Copyright (C) 2009 Peter Johansson8 Copyright (C) 2009, 2010 Peter Johansson 9 9 10 10 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 23 23 along with svndigest. If not, see <http://www.gnu.org/licenses/>. 24 24 */ 25 26 // used to tell automake that test should be skipped 27 #define EXIT_SKIP 77 25 28 26 29 #include "environment.h" -
trunk/test/repo/db/current
r1117 r1182 1 69 2v41 70 2z 4
Note: See TracChangeset
for help on using the changeset viewer.