From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aAi6L0FqlmFJYAEAgWs5BA (envelope-from ) for ; Thu, 18 Nov 2021 15:59:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KBJjK0FqlmHfaAAA1q6Kng (envelope-from ) for ; Thu, 18 Nov 2021 14:59:13 +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 1E085215A0 for ; Thu, 18 Nov 2021 15:59:13 +0100 (CET) Received: from localhost ([::1]:55894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnisa-0007Qo-8z for larch@yhetil.org; Thu, 18 Nov 2021 09:59:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnisQ-0007MD-8L for guix-patches@gnu.org; Thu, 18 Nov 2021 09:59:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnisP-0008K6-Vt for guix-patches@gnu.org; Thu, 18 Nov 2021 09:59:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnisP-00031m-US for guix-patches@gnu.org; Thu, 18 Nov 2021 09:59:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51951] [PATCH] gnu: Add libresprite. Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Nov 2021 14:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51951 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51951@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.163724752711584 (code B ref -1); Thu, 18 Nov 2021 14:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2021 14:58:47 +0000 Received: from localhost ([127.0.0.1]:36878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnis5-00030Z-KN for submit@debbugs.gnu.org; Thu, 18 Nov 2021 09:58:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:56220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnis3-00030P-Bc for submit@debbugs.gnu.org; Thu, 18 Nov 2021 09:58:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnis3-0006XQ-3W for guix-patches@gnu.org; Thu, 18 Nov 2021 09:58:39 -0500 Received: from mail-0301.mail-europe.com ([188.165.51.139]:59272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnirz-0008CP-1T for guix-patches@gnu.org; Thu, 18 Nov 2021 09:58:38 -0500 Date: Thu, 18 Nov 2021 14:58:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1637247502; bh=v4x9Se97yt5zXyXAlGv3D0Q4ymd/QZbcJdL6rJux3WU=; h=Date:To:From:Reply-To:Subject:From; b=Vq3sc3smR3M2YQGIg8cOmalU8xGmcF/t56OYXawRXeCxKlXhr6mFdi0iJwzbYH3Vw xZNG3tQ28HAIHpde4OrDy06IK9FB9fm4mJFhzD9Z6T+FBx9lL20xzBBF3741CLzeEx 0WMMSLznTWPuDuwPt7XysJ8F7rk2VI3MrdnW8FmJezm0a/E1wwKwVHQyJEDMM/qv20 F+7Mpf6IomSHzAsoUvD1iB56+PVQv3d6iS2LWBWTpF1oESXBFRV8X0EcAeLXqBuwKN 1CUDjSPEY6cnD8204Ah7CQTA+AVCxOSIMdtupBKKZnt4iFrgIDCj+T0TDyxMKJ9fj/ Pr87s/JtSKoTA== From: Ekaitz Zarraga Message-ID: <0YW5e3TveS73aXIyD0YkeVdne1S88mV6wqBbEwkyn_cvXnzjyizVgeiAVCRpw8W9_7Gj3vignMYpLg1z0jFy0jF7kqW_HBZX0aOMeT6ah0Q=@elenq.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=188.165.51.139; envelope-from=ekaitz@elenq.tech; helo=mail-0301.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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: , Reply-To: Ekaitz Zarraga Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637247553; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=v4x9Se97yt5zXyXAlGv3D0Q4ymd/QZbcJdL6rJux3WU=; b=nFUB90BKTGmDVeeXT++pcXIhIPp0Q/r1ABogXiP6g96jN5kmvjS06cBBUOq9I2rEb9C8v7 pxVRMwgRDccSwx6HcJ4zv7tC3jgXbuW23emv8e9eWhsWphdPdJSFDFA1SGkPh3erC2G1NW GOWaX2gq7mJk1mu+yilYRxd7DzFcrtBD/nc74embEoTx9oETYqzDG8/WAkl1fuxXOhRtSW qtIe0Wi/ixhwYwHoo37+E6KhnlbUIUPMjoia1+EUW/fK5GD5wG6V+M9ObrZgAM9S+/GkJ3 /qgyDnHp2N2HiONgUayPCBRr5glXGgV6iK6J4fUGI6NWlh8FAtE3UC7p4+9ToQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637247553; a=rsa-sha256; cv=none; b=SehffbI3TujA+aQYGBD0GnT31uBVzTBgYHlYY37vbnDzHerGotyaBfcFGrrRezRF5+ZPQg GLtgfuYCiZ1Eq/GFra067R1470aZBQvb7O+JpqsQ9D6pdXE7qrQhY+dtnl422l2JLBuHab xgJ7nKcmWi1w1oG9T4hoJmdoQA00ltQJsT7w4ckbzHuqj+MCFpW4JkPX58M1z5DZMDjKSF e/B54y4TD7xPXJNnmudQAcFxyuhy3J4omnUvSdPj+rhKvV4bmjxfZU5Z7w42NiZ8HIkvBc qCM5Cn8IYaKG95vn0Xs5qSnjgtycXdGbS+t1OsQMEjQ4F2CPeiQ4xg6PG9ckIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail header.b=Vq3sc3sm; 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-Migadu-Spam-Score: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail header.b=Vq3sc3sm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); 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-Migadu-Queue-Id: 1E085215A0 X-Spam-Score: -1.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: FsJXxJSBbAlR >From ebf5421f72e91d3b215bb4eb4f4b642d7a4ffa98 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Thu, 18 Nov 2021 15:56:38 +0100 Subject: [PATCH] gnu: Add libresprite. * gnu/packages/game-development.scm (libresprite): New variable. --- gnu/packages/game-development.scm | 54 +++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-developm= ent.scm index 51ec4a5fc2..1f6dcdc0e6 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -23,6 +23,7 @@ ;;; Copyright =C2=A9 2021 Alexandru-Sergiu Marton ;;; Copyright =C2=A9 2021 Dmitry Polyakov ;;; Copyright =C2=A9 2020-2021 James Smith +;;; Copyright =C2=A9 2021 Ekaitz Zarraga ;;; ;;; This file is part of GNU Guix. ;;; @@ -1016,6 +1017,59 @@ (define-public aseprite (home-page "https://www.aseprite.org/") (license license:gpl2+))) +(define-public libresprite + (package + (name "libresprite") + (version "1.0") + ;; TODO: Unbundle third party software. + ;; - duktape is bundled inside the project but it's hard to unbundle: + ;; there are many differences from a version to the next and it is n= ot + ;; really designed to work as a shared lib. + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/LibreSprite/LibreSprite") + (commit (string-append "v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0djbjjh21ahlxzh0b0jp4mpfycam8h9157i4wbxkd618fraadhbp")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags + (list "-DWITH_WEBP_SUPPORT=3D1") + ;; Tests are unmaintained + #:tests? #f)) + (native-inputs + `(("gcc@10" ,gcc-10) ; Requires 8.5 or higher + ("pkg-config" ,pkg-config))) + (inputs + `(("curl" ,curl) + ("freetype" ,freetype) + ("giflib" ,giflib) + ("googletest" ,googletest) + ("libjpeg" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libwebp" ,libwebp) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libxxf86dga" ,libxxf86dga) + ("libxxf86vm" ,libxxf86vm) + ("lua" ,lua) ; Optional + ("pixman" ,pixman) + ("sdl2" ,sdl2) + ("sdl2-image" ,sdl2-image) + ("tinyxml" ,tinyxml) + ("zlib" ,zlib))) + (synopsis "Animated sprite editor and pixel art tool") + (description "LibreSprite is a tool for creating 2D pixel art for vide= o +games. In addition to basic pixel editing features, Aseprite can assist i= n the +creation of animations, tiled graphics, texture atlases, and more. LibreS= prite +is a fork of the latest GPLv2 commit of Aseprite.") + (home-page "https://libresprite.github.io/") + (license license:gpl2+))) + (define-public qqwing (package (name "qqwing") -- 2.34.0