All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Adjust for switching default build system for gnomebase
@ 2023-11-12 20:17 Khem Raj
  2023-11-12 20:17 ` [PATCH v2 1/5] meta-networking: Use autotools make system Khem Raj
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Khem Raj @ 2023-11-12 20:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj, Otavio Salvador

Its changing from autools -> meson in gnomebase class in core, however
not all recipes can/have migrated to meson therefore demand autotools
explicitly when needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Changes in v2:
- toscoterm: Delete recipe.
- Link to v1: https://lore.kernel.org/r/20231112-kraj-pu-v1-0-69ea83675f3e@gmail.com

---
Khem Raj (5):
      meta-networking: Use autotools make system
      meta-oe: Use autotools make system
      toscoterm: Skip recipe, slated for removal
      loudmouth: Upgrade to 1.5.4
      toscoterm: Delete recipe

 .../networkmanager-fortisslvpn_1.4.0.bb            |  1 +
 .../networkmanager-openconnect_1.2.8.bb            |  1 +
 .../networkmanager-openvpn_1.10.2.bb               |  1 +
 .../04-use-pkg-config-for-gnutls.patch             | 25 -------------------
 .../loudmouth/loudmouth-1.4.3/glib-2.32.patch      | 12 ---------
 .../loudmouth/loudmouth_1.4.3.bb                   | 21 ----------------
 .../loudmouth/loudmouth_1.5.4.bb                   | 16 ++++++++++++
 .../packagegroups/packagegroup-meta-oe.bb          |  1 -
 meta-oe/recipes-devtools/glade/glade_3.22.2.bb     |  2 +-
 meta-oe/recipes-gnome/gtk+/gtkmm_2.24.5.bb         |  1 +
 meta-oe/recipes-support/toscoterm/toscoterm_git.bb | 29 ----------------------
 11 files changed, 21 insertions(+), 89 deletions(-)
---
base-commit: 6f26ff340bc9d07e7bdf6f4f75b2c81935230069
change-id: 20231112-kraj-pu-3b9ab728b087

Best regards,
-- 
Khem Raj <raj.khem@gmail.com>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 1/5] meta-networking: Use autotools make system
  2023-11-12 20:17 [PATCH v2 0/5] Adjust for switching default build system for gnomebase Khem Raj
@ 2023-11-12 20:17 ` Khem Raj
  2023-11-12 20:17 ` [PATCH v2 2/5] meta-oe: " Khem Raj
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2023-11-12 20:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj

OE-core is switching to default to meson for gnome recipes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../networkmanager/networkmanager-fortisslvpn_1.4.0.bb                   | 1 +
 .../networkmanager/networkmanager-openconnect_1.2.8.bb                   | 1 +
 .../recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb | 1 +
 3 files changed, 3 insertions(+)

diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn_1.4.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn_1.4.0.bb
index a251e8bf3d..a15c69b601 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn_1.4.0.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn_1.4.0.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 
 DEPENDS = "glib-2.0-native libxml2-native networkmanager ppp"
 
+GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase gettext useradd
 
 SRC_URI = " \
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager-openconnect_1.2.8.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openconnect_1.2.8.bb
index c978defbbf..ee19afbd11 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager-openconnect_1.2.8.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openconnect_1.2.8.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=186e8b54342da4f753a62b7748c947db"
 
 DEPENDS = "glib-2.0-native intltool-native libxml2 networkmanager openconnect"
 
+GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase useradd
 
 SRC_URI = "${GNOME_MIRROR}/NetworkManager-openconnect/${@gnome_verdir("${PV}")}/NetworkManager-openconnect-${PV}.tar.xz"
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb
index a9afe3a7e4..cdef11c89c 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=100d5a599bead70ddcd70dcd73f2e29c"
 
 DEPENDS = "dbus dbus-glib networkmanager openvpn intltool-native glib-2.0-native"
 
+GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase useradd gettext systemd
 
 SRC_URI = "${GNOME_MIRROR}/NetworkManager-openvpn/${@gnome_verdir("${PV}")}/NetworkManager-openvpn-${PV}.tar.xz"

-- 
2.42.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 2/5] meta-oe: Use autotools make system
  2023-11-12 20:17 [PATCH v2 0/5] Adjust for switching default build system for gnomebase Khem Raj
  2023-11-12 20:17 ` [PATCH v2 1/5] meta-networking: Use autotools make system Khem Raj
@ 2023-11-12 20:17 ` Khem Raj
  2023-11-12 20:17 ` [PATCH v2 3/5] toscoterm: Skip recipe, slated for removal Khem Raj
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2023-11-12 20:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj

OE-core is switching to default to meson for gnome recipes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb | 1 +
 meta-oe/recipes-devtools/glade/glade_3.22.2.bb            | 2 +-
 meta-oe/recipes-gnome/gtk+/gtkmm_2.24.5.bb                | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb b/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
index 7b5eecf54d..0593469a45 100644
--- a/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
+++ b/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c4f38aef94828f6b280e00d1173be689"
 
 DEPENDS = "glib-2.0 libcheck openssl libidn"
 
+GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase gtk-doc
 
 PR = "r2"
diff --git a/meta-oe/recipes-devtools/glade/glade_3.22.2.bb b/meta-oe/recipes-devtools/glade/glade_3.22.2.bb
index 28b1279390..3936e04c6d 100644
--- a/meta-oe/recipes-devtools/glade/glade_3.22.2.bb
+++ b/meta-oe/recipes-devtools/glade/glade_3.22.2.bb
@@ -8,7 +8,7 @@ DEPENDS = "gtk+3 glib-2.0 libxml2 intltool-native \
            gnome-common-native \
            autoconf-archive-native \
 "
-
+GNOMEBASEBUILDCLASS = "autotools"
 inherit features_check autotools pkgconfig gnomebase gobject-introspection mime-xdg
 
 # xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
diff --git a/meta-oe/recipes-gnome/gtk+/gtkmm_2.24.5.bb b/meta-oe/recipes-gnome/gtk+/gtkmm_2.24.5.bb
index 54e75a20d3..87b0f5e65d 100644
--- a/meta-oe/recipes-gnome/gtk+/gtkmm_2.24.5.bb
+++ b/meta-oe/recipes-gnome/gtk+/gtkmm_2.24.5.bb
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
 
 DEPENDS = "atkmm pangomm glibmm gtk+ cairomm"
 
+GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase features_check
 
 REQUIRED_DISTRO_FEATURES = "x11"

-- 
2.42.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 3/5] toscoterm: Skip recipe, slated for removal
  2023-11-12 20:17 [PATCH v2 0/5] Adjust for switching default build system for gnomebase Khem Raj
  2023-11-12 20:17 ` [PATCH v2 1/5] meta-networking: Use autotools make system Khem Raj
  2023-11-12 20:17 ` [PATCH v2 2/5] meta-oe: " Khem Raj
@ 2023-11-12 20:17 ` Khem Raj
  2023-11-12 20:17 ` [PATCH v2 4/5] loudmouth: Upgrade to 1.5.4 Khem Raj
  2023-11-12 20:17 ` [PATCH v2 5/5] toscoterm: Delete recipe Khem Raj
  4 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2023-11-12 20:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj, Otavio Salvador

It needs to be brought forward to work with latest, it fails
to build with vte9 0.74.1 in meta-oe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
---
 meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 1 -
 meta-oe/recipes-support/toscoterm/toscoterm_git.bb         | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index 639388dece..fafa247772 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -891,7 +891,6 @@ RDEPENDS:packagegroup-meta-oe-support ="\
     pcsc-lite \
     pcsc-tools \
     sharutils \
-    ${@bb.utils.contains("DISTRO_FEATURES", "x11", "toscoterm", "", d)} \
     sg3-utils \
     ${@bb.utils.contains("DISTRO_FEATURES", "x11", "uim", "", d)} \
     uchardet \
diff --git a/meta-oe/recipes-support/toscoterm/toscoterm_git.bb b/meta-oe/recipes-support/toscoterm/toscoterm_git.bb
index b9f26051a1..654e886cab 100644
--- a/meta-oe/recipes-support/toscoterm/toscoterm_git.bb
+++ b/meta-oe/recipes-support/toscoterm/toscoterm_git.bb
@@ -27,3 +27,5 @@ do_install() {
 }
 
 RDEPENDS:${PN}:append:libc-glibc = " glibc-gconv-ibm437"
+
+SKIP_RECIPE[toscoterm] ?= "Needs porting to work with latest vte9 >= 0.74.1"

-- 
2.42.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 4/5] loudmouth: Upgrade to 1.5.4
  2023-11-12 20:17 [PATCH v2 0/5] Adjust for switching default build system for gnomebase Khem Raj
                   ` (2 preceding siblings ...)
  2023-11-12 20:17 ` [PATCH v2 3/5] toscoterm: Skip recipe, slated for removal Khem Raj
@ 2023-11-12 20:17 ` Khem Raj
  2023-11-12 20:17 ` [PATCH v2 5/5] toscoterm: Delete recipe Khem Raj
  4 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2023-11-12 20:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj

License-Update: Update the postal address of the FSF [1]

Drop patches not needed anymore.

[1] https://github.com/mcabber/loudmouth/commit/c1f7ffdeb1f9f78eeb377bd28c7be8c146161327

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../04-use-pkg-config-for-gnutls.patch             | 25 ----------------------
 .../loudmouth/loudmouth-1.4.3/glib-2.32.patch      | 12 -----------
 .../loudmouth/loudmouth_1.4.3.bb                   | 22 -------------------
 .../loudmouth/loudmouth_1.5.4.bb                   | 16 ++++++++++++++
 4 files changed, 16 insertions(+), 59 deletions(-)

diff --git a/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/04-use-pkg-config-for-gnutls.patch b/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/04-use-pkg-config-for-gnutls.patch
deleted file mode 100644
index 0fc87abd09..0000000000
--- a/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/04-use-pkg-config-for-gnutls.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Upstream-Status: Pending
-
-Description: use pkg-config to detect gnutls
-Debian: http://bugs.debian.org/529835
-Origin: http://groups.google.com/group/loudmouth-dev/browse_thread/thread/3f78255837048daf#
-
---- a/configure.ac.orig	2009-08-16 20:29:36.000000000 +0200
-+++ b/configure.ac	2009-08-16 20:30:43.000000000 +0200
-@@ -146,10 +146,12 @@ AC_ARG_WITH(openssl-libs,
- enable_ssl=no
- if test "x$ac_ssl" = "xgnutls"; then
-   dnl Look for GnuTLS
--  AM_PATH_LM_LIBGNUTLS($GNUTLS_REQUIRED, have_libgnutls=yes, have_libgnutls=no)
--  if test "x$have_libgnutls" = "xyes"; then
--    CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
--    LIBS="$LIBS $LIBGNUTLS_LIBS"
-+  PKG_CHECK_MODULES(GNUTLS, gnutls >= $GNUTLS_REQUIRED, have_gnutls=yes, have_gnutls=no)
-+  if test "x$have_gnutls" = "xyes"; then 
-+    AC_SUBST(ASYNCNS_CFLAGS)
-+    AC_SUBST(ASYNCNS_LIBS)
-+    CFLAGS="$CFLAGS $GNUTLS_CFLAGS"
-+    LIBS="$LIBS $GNUTLS_LIBS"
-     AC_DEFINE(HAVE_GNUTLS, 1, [whether to use GnuTSL support.])
-     enable_ssl=GnuTLS
-   else
diff --git a/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/glib-2.32.patch b/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/glib-2.32.patch
deleted file mode 100644
index 921aded943..0000000000
--- a/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/glib-2.32.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Upstream-Status: Pending
-
---- loudmouth-1.4.3.orig/loudmouth/lm-error.c	2008-10-29 21:48:15.000000000 +0100
-+++ loudmouth-1.4.3/loudmouth/lm-error.c	2012-05-06 08:27:07.455739440 +0200
-@@ -19,7 +19,6 @@
-  */
- 
- #include <config.h>
--#include <glib/gerror.h>
- #include "lm-error.h"
- 
- /**
diff --git a/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb b/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
deleted file mode 100644
index 0593469a45..0000000000
--- a/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-DESCRIPTION = "Loudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol."
-HOMEPAGE = "http://www.loudmouth-project.org/"
-
-LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=c4f38aef94828f6b280e00d1173be689"
-
-DEPENDS = "glib-2.0 libcheck openssl libidn"
-
-GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase gtk-doc
-
-PR = "r2"
-
-SRC_URI += "file://04-use-pkg-config-for-gnutls.patch \
-            file://glib-2.32.patch"
-
-SRC_URI[archive.md5sum] = "55339ca42494690c3942ee1465a96937"
-SRC_URI[archive.sha256sum] = "95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3"
-GNOME_COMPRESS_TYPE="bz2"
-
-EXTRA_OECONF = "--with-ssl=openssl"
-
diff --git a/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.5.4.bb b/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.5.4.bb
new file mode 100644
index 0000000000..f67c46b428
--- /dev/null
+++ b/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.5.4.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Loudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol."
+HOMEPAGE = "http://www.loudmouth-project.org/"
+
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "glib-2.0 libcheck openssl libidn"
+
+GNOMEBASEBUILDCLASS = "autotools"
+
+inherit gnomebase gtk-doc
+
+SRC_URI = "https://github.com/mcabber/${BPN}/releases/download/${PV}/${BP}.tar.bz2"
+SRC_URI[sha256sum] = "31cbc91c1fddcc5346b3373b8fb45594e9ea9cc7fe36d0595e8912c47ad94d0d"
+
+EXTRA_OECONF = "--with-ssl=openssl --with-compile-warnings=no"

-- 
2.42.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 5/5] toscoterm: Delete recipe
  2023-11-12 20:17 [PATCH v2 0/5] Adjust for switching default build system for gnomebase Khem Raj
                   ` (3 preceding siblings ...)
  2023-11-12 20:17 ` [PATCH v2 4/5] loudmouth: Upgrade to 1.5.4 Khem Raj
@ 2023-11-12 20:17 ` Khem Raj
  4 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2023-11-12 20:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj, Otavio Salvador

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
---
 meta-oe/recipes-support/toscoterm/toscoterm_git.bb | 31 ----------------------
 1 file changed, 31 deletions(-)

diff --git a/meta-oe/recipes-support/toscoterm/toscoterm_git.bb b/meta-oe/recipes-support/toscoterm/toscoterm_git.bb
deleted file mode 100644
index 654e886cab..0000000000
--- a/meta-oe/recipes-support/toscoterm/toscoterm_git.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-SUMMARY = "A very small and simple terminal emulator"
-SECTION = "x11/applications"
-DEPENDS = "vte9"
-
-LICENSE = "GPL-3.0-only"
-LIC_FILES_CHKSUM = "file://main.c;start_line=5;end_line=16;md5=9ae4bf20caf291afa94530026bd15229"
-
-# 0.2 version
-SRCREV = "8586d617aed19fc75f5ae1e07270752c1b2f9a30"
-SRC_URI = "git://github.com/OSSystems/toscoterm.git;branch=master;protocol=https"
-
-S = "${WORKDIR}/git"
-
-inherit features_check gitpkgv pkgconfig
-
-REQUIRED_DISTRO_FEATURES = "x11"
-
-do_compile() {
-    oe_runmake \
-        CC="${CC}" \
-        CFLAGS="`pkg-config --cflags vte`${CFLAGS}" \
-        LDFLAGS="`pkg-config --libs vte` ${LDFLAGS}"
-}
-
-do_install() {
-    oe_runmake PREFIX="${prefix}" DESTDIR="${D}" install
-}
-
-RDEPENDS:${PN}:append:libc-glibc = " glibc-gconv-ibm437"
-
-SKIP_RECIPE[toscoterm] ?= "Needs porting to work with latest vte9 >= 0.74.1"

-- 
2.42.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-12 20:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-12 20:17 [PATCH v2 0/5] Adjust for switching default build system for gnomebase Khem Raj
2023-11-12 20:17 ` [PATCH v2 1/5] meta-networking: Use autotools make system Khem Raj
2023-11-12 20:17 ` [PATCH v2 2/5] meta-oe: " Khem Raj
2023-11-12 20:17 ` [PATCH v2 3/5] toscoterm: Skip recipe, slated for removal Khem Raj
2023-11-12 20:17 ` [PATCH v2 4/5] loudmouth: Upgrade to 1.5.4 Khem Raj
2023-11-12 20:17 ` [PATCH v2 5/5] toscoterm: Delete recipe Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.