diff options
author | zangrc <zangrc.fnst@fujitsu.com> | 2021-05-31 14:47:08 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-01 07:49:06 -0700 |
commit | 66d7739e3bb4e4002bd7b1ea643e6b884b42b238 (patch) | |
tree | 2df9bd8cecbb9798b4c685db65d5ab3d727f7ec7 /meta-gnome/recipes-support | |
parent | 9cd1523504ad5f6235e51af8865e741f44c7eff7 (diff) | |
download | meta-openembedded-66d7739e3bb4e4002bd7b1ea643e6b884b42b238.tar.gz |
libstemmer: upgrade 2.0.0 -> 2.1.0
0002-snowball-stemwords-do-link-with-LDFLAGS-set-by-build.patch
Removed since this is included in 2.1.0
Refresh the following patch:
0001-Build-so-lib.patch
-License-Update: Add the following Copyright
Copyright (c) 2013, Yoshiki Shibukawa
Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-support')
3 files changed, 6 insertions, 53 deletions
diff --git a/meta-gnome/recipes-support/libstemmer/libstemmer/0001-Build-so-lib.patch b/meta-gnome/recipes-support/libstemmer/libstemmer/0001-Build-so-lib.patch index 73ebeb484..37c5c3dc0 100644 --- a/meta-gnome/recipes-support/libstemmer/libstemmer/0001-Build-so-lib.patch +++ b/meta-gnome/recipes-support/libstemmer/libstemmer/0001-Build-so-lib.patch | |||
@@ -23,7 +23,7 @@ diff --git a/GNUmakefile b/GNUmakefile | |||
23 | index cbd6ff7..a85230b 100644 | 23 | index cbd6ff7..a85230b 100644 |
24 | --- a/GNUmakefile | 24 | --- a/GNUmakefile |
25 | +++ b/GNUmakefile | 25 | +++ b/GNUmakefile |
26 | @@ -142,10 +142,10 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=.o) | 26 | @@ -162,10 +162,10 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=.o) |
27 | JAVA_CLASSES = $(JAVA_SOURCES:.java=.class) | 27 | JAVA_CLASSES = $(JAVA_SOURCES:.java=.class) |
28 | JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURCES:.java=.class) | 28 | JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURCES:.java=.class) |
29 | 29 | ||
@@ -36,7 +36,7 @@ index cbd6ff7..a85230b 100644 | |||
36 | 36 | ||
37 | clean: | 37 | clean: |
38 | rm -f $(COMPILER_OBJECTS) $(RUNTIME_OBJECTS) \ | 38 | rm -f $(COMPILER_OBJECTS) $(RUNTIME_OBJECTS) \ |
39 | @@ -192,6 +192,9 @@ libstemmer/libstemmer.o: libstemmer/modules.h $(C_LIB_HEADERS) | 39 | @@ -212,6 +212,9 @@ libstemmer/libstemmer.o: libstemmer/modules.h $(C_LIB_HEADERS) |
40 | libstemmer.o: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS) | 40 | libstemmer.o: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS) |
41 | $(AR) -cru $@ $^ | 41 | $(AR) -cru $@ $^ |
42 | 42 | ||
@@ -44,7 +44,7 @@ index cbd6ff7..a85230b 100644 | |||
44 | + $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,libstemmer.so.0,-version-script,libstemmer/symbol.map -o $@.0.0.0 $^ | 44 | + $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,libstemmer.so.0,-version-script,libstemmer/symbol.map -o $@.0.0.0 $^ |
45 | + | 45 | + |
46 | stemwords: $(STEMWORDS_OBJECTS) libstemmer.o | 46 | stemwords: $(STEMWORDS_OBJECTS) libstemmer.o |
47 | $(CC) $(CFLAGS) -o $@ $^ | 47 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ |
48 | 48 | ||
49 | diff --git a/libstemmer/symbol.map b/libstemmer/symbol.map | 49 | diff --git a/libstemmer/symbol.map b/libstemmer/symbol.map |
50 | new file mode 100644 | 50 | new file mode 100644 |
diff --git a/meta-gnome/recipes-support/libstemmer/libstemmer/0002-snowball-stemwords-do-link-with-LDFLAGS-set-by-build.patch b/meta-gnome/recipes-support/libstemmer/libstemmer/0002-snowball-stemwords-do-link-with-LDFLAGS-set-by-build.patch deleted file mode 100644 index 69c1d670e..000000000 --- a/meta-gnome/recipes-support/libstemmer/libstemmer/0002-snowball-stemwords-do-link-with-LDFLAGS-set-by-build.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From 23eacfbcc10c777ce47283a5285455ec83c8aa41 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
3 | Date: Sun, 6 Oct 2019 13:05:08 +0200 | ||
4 | Subject: [PATCH] snowball/stemwords: do link with LDFLAGS set by build | ||
5 | environment | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | Some (cross-)build systems as OpeneEmbedded are picky (for certain reasons) if | ||
11 | their LDFLAGS are ignored. | ||
12 | |||
13 | Upstream-Status: Submitted [1] | ||
14 | |||
15 | [1] https://github.com/snowballstem/snowball/pull/120 | ||
16 | |||
17 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
18 | --- | ||
19 | GNUmakefile | 4 ++-- | ||
20 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
21 | |||
22 | diff --git a/GNUmakefile b/GNUmakefile | ||
23 | index 76f6ae9..47c6077 100644 | ||
24 | --- a/GNUmakefile | ||
25 | +++ b/GNUmakefile | ||
26 | @@ -179,7 +179,7 @@ clean: | ||
27 | -rmdir $(js_output_dir) | ||
28 | |||
29 | snowball: $(COMPILER_OBJECTS) | ||
30 | - $(CC) $(CFLAGS) -o $@ $^ | ||
31 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ | ||
32 | |||
33 | $(COMPILER_OBJECTS): $(COMPILER_HEADERS) | ||
34 | |||
35 | @@ -204,7 +204,7 @@ libstemmer.so: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS) | ||
36 | $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,libstemmer.so.0,-version-script,libstemmer/symbol.map -o $@.0.0.0 $^ | ||
37 | |||
38 | stemwords: $(STEMWORDS_OBJECTS) libstemmer.o | ||
39 | - $(CC) $(CFLAGS) -o $@ $^ | ||
40 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ | ||
41 | |||
42 | csharp_stemwords: $(CSHARP_STEMWORDS_SOURCES) $(CSHARP_RUNTIME_SOURCES) $(CSHARP_SOURCES) | ||
43 | $(MCS) -unsafe -target:exe -out:$@ $(CSHARP_STEMWORDS_SOURCES) $(CSHARP_RUNTIME_SOURCES) $(CSHARP_SOURCES) | ||
44 | -- | ||
45 | 2.21.0 | ||
46 | |||
diff --git a/meta-gnome/recipes-support/libstemmer/libstemmer_git.bb b/meta-gnome/recipes-support/libstemmer/libstemmer_git.bb index 96dd880b6..c1a06c0d0 100644 --- a/meta-gnome/recipes-support/libstemmer/libstemmer_git.bb +++ b/meta-gnome/recipes-support/libstemmer/libstemmer_git.bb | |||
@@ -1,18 +1,17 @@ | |||
1 | SUMMARY = "Snowball compiler and stemming algorithms" | 1 | SUMMARY = "Snowball compiler and stemming algorithms" |
2 | HOMEPAGE = "https://snowballstem.org/" | 2 | HOMEPAGE = "https://snowballstem.org/" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2750797da77c1d784e7626b3f7d7ff3e" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=19139aaf3c8c8fa1ca6edd59c072fb9f" |
5 | 5 | ||
6 | DEPENDS_class-target = "${BPN}-native" | 6 | DEPENDS_class-target = "${BPN}-native" |
7 | 7 | ||
8 | SRC_URI = "\ | 8 | SRC_URI = "\ |
9 | git://github.com/snowballstem/snowball.git \ | 9 | git://github.com/snowballstem/snowball.git \ |
10 | file://0001-Build-so-lib.patch \ | 10 | file://0001-Build-so-lib.patch \ |
11 | file://0002-snowball-stemwords-do-link-with-LDFLAGS-set-by-build.patch \ | ||
12 | " | 11 | " |
13 | SRCREV = "c70ed64f9d41c1032fba4e962b054f8e9d489a74" | 12 | SRCREV = "4764395431c8f2a0b4fe18b816ab1fc966a45837" |
14 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
15 | PV = "2.0.0" | 14 | PV = "2.1.0" |
16 | LIBVER = "0.0.0" | 15 | LIBVER = "0.0.0" |
17 | 16 | ||
18 | inherit lib_package | 17 | inherit lib_package |