all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* BOA
@ 2016-12-18 15:30 Echedey López Romero
  2016-12-19  9:25 ` BOA Danny Milosavljevic
  0 siblings, 1 reply; 2+ messages in thread
From: Echedey López Romero @ 2016-12-18 15:30 UTC (permalink / raw)
  To: guix-devel

Good afternoon from Spain.

I want to use GuixSD like a server but i need to use BOA Server because
the hardware that is use it is very restricted.
I have been seeing about this program into repositories but i didn't
found it.

I would like know when you are going to add this program and anothers as
Amaya, CompoZer, etc to GuixSD repositories.
-- 
Regards,
Echedey López Romero

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

* Re: BOA
  2016-12-18 15:30 BOA Echedey López Romero
@ 2016-12-19  9:25 ` Danny Milosavljevic
  0 siblings, 0 replies; 2+ messages in thread
From: Danny Milosavljevic @ 2016-12-19  9:25 UTC (permalink / raw)
  To: Echedey López Romero; +Cc: guix-devel

Hi,

On Sun, 18 Dec 2016 15:30:20 +0000
Echedey López Romero <citoplasma50@gmail.com> wrote:

> I would like know when you are going to add this program 

Heh. Well I had some spare time so I tried to package boa 0.94.13. Unfortunately I get a compilation error:

util.c: In function ‘get_commonlog_time’:
util.c:100:39: error: pasting "t" and "->" does not give a valid preprocessing token
         time_offset = TIMEZONE_OFFSET(t);
                                       ^
compat.h:120:30: note: in definition of macro ‘TIMEZONE_OFFSET’
 #define TIMEZONE_OFFSET(foo) foo##->tm_gmtoff
                              ^
make: *** [<builtin>: util.o] Error 1

Would you have time to bring that to the attention of the Boa people?

I don't think foo##->tm_gmtoff makes any sense.

They probably wanted (foo)->tm_gmtoff

The Guix package definition is:

(define-public boa
  (package
    (name "boa")
    (version "0.94.13")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "http://www.boa.org/" name "-" version ".tar.gz"))
       (sha256
        (base32
         "0rkkv3s9bahlw2aa4kz3zfhniz78h9p9f4y9mzr3disrp07ba2z0"))))
    (build-system gnu-build-system)
    (native-inputs
     `(("flex" ,flex)
       ("bison" ,bison)))
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-before 'configure 'chdir
           (lambda _
             (chdir "src")
             #t))
         ;; "configure" has a problem with "CONFIG_SHELL"
         (replace 'configure
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out")))
               (setenv "CONFIG_SHELL" (which "sh"))
               (zero? (system* "./configure" (string-append "--prefix=" out)))))))))
    (home-page "http://www.boa.org/")
    (synopsis "Extremely tiny webserver")
    (description "This package provides an extremely tiny webserver.")
    (license l:gpl1+)))

Cheers,
   Danny

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

end of thread, other threads:[~2016-12-19  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-18 15:30 BOA Echedey López Romero
2016-12-19  9:25 ` BOA Danny Milosavljevic

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.