unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59391] [PATCH 0/1] gnu: Add Virality Engine
@ 2022-11-19 22:42 Sharlatan Hellseher
  2022-11-19 22:43 ` [bug#59391] [PATCH 1/1] gnu: Add cl-virality Sharlatan Hellseher
  0 siblings, 1 reply; 3+ messages in thread
From: Sharlatan Hellseher @ 2022-11-19 22:42 UTC (permalink / raw)
  To: 59391; +Cc: Sharlatan Hellseher

Hi Guix team!

This is a final patch which summarised my efforts to bring Virality Game
Engine to Guix.

There is one thing to note, some of the packages which are in Guix right now
were merged into Virality code base recently and upstream development
completely closed by the author (see README note):

Here is a list of them:
>   2290:               (url "https://git.mfiano.net/mfiano/seedable-rng")
>  10188:               (url "https://git.mfiano.net/mfiano/origin")
>  12838:               (url "https://git.mfiano.net/mfiano/pngload.git")
>  16850:               (url "https://git.mfiano.net/mfiano/shadow")
>  16889:               (url "https://git.mfiano.net/mfiano/umbra")

Other proposal I would think of is to move cl-trial and cl-vriality from
lisp-xyz.scm to game-development.scm as it's more logically bound to that
module.

> ./pre-inst-env guix build sbcl-virality cl-virality --rounds=2
> /gnu/store/cgljdd5vm8anxf9v0ips2vbalv6fp23k-cl-virality-0.3.0
> /gnu/store/8y3qv6f8w71l4zf1d4953xjq82a1mw01-sbcl-virality-0.3.0

Sharlatan Hellseher (1):
  gnu: Add cl-virality

 gnu/packages/lisp-xyz.scm | 66 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)


base-commit: bd0ff2d39bc7d3b497d74c3431ef77a1cf2515c4
prerequisite-patch-id: 679d60737b0daafbb9c5e2db480ac538b59d5889
prerequisite-patch-id: dceb083c0c80f3986ab02546b763ac4d69342a11
prerequisite-patch-id: 636da9a70d66737b8978d362c192df0820fe0cd7
prerequisite-patch-id: cf2ad82da6f03a7f44d2af4872682e3921ebc001
prerequisite-patch-id: 99bb09ac0a5fd8d0f837a33f3810fc9be47da3f2
prerequisite-patch-id: bd774bf62993e83ea51423f56474b6802739df10
-- 
2.38.0





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#59391] [PATCH 1/1] gnu: Add cl-virality
  2022-11-19 22:42 [bug#59391] [PATCH 0/1] gnu: Add Virality Engine Sharlatan Hellseher
@ 2022-11-19 22:43 ` Sharlatan Hellseher
  2022-11-20 13:46   ` bug#59391: " Guillaume Le Vaillant
  0 siblings, 1 reply; 3+ messages in thread
From: Sharlatan Hellseher @ 2022-11-19 22:43 UTC (permalink / raw)
  To: 59391; +Cc: Sharlatan Hellseher

* gnu/packages/lisp-xyz.scm (cl-virality, sbcl-virality): New variables.
---
 gnu/packages/lisp-xyz.scm | 66 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 5b0d03586f..d46c07ec10 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19164,6 +19164,72 @@ (define-public ecl-trial
 (define-public cl-trial
   (sbcl-package->cl-source-package sbcl-trial))
 
+(define-public sbcl-virality
+  (package
+    (name "sbcl-virality")
+    (version "0.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/bufferswap/ViralityEngine")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name "virality" version))
+       (sha256
+        (base32 "0hvjcvyd628jh4if6swk1wrfb9qdlnpk9ax1y3jarr8ms7ghfcdb"))))
+    (build-system asdf-build-system/sbcl)
+    (arguments
+     `(#:asd-systems '("virality"
+                       "vorigin"
+                       "vorigin.test"
+                       "vshadow"
+                       "vumbra"
+                       "vutils")))
+    (inputs
+     (list sbcl-3b-bmfont
+           sbcl-babel
+           sbcl-cl-cpus
+           sbcl-cl-graph
+           sbcl-cl-opengl
+           sbcl-cl-ppcre
+           sbcl-cl-slug
+           sbcl-closer-mop
+           sbcl-fast-io
+           sbcl-global-vars
+           sbcl-glsl-packing
+           sbcl-jsown
+           sbcl-lparallel
+           sbcl-pngload
+           sbcl-printv
+           sbcl-queues
+           sbcl-sdl2
+           sbcl-serapeum
+           sbcl-split-sequence
+           sbcl-static-vectors
+           sbcl-trivial-features
+           sbcl-varjo))
+    (home-page "https://github.com/bufferswap/ViralityEngine")
+    (synopsis "Component-based game engine written in Common Lisp")
+    (description
+     "Virality Engine provides a system and workflow that helps describe the
+elements needed to write 2D or 3D games.  It was designed with several domain
+specific languages that make it easier to describe, manipulate, and use assets
+commonly found in game making.  Such assets include (but are not limited to)
+textures, materials, shader programs, and scene trees of actors that are
+available for instantiation.  Virality Engine also knows how to accept input
+from keyboards and most joysticks and gamepads.
+
+The component system is a hybrid model between an ECS and an object model.  The
+components are defined similar to CLOS defclass, and regular generic methods
+can be used with them.  Components are added to Actors which represent game
+concepts like players, scenery, effects, etc.  We define a component protocol
+invoked by Virality Engine to move your components to the next state and
+render them each frame.")
+    (license license:expat)))
+
+(define-public cl-virality
+  (sbcl-package->cl-source-package sbcl-virality))
+
 (define-public sbcl-cl-liballegro
   (let ((commit "49f632ce97fc4f835bf5d450588793234b980a64")
         (revision "1"))
-- 
2.38.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#59391: [PATCH 1/1] gnu: Add cl-virality
  2022-11-19 22:43 ` [bug#59391] [PATCH 1/1] gnu: Add cl-virality Sharlatan Hellseher
@ 2022-11-20 13:46   ` Guillaume Le Vaillant
  0 siblings, 0 replies; 3+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-20 13:46 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 59391-done

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Patch pushed as 9c2d6ddfbed949d55230cb785d0245f5ef21daa6.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-20 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-19 22:42 [bug#59391] [PATCH 0/1] gnu: Add Virality Engine Sharlatan Hellseher
2022-11-19 22:43 ` [bug#59391] [PATCH 1/1] gnu: Add cl-virality Sharlatan Hellseher
2022-11-20 13:46   ` bug#59391: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).