Subject: bug#62262: closed (Re: [bug#62262] [PATCH v3 0/2] Add xfishtank and xpenguins)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 22 Feb 2024 19:50:02 +0000

Your bug report

#62262: [PATCH] Add xfishtank and xpenguins

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
62262: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62262
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#62262] [PATCH v3 0/2] Add xfishtank and xpenguins
From: Nicolas Goaziou <[email-masked]>
To: Steve George <[email-masked]>
Cc: [email-masked]
Date: Thu, 22 Feb 2024 20:48:16 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Steve George <[email-masked]> writes:

>   * Updated xfishtank to latest upstream 3.2.1
>   * Added Reviewed-by commit trailers (Greg / Steve)
>   * Applied patches, test installed, linted
>   * Re-roll to trigger QA build

I slightly tweaked the descriptions and applied your patches.

Thank you!

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] Add xfishtank and xpenguins
From: Sarthak Shah <[email-masked]>
To: [email-masked]
Date: Sat, 18 Mar 2023 16:27:03 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix,
This patch adds xfishtank and xpenguins to toys.scm which are programs
similar to xsnow by the same author.

* gnu/packages/toys.scm (xpenguins): New variable.
* gnu/packages/toys.scm (xfishtank): New variable.
---
 gnu/packages/toys.scm | 64 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 8967c0c25b..16adf6d92a 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -397,6 +397,70 @@ (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")))
+             #t)))))
+    (inputs
+     (list gtk+ libx11 libxpm libxt libxml2))
+    (native-inputs
+     (list pkg-config))
+    (home-page "https://www.ratrabbit.nl/ratrabbit/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:gpl3+)))
+
+(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")))
+             #t)))))
+    (inputs
+     (list gtk+ libx11 libxpm libxt libxml2))
+    (native-inputs
+     (list pkg-config))
+    (home-page "https://www.ratrabbit.nl/ratrabbit/xfishtank")
+    (synopsis "Let fishes swim over your desktop!")
+    (description "@code{Xfishtank} is a well-known vintage application for
Unix systems, based on the X11 protocol. It shows fishes swimming over the
desktop.")
+    (license license:gpl3+)))
+
 (define-public nyancat
   (package
     (name "nyancat")
-- 
2.39.1