Hello community, here is the log from the commit of package xvkbd for openSUSE:Factory checked in at 2019-10-16 09:12:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xvkbd (Old) and /work/SRC/openSUSE:Factory/.xvkbd.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xvkbd" Wed Oct 16 09:12:37 2019 rev:27 rq:735461 version:4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/xvkbd/xvkbd.changes 2018-12-04 20:56:09.680730468 +0100 +++ /work/SRC/openSUSE:Factory/.xvkbd.new.2352/xvkbd.changes 2019-10-16 09:12:41.747868001 +0200 @@ -1,0 +2,29 @@ +Sat Oct 5 22:27:31 UTC 2019 - Asterios Dramis <[email protected]> + +- Update to version 4.0: + * Improvements related to Word Completion: + + English word list with frequency information will be + installed with xvkbd, which was derived from: + https://en.wiktionary.org/wiki/Wiktionary:Frequency_lists#Project_Gutenberg + + xvkbd can now "learn" the recently used words, so that those + words will be listed near top of the completion list + afterword. + + completion panel can be integrated into the xvkbd's main + window, when Integrate Completion Panel? on the Property + panel set on. + + xvkbd will insert blank (' ') automatically between words, + when Insert Blank after Completion? on the Property panel set + on. + * Modifier "Super" (keysym Super_L and Super_R) is now supported, + although it is not on the supplied keyboard layouts. + Modifier "Super" can be expressed as "\W" in -text option. + * Modifiers did not work correctly before first key is pressed. + This problem is fixed. + * To build, "./configure" may be used instead of "xmkmf". +- Removed support for openSUSE <= 12.1. +- Removed imake build requirement (not needed anymore, autoconf is + used). +- Removed xvkbd.default (was not used anyway). +- Rebased xvkbd-3.0-compilerwarnings.diff to apply cleanly. + +------------------------------------------------------------------- Old: ---- xvkbd-3.9.tar.gz xvkbd.default New: ---- xvkbd-4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xvkbd.spec ++++++ --- /var/tmp/diff_new_pack.NuFtZm/_old 2019-10-16 09:12:42.415866279 +0200 +++ /var/tmp/diff_new_pack.NuFtZm/_new 2019-10-16 09:12:42.419866269 +0200 @@ -1,7 +1,7 @@ # # spec file for package xvkbd # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,33 +17,22 @@ Name: xvkbd -Version: 3.9 +Version: 4.0 Release: 0 Summary: Virtual Keyboard for the X Window System License: GPL-2.0-or-later -Group: System/X11/Utilities URL: http://t-sato.in.coocan.jp/xvkbd/ Source0: http://t-sato.in.coocan.jp/xvkbd/%{name}-%{version}.tar.gz Source1: xvkbd.desktop Source2: xvkbd.png -Source3: xvkbd.default # PATCH-FIX-UPSTREAM xvkbd-3.0-compilerwarnings.diff [email protected] -- Avoid warnings with warn_unused_result Patch0: xvkbd-3.0-compilerwarnings.diff -%if 0%{?suse_version} > 1210 BuildRequires: desktop-file-utils -%else -BuildRequires: update-desktop-files -%endif -%if 0%{?suse_version} > 1210 -BuildRequires: imake BuildRequires: libX11-devel BuildRequires: libXaw-devel BuildRequires: libXmu-devel BuildRequires: libXt-devel BuildRequires: libXtst-devel -%else -BuildRequires: xorg-x11-devel -%endif BuildRequires: xaw3d-devel %description @@ -60,27 +49,23 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/g" xvkbd.c %build -xmkmf -a -make CCOPTIONS="%{optflags}" %{?_smp_mflags} +%configure +make %{?_smp_mflags} %install -%make_install -make DESTDIR=%{buildroot} install.man -%if 0%{?suse_version} > 1210 +install -dm 0755 %{buildroot}%{_datadir}/X11/app-defaults +%make_install appdefaultdir=%{buildroot}%{_datadir}/X11/app-defaults datarootdir=%{buildroot}%{_datadir} desktop-file-install %{SOURCE1} install -Dpm 0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/xvkbd.png -%else -%suse_update_desktop_file -i %{name} -%endif -install -Dpm 0644 %{SOURCE3} %{buildroot}%{appdefdir}/xvkbd.default %files -%doc README +%doc ChangeLog README %license COPYING -%{_mandir}/man1/xvkbd.1x%{ext_man} +%{_mandir}/man1/xvkbd.1%{?ext_man} %{_bindir}/xvkbd %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/xvkbd.png +%{_datadir}/xvkbd/ %dir %{_datadir}/X11/app-defaults/ %{_datadir}/X11/app-defaults/* ++++++ xvkbd-3.0-compilerwarnings.diff ++++++ --- /var/tmp/diff_new_pack.NuFtZm/_old 2019-10-16 09:12:42.435866228 +0200 +++ /var/tmp/diff_new_pack.NuFtZm/_new 2019-10-16 09:12:42.435866228 +0200 @@ -1,29 +1,12 @@ -Index: xvkbd-3.8/xvkbd.c +--- + xvkbd.c | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +Index: xvkbd-4.0/xvkbd.c =================================================================== ---- xvkbd-3.8.orig/xvkbd.c -+++ xvkbd-3.8/xvkbd.c -@@ -482,7 +482,7 @@ static Window focused_subwindow = None; - static Pixmap xvkbd_pixmap = None; - - static int AddKeysym(KeySym keysym, Boolean top); /* forward */ --static void SendString(const unsigned char *str); -+static void SendString(const char *str); - static void MakeKeyboard(Boolean remake); - static void MakeKeypad(Widget form, Widget from_vert, Widget from_horiz); - static void MakeSunFunctionKey(Widget form, Widget from_vert, Widget from_horiz); -@@ -1502,9 +1502,9 @@ static void PopupCompletionPanel(void) - */ - static void KeyPressed(Widget w, char *key, char *data); - --static void SendString(const unsigned char *str) -+static void SendString(const char *str) - { -- const unsigned char *cp, *cp2; /* I remember "unsigned" might be required for some systems */ -+ const char *cp, *cp2; /* I remember "unsigned" might be required for some systems */ - char key[50]; - int len; - int val; -@@ -2333,7 +2333,9 @@ static void MenuSelected(Widget w, char +--- xvkbd-4.0.orig/xvkbd.c ++++ xvkbd-4.0/xvkbd.c +@@ -2578,7 +2578,9 @@ static void MenuSelected(Widget w, char Widget form; if (strcmp(key, "man") == 0) { @@ -34,18 +17,18 @@ } else if (strcmp(key, "about") == 0) { if (about_panel == None) { about_panel = XtVaCreatePopupShell("about_panel", transientShellWidgetClass, -@@ -2526,7 +2528,9 @@ static void KeyPressed(Widget w, char *k - if (appres.debug) fprintf(stderr, "Assigned string: %s\n", value); +@@ -2776,7 +2778,9 @@ static void KeyPressed(Widget w, char *k + 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.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); -@@ -2696,9 +2700,13 @@ static void KeyPressed(Widget w, char *k + if (appres.debug) fprintf(stderr, " Sending: %s\n", value); +@@ -2956,9 +2960,13 @@ static void KeyPressed(Widget w, char *k if ((cur_shift & ControlMask) && (cur_shift & alt_mask)) { if (strstr(XServerVendor(dpy), "XFree86") != NULL) { if (strcmp(key1, "KP_Add") == 0) { ++++++ xvkbd-3.9.tar.gz -> xvkbd-4.0.tar.gz ++++++ ++++ 51046 lines of diff (skipped)
