diff mbox series

[meta-gnome,4/5] seahorse: import recipe

Message ID 20230108130743.983639-4-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-gnome,1/5] gnome-disk-utility: update 42.0 -> 43.0 | expand

Commit Message

Markus Volk Jan. 8, 2023, 1:07 p.m. UTC
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../recipes-gnome/seahorse/seahorse_43.0.bb   | 42 +++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/seahorse/seahorse_43.0.bb

Comments

Khem Raj Jan. 8, 2023, 3:46 p.m. UTC | #1
fails to build on qemuarm/clang/glibc but also same error on all other
combinations.

| ssh/libseahorse-ssh.a.p/operation.c:536:2: error: incompatible
pointer to integer conversion returning 'void *' from a function with
result type 'gboolean' (aka 'int') [-Wint-conversion]
|         g_return_val_if_fail (_data_->_tmp0_, NULL);
|         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /mnt/jenkins/workspace/Yocto-world-arm/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/seahorse/43.0-r0/recipe-sysroot/usr/include/glib-2.0/glib/gmessages.h:660:16:
note: expanded from macro 'g_return_val_if_fail'
|         return (val); \
|                ^~~~~
| 1 error generated.

On Sun, Jan 8, 2023 at 5:08 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  .../recipes-gnome/seahorse/seahorse_43.0.bb   | 42 +++++++++++++++++++
>  1 file changed, 42 insertions(+)
>  create mode 100644 meta-gnome/recipes-gnome/seahorse/seahorse_43.0.bb
>
> diff --git a/meta-gnome/recipes-gnome/seahorse/seahorse_43.0.bb b/meta-gnome/recipes-gnome/seahorse/seahorse_43.0.bb
> new file mode 100644
> index 000000000..a43d045ae
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/seahorse/seahorse_43.0.bb
> @@ -0,0 +1,42 @@
> +SUMMARY = "Seahorse is a graphical interface for managing and using encryption keys."
> +LICENSE="GPL-2.0-only"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +GNOMEBASEBUILDCLASS = "meson"
> +
> +DEPENDS = " \
> +    avahi \
> +    appstream-glib-native \
> +    desktop-file-utils-native \
> +    gcr3 \
> +    glib-2.0 \
> +    gnupg \
> +    gpgme \
> +    gtk+3 \
> +    libhandy \
> +    libpwquality \
> +    libsecret \
> +    libsoup-3.0 \
> +    openssh \
> +"
> +
> +inherit gnomebase itstool vala mime-xdg
> +
> +SRC_URI[archive.sha256sum] = "5b1d1bfba74f3658227f3c82e296f330dd0fcd1ef4636b6a218228fee5ea832d"
> +
> +PACKAGECONFIG[key-sharing] = "-Dkey-sharing=true,-Dkey-sharing=false,avahi"
> +PACKAGECONFIG[ldap-support] = "-Dldap-support=true,-Dldap-support=false,openldap"
> +PACKAGECONFIG[pkcs11-support] = "-Dpkcs11-support=true,-Dpkcs11-support=false,p11-kit"
> +
> +PACKAGECONFIG ??= "pkcs11-support"
> +
> +EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross"
> +
> +do_write_config:append() {
> +    cat >${WORKDIR}/meson-${PN}.cross <<EOF
> +[binaries]
> +ssh-keygen = '${bindir}/ssh-keygen'
> +EOF
> +}
> +
> +FILES:${PN} += "${datadir}"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#100442): https://lists.openembedded.org/g/openembedded-devel/message/100442
> Mute This Topic: https://lists.openembedded.org/mt/96130657/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/seahorse/seahorse_43.0.bb b/meta-gnome/recipes-gnome/seahorse/seahorse_43.0.bb
new file mode 100644
index 000000000..a43d045ae
--- /dev/null
+++ b/meta-gnome/recipes-gnome/seahorse/seahorse_43.0.bb
@@ -0,0 +1,42 @@ 
+SUMMARY = "Seahorse is a graphical interface for managing and using encryption keys."
+LICENSE="GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+DEPENDS = " \
+    avahi \
+    appstream-glib-native \
+    desktop-file-utils-native \
+    gcr3 \
+    glib-2.0 \
+    gnupg \
+    gpgme \
+    gtk+3 \
+    libhandy \
+    libpwquality \
+    libsecret \
+    libsoup-3.0 \
+    openssh \
+"
+
+inherit gnomebase itstool vala mime-xdg
+
+SRC_URI[archive.sha256sum] = "5b1d1bfba74f3658227f3c82e296f330dd0fcd1ef4636b6a218228fee5ea832d"
+
+PACKAGECONFIG[key-sharing] = "-Dkey-sharing=true,-Dkey-sharing=false,avahi"
+PACKAGECONFIG[ldap-support] = "-Dldap-support=true,-Dldap-support=false,openldap"
+PACKAGECONFIG[pkcs11-support] = "-Dpkcs11-support=true,-Dpkcs11-support=false,p11-kit"
+
+PACKAGECONFIG ??= "pkcs11-support"
+
+EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross"
+
+do_write_config:append() {
+    cat >${WORKDIR}/meson-${PN}.cross <<EOF
+[binaries]
+ssh-keygen = '${bindir}/ssh-keygen'
+EOF
+}
+
+FILES:${PN} += "${datadir}"