;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2016, 2017, 2018 Leo Famulari ;;; Copyright © 2016 Kei Kebreau ;;; Copyright © 2016, 2019 Efraim Flashner ;;; Copyright © 2018 Rutger Helling ;;; Copyright © 2020 Tobias Geerinckx-Rice ;;; ;;; 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 . (define-module (gnu packages w3m) #:use-module ((guix licenses) #:select (x11-style)) #:use-module (gnu packages gettext) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages compression) #:use-module (gnu packages gtk) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages tls) #:use-module (gnu packages xorg) #:use-module (gnu packages) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix build-system gnu)) (define-public w3m (package (name "w3m") (version "0.5.3+git20200502") (source (origin (method git-fetch) ;; Debian's fork of w3m is the only one that is still maintained. (uri (git-reference (url "https://salsa.debian.org/debian/w3m.git") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0yyfhwcwy1dvdbirj6zqwk4gl8z9npfavs0k7ipcg5fd16vnx7mi")))) (build-system gnu-build-system) (arguments '(#:tests? #f ; no check target ;; Use $EDITOR instead of a hard-coded value. #:configure-flags '("--with-editor=") #:phases (modify-phases %standard-phases (add-before 'configure 'fix-perl (lambda _ (substitute* '("scripts/w3mmail.cgi.in" "scripts/dirlist.cgi.in") (("@PERL@") (which "perl"))) #t))))) (inputs `(("gdk-pixbuf" ,gdk-pixbuf) ("libgc" ,libgc) ("libx11" ,libx11) ("ncurses" ,ncurses) ("openssl" ,openssl) ("zlib" ,zlib))) (native-inputs `(("gettext" ,gettext-minimal) ("perl" ,perl) ("pkg-config" ,pkg-config))) (home-page "http://w3m.sourceforge.net/") (synopsis "Text-mode web browser") (description "w3m is a text-based web browser as well as a pager like @code{more} or @code{less}. With w3m you can browse web pages through a terminal emulator window. Moreover, w3m can be used as a text formatting tool which typesets HTML into plain text.") (license (x11-style "file://doc/README" "See 'doc/README' in the distribution.")))) ion from variable name....* gnu/packages/crates-io.scm (rust-crc32fast-1.2): Rename to rust-crc32fast-1. Arun Isaac 2020-10-12gnu: rust-byteorder-1.3: Remove minor version from variable name....* gnu/packages/crates-io.scm (rust-byteorder-1.3): Rename to rust-byteorder-1. Arun Isaac 2020-10-05gnu: Move graphics crates to crates-graphics.scm....* gnu/packages/crates-graphics.scm: New module. Move rust-andrew-0.2, rust-ansi-colours-1, rust-ansi-term-0.12, rust-ansi-term-0.11, rust-ansi-term-0.10, rust-aom-sys-0.1, rust-ascii-canvas-2, rust-cgl-0.3, rust-cgl-0.2, rust-cgmath-0.17, rust-cglmath-0.16, rust-core-graphics-0.17, rust-core-video-sys-0.1, rust-dav1d-sys-0.3, rust-euclid-0.20, rust-gfx-0.18, rust-gfx-core-0.9, rust-gfx-device-gl-0.16, rust-gfx-gl-0.6, rust-gif-0.10, rust-gl-0.11, rust-gl-generator-0.14, rust-gl-generator-0.13, rust-gl-generator-0.11, rust-gl-generator-0.10, rust-gleam-0.6, rust-glutin-0.22, rust-glutin-0.21, rust-glutin-egl-sys-0.1, rust-glutin-emscripten-sys-0.1, rust-glutin-gles2-sys-0.1, rust-glutin-glx-sys-0.1, rust-glutin-wayland-sys-0.1, rust-image-0.23, rust-image-0.22, rust-image-0.21, rust-image-0.20, rust-jpeg-decoder-0.1, rust-line-drawing-0.7, rust-lyon-geom-0.14, rust-lyon-path-0.14, rust-osmesa-sys-0.1, rust-piston-0.49, rust-piston-float-1.0, rust-piston-gfx-texture-0.40, rust-piston-graphics-api-version-0.2, rust-piston-shaders-graphics2d-0.3, rust-piston-texture-0.8, rust-piston-viewport-1.0, rust-piston-window-0.105, rust-piston2d-gfx-graphics-0.66, rust-pison2d-graphics-0.35, rust-piston-event-loop-0.49, rust-pistoncore-glutin-window-0.63, rust-pistoncore-input-0.28, rust-pistoncore-window-0.44, rust-png-0.16, rust-png-0.15, rust-png-0.14, rust-png-0.12, rust-raw-window-handle-0.3, rust-resize-0.3, rust-rgb-0.8, rust-smithay-client-toolkit-0.6, rust-smithay-client-toolkit-0.4, rust-smithay-clipboard-0.3, rust-tiff-0.5, rust-tiff-0.3, rust-tiff-0.2, rust-wayland-client-0.23, rust-wayland-client-0.21, rust-wayland-commons-0.23, rust-wayland-commons-0.21, rust-wayland-protocols-0.23, rust-wayland-protocols-0.21, rust-wayland-scanner-0.23, rust-wayland-scanner-0.21, rust-wayland-server-0.23, rust-wayland-server-0.21, rust-wayland-sys-0.23, rust-wayland-sys-0.21, rust-winit-0.20, rust-winit-0.19, rust-x11-2, rust-x11-clipboard-0.4, rust-x11-dl-2, rust-y4m-0.5 to here. * gnu/packages/crates-io.scm: ... from here. * gnu/local.mk (GNU_SYSTEM_MODULES): Register new module. * gnu/packages/crates-io.scm, gnu/packages/crates-gtk.scm, gnu/packages/gnome.scm, gnu/packages/rust-apps.scm, gnu/packages/terminals.scm, gnu/packages/video.scm: Adjust for package movement. Efraim Flashner