all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 62262@debbugs.gnu.org
Cc: steve@futurile.net, shahsarthakw@gmail.com, code@greghogan.com
Subject: [bug#62262] [PATCH v3 2/2] gnu: Add xfishtank.
Date: Sat, 17 Feb 2024 17:12:19 +0000	[thread overview]
Message-ID: <4cf6c8c0f00983e872f89836c3764dd35efae462.1708189137.git.steve@futurile.net> (raw)
In-Reply-To: <cover.1708189137.git.steve@futurile.net>

From: Sarthak Shah <shahsarthakw@gmail.com>

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

Reviewed-by: Greg Hogan <code@greghogan.com>
Reviewed-by: Steve George <steve@futurile.net>

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

diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 6fdc931ae66..072b6200dad 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -433,6 +433,41 @@ (define-public xpenguins
 run paths.")
     (license license:gpl2+)))
 
+(define-public xfishtank
+  (package
+    (name "xfishtank")
+    (version "3.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+              "https://www.ratrabbit.nl/downloads/xfishtank/xfishtank-"
+              version "~pre1.tar.gz"))
+       ;; version has ~pre1 in it. Guix store does not allow tilde
+       ;; in file names. Save it in the Store using a hyphen
+       (file-name (string-append name "-" version "-pre1.tar.gz"))
+       (sha256
+        (base32 "16i9diawkmar6dhx5xn0mflr2h585gamab6137hvxzgaczx55lwp"))))
+    (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, that uses the X11 protocol.  It shows fish swimming over the desktop.")
+    (license (list license:expat license:gpl3+))))
+
 (define-public nyancat
   (package
     (name "nyancat")
-- 
2.41.0





  parent reply	other threads:[~2024-02-17 17:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-18 16:27 [bug#62262] [PATCH] Add xfishtank and xpenguins Sarthak Shah
2023-05-16 18:26 ` Greg Hogan
2024-01-30 18:55 ` [bug#62262] [PATCH v2 0/2] Add xpenguins and xfishtank Greg Hogan
2024-02-17 17:12 ` [bug#62262] [PATCH v3 0/2] Add xfishtank and xpenguins Steve George
2024-02-17 17:12   ` [bug#62262] [PATCH v3 1/2] gnu: Add xpenguins Steve George
2024-02-17 17:12   ` Steve George [this message]
2024-02-22 19:48   ` bug#62262: [PATCH v3 0/2] Add xfishtank and xpenguins Nicolas Goaziou via Guix-patches via
2024-02-18 12:25 ` [bug#62262] Set usertag reviewed-looks-good Steve George
2024-02-20  0:07   ` Clément Lassieur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4cf6c8c0f00983e872f89836c3764dd35efae462.1708189137.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=62262@debbugs.gnu.org \
    --cc=code@greghogan.com \
    --cc=shahsarthakw@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.