* [PATCH] gnu: Add detox.
@ 2014-08-12 6:33 Eric Bavier
2014-08-12 13:57 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Eric Bavier @ 2014-08-12 6:33 UTC (permalink / raw)
To: Guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #1.2: Type: text/html, Size: 27 bytes --]
[-- Attachment #2: 0001-gnu-Add-detox.patch --]
[-- Type: text/x-patch, Size: 2125 bytes --]
From f6c03d2532c61a7de2a0875b730db21521e2f45c Mon Sep 17 00:00:00 2001
From: Eric Bavier <bavier@member.fsf.org>
Date: Tue, 12 Aug 2014 01:30:27 -0500
Subject: [PATCH] gnu: Add detox.
* gnu/packages/admin.scm (detox): New variable.
---
gnu/packages/admin.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 4efdf27..06277f1 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -46,6 +46,7 @@
#:use-module (gnu packages flex)
#:use-module (gnu packages glib)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages popt)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages groff)
#:use-module (gnu packages pciutils)
@@ -909,3 +910,31 @@ perceived performance characteristics, and by systems programmers to expose
the classes of bugs which only or more frequently manifest themselves when the
system is under heavy load.")
(license gpl2+)))
+
+(define-public detox
+ (package
+ (name "detox")
+ (version "1.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/detox/detox-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "1y6vvjqsg54kl49cry73jbfhr04s7wjs779vrr9zrq6kww7dkymb"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("flex" ,flex)
+ ("popt" ,popt)))
+ (arguments
+ `(#:configure-flags `(,(string-append "--with-popt="
+ (assoc-ref %build-inputs "popt")))
+ #:tests? #f)) ;no 'check' target
+ (home-page "http://detox.sourceforge.net")
+ (synopsis "Clean up filenames")
+ (description
+ "Detox is a program that renames files to make them easier to work with
+under Unix and related operating systems. Spaces and various other unsafe
+characters (such as \"$\") get replaced with \"_\". ISO 8859-1 (Latin-1)
+characters can be replaced as well, as can UTF-8 characters.")
+ (license bsd-3)))
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: Add detox.
2014-08-12 6:33 [PATCH] gnu: Add detox Eric Bavier
@ 2014-08-12 13:57 ` Ludovic Courtès
2014-08-12 14:30 ` Eric Bavier
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2014-08-12 13:57 UTC (permalink / raw)
To: Eric Bavier; +Cc: Guix-devel
Eric Bavier <ericbavier@gmail.com> skribis:
> + (inputs
> + `(("flex" ,flex)
> + ("popt" ,popt)))
Flex should be a native input, and I think popt too (it’s a program used
at build time, right?).
> + (synopsis "Clean up filenames")
“file names”.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: Add detox.
2014-08-12 13:57 ` Ludovic Courtès
@ 2014-08-12 14:30 ` Eric Bavier
2014-08-12 17:20 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Eric Bavier @ 2014-08-12 14:30 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Guix-devel
Ludovic Courtès writes:
> Eric Bavier <ericbavier@gmail.com> skribis:
>
>> + (inputs
>> + `(("flex" ,flex)
>> + ("popt" ,popt)))
>
> Flex should be a native input, and I think popt too (it’s a program used
> at build time, right?).
Both flex and popt are used in this case for their runtime libraries
(libfl and libpopt).
--
Eric Bavier
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: Add detox.
2014-08-12 14:30 ` Eric Bavier
@ 2014-08-12 17:20 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-08-12 17:20 UTC (permalink / raw)
To: Eric Bavier; +Cc: Guix-devel
Eric Bavier <ericbavier@gmail.com> skribis:
> Ludovic Courtès writes:
>
>> Eric Bavier <ericbavier@gmail.com> skribis:
>>
>>> + (inputs
>>> + `(("flex" ,flex)
>>> + ("popt" ,popt)))
>>
>> Flex should be a native input, and I think popt too (it’s a program used
>> at build time, right?).
>
> Both flex and popt are used in this case for their runtime libraries
> (libfl and libpopt).
Ah OK. Then OK to push, possibly with the above sentence as a comment.
Thanks!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-12 17:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-12 6:33 [PATCH] gnu: Add detox Eric Bavier
2014-08-12 13:57 ` Ludovic Courtès
2014-08-12 14:30 ` Eric Bavier
2014-08-12 17:20 ` 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.