2014-07-07 18:58:18 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
|
2015-10-21 23:29:54 +02:00
|
|
|
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
|
2016-07-03 17:50:37 +02:00
|
|
|
;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
|
2014-07-07 18:58:18 +02: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 conkeror)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2014-10-08 00:33:00 +02:00
|
|
|
#:use-module (guix build-system gnu)
|
2014-07-07 18:58:18 +02:00
|
|
|
#:use-module (gnu packages)
|
2014-10-08 00:33:00 +02:00
|
|
|
#:use-module (gnu packages gnuzilla))
|
2014-07-07 18:58:18 +02:00
|
|
|
|
|
|
|
(define-public conkeror
|
|
|
|
(package
|
|
|
|
(name "conkeror")
|
2017-10-29 11:21:12 +01:00
|
|
|
(version "1.1.0")
|
2014-07-07 18:58:18 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
2016-07-03 17:50:37 +02:00
|
|
|
(string-append "http://repo.or.cz/conkeror.git/snapshot/"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2014-07-07 18:58:18 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-10-29 11:21:12 +01:00
|
|
|
"0jz216mjwis7f03j98s4wkcrrq2j3f41fb2y47a5qszc340zhdzv"))))
|
2014-10-08 00:33:00 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("icecat" ,icecat)))
|
2014-07-07 18:58:18 +02:00
|
|
|
(arguments
|
2014-10-08 00:33:00 +02:00
|
|
|
`(#:tests? #f ;no tests
|
2015-10-21 23:29:54 +02:00
|
|
|
#:make-flags `("CC=gcc"
|
|
|
|
,(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
2014-10-08 00:33:00 +02:00
|
|
|
#:phases
|
2015-10-21 23:29:54 +02:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(add-after
|
|
|
|
'install 'install-app-launcher
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
;; This overwrites the installed launcher, which execs xulrunner,
|
|
|
|
;; with one that execs 'icecat --app'
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(datadir (string-append out "/share/conkeror"))
|
|
|
|
(launcher (string-append out "/bin/conkeror")))
|
|
|
|
(call-with-output-file launcher
|
|
|
|
(lambda (p)
|
|
|
|
(format p "#!~a/bin/bash
|
2014-07-07 18:58:18 +02:00
|
|
|
exec ~a/bin/icecat --app ~a \"$@\"~%"
|
2015-10-21 23:29:54 +02:00
|
|
|
(assoc-ref inputs "bash") ;implicit input
|
|
|
|
(assoc-ref inputs "icecat")
|
|
|
|
(string-append datadir
|
|
|
|
"/application.ini"))))
|
|
|
|
(chmod launcher #o555)))))))
|
2014-07-07 18:58:18 +02:00
|
|
|
(synopsis "Keyboard focused web browser with Emacs look and feel")
|
|
|
|
(description "Conkeror is a highly-programmable web browser based on
|
2014-10-08 00:33:00 +02:00
|
|
|
Mozilla XULRunner which is the base of all Mozilla products including Firefox.
|
|
|
|
Conkeror has a sophisticated keyboard system for running commands and
|
|
|
|
interacting with web page content, modelled after Emacs and Lynx. It is
|
2014-07-07 18:58:18 +02:00
|
|
|
self-documenting and extensible with JavaScript.
|
|
|
|
|
|
|
|
It comes with builtin support for several Web 2.0 sites like several Google
|
|
|
|
services (Search, Gmail, Maps, Reader, etc.), Del.icio.us, Reddit, Last.fm and
|
2014-10-08 00:33:00 +02:00
|
|
|
YouTube. For easier editing of form fields, it can spawn external editors.")
|
2014-07-07 18:58:18 +02:00
|
|
|
(home-page "http://conkeror.org")
|
|
|
|
;; Conkeror is triple licensed.
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 15:50:36 +01:00
|
|
|
(license (list
|
|
|
|
;; MPL 1.1 -- this license is not GPL compatible
|
|
|
|
license:gpl2
|
|
|
|
license:lgpl2.1))))
|