guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Update synergy to 1.11.1.


From: guix-commits
Subject: branch master updated: gnu: Update synergy to 1.11.1.
Date: Fri, 03 Jul 2020 15:15:39 -0400

This is an automated email from the git hooks/post-receive script.

bavier pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2ca4ae2  gnu: Update synergy to 1.11.1.
2ca4ae2 is described below

commit 2ca4ae2993e20a1415fa25acf8fd6b993ee48c18
Author: Eric Bavier <bavier@member.fsf.org>
AuthorDate: Fri Jul 3 14:05:18 2020 -0500

    gnu: Update synergy to 1.11.1.
    
    * gnu/packages/synergy.scm (synergy): Update to 1.11.1.
    [arguments]: Add "patch-desktop" phase.
    [native-inputs]: New field.
    [inputs]: Remove unused "xinput" input.
---
 gnu/packages/synergy.scm | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/synergy.scm b/gnu/packages/synergy.scm
index 739ea3b..4db1552 100644
--- a/gnu/packages/synergy.scm
+++ b/gnu/packages/synergy.scm
@@ -37,17 +37,17 @@
 (define-public synergy
   (package
     (name "synergy")
-    (version "1.11.0")
+    (version "1.11.1")
     (source
      (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/symless/synergy-core.git";)
-            (commit (string-append version "-stable"))))
+            (commit (string-append "v" version "-stable"))))
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "1jk60xw4h6s5crha89wk4y8rrf1f3bixgh5mzh3cq3xyrkba41gh"))
+        "0dn0h3mdqy0mbg4yyhsh4rhvvsssqlknnln3naplc97my10lk2a0"))
       (modules '((guix build utils)))
       (snippet
        ;; Remove unnecessary bundled source and binaries
@@ -65,7 +65,15 @@
                      (string-append (assoc-ref inputs "avahi")
                                     "/include/avahi-compat-libdns_sd:"
                                     (or (getenv "CPLUS_INCLUDE_PATH") "")))
-             #t)))))
+             #t))
+         (add-after 'install 'patch-desktop
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (substitute* (string-append out 
"/share/applications/synergy.desktop")
+                 (("/usr") out))
+               #t))))))
+    (native-inputs
+     `(("qttools" ,qttools)))           ; for Qt5LinguistTools
     (inputs
      `(("avahi" ,avahi)
        ("python"  ,python-wrapper)
@@ -74,7 +82,6 @@
        ("libxi"   ,libxi)
        ("libx11"  ,libx11)
        ("libxtst" ,libxtst)
-       ("xinput"  ,xinput)
        ("qtbase" ,qtbase)))
     (home-page "https://symless.com/synergy";)
     (synopsis "Mouse and keyboard sharing utility")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]