unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob e5f014f5f2fa388a3c302c97cb407b3d4f8268e8 4367 bytes (raw)
name: gnu/packages/conkeror.scm 	 # note: path name is non-authoritative(*)

 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
 
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@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 conkeror)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system trivial)
  #:use-module (gnu packages)
  #:use-module (gnu packages xulrunner)
  #:use-module (gnu packages base)
  #:use-module (gnu packages bash)
  #:use-module (gnu packages compression)
  #:use-module (ice-9 format))

(define-public conkeror
  (package
    (name "conkeror")
    (version "1.0pre1")
    (source (origin
              (method url-fetch)
              (uri
               (string-append "http://repo.or.cz/w/conkeror.git/snapshot/"
                              "8a26fff5896a3360549e2adfbf06b1d57e909266"
                              ".tar.gz"))
              (sha256
               (base32
                "1cgjzi7g3g22zcx6bpfnid4i12sb45w6icmxdzjn8d3c0m8qsyp1"))))
    (build-system trivial-build-system)
    (inputs `(("xulrunner" ,xulrunner)
              ("bash" ,bash)))
    (native-inputs `(("tar" ,tar)
                     ("gzip" ,gzip)))
    (arguments
     `(#:modules ((guix build utils))
       #:builder (begin
                   (use-modules (ice-9 ftw)
                                (guix build utils))
                   (let ((select? 
                          (lambda (name)
                           (not (equal? (car (string->list name)) #\.))))
                         (datadir (string-append %output "/share/conkeror"))
                         (launcher "bin/conkeror"))
                     (setenv "PATH" (string-append
                                     (assoc-ref %build-inputs "tar") "/bin:"
                                     (assoc-ref %build-inputs "gzip") "/bin"))
                     (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
                     (copy-recursively (string-append
                                        (getcwd) "/"
                                        (car (scandir (getcwd) select?)))
                                       datadir)
                     (chdir %output)
                     (mkdir "bin")
                     (call-with-output-file launcher
                       (lambda (p)
                         (format p "#!~a/bin/bash
exec ~a/bin/xulrunner ~a \"$@\"~%"
                                 (assoc-ref %build-inputs "bash")
                                 (assoc-ref %build-inputs "xulrunner")
                                 (string-append datadir
                                                "/application.ini"))))
                     (chmod launcher #o555)))))
    (synopsis "Keyboard focused web browser with Emacs look and feel")
    (description " Conkeror is a highly-programmable web browser based on
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
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
YouTube. For easier editing of form fields, it can spawn external editors. For
this feature the recommended conkeror-spawn-process-helper package needs to be
installed.

Despite its very similar sounding name, Conkeror is not related to the KDE web
browser and file manager Konqueror in any way. ")
    (home-page "http://conkeror.org")
    (license (list license:gpl2
                   license:lgpl2.1))))

debug log:

solving e5f014f ...
found e5f014f in https://yhetil.org/guix-devel/87bnt2hnmp.fsf@gmail.com/

applying [1/1] https://yhetil.org/guix-devel/87bnt2hnmp.fsf@gmail.com/
diff --git a/gnu/packages/conkeror.scm b/gnu/packages/conkeror.scm
new file mode 100644
index 0000000..e5f014f

1:60: trailing whitespace.
                   (let ((select? 
Checking patch gnu/packages/conkeror.scm...
Applied patch gnu/packages/conkeror.scm cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 e5f014f5f2fa388a3c302c97cb407b3d4f8268e8	gnu/packages/conkeror.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).