2014-09-29 05:30:36 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2020-01-17 23:27:38 +00:00
|
|
|
;;; Copyright © 2014, 2015, 2016, 2020 Eric Bavier <bavier@posteo.net>
|
2016-05-27 11:56:49 +00:00
|
|
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
2017-04-26 05:02:27 +00:00
|
|
|
;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
|
2019-01-25 10:20:51 +00:00
|
|
|
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
|
2014-09-29 05:30:36 +00:00
|
|
|
;;;
|
|
|
|
;;; 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 synergy)
|
|
|
|
#:use-module (guix packages)
|
2015-06-28 16:32:17 +00:00
|
|
|
#:use-module ((guix licenses) #:select (gpl2))
|
2019-01-25 10:20:51 +00:00
|
|
|
#:use-module (guix git-download)
|
2014-09-29 05:30:36 +00:00
|
|
|
#:use-module (guix build-system cmake)
|
|
|
|
#:use-module (gnu packages)
|
2019-01-25 10:20:51 +00:00
|
|
|
#:use-module (gnu packages avahi)
|
2014-09-29 05:30:36 +00:00
|
|
|
#:use-module (gnu packages curl)
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
#:use-module (gnu packages compression)
|
2014-09-29 05:30:36 +00:00
|
|
|
#:use-module (gnu packages python)
|
2019-01-25 10:20:51 +00:00
|
|
|
#:use-module (gnu packages qt)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 16:27:24 +00:00
|
|
|
#:use-module (gnu packages tls)
|
2014-09-29 05:30:36 +00:00
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
#:use-module (srfi srfi-26))
|
|
|
|
|
|
|
|
(define-public synergy
|
|
|
|
(package
|
|
|
|
(name "synergy")
|
2020-01-17 23:27:38 +00:00
|
|
|
(version "1.11.0")
|
2014-09-29 05:30:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
2019-01-25 10:20:51 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/symless/synergy-core.git")
|
2020-01-17 23:27:38 +00:00
|
|
|
(commit (string-append version "-stable"))))
|
2019-01-25 10:20:51 +00:00
|
|
|
(file-name (git-file-name name version))
|
2014-09-29 05:30:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2020-01-17 23:27:38 +00:00
|
|
|
"1jk60xw4h6s5crha89wk4y8rrf1f3bixgh5mzh3cq3xyrkba41gh"))
|
2015-06-28 16:32:17 +00:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
2019-01-25 10:20:51 +00:00
|
|
|
;; Remove unnecessary bundled source and binaries
|
2017-11-10 14:16:54 +00:00
|
|
|
'(begin
|
2019-01-25 10:20:51 +00:00
|
|
|
(delete-file-recursively "ext/openssl")
|
2017-11-10 14:16:54 +00:00
|
|
|
#t))))
|
2014-09-29 05:30:36 +00:00
|
|
|
(build-system cmake-build-system)
|
2019-01-25 10:20:51 +00:00
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; there is no test target
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-headers
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(setenv "CPLUS_INCLUDE_PATH"
|
|
|
|
(string-append (assoc-ref inputs "avahi")
|
2020-04-03 16:04:38 +00:00
|
|
|
"/include/avahi-compat-libdns_sd:"
|
|
|
|
(or (getenv "CPLUS_INCLUDE_PATH") "")))
|
2019-01-25 10:20:51 +00:00
|
|
|
#t)))))
|
2014-09-29 05:30:36 +00:00
|
|
|
(inputs
|
2019-01-25 10:20:51 +00:00
|
|
|
`(("avahi" ,avahi)
|
|
|
|
("python" ,python-wrapper)
|
2015-06-28 16:32:17 +00:00
|
|
|
("openssl" ,openssl)
|
2014-09-29 05:30:36 +00:00
|
|
|
("curl" ,curl)
|
|
|
|
("libxi" ,libxi)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxtst" ,libxtst)
|
2019-01-25 10:20:51 +00:00
|
|
|
("xinput" ,xinput)
|
|
|
|
("qtbase" ,qtbase)))
|
2017-11-10 14:16:54 +00:00
|
|
|
(home-page "https://symless.com/synergy")
|
2014-09-29 05:30:36 +00:00
|
|
|
(synopsis "Mouse and keyboard sharing utility")
|
|
|
|
(description
|
2017-11-10 14:16:54 +00:00
|
|
|
"Synergy brings your computers together in one cohesive experience; it's
|
2014-09-29 05:30:36 +00:00
|
|
|
software for sharing one mouse and keyboard between multiple computers on your
|
|
|
|
desk.")
|
|
|
|
(license gpl2)))
|