From patchwork Thu Jun 13 18:15:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Amar M. Singh" X-Patchwork-Id: 14312 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 28DE9170CC; Thu, 13 Jun 2019 20:08:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A8DCE170CA for ; Thu, 13 Jun 2019 20:08:42 +0100 (BST) Received: from localhost ([::1]:44362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbV5W-0002uq-7r for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 15:08:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54204) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbUGa-0004D5-Kh for guix-patches@gnu.org; Thu, 13 Jun 2019 14:16:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbUGY-00030w-PI for guix-patches@gnu.org; Thu, 13 Jun 2019 14:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50771) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbUGY-00030Q-Jx for guix-patches@gnu.org; Thu, 13 Jun 2019 14:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbUGY-0003Le-ES for guix-patches@gnu.org; Thu, 13 Jun 2019 14:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36197] [Patch] gnu: add celestia; celestia-gtk Resent-From: Amar Singh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36197 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36197@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156044975212843 (code B ref -1); Thu, 13 Jun 2019 18:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jun 2019 18:15:52 +0000 Received: from localhost ([127.0.0.1]:36082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbUGJ-0003L1-MF for submit@debbugs.gnu.org; Thu, 13 Jun 2019 14:15:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:49409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbUGH-0003Ku-UK for submit@debbugs.gnu.org; Thu, 13 Jun 2019 14:15:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54061) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbUGG-0003VG-6H for guix-patches@gnu.org; Thu, 13 Jun 2019 14:15:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbUG5-0002AQ-Lt for guix-patches@gnu.org; Thu, 13 Jun 2019 14:15:40 -0400 Received: from knopi.disroot.org ([178.21.23.139]:40644) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hbUFt-0001gK-5B for guix-patches@gnu.org; Thu, 13 Jun 2019 14:15:23 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 50D2D34808 for ; Thu, 13 Jun 2019 20:15:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ba6z-83R3jOx for ; Thu, 13 Jun 2019 20:15:12 +0200 (CEST) From: Amar Singh DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1560449712; bh=vrg09jdaIFJkAQ+UDpCB+0glCj161z2Fbjt9aYiN1us=; h=From:To:Subject:Date; b=EhdyIwXIYlRnUWNanJsDHPoyWKg+9qwjhmOWMz0se/0Hafn6GQx698ynrVisXk159 4AVybvxuwqnP9TB+F2MP40t2I7XoPFQy0e5XPCd07E/fv/18FAIIUn6+FGGda973ll 0AqTlytCKsL4wVqHFLYv4fZMoFRcmogmD3FlRbTaCkMCjmQFl4Ca32rGhOsbcjR+gY GrfJRXiIqldnDFuOcP9u5zCKR1FaaC3tWqfshI54RZ7Pw8SixIem/CLMPJBZcsixiJ 8BF4cjZoihzLG0cpXTpLmPiyateCKj25pvZUe+BZ31gFx+kvYNMBK1f+7eoTbKEJrE Shvz3S02nyPqQ== Date: Thu, 13 Jun 2019 23:45:05 +0530 Message-ID: <855zp9gxna.fsf@disroot.org> Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" X-getmail-retrieved-from-mailbox: Patches Added Celestia; space visualisation and simulator to (gnu packages astronomy). Tests are disabled because the project does not include any tests. From c8dd3c6871da910761ea8908f6bc9866c7f3c5ac Mon Sep 17 00:00:00 2001 From: Amar Singh Date: Thu, 13 Jun 2019 22:53:22 +0530 Subject: [PATCH 2/2] gnu: Add celestia-gtk. * gnu/packages/astronomy.scm (celestia-gtk): New variable. --- gnu/packages/astronomy.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index c0ddbca033..206b9b0b5a 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -38,6 +38,8 @@ #:use-module (gnu packages perl) #:use-module (gnu packages gl) #:use-module (gnu packages qt) + #:use-module (gnu packages gtk) + #:use-module (gnu packages gnome) #:use-module (gnu packages maths) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu)) @@ -238,3 +240,18 @@ object in the expandable database and view it from any point in space and time. The position and movement of solar system objects is calculated accurately in real time at any rate desired.") (license license:gpl2)))) + +(define-public celestia-gtk + (package (inherit celestia) + (name "celestia-gtk") + (version (package-version celestia)) + (inputs + (append (filter (lambda (x) + (not (equal? (car x) "freeglut"))) + (package-inputs celestia)) + `(("gtk2" ,gtk+-2) + ("gtkglext" ,gtkglext)))) + (arguments + `(#:configure-flags '("-DENABLE_GTK=ON" "-DENABLE_QT=OFF") + #:tests? #f)))) + -- 2.22.0