unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: swedebugia <swedebugia@riseup.net>
Cc: 35634@debbugs.gnu.org
Subject: [bug#35634] [PATCH] gnu: Add wordpress.
Date: Sun, 20 Feb 2022 22:34:44 -0500	[thread overview]
Message-ID: <87k0doq4dn.fsf@gmail.com> (raw)
In-Reply-To: <f4fdf1f4-0b65-6057-f363-b552f516d378@riseup.net> (swedebugia@riseup.net's message of "Wed, 8 May 2019 16:24:02 +0200")

Hi swedebugia,

swedebugia <swedebugia@riseup.net> writes:

>  From af9e41939c2f7354b6c40b4f06ef4595c10b876f Mon Sep 17 00:00:00 2001
> From: swedebugia <swedebugia@riseup.net>
> Date: Wed, 8 May 2019 16:19:51 +0200
> Subject: [PATCH] gnu: Add wordpress.
>
> * gnu/packages/web.scm (wordpress): Add public variable.
> ---
>   gnu/packages/web.scm | 37 +++++++++++++++++++++++++++++++++++++
>   1 file changed, 37 insertions(+)
>
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index 756b00237e..8f8e669c3d 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -32,6 +32,7 @@
>   ;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
>   ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
>   ;;; Copyright © 2019 Brendan Tildesley <mail@brendan.scot>
> +;;; Copyright © 2019 swedebugia <swedebugia@riseup.net>
>   ;;;
>   ;;; This file is part of GNU Guix.
>   ;;;
> @@ -6618,3 +6619,39 @@ Features enabled by modules:
>   @item LDAP connectivity
>   @end itemize")
>       (license license:gpl3+)))
> +
> +(define-public wordpress
> +  (package
> +    (name "wordpress")
> +    (version "5.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "https://wordpress.org/" name "-" 
> version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1bc6sg269bllq5w6p9dkqlbmqhmijgg61jcnq8vnkri10yj8jc31"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         ;; No configure, build or tests
> +         (delete 'configure)
> +         (delete 'build)
> +         (delete 'check)
> +         (replace 'install
> +           ;; There's no ‘install’ target.  Install files manually.
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out"))
> +                    (lib (string-append out "/lib/" ,name)))
> +               (copy-recursively "." lib)
> +               #t))))))
> +    (inputs
> +     `(("php" ,php)
> +       ("mariadb" ,mariadb)))
> +    (home-page "https://wordpress.org/")
> +    (synopsis "Content management system with a web interface")
> +    (description "It features include a plugin architecture and a template
> +system.  It is most associated with blogging but supports other types 
> of web
> +content including more traditional mailing lists and forums, media 
> galleries,
> +and online stores.  Many plugins are available.")
> +    (license license:gpl2+)))

I haven't looked at this one as closely as for Dolibarr, but I'd expect
more or less the same situation: the source needs to be cleaned of
bundled libraries and an accompanying service is necessary to make this
useful/usable.

Thanks,

Maxim




      reply	other threads:[~2022-02-21  3:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-08 14:24 [bug#35634] [PATCH] gnu: Add wordpress swedebugia
2022-02-21  3:34 ` Maxim Cournoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0doq4dn.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=35634@debbugs.gnu.org \
    --cc=swedebugia@riseup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).