From debbugs-submit-bounces@debbugs.gnu.org Wed May 15 16:38:10 2019 Received: (at submit) by debbugs.gnu.org; 15 May 2019 20:38:10 +0000 Received: from localhost ([127.0.0.1]:53479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hR0fB-0000zq-Sa for submit@debbugs.gnu.org; Wed, 15 May 2019 16:38:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hR0f9-0000zd-R6 for submit@debbugs.gnu.org; Wed, 15 May 2019 16:38:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:44298) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hR0f3-0007mT-H7 for submit@debbugs.gnu.org; Wed, 15 May 2019 16:38:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hR0f1-0001pN-Uk for guix-patches@gnu.org; Wed, 15 May 2019 16:38:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hR0ez-0007hF-TH for guix-patches@gnu.org; Wed, 15 May 2019 16:37:59 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:55079) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hR0ey-0007fC-P6 for guix-patches@gnu.org; Wed, 15 May 2019 16:37:57 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 3F080E0003 for ; Wed, 15 May 2019 20:37:52 +0000 (UTC) From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] Add drascula Date: Wed, 15 May 2019 22:37:49 +0200 Message-ID: <87ftpfo3mq.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.196 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --=-=-= Content-Type: text/plain Hello, The following patch adds Drascula: The Vampire Strikes Back as a standalone SCUMMVM game. Feedback welcome. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-drascula.patch Content-Description: Add drascula >From 36e9befc3b015d870d7d3794809b54ec0b6d2b33 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 15 May 2019 22:32:50 +0200 Subject: [PATCH] gnu: Add drascula. * gnu/packages/games.scm (drascula): New variable. --- gnu/packages/games.scm | 120 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 202221a987..9ab4849506 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -86,6 +86,7 @@ #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages documentation) #:use-module (gnu packages docbook) + #:use-module (gnu packages emulators) #:use-module (gnu packages flex) #:use-module (gnu packages fltk) #:use-module (gnu packages fonts) @@ -7161,3 +7162,122 @@ and cones of view for monsters. Aiming for a replayable streamlined experience, 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 (string-append (assoc-ref %build-inputs "unzip") + "/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 (string-append (assoc-ref %build-inputs "bash") + "/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) + (with-output-to-file (string-append apps "/drascula.desktop") + (lambda _ + (format #t + "[Desktop Entry]~@ + Name=Drascula: The Vampire Strikes Back~@ + GenericName=Drascula~@ + Exec=~a/bin/drascula~@ + Icon=~a/share/icons/hicolor/scalable/apps/scummvm.svg~@ + Categories=AdventureGame;Game;RolePlaying;~@ + Keywords=game;adventure;roleplaying;2D,fantasy;~@ + Comment=Classic 2D point and click adventure game~@ + Comment[de]=klassisches 2D-Abenteuerspiel in Zeigen-und-Klicken-Manier~@ + Comment[fr]=Jeux classique d'aventure pointer-et-cliquer en 2D~@ + Comment[it]=Gioco classico di avventura punta e clicca 2D~@ + Type=Application~%" + out scummvm)))) + #t)))) + (native-inputs + `(("bash" ,bash) + ("unzip" ,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")))) -- 2.21.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 20 04:13:41 2019 Received: (at 35757) by debbugs.gnu.org; 20 May 2019 08:13:41 +0000 Received: from localhost ([127.0.0.1]:36018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSdQT-0000s3-Jn for submit@debbugs.gnu.org; Mon, 20 May 2019 04:13:41 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:38428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSdQR-0000rr-Ch for 35757@debbugs.gnu.org; Mon, 20 May 2019 04:13:40 -0400 Received: from localhost (unknown [185.17.13.127]) by dd26836.kasserver.com (Postfix) with ESMTPSA id B6A003360172; Mon, 20 May 2019 10:13:37 +0200 (CEST) Date: Mon, 20 May 2019 10:13:34 +0200 From: Danny Milosavljevic To: Nicolas Goaziou Subject: Re: [bug#35757] [PATCH] Add drascula Message-ID: <20190520101253.3b4a4690@scratchpost.org> In-Reply-To: <87ftpfo3mq.fsf@nicolasgoaziou.fr> References: <87ftpfo3mq.fsf@nicolasgoaziou.fr> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/6OX0kcbskduFt6Rt9xY7dwu"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35757 Cc: 35757@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/6OX0kcbskduFt6Rt9xY7dwu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable LGTM except for >+ (license (license:non-copyleft "file://readme.txt")))) That is an invalid URL. Should be: + (license (license:non-copyleft "file:///readme.txt")))) There are cases where you want to refer to files on a specific host (I've actually used file manager programs which support drag&drop=20 across hosts--it's nice). See also https://tools.ietf.org/html/rfc8089 for possible forms. What is also valid by now is "file:readme.txt". --Sig_/6OX0kcbskduFt6Rt9xY7dwu Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlziYa4ACgkQ5xo1VCww uqVrtwf/fWyjHJbH9HiRkNJsci/VdGh6vL6R9w2q+p1PTWMI8WLKku2mF1Q2HxNj jaChr06vrubeNP6/yLktLOE1PyRMib+K4Er82C7qtrCy6oiAEbPCI9LkifDmE7YU Ib1xLVhlmyq8NPWyryg2m4dRe4bREmBjGjo5qGPvTB9D7G4puHiZL8Wh4SexgO3p lTKvVkRDjo+DUPxV/hCuwgBVXy4CaUz0TQ1BbCZwE2+J/sI8ojuTQLrsCS3Pxrhv Ff0jYhacSd75m71Y+3Gykq1bcJ8dy8+rMKMNqiX+r47t52HV0brD5BENVA/UgfdB 17UQFAYXWNsoOlGyaIwDrqNTJngINQ== =R//9 -----END PGP SIGNATURE----- --Sig_/6OX0kcbskduFt6Rt9xY7dwu-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 20 17:37:35 2019 Received: (at 35757-done) by debbugs.gnu.org; 20 May 2019 21:37:36 +0000 Received: from localhost ([127.0.0.1]:38194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSpyR-0002Q1-FS for submit@debbugs.gnu.org; Mon, 20 May 2019 17:37:35 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSpyP-0002Pq-01 for 35757-done@debbugs.gnu.org; Mon, 20 May 2019 17:37:33 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 5A1B91C0003; Mon, 20 May 2019 21:37:29 +0000 (UTC) From: Nicolas Goaziou To: Danny Milosavljevic Subject: Re: [bug#35757] [PATCH] Add drascula References: <87ftpfo3mq.fsf@nicolasgoaziou.fr> <20190520101253.3b4a4690@scratchpost.org> Date: Mon, 20 May 2019 23:37:26 +0200 In-Reply-To: <20190520101253.3b4a4690@scratchpost.org> (Danny Milosavljevic's message of "Mon, 20 May 2019 10:13:34 +0200") Message-ID: <87h89o3izt.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35757-done Cc: 35757-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Danny Milosavljevic writes: > LGTM except for > >>+ (license (license:non-copyleft "file://readme.txt")))) > > That is an invalid URL. > > Should be: > > + (license (license:non-copyleft "file:///readme.txt")))) Oops. Fixed. Pushed. Thank you. Regards, -- Nicolas Goaziou From unknown Sat Jun 14 03:56:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 18 Jun 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator