Hello community, here is the log from the commit of package global for openSUSE:Factory checked in at 2012-05-29 10:33:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/global (Old) and /work/SRC/openSUSE:Factory/.global.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "global", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/global/global.changes 2012-02-24 12:04:39.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.global.new/global.changes 2012-05-29 10:33:24.000000000 +0200 @@ -1,0 +2,13 @@ +Mon May 28 06:37:21 UTC 2012 - [email protected] + +- update to global-6.2.2 +[BUG FIXED] + - configure: The --disable-gtagscscope option didn't avoid + building gtags-cscope completely. So, ./configure failed when + there is no curses library. Now it avoids building + gtags-cscope completely. + - htags: Imported a patch to fix htags on Windows Vista+ (tmpfile + wants to create its file in the root directory, which is not + writable by normal users). + +------------------------------------------------------------------- Old: ---- global-6.2.1.tar.gz New: ---- global-6.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ global.spec ++++++ --- /var/tmp/diff_new_pack.OnDABK/_old 2012-05-29 10:33:27.000000000 +0200 +++ /var/tmp/diff_new_pack.OnDABK/_new 2012-05-29 10:33:27.000000000 +0200 @@ -17,7 +17,7 @@ Name: global -Version: 6.2.1 +Version: 6.2.2 Release: 0 Summary: Common source code tag system License: GPL-3.0 ++++++ global-6.2.1.tar.gz -> global-6.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/global-6.2.1/NEWS new/global-6.2.2/NEWS --- old/global-6.2.1/NEWS 2012-02-24 03:05:47.000000000 +0100 +++ new/global-6.2.2/NEWS 2012-05-28 08:38:09.000000000 +0200 @@ -5,7 +5,7 @@ | ~~ | ~~| | ~ | | | ~~| for all hackers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, - 2010, 2011 + 2010, 2011, 2012 Tama Communications Corporation This file is free software; as a special exception the author gives @@ -21,6 +21,15 @@ GNU GLOBAL NEWS - User visible changes. At least, you had better search '[INCOMPATIBLE CHANGES]' for each version. +Version 6.2.2 - March 15 2012 + +[BUG FIXED] +o configure: The --disable-gtagscscope option didn't avoid building gtags-cscope + completely. So, ./configure failed when there is no curses library. + Now it avoids building gtags-cscope completely. +o htags: Imported a patch to fix htags on Windows Vista+ (tmpfile wants to create + its file in the root directory, which is not writable by normal users). + Version 6.2.1 - February 24 2012 [CHANGES] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/global-6.2.1/configure new/global-6.2.2/configure --- old/global-6.2.1/configure 2012-02-24 03:06:00.000000000 +0100 +++ new/global-6.2.2/configure 2012-03-15 06:24:08.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for GNU GLOBAL 6.2.1. +# Generated by GNU Autoconf 2.63 for GNU GLOBAL 6.2.2. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. @@ -745,8 +745,8 @@ # Identity of this package. PACKAGE_NAME='GNU GLOBAL' PACKAGE_TARNAME='global' -PACKAGE_VERSION='6.2.1' -PACKAGE_STRING='GNU GLOBAL 6.2.1' +PACKAGE_VERSION='6.2.2' +PACKAGE_STRING='GNU GLOBAL 6.2.2' PACKAGE_BUGREPORT='' ac_unique_file="global/global.c" @@ -799,14 +799,14 @@ INCLUDES POSIX_SORT EXUBERANT_CTAGS -USE_GTAGSCSCOPE_FALSE -USE_GTAGSCSCOPE_TRUE USE_DB185_COMPAT_FALSE USE_DB185_COMPAT_TRUE HAS_CURSES_FALSE HAS_CURSES_TRUE CURSES_INCLUDEDIR CURSES_LIBS +USE_GTAGSCSCOPE_FALSE +USE_GTAGSCSCOPE_TRUE DJGPP_FALSE DJGPP_TRUE LIBOBJS @@ -952,6 +952,7 @@ with_ltdl_include with_ltdl_lib enable_ltdl_install +enable_gtagscscope with_sco with_sunos_curses with_osf1_curses @@ -961,7 +962,6 @@ with_home_etc with_pread_pwrite with_exuberant_ctags -enable_gtagscscope with_posix_sort ' ac_precious_vars='build_alias @@ -1527,7 +1527,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures GNU GLOBAL 6.2.1 to adapt to many kinds of systems. +\`configure' configures GNU GLOBAL 6.2.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1597,7 +1597,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNU GLOBAL 6.2.1:";; + short | recursive ) echo "Configuration of GNU GLOBAL 6.2.2:";; esac cat <<\_ACEOF @@ -1714,7 +1714,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -GNU GLOBAL configure 6.2.1 +GNU GLOBAL configure 6.2.2 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1728,7 +1728,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by GNU GLOBAL $as_me 6.2.1, which was +It was created by GNU GLOBAL $as_me 6.2.2, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -2581,7 +2581,7 @@ # Define the identity of the package. PACKAGE='global' - VERSION='6.2.1' + VERSION='6.2.2' cat >>confdefs.h <<_ACEOF @@ -18769,6 +18769,22 @@ +# Check whether --enable-gtagscscope was given. +if test "${enable_gtagscscope+set}" = set; then + enableval=$enable_gtagscscope; +else + enable_gtagscscope=yes +fi + + if test "$enable_gtagscscope" != no; then + USE_GTAGSCSCOPE_TRUE= + USE_GTAGSCSCOPE_FALSE='#' +else + USE_GTAGSCSCOPE_TRUE='#' + USE_GTAGSCSCOPE_FALSE= +fi + + search_ncurses=true screen_manager="" @@ -19172,7 +19188,7 @@ $as_echo_n "checking for ncurses version... " >&6; } ncurses_version=unknown cat > conftest.$ac_ext <<EOF -#line 19175 "configure" +#line 19191 "configure" #include "confdefs.h" #ifdef RENAMED_NCURSES #include <curses.h> @@ -19224,7 +19240,7 @@ HAS_CURSES_FALSE= fi -if test "$has_curses" = false; then +if test "$has_curses" = false && test "$enable_gtagscscope" = yes; then { { $as_echo "$as_me:$LINENO: error: curses library is required but not found." >&5 $as_echo "$as_me: error: curses library is required but not found." >&2;} { (exit 1); exit 1; }; } @@ -20074,22 +20090,6 @@ fi -# Check whether --enable-gtagscscope was given. -if test "${enable_gtagscscope+set}" = set; then - enableval=$enable_gtagscscope; -else - enable_gtagscscope=yes -fi - - if test "$enable_gtagscscope" != no; then - USE_GTAGSCSCOPE_TRUE= - USE_GTAGSCSCOPE_FALSE='#' -else - USE_GTAGSCSCOPE_TRUE='#' - USE_GTAGSCSCOPE_FALSE= -fi - - cat >>confdefs.h <<_ACEOF #define EXUBERANT_CTAGS "$EXUBERANT_CTAGS" @@ -20313,6 +20313,13 @@ Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${USE_GTAGSCSCOPE_TRUE}" && test -z "${USE_GTAGSCSCOPE_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"USE_GTAGSCSCOPE\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"USE_GTAGSCSCOPE\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${HAS_CURSES_TRUE}" && test -z "${HAS_CURSES_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"HAS_CURSES\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -20327,13 +20334,6 @@ Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi -if test -z "${USE_GTAGSCSCOPE_TRUE}" && test -z "${USE_GTAGSCSCOPE_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_GTAGSCSCOPE\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"USE_GTAGSCSCOPE\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0 @@ -20656,7 +20656,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by GNU GLOBAL $as_me 6.2.1, which was +This file was extended by GNU GLOBAL $as_me 6.2.2, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20719,7 +20719,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -GNU GLOBAL config.status 6.2.1 +GNU GLOBAL config.status 6.2.2 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/global-6.2.1/configure.ac new/global-6.2.2/configure.ac --- old/global-6.2.1/configure.ac 2012-02-24 03:05:47.000000000 +0100 +++ new/global-6.2.2/configure.ac 2012-03-15 06:23:56.000000000 +0100 @@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script. dnl dnl Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2010, -dnl 2011 +dnl 2011, 2012 dnl Tama Communications Corporation dnl dnl This file is part of GNU GLOBAL. @@ -21,7 +21,7 @@ dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see <http://www.gnu.org/licenses/>. dnl -AC_INIT([GNU GLOBAL],[6.2.1]) +AC_INIT([GNU GLOBAL],[6.2.2]) AC_CONFIG_SRCDIR(global/global.c) AC_CONFIG_HEADERS([config.h:config-h.in]) AC_PREREQ(2.59) @@ -114,10 +114,15 @@ AC_CHECK_FUNCS(gettimeofday getrusage) AC_DJGPP +AC_ARG_ENABLE(gtagscscope, +[ --disable-gtagscscope omit gtags-cscope],, +enable_gtagscscope=yes) +AM_CONDITIONAL([USE_GTAGSCSCOPE], [test "$enable_gtagscscope" != no]) + dnl #### begin of gtags-cscope ### AC_CHECK_CURSES AM_CONDITIONAL(HAS_CURSES, test "$has_curses" = true) -if test "$has_curses" = false; then +if test "$has_curses" = false && test "$enable_gtagscscope" = yes; then AC_MSG_ERROR([curses library is required but not found.]) fi @@ -262,11 +267,6 @@ AC_MSG_RESULT([using $EXUBERANT_CTAGS]) fi ]) -AC_ARG_ENABLE(gtagscscope, -[ --disable-gtagscscope omit gtags-cscope],, -enable_gtagscscope=yes) -AM_CONDITIONAL([USE_GTAGSCSCOPE], [test "$enable_gtagscscope" != no]) - AC_DEFINE_UNQUOTED(EXUBERANT_CTAGS, "$EXUBERANT_CTAGS", [Exuberant Ctags program.]) AC_SUBST(EXUBERANT_CTAGS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/global-6.2.1/doc/global.info new/global-6.2.2/doc/global.info --- old/global-6.2.1/doc/global.info 2012-02-24 03:06:51.000000000 +0100 +++ new/global-6.2.2/doc/global.info 2012-03-15 06:24:54.000000000 +0100 @@ -23,7 +23,7 @@ GNU GLOBAL source code tag system ********************************* -This manual documents version 6.2.1 of the GNU GLOBAL source code tag +This manual documents version 6.2.2 of the GNU GLOBAL source code tag system. * Menu: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/global-6.2.1/doc/stamp-vti new/global-6.2.2/doc/stamp-vti --- old/global-6.2.1/doc/stamp-vti 2012-02-24 03:06:51.000000000 +0100 +++ new/global-6.2.2/doc/stamp-vti 2012-03-15 06:24:54.000000000 +0100 @@ -1,4 +1,4 @@ -@set UPDATED 24 February 2012 -@set UPDATED-MONTH February 2012 -@set EDITION 6.2.1 -@set VERSION 6.2.1 +@set UPDATED 15 March 2012 +@set UPDATED-MONTH March 2012 +@set EDITION 6.2.2 +@set VERSION 6.2.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/global-6.2.1/doc/version.texi new/global-6.2.2/doc/version.texi --- old/global-6.2.1/doc/version.texi 2012-02-24 03:06:51.000000000 +0100 +++ new/global-6.2.2/doc/version.texi 2012-03-15 06:24:54.000000000 +0100 @@ -1,4 +1,4 @@ -@set UPDATED 24 February 2012 -@set UPDATED-MONTH February 2012 -@set EDITION 6.2.1 -@set VERSION 6.2.1 +@set UPDATED 15 March 2012 +@set UPDATED-MONTH March 2012 +@set EDITION 6.2.2 +@set VERSION 6.2.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/global-6.2.1/global/global.c new/global-6.2.2/global/global.c --- old/global-6.2.1/global/global.c 2012-02-24 03:05:47.000000000 +0100 +++ new/global-6.2.2/global/global.c 2012-03-15 06:23:56.000000000 +0100 @@ -672,7 +672,7 @@ /* * convert the file-list path into an absolute path. */ - if (file_list && strcmp(file_list, "-") && *file_list != '/') { + if (file_list && strcmp(file_list, "-") && !isabspath(file_list)) { static char buf[MAXPATHLEN]; if (realpath(file_list, buf) == NULL) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/global-6.2.1/htags/htags.c new/global-6.2.2/htags/htags.c --- old/global-6.2.1/htags/htags.c 2012-02-24 03:05:47.000000000 +0100 +++ new/global-6.2.2/htags/htags.c 2012-03-15 06:23:56.000000000 +0100 @@ -906,6 +906,17 @@ * Create anchor stream for anchor_load(). */ anchor_stream = tmpfile(); +#if defined(_WIN32) && !defined(__CYGWIN__) + /* + * tmpfile is created in the root, which user's can't write on Vista+. + * Use _tempnam and open it directly. + */ + if (anchor_stream == NULL) { + char *name = _tempnam(tmpdir, "htags"); + anchor_stream = fopen(name, "w+bD"); + free(name); + } +#endif gp = gfind_open(dbpath, NULL, other_files ? GPATH_BOTH : GPATH_SOURCE); while ((path = gfind_read(gp)) != NULL) { if (gp->type == GPATH_OTHER) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
