GNU bug report logs - #33518
[PATCH] gnu: Add vimb.

Previous Next

Package: guix-patches;

Reported by: Timo Eisenmann <eisenmann <at> fn.de>

Date: Mon, 26 Nov 2018 21:33:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33518 in the body.
You can then email your comments to 33518 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#33518; Package guix-patches. (Mon, 26 Nov 2018 21:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Timo Eisenmann <eisenmann <at> fn.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 26 Nov 2018 21:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Timo Eisenmann <eisenmann <at> fn.de>
To: guix-patches <at> gnu.org
Cc: Timo Eisenmann <eisenmann <at> fn.de>
Subject: [PATCH] gnu: Add vimb.
Date: Mon, 26 Nov 2018 22:29:14 +0100
* gnu/packages/web-browsers.scm (vimb): New variable.
---
 gnu/packages/web-browsers.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 2c2767dbb..052d29dd2 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -320,3 +320,38 @@ access.")
     (description "qutebrowser is a keyboard-focused browser with a minimal
 GUI.  It is based on PyQt5 and QtWebKit.")
     (license license:gpl3+)))
+
+(define-public vimb
+  (package
+    (name "vimb")
+    (version "3.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/fanglingsu/vimb/archive/"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0v3daxs10nndxvcpvx8377aylfdismzkys5n5cs8m89c3fdy6vsw"))))
+    (build-system glib-or-gtk-build-system)
+    (arguments
+     '(#:tests? #f ; no tests
+       #:make-flags (list "CC=gcc"
+                          "DESTDIR="
+                          (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (inputs
+     `(("glib-networking" ,glib-networking)
+       ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+       ("webkitgtk" ,webkitgtk)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://fanglingsu.github.io/vimb/")
+    (synopsis "Fast and lightweight vim like web browser")
+    (description "Vimb is a fast and lightweight vim like web browser based on
+the webkit web browser engine and the GTK toolkit. Vimb is modal like the great
+vim editor and also easily configurable during runtime. Vimb is mostly keyboard
+driven and does not detract you from your daily work.")
+    (license license:gpl3+)))
-- 
2.19.2





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 27 Nov 2018 11:13:02 GMT) Full text and rfc822 format available.

Notification sent to Timo Eisenmann <eisenmann <at> fn.de>:
bug acknowledged by developer. (Tue, 27 Nov 2018 11:13:02 GMT) Full text and rfc822 format available.

Message #10 received at 33518-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Timo Eisenmann <eisenmann <at> fn.de>
Cc: 33518-done <at> debbugs.gnu.org
Subject: Re: [bug#33518] [PATCH] gnu: Add vimb.
Date: Tue, 27 Nov 2018 12:11:55 +0100
[Message part 1 (text/plain, inline)]
Hi,

Timo Eisenmann <eisenmann <at> fn.de> skribis:

> * gnu/packages/web-browsers.scm (vimb): New variable.

Applied with the following changes to placate ‘guix lint’ and to avoid
GitHub auto-generated tarballs (their contents may vary over time.)

Let me know if anything is amiss.

Thanks!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 052d29dd25..f63f269ae0 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2017 Eric Bavier <bavier <at> member.fsf.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2018 Rutger Helling <rhelling <at> mykolab.com>
+;;; Copyright © 2018 Timo Eisenmann <eisenmann <at> fn.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -48,6 +49,7 @@
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages xorg)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system python))
@@ -327,12 +329,14 @@ GUI.  It is based on PyQt5 and QtWebKit.")
     (version "3.3.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/fanglingsu/vimb/archive/"
-                           version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fanglingsu/vimb/")
+             (commit version)))
        (sha256
         (base32
-         "0v3daxs10nndxvcpvx8377aylfdismzkys5n5cs8m89c3fdy6vsw"))))
+         "1qg18z2gnsli9qgrqfhqfrsi6g9mcgr90w8yab28nxrq4aha6brf"))
+       (file-name (git-file-name name version))))
     (build-system glib-or-gtk-build-system)
     (arguments
      '(#:tests? #f ; no tests
@@ -349,9 +353,9 @@ GUI.  It is based on PyQt5 and QtWebKit.")
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (home-page "https://fanglingsu.github.io/vimb/")
-    (synopsis "Fast and lightweight vim like web browser")
+    (synopsis "Fast and lightweight Vim-like web browser")
     (description "Vimb is a fast and lightweight vim like web browser based on
-the webkit web browser engine and the GTK toolkit. Vimb is modal like the great
-vim editor and also easily configurable during runtime. Vimb is mostly keyboard
+the webkit web browser engine and the GTK toolkit.  Vimb is modal like the great
+vim editor and also easily configurable during runtime.  Vimb is mostly keyboard
 driven and does not detract you from your daily work.")
     (license license:gpl3+)))

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Dec 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 124 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.