aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/barrier.scm
blob: be0e52349b1276bcab14f482492216059f78aa07 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2022 Mathieu Othacehe <othacehe@gnu.org>
;;; Copyright © 2023 Simon Tournier <zimon.toutoune@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages barrier)
  #:use-module (guix build-system cmake)
  #:use-module (guix utils)
  #:use-module (guix gexp)
  #:use-module (guix git-download)
  #:use-module (guix download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (gnu packages avahi)
  #:use-module (gnu packages check)
  #:use-module (gnu packages cpp)
  #:use-module (gnu packages curl)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages qt)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages xorg))

(define-public barrier
  (package
    (name "barrier")
    (version "2.4.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/debauchee/barrier")
             (commit (string-append "v" version))
             (recursive? #t)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "19bwa9qidq2mxv1fkyxxc1xdmv3jx6bj35bkaaw70jzkblnfmlfs"))))
    (build-system cmake-build-system)
    (arguments
     (list
      #:configure-flags
      #~(list "-DBARRIER_USE_EXTERNAL_GTEST=ON")
      #:tests? #f ;; tests require a running x server
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-null
            (lambda _
              (substitute* "src/lib/base/Event.h"
                (("#include \"common/stdmap\\.h\"")
                 "#include \"common/stdmap.h\"\n#include <cstddef>")))))))
    (native-inputs
     (list googletest pkg-config))
    (inputs
     (list avahi curl gulrak-filesystem libx11 libxtst openssl qtbase-5))
    (synopsis "Keyboard Video Mouse switch software")
    (description "@code{Barrier} is software that mimics the functionality of
a KVM switch, which historically would allow you to use a single keyboard and
mouse to control multiple computers by physically turning a dial on the box to
switch the machine you're controlling at any given moment.  Barrier does this
in software, allowing you to tell it which machine to control by moving your
mouse to the edge of the screen, or by using a keypress to switch focus to a
different system.")
    (home-page "https://github.com/debauchee/barrier")
    (license license:gpl2)))
rted-by: Felix Lechner <felix.lechner@lease-up.com> Change-Id: I2b2304aaf96582bca81d3f20a5d5a60c3daff68d John Kehayias 2024-02-28gnu: knot: Update to 3.3.4....* gnu/packages/dns.scm (knot): Update to 3.3.4. Change-Id: I5ea3bdd8060da8c32c404473197e02bcb3018d7b John Kehayias 2024-02-28gnu: unbound: Update to 1.19.1 [security fixes]....Fixes CVE-2023-50387 and CVE-2023-50868 * gnu/packages/dns.scm (unbound): Update to 1.19.1. Change-Id: I25f87ce60c87d1ed9dfbb41983039440fb396191 Reported-by: Felix Lechner <felix.lechner@lease-up.com> Change-Id: If6bb9b782d775dfacbc6d4c6dedc3e6cfeb2b6b3 John Kehayias 2024-02-28gnu: dnsmasq: Update to 2.90 [security fixes]....Fixes CVE 2023-50387 and CVE 2023-50868. * gnu/packages/dns.scm (dnsmasq): Update to 2.90. Change-Id: Id814dd2a562fe3c90673b98f7e0d6f3571988a90 Reported-by: Felix Lechner <felix.lechner@lease-up.com> Change-Id: I191a62d62f202c65d7063eed0368affc115d82ca John Kehayias 2023-11-19gnu: knot: Update to 3.3.2....* gnu/packages/dns.scm (knot): Update to 3.3.2. Change-Id: Ic4909301027c75d269774fa9c52562933283f46c Tobias Geerinckx-Rice 2023-09-10gnu: knot: Update to 3.3.1....* gnu/packages/dns.scm (knot): Update to 3.3.1. Tobias Geerinckx-Rice