From unknown Thu Jun 19 14:07:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40084 <40084@debbugs.gnu.org> To: bug#40084 <40084@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add v86d. Reply-To: bug#40084 <40084@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:07:00 +0000 retitle 40084 [PATCH] gnu: Add v86d. reassign 40084 guix-patches submitter 40084 Florian Pelz severity 40084 normal tag 40084 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 15 17:48:59 2020 Received: (at submit) by debbugs.gnu.org; 15 Mar 2020 21:48:59 +0000 Received: from localhost ([127.0.0.1]:35747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDb7y-0001I7-QD for submit@debbugs.gnu.org; Sun, 15 Mar 2020 17:48:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:37117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDb7x-0001I0-By for submit@debbugs.gnu.org; Sun, 15 Mar 2020 17:48:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47621) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDb7v-0004R9-46 for guix-patches@gnu.org; Sun, 15 Mar 2020 17:48:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDb7s-0001qG-Ey for guix-patches@gnu.org; Sun, 15 Mar 2020 17:48:54 -0400 Received: from pelzflorian.de ([5.45.111.108]:52048 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDb7r-0001Z6-QK for guix-patches@gnu.org; Sun, 15 Mar 2020 17:48:52 -0400 Received: from localhost.localdomain (x52716394.dyn.telefonica.de [82.113.99.148]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 90E973604F7; Sun, 15 Mar 2020 22:48:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1584308929; bh=TWolNTSi5cNjGgB3GRNFIDxK+S2cmCi2rV5MGCEUTnA=; h=From:To:Cc:Subject:Date; b=LNLN0qZx175v8cKpuLi1iJATOfkvDYhmfGE6NPGEnXcxg3zgcwCMr4iOzvlgE4VNm CQruYCejbAATHmwUf6iLz7TiTKD43ZLnnLfP8WAvZnf5pxklc0n6vLIDl1sX+Ggao0 ZY9X/kitFDpG8cXkA0as3z3v+FJJswtOdqxe6HPI= From: Florian Pelz To: guix-patches@gnu.org Subject: [PATCH] gnu: Add v86d. Date: Sun, 15 Mar 2020 22:48:51 +0100 Message-Id: <20200315214851.30981-1-pelzflorian@pelzflorian.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.111.108 X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/xorg.scm (v86d): New variable. --- gnu/packages/xorg.scm | 109 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index f951e565ff..be381adc43 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2019 nee X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) * gnu/packages/xorg.scm (v86d): New variable. --- gnu/packages/xorg.scm | 109 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index f951e565ff..be381adc43 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -21,6 +21,7 @@ ;;; Copyright =C2=A9 2019 nee ;;; Copyright =C2=A9 2019 Yoshinori Arai ;;; Copyright =C2=A9 2020 Leo Prikler +;;; Copyright =C2=A9 2020 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -3446,6 +3447,114 @@ X server.") X server.") (license license:x11))) =20 +(define-public v86d + (package + (name "v86d") + (version "0.1.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mjanusz/v86d.git") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1c4iiggb5r9i2hxhk8c6q1m2vpfva39l1w33fsfkrz6fav6x34pp")) + (modules '((guix build utils))) + (snippet + '(begin + ;; remove bundled x86emu + (for-each delete-file + (filter (lambda (name) ;keep customized Makefile + (not (string-suffix? "Makefile" name))) + (find-files "libs/x86emu"))) + ;; remove non-working vbetest utility program (it is unnecess= ary) + (delete-file "libs/lrmi-0.10/vbe.h") + (delete-file "libs/lrmi-0.10/vbetest.c") + #t)))) + + ;; We keep the bundled copy of the Linux Real Mode Interface lrmi-0.= 10, + ;; because it includes fixes missing from upstream lrmi. We do not = use + ;; libx86, because we already use x86emu with the more current lrmi. + + (inputs `(("xorg-server-sources" ,(package-source xorg-server)) ;for= x86emu + ("xorgproto" ,xorgproto))) ;upstream x86emu uses X11/Xfunc= proto.h + (outputs '("out" ;main v86d helper + "testvbe")) ;test program for listing video modes + (supported-systems '("i686-linux" "x86_64-linux")) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;there are no tests + #:modules ((guix build utils) + (guix build gnu-build-system) + (ice-9 popen)) + #:phases + (modify-phases %standard-phases + ;; Replace the bundled x86emu with its upstream copy from Xorg-= server: + (add-after 'unpack 'unpack-x86emu-sources + (lambda* (#:key inputs #:allow-other-keys) + (begin + (format #t "decompressing x86emu source code~%") + (with-directory-excursion "libs" + (call-with-output-file "xorg-server.tar" + (lambda (out) + (let* ((xz (assoc-ref inputs "xz")) + (srcs (assoc-ref inputs "xorg-server-sources= ")) + (pipe (open-pipe* OPEN_READ + (string-append xz "/bin/xz= ") + "-cd" srcs))) + (dump-port pipe out) + (unless (=3D (status:exit-val (close-pipe pipe)) = 0) + (error "xz decompress failed"))))) + (invoke (string-append (assoc-ref inputs "tar") "/bin/t= ar") + "xvf" "xorg-server.tar" "--strip-components=3D3= " + "--wildcards" "*/hw/xfree86/x86emu/") + ;; extract license: + (with-directory-excursion "x86emu" + (invoke (string-append (assoc-ref inputs "tar") "/bin= /tar") + "xvf" "../xorg-server.tar" "--strip-component= s=3D1" + "--wildcards" "*/COPYING")) + (delete-file "xorg-server.tar") + #t)))) + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (setenv "CC" (which "gcc")) + (setenv "DESTDIR" out) + (invoke "./configure" "--with-x86emu")))) + (add-after 'build 'build-testvbe + (lambda _ + (invoke "make" "testvbe"))) + (add-after 'install 'install-testvbe + (lambda* (#:key outputs #:allow-other-keys) + (let ((testvbe (assoc-ref outputs "testvbe")) + (olddest (getenv "DESTDIR"))) + (setenv "DESTDIR" testvbe) + (invoke "make" "install_testvbe") + (setenv "DESTDIR" olddest)))) + (add-after 'install 'install-docs + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc-dir (string-append out "/share/doc/v86d"))) + (mkdir-p doc-dir) + (copy-file "README" + (string-append doc-dir "/README")) + (copy-file "libs/lrmi-0.10/README" + (string-append doc-dir "/README.lrmi")) + (copy-file "libs/x86emu/COPYING" + (string-append doc-dir "/COPYING.xorg-server.x= 86emu")) + #t)))))) + (home-page "https://github.com/mjanusz/v86d") + (synopsis "Userspace helper for uvesafb") + (description + "v86d provides a backend for kernel drivers that need to execute x8= 6 BIOS +code. The code is executed in a controlled environment and the results = are +passed back to the kernel via the netlink interface. v86d is required b= y the +uvesafb Linux kernel module that provides an fbdev framebuffer when Kern= el +Mode Setting is unavailable. It can be a last resort when no other Xorg= X +server driver works.") + (license (list license:gpl2 + license:x11)))) ;for bundled lrmi and x86emu =20 (define-public xf86-video-vmware (package --=20 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 19 10:49:22 2020 Received: (at submit) by debbugs.gnu.org; 19 Mar 2020 14:49:22 +0000 Received: from localhost ([127.0.0.1]:43475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEwU5-0000MT-Sd for submit@debbugs.gnu.org; Thu, 19 Mar 2020 10:49:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:54196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEwU4-0000MM-6N for submit@debbugs.gnu.org; Thu, 19 Mar 2020 10:49:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54821) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEwTy-00068x-II for guix-patches@gnu.org; Thu, 19 Mar 2020 10:49:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEwTx-0001Dw-Cx for guix-patches@gnu.org; Thu, 19 Mar 2020 10:49:14 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:38162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jEwTx-0001Dd-3M for guix-patches@gnu.org; Thu, 19 Mar 2020 10:49:13 -0400 Received: (qmail 6426 invoked by uid 1009); 19 Mar 2020 15:49:11 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25755. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.026771 secs); 19 Mar 2020 14:49:11 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 19 Mar 2020 15:49:11 +0100 Date: Thu, 19 Mar 2020 15:49:08 +0100 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: Florian Pelz Subject: Re: [PATCH] gnu: Add v86d. Message-ID: <20200319144908.vfhtepo33lpmunhu@gravity> References: <20200315214851.30981-1-pelzflorian@pelzflorian.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jpwmx6zrnwlesdsp" Content-Disposition: inline In-Reply-To: <20200315214851.30981-1-pelzflorian@pelzflorian.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 37.59.186.212 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --jpwmx6zrnwlesdsp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 15, 2020 at 10:48:51PM +0100, Florian Pelz wrote: > + ;; Replace the bundled x86emu with its upstream copy from Xorg-= server: > + (add-after 'unpack 'unpack-x86emu-sources > + (lambda* (#:key inputs #:allow-other-keys) > + (begin > + (format #t "decompressing x86emu source code~%") > + (with-directory-excursion "libs" > + (call-with-output-file "xorg-server.tar" > + (lambda (out) > + (let* ((xz (assoc-ref inputs "xz")) > + (srcs (assoc-ref inputs "xorg-server-sources= ")) > + (pipe (open-pipe* OPEN_READ > + (string-append xz "/bin/xz= ") > + "-cd" srcs))) > + (dump-port pipe out) > + (unless (=3D (status:exit-val (close-pipe pipe)) = 0) > + (error "xz decompress failed"))))) > + (invoke (string-append (assoc-ref inputs "tar") "/bin/t= ar") > + "xvf" "xorg-server.tar" "--strip-components=3D3" > + "--wildcards" "*/hw/xfree86/x86emu/") > + ;; extract license: > + (with-directory-excursion "x86emu" > + (invoke (string-append (assoc-ref inputs "tar") "/bin= /tar") > + "xvf" "../xorg-server.tar" "--strip-component= s=3D1" > + "--wildcards" "*/COPYING")) > + (delete-file "xorg-server.tar") > + #t)))) I don't see why you're decompressing the tarball manually, this seems to work just as well: (add-after 'unpack 'unpack-x86emu-sources (lambda* (#:key inputs #:allow-other-keys) (begin (format #t "decompressing x86emu source code~%") (with-directory-excursion "libs" (invoke (string-append (assoc-ref inputs "tar") "/bin/tar") "xvf" (assoc-ref inputs "xorg-server-sources") "--strip-components=3D3" "--wildcards" "*/hw/xfree86/x86emu/") ;; extract license: (with-directory-excursion "x86emu" (invoke (string-append (assoc-ref inputs "tar") "/bin/tar") "xvf" (assoc-ref inputs "xorg-server-sources") "--strip-components=3D1" "--wildcards" "*/COPYING")) #t)))) If it's about efficiency or robustness in some way, I'd suggest leaving a comment detailing the reason. Either way, I'd bind the path to tar in a `let', as well as the path to "xorg-server-sources" if we decide to not decompress separately. > + (replace 'configure > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (setenv "CC" (which "gcc")) > + (setenv "DESTDIR" out) > + (invoke "./configure" "--with-x86emu")))) > + (add-after 'build 'build-testvbe > + (lambda _ > + (invoke "make" "testvbe"))) > + (add-after 'install 'install-testvbe > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((testvbe (assoc-ref outputs "testvbe")) > + (olddest (getenv "DESTDIR"))) > + (setenv "DESTDIR" testvbe) > + (invoke "make" "install_testvbe") > + (setenv "DESTDIR" olddest)))) These phases are missing the trailing #t. I don't know how to test the package, but it passes lint & build, including --rounds=3D2 to check for reproducibility. Regards, Jakub K=C4=85dzio=C5=82ka --jpwmx6zrnwlesdsp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl5zhl8ACgkQ4xWnWEYT FWQ4RA/+K3dShJX3iHKBOpCMW4ubvBW8gijHPuLiccTRju0wOTEVf837iN8Ofrim JZOXm0U+qNshlUSc1kD8iM0XAKuf5iEp8xPlBVQlloV/aRFgllII3pcWvserxsD1 OaQa2Tc+5MZ0IoeFVhexc00DgLA4Fl8XyTHqI/wrqUItwqzplUPVRxN2sBtpNSZO uN73Tm9VIUAGs9WlTZr4kQVlg8GgAsJ9UpyUPLHM/A8QwjEad/nr/OBM31RLx24+ OQB8iJpfCVRE60J9UoswUj1XfTVz/WFMHAeGhJm9hvPBi8/PnVZlmrbkGVPvRf27 wLkm3pFZ8ugVnBz04knllPERuVZrKyjl/XDPlg4/Vys0MUCXXQdtKaycekaW/nDA 6cAjk4dTkos6KeoJKi78VJLic2WyyvbpA8hVmtaq2a2Hr62IIfYqY0B1wRUBh/3y Hw3fW97yLVicJG9LOuu+YfXwS6Td/49JxxfKOj3LzkCSErPPiRZ7YqKniZgIp3W3 JcLtWn3kERxIA5car/er1gJpPNZS4GmSUK9LSorszmk15iW2VyiCtNRfMsp1pCJF 6ss0Pe21lh/0sCd6IZ0FKAzA291zjSkcO4X1XnDomSoeZahEJ4o9rtN7bxKlXSEt iI3HZD592oXXc/L4WoB1AdCME2C8liLVgQXsGSal+cp7TdrFfVs= =J7+3 -----END PGP SIGNATURE----- --jpwmx6zrnwlesdsp-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 20 04:40:11 2020 Received: (at submit) by debbugs.gnu.org; 20 Mar 2020 08:40:11 +0000 Received: from localhost ([127.0.0.1]:43944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFDCN-0000hd-C3 for submit@debbugs.gnu.org; Fri, 20 Mar 2020 04:40:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:38910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFDCL-0000hP-6Y for submit@debbugs.gnu.org; Fri, 20 Mar 2020 04:40:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46164) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFDCI-0005p8-He for guix-patches@gnu.org; Fri, 20 Mar 2020 04:40:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFDCH-0001gN-A8 for guix-patches@gnu.org; Fri, 20 Mar 2020 04:40:06 -0400 Received: from pelzflorian.de ([5.45.111.108]:47296 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jFDCG-0001eu-Qh for guix-patches@gnu.org; Fri, 20 Mar 2020 04:40:05 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 0F976360554; Fri, 20 Mar 2020 09:40:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1584693602; bh=a2h1r+dXAMX2ui4sModSko/Tq4/IH5sU2qbonAie9NE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=I5ucublQksI1wQiUdLRJqyssbkjUSjMH6iWkwV2D6GfSSIC6jlIMSOyMTmkmeglEX 6FENJWSeXDBt3InvTTve9eG5QMGkwsvdIPlRcb9ibJQh6i3PT8UvQfLDUvelNTsDAN RNWAHm8MlGK8E8hLYkq3VyBWY+qHMGBiRBSllFpI= Date: Fri, 20 Mar 2020 09:40:00 +0100 From: "pelzflorian (Florian Pelz)" To: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= Subject: Re: [PATCH] gnu: Add v86d. Message-ID: <20200320084000.h56hditmdkqcxekj@pelzflorian.localdomain> References: <20200315214851.30981-1-pelzflorian@pelzflorian.de> <20200319144908.vfhtepo33lpmunhu@gravity> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200319144908.vfhtepo33lpmunhu@gravity> Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.111.108 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit Cc: guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On Thu, Mar 19, 2020 at 03:49:08PM +0100, Jakub K=C4=85dzio=C5=82ka wrote= : > I don't see why you're decompressing the tarball manually, this seems t= o > work just as well: > [=E2=80=A6] > If it's about efficiency or robustness in some way, I'd suggest leaving > a comment detailing the reason. Either way, I'd bind the path to tar in > a `let', as well as the path to "xorg-server-sources" if we decide to > not decompress separately. >=20 Your review is much appreciated. Having tar do the decompression is much better. Before I had copied the decompression without checking from my earlier patch for nginx-accept-language-module. I think at the time tar for some reason did not do auto-decompression when building. Or maybe manual decompression already was unnecessary back then. I have tested on multiple computers, sufficiently I believe, so I pushed with your changes as e2303e8e375ed2e07c1fd760c86a204eb51fbc6e. I also pushed similar changes to the decompression in nginx-accept-language-module as e84490346d8dac3720a57a331f533ce67ff0da1c. > > + (replace 'configure > > + (lambda* (#:key outputs #:allow-other-keys) > > + (let ((out (assoc-ref outputs "out"))) > > + (setenv "CC" (which "gcc")) > > + (setenv "DESTDIR" out) > > + (invoke "./configure" "--with-x86emu")))) > > + (add-after 'build 'build-testvbe > > + (lambda _ > > + (invoke "make" "testvbe"))) > > + (add-after 'install 'install-testvbe > > + (lambda* (#:key outputs #:allow-other-keys) > > + (let ((testvbe (assoc-ref outputs "testvbe")) > > + (olddest (getenv "DESTDIR"))) > > + (setenv "DESTDIR" testvbe) > > + (invoke "make" "install_testvbe") > > + (setenv "DESTDIR" olddest)))) >=20 > These phases are missing the trailing #t. > I missed the #t for the install-testvbe phase. Thank you! According to the docstring of (define (invoke program . args) "Invoke PROGRAM with the given ARGS. Raise an exception if the exit code is non-zero; otherwise return #t." in guix/build/utils.scm, invoke always returns #t, so I did not change the phases ending in invoke. > I don't know how to test the package, but it passes lint & build, > including --rounds=3D2 to check for reproducibility. >=20 > Regards, > Jakub K=C4=85dzio=C5=82ka The important user of v86d is uvesafb. uvesafb allows me to make Xorg work on multiple computers of mine with #!/bin/sh modprobe uvesafb mode_option=3D1280x800-32 \ v86d=3D/run/current-system/profile/sbin/v86d chmod o+rw /dev/fb0 sleep 1 herd restart xorg-server On many computers, the behavior can be tested when having a service (set-xorg-configuration (xorg-configuration (modules (list xf86-video-fbdev xf86-input-libinput)))) and passing the kernel parameter 'nomodeset' e.g. in GRUB, because then the framebuffer /dev/fb0 is only present when using uvesafb. But I believe I have tested sufficiently. Thank you! Florian From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 21 10:33:14 2020 Received: (at control) by debbugs.gnu.org; 21 Mar 2020 14:33:14 +0000 Received: from localhost ([127.0.0.1]:47789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFfBa-0000yH-09 for submit@debbugs.gnu.org; Sat, 21 Mar 2020 10:33:14 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:43258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFfBY-0000y3-CG for control@debbugs.gnu.org; Sat, 21 Mar 2020 10:33:12 -0400 Received: by mail-wr1-f50.google.com with SMTP id b2so10955891wrj.10 for ; Sat, 21 Mar 2020 07:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:from:subject; bh=t/CkqNLaxqYHt/xj7A1Td+6JHSGxrnH7mu51M7DXBhs=; b=t0lYm/LPFot38+Vy5SNZjUddtSjtERDWajoUAQZzUolkp0roK91HeNYxtUbNQTZ4+m A39JKxTR+fDiIB5x37LoNZyPZL73fOlznDwJ0GC6TPgXfejE1Aont7GOIPcZ2yHV5oJA 78eiPWucJ4Iiqn3M8PgrQU2H/QeapPD/6hiVWjjuqqRbv8AzrOFPR3cjdmpf+rY6m8UX a+lH7CViB4BY/Iwamwy6Qgv7m0DrCRggWphyeEW969eMjX5NbVuNax7/q+nobOZPzH9q IA6cKEmWXjtDVN6XduPisxzFk1ckjrixoxxnrhNOovdOL2zl+dB+bx+fskp0ggbfv8i7 R15g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:from:subject; bh=t/CkqNLaxqYHt/xj7A1Td+6JHSGxrnH7mu51M7DXBhs=; b=rlguixCd3oNe7DFvIAPZk4NpR2Ws24aHwHMrC+imLzB4cger9kohgPxvjQ2VeM/3Y4 R1zcarIiJMWtOABGpASp0erycJpWETDSYQmeMypLuad+p1mGllvvX7yB9kjD5GXfCYKd 5WWyQzKfpmSTguI8SJ2fWbx2qol1VrqeJTFlOTm3pwkPnZQKf5eWP2hahXLA1lzaRL/c QdinulvJOxagjk2v16ZXAupaTr+Fw4HMLUN9V0qTZEMRL0LPkqsiCCfNHZRI95so2wHW f2E+9Qd/piX/p8RPRf1S+Yx6BUx9rOdT3g8euz3udV9xngRh0AjMQLJCt4y3Lqi50k+x QgLg== X-Gm-Message-State: ANhLgQ0m0c5S+inIAT2jxZgAGrwFxSDQn1Sm0klg7/lqTQLba+WVaHop +8TKX/xiQMMe+UvZXYcBoGd9d/qR X-Google-Smtp-Source: ADFU+vsnkLzXuxE8eKkGvQj/Tai28eAuivzjKYZX9A6liCOoVkWcePCRAmbcaGJLQKW19fuYcHMHZA== X-Received: by 2002:a05:6000:4a:: with SMTP id k10mr17000624wrx.381.1584801186634; Sat, 21 Mar 2020 07:33:06 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:acf7:2f15:39af:8258]) by smtp.gmail.com with ESMTPSA id v26sm13702875wra.7.2020.03.21.07.33.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Mar 2020 07:33:06 -0700 (PDT) Date: Sat, 21 Mar 2020 15:33:05 +0100 Message-Id: <875zexkcbi.fsf@gmail.com> To: control@debbugs.gnu.org From: Mathieu Othacehe Subject: control message for bug #40084 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 40084 quit From unknown Thu Jun 19 14:07:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 19 Apr 2020 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator