aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;;
;;; 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 printers)
  #:use-module (guix gexp)
  #:use-module (guix packages)
  #:use-module (guix git-download)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system go)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages avahi)
  #:use-module (gnu packages golang-xyz)
  #:use-module (gnu packages libusb)
  #:use-module (gnu packages man)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages qt))

;; This is a module for packages related to printer-like devices, but not
;; related to CUPS.

(define-public ipp-usb
  (package
    (name "ipp-usb")
    (version "0.9.25")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/OpenPrinting/ipp-usb")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "003njvcxi0w97wrs52nm9b0f1d96624hjnv9ywsr1m7p6q7r08mg"))))
    (build-system go-build-system)
    (arguments
     (list
      ;; TODO: The project provides manpages and udev rules, review them and
      ;; install in the next update cycle.
      #:install-source? #f
      #:import-path "github.com/OpenPrinting/ipp-usb"))
    (inputs
     (list avahi libusb))
    (native-inputs
     (list go-github-com-openprinting-goipp
           pkg-config
           ronn))
    (home-page "https://github.com/OpenPrinting/ipp-usb")
    (synopsis "HTTP reverse proxy, backed by the IPP-over-USB connection")
    (description
     "ipp-usb implements an HTTP reverse proxy, backed by the IPP-over-USB
connection to the device. This is because IPP-over-USB implementations which
simply relay a TCP connection to USB do not work.")
    (license license:bsd-2)))

(define-public robocut
  (package
    (name "robocut")
    (version "1.0.11")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/Timmmm/robocut")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0dp9cssyik63yvkk35s51v94a873x751iqg93qzd8dpqkmz5z8gn"))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (replace 'configure
            (lambda _
              (substitute* "Robocut.pro"
                (("/usr/") (string-append #$output "/")))
              (invoke "qmake" (string-append "PREFIX=" #$output)))))))
    (inputs
     (list libusb qtbase-5 qtsvg-5))
    (native-inputs
     (list pkg-config qtbase-5))
    (synopsis "Graphical program to drive plotting cutters")
    (description
     "Robocut is a simple graphical program that allows you to cut graphics
with Graphtec and Sihouette plotting cutters using an SVG file as its input.")
    (home-page "http://robocut.org")
    (license license:gpl3+)))
0.24 with 0.25, rust-copypasta-0.8 with 0.10, rust-crossfont-0.5 with 0.7, rust-dirs-4 with 5, rust-embed-resource-1 with 2, rust-glutin-0.30 with 0.31, rust-notify-5 with 6, rust-serde-yaml-0.8 with 0.9, rust-windows-sys-0.36 with 0.48, rust-winit-0.28 with 0.29. Remove rust-alacritty-config-0.1, rust-alacritty-config-derive-0.1, rust-alacritty-terminal-0.19, rust-fnv-1, rust-wayland-client-0.29, rust-x11-dl-2. [cargo-development-inputs]: Add rust-log-0.4, rust-serde-1, rust-serde-json-1, rust-toml-0.8. Replace rust-clap-complete-3 with 4. [native-inputs]: Add scdoc. Change-Id: Ibc01b79c3b4b0b9cae185e0abfb830b51c641cf9 Efraim Flashner 2024-02-20gnu: rust-windows: Move to (gnu packages crates-windows)....* gnu/packages/crates-io.scm (rust-windows-0.48, rust-windows-0.46, rust-windows-0.44, rust-windows-0.39, rust-windows-0.32, rust-windows-0.9, rust-windows-aarch64-gnullvm-0.52, rust-windows-aarch64-gnullvm-0.48, rust-windows-aarch64-gnullvm-0.42, rust-windows-aarch64-msvc-0.52, rust-windows-aarch64-msvc-0.48, rust-windows-aarch64-msvc-0.42, rust-windows-aarch64-msvc-0.39, rust-windows-aarch64-msvc-0.36, rust-windows-aarch64-msvc-0.32, rust-windows-aarch64-msvc-0.28, rust-windows-bindgen-0.51, rust-windows-i686-gnu-0.52, rust-windows-i686-gnu-0.48, rust-windows-i686-gnu-0.42, rust-windows-i686-gnu-0.36, rust-windows-i686-gnu-0.32, rust-windows-i686-gnu-0.28, rust-windows-i686-msvc-0.52, rust-windows-i686-msvc-0.48, rust-windows-i686-msvc-0.42, rust-windows-i686-msvc-0.39, rust-windows-i686-msvc-0.36, rust-windows-i686-msvc-0.32, rust-windows-i686-msvc-0.28, rust-windows-implement-0.48, rust-windows-implement-0.46, rust-windows-implement-0.44, rust-windows-implement-0.39, rust-windows-implement-0.32, rust-windows-interface-0.48, rust-windows-interface-0.46, rust-windows-interface-0.44, rust-windows-interface-0.39, rust-windows-metadata-0.51, rust-windows-sys-0.52, rust-windows-sys-0.48, rust-windows-sys-0.45, rust-windows-sys-0.42, rust-windows-sys-0.36, rust-windows-sys-0.28, rust-windows-gen-0.9, rust-windows-macros-0.9, rust-windows-targets-0.52, rust-windows-targets-0.48, rust-windows-targets-0.42, rust-windows-targets-0.39, rust-windows-targets-0.32, rust-windows-x86-64-gnu-0.52, rust-windows-x86-64-gnu-0.48, rust-windows-x86-64-gnu-0.42, rust-windows-x86-64-gnu-0.39, rust-windows-x86-64-gnu-0.36, rust-windows-x86-64-gnu-0.32, rust-windows-x86-64-gnu-0.28, rust-windows-x86-64-gnullvm-0.52, rust-windows-x86-64-gnullvm-48, rust-windows-x86-64-gnullvm-0.42, rust-windows-x86-64-msvc-0.52, rust-windows-x86-64-msvc-0.48, rust-windows-x86-64-msvc-0.42, rust-windows-x86-64-msvc-0.39, rust-windows-x86-64-msvc-0.36, rust-windows-x86-64-msvc-0.32, rust-windows-x86-64-msvc-0.28): Move from here ... * gnu/packages/crates-windows.scm: ... to here. Change-Id: I5abaa9402ae75199d4ec26b1e37b3a7293437c93 Efraim Flashner 2024-02-15gnu: go-github-com-mattn-go-shellwords: Move to golang-xyz....* gnu/packages/golang.scm (go-github-com-mattn-go-shellwords): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/terminals.scm: Add (gnu packages golang-xyz) module. Change-Id: Icedf167f4477c6a84fd1b897ca208d6e737efb48 Sharlatan Hellseher 2024-02-14gnu: tilda: Remove version 1.6-alpha....* gnu/packages/terminals.scm (tilda-dbus): Remove variable. tilda@2.0.0 comes with D-Bus support. Change-Id: If9cb43b9c7bd49562e2668c0e3ffab342edbac75 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Suhail 2024-02-14gnu: tilda: Update to 2.0.0....* gnu/packages/terminals.scm (tilda): Update to 2.0.0. [native-inputs]: Remove autoconf. Add autoconf-2.71. Change-Id: I5df92877e38a316555150350c73e2356109e71b2 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Suhail 2024-02-13gnu: go-golang.org-x-sync-errgroup: Move to golang-build....* gnu/packages/golang.scm (go-golang.org-x-sync-errgroup, go-golang.org-x-sync-semaphore): Move from here ... * gnu/packages/golang-build.scm: ... to here. * gnu/packages/check.scm: Add (gnu packages golang-build) module. Change-Id: Ie886c0f44e0a70629e23371b447f5a35006ade21 Sharlatan Hellseher 2024-01-09gnu: msgpack: Deprecate with msgpack-c....* gnu/packages/serialization.scm (msgpack-c): New variable. (msgpack-cxx): New variable. (msgpack): Rename to... (msgpack-3): ... this, and inherit from msgpack-c. * gnu/packages/vim.scm (eovim) [arguments]: Add help-cmake-find-msgpack-c phase. [inputs]: Replace msgpack with msgpack-c. * gnu/packages/terminals.scm (tmate) [inputs]: Replace msgpack with msgpack-3. * gnu/packages/networking.scm (opendht) [propagated-inputs]: Replace msgpack with msgpack-cxx. * gnu/packages/chemistry.scm (mmtf-cpp) [propagated-inputs]: Likewise. Maxim Cournoyer 2023-12-10Merge remote-tracking branch 'origin/master' into rust-team...Change-Id: Ic45f7071abd6a02c2ccad411500e5103c8272ffb Efraim Flashner 2023-11-28gnu: alacritty: Prepare for cross-compiling....* gnu/packages/terminals.scm (alacritty)[arguments]: Adjust the custom 'install phase to use the native 'tic' command and to find the alacritty binary wherever it is located. Change-Id: I3117f41a97bb6a5dd1037544c1a27bc01e924396 Efraim Flashner 2023-12-04gnu: beep: Add phase install-rules....* gnu/packages/terminals.scm (beep): Add phase install-rules. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Nicolas Graves 2023-11-22gnu: tilda: Run guix style on tilda@1.5.4...* gnu/packages/terminals.scm (tilda): Re-indent. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Suhail 2023-11-22gnu: tilda: Fix lint error by updating input list format for v1.5.4...* gnu/packages/terminals.scm (tilda)[native-inputs]: Use updated format. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Suhail 2023-11-22gnu: tilda: Add version 1.6-alpha with D-Bus support...* gnu/packages/terminals.scm (tilda-dbus): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Suhail 2023-11-03gnu: foot: Update to 1.16.2....* gnu/packages/terminals.scm (foot): Update to 1.16.2. [arguments]: Use gexps. Change-Id: I0615f6251a918a572369c05b126853f79e9fca4c Signed-off-by: Christopher Baines <mail@cbaines.net> Jaeme Sifat 2023-11-03gnu: asciinema: Update to 2.4.0....* gnu/packages/terminals.scm (asciinema): Update to 2.4.0. Change-Id: I3e0fc7cc16aaebdf8346bb715f07021a5d568163 Signed-off-by: Christopher Baines <mail@cbaines.net> Timotej Lazar 2023-10-20gnu: eternalterminal: Update to 6.2.4....* gnu/packages/terminals.scm (eternalterminal): Update to 6.2.4. [arguments]: Add -DDISABLE_VCPKG=1 to #:configure-flags, remove #:phases. [inputs]: Remove gflags, add openssl, zlib and curl. [native-inputs]: Remove. Signed-off-by: Christopher Baines <mail@cbaines.net> Aaron Covrig 2023-10-11gnu: python-pyte: Update to 0.8.1....* gnu/packages/terminals.scm (python-pyte): Update to 0.8.1. Co-authored-by: jgart <jgart@dismail.de> Stefan Reichör 2023-10-03gnu: alacritty: Remove input labels....* gnu/packages/terminals.scm (alacritty)[native-inputs]: Remove input labels. [inputs]: Same. Efraim Flashner 2023-10-03gnu: alacritty: Patch references to more libraries....* gnu/packages/terminals.scm (alacritty)[arguments]: Also patch paths to X libraries in 'add-absolute-library-references phase. [inputs]: Add libxext, libxft, libxinerama, libxmu, libxpresent, libxscrnsaver, libxt, libxtst. Efraim Flashner 2023-10-03gnu: alacritty: Update to 0.12.3....* gnu/packages/terminals.scm (alacritty): Update to 0.12.3. [arguments]: Remove cargo-test-flags. Efraim Flashner 2023-09-24gnu: mlterm: Update to 3.9.3....* gnu/packages/terminals.scm (mlterm): Update to 3.9.3. Tobias Geerinckx-Rice 2023-09-24gnu: tio: Update to 2.7....* gnu/packages/terminals.scm (tio): Update to 2.7. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Raphaël Mélotte 2023-09-17gnu: Remove extraneous imports....Found by running 'guild compile -W3 gnu/packages/$module.scm', using guild from the upcoming Guile. * gnu/packages/admin.scm: Remove extraneous imports. * gnu/packages/avr.scm: Likewise. * gnu/packages/base.scm: Likewise. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/firmware.scm: Likewise. * gnu/packages/linphone.scm: Likewise. * gnu/packages/telephony.scm: Likewise. * gnu/packages/cran.scm: Likewise. * gnu/packages/kde.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/mes.scm: Likewise. * gnu/packages/mingw.scm: Likewise. * gnu/packages/serialization.scm: Likewise. * gnu/packages/sync.scm: Likewise. * gnu/packages/syncthing.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/emulators.scm: Likewise. Reviewed-by: Ludovic Courtès <ludo@gnu.org> Maxim Cournoyer 2023-09-10gnu: foot: Update to 1.15.3....* gnu/packages/terminals.scm (foot): Update to 1.15.3. Tobias Geerinckx-Rice 2023-09-13gnu: libvterm: Update arguments style....* gnu/packages/terminals.scm (libvterm)[arguments]: Update arguments style. Signed-off-by: Christopher Baines <mail@cbaines.net> Zheng Junjie 2023-09-13gnu: libvterm: Update to 0.3.3....* gnu/packages/terminals.scm (libvterm): Update to 0.3.3. [source]: Use launchpad.net url. [arguments]: Use CC-FOR-TARGET. Signed-off-by: Christopher Baines <mail@cbaines.net> Zheng Junjie