Hello community, here is the log from the commit of package TeX-Guy checked in at Sat Jan 12 03:30:33 CET 2008. -------- --- TeX-Guy/TeX-Guy.changes 2007-04-27 20:13:47.000000000 +0200 +++ /mounts/work_src_done/STABLE/TeX-Guy/TeX-Guy.changes 2008-01-10 17:16:31.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 10 17:13:34 CET 2008 - mfabian@suse.de + +- Bugzilla #352478: remove uninitialized and unused variable. +- use find_lang macro + +------------------------------------------------------------------- New: ---- bugzilla-352478-variable-not-initialized.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ TeX-Guy.spec ++++++ --- /var/tmp/diff_new_pack.nq9169/_old 2008-01-12 03:27:44.000000000 +0100 +++ /var/tmp/diff_new_pack.nq9169/_new 2008-01-12 03:27:44.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package TeX-Guy (Version 1.3.1) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,17 +12,18 @@ Name: TeX-Guy BuildRequires: VFlib3-devel gtk-devel openmotif openmotif-devel t1lib-devel xorg-x11 -License: GNU General Public License (GPL) +License: GPL v2 or later Group: Productivity/Publishing/TeX/Utilities -Autoreqprov: on +AutoReqProv: on Provides: locale(texlive:ja) Version: 1.3.1 -Release: 15 -URL: http://www-masu.ist.osaka-u.ac.jp/~kakugawa/VFlib/ +Release: 97 +Url: http://www-masu.ist.osaka-u.ac.jp/~kakugawa/VFlib/ Source0: http://www-masu.ist.osaka-u.ac.jp/~kakugawa/download/TypeHack/TeX-Guy-1.3.1.... Patch0: conflicting-types-for-on_exit.patch Patch1: fix-build.patch Patch2: TeX-Guy-ppc64.diff +Patch3: bugzilla-352478-variable-not-initialized.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: DVI Interpreter Library and Utilities for Displaying and Printing @@ -66,6 +67,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build rm -f config.cache @@ -89,11 +91,11 @@ mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/`dirname $i` cp $i $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/`dirname $i` done +%find_lang xgdvi --all-name %clean -#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; -%files +%files -f xgdvi.lang %defattr(-, root, root) %doc %{_defaultdocdir}/%{name} /usr/bin/* @@ -102,7 +104,6 @@ /usr/share/xgdvi/* %dir /usr/share/DVIlib2 /usr/share/DVIlib2/* -/usr/share/locale/*/LC_MESSAGES/* %files -n TeX-Guy-devel %defattr(-, root, root) @@ -111,6 +112,9 @@ %{_libdir}/*a %changelog +* Thu Jan 10 2008 - mfabian@suse.de +- Bugzilla #352478: remove uninitialized and unused variable. +- use find_lang macro * Fri Apr 27 2007 - mfabian@suse.de - replace "Provides: locale(tetex:ja)" with "Provides: locale(texlive:ja)". ++++++ bugzilla-352478-variable-not-initialized.patch ++++++ --- TeX-Guy-1.3.1/spwg-1.2/spwg.c~ 2003-02-07 07:03:09.000000000 +0100 +++ TeX-Guy-1.3.1/spwg-1.2/spwg.c 2008-01-10 15:18:40.000000000 +0100 @@ -280,8 +280,6 @@ gint event_key_press(GtkWidget *w, GdkEventKey *ev) { - int opage; - switch (ev->keyval){ default: break; @@ -295,10 +293,8 @@ page = (1 < page) ? (page - 1) : page; break; } - if (page != opage){ - ui_cmd = CMD_DRAW_PAGE; - draw_page(); - } + ui_cmd = CMD_DRAW_PAGE; + draw_page(); return TRUE; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org