[Bug 271200] sysutils/synergy Failed to open /usr/share/X11/xkb/rules/evdev.xml because wrong directory hardcoding.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 May 2023 13:42:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271200

            Bug ID: 271200
           Summary: sysutils/synergy Failed to open
                    /usr/share/X11/xkb/rules/evdev.xml because wrong
                    directory hardcoding.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: koinec@yahoo.co.jp
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org
 Attachment #241926 text/plain
         mime type:

Created attachment 241926
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241926&action=edit
patch-src_lib_synergy_unix_AppUtilUnix.cpp

Hello.

I found an issue where the xkb evdev.xml rules file's directory hardcoded in
the sysutils/synergy 1.14.5.14.3 source code is for Linux, so the following
error 
messages is keeping logged in the /var/log/messages.

Apr 16 11:06:39 localhost Synergy[1.14.5]: - [2023-04-16T11:06:39] WARNING:
Failed to open /usr/share/X11/xkb/rules/evdev.xml
Apr 16 11:06:39 localhost Synergy[1.14.5]: - [2023-04-16T11:06:39] WARNING:
Language "jp" is unknown
Apr 16 11:06:39 localhost Synergy[1.14.5]: - [2023-04-16T11:06:39] WARNING:
Failed to convert layout lang code! Code: "jp"

To fix this issue, I create a patch file for the sysutils/synergy port.

Please merge into the current port tree if possible.

(How to apply)
  1. # mkdir -p /usr/ports/sysutils/synergy/files
  2. Store the attached patch file
(patch-src_lib_synergys_unix_AppUtilUnix.cpp) in the
/usr/ports/sysutils/synergy/files directory.
  3. make & install port.

Best regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.