From patchwork Wed May 13 12:44:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kei Kebreau X-Patchwork-Id: 22051 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 BF91527BBE3; Wed, 13 May 2020 13:45:10 +0100 (BST) 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,RCVD_IN_MSPIKE_H2,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 7325527BBE1 for ; Wed, 13 May 2020 13:45:10 +0100 (BST) Received: from localhost ([::1]:36020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYql3-0005Sw-VR for patchwork@mira.cbaines.net; Wed, 13 May 2020 08:45:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYqkw-0005Sp-AB for guix-patches@gnu.org; Wed, 13 May 2020 08:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYqkv-0007rJ-W2 for guix-patches@gnu.org; Wed, 13 May 2020 08:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYqkv-0007jH-Sr for guix-patches@gnu.org; Wed, 13 May 2020 08:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41230] [PATCH] gnu: Add libqglviewer. Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 May 2020 12:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41230 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41230@debbugs.gnu.org Cc: Kei Kebreau X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158937386829650 (code B ref -1); Wed, 13 May 2020 12:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2020 12:44:28 +0000 Received: from localhost ([127.0.0.1]:57592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYqkO-0007iA-Cf for submit@debbugs.gnu.org; Wed, 13 May 2020 08:44:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:35078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYqkM-0007i3-Q0 for submit@debbugs.gnu.org; Wed, 13 May 2020 08:44:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYqkM-0005QS-JA for guix-patches@gnu.org; Wed, 13 May 2020 08:44:26 -0400 Received: from mout02.posteo.de ([185.67.36.66]:59051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYqkK-0007hJ-T5 for guix-patches@gnu.org; Wed, 13 May 2020 08:44:26 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D62E32400FC for ; Wed, 13 May 2020 14:44:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1589373859; bh=rV+YZRLBz3Y0iJRWUjsN1RnZGLxO0I7R8ovzs1ai7xk=; h=From:To:Cc:Subject:Date:From; b=ejVRwwbyEL4HSUhaCeyPUfiRFtVXr/rM6wW1jHemLSUTyQSG5kzJh0WYIG+TsIRua s4u+f0XfNcLxHOCsb3hO4DGCMLVGVG65Peik6m6Gg5ttNxCVNSI4wttjPbe6BM9sxg k++9XpuV4mS2x2Wp1FbwnvrkHCyl8pU/CxGfHyUekDwW6lwra4MREZaEZ04S3t9DTV Z9Wbq9rLTJ2FpZKl2+Noz6J/y5+VX7BafID5bNr4l+lnNcIsd3TbjAJ55FvkRChn8b T2S7j7DijR2pW/IgtLYpZ5AaWyzd1nt/ZZAxPYQeS33YspW8gVc7hCwk2NguoS4f69 H75IxkS5mAGxw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49MZ9t0md2z6tmG; Wed, 13 May 2020 14:44:17 +0200 (CEST) From: Kei Kebreau Date: Wed, 13 May 2020 08:44:07 -0400 Message-Id: <20200513124407.31539-1-kkebreau@posteo.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=kkebreau@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/13 08:44:20 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 * gnu/packages/qt.scm (libqglviewer): New variable. --- gnu/packages/qt.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 9d54fde887..caa758d59f 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2018 John Soo ;;; Copyright © 2020 Mike Rosset ;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2020 Kei Kebreau ;;; ;;; This file is part of GNU Guix. ;;; @@ -2698,3 +2699,46 @@ generate Python bindings for your C or C++ code.") (description "Contains lupdate, rcc and uic tools for PySide2") (license license:gpl2))) + +(define-public libqglviewer + (package + (name "libqglviewer") + (version "2.7.2") + (source (origin + (method url-fetch) + (uri + (string-append "http://libqglviewer.com/src/libQGLViewer-" + version ".tar.gz")) + (sha256 + (base32 + "023w7da1fyn2z69nbkp2rndiv886zahmc5cmira79zswxjfpklp2")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; no check target + #:make-flags (list (string-append "PREFIX=" + (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke (cons "qmake" make-flags))))))) + (native-inputs + `(("qtbase" ,qtbase) + ("qttools" ,qttools))) + (inputs + `(("glu" ,glu))) + (home-page "http://libqglviewer.com") + (synopsis "Qt-based C++ library for the creation of OpenGL 3D viewers") + (description + "@code{libQGLViewer} is a C++ library based on Qt that eases the creation +of OpenGL 3D viewers. + +It provides some of the typical 3D viewer functionalities, such as the +possibility to move the camera using the mouse, which lacks in most of the +other APIs. Other features include mouse manipulated frames, interpolated +keyFrames, object selection, stereo display, screenshot saving and much more. +It can be used by OpenGL beginners as well as to create complex applications, +being fully customizable and easy to extend.") + ;; According to LICENSE, either version 2 or version 3 of the GNU GPL may + ;; be used. + (license (list license:gpl2 license:gpl3))))