all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#62262] [PATCH] Add xfishtank and xpenguins
@ 2023-03-18 16:27 Sarthak Shah
  2023-05-16 18:26 ` Greg Hogan
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Sarthak Shah @ 2023-03-18 16:27 UTC (permalink / raw)
  To: 62262

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

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

[-- Attachment #2: Type: text/html, Size: 4156 bytes --]

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

* [bug#62262] [PATCH] Add xfishtank and xpenguins
  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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Greg Hogan @ 2023-05-16 18:26 UTC (permalink / raw)
  To: Sarthak Shah; +Cc: 62262

On Sat, Mar 18, 2023 at 12:28 PM Sarthak Shah <shahsarthakw@gmail.com> wrote:
>
> Hi Guix,
> This patch adds xfishtank and xpenguins to toys.scm which are programs similar to xsnow by the same author.

The packages build and run as expected. This single patch should be
separated into a patch per package.

> * 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)))))

It was my understanding that there is no need to return true. Same below.

> +    (inputs
> +     (list gtk+ libx11 libxpm libxt libxml2))
> +    (native-inputs
> +     (list pkg-config))
> +    (home-page "https://www.ratrabbit.nl/ratrabbit/xpenguins/index.html")

I am getting redirected and the new URL looks to be
https://www.ratrabbit.nl/ratrabbit/software/xpenguins

> +    (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+)))

I am finding gpl2+ in xpenguins-3.2.1/COPYING

> +
> +(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")

Same issue with redirection, with the new URL
https://www.ratrabbit.nl/ratrabbit/software/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+)))

COPYING is gpl3 but the files are MIT licensed.

> +
>  (define-public nyancat
>    (package
>      (name "nyancat")
> --
> 2.39.1
>




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

* [bug#62262] [PATCH v2 0/2] Add xpenguins and xfishtank.
  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 ` Greg Hogan
  2024-02-17 17:12 ` [bug#62262] [PATCH v3 0/2] Add xfishtank and xpenguins Steve George
  2024-02-18 12:25 ` [bug#62262] Set usertag reviewed-looks-good Steve George
  3 siblings, 0 replies; 9+ messages in thread
From: Greg Hogan @ 2024-01-30 18:55 UTC (permalink / raw)
  To: 62262; +Cc: Greg Hogan

Updated per my review in May, 2023.

Also, the home-page URLs have been updated.

Sarthak Shah (2):
  gnu: Add xpenguins.
  gnu: Add xfishtank.

 gnu/packages/toys.scm | 65 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)


base-commit: ce519c56d6cdc7d471a22f34935ff4f76a4c0a03
-- 
2.43.0





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

* [bug#62262] [PATCH v3 0/2] Add xfishtank and xpenguins
  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 ` Steve George
  2024-02-17 17:12   ` [bug#62262] [PATCH v3 1/2] gnu: Add xpenguins Steve George
                     ` (2 more replies)
  2024-02-18 12:25 ` [bug#62262] Set usertag reviewed-looks-good Steve George
  3 siblings, 3 replies; 9+ messages in thread
From: Steve George @ 2024-02-17 17:12 UTC (permalink / raw)
  To: 62262; +Cc: steve

Review:
  * 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

Sarthak Shah (2):
  gnu: Add xpenguins.
  gnu: Add xfishtank.


 gnu/packages/toys.scm | 69 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)


base-commit: 06014750338159a03a6374d7ebdd783c210b3715
-- 
2.41.0





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

* [bug#62262] [PATCH v3 1/2] gnu: Add xpenguins.
  2024-02-17 17:12 ` [bug#62262] [PATCH v3 0/2] Add xfishtank and xpenguins Steve George
@ 2024-02-17 17:12   ` Steve George
  2024-02-17 17:12   ` [bug#62262] [PATCH v3 2/2] gnu: Add xfishtank Steve George
  2024-02-22 19:48   ` bug#62262: [PATCH v3 0/2] Add xfishtank and xpenguins Nicolas Goaziou via Guix-patches via
  2 siblings, 0 replies; 9+ messages in thread
From: Steve George @ 2024-02-17 17:12 UTC (permalink / raw)
  To: 62262; +Cc: steve, shahsarthakw, code

From: Sarthak Shah <shahsarthakw@gmail.com>

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

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

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 c058e70dac9..6fdc931ae66 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.41.0





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

* [bug#62262] [PATCH v3 2/2] gnu: Add xfishtank.
  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
  2024-02-22 19:48   ` bug#62262: [PATCH v3 0/2] Add xfishtank and xpenguins Nicolas Goaziou via Guix-patches via
  2 siblings, 0 replies; 9+ messages in thread
From: Steve George @ 2024-02-17 17:12 UTC (permalink / raw)
  To: 62262; +Cc: steve, shahsarthakw, code

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





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

* [bug#62262] Set usertag reviewed-looks-good
  2023-03-18 16:27 [bug#62262] [PATCH] Add xfishtank and xpenguins Sarthak Shah
                   ` (2 preceding siblings ...)
  2024-02-17 17:12 ` [bug#62262] [PATCH v3 0/2] Add xfishtank and xpenguins Steve George
@ 2024-02-18 12:25 ` Steve George
  2024-02-20  0:07   ` Clément Lassieur
  3 siblings, 1 reply; 9+ messages in thread
From: Steve George @ 2024-02-18 12:25 UTC (permalink / raw)
  To: 62262

usertag 62262 reviewed-looks-good
quit




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

* [bug#62262] Set usertag reviewed-looks-good
  2024-02-18 12:25 ` [bug#62262] Set usertag reviewed-looks-good Steve George
@ 2024-02-20  0:07   ` Clément Lassieur
  0 siblings, 0 replies; 9+ messages in thread
From: Clément Lassieur @ 2024-02-20  0:07 UTC (permalink / raw)
  To: Steve George; +Cc: 62262

Hi Steve,

My understanding is that you should write

    user guix

before the usertag line, so that it is associated with the 'guix' user.

https://guix.gnu.org/manual/en/html_node/Debbugs-Usertags.html

On Sun, Feb 18 2024, Steve George wrote:

> usertag 62262 reviewed-looks-good
> quit

Cheers

Clément




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

* bug#62262: [PATCH v3 0/2] Add xfishtank and xpenguins
  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   ` [bug#62262] [PATCH v3 2/2] gnu: Add xfishtank Steve George
@ 2024-02-22 19:48   ` Nicolas Goaziou via Guix-patches via
  2 siblings, 0 replies; 9+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-02-22 19:48 UTC (permalink / raw)
  To: Steve George; +Cc: 62262-done

Hello,

Steve George <steve@futurile.net> 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






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

end of thread, other threads:[~2024-02-22 19:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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   ` [bug#62262] [PATCH v3 2/2] gnu: Add xfishtank Steve George
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

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.