[arch-commits] Commit in hyphen/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Thu Jul 3 19:00:58 UTC 2014


    Date: Thursday, July 3, 2014 @ 21:00:58
  Author: bpiotrowski
Revision: 216424

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

Added:
  hyphen/repos/extra-i686/PKGBUILD
    (from rev 216423, hyphen/trunk/PKGBUILD)
  hyphen/repos/extra-i686/hyphen-2.8.7-include-stdio-h.patch
    (from rev 216423, hyphen/trunk/hyphen-2.8.7-include-stdio-h.patch)
  hyphen/repos/extra-x86_64/PKGBUILD
    (from rev 216423, hyphen/trunk/PKGBUILD)
  hyphen/repos/extra-x86_64/hyphen-2.8.7-include-stdio-h.patch
    (from rev 216423, hyphen/trunk/hyphen-2.8.7-include-stdio-h.patch)
Deleted:
  hyphen/repos/extra-i686/PKGBUILD
  hyphen/repos/extra-x86_64/PKGBUILD

-------------------------------------------------+
 /PKGBUILD                                       |  126 ++++++++++++++++++++++
 extra-i686/PKGBUILD                             |   56 ---------
 extra-i686/hyphen-2.8.7-include-stdio-h.patch   |   12 ++
 extra-x86_64/PKGBUILD                           |   56 ---------
 extra-x86_64/hyphen-2.8.7-include-stdio-h.patch |   12 ++
 5 files changed, 150 insertions(+), 112 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2014-07-03 19:00:39 UTC (rev 216423)
+++ extra-i686/PKGBUILD	2014-07-03 19:00:58 UTC (rev 216424)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgbase=hyphen
-pkgname=('hyphen' 'hyphen-en')
-pkgver=2.8.7
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://hunspell.sf.net"
-license=('GPL2' 'LGPL2.1' 'MPL')
-makedepends=('glibc' 'perl')
-source=(http://downloads.sourceforge.net/hunspell/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('ca565779e89ca299475e7eb993612b722c09e9e0')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --disable-static
-  make
-}
-
-package_hyphen() {
- pkgdesc="library for high quality hyphenation and justification"
- depends=('glibc' 'perl')
-
-  cd "$srcdir/$pkgbase-$pkgver"
-  make DESTDIR="$pkgdir/" install-libLTLIBRARIES
-  make DESTDIR="$pkgdir/" install-binSCRIPTS
-  make DESTDIR="$pkgdir/" install-includeHEADERS
-  
-  # license
-  install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_hyphen-en() {
- pkgdesc="English hyphenation rules"
- # arch=('any')
- optdepends=('hyphen: offers hyphenation library functions')
-
-  cd "$srcdir/$pkgbase-$pkgver"
-  make DESTDIR="$pkgdir/" install-hyphDATA
-
-  pushd ${pkgdir}/usr/share/hyphen/
-   en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW"
-   for lang in $en_US_aliases; do
-        ln -s hyph_en_US.dic hyph_$lang.dic
-   done
-  popd
-  
-  # the symlinks
-  install -dm755 ${pkgdir}/usr/share/myspell/dicts
-  pushd $pkgdir/usr/share/myspell/dicts
-    for file in $pkgdir/usr/share/hyphen/*; do
-      ln -sv /usr/share/hyphen/$(basename $file) .
-    done
-  popd
-}

Copied: hyphen/repos/extra-i686/PKGBUILD (from rev 216423, hyphen/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2014-07-03 19:00:58 UTC (rev 216424)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgbase=hyphen
+pkgname=('hyphen' 'hyphen-en')
+pkgver=2.8.7
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://hunspell.sf.net"
+license=('GPL2' 'LGPL2.1' 'MPL')
+makedepends=('glibc' 'perl')
+source=(http://downloads.sourceforge.net/hunspell/${pkgname}-${pkgver}.tar.gz
+        hyphen-2.8.7-include-stdio-h.patch)
+sha1sums=('ca565779e89ca299475e7eb993612b722c09e9e0'
+          '28865675bab044dbbd417e7435481049984d9391')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p1 -i "$srcdir/hyphen-2.8.7-include-stdio-h.patch"
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package_hyphen() {
+ pkgdesc="library for high quality hyphenation and justification"
+ depends=('glibc' 'perl')
+
+  cd "$srcdir/$pkgbase-$pkgver"
+  make DESTDIR="$pkgdir/" install-libLTLIBRARIES
+  make DESTDIR="$pkgdir/" install-binSCRIPTS
+  make DESTDIR="$pkgdir/" install-includeHEADERS
+  
+  # license
+  install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_hyphen-en() {
+ pkgdesc="English hyphenation rules"
+ # arch=('any')
+ optdepends=('hyphen: offers hyphenation library functions')
+
+  cd "$srcdir/$pkgbase-$pkgver"
+  make DESTDIR="$pkgdir/" install-hyphDATA
+
+  pushd ${pkgdir}/usr/share/hyphen/
+   en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW"
+   for lang in $en_US_aliases; do
+        ln -s hyph_en_US.dic hyph_$lang.dic
+   done
+  popd
+  
+  # the symlinks
+  install -dm755 ${pkgdir}/usr/share/myspell/dicts
+  pushd $pkgdir/usr/share/myspell/dicts
+    for file in $pkgdir/usr/share/hyphen/*; do
+      ln -sv /usr/share/hyphen/$(basename $file) .
+    done
+  popd
+}

Copied: hyphen/repos/extra-i686/hyphen-2.8.7-include-stdio-h.patch (from rev 216423, hyphen/trunk/hyphen-2.8.7-include-stdio-h.patch)
===================================================================
--- extra-i686/hyphen-2.8.7-include-stdio-h.patch	                        (rev 0)
+++ extra-i686/hyphen-2.8.7-include-stdio-h.patch	2014-07-03 19:00:58 UTC (rev 216424)
@@ -0,0 +1,12 @@
+diff -rupN a/hyphen.h b/hyphen.h
+--- a/hyphen.h	2013-03-18 11:49:03.000000000 +0100
++++ b/hyphen.h	2014-07-03 20:44:33.209910415 +0200
+@@ -55,6 +55,8 @@
+ extern "C" {
+ #endif /* __cplusplus */
+ 
++#include <stdio.h>
++
+ typedef struct _HyphenDict HyphenDict;
+ typedef struct _HyphenState HyphenState;
+ typedef struct _HyphenTrans HyphenTrans;

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2014-07-03 19:00:39 UTC (rev 216423)
+++ extra-x86_64/PKGBUILD	2014-07-03 19:00:58 UTC (rev 216424)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgbase=hyphen
-pkgname=('hyphen' 'hyphen-en')
-pkgver=2.8.7
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://hunspell.sf.net"
-license=('GPL2' 'LGPL2.1' 'MPL')
-makedepends=('glibc' 'perl')
-source=(http://downloads.sourceforge.net/hunspell/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('ca565779e89ca299475e7eb993612b722c09e9e0')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --disable-static
-  make
-}
-
-package_hyphen() {
- pkgdesc="library for high quality hyphenation and justification"
- depends=('glibc' 'perl')
-
-  cd "$srcdir/$pkgbase-$pkgver"
-  make DESTDIR="$pkgdir/" install-libLTLIBRARIES
-  make DESTDIR="$pkgdir/" install-binSCRIPTS
-  make DESTDIR="$pkgdir/" install-includeHEADERS
-  
-  # license
-  install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_hyphen-en() {
- pkgdesc="English hyphenation rules"
- # arch=('any')
- optdepends=('hyphen: offers hyphenation library functions')
-
-  cd "$srcdir/$pkgbase-$pkgver"
-  make DESTDIR="$pkgdir/" install-hyphDATA
-
-  pushd ${pkgdir}/usr/share/hyphen/
-   en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW"
-   for lang in $en_US_aliases; do
-        ln -s hyph_en_US.dic hyph_$lang.dic
-   done
-  popd
-  
-  # the symlinks
-  install -dm755 ${pkgdir}/usr/share/myspell/dicts
-  pushd $pkgdir/usr/share/myspell/dicts
-    for file in $pkgdir/usr/share/hyphen/*; do
-      ln -sv /usr/share/hyphen/$(basename $file) .
-    done
-  popd
-}

Copied: hyphen/repos/extra-x86_64/PKGBUILD (from rev 216423, hyphen/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2014-07-03 19:00:58 UTC (rev 216424)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgbase=hyphen
+pkgname=('hyphen' 'hyphen-en')
+pkgver=2.8.7
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://hunspell.sf.net"
+license=('GPL2' 'LGPL2.1' 'MPL')
+makedepends=('glibc' 'perl')
+source=(http://downloads.sourceforge.net/hunspell/${pkgname}-${pkgver}.tar.gz
+        hyphen-2.8.7-include-stdio-h.patch)
+sha1sums=('ca565779e89ca299475e7eb993612b722c09e9e0'
+          '28865675bab044dbbd417e7435481049984d9391')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p1 -i "$srcdir/hyphen-2.8.7-include-stdio-h.patch"
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package_hyphen() {
+ pkgdesc="library for high quality hyphenation and justification"
+ depends=('glibc' 'perl')
+
+  cd "$srcdir/$pkgbase-$pkgver"
+  make DESTDIR="$pkgdir/" install-libLTLIBRARIES
+  make DESTDIR="$pkgdir/" install-binSCRIPTS
+  make DESTDIR="$pkgdir/" install-includeHEADERS
+  
+  # license
+  install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_hyphen-en() {
+ pkgdesc="English hyphenation rules"
+ # arch=('any')
+ optdepends=('hyphen: offers hyphenation library functions')
+
+  cd "$srcdir/$pkgbase-$pkgver"
+  make DESTDIR="$pkgdir/" install-hyphDATA
+
+  pushd ${pkgdir}/usr/share/hyphen/
+   en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW"
+   for lang in $en_US_aliases; do
+        ln -s hyph_en_US.dic hyph_$lang.dic
+   done
+  popd
+  
+  # the symlinks
+  install -dm755 ${pkgdir}/usr/share/myspell/dicts
+  pushd $pkgdir/usr/share/myspell/dicts
+    for file in $pkgdir/usr/share/hyphen/*; do
+      ln -sv /usr/share/hyphen/$(basename $file) .
+    done
+  popd
+}

Copied: hyphen/repos/extra-x86_64/hyphen-2.8.7-include-stdio-h.patch (from rev 216423, hyphen/trunk/hyphen-2.8.7-include-stdio-h.patch)
===================================================================
--- extra-x86_64/hyphen-2.8.7-include-stdio-h.patch	                        (rev 0)
+++ extra-x86_64/hyphen-2.8.7-include-stdio-h.patch	2014-07-03 19:00:58 UTC (rev 216424)
@@ -0,0 +1,12 @@
+diff -rupN a/hyphen.h b/hyphen.h
+--- a/hyphen.h	2013-03-18 11:49:03.000000000 +0100
++++ b/hyphen.h	2014-07-03 20:44:33.209910415 +0200
+@@ -55,6 +55,8 @@
+ extern "C" {
+ #endif /* __cplusplus */
+ 
++#include <stdio.h>
++
+ typedef struct _HyphenDict HyphenDict;
+ typedef struct _HyphenState HyphenState;
+ typedef struct _HyphenTrans HyphenTrans;




More information about the arch-commits mailing list