Skip to contentSkip to conversation

gnome-terminal: replace deprecated GFDL-1.3 with GFDL-1.3-no-invariants-only

PATCH New Khem Raj 1 participant 2 messages Jul 26

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 gnome-terminal: replace deprecated GFDL-1.3 with GFDL-1.3-no-invariants-only

The recent oe-core change validating LICENSE as an SPDX expression (classes/conf/lib: Parse LICENSE as SPDX Expression) flags GFDL-1.3 as a deprecated license identifier. The COPYING.GFDL checksum (a22d0be1ce2284b67950a4d1673dd1b0) matches the GFDL-1.3-no-invariants-only text, so use that non-deprecated identifier.

---
 .../recipes-gnome/gnome-terminal/gnome-terminal_3.54.0.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.54.0.bb +1 -1
index 489e1af7ce..449ce6d1ed 100644
@@ -1,5 +1,5 @@
 SUMMARY = "GNOME terminal"
-LICENSE = "GFDL-1.3 AND GPL-3.0-only"
+LICENSE = "GFDL-1.3-no-invariants-only AND GPL-3.0-only"
 LIC_FILES_CHKSUM = " \
     file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
     file://COPYING.GFDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
author
#1 lore raw

PATCH 2/2 anthy: port to anthy-unicode 1.0.0.20260213

Replace the long-dead anthy 9100h (last released 2009, fetched from an old Ubuntu source tarball) with the maintained fork anthy-unicode, which is UTF-8 native and actively released on GitHub.

anthy-unicode renames its libraries (libanthy-unicode, libanthydic-unicode, libanthyinput-unicode), pkg-config module file (anthy-unicode.pc), headers (includedir/anthy-unicode-1.0/anthy), config file (anthy-unicode.conf) and binaries (anthy-*-unicode). The recipe and packaging are updated accordingly:
libanthy-unicode0 for the runtime libraries and the standard PN-dev for the development files.

The cross-compilation strategy is carried over from the old recipe: dictionary generation runs helper programs (mkfiledic, mkworddic, mkdepgraph, calctrans, proccorpus) that cannot execute when cross compiling. native-helpers.patch promotes them to bin_PROGRAMS so anthy-unicode-native stages them into the native sysroot; target-helpers.patch makes the target dictionary rules call them from PATH instead of ./. not_build_elc.patch avoids byte-compiling the Emacs lisp (no target Emacs under cross compilation). The patches are regenerated against anthy-unicode's -unicode-suffixed libtool archives. The legacy 2ch_t.patch is dropped; anthy-unicode has no mkanthydic/2ch.t.

uim is switched from the legacy EUC-JP anthy backend to the UTF-8 anthy-unicode backend it already supports: configure with --without-anthy --with-anthy-utf8, DEPENDS on anthy-unicode, and the uim-anthy package is renamed uim-anthy-utf8 (plugin libuim-anthy-utf8, anthy-utf8*.scm, module registered as anthy-utf8) with RDEPENDS on libanthy-unicode0.

packagegroup-meta-oe: anthy -> anthy-unicode.

Verified by building anthy-unicode-native and anthy-unicode for x86-64 (do_package_qa clean): the native helpers stage into the native sysroot, the target build generates anthy.wdic/anthy.dep/anthy.dic via those native helpers, and packaging splits into anthy-unicode, libanthy-unicode0 and anthy-unicode-dev. uim variables verified by parse (it requires the x11 DISTRO_FEATURE, which the qemux86-64 yoe distro strips, so it is not buildable in this configuration).

---
 .../packagegroups/packagegroup-meta-oe.bb     |    2 +-
 .../anthy-unicode/native-helpers.patch        |   61 +
 .../anthy-unicode/not_build_elc.patch         |   23 +
 .../anthy-unicode}/target-helpers.patch       |   50 +-
 .../anthy-unicode_1.0.0.20260213.bb           |   41 +
 .../recipes-support/anthy/anthy/2ch_t.patch   | 5064 -----------------
 .../anthy/anthy/native-helpers.patch          |   60 -
 .../anthy/anthy/not_build_elc.patch           |   19 -
 meta-oe/recipes-support/anthy/anthy_9100h.bb  |   48 -
 meta-oe/recipes-support/uim/uim_1.9.6.bb      |   26 +-
 10 files changed, 171 insertions(+), 5223 deletions(-)
 create mode 100644 meta-oe/recipes-support/anthy-unicode/anthy-unicode/native-helpers.patch
 create mode 100644 meta-oe/recipes-support/anthy-unicode/anthy-unicode/not_build_elc.patch
 rename meta-oe/recipes-support/{anthy/anthy => anthy-unicode/anthy-unicode}/target-helpers.patch (67%)
 create mode 100644 meta-oe/recipes-support/anthy-unicode/anthy-unicode_1.0.0.20260213.bb
 delete mode 100644 meta-oe/recipes-support/anthy/anthy/2ch_t.patch
 delete mode 100644 meta-oe/recipes-support/anthy/anthy/native-helpers.patch
 delete mode 100644 meta-oe/recipes-support/anthy/anthy/not_build_elc.patch
 delete mode 100644 meta-oe/recipes-support/anthy/anthy_9100h.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -1
index bdda72195b..824ef445f1 100644
@@ -705,7 +705,7 @@ RDEPENDS:packagegroup-meta-oe-shells = "\
 
 RDEPENDS:packagegroup-meta-oe-support = "\
     ace-cloud-editor \
-    anthy \
+    anthy-unicode \
     asio \
     atop \
     augeas \
meta-oe/recipes-support/anthy-unicode/anthy-unicode/native-helpers.patch new file +61 -0

61 lines not on this page · raw message

meta-oe/recipes-support/anthy-unicode/anthy-unicode/not_build_elc.patch new file +23 -0
new file mode 100644
index 0000000000..a3aa82407d
@@ -0,0 +1,23 @@
+Upstream-Status: Inappropriate [cross-compile specific]
+
+Do not byte-compile the Emacs lisp files at build time; there is no target
+Emacs available under cross compilation. The .el sources are still shipped.
+
+Signed-off-by: Khem Raj <[email protected]>
+
+diff --git a/src-util/Makefile.am b/src-util/Makefile.am
+index c51c076..7ccad01 100644
+--- a/src-util/Makefile.am
++++ b/src-util/Makefile.am
+@@ -16,10 +16,7 @@ bin_PROGRAMS = \
+     anthy-agent-unicode \
+     anthy-morphological-analyzer-unicode \
+     $(NULL)
+-ELCFILES = anthy-unicode.elc anthy-unicode-azik.elc anthy-unicode-conf.elc \
+-    anthy-unicode-dic.elc anthy-unicode-isearch.elc anthy-unicode-kyuri.elc \
+-    leim-list.elc \
+-    $(NULL)
++ELCFILES =
+ if ELISP
+ lisp_LISP = $(ELISP_FILES)
+ endif
meta-oe/recipes-support/anthy-unicode/anthy-unicode/target-helpers.patch renamed from meta-oe/recipes-support/anthy/anthy/target-helpers.patch +31 -19

87 lines not on this page · raw message

meta-oe/recipes-support/anthy-unicode/anthy-unicode_1.0.0.20260213.bb new file +41 -0

41 lines not on this page · raw message

meta-oe/recipes-support/anthy/anthy/2ch_t.patch deleted +0 -5064

2,780 lines not on this page · raw message

meta-oe/recipes-support/anthy/anthy/native-helpers.patch deleted +0 -60

60 lines not on this page · raw message

meta-oe/recipes-support/anthy/anthy/not_build_elc.patch deleted +0 -19
deleted file mode 100644
index bedb5e0498..0000000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/anthy/anthy_9100h.bb deleted +0 -48

48 lines not on this page · raw message

meta-oe/recipes-support/uim/uim_1.9.6.bb +14 -12
index 8629bee4e8..3e494e3338 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.