From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gJV7MsMlUWVvagEAauVa8A:P1 (envelope-from ) for ; Sun, 12 Nov 2023 20:21:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gJV7MsMlUWVvagEAauVa8A (envelope-from ) for ; Sun, 12 Nov 2023 20:21:39 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 43A9844A25 for ; Sun, 12 Nov 2023 20:21:39 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hBdsXyGu; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699816899; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZIXELHTOM2MHafh0rQBXkVnI5ONxXZnpnFvMVKPA2sU=; b=lhizfu/kQLCJpdQncNnb0K21BrvvvG0LkQJzVd6ldjJgUFyA2CLvBMNmMDWRrO4ajGUsQA yk2qUNsNvWNZPejS2ZhN2jKWc1rjACHHalaetIqLd4F3ha6zvSZe0AjmVpKjxxl2RW79wq BamQXhgzJUerFf4SmAwUoqR55z1GnVJnRHPD1+OxKWmxpNJhY0bby44QByYn71mL+3Rarf DmfXFofdXWWqOITPiwoc7vWEHXQ+YyoF8S0O+UzXtPVknej3u//kKCE32yirEdLQjVEdF5 qD42WKTi9z8zpv5jWGPwRt3lf8PgW6rDu6PM6n1YS+zwi8kPq+LYKPmr9rhVlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hBdsXyGu; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699816899; a=rsa-sha256; cv=none; b=BRaCVkA58WnEK+hxtDooguNiNmD7wBrkz1eDUdZxnGtiFyZb0vE59gYXTPr6JiofVMbDN9 CdYM6WL3o0C5LtzUbKe1JAuPiHZ4VBwpl6g10e+vo9QTuZHpaq8P5szPPqJHhzCd74xewK OiwUvJ14Wru+1gBML1jDOIXIL8jHjsZYqtipKXjJef4ZPceSjIfYkq4XyEyI/EHGtBU2+s ESdbsD4/6SPhWXuLShcCChxjqYqAykG+7m/K6zAddHi4NqI2HJGACh+B7wERuSmDdhdlP0 ak1iu/vW0/CG25H5vb9+lthLc961ZzD1xxGSeQF0pxOwvWKgtfwal62UJO1Ltg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2G1L-0004qI-3m; Sun, 12 Nov 2023 14:21:23 -0500 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 1r2G1J-0004q9-GB for guix-patches@gnu.org; Sun, 12 Nov 2023 14:21:21 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2G1J-0003MS-7y for guix-patches@gnu.org; Sun, 12 Nov 2023 14:21:21 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2G1y-00074W-96 for guix-patches@gnu.org; Sun, 12 Nov 2023 14:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67134] [PATCH] gnu: Add camelia-girls Resent-From: Rikard Nordgren Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Nov 2023 19:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67134 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67134@debbugs.gnu.org Cc: hrn@posteo.net X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169981688527125 (code B ref -1); Sun, 12 Nov 2023 19:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2023 19:21:25 +0000 Received: from localhost ([127.0.0.1]:57032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2G1N-00073R-8c for submit@debbugs.gnu.org; Sun, 12 Nov 2023 14:21:25 -0500 Received: from lists.gnu.org ([2001:470:142::17]:42988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2G1J-00073C-VS for submit@debbugs.gnu.org; Sun, 12 Nov 2023 14:21:24 -0500 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 1r2G0Z-0004mG-BE for guix-patches@gnu.org; Sun, 12 Nov 2023 14:20:35 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2G0W-0003HS-N2 for guix-patches@gnu.org; Sun, 12 Nov 2023 14:20:34 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EE83E240103 for ; Sun, 12 Nov 2023 20:20:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699816828; bh=ht+G5DKEQGGYsNheClcwGBb0y7ILHygb7YEzGt61YmU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=hBdsXyGupODodDUp4ryOebKG6VE+sOokC6Pf+E9SX0dCn2LFz+Eg6mEYwFeq6ALgz BI+A38SDuWLEY1Gr7ID5sBBX0K3RYVXRGa4xTcqMf1Qs5aHyInuMKxEXBqFKOpJAzF tQnlalVe8fg4JF0ilFHCycd778wdjGz+PJnAiayq5cui5KbqaIbrDdlGRv2PMoLxlA apFR1oDDQ9H2tdbQxHmuDGALMYJSI8rE+s0BmDVwIgl6P5IXJSBkKIASBKBcVFfchg DES4sWoknCEI+LO+gYeUbNDYXeS5xMR4UCiaDtQBghrRNLzsdkpxDwYB6b2hYzfoIN EeFn7wxCRo9Jg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ST2T72KrQz9rxG; Sun, 12 Nov 2023 20:20:27 +0100 (CET) From: Rikard Nordgren Date: Sun, 12 Nov 2023 19:20:16 +0000 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=hrn@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 4.20 X-Spam-Score: 4.20 X-Migadu-Queue-Id: 43A9844A25 X-Migadu-Scanner: mx13.migadu.com X-TUID: QeonOE/85sCS * gnu/packages/games.scm (camlia-girls): New variable. Change-Id: I6bf6f85cd4578b7ce4ec6ebdd7a8c342fa5dbd4c --- gnu/packages/games.scm | 86 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 8313c02754..4e396f3ba1 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -231,6 +231,7 @@ (define-module (gnu packages games) #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix build-system qt) + #:use-module (guix build-system renpy) #:use-module (guix build-system scons) #:use-module (guix build-system trivial) #:use-module ((srfi srfi-1) #:hide (zip)) @@ -999,6 +1000,91 @@ (define-public bzflag ;; The game is dual-licensed. (license (list license:lgpl2.1 license:mpl2.0)))) +(define-public camelia-girls + (package + (name "camelia-girls") + (version "0.561") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/rikardn/cameliagirls.git") + (commit "1285aa1261f57545d81cc0194432bd6fe6f7fe44"))) + (sha256 + (base32 "1yq9gx2zh71c99w1pfvkv5isgm4pd3hjlixcn5vhk1l1f9f7mfc7")) + (file-name (git-file-name name version)) + (snippet '(begin + ;; Remove bundled dependencies. + (delete-file "game/fonts/DejaVuSansMono-Bold.ttf") + (delete-file "game/fonts/DejaVuSerif-BoldItalic.ttf"))))) + (build-system renpy-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'install 'unbundle-fonts + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((font-name-bold "DejaVuSansMono-Bold.ttf") + (font-name-bi "DejaVuSerif-BoldItalic.ttf") + (font-path-bold (string-append (assoc-ref inputs + "font-dejavu") + "/share/fonts/truetype/" + font-name-bold)) + (font-path-bi (string-append (assoc-ref inputs + "font-dejavu") + "/share/fonts/truetype/" + font-name-bi)) + (target-bold (string-append (assoc-ref outputs + "out") + "/share/renpy/fonts/" + font-name-bold)) + (target-bi (string-append (assoc-ref outputs + "out") + "/share/renpy/fonts/" + font-name-bi))) + (symlink font-path-bold target-bold) + (symlink font-path-bi target-bi)))) + + (add-after 'install-desktop-file 'install-desktop-icon + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (game-name "CameliaGirls") + (desktop-path (string-append out + "/share/applications/" game-name + ".desktop")) + (icon-dir (string-append out + "/share/icons/hicolor/128x128/apps")) + (orig-icon-name "icon-high.png") + (new-icon-name (string-append game-name + "-icon.png")) + (orig-icon-path (string-append icon-dir "/" + orig-icon-name)) + (new-icon-path (string-append icon-dir "/" + new-icon-name))) + (let ((output-port (open-file desktop-path "a"))) + (display (string-append "Icon=" game-name "-icon") + output-port) + (newline output-port) + (close output-port)) + (substitute* desktop-path + (("^Name=") + (string-append "Name=" game-name))) + (mkdir-p icon-dir) + (install-file orig-icon-name icon-dir) + (rename-file orig-icon-path new-icon-path))))))) + + (inputs (list font-dejavu)) + (home-page "https://codeberg.org/rikardn/cameliagirls") + (synopsis + "Slice-of-life visual novel featuring the student body of Camelia Academy") + (description + "CameliaGirls: @@CameliaGirls or Cewek Cewek Camelia is a visual novel +that follows the life of a transfer student as she begins her new life at the +all-girl Camelia Academy. The game is highly dialog-driven, but also +incorporates visual gags, reminiscent of the Anime style that inspires it. +The script and interface is translated to English, Indonesian, Spanish, +German and French. The game consists of two acts and the story is +unfinished.") + (license license:cc-by-sa3.0))) + (define-public cataclysm-dda (package (name "cataclysm-dda") base-commit: c9361460dece1dbc3d2645ad3e5c79e85a2bf183 -- 2.39.2