From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id lApZKEfVel8CBQAA0tVLHw (envelope-from ) for ; Mon, 05 Oct 2020 08:11:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cJ+4I0fVel8+LgAA1q6Kng (envelope-from ) for ; Mon, 05 Oct 2020 08:11:51 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3BC7F940546 for ; Mon, 5 Oct 2020 08:11:51 +0000 (UTC) Received: from localhost ([::1]:38872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPLb4-0001pd-5y for larch@yhetil.org; Mon, 05 Oct 2020 04:11:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPLaI-0000vH-Hu for guix-patches@gnu.org; Mon, 05 Oct 2020 04:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPLaH-0005iD-Re for guix-patches@gnu.org; Mon, 05 Oct 2020 04:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPLaH-0004Cd-NL for guix-patches@gnu.org; Mon, 05 Oct 2020 04:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43654] [PATCH] Add perl-opengl References: <86pn67xcmn.fsf@gmail.com> In-Reply-To: <86pn67xcmn.fsf@gmail.com> Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Oct 2020 08:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43654 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43654@debbugs.gnu.org Received: via spool by 43654-submit@debbugs.gnu.org id=B43654.160188544916137 (code B ref 43654); Mon, 05 Oct 2020 08:11:01 +0000 Received: (at 43654) by debbugs.gnu.org; 5 Oct 2020 08:10:49 +0000 Received: from localhost ([127.0.0.1]:47767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPLa4-0004CD-Lj for submit@debbugs.gnu.org; Mon, 05 Oct 2020 04:10:48 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:33451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPLa2-0004Bz-MV for 43654@debbugs.gnu.org; Mon, 05 Oct 2020 04:10:47 -0400 Received: by mail-wm1-f51.google.com with SMTP id z22so1182880wmi.0 for <43654@debbugs.gnu.org>; Mon, 05 Oct 2020 01:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=ru6TcqTiab1re/mpJ/orC6h8gL9JWZ/Pit774qSxYDY=; b=DCc668e51xuiXprbWNg1GGx42k1URNP2gmDyTRE55ndi/eWesv6NbzB+S/wKMWWZUR RT1XPzt6Defs0hEEwhNmI/VP2EogeR15RFJ+YnllQcjkLjhmpRmrlU/NwIuHj2brXtBz mCiqnYXTkrHwrx8mmhptSnc7mMLcKq+O29AiSH+9l/gU+KpjkCcOT7P8a/gcn4YedRqI 1EygNWI8qEIywjCk/iUDgzl0G0DZjtxarccVvZ9/c33bp9X0NieQY2MC34AUxhKqNOqc az3pUX65ZqtTXp0sFs6vLvyr+3syoxmv+DpTJMoQYyFsQozWh4gNgGkLOhfRGZRWXlaU jUVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=ru6TcqTiab1re/mpJ/orC6h8gL9JWZ/Pit774qSxYDY=; b=sxD5UWDkGKa6fs7aUULcZsfIUYiX/aoeNO/KfN4NOqko4kkEiZQxG/GssejedXOz7f 6Iarr3p1bWZjWCldLtqKh+rS1aQKBoj8YS4iX8YWi14A5fRre71+zKV5xUuZD2D/0zid y1WkPADbSuhcTDUroqglyKzlsQEHt2N1VtaGuabMZu7iUPJBHgqJviU2eWqLfwJz1wOA 0c5BYZ1SZifxZzinBDIGSIX9G/xLDFgV6bUCykdGlgMOKU932ycxUsr4CFZUqMJCxYZ7 QNxBEpsIvlEwcyYoT+xt8MiHqP6Suvocv1sfa6h7TOXc940cn7egcbOdTyvFu2ubzzZR 0wWQ== X-Gm-Message-State: AOAM532ZfeTzPl9912havJfw1s5A/Y9Iy8k3aLdZdtNXXnHRiJgvA5fK MGz8DDZSXx85fUMFsXo9zchATO/EWzo= X-Google-Smtp-Source: ABdhPJzxKqP4KNy29AqldQuVBH7N2SDYukkKAFk73x6Ty3Dl07bJs+oBaAB89VHbr9385QpHHZCrwg== X-Received: by 2002:a05:600c:2284:: with SMTP id 4mr3267849wmf.163.1601885440653; Mon, 05 Oct 2020 01:10:40 -0700 (PDT) Received: from Morphium (ip-84-118-73-55.unity-media.net. [84.118.73.55]) by smtp.gmail.com with ESMTPSA id i16sm12167192wrq.73.2020.10.05.01.10.39 for <43654@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2020 01:10:39 -0700 (PDT) From: Malte Frank Gerdes Date: Mon, 05 Oct 2020 10:10:39 +0200 Message-ID: <86h7r9um80.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=DCc668e5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: pfuQHgW1YOaN --=-=-= Content-Type: text/plain In order to run the test.pl file from the official repo those packages are also needed. Unfortunately i only get a black screen... I'm using sway so that might make a difference even though xwayland is enabled. It's also interesting that this app dynamically determines which OpenGL features and which driver is installed. And juding from the output this also gets run when perl-opengl is built. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=needed-for-perl-opengl-test.patch diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 853968f5f1..31ddbb1e54 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -7931,6 +7931,66 @@ documents within a single file.") and FreeGLUT.") (license (package-license perl)))) +(define-public perl-opengl-shader + (package + (name "perl-opengl-shader") + (version "1.01") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/B/BF/BFREE/OpenGL-Shader-" + version + ".tar.gz")) + (sha256 + (base32 + "0wmd76smyd9qzr3ga86vjhkzjj9ga6prqhyvdi41l1jfk0x82pcz")))) + (build-system perl-build-system) + (native-inputs + `(("xvfb" ,xorg-server-for-tests))) + (propagated-inputs + `(("perl-opengl" ,perl-opengl))) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; Tests require a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + #t)) + ))) + (home-page + "https://metacpan.org/release/OpenGL-Shader") + (synopsis + "empty") + (description "empty") + (license #f))) + +(define-public perl-opengl-image + (package + (name "perl-opengl-image") + (version "1.03") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/B/BF/BFREE/OpenGL-Image-" + version + ".tar.gz")) + (sha256 + (base32 + "1cf7c0fgba7g3r09y5hbj6ljs6dyjbzaqf9mv3qz807np3msqqa6")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-opengl" ,perl-opengl))) + (home-page + "https://metacpan.org/release/OpenGL-Image") + (synopsis + "empty") + (description "empty") + (license #f))) + (define-public perl-package-anon (package (name "perl-package-anon") --=-=-= Content-Type: text/plain Malte --=-=-=--