unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66906] [PATCH] gnu: Add monsterid.
@ 2023-11-03  1:45 Evgeny Pisemsky
       [not found] ` <handler.66906.B.16989760084052.ack@debbugs.gnu.org>
  2023-11-15 17:29 ` bug#66906: [PATCH] gnu: Add monsterid Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Evgeny Pisemsky @ 2023-11-03  1:45 UTC (permalink / raw)
  To: 66906

[-- Attachment #1: 0001-gnu-Add-monsterid.patch --]
[-- Type: text/x-patch, Size: 2543 bytes --]

From 66ab9aa7d656e5226ff16c77ecf3e0b6b20885ed Mon Sep 17 00:00:00 2001
Message-ID: <66ab9aa7d656e5226ff16c77ecf3e0b6b20885ed.1698973482.git.evgeny@pisemsky.com>
From: Evgeny Pisemsky <evgeny@pisemsky.com>
Date: Fri, 3 Nov 2023 04:00:00 +0300
Subject: [PATCH] gnu: Add monsterid.

* gnu/packages/web.scm (monsterid): New variable.

Change-Id: I68dc167cb766f730bfa4108c96a70f59a9aec222
---
 gnu/packages/web.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 66d09700db..67650a19b8 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -64,6 +64,7 @@
 ;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu>
 ;;; Copyright © 2023 Christopher Howard <christopher@librehacker.com>
 ;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
+;;; Copyright © 2023 Evgeny Pisemsky <evgeny@pisemsky.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7910,6 +7911,35 @@ (define-public geomyidae
 @end enumerate\n")
     (license license:expat)))
 
+(define-public monsterid
+  (let ((commit "5597f177b473343ff5cad9a6e0e5b255312c6096")
+        (revision "0"))
+    (package
+      (name "monsterid")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/splitbrain/monsterID")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0ixyrrcbw96plcdna2rx1pqwisqy9hnr57kvamgj13lzlv2whdb3"))))
+      (build-system copy-build-system)
+      (arguments
+       '(#:install-plan '(("monsterid.php" "share/web/monsterid/")
+                          ("parts/" "share/web/monsterid/parts/"
+                           #:include-regexp ("\\.png$")))))
+      (home-page "https://www.splitbrain.org/projects/monsterid")
+      (synopsis "The original MonsterID implementation")
+      (description
+       "MonsterID is a method to generate a unique monster image based upon a
+certain identifier (IP address, email address, whatever).  It can be
+used to automatically provide personal avatar images in blog comments
+or other community services.")
+      (license license:expat))))
+
 (define-public cat-avatar-generator
   (let ((commit "9360ea33f79d1dad3e43494b09878b5e3f6b41fa")
         (revision "1"))

base-commit: 28ebbe2be8829a4767b9789c6353ad5e826d1164
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#66906] Acknowledgement ([PATCH] gnu: Add monsterid.)
       [not found] ` <handler.66906.B.16989760084052.ack@debbugs.gnu.org>
@ 2023-11-13  8:22   ` Evgeny Pisemsky
  0 siblings, 0 replies; 3+ messages in thread
From: Evgeny Pisemsky @ 2023-11-13  8:22 UTC (permalink / raw)
  To: 66906

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

I understand that this looks like some primitive php script, but I
believe it has an artistic value, as well as historical. I tested it
manually using the attached configuration of services.

[-- Attachment #2: example.scm --]
[-- Type: application/octet-stream, Size: 358 bytes --]

(service php-fpm-service-type)
(service nginx-service-type
         (nginx-configuration
          (server-blocks
           (list
            (nginx-server-configuration
             (listen '("localhost:8888"))
             (root #~(string-append #$monsterid "/share/web/monsterid"))
             (locations
              (list (nginx-php-location))))))))

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#66906: [PATCH] gnu: Add monsterid.
  2023-11-03  1:45 [bug#66906] [PATCH] gnu: Add monsterid Evgeny Pisemsky
       [not found] ` <handler.66906.B.16989760084052.ack@debbugs.gnu.org>
@ 2023-11-15 17:29 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-11-15 17:29 UTC (permalink / raw)
  To: Evgeny Pisemsky; +Cc: 66906-done

Evgeny Pisemsky <evgeny@pisemsky.com> skribis:

>>From 66ab9aa7d656e5226ff16c77ecf3e0b6b20885ed Mon Sep 17 00:00:00 2001
> Message-ID: <66ab9aa7d656e5226ff16c77ecf3e0b6b20885ed.1698973482.git.evgeny@pisemsky.com>
> From: Evgeny Pisemsky <evgeny@pisemsky.com>
> Date: Fri, 3 Nov 2023 04:00:00 +0300
> Subject: [PATCH] gnu: Add monsterid.
>
> * gnu/packages/web.scm (monsterid): New variable.
>
> Change-Id: I68dc167cb766f730bfa4108c96a70f59a9aec222

Applied, thanks!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-15 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03  1:45 [bug#66906] [PATCH] gnu: Add monsterid Evgeny Pisemsky
     [not found] ` <handler.66906.B.16989760084052.ack@debbugs.gnu.org>
2023-11-13  8:22   ` [bug#66906] Acknowledgement ([PATCH] gnu: Add monsterid.) Evgeny Pisemsky
2023-11-15 17:29 ` bug#66906: [PATCH] gnu: Add monsterid Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).