![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package xvkbd checked in at Sun Jun 3 22:10:41 CEST 2007. -------- --- xvkbd/xvkbd.changes 2006-09-11 12:27:35.000000000 +0200 +++ /mounts/work_src_done/STABLE/xvkbd/xvkbd.changes 2007-06-01 13:37:48.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Jun 1 12:26:58 CEST 2007 - dkukawka@suse.de + +- added xaw3d-devel to BuildRequires +- added patch: + - xvkbd-2.8-fix-compilerwarnings.diff: to avoid warnings with + warn_unused_result + +------------------------------------------------------------------- New: ---- xvkbd-2.8-fix-compilerwarnings.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xvkbd.spec ++++++ --- /var/tmp/diff_new_pack.s29736/_old 2007-06-03 22:10:33.000000000 +0200 +++ /var/tmp/diff_new_pack.s29736/_new 2007-06-03 22:10:33.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package xvkbd (Version 2.8) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 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. # @@ -11,18 +11,19 @@ # norootforbuild Name: xvkbd -BuildRequires: update-desktop-files xaw3d xorg-x11-devel +BuildRequires: update-desktop-files xaw3d xaw3d-devel xorg-x11-devel Summary: Virtual Keyboard for the X Window System Version: 2.8 -Release: 1 -License: GPL +Release: 52 +License: GNU General Public License (GPL) Group: System/X11/Utilities BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://homepage3.nifty.com/tsato/xvkbd/ Source: %{name}-%{version}.tar.bz2 Source1: xvkbd.desktop Source2: xvkbd.png -Patch: %{name}-2.7a-compilerwarnings.diff +Patch0: %{name}-2.7a-compilerwarnings.diff +Patch1: %{name}-2.8-fix-compilerwarnings.diff %description Xvkbd is a virtual (graphical) keyboard program for the X Window System @@ -37,7 +38,8 @@ %prep %setup -q -%patch +%patch0 +%patch1 %build xmkmf -a @@ -65,7 +67,12 @@ %{_datadir}/pixmaps/*.png %doc README -%changelog -n xvkbd +%changelog +* Fri Jun 01 2007 - dkukawka@suse.de +- added xaw3d-devel to BuildRequires +- added patch: + - xvkbd-2.8-fix-compilerwarnings.diff: to avoid warnings with + warn_unused_result * Mon Sep 11 2006 - tpatzig@suse.de - update to version 2.8 which o fix some bugs ++++++ xvkbd-2.8-fix-compilerwarnings.diff ++++++ --- xvkbd.c 2007-06-01 13:31:17.000000000 +0200 +++ xvkbd.c 2007-06-01 13:31:06.000000000 +0200 @@ -1757,7 +1757,9 @@ Widget form; if (strcmp(key, "man") == 0) { - if (!appres.secure) system(appres.show_manual_command); + if (!appres.secure) { + if (system(appres.show_manual_command) == -1) fprintf(stderr, "Error call: %s\n", appres.show_manual_command); + } } else if (strcmp(key, "about") == 0) { if (about_panel == None) { about_panel = XtVaCreatePopupShell("about_panel", transientShellWidgetClass, @@ -1958,7 +1960,9 @@ if (appres.debug) fprintf(stderr, "Assigned string: %s\n", value); if (value[0] == '!') { if (appres.debug) fprintf(stderr, "Launching: %s\n", value + 1); - if (!appres.secure) system(value + 1); + if (!appres.secure) { + if (system(value + 1) == -1) fprintf(stderr, "Could not Launch: %s\n", value + 1); + } } else { if (value[0] == '\\') value = value + 1; if (appres.debug) fprintf(stderr, "Sending: %s\n", value); @@ -2122,9 +2126,13 @@ if ((cur_shift & ControlMask) && (cur_shift & alt_mask)) { if (strstr(XServerVendor(dpy), "XFree86") != NULL) { if (strcmp(key1, "KP_Add") == 0) { - if (!appres.secure) system("xvidtune -next"); + if (!appres.secure) { + if (system("xvidtune -next") == -1) fprintf(stderr, "Error call system(xvidtune -next)\n"); + } } else if (strcmp(key1, "KP_Subtract") == 0) { - if (!appres.secure) system("xvidtune -prev"); + if (!appres.secure) { + if (system("xvidtune -prev") == -1) fprintf(stderr, "Error call system(xvidtune -prev)\n"); + } } } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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