* [PATCH 0/3] Perl log patches fixed
@ 2016-07-28 10:56 Alex Sassmannshausen
2016-07-28 10:56 ` [PATCH 1/3] gnu: Add perl-log-any Alex Sassmannshausen
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Alex Sassmannshausen @ 2016-07-28 10:56 UTC (permalink / raw)
To: guix-devel
Hello,
In series, the three revised patches for perl-log. As seems all to often the
case, I got pulled to other things. But I fixed the inputs and wrapped
descriptions in @code where appropriate.
I'll push these shortly unless you have any further comments.
Ben: apologies for the delay in getting log4perl in in the end!
Cheers,
Alex
Alex Sassmannshausen (3):
gnu: Add perl-log-any.
gnu: Add perl-log-log4perl.
gnu: Add perl-log-any-adapter-log4perl.
gnu/packages/perl.scm | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
--
2.8.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] gnu: Add perl-log-any.
2016-07-28 10:56 [PATCH 0/3] Perl log patches fixed Alex Sassmannshausen
@ 2016-07-28 10:56 ` Alex Sassmannshausen
2016-07-28 10:56 ` [PATCH 2/3] gnu: Add perl-log-log4perl Alex Sassmannshausen
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Alex Sassmannshausen @ 2016-07-28 10:56 UTC (permalink / raw)
To: guix-devel
* gnu/packages/perl.scm (perl-log-any): New variable.
---
gnu/packages/perl.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f42abee..7fb1101 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2939,6 +2939,37 @@ either uses the first module it finds or throws an error.")
versa.")
(license (package-license perl))))
+(define-public perl-log-any
+ (package
+ (name "perl-log-any")
+ (version "1.040")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/Log-Any-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0r1q7cclgwl24gzdnjzvd8y0r7j17dngjk492x35w198zhdj2ncp"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Log-Any")
+ (synopsis "Bringing loggers and listeners together")
+ (description "@code{Log::Any} provides a standard log production API for
+modules. @code{Log::Any::Adapter} allows applications to choose the mechanism
+for log consumption, whether screen, file or another logging mechanism like
+@code{Log::Dispatch} or @code{Log::Log4perl}.
+
+A CPAN module uses @code{Log::Any} to get a log producer object. An
+application, in turn, may choose one or more logging mechanisms via
+@code{Log::Any::Adapter}, or none at all.
+
+@code{Log::Any} has a very tiny footprint and no dependencies beyond Perl
+itself, which makes it appropriate for even small CPAN modules to use. It
+defaults to 'null' logging activity, so a module can safely log without
+worrying about whether the application has chosen (or will ever choose) a
+logging mechanism.")
+ (license (package-license perl))))
+
(define-public perl-log-report-optional
(package
(name "perl-log-report-optional")
--
2.8.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] gnu: Add perl-log-log4perl.
2016-07-28 10:56 [PATCH 0/3] Perl log patches fixed Alex Sassmannshausen
2016-07-28 10:56 ` [PATCH 1/3] gnu: Add perl-log-any Alex Sassmannshausen
@ 2016-07-28 10:56 ` Alex Sassmannshausen
2016-07-28 10:56 ` [PATCH 3/3] gnu: Add perl-log-any-adapter-log4perl Alex Sassmannshausen
2016-07-28 13:06 ` [PATCH 0/3] Perl log patches fixed Ludovic Courtès
3 siblings, 0 replies; 5+ messages in thread
From: Alex Sassmannshausen @ 2016-07-28 10:56 UTC (permalink / raw)
To: guix-devel
* gnu/packages/perl.scm (perl-log-log4perl): New variable.
---
gnu/packages/perl.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 7fb1101..abdc819 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2970,6 +2970,29 @@ worrying about whether the application has chosen (or will ever choose) a
logging mechanism.")
(license (package-license perl))))
+(define-public perl-log-log4perl
+ (package
+ (name "perl-log-log4perl")
+ (version "1.47")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/M/MS/MSCHILLI/Log-Log4perl-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0vxraq9navx5mgf8y8g6l5rbl3dv2ml8bishka5m69hj07nxs0ch"))))
+ (build-system perl-build-system)
+ (home-page
+ "http://search.cpan.org/dist/Log-Log4perl")
+ (synopsis "Log4j implementation for Perl")
+ (description "@code{Log::Log4perl} lets you remote-control and fine-tune
+the logging behaviour of your system from the outside. It implements the
+widely popular (Java-based) Log4j logging package in pure Perl.")
+ (license (package-license perl))))
+
(define-public perl-log-report-optional
(package
(name "perl-log-report-optional")
--
2.8.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] gnu: Add perl-log-any-adapter-log4perl.
2016-07-28 10:56 [PATCH 0/3] Perl log patches fixed Alex Sassmannshausen
2016-07-28 10:56 ` [PATCH 1/3] gnu: Add perl-log-any Alex Sassmannshausen
2016-07-28 10:56 ` [PATCH 2/3] gnu: Add perl-log-log4perl Alex Sassmannshausen
@ 2016-07-28 10:56 ` Alex Sassmannshausen
2016-07-28 13:06 ` [PATCH 0/3] Perl log patches fixed Ludovic Courtès
3 siblings, 0 replies; 5+ messages in thread
From: Alex Sassmannshausen @ 2016-07-28 10:56 UTC (permalink / raw)
To: guix-devel
* gnu/packages/perl.scm (perl-log-any-adapter-log4perl): New variable.
---
gnu/packages/perl.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index abdc819..6513892 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2970,6 +2970,31 @@ worrying about whether the application has chosen (or will ever choose) a
logging mechanism.")
(license (package-license perl))))
+(define-public perl-log-any-adapter-log4perl
+ (package
+ (name "perl-log-any-adapter-log4perl")
+ (version "0.08")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DA/DAGOLDEN/Log-Any-Adapter-Log4perl-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0xf4fnrsznvg0hf36q481124ja1hp3lybki1xjgnk82z9990jmxn"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-log-any" ,perl-log-any)
+ ("perl-log-log4perl" ,perl-log-log4perl)))
+ (home-page
+ "http://search.cpan.org/dist/Log-Any-Adapter-Log4perl")
+ (synopsis "Log::Any adapter for Log::Log4perl")
+ (description "@code{Log::Any::Adapter::Log4perl} provides a
+@code{Log::Any} adapter using @code{Log::Log4perl} for logging.")
+ (license (package-license perl))))
+
(define-public perl-log-log4perl
(package
(name "perl-log-log4perl")
--
2.8.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] Perl log patches fixed
2016-07-28 10:56 [PATCH 0/3] Perl log patches fixed Alex Sassmannshausen
` (2 preceding siblings ...)
2016-07-28 10:56 ` [PATCH 3/3] gnu: Add perl-log-any-adapter-log4perl Alex Sassmannshausen
@ 2016-07-28 13:06 ` Ludovic Courtès
3 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2016-07-28 13:06 UTC (permalink / raw)
To: Alex Sassmannshausen; +Cc: guix-devel
Alex Sassmannshausen <alex.sassmannshausen@gmail.com> skribis:
> In series, the three revised patches for perl-log. As seems all to often the
> case, I got pulled to other things. But I fixed the inputs and wrapped
> descriptions in @code where appropriate.
>
> I'll push these shortly unless you have any further comments.
Sure, thank you!
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-07-28 13:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-28 10:56 [PATCH 0/3] Perl log patches fixed Alex Sassmannshausen
2016-07-28 10:56 ` [PATCH 1/3] gnu: Add perl-log-any Alex Sassmannshausen
2016-07-28 10:56 ` [PATCH 2/3] gnu: Add perl-log-log4perl Alex Sassmannshausen
2016-07-28 10:56 ` [PATCH 3/3] gnu: Add perl-log-any-adapter-log4perl Alex Sassmannshausen
2016-07-28 13:06 ` [PATCH 0/3] Perl log patches fixed 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.