[arch-commits] Commit in ispell/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 17:07:21 UTC 2015


    Date: Sunday, September 6, 2015 @ 19:07:21
  Author: foutrelis
Revision: 245370

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  ispell/repos/staging-i686/
  ispell/repos/staging-i686/PKGBUILD
    (from rev 245369, ispell/trunk/PKGBUILD)
  ispell/repos/staging-i686/getline.patch
    (from rev 245369, ispell/trunk/getline.patch)
  ispell/repos/staging-i686/license.txt
    (from rev 245369, ispell/trunk/license.txt)
  ispell/repos/staging-x86_64/
  ispell/repos/staging-x86_64/PKGBUILD
    (from rev 245369, ispell/trunk/PKGBUILD)
  ispell/repos/staging-x86_64/getline.patch
    (from rev 245369, ispell/trunk/getline.patch)
  ispell/repos/staging-x86_64/license.txt
    (from rev 245369, ispell/trunk/license.txt)

------------------------------+
 staging-i686/PKGBUILD        |   57 +++++++++++++++++++++++++++++++++++++++++
 staging-i686/getline.patch   |   47 +++++++++++++++++++++++++++++++++
 staging-i686/license.txt     |   35 +++++++++++++++++++++++++
 staging-x86_64/PKGBUILD      |   57 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/getline.patch |   47 +++++++++++++++++++++++++++++++++
 staging-x86_64/license.txt   |   35 +++++++++++++++++++++++++
 6 files changed, 278 insertions(+)

Copied: ispell/repos/staging-i686/PKGBUILD (from rev 245369, ispell/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-06 17:07:21 UTC (rev 245370)
@@ -0,0 +1,57 @@
+# $Id$
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Maintainer:
+
+pkgname=ispell
+pkgver=3.3.02
+pkgrel=7
+pkgdesc="An interactive spell-checking program for Unix"
+arch=('i686' 'x86_64')
+url="http://ficus-www.cs.ucla.edu/geoff/ispell.html"
+license=('BSD')
+depends=('ncurses')
+options=('!makeflags')
+source=(http://fmg-www.cs.ucla.edu/geoff/tars/${pkgname}-${pkgver}.tar.gz 
+	license.txt getline.patch)
+md5sums=('12087d7555fc2b746425cd167af480fe' 'bf51b6181b9914dedc266ba970bb7319'
+	 '1dca21c5d56405fe592175c3dde2fda2')
+
+build() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+
+	patch -Np0 -i ${srcdir}/getline.patch
+
+	sed -i -e 's/#undef USG/#define USG/' \
+	       -e 's|/usr/local|/usr|' \
+               -e 's|/lib|/lib/ispell|' local.h.linux
+	cp local.h.linux local.h
+	make TMPDIR=/tmp all
+}
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+
+        # creating directory structure
+        install -dm755 ${pkgdir}/usr/{bin,lib/ispell,share/man/man{1,5}}
+
+	# Installing binary tools
+	for b in buildhash findaffix icombine ijoin ispell iwhich munchlist tryaffix; do
+		install -m755 $b ${pkgdir}/usr/bin/
+	done
+
+	# Installing man pages
+	install -m644 ispell.1 ${pkgdir}/usr/share/man/man1/ispell.1
+	install -m644 ispell.5 ${pkgdir}/usr/share/man/man5/ispell.5
+
+	# Installing dictionnaries
+	install -m644 languages/american/americanmed.hash \
+	    ${pkgdir}/usr/lib/ispell/americanmed.hash
+	install -m644 languages/english/english.aff \
+	    ${pkgdir}/usr/lib/ispell/english.aff
+	ln -s americanmed.hash ${pkgdir}/usr/lib/ispell/american.hash
+	ln -s americanmed.hash ${pkgdir}/usr/lib/ispell/english.hash
+
+	# Installing license
+	install -Dm644 ${srcdir}/license.txt \
+	    ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+}

Copied: ispell/repos/staging-i686/getline.patch (from rev 245369, ispell/trunk/getline.patch)
===================================================================
--- staging-i686/getline.patch	                        (rev 0)
+++ staging-i686/getline.patch	2015-09-06 17:07:21 UTC (rev 245370)
@@ -0,0 +1,47 @@
+--- ispell-3.3.02/correct.c	2005-04-28 09:46:51.000000000 -0500
++++ correct.c	2010-05-20 16:36:37.000000000 -0500
+@@ -245,7 +245,7 @@
+ 		  struct flagent * sufent,
+ 		  ichar_t savearea[MAX_CAPS][INPUTWORDLEN + MAXAFFIXLEN],
+ 		  int * nsaved));
+-static char *	getline P ((char * buf, int bufsize));
++static char *	mygetline P ((char * buf, int bufsize));
+ void		askmode P ((void));
+ void		copyout P ((unsigned char ** cc, int cnt));
+ static void	lookharder P ((unsigned char * string));
+@@ -571,7 +571,7 @@
+ 
+ 		imove (li - 1, 0);
+ 		(void) putchar ('!');
+-		if (getline ((char *) buf, sizeof buf) == NULL)
++		if (mygetline ((char *) buf, sizeof buf) == NULL)
+ 		    {
+ 		    (void) putchar (7);
+ 		    ierase ();
+@@ -596,7 +596,7 @@
+ 		    (void) printf ("%s ", CORR_C_READONLY);
+ 		    }
+ 		(void) printf (CORR_C_REPLACE_WITH);
+-		if (getline ((char *) ctok, ctokl) == NULL)
++		if (mygetline ((char *) ctok, ctokl) == NULL)
+ 		    {
+ 		    (void) putchar (7);
+ 		    /* Put it back */
+@@ -664,7 +664,7 @@
+ 		unsigned char	buf[100];
+ 		imove (li - 1, 0);
+ 		(void) printf (CORR_C_LOOKUP_PROMPT);
+-		if (getline ((char *) buf, sizeof buf) == NULL)
++		if (mygetline ((char *) buf, sizeof buf) == NULL)
+ 		    {
+ 		    (void) putchar (7);
+ 		    ierase ();
+@@ -1583,7 +1583,7 @@
+     return;
+     }
+ 
+-static char * getline (s, len)
++static char * mygetline (s, len)
+     register char *	s;
+     register int	len;
+     {

Copied: ispell/repos/staging-i686/license.txt (from rev 245369, ispell/trunk/license.txt)
===================================================================
--- staging-i686/license.txt	                        (rev 0)
+++ staging-i686/license.txt	2015-09-06 17:07:21 UTC (rev 245370)
@@ -0,0 +1,35 @@
+  Copyright (c), 1983, by Pace Willisson
+ 
+  Copyright 1992, 1993, 1999, 2001, 2005, Geoff Kuenning, Claremont, CA
+  All rights reserved.
+ 
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+ 
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+  3. All modifications to the source code must be clearly marked as
+     such.  Binary redistributions based on modified source code
+     must be clearly marked as modified versions in the documentation
+     and/or other materials provided with the distribution.
+  4. The code that causes the 'ispell -v' command to display a prominent
+     link to the official ispell Web site may not be removed.
+  5. The name of Geoff Kuenning may not be used to endorse or promote
+     products derived from this software without specific prior
+     written permission.
+ 
+  THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
+  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.

Copied: ispell/repos/staging-x86_64/PKGBUILD (from rev 245369, ispell/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-06 17:07:21 UTC (rev 245370)
@@ -0,0 +1,57 @@
+# $Id$
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Maintainer:
+
+pkgname=ispell
+pkgver=3.3.02
+pkgrel=7
+pkgdesc="An interactive spell-checking program for Unix"
+arch=('i686' 'x86_64')
+url="http://ficus-www.cs.ucla.edu/geoff/ispell.html"
+license=('BSD')
+depends=('ncurses')
+options=('!makeflags')
+source=(http://fmg-www.cs.ucla.edu/geoff/tars/${pkgname}-${pkgver}.tar.gz 
+	license.txt getline.patch)
+md5sums=('12087d7555fc2b746425cd167af480fe' 'bf51b6181b9914dedc266ba970bb7319'
+	 '1dca21c5d56405fe592175c3dde2fda2')
+
+build() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+
+	patch -Np0 -i ${srcdir}/getline.patch
+
+	sed -i -e 's/#undef USG/#define USG/' \
+	       -e 's|/usr/local|/usr|' \
+               -e 's|/lib|/lib/ispell|' local.h.linux
+	cp local.h.linux local.h
+	make TMPDIR=/tmp all
+}
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+
+        # creating directory structure
+        install -dm755 ${pkgdir}/usr/{bin,lib/ispell,share/man/man{1,5}}
+
+	# Installing binary tools
+	for b in buildhash findaffix icombine ijoin ispell iwhich munchlist tryaffix; do
+		install -m755 $b ${pkgdir}/usr/bin/
+	done
+
+	# Installing man pages
+	install -m644 ispell.1 ${pkgdir}/usr/share/man/man1/ispell.1
+	install -m644 ispell.5 ${pkgdir}/usr/share/man/man5/ispell.5
+
+	# Installing dictionnaries
+	install -m644 languages/american/americanmed.hash \
+	    ${pkgdir}/usr/lib/ispell/americanmed.hash
+	install -m644 languages/english/english.aff \
+	    ${pkgdir}/usr/lib/ispell/english.aff
+	ln -s americanmed.hash ${pkgdir}/usr/lib/ispell/american.hash
+	ln -s americanmed.hash ${pkgdir}/usr/lib/ispell/english.hash
+
+	# Installing license
+	install -Dm644 ${srcdir}/license.txt \
+	    ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+}

Copied: ispell/repos/staging-x86_64/getline.patch (from rev 245369, ispell/trunk/getline.patch)
===================================================================
--- staging-x86_64/getline.patch	                        (rev 0)
+++ staging-x86_64/getline.patch	2015-09-06 17:07:21 UTC (rev 245370)
@@ -0,0 +1,47 @@
+--- ispell-3.3.02/correct.c	2005-04-28 09:46:51.000000000 -0500
++++ correct.c	2010-05-20 16:36:37.000000000 -0500
+@@ -245,7 +245,7 @@
+ 		  struct flagent * sufent,
+ 		  ichar_t savearea[MAX_CAPS][INPUTWORDLEN + MAXAFFIXLEN],
+ 		  int * nsaved));
+-static char *	getline P ((char * buf, int bufsize));
++static char *	mygetline P ((char * buf, int bufsize));
+ void		askmode P ((void));
+ void		copyout P ((unsigned char ** cc, int cnt));
+ static void	lookharder P ((unsigned char * string));
+@@ -571,7 +571,7 @@
+ 
+ 		imove (li - 1, 0);
+ 		(void) putchar ('!');
+-		if (getline ((char *) buf, sizeof buf) == NULL)
++		if (mygetline ((char *) buf, sizeof buf) == NULL)
+ 		    {
+ 		    (void) putchar (7);
+ 		    ierase ();
+@@ -596,7 +596,7 @@
+ 		    (void) printf ("%s ", CORR_C_READONLY);
+ 		    }
+ 		(void) printf (CORR_C_REPLACE_WITH);
+-		if (getline ((char *) ctok, ctokl) == NULL)
++		if (mygetline ((char *) ctok, ctokl) == NULL)
+ 		    {
+ 		    (void) putchar (7);
+ 		    /* Put it back */
+@@ -664,7 +664,7 @@
+ 		unsigned char	buf[100];
+ 		imove (li - 1, 0);
+ 		(void) printf (CORR_C_LOOKUP_PROMPT);
+-		if (getline ((char *) buf, sizeof buf) == NULL)
++		if (mygetline ((char *) buf, sizeof buf) == NULL)
+ 		    {
+ 		    (void) putchar (7);
+ 		    ierase ();
+@@ -1583,7 +1583,7 @@
+     return;
+     }
+ 
+-static char * getline (s, len)
++static char * mygetline (s, len)
+     register char *	s;
+     register int	len;
+     {

Copied: ispell/repos/staging-x86_64/license.txt (from rev 245369, ispell/trunk/license.txt)
===================================================================
--- staging-x86_64/license.txt	                        (rev 0)
+++ staging-x86_64/license.txt	2015-09-06 17:07:21 UTC (rev 245370)
@@ -0,0 +1,35 @@
+  Copyright (c), 1983, by Pace Willisson
+ 
+  Copyright 1992, 1993, 1999, 2001, 2005, Geoff Kuenning, Claremont, CA
+  All rights reserved.
+ 
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+ 
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+  3. All modifications to the source code must be clearly marked as
+     such.  Binary redistributions based on modified source code
+     must be clearly marked as modified versions in the documentation
+     and/or other materials provided with the distribution.
+  4. The code that causes the 'ispell -v' command to display a prominent
+     link to the official ispell Web site may not be removed.
+  5. The name of Geoff Kuenning may not be used to endorse or promote
+     products derived from this software without specific prior
+     written permission.
+ 
+  THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
+  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.



More information about the arch-commits mailing list