From patchwork Sat Mar 18 16:27:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarthak Shah X-Patchwork-Id: 48116 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E95DA16EA4; Sat, 18 Mar 2023 16:28:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 71A0A16BF0 for ; Sat, 18 Mar 2023 16:28:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdZPX-0000Gb-Ma; Sat, 18 Mar 2023 12:28:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdZPW-0000GS-AV for guix-patches@gnu.org; Sat, 18 Mar 2023 12:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdZPW-00031F-1e for guix-patches@gnu.org; Sat, 18 Mar 2023 12:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdZPV-0000JQ-S7 for guix-patches@gnu.org; Sat, 18 Mar 2023 12:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62262] [PATCH] Add xfishtank and xpenguins Resent-From: Sarthak Shah Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Mar 2023 16:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62262 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62262@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16791568411146 (code B ref -1); Sat, 18 Mar 2023 16:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2023 16:27:21 +0000 Received: from localhost ([127.0.0.1]:48930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdZOq-0000IP-9z for submit@debbugs.gnu.org; Sat, 18 Mar 2023 12:27:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:45324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdZOo-0000IH-L8 for submit@debbugs.gnu.org; Sat, 18 Mar 2023 12:27:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdZOo-00006a-9M for guix-patches@gnu.org; Sat, 18 Mar 2023 12:27:18 -0400 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdZOm-0002wZ-CE for guix-patches@gnu.org; Sat, 18 Mar 2023 12:27:18 -0400 Received: by mail-qt1-x82d.google.com with SMTP id h19so8828247qtn.1 for ; Sat, 18 Mar 2023 09:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679156835; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=xfyqlmjJE64m0jUWGIULjrqSNyjvfGLdUsRBPvsWR18=; b=X31w6xfz3BWb6jbvx4mHCGyJRhXUdHgM0/n7yDTwiQzgWeGTxyFANAJGWFUxZAp0KC xcNaXPEnoDjJFMWVNMDdEZFJmBHSi4PkvWaVF6QkhJFuMTQhjx4SPgryr8eMh4MqR3bv nzoVfAnWkeKn0f7863vIzM+zxHLc8QImB74gvdHa8/Q+VFsrArbXoUwXTiBg7ezZloOV 3M0tj8FcMXPyv/lDwQbkE3oCJb/HngzLdLg7zvH/2wzbQhn9OjPbDP1Dc+g4PybbVEep 6JxeltMCNstsDN4a9p8T76HSqtRk1Pz14MXk8qBaZlRRR9XUvn0H46CKX6eF2HD4VDCv qVZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679156835; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xfyqlmjJE64m0jUWGIULjrqSNyjvfGLdUsRBPvsWR18=; b=gpRPgJbMaHzdc30LAosKxWEqLbo1NY/2H8ehiq2+U09tUZLhk9xDFJfdoquZ/BYKdH 8i3slkjIZ6BE2uJpMQm5xZY3FdN6aCvwMiEY94eyhniuXff3lgPgPgnQHNuLy7AT6A6l OFJErSILgR6n2uVLrZK4wjL4iH6tKXUFSTLtYd4Fj8LuQcXGZ1NchvM//z1x+1ovGMxW l+wiUidOV9gEVtOnk1QWVI8KRLb47g1CLZ/9//LQUW9lPvYR7GhvTRk34aGMSE5FooJX F965LKnL5/JXwZ8NKbabAsDPZ4hqD4g9mXJKlRtmS9RKVLJ8i1WXRsEfpB0JUdp1wVsq JEnQ== X-Gm-Message-State: AO0yUKVl0+RYxeyz+1IFN+h0GUAQJ7+e+FTSrCCZVByMOBXqQX5hdpnx VYyBUj1sK2i6CnXtW+McT0rstYSkV4v12undxmFxP9nu74RSxg== X-Google-Smtp-Source: AK7set+qGovBwn9YhnTDzOylqgw7MkkrffNgjufB4pckRoo2d43PYyzpTFmbtYUPyFt2batcs4MhO9IW1xVTJOGfuTQ= X-Received: by 2002:a05:622a:1355:b0:3d7:9d03:75ae with SMTP id w21-20020a05622a135500b003d79d0375aemr2731367qtk.10.1679156834778; Sat, 18 Mar 2023 09:27:14 -0700 (PDT) MIME-Version: 1.0 From: Sarthak Shah Date: Sat, 18 Mar 2023 16:27:03 +0000 Message-ID: Received-SPF: pass client-ip=2607:f8b0:4864:20::82d; envelope-from=shahsarthakw@gmail.com; helo=mail-qt1-x82d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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(+) + (define-public nyancat (package (name "nyancat") 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+)))