all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27256: [PATCH] gnu: postgresql: Enable contributed extensions.
@ 2017-06-05 16:18 Danny Milosavljevic
  2017-06-05 22:42 ` Roel Janssen
  0 siblings, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2017-06-05 16:18 UTC (permalink / raw)
  To: 27256

* gnu/packages/databases.scm (postgresql)[arguments]: Add "build-contrib",
"install-contrib" phases.  Add configure-flags.
[inputs]: Add libuuid.
---
 gnu/packages/databases.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index c46e917b8..963d209a4 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -459,7 +459,8 @@ as a drop-in replacement of MySQL.")
                 "1imrjp4vfslxj5rrvphcrrk21zv8kqw3gacmwradixh1d5rv6i8n"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags '("--with-uuid=e2fs")
+       #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'patch-/bin/sh
                      (lambda _
@@ -467,9 +468,16 @@ as a drop-in replacement of MySQL.")
                        (substitute* '("src/bin/pg_ctl/pg_ctl.c"
                                       "src/bin/psql/command.c")
                          (("/bin/sh") (which "sh")))
-                       #t)))))
+                       #t))
+         (add-after 'build 'build-contrib
+           (lambda _
+             (zero? (system* "make" "-C" "contrib"))))
+         (add-after 'install 'install-contrib
+           (lambda _
+             (zero? (system* "make" "-C" "contrib" "install")))))))
     (inputs
      `(("readline" ,readline)
+       ("libuuid" ,util-linux)
        ("zlib" ,zlib)))
     (home-page "https://www.postgresql.org/")
     (synopsis "Powerful object-relational database system")

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

* bug#27256: [PATCH] gnu: postgresql: Enable contributed extensions.
  2017-06-05 16:18 bug#27256: [PATCH] gnu: postgresql: Enable contributed extensions Danny Milosavljevic
@ 2017-06-05 22:42 ` Roel Janssen
  2017-07-20  9:26   ` [bug#27256] " Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Roel Janssen @ 2017-06-05 22:42 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 27256


Danny Milosavljevic writes:

> * gnu/packages/databases.scm (postgresql)[arguments]: Add "build-contrib",
> "install-contrib" phases.  Add configure-flags.
> [inputs]: Add libuuid.
> ---
>  gnu/packages/databases.scm | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
> index c46e917b8..963d209a4 100644
> --- a/gnu/packages/databases.scm
> +++ b/gnu/packages/databases.scm
> @@ -459,7 +459,8 @@ as a drop-in replacement of MySQL.")
>                  "1imrjp4vfslxj5rrvphcrrk21zv8kqw3gacmwradixh1d5rv6i8n"))))
>      (build-system gnu-build-system)
>      (arguments
> -     `(#:phases
> +     `(#:configure-flags '("--with-uuid=e2fs")
> +       #:phases
>         (modify-phases %standard-phases
>           (add-before 'configure 'patch-/bin/sh
>                       (lambda _
> @@ -467,9 +468,16 @@ as a drop-in replacement of MySQL.")
>                         (substitute* '("src/bin/pg_ctl/pg_ctl.c"
>                                        "src/bin/psql/command.c")
>                           (("/bin/sh") (which "sh")))
> -                       #t)))))
> +                       #t))
> +         (add-after 'build 'build-contrib
> +           (lambda _
> +             (zero? (system* "make" "-C" "contrib"))))
> +         (add-after 'install 'install-contrib
> +           (lambda _
> +             (zero? (system* "make" "-C" "contrib" "install")))))))
>      (inputs
>       `(("readline" ,readline)
> +       ("libuuid" ,util-linux)
>         ("zlib" ,zlib)))
>      (home-page "https://www.postgresql.org/")
>      (synopsis "Powerful object-relational database system")

LGTM!

Kind regards,
Roel Janssen

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

* [bug#27256] [PATCH] gnu: postgresql: Enable contributed extensions.
  2017-06-05 22:42 ` Roel Janssen
@ 2017-07-20  9:26   ` Ludovic Courtès
  2017-07-20 11:11     ` bug#27256: " Danny Milosavljevic
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2017-07-20  9:26 UTC (permalink / raw)
  To: Roel Janssen; +Cc: 27256

Roel Janssen <roel@gnu.org> skribis:

> Danny Milosavljevic writes:
>
>> * gnu/packages/databases.scm (postgresql)[arguments]: Add "build-contrib",
>> "install-contrib" phases.  Add configure-flags.
>> [inputs]: Add libuuid.
>> ---
>>  gnu/packages/databases.scm | 12 ++++++++++--
>>  1 file changed, 10 insertions(+), 2 deletions(-)
>>
>> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
>> index c46e917b8..963d209a4 100644
>> --- a/gnu/packages/databases.scm
>> +++ b/gnu/packages/databases.scm
>> @@ -459,7 +459,8 @@ as a drop-in replacement of MySQL.")
>>                  "1imrjp4vfslxj5rrvphcrrk21zv8kqw3gacmwradixh1d5rv6i8n"))))
>>      (build-system gnu-build-system)
>>      (arguments
>> -     `(#:phases
>> +     `(#:configure-flags '("--with-uuid=e2fs")
>> +       #:phases
>>         (modify-phases %standard-phases
>>           (add-before 'configure 'patch-/bin/sh
>>                       (lambda _
>> @@ -467,9 +468,16 @@ as a drop-in replacement of MySQL.")
>>                         (substitute* '("src/bin/pg_ctl/pg_ctl.c"
>>                                        "src/bin/psql/command.c")
>>                           (("/bin/sh") (which "sh")))
>> -                       #t)))))
>> +                       #t))
>> +         (add-after 'build 'build-contrib
>> +           (lambda _
>> +             (zero? (system* "make" "-C" "contrib"))))
>> +         (add-after 'install 'install-contrib
>> +           (lambda _
>> +             (zero? (system* "make" "-C" "contrib" "install")))))))
>>      (inputs
>>       `(("readline" ,readline)
>> +       ("libuuid" ,util-linux)
>>         ("zlib" ,zlib)))
>>      (home-page "https://www.postgresql.org/")
>>      (synopsis "Powerful object-relational database system")
>
> LGTM!

Danny, don’t forget to commit.  :-)

Ludo’.

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

* bug#27256: [PATCH] gnu: postgresql: Enable contributed extensions.
  2017-07-20  9:26   ` [bug#27256] " Ludovic Courtès
@ 2017-07-20 11:11     ` Danny Milosavljevic
  2017-07-20 13:51       ` [bug#27256] " Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2017-07-20 11:11 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27256-done

Hi Ludo,

I think I did.  Does it show up for you?

commit b7aa3f5d2e04800b60ece895c88dd753d2c3dfcc
Author: Danny Milosavljevic <dannym@scratchpost.org>
Date:   Mon Jun 5 18:18:06 2017 +0200

    gnu: postgresql: Enable contributed extensions.
    
    * gnu/packages/databases.scm (postgresql)[arguments]: Add "build-contrib",
    "install-contrib" phases.  Add configure-flags.
    [inputs]: Add libuuid.

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

* [bug#27256] [PATCH] gnu: postgresql: Enable contributed extensions.
  2017-07-20 11:11     ` bug#27256: " Danny Milosavljevic
@ 2017-07-20 13:51       ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2017-07-20 13:51 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 27256-done

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> I think I did.  Does it show up for you?
>
> commit b7aa3f5d2e04800b60ece895c88dd753d2c3dfcc
> Author: Danny Milosavljevic <dannym@scratchpost.org>
> Date:   Mon Jun 5 18:18:06 2017 +0200
>
>     gnu: postgresql: Enable contributed extensions.

It does, thanks!

Ludo’.

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

end of thread, other threads:[~2017-07-20 13:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05 16:18 bug#27256: [PATCH] gnu: postgresql: Enable contributed extensions Danny Milosavljevic
2017-06-05 22:42 ` Roel Janssen
2017-07-20  9:26   ` [bug#27256] " Ludovic Courtès
2017-07-20 11:11     ` bug#27256: " Danny Milosavljevic
2017-07-20 13:51       ` [bug#27256] " Ludovic Courtès

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.