All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCHv2 1/3] xdg-desktop-portal-gnome: add recipe
@ 2022-12-23  3:11 Markus Volk
  2022-12-23  3:11 ` [meta-oe][PATCHv2 2/3] appstream: " Markus Volk
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Markus Volk @ 2022-12-23  3:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Markus Volk

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../xdg-desktop-portal-gnome_43.1.bb          | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb

diff --git a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb
new file mode 100644
index 000000000..52e0e1f1d
--- /dev/null
+++ b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb
@@ -0,0 +1,29 @@
+SUMMARY = "A xdg-desktop-portal backend for gnome."
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = " \
+    glib-2.0-native \
+    gtk4\
+    xdg-desktop-portal \
+    libadwaita \
+    fontconfig \
+    gsettings-desktop-schemas \
+    gnome-desktop \
+    dconf \
+"
+
+inherit meson pkgconfig gsettings
+
+SRC_URI = "git://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome.git;protocol=https;nobranch=1"
+
+S = "${WORKDIR}/git"
+SRCREV = "4fd5a8bf16b01c78ed19764415cb26d29aaf7eab"
+
+PACKAGECONFIG ?= ""
+
+PACKAGECONFIG[screenshot] = ",,,gnome-shell"
+PACKAGECONFIG[screencast] = ",,,mutter"
+
+FILES:${PN} += "${systemd_user_unitdir} ${datadir}"
-- 
2.34.1



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

* [meta-oe][PATCHv2 2/3] appstream: add recipe
  2022-12-23  3:11 [meta-oe][PATCHv2 1/3] xdg-desktop-portal-gnome: add recipe Markus Volk
@ 2022-12-23  3:11 ` Markus Volk
  2022-12-23 18:11   ` [oe] " Khem Raj
  2022-12-23  3:11 ` [meta-oe][PATCHv2 3/3] flatpak: " Markus Volk
  2022-12-26  3:09 ` [oe] [meta-oe][PATCHv2 1/3] xdg-desktop-portal-gnome: " Khem Raj
  2 siblings, 1 reply; 7+ messages in thread
From: Markus Volk @ 2022-12-23  3:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Markus Volk

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../appstream/0001-fix-crosscompile.patch     | 43 +++++++++++++++++++
 .../appstream/appstream_0.15.5.bb             | 33 ++++++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644 meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch
 create mode 100644 meta-oe/recipes-support/appstream/appstream_0.15.5.bb

diff --git a/meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch b/meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch
new file mode 100644
index 000000000..3cf039259
--- /dev/null
+++ b/meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch
@@ -0,0 +1,43 @@
+From 6ab00a4279823829a9b82dc9e4d055da4de88c6e Mon Sep 17 00:00:00 2001
+From: Markus Volk <f_l_k@t-online.de>
+Date: Mon, 12 Dec 2022 15:42:42 +0100
+Subject: [PATCH] fix crosscompile
+
+Signed-off-by: Markus Volk <f_l_k@t-online.de>
+
+Upstream-Status: Inappropriate [oe-specific]
+---
+ data/meson.build  | 2 +-
+ meson.build       | 2 +-
+ tools/meson.build | 9 +++++++++
+ 3 files changed, 11 insertions(+), 2 deletions(-)
+
+diff --git a/data/meson.build b/data/meson.build
+index aea0cb25..1a085fc9 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -14,7 +14,7 @@ install_data('its/metainfo.loc',
+ metainfo_with_relinfo = custom_target('gen-output',
+     input : ['../NEWS', 'org.freedesktop.appstream.cli.metainfo.xml'],
+     output : ['nol10n_withrelinfo_org.freedesktop.appstream.cli.metainfo.xml'],
+-    command : [ascli_exe, 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@']
++    command : ['/usr/bin/appstreamcli', 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@']
+ )
+ 
+ metainfo_i18n = i18n.itstool_join(
+diff --git a/meson.build b/meson.build
+index fd0e3373..2f273ada 100644
+--- a/meson.build
++++ b/meson.build
+@@ -124,7 +124,7 @@ if get_option ('gir')
+     dependency('gobject-introspection-1.0', version: '>=1.56')
+ endif
+ 
+-stemmer_inc_dirs = include_directories(['/usr/include'])
++stemmer_inc_dirs = include_directories([''])
+ if get_option('stemming')
+     stemmer_lib = cc.find_library('stemmer', required: true)
+     if not cc.has_header('libstemmer.h')
+-- 
+2.34.1
+
diff --git a/meta-oe/recipes-support/appstream/appstream_0.15.5.bb b/meta-oe/recipes-support/appstream/appstream_0.15.5.bb
new file mode 100644
index 000000000..f9f04526f
--- /dev/null
+++ b/meta-oe/recipes-support/appstream/appstream_0.15.5.bb
@@ -0,0 +1,33 @@
+SUMMARY = "AppStream is a collaborative effort for making machine-readable software metadata easily available."
+HOMEPAGE = "https://github.com/ximion/appstream"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da"
+
+DEPENDS = " \
+    curl-native \
+    curl \
+    docbook-xml-dtd4-native \
+    gperf-native \
+    glib-2.0 \
+    libyaml \
+    libstemmer \
+    libxml2 \
+    libxmlb \
+    libxslt-native \
+    itstool-native \
+    docbook-xsl-stylesheets-native \
+    python3-pygments-native \
+"
+
+inherit meson gobject-introspection gettext gtk-doc pkgconfig vala
+
+GIR_MESON_OPTION = ""
+SRC_URI = " \
+    https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz \
+    file://0001-fix-crosscompile.patch \
+"
+
+SRC_URI[sha256sum] = "cb15ed62cc2729683879a2dbf98c0a3267ea2b4d57bba6bc55e70a25500e04c2"
+S = "${WORKDIR}/AppStream-${PV}"
+
+FILES:${PN} += "${datadir}"
-- 
2.34.1



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

* [meta-oe][PATCHv2 3/3] flatpak: add recipe
  2022-12-23  3:11 [meta-oe][PATCHv2 1/3] xdg-desktop-portal-gnome: add recipe Markus Volk
  2022-12-23  3:11 ` [meta-oe][PATCHv2 2/3] appstream: " Markus Volk
@ 2022-12-23  3:11 ` Markus Volk
  2022-12-26  3:09 ` [oe] [meta-oe][PATCHv2 1/3] xdg-desktop-portal-gnome: " Khem Raj
  2 siblings, 0 replies; 7+ messages in thread
From: Markus Volk @ 2022-12-23  3:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Markus Volk

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../0001-flatpak-pc-add-pc_sysrootdir.patch   | 26 ++++++++
 .../flatpak/flatpak_1.15.1.bb                 | 64 +++++++++++++++++++
 2 files changed, 90 insertions(+)
 create mode 100644 meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch
 create mode 100644 meta-oe/recipes-extended/flatpak/flatpak_1.15.1.bb

diff --git a/meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch b/meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch
new file mode 100644
index 000000000..99e9cd23b
--- /dev/null
+++ b/meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch
@@ -0,0 +1,26 @@
+From 3a1ab02d821cd4b0af44c0dad87e290ebaabef83 Mon Sep 17 00:00:00 2001
+From: Markus Volk <f_l_k@t-online.de>
+Date: Wed, 14 Dec 2022 06:50:40 +0100
+Subject: [PATCH] flatpak.pc: add pc_sysrootdir
+
+Signed-off-by: Markus Volk <f_l_k@t-online.de>
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 4a0b865e..5f69b1d9 100644
+--- a/meson.build
++++ b/meson.build
+@@ -509,7 +509,7 @@ pkgconfig_variables += 'exec_prefix=${prefix}'
+ pkgconfig_variables += 'datadir=' + ('${prefix}' / get_option('datadir'))
+ 
+ pkgconfig_variables += 'datarootdir=' + ('${prefix}' / get_option('datadir'))
+-pkgconfig_variables += 'interfaces_dir=${datadir}/dbus-1/interfaces/'
++pkgconfig_variables += 'interfaces_dir=${pc_sysrootdir}${datadir}/dbus-1/interfaces/'
+ pkgconfig_variables += 'httpbackend=' + get_option('http_backend')
+ 
+ pkgconfig.generate(
+-- 
+2.34.1
+
diff --git a/meta-oe/recipes-extended/flatpak/flatpak_1.15.1.bb b/meta-oe/recipes-extended/flatpak/flatpak_1.15.1.bb
new file mode 100644
index 000000000..a906e6761
--- /dev/null
+++ b/meta-oe/recipes-extended/flatpak/flatpak_1.15.1.bb
@@ -0,0 +1,64 @@
+DESCRIPTION = "Desktop containment framework."
+HOMEPAGE = "http://flatpak.org"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI = " \
+    gitsm://github.com/flatpak/flatpak;protocol=https;nobranch=1 \
+    file://0001-flatpak-pc-add-pc_sysrootdir.patch \
+"
+
+SRCREV = "47ea3934c0e055605b8dff93edad2136141e48ec"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig gettext systemd gobject-introspection python3native useradd mime features_check
+
+REQUIRED_DISTRO_FEATURES = "polkit"
+
+DEPENDS = " \
+    appstream \
+    bison-native \
+    curl \
+    dconf \
+    fuse3 \
+    gdk-pixbuf \
+    glib-2.0 \
+    gpgme \
+    json-glib \
+    libarchive \
+    libcap \
+    libxslt-native \
+    ostree \
+    polkit \
+    python3-pyparsing-native \
+    xmlto-native \
+"
+
+RDEPENDS:${PN} = " \
+    bubblewrap \
+    ca-certificates \
+    dconf \
+"
+
+GIR_MESON_OPTION = ""
+
+PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth"
+PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth"
+PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp"
+
+PACKAGECONFIG ?= " \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xauth', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'security', 'seccomp', '', d)} \
+"
+
+FILES:${PN} += "${libdir} ${datadir}"
+
+USERADD_PACKAGES = "${PN}"
+USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd"
+
+do_install:append() {
+    chmod 0700 ${D}/${datadir}/polkit-1/rules.d
+    chown polkitd ${D}/${datadir}/polkit-1/rules.d
+    chgrp root ${D}/${datadir}/polkit-1/rules.d
+}
-- 
2.34.1



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

* Re: [oe] [meta-oe][PATCHv2 2/3] appstream: add recipe
  2022-12-23  3:11 ` [meta-oe][PATCHv2 2/3] appstream: " Markus Volk
@ 2022-12-23 18:11   ` Khem Raj
  2022-12-23 18:14     ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2022-12-23 18:11 UTC (permalink / raw)
  To: Markus Volk; +Cc: openembedded-devel

appstream  fails to configure here qemux86-64/glibc

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2265/steps/14/logs/stdio


On Thu, Dec 22, 2022 at 7:11 PM Markus Volk <f_l_k@t-online.de> wrote:
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  .../appstream/0001-fix-crosscompile.patch     | 43 +++++++++++++++++++
>  .../appstream/appstream_0.15.5.bb             | 33 ++++++++++++++
>  2 files changed, 76 insertions(+)
>  create mode 100644 meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch
>  create mode 100644 meta-oe/recipes-support/appstream/appstream_0.15.5.bb
>
> diff --git a/meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch b/meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch
> new file mode 100644
> index 000000000..3cf039259
> --- /dev/null
> +++ b/meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch
> @@ -0,0 +1,43 @@
> +From 6ab00a4279823829a9b82dc9e4d055da4de88c6e Mon Sep 17 00:00:00 2001
> +From: Markus Volk <f_l_k@t-online.de>
> +Date: Mon, 12 Dec 2022 15:42:42 +0100
> +Subject: [PATCH] fix crosscompile
> +
> +Signed-off-by: Markus Volk <f_l_k@t-online.de>
> +
> +Upstream-Status: Inappropriate [oe-specific]
> +---
> + data/meson.build  | 2 +-
> + meson.build       | 2 +-
> + tools/meson.build | 9 +++++++++
> + 3 files changed, 11 insertions(+), 2 deletions(-)
> +
> +diff --git a/data/meson.build b/data/meson.build
> +index aea0cb25..1a085fc9 100644
> +--- a/data/meson.build
> ++++ b/data/meson.build
> +@@ -14,7 +14,7 @@ install_data('its/metainfo.loc',
> + metainfo_with_relinfo = custom_target('gen-output',
> +     input : ['../NEWS', 'org.freedesktop.appstream.cli.metainfo.xml'],
> +     output : ['nol10n_withrelinfo_org.freedesktop.appstream.cli.metainfo.xml'],
> +-    command : [ascli_exe, 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@']
> ++    command : ['/usr/bin/appstreamcli', 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@']
> + )
> +
> + metainfo_i18n = i18n.itstool_join(
> +diff --git a/meson.build b/meson.build
> +index fd0e3373..2f273ada 100644
> +--- a/meson.build
> ++++ b/meson.build
> +@@ -124,7 +124,7 @@ if get_option ('gir')
> +     dependency('gobject-introspection-1.0', version: '>=1.56')
> + endif
> +
> +-stemmer_inc_dirs = include_directories(['/usr/include'])
> ++stemmer_inc_dirs = include_directories([''])
> + if get_option('stemming')
> +     stemmer_lib = cc.find_library('stemmer', required: true)
> +     if not cc.has_header('libstemmer.h')
> +--
> +2.34.1
> +
> diff --git a/meta-oe/recipes-support/appstream/appstream_0.15.5.bb b/meta-oe/recipes-support/appstream/appstream_0.15.5.bb
> new file mode 100644
> index 000000000..f9f04526f
> --- /dev/null
> +++ b/meta-oe/recipes-support/appstream/appstream_0.15.5.bb
> @@ -0,0 +1,33 @@
> +SUMMARY = "AppStream is a collaborative effort for making machine-readable software metadata easily available."
> +HOMEPAGE = "https://github.com/ximion/appstream"
> +LICENSE = "LGPL-2.1-only"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da"
> +
> +DEPENDS = " \
> +    curl-native \
> +    curl \
> +    docbook-xml-dtd4-native \
> +    gperf-native \
> +    glib-2.0 \
> +    libyaml \
> +    libstemmer \
> +    libxml2 \
> +    libxmlb \
> +    libxslt-native \
> +    itstool-native \
> +    docbook-xsl-stylesheets-native \
> +    python3-pygments-native \
> +"
> +
> +inherit meson gobject-introspection gettext gtk-doc pkgconfig vala
> +
> +GIR_MESON_OPTION = ""
> +SRC_URI = " \
> +    https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz \
> +    file://0001-fix-crosscompile.patch \
> +"
> +
> +SRC_URI[sha256sum] = "cb15ed62cc2729683879a2dbf98c0a3267ea2b4d57bba6bc55e70a25500e04c2"
> +S = "${WORKDIR}/AppStream-${PV}"
> +
> +FILES:${PN} += "${datadir}"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#100194): https://lists.openembedded.org/g/openembedded-devel/message/100194
> Mute This Topic: https://lists.openembedded.org/mt/95838953/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

* Re: [oe] [meta-oe][PATCHv2 2/3] appstream: add recipe
  2022-12-23 18:11   ` [oe] " Khem Raj
@ 2022-12-23 18:14     ` Khem Raj
  2022-12-23 20:29       ` f_l_k
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2022-12-23 18:14 UTC (permalink / raw)
  To: Markus Volk; +Cc: openembedded-devel

| ../AppStream-0.15.5/data/meson.build:14:0: ERROR: Program
'/usr/bin/appstreamcli' not found or not executable

It seems it needs appstream-native perhaps..

On Fri, Dec 23, 2022 at 10:11 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> appstream  fails to configure here qemux86-64/glibc
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2265/steps/14/logs/stdio
>
>
> On Thu, Dec 22, 2022 at 7:11 PM Markus Volk <f_l_k@t-online.de> wrote:
> >
> > Signed-off-by: Markus Volk <f_l_k@t-online.de>
> > ---
> >  .../appstream/0001-fix-crosscompile.patch     | 43 +++++++++++++++++++
> >  .../appstream/appstream_0.15.5.bb             | 33 ++++++++++++++
> >  2 files changed, 76 insertions(+)
> >  create mode 100644 meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch
> >  create mode 100644 meta-oe/recipes-support/appstream/appstream_0.15.5.bb
> >
> > diff --git a/meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch b/meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch
> > new file mode 100644
> > index 000000000..3cf039259
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/appstream/appstream/0001-fix-crosscompile.patch
> > @@ -0,0 +1,43 @@
> > +From 6ab00a4279823829a9b82dc9e4d055da4de88c6e Mon Sep 17 00:00:00 2001
> > +From: Markus Volk <f_l_k@t-online.de>
> > +Date: Mon, 12 Dec 2022 15:42:42 +0100
> > +Subject: [PATCH] fix crosscompile
> > +
> > +Signed-off-by: Markus Volk <f_l_k@t-online.de>
> > +
> > +Upstream-Status: Inappropriate [oe-specific]
> > +---
> > + data/meson.build  | 2 +-
> > + meson.build       | 2 +-
> > + tools/meson.build | 9 +++++++++
> > + 3 files changed, 11 insertions(+), 2 deletions(-)
> > +
> > +diff --git a/data/meson.build b/data/meson.build
> > +index aea0cb25..1a085fc9 100644
> > +--- a/data/meson.build
> > ++++ b/data/meson.build
> > +@@ -14,7 +14,7 @@ install_data('its/metainfo.loc',
> > + metainfo_with_relinfo = custom_target('gen-output',
> > +     input : ['../NEWS', 'org.freedesktop.appstream.cli.metainfo.xml'],
> > +     output : ['nol10n_withrelinfo_org.freedesktop.appstream.cli.metainfo.xml'],
> > +-    command : [ascli_exe, 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@']
> > ++    command : ['/usr/bin/appstreamcli', 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@']
> > + )
> > +
> > + metainfo_i18n = i18n.itstool_join(
> > +diff --git a/meson.build b/meson.build
> > +index fd0e3373..2f273ada 100644
> > +--- a/meson.build
> > ++++ b/meson.build
> > +@@ -124,7 +124,7 @@ if get_option ('gir')
> > +     dependency('gobject-introspection-1.0', version: '>=1.56')
> > + endif
> > +
> > +-stemmer_inc_dirs = include_directories(['/usr/include'])
> > ++stemmer_inc_dirs = include_directories([''])
> > + if get_option('stemming')
> > +     stemmer_lib = cc.find_library('stemmer', required: true)
> > +     if not cc.has_header('libstemmer.h')
> > +--
> > +2.34.1
> > +
> > diff --git a/meta-oe/recipes-support/appstream/appstream_0.15.5.bb b/meta-oe/recipes-support/appstream/appstream_0.15.5.bb
> > new file mode 100644
> > index 000000000..f9f04526f
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/appstream/appstream_0.15.5.bb
> > @@ -0,0 +1,33 @@
> > +SUMMARY = "AppStream is a collaborative effort for making machine-readable software metadata easily available."
> > +HOMEPAGE = "https://github.com/ximion/appstream"
> > +LICENSE = "LGPL-2.1-only"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da"
> > +
> > +DEPENDS = " \
> > +    curl-native \
> > +    curl \
> > +    docbook-xml-dtd4-native \
> > +    gperf-native \
> > +    glib-2.0 \
> > +    libyaml \
> > +    libstemmer \
> > +    libxml2 \
> > +    libxmlb \
> > +    libxslt-native \
> > +    itstool-native \
> > +    docbook-xsl-stylesheets-native \
> > +    python3-pygments-native \
> > +"
> > +
> > +inherit meson gobject-introspection gettext gtk-doc pkgconfig vala
> > +
> > +GIR_MESON_OPTION = ""
> > +SRC_URI = " \
> > +    https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz \
> > +    file://0001-fix-crosscompile.patch \
> > +"
> > +
> > +SRC_URI[sha256sum] = "cb15ed62cc2729683879a2dbf98c0a3267ea2b4d57bba6bc55e70a25500e04c2"
> > +S = "${WORKDIR}/AppStream-${PV}"
> > +
> > +FILES:${PN} += "${datadir}"
> > --
> > 2.34.1
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#100194): https://lists.openembedded.org/g/openembedded-devel/message/100194
> > Mute This Topic: https://lists.openembedded.org/mt/95838953/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >


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

* Re: [oe] [meta-oe][PATCHv2 2/3] appstream: add recipe
  2022-12-23 18:14     ` Khem Raj
@ 2022-12-23 20:29       ` f_l_k
  0 siblings, 0 replies; 7+ messages in thread
From: f_l_k @ 2022-12-23 20:29 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

On Fri, Dec 23 2022 at 10:14:25 AM -0800, Khem Raj <raj.khem@gmail.com> 
wrote:
> It seems it needs appstream-native perhaps..

appstreamcli is created for the target and then this binary (created in 
${B}) is used as build dependency and thus fails cross-compilation. I 
patched it to use /usr/bin/appstreamcli for the native task, thinking 
that this binary will be available in almost all distributions. But it 
seems that it is missing at least for you.

Kind of a similar issue like crosscompiling gobject introspection


[-- Attachment #2: Type: text/html, Size: 713 bytes --]

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

* Re: [oe] [meta-oe][PATCHv2 1/3] xdg-desktop-portal-gnome: add recipe
  2022-12-23  3:11 [meta-oe][PATCHv2 1/3] xdg-desktop-portal-gnome: add recipe Markus Volk
  2022-12-23  3:11 ` [meta-oe][PATCHv2 2/3] appstream: " Markus Volk
  2022-12-23  3:11 ` [meta-oe][PATCHv2 3/3] flatpak: " Markus Volk
@ 2022-12-26  3:09 ` Khem Raj
  2 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2022-12-26  3:09 UTC (permalink / raw)
  To: Markus Volk; +Cc: openembedded-devel

I think it needs to check for polkit in distro features see

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2267/steps/11/logs/stdio

On Thu, Dec 22, 2022 at 7:11 PM Markus Volk <f_l_k@t-online.de> wrote:
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  .../xdg-desktop-portal-gnome_43.1.bb          | 29 +++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb
>
> diff --git a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb
> new file mode 100644
> index 000000000..52e0e1f1d
> --- /dev/null
> +++ b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb
> @@ -0,0 +1,29 @@
> +SUMMARY = "A xdg-desktop-portal backend for gnome."
> +HOMEPAGE = "https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
> +LICENSE = "LGPL-2.1-only"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> +
> +DEPENDS = " \
> +    glib-2.0-native \
> +    gtk4\
> +    xdg-desktop-portal \
> +    libadwaita \
> +    fontconfig \
> +    gsettings-desktop-schemas \
> +    gnome-desktop \
> +    dconf \
> +"
> +
> +inherit meson pkgconfig gsettings
> +
> +SRC_URI = "git://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome.git;protocol=https;nobranch=1"
> +
> +S = "${WORKDIR}/git"
> +SRCREV = "4fd5a8bf16b01c78ed19764415cb26d29aaf7eab"
> +
> +PACKAGECONFIG ?= ""
> +
> +PACKAGECONFIG[screenshot] = ",,,gnome-shell"
> +PACKAGECONFIG[screencast] = ",,,mutter"
> +
> +FILES:${PN} += "${systemd_user_unitdir} ${datadir}"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#100196): https://lists.openembedded.org/g/openembedded-devel/message/100196
> Mute This Topic: https://lists.openembedded.org/mt/95838955/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

end of thread, other threads:[~2022-12-26  3:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23  3:11 [meta-oe][PATCHv2 1/3] xdg-desktop-portal-gnome: add recipe Markus Volk
2022-12-23  3:11 ` [meta-oe][PATCHv2 2/3] appstream: " Markus Volk
2022-12-23 18:11   ` [oe] " Khem Raj
2022-12-23 18:14     ` Khem Raj
2022-12-23 20:29       ` f_l_k
2022-12-23  3:11 ` [meta-oe][PATCHv2 3/3] flatpak: " Markus Volk
2022-12-26  3:09 ` [oe] [meta-oe][PATCHv2 1/3] xdg-desktop-portal-gnome: " 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.