GNU bug report logs - #38626
[PATCH] gnu: Add xsnow.

Previous Next

Package: guix-patches;

Reported by: Timotej Lazar <timotej.lazar <at> araneo.si>

Date: Sun, 15 Dec 2019 16:46:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38626 in the body.
You can then email your comments to 38626 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#38626; Package guix-patches. (Sun, 15 Dec 2019 16:46:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Timotej Lazar <timotej.lazar <at> araneo.si>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 15 Dec 2019 16:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Timotej Lazar <timotej.lazar <at> araneo.si>
To: guix-patches <at> gnu.org
Cc: Timotej Lazar <timotej.lazar <at> araneo.si>
Subject: [PATCH] gnu: Add xsnow.
Date: Sun, 15 Dec 2019 17:44:24 +0100
* gnu/packages/toys.scm (xsnow): New variable.
---
Hi,

turns out xsnow is free now, so here’s a patch for the holidays. :)

Timotej

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

diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 8c1a03b5d2..fd86aec6ef 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix <at> gmail.com>
+;;; Copyright © 2019 Timotej Lazar <timotej.lazar <at> araneo.si>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,9 +21,14 @@
 (define-module (gnu packages toys)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages flex)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg)
   #:use-module (guix build-system gnu)
+  #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages))
@@ -156,3 +162,41 @@ The GNU project hosts a similar collection of filters, the GNU talkfilters.")
              license:public-domain      ; jethro, kraut, ken, studly
              license:gpl1+         ; cockney, jive, nyc only say "gpl"
              license:expat)))))    ; newspeak
+
+(define-public xsnow
+  (package
+    (name "xsnow")
+    (version "2.0.15")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://www.ratrabbit.nl/ratrabbit/system/files/xsnow/xsnow-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "086s42frbz9bk550414v908yrax4iwwlvlxv4zwp39cyp7wgws03"))))
+    (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
+     `(("gtk+" ,gtk+)
+       ("libx11" ,libx11)
+       ("libxpm" ,libxpm)
+       ("libxt" ,libxt)
+       ("libxxml2" ,libxml2)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://www.ratrabbit.nl/ratrabbit/content/xsnow/introduction")
+    (synopsis "Let it snow on the desktop")
+    (description "@code{Xsnow} animates snowfall and Santa with reindeer on
+the desktop background.  Additional customizable effects include wind, stars
+and various scenery elements.")
+    (license license:gpl3+)))
-- 
2.24.1





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 20 Dec 2019 21:54:01 GMT) Full text and rfc822 format available.

Notification sent to Timotej Lazar <timotej.lazar <at> araneo.si>:
bug acknowledged by developer. (Fri, 20 Dec 2019 21:54:01 GMT) Full text and rfc822 format available.

Message #10 received at 38626-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Timotej Lazar <timotej.lazar <at> araneo.si>
Cc: 38626-done <at> debbugs.gnu.org
Subject: Re: [bug#38626] [PATCH] gnu: Add xsnow.
Date: Fri, 20 Dec 2019 22:53:40 +0100
Hi Timotej,

Timotej Lazar <timotej.lazar <at> araneo.si> skribis:

> * gnu/packages/toys.scm (xsnow): New variable.
> ---
> Hi,
>
> turns out xsnow is free now, so here’s a patch for the holidays. :)

Now, *that’s* really good news.  It’s even quite fancy (and
CPU-intensive) compared to the good’ol one.

Applied, thank you!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Jan 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.