From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6ALrBn1wlmFoBwAAgWs5BA (envelope-from ) for ; Thu, 18 Nov 2021 16:25:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OP/BAX1wlmFzAQAAB5/wlQ (envelope-from ) for ; Thu, 18 Nov 2021 15:25:49 +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 9FF9221FFE for ; Thu, 18 Nov 2021 16:25:48 +0100 (CET) Received: from localhost ([::1]:59534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnjIJ-0004tw-El for larch@yhetil.org; Thu, 18 Nov 2021 10:25:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnjHg-0004ST-Qg for guix-patches@gnu.org; Thu, 18 Nov 2021 10:25:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnjHa-0004x3-DH for guix-patches@gnu.org; Thu, 18 Nov 2021 10:25:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnjHa-00067U-AD for guix-patches@gnu.org; Thu, 18 Nov 2021 10:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51951] [PATCH] gnu: Add libresprite. References: <0YW5e3TveS73aXIyD0YkeVdne1S88mV6wqBbEwkyn_cvXnzjyizVgeiAVCRpw8W9_7Gj3vignMYpLg1z0jFy0jF7kqW_HBZX0aOMeT6ah0Q=@elenq.tech> In-Reply-To: <0YW5e3TveS73aXIyD0YkeVdne1S88mV6wqBbEwkyn_cvXnzjyizVgeiAVCRpw8W9_7Gj3vignMYpLg1z0jFy0jF7kqW_HBZX0aOMeT6ah0Q=@elenq.tech> Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Nov 2021 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51951 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "51951@debbugs.gnu.org" <51951@debbugs.gnu.org> Received: via spool by 51951-submit@debbugs.gnu.org id=B51951.163724905923443 (code B ref 51951); Thu, 18 Nov 2021 15:25:02 +0000 Received: (at 51951) by debbugs.gnu.org; 18 Nov 2021 15:24:19 +0000 Received: from localhost ([127.0.0.1]:36911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnjGo-00065v-25 for submit@debbugs.gnu.org; Thu, 18 Nov 2021 10:24:19 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:19002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnjGk-00065Z-9w for 51951@debbugs.gnu.org; Thu, 18 Nov 2021 10:24:13 -0500 Date: Thu, 18 Nov 2021 15:24:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1637249042; bh=Hg7BPDpQY/WBsr6Zb0PNcNQb9ttbVpnb8AhFNMaB0z8=; h=Date:To:From:Reply-To:Subject:From; b=s2ZRhCLi8lu7PM4F5H9/RedB2SdRYSiw7la0rqKhXUqmghkAtJ2kXZdCHG386W8go YvGehghvlz2giGCHuIWGcgBVWysODYIfV52CJJ2yWJLzyjVh1bVHtOYiexofedZmEu nbwPX5tNZNTPZrvcAEcFbiqxdF43Ums7UkkC+JZ4aC3Htp4Qh07AZiwYQTczwgFMJm YEYk7gft617MXAWsa31jALU7isuNBsqsq/IxOEhLq2V8OZcgZzsvt5QMOWt2aG/zqh YkPrjd3+hurjgTJTscSl1jKPsExQSFftNvUgkeyCCZCrAstcZ/6ZDG/avW/KOsL/b+ W9xwedPv3af6g== From: Ekaitz Zarraga Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637249148; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Hg7BPDpQY/WBsr6Zb0PNcNQb9ttbVpnb8AhFNMaB0z8=; b=gSgmkAvpm93T9CTAPNQOLvWXQL3adjQQCBZypHi/XFGm1A8TEIEUyKPtlQWonEk0Ztaj+D 2WX6j0134Wlm4wPnJz0kE5S3P74pr7tTX2KHGhQ1zAJk0MFsa0/s7uRcu3xb7n5XYa9zjT 5I8eWbdMIVAmArWKspEZGY6WG6uAXtWWnKR3jWkstFd8v4j0+jM7SsO1gRMQ0HMUfdU1t8 DGqgfMKF6U7Th8bn83+KcAS6HVDS5ER3Nb+zOjRVeo/9YQa/LTSOKH+BJugWeNmSZ9e/Mq aXPNXzkn5NS+RvkOQuP+whUlwfwB02GIvmIz6Ur8066wAlrV/8YZzhzQOMSSSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637249148; a=rsa-sha256; cv=none; b=c44RTzzF4Z+ZtMaXd5hSTM5jmgj3D5CE7qL8KS7a7JHjnBfxOPbW0t6pgFYXOJLo3ly8nz WztN23SgzPthdL5x2IyhNd++VNTGMb0vHjRIXkxkhF3yOhsMd2UybJ4deKLJAo6Ag8g/kQ /nHtdPFv4KIkTvg3wnHQRiAN9JyjPXzo/N2bMCuq0dL7i3WlXkTal1JOT1FCAWwlpSI2tX GO6oz9IOZBEp+DASRRFxOoRT7quBPBCISl2F5HVOfRxiowxTS1mLx9dtZKoD6oLsNSyUGv GccufCklcznmvLQ8g4EkSsqOfVTO/FfLHB6d4rL7sPBW3ztd4typHdOu4BkRXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail header.b=s2ZRhCLi; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail header.b=s2ZRhCLi; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9FF9221FFE X-Spam-Score: -1.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: ryaNrPMezqFm Corrected the description. It had a reference to Aseprite. Sorry for the noise. >From 094c876b6d11464916ad021ad6c777f245e3c8df 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..f822b496be 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, LibreSprite can assis= t in +the creation of animations, tiled graphics, texture atlases, and more. +LibreSprite 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