all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#62262] [PATCH v2 1/2] gnu: Add xpenguins.
       [not found] <cover.1706640937.git.code@greghogan.com>
@ 2024-01-30 18:55 ` Greg Hogan
  2024-01-30 18:55 ` [bug#62262] [PATCH v2 2/2] gnu: Add xfishtank Greg Hogan
  1 sibling, 0 replies; 2+ messages in thread
From: Greg Hogan @ 2024-01-30 18:55 UTC (permalink / raw)
  To: 62262; +Cc: Sarthak Shah

From: Sarthak Shah <shahsarthakw@gmail.com>

* gnu/packages/toys.scm (xpenguins): New variable.

Change-Id: I6262092da4d51abaca1d6f01ec2e3f27baca7a01
---
 gnu/packages/toys.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index c058e70dac..6fdc931ae6 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2023 Sarthak Shah <shahsarthakw@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -399,6 +400,39 @@ (define-public xsnow
 and various scenery elements.")
     (license license:gpl3+)))
 
+(define-public xpenguins
+  (package
+    (name "xpenguins")
+    (version "3.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://ratrabbit.nl/downloads/xpenguins/xpenguins-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "03qwc7gf21d2ixkrxxwwgayj6f5fv1kg4b7ggx90j5269il63adm"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'fix-install-path
+           (lambda _
+             ;; Install program to bin instead of games.
+             (substitute* "src/Makefile.in"
+               (("(gamesdir = \\$\\(exec_prefix\\)/)games" _ prefix)
+                (string-append prefix "bin"))))))))
+    (inputs
+     (list gtk+ libx11 libxpm libxt libxml2))
+    (native-inputs
+     (list pkg-config))
+    (home-page "https://www.ratrabbit.nl/ratrabbit/software/xpenguins/index.html")
+    (synopsis "Let penguins take over your desktop!")
+    (description "@code{Xpenguins} is a vintage application for Unix systems,
+showing penguins running, flying, falling etc. on the desktop, using windows as
+run paths.")
+    (license license:gpl2+)))
+
 (define-public nyancat
   (package
     (name "nyancat")
-- 
2.43.0





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

* [bug#62262] [PATCH v2 2/2] gnu: Add xfishtank.
       [not found] <cover.1706640937.git.code@greghogan.com>
  2024-01-30 18:55 ` [bug#62262] [PATCH v2 1/2] gnu: Add xpenguins Greg Hogan
@ 2024-01-30 18:55 ` Greg Hogan
  1 sibling, 0 replies; 2+ messages in thread
From: Greg Hogan @ 2024-01-30 18:55 UTC (permalink / raw)
  To: 62262; +Cc: Sarthak Shah

From: Sarthak Shah <shahsarthakw@gmail.com>

* gnu/packages/toys.scm (xfishtank): New variable.

Change-Id: I490fba2d9ded274266d6376adf67c39bf5c9744a
---
 gnu/packages/toys.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 6fdc931ae6..caefce0c68 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -433,6 +433,38 @@ (define-public xpenguins
 run paths.")
     (license license:gpl2+)))
 
+(define-public xfishtank
+  (package
+    (name "xfishtank")
+    (version "3.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+              "https://ratrabbit.nl/downloads/xfishtank/xfishtank-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "0jbx41kdpgm3nrnrvfy9znkipd8xq0jj5plavcsjkhkva8ybc0ax"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'fix-install-path
+           (lambda _
+             ;; Install program to bin instead of games.
+             (substitute* "src/Makefile.in"
+               (("(gamesdir = \\$\\(exec_prefix\\)/)games" _ prefix)
+                (string-append prefix "bin"))))))))
+    (inputs
+     (list gtk+ libx11 libxpm libxt libxml2))
+    (native-inputs
+     (list pkg-config))
+    (home-page "https://www.ratrabbit.nl/ratrabbit/software/xfishtank/index.html")
+    (synopsis "Let fish swim over your desktop!")
+    (description "@code{Xfishtank} is a well-known vintage application for Unix
+systems, based on the X11 protocol. It shows fish swimming over the desktop.")
+    (license (list license:expat license:gpl3+))))
+
 (define-public nyancat
   (package
     (name "nyancat")
-- 
2.43.0





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

end of thread, other threads:[~2024-01-30 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <cover.1706640937.git.code@greghogan.com>
2024-01-30 18:55 ` [bug#62262] [PATCH v2 1/2] gnu: Add xpenguins Greg Hogan
2024-01-30 18:55 ` [bug#62262] [PATCH v2 2/2] gnu: Add xfishtank Greg Hogan

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.