From patchwork Thu Feb 13 23:10:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 20243 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A80BE27BBEA; Thu, 13 Feb 2020 23:11:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6EE2127BBE4 for ; Thu, 13 Feb 2020 23:11:12 +0000 (GMT) Received: from localhost ([::1]:60768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NdX-0006VU-SG for patchwork@mira.cbaines.net; Thu, 13 Feb 2020 18:11:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43651) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NdP-0006Ut-8x for guix-patches@gnu.org; Thu, 13 Feb 2020 18:11:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2NdO-0003hF-2X for guix-patches@gnu.org; Thu, 13 Feb 2020 18:11:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54654) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2NdN-0003gz-VS for guix-patches@gnu.org; Thu, 13 Feb 2020 18:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2NdN-0001vv-QI for guix-patches@gnu.org; Thu, 13 Feb 2020 18:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39592] [PATCH] gnu: Add fbset. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Feb 2020 23:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39592 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39592@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15816354407402 (code B ref -1); Thu, 13 Feb 2020 23:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2020 23:10:40 +0000 Received: from localhost ([127.0.0.1]:60627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Nd2-0001vJ-B0 for submit@debbugs.gnu.org; Thu, 13 Feb 2020 18:10:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:50368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Ncz-0001v9-8m for submit@debbugs.gnu.org; Thu, 13 Feb 2020 18:10:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43135) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2Ncx-0006M1-R0 for guix-patches@gnu.org; Thu, 13 Feb 2020 18:10:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2Ncv-0002vy-36 for guix-patches@gnu.org; Thu, 13 Feb 2020 18:10:34 -0500 Received: from tobias.gr ([2001:470:7405::1]:56326) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2Ncu-0002qH-N1 for guix-patches@gnu.org; Thu, 13 Feb 2020 18:10:33 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id 76269b56 for ; Thu, 13 Feb 2020 23:10:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=6Iq17nS4I9mz9eMmFeJr5da33t1RXzQ8xLC9 4JqPqos=; b=Y0EnODypizGCNDvSSQXrKGpxpd29D6l5Qu0PCzWd6gHt9YJ3DlQX dTFJix54p62vGdAAOV2s5sy+9jS4UYS4+GWxe07WXg7R9EgpItdXQ+axvSxqdtRx NuVuFdGJnyqaQqT6RmNvBLm66BAAVe0sUWFe5pnX6hBcdUeDWydXW1+CwoZ+UAH9 /07PyEkm4aRnb9lIhUTDjBHhVoYABT07/0CPTkGSt9Pr54IAXUwzmUOQonqaiiOv DSzOHmIT/tICZ1XVBURrBZutZ/LomZeIk/0PskRHMZhr1NjE0BdCa9WmkTDyiktO BX5Gi8aGVpGyLmC4Ik+YlEXsMT5pmzfTrw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 16293842 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 13 Feb 2020 23:10:29 +0000 (UTC) Date: Fri, 14 Feb 2020 00:10:23 +0100 Message-Id: <20200213231023.14895-1-me@tobias.gr> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches X-Patchwork-Original-From: Tobias Geerinckx-Rice via Guix-patches via From: "ashish.is--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (fbset): New public variable. --- gnu/packages/linux.scm | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index b098567d24..3072b0f7d9 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1275,6 +1275,62 @@ The Discordian calendar was made popular by the \"Illuminatus!\" trilogy by Robert Shea and Robert Anton Wilson.") (license license:public-domain))) +(define-public fbset + (package + (name "fbset") + (version "2.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://users.telenet.be/geertu/Linux/fbdev/fbset-" + version ".tar.gz")) + (sha256 + (base32 "080wnisi0jq7dp0jcwdp83rq8q8s3kw41vc712516xbv4jq4mzs0")))) + (build-system gnu-build-system) + (arguments + '(#:modules ((guix build gnu-build-system) + (guix build utils) + (srfi srfi-26)) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (add-before 'install 'pre-install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" + (("mknod ") "true ") + ;; The Makefile doesn't honour PREFIX or similar. + (("/usr") out)) + (mkdir out) + (with-directory-excursion out + (for-each mkdir-p (list "sbin" + "man/man5" + "man/man8"))) + #t))) + (add-after 'install 'install-fb.modes + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (etc (string-append out "/etc"))) + (for-each (cut install-file <> etc) + (find-files "etc" "^fb\\.modes")) + (symlink "fb.modes.ATI" + (string-append etc "/fb.modes")) + #t)))) + ;; Parallel building races to create modes.tab.c. + #:parallel-build? #f + #:tests? #f)) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex))) + (home-page "http://users.telenet.be/geertu/Linux/fbdev/") + (synopsis "Show and modify Linux frame buffer settings") + (description + "The kernel Linux's @dfn{frame buffers} provide a simple interface to +different kinds of graphic displays. The @command{fbset} utility can query and +change various device settings such as depth, virtual resolution, and timing +parameters.") + (license license:gpl2))) + (define-public procps (package (name "procps")