From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: Re: [PATCH] Add antiword. Date: Thu, 28 Apr 2016 08:54:05 +0200 Message-ID: <87bn4ui5pu.fsf@T420.taylan> References: <87h9emxnk5.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avfp7-0001il-45 for guix-devel@gnu.org; Thu, 28 Apr 2016 02:53:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avfp5-0004zZ-RU for guix-devel@gnu.org; Thu, 28 Apr 2016 02:53:17 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:32920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avfp5-0004zT-Gw for guix-devel@gnu.org; Thu, 28 Apr 2016 02:53:15 -0400 Received: by mail-wm0-x241.google.com with SMTP id r12so20031465wme.0 for ; Wed, 27 Apr 2016 23:53:15 -0700 (PDT) In-Reply-To: <87h9emxnk5.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 28 Apr 2016 08:19:38 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel Ricardo Wurmus writes: > Hi Guix, > > I=E2=80=99m not sure about the description, nor about the mention of > =E2=80=9CMicrosoft=E2=80=9D. If you have better ideas for the descriptio= n 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.=20=20 Certainly not an encouragement to use MS Word, I'd say. Taylan > From a29993c7c079708aa0006a33333af34b25bab99c Mon Sep 17 00:00:00 2001 > From: Ricardo Wurmus > 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 neglig= ible 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=3D" > + (assoc-ref %outputs "out") "/bin") > + (string-append "GLOBAL_RESOURCES_DIR=3D" > + (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-flag= s)))))))) > + (home-page "http://www.winfield.demon.nl/") > + (synopsis "Microsoft Word document reader") > + (description "Antiword is an application for displaying Microsoft Wo= rd > +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+)))