[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/17: gnu: Remove drascula.
From: |
guix-commits |
Subject: |
14/17: gnu: Remove drascula. |
Date: |
Sun, 23 Jul 2023 03:51:27 -0400 (EDT) |
lilyp pushed a commit to branch master
in repository guix.
commit 29c390673dc97239ee17d14219e2d37daebbd1a3
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Jul 22 07:40:32 2023 +0200
gnu: Remove drascula.
This package, along with other SCUMMVM-based games violate the FSDG: they
are
neither built from nor point towards their corresponding source code.
See <https://lists.gnu.org/archive/html/guix-devel/2022-08/msg00039.html>
and <https://lists.gnu.org/archive/html/guix-devel/2023-06/msg00091.html>
for more information.
* gnu/packages/games.scm (drascula): Delete variable.
---
gnu/packages/games.scm | 112 -------------------------------------------------
1 file changed, 112 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index ec084553da..2ea1f1d02f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -9724,118 +9724,6 @@ the game avoids complex inventory management and
character building, relying
on items and player adaptability for character progression.")
(license license:isc)))
-(define-public drascula
- (package
- (name "drascula")
- (version "1.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://sourceforge/scummvm/extras/"
- "Drascula_%20The%20Vampire%20Strikes%20Back/"
- "drascula-" version ".zip"))
- (sha256
- (base32
- "1pj29rpb754sn6a56f8brfv6f2m1p5qgaqik7d68pfi2bb5zccdp"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils)
- (ice-9 match))
- (let* ((out (assoc-ref %outputs "out"))
- (share (string-append out "/share/drascula"))
- (scummvm (assoc-ref %build-inputs "scummvm")))
- ;; Install data.
- (let ((unzip (search-input-file %build-inputs "/bin/unzip"))
- (doc (string-append out "/share/doc/" ,name "-" ,version)))
- (for-each
- (lambda (input)
- (invoke unzip
- "-j"
- (assoc-ref %build-inputs input)
- "-x" "__MACOSX")
- ;; Every input provides "readme.txt", and we want to
- ;; preserve them all. Therefore we rename them first.
- (match input
- ("drascula-int"
- (rename-file "readme.txt" "readme-international.txt"))
- ("drascula-audio"
- (rename-file "readme.txt" "readme-audio.txt"))
- (_ #f))
- ;; Install documentation.
- (for-each (lambda (f) (install-file f doc))
- (find-files "." "\\.(txt|doc)$"))
- ;; Install data.
- (for-each (lambda (f) (install-file f share))
- (find-files "." "\\.(ogg|00[0-9])$")))
- '("drascula-audio" "drascula-int" "source")))
- ;; Create standalone executable.
- (let* ((bin (string-append out "/bin"))
- (executable (string-append bin "/drascula"))
- (bash (search-input-file %build-inputs "/bin/bash")))
- (mkdir-p bin)
- (with-output-to-file executable
- (lambda ()
- (format #t "#!~a~%" bash)
- (format #t
- "exec ~a/bin/scummvm --path=~a drascula~%"
- scummvm share)))
- (chmod executable #o755))
- ;; Create desktop file. There is no dedicated icon for the
- ;; game, so we borrow SCUMMVM's.
- (let ((apps (string-append out "/share/applications")))
- (mkdir-p apps)
- (make-desktop-entry-file
- (string-append apps "/drascula.desktop")
- #:name "Drascula: The Vampire Strikes Back"
- #:generic-name "Drascula"
- #:exec (string-append out "/bin/drascula")
- #:icon (string-append scummvm
"/share/icons/hicolor/scalable/apps/scummvm.svg")
- #:categories '("AdventureGame" "Game" "RolePlaying")
- #:keywords '("game" "adventure" "roleplaying" "2D" "fantasy")
- #:comment '((#f "Classic 2D point and click adventure game")
- ("de" "Klassisches 2D-Abenteuerspiel in
Zeigen-und-Klicken-Manier")
- ("fr" "Jeu classique d'aventure pointer-et-cliquer
en 2D")
- ("it" "Gioco classico di avventura punta e clicca
2D"))))
- #t))))
- (native-inputs
- (list bash unzip))
- (inputs
- `(("scummvm" ,scummvm)
- ("drascula-int"
- ,(let ((version "1.1"))
- (origin
- (method url-fetch)
- (uri (string-append "mirror://sourceforge/scummvm/extras/"
- "Drascula_%20The%20Vampire%20Strikes%20Back/"
- "drascula-int-" version ".zip"))
- (sha256
- (base32
- "12236i7blamal92p1i8dgp3nhp2yicics4whsl63v682bj999n14")))))
- ("drascula-audio"
- ,(let ((version "2.0"))
- (origin
- (method url-fetch)
- (uri (string-append "mirror://sourceforge/scummvm/extras/"
- "Drascula_%20The%20Vampire%20Strikes%20Back/"
- "drascula-audio-" version ".zip"))
- (sha256
- (base32
- "00g4izmsqzxb8ry1vhfx6jrygl58lvlij09nw01ds4zddsiznsky")))))))
- (home-page "https://www.scummvm.org")
- (synopsis "Classic 2D point and click adventure game")
- (description "Drascula: The Vampire Strikes Back is a classic humorous 2D
-point and click adventure game.
-
-In Drascula you play the role of John Hacker, a British estate agent, that
-gets to meet a gorgeous blond girl who is kidnapped by the notorious vampire
-Count Drascula and embark on a fun yet dangerous quest to rescue her.
-Unfortunately, Hacker is not aware of Drascula's real ambitions: DOMINATING
-the World and demonstrating that he is even more evil than his brother Vlad.")
- ;; Drascula uses a BSD-like license.
- (license (license:non-copyleft "file:///readme.txt"))))
-
(define (make-lure-package name language hash)
(package
(name name)
- 03/17: gnu: gnome-shell-extension-dash-to-panel: Update to 56., (continued)
- 03/17: gnu: gnome-shell-extension-dash-to-panel: Update to 56., guix-commits, 2023/07/23
- 07/17: gnu: Add emacs-exotica-theme., guix-commits, 2023/07/23
- 09/17: gnu: Add emacs-mode-line-bell., guix-commits, 2023/07/23
- 10/17: gnu: Add emacs-persistent-scratch., guix-commits, 2023/07/23
- 13/17: gnu: Add emacs-consult-flycheck., guix-commits, 2023/07/23
- 06/17: gnu: Add emacs-zeno-theme., guix-commits, 2023/07/23
- 05/17: gnu: Add emacs-which-key-posframe., guix-commits, 2023/07/23
- 12/17: gnu: Add emacs-heaven-and-hell., guix-commits, 2023/07/23
- 16/17: gnu: Remove queen., guix-commits, 2023/07/23
- 11/17: gnu: Add emacs-mu4e-dashboard., guix-commits, 2023/07/23
- 14/17: gnu: Remove drascula.,
guix-commits <=
- 08/17: gnu: Add emacs-project-mode-line-tag., guix-commits, 2023/07/23
- 15/17: gnu: Remove lure., guix-commits, 2023/07/23
- 17/17: gnu: Remove sky., guix-commits, 2023/07/23