From patchwork Wed Jan 16 15:27:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: pkill9 X-Patchwork-Id: 753 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 E6DEF16A7D; Wed, 16 Jan 2019 15:28:11 +0000 (GMT) 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,FREEMAIL_FROM, T_DKIM_INVALID,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=unavailable 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 20BBB16A7C for ; Wed, 16 Jan 2019 15:28:10 +0000 (GMT) Received: from localhost ([127.0.0.1]:52466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjn6v-0006OV-IQ for patchwork@mira.cbaines.net; Wed, 16 Jan 2019 10:28:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjn6q-0006OL-IV for guix-patches@gnu.org; Wed, 16 Jan 2019 10:28:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjn6p-0005i3-Ag for guix-patches@gnu.org; Wed, 16 Jan 2019 10:28:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjn6p-0005fv-4z for guix-patches@gnu.org; Wed, 16 Jan 2019 10:28:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjn6o-0006Js-FI for guix-patches@gnu.org; Wed, 16 Jan 2019 10:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34105] [PATCH] Add pencil2d. Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Jan 2019 15:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34105 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34105@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches" Received: via spool by submit@debbugs.gnu.org id=B.154765246624269 (code B ref -1); Wed, 16 Jan 2019 15:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jan 2019 15:27:46 +0000 Received: from localhost ([127.0.0.1]:33784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjn6Y-0006JN-CH for submit@debbugs.gnu.org; Wed, 16 Jan 2019 10:27:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjn6W-0006JA-0z for submit@debbugs.gnu.org; Wed, 16 Jan 2019 10:27:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:50730) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gjn6Q-0004uE-ME for submit@debbugs.gnu.org; Wed, 16 Jan 2019 10:27:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjn6P-0006Hv-EV for guix-patches@gnu.org; Wed, 16 Jan 2019 10:27:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjn6O-0004m0-6i for guix-patches@gnu.org; Wed, 16 Jan 2019 10:27:37 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33182) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjn6N-0004bp-JV for guix-patches@gnu.org; Wed, 16 Jan 2019 10:27:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Message-Id:Content-Type:Date:Subject:To:From:MIME-Version; bh=l/N2RwvOqgJS5Ol7DKJbrkYrTzV9xHeQgxP9XzWbWn8=; b=nShrt9icgRvJNy+jrmboUMppW mb7C6NYv+q6oorygwiEZ2ucTGPWGMXyHdPrt/1UX8KcxKmFKpMVkya2g/kz8iJsQO4IMOyW/02iK0 j32jftvfVdoy774fxKSprJPGDAinotopTPXzIzXdvnl9zpd8MoTdq+QMCeN2AKbHP0tJrC1AV2VX7 tX3Tfml4JP0vsp7+Me+yzSWqLD5sfyWNkbcQ6pSN8Ypg7AVWuxzvfjHVgF9i1so/oPQp4TCQ5CgKL 3aEeQDGHqo59rGNRS/1KJaJPkdyR8WLlXMN+JxDMBZ3rKr7Ywz5UEpMe726Accx9rlcHExl2UWzBt 8DblZ2v3w==; Received: from [10.9.9.129] (helo=rmmprod07.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gjn6L-0001Pk-2b for guix-patches@gnu.org; Wed, 16 Jan 2019 16:27:33 +0100 Received: from mail by rmmprod07.runbox with local (Exim 4.86_2) (envelope-from ) id 1gjn6L-0004yG-02 for guix-patches@gnu.org; Wed, 16 Jan 2019 16:27:33 +0100 MIME-Version: 1.0 Received: from [Authenticated user (850733)] by runbox.com with http (RMM6); for ; Wed, 16 Jan 2019 15:27:32 GMT From: Date: Wed, 16 Jan 2019 15:27:32 +0000 (GMT) X-Mailer: RMM6 Message-Id: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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 This patch adds the Pencil2D software package (https://www.pencil2d.org). I've run `guix lint`, and checked that it builds/runs fine. From d0c680e629b4c85ee462b624c65683a0a52306d9 Mon Sep 17 00:00:00 2001 From: Pkill -9 Date: Wed, 16 Jan 2019 15:14:45 +0000 Subject: [PATCH] gnu: Add pencil2d. * gnu/packages/animation.scm (pencil2d): New variable. --- gnu/packages/animation.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm index a10747ef3..5b9ca033b 100644 --- a/gnu/packages/animation.scm +++ b/gnu/packages/animation.scm @@ -26,6 +26,7 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages bash) #:use-module (gnu packages boost) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) @@ -258,3 +259,43 @@ easy to lip sync animated characters by making the process very simple – just type in the words being spoken, then drag the words on top of the sound’s waveform until they line up with the proper sounds.") (license license:gpl3+)))) + +(define-public pencil2d + (package + (name "pencil2d") + (version "0.6.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pencil2d/pencil") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1iv7drwxs32mqs3hybjx2lxyqn8cv2b4rw9ny7gzdacsbhi65knr")))) + (build-system gnu-build-system) + (inputs + `(("bash" ,bash) ;; Bash is used for wrap-program + ("qtbase" ,qtbase) + ("qtxmlpatterns" ,qtxmlpatterns) + ("qtmultimedia" ,qtmultimedia) + ("qtsvg" ,qtsvg))) + (arguments + `(#:phases + (modify-phases standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (qmake (string-append (assoc-ref inputs "qtbase") + "/bin/qmake"))) + (invoke qmake (string-append "PREFIX=" out))))) + (add-after 'install 'wrap-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (plugin-path (getenv "QT_PLUGIN_PATH"))) + (wrap-program (string-append out "/bin/pencil2d") + `("QT_PLUGIN_PATH" ":" prefix (,plugin-path))))))))) + (home-page "https://www.pencil2d.org") + (synopsis "Tool to make 2D hand-drawn animations") + (description "Pencil2D is an easy, intuitive tool to make 2D hand-drawn animations.") + (license license:gpl2))) -- 2.20.1