[arch-commits] Commit in snowball/repos/extra-x86_64 (4 files)

Jelle van der Waa jelle at archlinux.org
Thu Nov 8 19:52:10 UTC 2018


    Date: Thursday, November 8, 2018 @ 19:52:09
  Author: jelle
Revision: 338401

archrelease: copy trunk to extra-x86_64

Added:
  snowball/repos/extra-x86_64/PKGBUILD
    (from rev 338400, snowball/trunk/PKGBUILD)
  snowball/repos/extra-x86_64/dynamiclib.patch
    (from rev 338400, snowball/trunk/dynamiclib.patch)
Deleted:
  snowball/repos/extra-x86_64/PKGBUILD
  snowball/repos/extra-x86_64/dynamiclib.patch

------------------+
 PKGBUILD         |  111 ++++++++++++++++++++++++++---------------------------
 dynamiclib.patch |   78 ++++++++++++++++++-------------------
 2 files changed, 94 insertions(+), 95 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-08 19:51:51 UTC (rev 338400)
+++ PKGBUILD	2018-11-08 19:52:09 UTC (rev 338401)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=snowball
-pkgname=(snowball libstemmer)
-pkgver=0+337
-pkgrel=2
-pkgdesc="String processing language for creating stemming algorithms"
-arch=(i686 x86_64)
-url="http://snowballstem.org/"
-license=(BSD)
-depends=(glibc)
-makedepends=(git)
-_commit=fc2adaa96b0561506e6c1a80d73de7f4e0fa9663
-source=("git+https://github.com/snowballstem/snowball#commit=$_commit"
-        dynamiclib.patch)
-sha256sums=('SKIP'
-            '99511a11cdeeb1ef1eaa9d7b777f6934693d4696ba9523de40b886f7d898058e')
-
-prepare() {
-  cd $pkgbase
-  patch -Np1 -i ../dynamiclib.patch
-}
-
-pkgver() {
-  cd $pkgbase
-  echo "0+$(git rev-list --count HEAD)"
-}
-
-build() {
-  cd $pkgbase
-  make
-}
-
-check() {
-  cd $pkgbase
-  # Disabled - needs external test data
-  #make check
-}
-
-package_snowball() {
-  cd $pkgbase
-  install -d "$pkgdir/usr/bin"
-  install -t "$pkgdir/usr/bin" snowball stemwords
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/snowball/LICENSE"
-}
-
-package_libstemmer() {
-  pkgdesc="Stemming library supporting several languages"
-  cd $pkgbase
-  install -Dm644 {.,"$pkgdir"/usr}/include/libstemmer.h
-  install -D {.,"$pkgdir"/usr/lib}/libstemmer.so.0.0.0
-  ln -s libstemmer.so.0.0.0 "$pkgdir/usr/lib/libstemmer.so.0"
-  ln -s libstemmer.so.0 "$pkgdir/usr/lib/libstemmer.so"
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/libstemmer/LICENSE"
-}

Copied: snowball/repos/extra-x86_64/PKGBUILD (from rev 338400, snowball/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-08 19:52:09 UTC (rev 338401)
@@ -0,0 +1,55 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=snowball
+pkgname=(snowball libstemmer)
+pkgver=0+337
+pkgrel=3
+pkgdesc="String processing language for creating stemming algorithms"
+arch=(x86_64)
+url="http://snowballstem.org/"
+license=(BSD)
+depends=(glibc)
+makedepends=(git)
+_commit=fc2adaa96b0561506e6c1a80d73de7f4e0fa9663
+source=("git+https://github.com/snowballstem/snowball#commit=$_commit"
+        dynamiclib.patch)
+sha256sums=('SKIP'
+            '99511a11cdeeb1ef1eaa9d7b777f6934693d4696ba9523de40b886f7d898058e')
+
+prepare() {
+  cd $pkgbase
+  patch -Np1 -i ../dynamiclib.patch
+}
+
+pkgver() {
+  cd $pkgbase
+  echo "0+$(git rev-list --count HEAD)"
+}
+
+build() {
+  cd $pkgbase
+  make
+}
+
+check() {
+  cd $pkgbase
+  # Disabled - needs external test data
+  #make check
+}
+
+package_snowball() {
+  cd $pkgbase
+  install -d "$pkgdir/usr/bin"
+  install -t "$pkgdir/usr/bin" snowball stemwords
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/snowball/LICENSE"
+}
+
+package_libstemmer() {
+  pkgdesc="Stemming library supporting several languages"
+  cd $pkgbase
+  install -Dm644 {.,"$pkgdir"/usr}/include/libstemmer.h
+  install -D {.,"$pkgdir"/usr/lib}/libstemmer.so.0.0.0
+  ln -s libstemmer.so.0.0.0 "$pkgdir/usr/lib/libstemmer.so.0"
+  ln -s libstemmer.so.0 "$pkgdir/usr/lib/libstemmer.so"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/libstemmer/LICENSE"
+}

Deleted: dynamiclib.patch
===================================================================
--- dynamiclib.patch	2018-11-08 19:51:51 UTC (rev 338400)
+++ dynamiclib.patch	2018-11-08 19:52:09 UTC (rev 338401)
@@ -1,39 +0,0 @@
-diff --git c/GNUmakefile i/GNUmakefile
-index 1693f5a..b33a42e 100644
---- c/GNUmakefile
-+++ i/GNUmakefile
-@@ -112,10 +112,10 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=.o)
- JAVA_CLASSES = $(JAVA_SOURCES:.java=.class)
- JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURCES:.java=.class)
- 
--CFLAGS=-O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations
-+CFLAGS=-O2 -fPIC -W -Wall -Wmissing-prototypes -Wmissing-declarations
- CPPFLAGS=-Iinclude
- 
--all: snowball libstemmer.o stemwords $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS)
-+all: snowball libstemmer.o libstemmer.so stemwords $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS)
- 
- clean:
- 	rm -f $(COMPILER_OBJECTS) $(RUNTIME_OBJECTS) \
-@@ -158,6 +158,9 @@ libstemmer/libstemmer.o: libstemmer/modules.h $(C_LIB_HEADERS)
- libstemmer.o: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS)
- 	$(AR) -cru $@ $^
- 
-+libstemmer.so: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS)
-+	$(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,libstemmer.so.0,-version-script,libstemmer/symbol.map -o $@.0.0.0 $^
-+
- stemwords: $(STEMWORDS_OBJECTS) libstemmer.o
- 	$(CC) -o $@ $^
- 
-diff --git c/libstemmer/symbol.map i/libstemmer/symbol.map
-new file mode 100644
-index 0000000..7a3d423
---- /dev/null
-+++ i/libstemmer/symbol.map
-@@ -0,0 +1,6 @@
-+SB_STEMMER_0 {
-+    global:
-+        sb_stemmer_*;
-+    local:
-+        *;
-+};

Copied: snowball/repos/extra-x86_64/dynamiclib.patch (from rev 338400, snowball/trunk/dynamiclib.patch)
===================================================================
--- dynamiclib.patch	                        (rev 0)
+++ dynamiclib.patch	2018-11-08 19:52:09 UTC (rev 338401)
@@ -0,0 +1,39 @@
+diff --git c/GNUmakefile i/GNUmakefile
+index 1693f5a..b33a42e 100644
+--- c/GNUmakefile
++++ i/GNUmakefile
+@@ -112,10 +112,10 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=.o)
+ JAVA_CLASSES = $(JAVA_SOURCES:.java=.class)
+ JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURCES:.java=.class)
+ 
+-CFLAGS=-O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations
++CFLAGS=-O2 -fPIC -W -Wall -Wmissing-prototypes -Wmissing-declarations
+ CPPFLAGS=-Iinclude
+ 
+-all: snowball libstemmer.o stemwords $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS)
++all: snowball libstemmer.o libstemmer.so stemwords $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS)
+ 
+ clean:
+ 	rm -f $(COMPILER_OBJECTS) $(RUNTIME_OBJECTS) \
+@@ -158,6 +158,9 @@ libstemmer/libstemmer.o: libstemmer/modules.h $(C_LIB_HEADERS)
+ libstemmer.o: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS)
+ 	$(AR) -cru $@ $^
+ 
++libstemmer.so: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS)
++	$(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,libstemmer.so.0,-version-script,libstemmer/symbol.map -o $@.0.0.0 $^
++
+ stemwords: $(STEMWORDS_OBJECTS) libstemmer.o
+ 	$(CC) -o $@ $^
+ 
+diff --git c/libstemmer/symbol.map i/libstemmer/symbol.map
+new file mode 100644
+index 0000000..7a3d423
+--- /dev/null
++++ i/libstemmer/symbol.map
+@@ -0,0 +1,6 @@
++SB_STEMMER_0 {
++    global:
++        sb_stemmer_*;
++    local:
++        *;
++};


More information about the arch-commits mailing list