Skip to contentSkip to conversation

Remove unused SRC_DISTRIBUTE_LICENSES

PATCH Applied [email protected] 2 participants 11 messages Dec 8, 2023 – Dec 13, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/10 Remove unused SRC_DISTRIBUTE_LICENSES

From: Ross Burton <[email protected]>

This variable was removed in oe-core 8c9ef5, and didn't do what any of these recipes seem to be using it for.

---
 meta-gnome/recipes-support/keybinder/keybinder_3.0.bb           | 2 --
 meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb | 2 +-
 meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb     | 2 +-
 meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb                     | 2 --
 4 files changed, 2 insertions(+), 6 deletions(-)
meta-gnome/recipes-support/keybinder/keybinder_3.0.bb +0 -2
index 971ad90f9c..20d6b1b627 100644
@@ -24,5 +24,3 @@ REQUIRED_DISTRO_FEATURES = "x11"
 do_configure:prepend() {
 	touch ${S}/ChangeLog
 }
-
-SRC_DISTRIBUTE_LICENSES += "X11"
meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb +1 -1
index 3fc7f39e85..05ece8b748 100644
@@ -2,7 +2,7 @@ SUMMARY = "Unicode Mingti (printed) TrueType Font"
 HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts"
 LICENSE = "Arphic-Public-License"
 LIC_FILES_CHKSUM = "file://license/english/ARPHICPL.TXT;md5=4555ed88e9a72fc9562af379d07c3350"
-SRC_DISTRIBUTE_LICENSES += "${PN}"
+
 RPROVIDES:${PN} = "virtual-chinese-font"
 PR = "r6"
 
meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb +1 -1
index 5a403f0775..c7229df1b1 100644
@@ -6,7 +6,7 @@ SUMMARY:ttf-sazanami-mincho = "Sazanami Mincho Japanese TrueType font"
 HOMEPAGE = "http://sourceforge.jp/projects/efont/"
 LICENSE = "PD"
 LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0"
-SRC_DISTRIBUTE_LICENSES += "${PN}"
+
 RPROVIDES:${PN} = "virtual-japanese-font"
 PR = "r9"
 
meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb +0 -2
index e716430673..b8a81bb0b7 100644
@@ -58,7 +58,5 @@ do_install:append() {
 
 BBCLASSEXTEND = "native"
 
-SRC_DISTRIBUTE_LICENSES += "HDF5"
-
 # h5fuse.sh script needs bash
 RDEPENDS:${PN} += "bash"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/10 gspell: inherit gtk-doc

From: Ross Burton <[email protected]>

This recipe has gtk-doc API documentation.

---
 meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb +1 -1
index 67e64915b4..7ad55da089 100644
@@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8c2e1ec1540fb3e0beb68361344cba7e"
 DEPENDS = "gtk+3 iso-codes enchant2"
 
 GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase gettext gobject-introspection vala
+inherit gnomebase gettext gobject-introspection vala gtk-doc
 
 SRC_URI[archive.sha256sum] = "b4e993bd827e4ceb6a770b1b5e8950fce3be9c8b2b0cbeb22fdf992808dd2139"
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/10 gspell: update DEPENDS, switch iso-codes for icu

In reply to [email protected]

From: Ross Burton <[email protected]>

gspell was changed in 2020 to use icu instead of iso-codes[1].

[1] https://gitlab.gnome.org/GNOME/gspell/-/commit/d5a8b72e194a6542ac4f7c850fe126c3c80d3a05

---
 meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb +1 -1
index 7ad55da089..2668fc009f 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://wiki.gnome.org/Projects/gspell"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8c2e1ec1540fb3e0beb68361344cba7e"
 
-DEPENDS = "gtk+3 iso-codes enchant2"
+DEPENDS = "gtk+3 icu enchant2"
 
 GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase gettext gobject-introspection vala gtk-doc
Signature · 1 line
2.34.1
#3 lore raw

PATCH 4/10 librest: remove spurious build dependencies

In reply to [email protected]

From: Ross Burton <[email protected]>

These are not dependencies of librest 0.8.1. I imagine they ended up in this recipe when the latest version was downgraded back to 0.8.1 and the dependencies not reviewed.

---
 meta-gnome/recipes-gnome/rest/librest_0.8.1.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta-gnome/recipes-gnome/rest/librest_0.8.1.bb +1 -4
index 51dc44cc4d..3a56486c0c 100644
@@ -4,13 +4,10 @@ LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
 DEPENDS = " \
-    gi-docgen \
-    gi-docgen-native \
     glib-2.0 \
     glib-2.0-native \
-    json-glib \
     libsoup-2.4 \
-    libxml2-native \
+    libxml2 \
 "
 
 GNOMEBASEBUILDCLASS = "autotools"
Signature · 1 line
2.34.1
#4 lore raw

PATCH 5/10 librest: inherit gtk-doc

In reply to [email protected]

From: Ross Burton <[email protected]>

This recipe has gtk-doc API documentation.

---
 meta-gnome/recipes-gnome/rest/librest_0.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/rest/librest_0.8.1.bb +1 -1
index 3a56486c0c..63372afa5d 100644
@@ -11,7 +11,7 @@ DEPENDS = " \
 "
 
 GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase gobject-introspection vala pkgconfig
+inherit gnomebase gobject-introspection vala pkgconfig gtk-doc
 
 GNOMEBN = "rest"
 
Signature · 1 line
2.34.1
#5 lore raw

PATCH 6/10 keybinder: use autotools-brokensep instead of setting B

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 meta-gnome/recipes-support/keybinder/keybinder_3.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-gnome/recipes-support/keybinder/keybinder_3.0.bb +1 -2
index 20d6b1b627..444a545d41 100644
@@ -9,7 +9,6 @@ DEPENDS = "gtk+3 gobject-introspection-native \
 LIC_FILES_CHKSUM = "file://COPYING;md5=1f18f9c6d8b4cfcc7d7804a243a4c0b4"
 
 S = "${WORKDIR}/git"
-B = "${S}"
 
 SRCREV = "736ccef40d39603b8111c8a3a0bca0319bbafdc0"
 PV = "3.0+git${SRCPV}"
@@ -18,7 +17,7 @@ SRC_URI = "git://github.com/engla/keybinder.git;branch=keybinder-3.0;protocol=ht
 
 RDEPENDS:${PN} = "gtk+"
 
-inherit features_check autotools gtk-doc gobject-introspection
+inherit features_check autotools-brokensep gtk-doc gobject-introspection
 
 REQUIRED_DISTRO_FEATURES = "x11"
 do_configure:prepend() {
Signature · 1 line
2.34.1
#6 lore raw

PATCH 7/10 keybinder: disable gtk-doc documentation

In reply to [email protected]

From: Ross Burton <[email protected]>

The API documentation doesn't build, so force it off until this is fixed.

---
 meta-gnome/recipes-support/keybinder/keybinder_3.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-gnome/recipes-support/keybinder/keybinder_3.0.bb +4 -0
index 444a545d41..278592dc6e 100644
@@ -23,3 +23,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
 do_configure:prepend() {
 	touch ${S}/ChangeLog
 }
+
+# gtk-doc generation doesn't work, so disable it:
+# ../keybinder-docs.sgml:26: element include: XInclude error : could not load ../xml/tree_index.sgml, and no fallback was found
+GTKDOC_ENABLED = "False"
Signature · 1 line
2.34.1
#7 lore raw

PATCH 8/10 gtksourceview3: remove obsolete DEPENDS

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 .../recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb       | 2 +-
 meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb  | 2 +-
 meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.10.0.bb | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)
meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb +1 -1
index 75f199b10f..e504186b82 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "http://projects.gnome.org/gtksourceview/"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
-DEPENDS = "gtk+3 libxml2 intltool-native gnome-common-native glib-2.0-native"
+DEPENDS = "gtk+3 libxml2 glib-2.0-native"
 
 PNAME = "gtksourceview"
 
meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb +1 -1
index 6acd00324b..353f02f1ba 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "http://projects.gnome.org/gtksourceview/"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
-DEPENDS = "gtk+3 libxml2 intltool-native gnome-common-native glib-2.0-native"
+DEPENDS = "gtk+3 libxml2 glib-2.0-native"
 
 PNAME = "gtksourceview"
 
meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.10.0.bb +0 -1
index f43fe2cf53..a336b19096 100644
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 DEPENDS = " \
     fribidi \
     glib-2.0-native \
-    gnome-common-native \
     fontconfig \
     gtk4 \
     libxml2 \
Signature · 1 line
2.34.1
#8 lore raw

PATCH 9/10 libgsf: remove obsolete DEPENDS

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 meta-gnome/recipes-gnome/libgsf/libgsf_1.14.51.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/libgsf/libgsf_1.14.51.bb +1 -1
index a54991574e..5ee73f5638 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=61464cfe342798eeced82efe9ae55f63"
 
 SECTION = "libs"
 
-DEPENDS= "libxml2 bzip2 glib-2.0 zlib gnome-common-native"
+DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
 
 GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase gobject-introspection gettext gtk-doc
Signature · 1 line
2.34.1
#9 lore raw

PATCH 10/10 evolution-data-server: remove obsolete intltool DEPENDS

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 .../evolution-data-server/evolution-data-server.bb              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb +1 -1
index edbe30ff87..11a52b455e 100644
@@ -1,7 +1,7 @@
 require ${BPN}.inc
 
 DEPENDS = " \
-    ${BPN}-native intltool-native gperf-native \
+    ${BPN}-native gperf-native \
     glib-2.0 gtk+3 gtk4 libxml2 icu \
     dbus db virtual/libiconv zlib libsoup-3.0 libical nss libsecret \
 "
Signature · 1 line
2.34.1
Applied
#10 lore raw
In reply to [email protected]
Quoted 4 lines · On Fri, 08 Dec 2023 22:32:15 +0000, [email protected] wrote:

This variable was removed in oe-core 8c9ef5, and didn't do what any of these recipes seem to be using it for.

Applied, thanks!

[01/10] Remove unused SRC_DISTRIBUTE_LICENSES

        commit: 9ae31f6f6a67d14da075bceb4a1a9781b140ffe8
[02/10] gspell: inherit gtk-doc
        commit: 58194b0b1264bb2f5c80b63edc3348c4fb1a0508
[03/10] gspell: update DEPENDS, switch iso-codes for icu
        commit: c3eaf805d2cce97ba2d25b6b4fae6b6ccbdfa114
[04/10] librest: remove spurious build dependencies
        commit: 069885e74dace8eea3b71557b26c99e959ce7830
[05/10] librest: inherit gtk-doc
        commit: a9cee7a46934d2f305fa458969e96ff7dab8841b
[06/10] keybinder: use autotools-brokensep instead of setting B
        commit: 21dbf20b54029eb8babfeb8d7f52f1b78cc560aa
[07/10] keybinder: disable gtk-doc documentation
        commit: d015d52ad81115986ac89f45d086820d9027857a
[08/10] gtksourceview3: remove obsolete DEPENDS
        commit: f8f5c728a387c9b26a62f30d12c7d71e199d277e
[09/10] libgsf: remove obsolete DEPENDS
        commit: 103f49b5fc987e7bb8765700d16bd387a33b62ca
[10/10] evolution-data-server: remove obsolete intltool DEPENDS
        commit: 50769bc2f25f20dff422cffb5e0c486578d8eacf

Best regards,

Signature · 1 line
Khem Raj <[email protected]>