all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Add antiword.
@ 2016-04-28  6:19 Ricardo Wurmus
  2016-04-28  6:54 ` Taylan Ulrich Bayırlı/Kammer
  2016-04-28  8:24 ` John Darrington
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-04-28  6:19 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

Hi Guix,

I’m not sure about the description, nor about the mention of
“Microsoft”.  If you have better ideas for the description and synopsis
please comment.

~~ Ricardo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-antiword.patch --]
[-- Type: text/x-patch, Size: 2376 bytes --]

From a29993c7c079708aa0006a33333af34b25bab99c Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Thu, 28 Apr 2016 08:11:05 +0200
Subject: [PATCH] gnu: Add antiword.

* gnu/packages/textutils.scm (antiword): New variable.
---
 gnu/packages/textutils.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 71cf25b..e4caf8e 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -292,3 +292,39 @@ as existing hashing techniques, with provably negligible risk of collisions.")
 characteristic of this library is that different character encoding for every
 regular expression object can be specified.")
     (license license:bsd-2)))
+
+(define-public antiword
+  (package
+    (name "antiword")
+    (version "0.37")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.winfield.demon.nl/linux"
+                                  "/antiword-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1b7mi1l20jhj09kyh0bq14qzz8vdhhyf35gzwsq43mn6rc7h0b4f"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; There are no tests
+       #:make-flags
+       (list "-f" "Makefile.Linux"
+             (string-append "GLOBAL_INSTALL_DIR="
+                            (assoc-ref %outputs "out") "/bin")
+             (string-append "GLOBAL_RESOURCES_DIR="
+                            (assoc-ref %outputs "out") "/share/antiword"))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'install
+           (lambda* (#:key make-flags #:allow-other-keys)
+             (zero? (apply system* "make" `("global_install" ,@make-flags))))))))
+    (home-page "http://www.winfield.demon.nl/")
+    (synopsis "Microsoft Word document reader")
+    (description "Antiword is an application for displaying Microsoft Word
+documents.  It can also convert the document to PostScript or XML.  Only
+documents made by MS Word version 2 and version 6 or later are supported.  The
+name comes from: \"The antidote against people who send Microsoft(R) Word
+files to everybody, because they believe that everybody runs Windows(R) and
+therefore runs Word\".")
+    (license license:gpl2+)))
-- 
2.7.3


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

* Re: [PATCH] Add antiword.
  2016-04-28  6:19 [PATCH] Add antiword Ricardo Wurmus
@ 2016-04-28  6:54 ` Taylan Ulrich Bayırlı/Kammer
  2016-04-28  8:24 ` John Darrington
  1 sibling, 0 replies; 3+ messages in thread
From: Taylan Ulrich Bayırlı/Kammer @ 2016-04-28  6:54 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus <rekado@elephly.net> writes:

> Hi Guix,
>
> I’m not sure about the description, nor about the mention of
> “Microsoft”.  If you have better ideas for the description and synopsis
> please comment.
>
> ~~ Ricardo

The last part (about where the name comes from) might not be strictly
necessary, but it's funny and a statement, so no opinion on it. :-)

Otherwise seems fine to me.  We also mention e.g. Nintendo in the
synopsis and description of some emulators.  It's just what it is.  
Certainly not an encouragement to use MS Word, I'd say.

Taylan

> From a29993c7c079708aa0006a33333af34b25bab99c Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Thu, 28 Apr 2016 08:11:05 +0200
> Subject: [PATCH] gnu: Add antiword.
>
> * gnu/packages/textutils.scm (antiword): New variable.
> ---
>  gnu/packages/textutils.scm | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>
> diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
> index 71cf25b..e4caf8e 100644
> --- a/gnu/packages/textutils.scm
> +++ b/gnu/packages/textutils.scm
> @@ -292,3 +292,39 @@ as existing hashing techniques, with provably negligible risk of collisions.")
>  characteristic of this library is that different character encoding for every
>  regular expression object can be specified.")
>      (license license:bsd-2)))
> +
> +(define-public antiword
> +  (package
> +    (name "antiword")
> +    (version "0.37")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "http://www.winfield.demon.nl/linux"
> +                                  "/antiword-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1b7mi1l20jhj09kyh0bq14qzz8vdhhyf35gzwsq43mn6rc7h0b4f"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:tests? #f ; There are no tests
> +       #:make-flags
> +       (list "-f" "Makefile.Linux"
> +             (string-append "GLOBAL_INSTALL_DIR="
> +                            (assoc-ref %outputs "out") "/bin")
> +             (string-append "GLOBAL_RESOURCES_DIR="
> +                            (assoc-ref %outputs "out") "/share/antiword"))
> +       #:phases
> +       (modify-phases %standard-phases
> +         (delete 'configure)
> +         (replace 'install
> +           (lambda* (#:key make-flags #:allow-other-keys)
> +             (zero? (apply system* "make" `("global_install" ,@make-flags))))))))
> +    (home-page "http://www.winfield.demon.nl/")
> +    (synopsis "Microsoft Word document reader")
> +    (description "Antiword is an application for displaying Microsoft Word
> +documents.  It can also convert the document to PostScript or XML.  Only
> +documents made by MS Word version 2 and version 6 or later are supported.  The
> +name comes from: \"The antidote against people who send Microsoft(R) Word
> +files to everybody, because they believe that everybody runs Windows(R) and
> +therefore runs Word\".")
> +    (license license:gpl2+)))

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

* Re: [PATCH] Add antiword.
  2016-04-28  6:19 [PATCH] Add antiword Ricardo Wurmus
  2016-04-28  6:54 ` Taylan Ulrich Bayırlı/Kammer
@ 2016-04-28  8:24 ` John Darrington
  1 sibling, 0 replies; 3+ messages in thread
From: John Darrington @ 2016-04-28  8:24 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

On Thu, Apr 28, 2016 at 08:19:38AM +0200, Ricardo Wurmus wrote:
     Hi Guix,
     
     I???m not sure about the description, nor about the mention of
     ???Microsoft???.  If you have better ideas for the description and synopsis
     please comment.
     
The only thing I would change is to drop the "(R)" .   In GNU our policy is
not to use trademark acknowledgements - especially not for proprietary software.


J'


-- 
Avoid eavesdropping.  Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

end of thread, other threads:[~2016-04-28  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28  6:19 [PATCH] Add antiword Ricardo Wurmus
2016-04-28  6:54 ` Taylan Ulrich Bayırlı/Kammer
2016-04-28  8:24 ` John Darrington

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.