Hello community, here is the log from the commit of package pinfo checked in at Wed May 30 01:16:57 CEST 2007. -------- --- pinfo/pinfo.changes 2007-03-29 17:07:08.000000000 +0200 +++ /mounts/work_src_done/STABLE/pinfo/pinfo.changes 2007-05-29 14:43:18.000000000 +0200 @@ -1,0 +2,26 @@ +Tue May 29 14:39:20 CEST 2007 - anosek@suse.cz + +- updated to version 0.6.9 + * Nodes containing a "." are now correctly found + * Non-ASCII man pages are displayed correctly + * Improved the history behavior of the search input line + * Broken tag tables are now automatically fixed + * Don't segfault when a broken regexp is entered + * Fixed a number of segfaults caused by using uninitialized + pointers and off-by-1 errors + * Fixed heap corruption caused by non-ascii chars in info pages + * Fixed a lot of patch searching issues + * Fixed text display on narrow terminals + * Fixed highlighting of searches + * The default pinforc now uses the terminal's default foreground + and background colors. Thanks to Rob Funk for a patch. + * Use libreadline by default; readline version 4 is now required + * Better cooperation between ncurses and readline + * Fixed some memory leaks + * Got rid of tempnam() calls + * Use utf8 in documentation files and fixed typoes +- fixed corrupted unicode characters in status line [#264229] + (ncursesw.patch) +- using %find_lang macro in spec file + +------------------------------------------------------------------- Old: ---- pinfo-0.6.8-nul-strings.patch pinfo-0.6.8.tar.bz2 New: ---- pinfo-0.6.9-ncursesw.patch pinfo-0.6.9-nul-strings.patch pinfo-0.6.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pinfo.spec ++++++ --- /var/tmp/diff_new_pack.E13749/_old 2007-05-30 01:16:19.000000000 +0200 +++ /var/tmp/diff_new_pack.E13749/_new 2007-05-30 01:16:19.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package pinfo (Version 0.6.8) +# spec file for package pinfo (Version 0.6.9) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -15,10 +15,11 @@ License: GNU General Public License (GPL) Group: Productivity/Publishing/Texinfo Autoreqprov: on -Version: 0.6.8 -Release: 44 +Version: 0.6.9 +Release: 1 Source: %{name}-%{version}.tar.bz2 Patch1: %{name}-%{version}-nul-strings.patch +Patch2: %{name}-%{version}-ncursesw.patch URL: http://dione.cc/~pborys/software/pinfo/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Lynx-style Info Browser @@ -36,6 +37,7 @@ %prep %setup %patch1 +%patch2 %build %define sysconfdir /etc @@ -50,6 +52,7 @@ %install make DESTDIR=$RPM_BUILD_ROOT/ install +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT @@ -60,16 +63,38 @@ %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%files +%files -f %{name}.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %doc %{_mandir}/*/* %doc %{_infodir}/pinfo.info.gz %config /etc/pinforc %{_prefix}/bin/pinfo -%{_prefix}/share/locale/*/*/* %changelog +* Tue May 29 2007 - anosek@suse.cz +- updated to version 0.6.9 + * Nodes containing a "." are now correctly found + * Non-ASCII man pages are displayed correctly + * Improved the history behavior of the search input line + * Broken tag tables are now automatically fixed + * Don't segfault when a broken regexp is entered + * Fixed a number of segfaults caused by using uninitialized + pointers and off-by-1 errors + * Fixed heap corruption caused by non-ascii chars in info pages + * Fixed a lot of patch searching issues + * Fixed text display on narrow terminals + * Fixed highlighting of searches + * The default pinforc now uses the terminal's default foreground + and background colors. Thanks to Rob Funk for a patch. + * Use libreadline by default; readline version 4 is now required + * Better cooperation between ncurses and readline + * Fixed some memory leaks + * Got rid of tempnam() calls + * Use utf8 in documentation files and fixed typoes +- fixed corrupted unicode characters in status line [#264229] + (ncursesw.patch) +- using %%find_lang macro in spec file * Thu Mar 29 2007 - rguenther@suse.de - add ncurses-devel BuildRequires * Wed Jan 25 2006 - mls@suse.de ++++++ pinfo-0.6.9-ncursesw.patch ++++++ --- configure +++ configure @@ -9904,7 +9904,7 @@ echo "$as_me:$LINENO: result: $curses_location/include/ncurses/ncurses.h" >&5 echo "${ECHO_T}$curses_location/include/ncurses/ncurses.h" >&6 curses_h="ncurses/ncurses.h" - curses_libs="-L$curses_location/lib -lncurses" + curses_libs="-L$curses_location/lib -lncursesw" curses_includes="-I$curses_location/include " stop_searching=true found_curses_h=true @@ -9919,7 +9919,7 @@ echo "$as_me:$LINENO: result: $curses_location/include/ncurses.h" >&5 echo "${ECHO_T}$curses_location/include/ncurses.h" >&6 curses_h="ncurses.h" - curses_libs="-L$curses_location/lib -lncurses" + curses_libs="-L$curses_location/lib -lncursesw" curses_includes="-I$curses_location/include " stop_searching=true found_curses_h=true @@ -9934,7 +9934,7 @@ echo "$as_me:$LINENO: result: $curses_location/include/curses.h" >&5 echo "${ECHO_T}$curses_location/include/curses.h" >&6 curses_h="curses.h" - curses_libs="-L$curses_location/lib -lncurses" + curses_libs="-L$curses_location/lib -lncursesw" curses_includes="-I$curses_location/include " stop_searching=true found_curses_h=true @@ -10014,7 +10014,7 @@ echo "$as_me:$LINENO: result: /usr/local/include/ncurses.h" >&5 echo "${ECHO_T}/usr/local/include/ncurses.h" >&6 curses_h="ncurses.h" - curses_libs="-L/usr/local/lib -lncurses" + curses_libs="-L/usr/local/lib -lncursesw" curses_includes="-I/usr/local/include " stop_searching=true found_curses_h=true @@ -10029,7 +10029,7 @@ echo "$as_me:$LINENO: result: /usr/local/include/ncurses/ncurses.h" >&5 echo "${ECHO_T}/usr/local/include/ncurses/ncurses.h" >&6 curses_h="ncurses/ncurses.h" - curses_libs="-L/usr/local/lib -lncurses" + curses_libs="-L/usr/local/lib -lncursesw" curses_includes="-I/usr/local/include " stop_searching=true found_curses_h=true @@ -10045,7 +10045,7 @@ echo "$as_me:$LINENO: result: /usr/include/ncurses.h" >&5 echo "${ECHO_T}/usr/include/ncurses.h" >&6 curses_h="ncurses.h" - curses_libs="-L/usr/lib -lncurses" + curses_libs="-L/usr/lib -lncursesw" curses_includes="-I/usr/include " stop_searching=true found_curses_h=true @@ -10060,7 +10060,7 @@ echo "$as_me:$LINENO: result: /usr/include/ncurses/ncurses.h" >&5 echo "${ECHO_T}/usr/include/ncurses/ncurses.h" >&6 curses_h="ncurses/ncurses.h" - curses_libs="-L/usr/lib -lncurses" + curses_libs="-L/usr/lib -lncursesw" curses_includes="-I/usr/include " stop_searching=true found_curses_h=true @@ -10076,7 +10076,7 @@ echo "$as_me:$LINENO: result: /usr/local/include/curses.h" >&5 echo "${ECHO_T}/usr/local/include/curses.h" >&6 curses_h="curses.h" - curses_libs="-L/usr/local/lib -lncurses" + curses_libs="-L/usr/local/lib -lncursesw" curses_includes="-I/usr/local/include " stop_searching=true found_curses_h=true @@ -10091,7 +10091,7 @@ echo "$as_me:$LINENO: result: /usr/local/include/curses/curses.h" >&5 echo "${ECHO_T}/usr/local/include/curses/curses.h" >&6 curses_h="curses/curses.h" - curses_libs="-L/usr/local/lib -lncurses" + curses_libs="-L/usr/local/lib -lncursesw" curses_includes="-I/usr/local/include " stop_searching=true found_curses_h=true @@ -10107,7 +10107,7 @@ echo "$as_me:$LINENO: result: /usr/include/curses.h" >&5 echo "${ECHO_T}/usr/include/curses.h" >&6 curses_h="curses.h" - curses_libs="-L/usr/lib -lncurses" + curses_libs="-L/usr/lib -lncursesw" curses_includes="-I/usr/include " stop_searching=true found_curses_h=true @@ -10122,7 +10122,7 @@ echo "$as_me:$LINENO: result: /usr/include/curses/curses.h" >&5 echo "${ECHO_T}/usr/include/curses/curses.h" >&6 curses_h="curses/curses.h" - curses_libs="-L/usr/lib -lncurses" + curses_libs="-L/usr/lib -lncursesw" curses_includes="-I/usr/include " stop_searching=true found_curses_h=true --- macros/curses.m4 +++ macros/curses.m4 @@ -189,13 +189,13 @@ -L$curses_location/lib -lncursesw, -I$curses_location/include ) AC_SEARCH_CURSES_FILE($curses_location/include, ncurses/ncurses.h, - -L$curses_location/lib -lncurses, + -L$curses_location/lib -lncursesw, -I$curses_location/include ) AC_SEARCH_CURSES_FILE($curses_location/include, ncurses.h, - -L$curses_location/lib -lncurses, + -L$curses_location/lib -lncursesw, -I$curses_location/include ) AC_SEARCH_CURSES_FILE($curses_location/include, curses.h, - -L$curses_location/lib -lncurses, + -L$curses_location/lib -lncursesw, -I$curses_location/include ) else @@ -218,32 +218,32 @@ dnl after that, look for normal ncurses AC_SEARCH_CURSES_FILE(/usr/local/include, ncurses.h, - -L/usr/local/lib -lncurses, + -L/usr/local/lib -lncursesw, -I/usr/local/include ) AC_SEARCH_CURSES_FILE(/usr/local/include, ncurses/ncurses.h, - -L/usr/local/lib -lncurses, + -L/usr/local/lib -lncursesw, -I/usr/local/include ) AC_SEARCH_CURSES_FILE(/usr/include, ncurses.h, - -L/usr/lib -lncurses, + -L/usr/lib -lncursesw, -I/usr/include ) AC_SEARCH_CURSES_FILE(/usr/include, ncurses/ncurses.h, - -L/usr/lib -lncurses, + -L/usr/lib -lncursesw, -I/usr/include ) dnl after that, look for curses AC_SEARCH_CURSES_FILE(/usr/local/include, curses.h, - -L/usr/local/lib -lncurses, + -L/usr/local/lib -lncursesw, -I/usr/local/include ) AC_SEARCH_CURSES_FILE(/usr/local/include, curses/curses.h, - -L/usr/local/lib -lncurses, + -L/usr/local/lib -lncursesw, -I/usr/local/include ) AC_SEARCH_CURSES_FILE(/usr/include, curses.h, - -L/usr/lib -lncurses, + -L/usr/lib -lncursesw, -I/usr/include ) AC_SEARCH_CURSES_FILE(/usr/include, curses/curses.h, - -L/usr/lib -lncurses, + -L/usr/lib -lncursesw, -I/usr/include ) fi ++++++ pinfo-0.6.8-nul-strings.patch -> pinfo-0.6.9-nul-strings.patch ++++++ --- pinfo/pinfo-0.6.8-nul-strings.patch 2005-08-17 13:06:28.000000000 +0200 +++ /mounts/work_src_done/STABLE/pinfo/pinfo-0.6.9-nul-strings.patch 2007-05-29 14:14:34.000000000 +0200 @@ -1,29 +1,29 @@ --- src/filehandling_functions.c +++ src/filehandling_functions.c -@@ -237,6 +237,11 @@ - * with empty line. - */ - strcpy (Buf[Lines], "\n"); -+ if (!Buf[Lines][0]) { -+ /* skip those ^@^H[index lines (^@ = NUL) */ -+ xfree(Buf[Lines]); -+ Lines--; -+ } - } - while (Buf[Lines][0] != INFO_TAG); /* repeat until new node mark is found */ +@@ -311,6 +311,11 @@ + i--; + } + } ++ if (!Buf[Lines][0]) { ++ /* skip those ^@^H[index lines (^@ = NUL) */ ++ xfree(Buf[Lines]); ++ Lines--; ++ } + } + while (Buf[Lines][0] != INFO_TAG); /* repeat until new node mark is found */ --- src/video.c +++ src/video.c -@@ -67,6 +67,12 @@ - for (i = pos; (i < lines) && (i < pos + maxy - 2); i++) - { - int tmp = strlen (message[i]) - 1; -+ if (tmp < 0) { -+ fprintf(stderr, -+ "%s:%d: BUG: strlen(message[%d]) == 0; please report!\n", -+ __FILE__, __LINE__, i); -+ tmp = 0; -+ } - message[i][tmp] = 0; - if(tmp>column) - mvaddstr (i + 1 - pos, 0, message[i]+column); +@@ -91,6 +91,12 @@ + if (!message[i]) continue; + + int tmp = strlen(message[i]) - 1; ++ if (tmp < 0) { ++ fprintf(stderr, ++ "%s:%d: BUG: strlen(message[%d]) == 0; please report!\n", ++ __FILE__, __LINE__, i); ++ tmp = 0; ++ } + message[i][tmp] = 0; + if (tmp>column) + mvaddstr(i + 1 - pos, 0, message[i]+column); ++++++ pinfo-0.6.8.tar.bz2 -> pinfo-0.6.9.tar.bz2 ++++++ ++++ 106155 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de