Skip to contentSkip to conversation

gjs: Inherit pkgconfig

PATCH In review Khem Raj 2 participants 5 messages Oct 12, 2021 – Oct 13, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/3 gjs: Inherit pkgconfig

Fixes
configure: error: Package requirements (glib-2.0 >= 2.58.0 gobject-2.0 >= 2.58.0 gio-2.0 >= 2.58.0 gobject-introspection-1.0 libffi gthread-2.0 gio-2.0 >= 2.58.0 mozjs-60) were not met:

No package 'mozjs-60' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

---
 meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb +1 -1
index ccac08d060..096e277bb4 100644
@@ -9,7 +9,7 @@ GNOMEBASEBUILDCLASS = "autotools"
 
 DEPENDS = "mozjs gtk+3"
 
-inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even
+inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even pkgconfig
 
 SRC_URI[archive.sha256sum] = "7fb3eb746c17363d9ee47f4a5d0bb048f0075611763eb0da11d85e0e57aff381"
 SRC_URI += "file://0001-Disable-tests-on-host.patch \
Signature · 1 line
2.33.0
author
#1 lore raw

PATCH 2/3 luaposix: Use lua 5.4

OE-core has lua version 5.4

---
 meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb +1 -1
index 720e2eab8f..9a66d8fb28 100644
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release \
 "
 SRCREV = "8e4902ed81c922ed8f76a7ed85be1eaa3fd7e66d"
 S = "${WORKDIR}/git"
-LUA_VERSION = "5.3"
+LUA_VERSION = "5.4"
 
 inherit autotools pkgconfig
 
Signature · 1 line
2.33.0
author
#2 lore raw

PATCH 3/3 devilspie2: Switch to using github repo

In reply to Khem Raj

Use the latest commit on master branch which has lua 5.4 support as well.

---
 meta-gnome/recipes-gnome/devilspie/devilspie2_0.43.bb | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
meta-gnome/recipes-gnome/devilspie/devilspie2_0.43.bb +7 -4
index 69c23d562a..ce2f51fc68 100644
@@ -6,13 +6,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=00aefaa50aad75c21367df66102d542c \
 
 DEPENDS = "gtk+ glib-2.0 libwnck lua virtual/libx11"
 
-SRC_URI = " \
-    http://download.savannah.gnu.org/releases/${BPN}/${BPN}_${PV}-src.tar.gz \
+PV .= "+git${SRCPV}"
+
+SRCREV = "a3ee65b815a0247a0dbdaa39353444cef6f93499"
+
+SRC_URI = "git://github.com/dsalt/devilspie2;branch=master \
     file://default.lua \
     file://devilspie2.desktop \
 "
-SRC_URI[md5sum] = "26eed0b5b4af5c7e13c551eceaeab832"
-SRC_URI[sha256sum] = "ecffc17c62b41e196b72340192a90c4223329df041f135e74c0990860595f828"
+
+S = "${WORKDIR}/git"
 
 inherit features_check pkgconfig gettext
 
Signature · 1 line
2.33.0
#3 lore raw
In reply to Khem Raj
Quoted 7 lines · Khem Raj

Fixes
configure: error: Package requirements (glib-2.0 >= 2.58.0 gobject-2.0 >= 2.58.0 gio-2.0 >= 2.58.0 gobject-introspection-1.0 libffi gthread-2.0 gio-2.0 >= 2.58.0 mozjs-60) were not met:

No package 'mozjs-60' found

Thank you this. I caught it during a forthcoming upgrade to gjs that I have in the works.

Quoted 3 lines

Consider adjusting the PKG_CONFIG_PATH environment variable if you

---

Quoted 35 lines
 meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb +0 -1
index ccac08d060..096e277bb4 100644
@@ -9,7 +9,7 @@ GNOMEBASEBUILDCLASS = "autotools"
 
 DEPENDS = "mozjs gtk+3"
 
-inherit gnomebase gsettings gobject-introspection vala gettext

features_check upstream-version-is-even
+inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even pkgconfig

SRC_URI[archive.sha256sum] =
"7fb3eb746c17363d9ee47f4a5d0bb048f0075611763eb0da11d85e0e57aff381"
SRC_URI += "file://0001-Disable-tests-on-host.patch \
--
2.33.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#93257):
https://lists.openembedded.org/g/openembedded-devel/message/93257
Mute This Topic: https://lists.openembedded.org/mt/86274322/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#4 lore raw
Quoted 5 lines · Tim Orling
Quoted 1 line · Khem Raj
Quoted 8 lines
Quoted 4 lines

Fixes
configure: error: Package requirements (glib-2.0 >= 2.58.0 gobject-2.0 >= 2.58.0 gio-2.0 >= 2.58.0 gobject-introspection-1.0 libffi gthread-2.0 gio-2.0 >= 2.58.0 mozjs-60) were not met:

No package 'mozjs-60' found

Thank you this. I caught it during a forthcoming upgrade to gjs that I have in the works.

I think the real issue is that I am using mozjs 91 and gjs is not yet ready for this new mozjs version. The changes to support mozjs 91 are in master
lets see when the new gjs release comes out until then it stays broken with mozjs 91

Quoted 34 lines
Quoted 34 lines

Consider adjusting the PKG_CONFIG_PATH environment variable if you

---
 meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb +1 -2
index ccac08d060..096e277bb4 100644
@@ -9,7 +9,7 @@ GNOMEBASEBUILDCLASS = "autotools"
 
 DEPENDS = "mozjs gtk+3"
 
-inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even
+inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even pkgconfig
 
 SRC_URI[archive.sha256sum] = "7fb3eb746c17363d9ee47f4a5d0bb048f0075611763eb0da11d85e0e57aff381"
 SRC_URI += "file://0001-Disable-tests-on-host.patch \
--

2.33.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#93257): https://lists.openembedded.org/g/openembedded-devel/message/93257
Mute This Topic: https://lists.openembedded.org/mt/86274322/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-