emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#36410: closed ([PATCH] gnu: Add screenfetch.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#36410: closed ([PATCH] gnu: Add screenfetch.)
Date: Mon, 23 Sep 2019 16:09:02 +0000

Your message dated Mon, 23 Sep 2019 19:08:05 +0300
with message-id <20190923160805.GB11513@E5400>
and subject line Re: [bug#36410] [PATCH] gnu: Add screenfetch.
has caused the debbugs.gnu.org bug report #36410,
regarding [PATCH] gnu: Add screenfetch.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
36410: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36410
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add screenfetch. Date: Thu, 27 Jun 2019 20:42:14 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
* gnu/packages/admin.scm (screenfetch): New variable.
---
 gnu/packages/admin.scm | 47 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 3d8c247f57..b920d564e5 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2018 Pierre Neidhardt <address@hidden>
 ;;; Copyright © 2019 Brett Gilio <address@hidden>
 ;;; Copyright © 2019 Björn Höfling <address@hidden>
+;;; Copyright © 2019 Jakob L. Kreuze <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -55,6 +56,7 @@
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
+  #:use-module (gnu packages algebra)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages check)
@@ -2651,6 +2653,51 @@ used in screenshots to show other users what operating 
system or distribution
 you are running, what theme or icon set you are using, etc.")
     (license license:expat)))
 
+(define-public screenfetch
+  ;; first commit supporting current GuixSD
+  (let ((commit "e3ec82dd464e81e4d10bef218b3016e3044c766c"))
+    (package
+      (name "screenfetch")
+      (version (string-append "3.8.0" "-" (string-take commit 7)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/KittyKatt/screenFetch";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1lzs1l5xgj9mn4b59lhkfgqnyiivf8svd1iwjabzrax90rdmxfwj"))))
+      (build-system trivial-build-system)
+      (arguments
+       `(#:modules ((guix build utils))
+         #:builder
+         (begin
+           (use-modules (guix build utils))
+           (let ((source (assoc-ref %build-inputs "source")))
+             (mkdir-p (string-append %output "/bin/"))
+             (mkdir-p (string-append %output "/man/man1/"))
+             (copy-file (string-append source "/screenfetch-dev")
+                        (string-append %output "/bin/screenfetch"))
+             (copy-file (string-append source "/screenfetch.1")
+                        (string-append %output "/man/man1/screenfetch.1"))
+             (substitute* (string-append %output "/bin/screenfetch")
+               (("/usr/bin/env bash")
+                (string-append (assoc-ref %build-inputs "bash")
+                               "/bin/bash")))))))
+      (propagated-inputs
+       `(("bash" ,bash)
+         ("bc" ,bc)
+         ("scrot" ,scrot)
+         ("xdpyinfo" ,xdpyinfo)
+         ("xprop" ,xprop)))
+      (home-page "https://github.com/KittyKatt/screenFetch";)
+      (synopsis "System information script")
+      (description "Bash screenshot information tool which can be used to
+generate those nifty terminal theme information and ASCII distribution logos in
+everyone's screenshots nowadays.")
+      (license license:gpl3))))
+
 (define-public nnn
   (package
     (name "nnn")
-- 
2.22.0

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: [bug#36410] [PATCH] gnu: Add screenfetch. Date: Mon, 23 Sep 2019 19:08:05 +0300 User-agent: Mutt/1.12.2 (2019-09-21)
Pushed with some changes

 +                                    ?  efraim@E5400
 ??                                  ?I  OS: GuixSD
  ??I?   I??N              ???    ????   Kernel: x86_64 Linux 5.2.13-gnu
   ?III7???????          ??????7III?Z    Uptime: 1d 8h 40m
     OI77$?????         ?????7IIII       Packages: 12629
           ?????        ????             Shell: bash 4.4.23
            ???ID      ????              Disk: 44G / 110G (41%)
             IIII     +????              CPU: Pentium Dual-Core E5400 @ 2x 
1.318GHz
             IIIII    ????               GPU: Intel Corporation 4 Series 
Chipset Integrated Graphics Controller (rev 03)
              IIII   ?????               RAM: 483MiB / 1959MiB
              IIIII  ????
               II77 ????$
               7777+????
                77++???$
                N?+????



-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]