Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by mail.openembedded.org (Postfix) with ESMTP id 0DBD574717 for ; Fri, 30 Mar 2018 13:32:28 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id y55so8062443wry.3 for ; Fri, 30 Mar 2018 06:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=QlLAJguKXVKZeYT2jiGqwjvVUusyMF8pAl3vawJi/0I=; b=rZfr16b14+uJB6h0gidam3iTpNUYR0+dfAdDLaiTEHkxvCTts9KUC3nyDTl0G4Gm9G 99dLP0QYvEw80YP2LX4kIGvfdkIdJIiZk662b0kG8IH8wmfO28Am7R+IARjvrG0gpdB8 rCkhQxQgILCzygGaQyg0/L0XINRInmOa+DBVGGtoGLmVhKdJ5dhXGm1mE+VDmbSW+DiH gk4ACmWAuLDykUDw6I0GNjQ6mCp0l0iexmXwXAgSGOOrAIxLvCa3aP/e883BEGG/pZY3 Fub5n+J6Q22TT6H0CgF7DJClkTlC/RCZSSqzz5T4S8vyv7SJZuN/DOVXdSnthVcPeCkX tkZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QlLAJguKXVKZeYT2jiGqwjvVUusyMF8pAl3vawJi/0I=; b=oWkrlb/vjzK/bsLu+Nfb+9SDZMWudTZbn/bU4GTyMD4BIKEaHlDeEPvfxTmGQy92PK 33v464pvwfOPF1EyfSWRPseagUU2kPQlrEvA6u9M70FcWkGRDDGpkztoyJwRmT8ObY+L Zmx+C88Z5pbPq/wbPabdrpnyWAZb5t8+1ocNnCeAbRsN4LpK2SVSnCnEeeD6mEm83NP6 gGUfzz4XzSzf5+letQa3qXYNY1UKACYzl4M7EEhsFAI+b6OuDBJcWnlKptPWG22Nd8yE dGR2PLu2fQqgySe7WYlE2pvfn+cZd42CF1T2fFwY5ZoRCPN1sR61h0WhMyzpbMaGQIGl Cmng== X-Gm-Message-State: AElRT7EB18X1yuh7JHjM2cIcT3mL3NvNSrAY7gBmlrcZHs1EuFduRwn7 XIrMnU5zF03eYjTdix4UJwtwgw== X-Google-Smtp-Source: AIpwx49CKGAHzSFR8zMfSZdfdV4MYLPR1jVfn3W+geGa4crTZUdI4+X6tNYVBM4C1rxyiOMOMtNYdA== X-Received: by 10.223.200.138 with SMTP id k10mr10195753wrh.282.1522416748634; Fri, 30 Mar 2018 06:32:28 -0700 (PDT) Received: from PC192-168-2-116.speedport.ip (p200300F07BC180221E6F65FFFE3E7F61.dip0.t-ipconnect.de. [2003:f0:7bc1:8022:1e6f:65ff:fe3e:7f61]) by smtp.gmail.com with ESMTPSA id 93sm10468396wrh.46.2018.03.30.06.32.27 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Mar 2018 06:32:28 -0700 (PDT) From: =?UTF-8?q?Andreas=20M=C3=BCller?= To: openembedded-devel@lists.openembedded.org Date: Fri, 30 Mar 2018 15:31:36 +0200 Message-Id: <20180330133151.25882-25-schnitzeltony@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180330133151.25882-1-schnitzeltony@gmail.com> References: <20180330133151.25882-1-schnitzeltony@gmail.com> MIME-Version: 1.0 Subject: [PATCH 24/39] gnome-keyring: update 2.32.1 -> 3.20.0 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2018 13:32:28 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update to 3.28.0 is not yet possible due to gcr >= 3.27.90 required * license: Many sourcefiles are gone and those still left reference to COPYING or COPYING.LIB * recipe cleanup Signed-off-by: Andreas Müller --- .../gnome-keyring/gnome-keyring/egg-asn1x.patch | 55 -------------------- .../gnome-keyring/gnome-keyring_2.32.1.bb | 58 ---------------------- .../gnome-keyring/gnome-keyring_3.20.0.bb | 42 ++++++++++++++++ 3 files changed, 42 insertions(+), 113 deletions(-) delete mode 100644 meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-asn1x.patch delete mode 100644 meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb create mode 100644 meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_3.20.0.bb diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-asn1x.patch b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-asn1x.patch deleted file mode 100644 index ad8a40ccf..000000000 --- a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-asn1x.patch +++ /dev/null @@ -1,55 +0,0 @@ -Fixed build error with gcc 4.8 - -Errors like below - -egg-asn1x.c: In function 'anode_encode_build': -egg-asn1x.c:1280:7: warning: variable 'type' set but not used [-Wunused-but-set-variable] -egg-asn1x.c: In function 'traverse_and_prepare': -egg-asn1x.c:3354:3: warning: passing argument 1 of 'egg_asn1x_create' from incompatible pointer type [enabled by default] -In file included from egg-asn1x.c:50:0: -egg-asn1x.h:38:8: note: expected 'const struct static_struct_asn *' but argument is of type 'const struct asn1_static_node *' -egg-asn1x.c: At top level: -egg-asn1x.c:3509:1: error: conflicting types for 'egg_asn1x_create' -In file included from egg-asn1x.c:50:0: -egg-asn1x.h:38:8: note: previous declaration of 'egg_asn1x_create' was here -egg-asn1x.c:3572:1: error: conflicting types for 'egg_asn1x_create_quark' -In file included from egg-asn1x.c:50:0: -egg-asn1x.h:41:8: note: previous declaration of 'egg_asn1x_create_quark' was here -egg-asn1x.c:3579:1: error: conflicting types for 'egg_asn1x_create_and_decode' -In file included from egg-asn1x.c:50:0: -egg-asn1x.h:44:8: note: previous declaration of 'egg_asn1x_create_and_decode' was here -make[4]: *** [libegg_la-egg-asn1x.lo] Error 1 - - -Signed-off-by: Khem Raj - -Upstream-Status: Pending -Index: gnome-keyring-2.32.1/egg/egg-asn1x.h -=================================================================== ---- gnome-keyring-2.32.1.orig/egg/egg-asn1x.h 2010-10-18 19:11:38.000000000 -0700 -+++ gnome-keyring-2.32.1/egg/egg-asn1x.h 2013-06-11 15:15:00.675399263 -0700 -@@ -25,6 +25,7 @@ - #define EGG_ASN1X_H_ - - #include -+#include - - #ifndef HAVE_EGG_ALLOCATOR - typedef void* (*EggAllocator) (void* p, gsize); -@@ -35,13 +36,13 @@ - - struct static_struct_asn; - --GNode* egg_asn1x_create (const struct static_struct_asn *defs, -+GNode* egg_asn1x_create (const ASN1_ARRAY_TYPE *defs, - const gchar *type); - --GNode* egg_asn1x_create_quark (const struct static_struct_asn *defs, -+GNode* egg_asn1x_create_quark (const ASN1_ARRAY_TYPE *defs, - GQuark type); - --GNode* egg_asn1x_create_and_decode (const struct static_struct_asn *defs, -+GNode* egg_asn1x_create_and_decode (const ASN1_ARRAY_TYPE *defs, - const gchar *type, - gconstpointer data, - gsize n_data); diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb deleted file mode 100644 index 5a9ca5f6e..000000000 --- a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb +++ /dev/null @@ -1,58 +0,0 @@ -SUMMARY = "Password and keyring managing daemon" -HOMEPAGE = "http://www.gnome.org/" -BUGTRACKER = "https://bugzilla.gnome.org/" - -LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://gcr/gcr.h;endline=22;md5=a272df1e633e27ecf35e74fb5576250e \ - file://egg/egg-dbus.h;endline=25;md5=eb6f531af37165dc53420c073d774e61 \ - file://gp11/gp11.h;endline=24;md5=bd8c7a8a21d6c28d40536d96a35e3469 \ - file://pkcs11/pkcs11i.h;endline=24;md5=e72cfbb718389b76a4dae838d1c1f439" - -SECTION = "x11/gnome" - -PR = "r12" - -inherit distro_features_check autotools gnome gtk-doc pkgconfig gsettings - -REQUIRED_DISTRO_FEATURES = "x11" - -SRC_URI += "file://egg-asn1x.patch \ - file://musl.patch \ -" - -DEPENDS = "gtk+ libgcrypt libtasn1 libtasn1-native gconf ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} intltool-native glib-2.0-native" -RDEPENDS_${PN} = "libgnome-keyring glib-2.0-utils" - -LDFLAGS += "-lgmodule-2.0" - -EXTRA_OECONF = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam --with-pam-dir=${base_libdir}/security', '--disable-pam', d)}" - -SRC_URI[archive.md5sum] = "9a8aa74e03361676f29d6e73155786fc" -SRC_URI[archive.sha256sum] = "31fecec1430a97f59a6159a5a2ea8d6a1b44287f1e9e595b3594df46bf7f18f9" -GNOME_COMPRESS_TYPE="bz2" - -FILES_${PN} += "${datadir}/dbus-1/services ${datadir}/gcr \ - ${base_libdir}/security/*${SOLIBSDEV} \ - " - -FILES_${PN}-dev += "${libdir}/${BPN}/devel/*.la \ - ${libdir}/${BPN}/devel/*${SOLIBSDEV} \ - ${libdir}/${BPN}/standalone/*.la \ - ${base_libdir}/security/*.la \ - " - -INSANE_SKIP_${PN}-dev += "dev-elf" - -FILES_${PN}-dbg += "${libdir}/${BPN}/standalone/.debug/ \ - ${libdir}/${BPN}/devel/.debug/ \ - ${base_libdir}/security/.debug/" - -# Make compatible with gcr version 3 or newer by removing -# org.gnome.crypto.pgp.*, which is the provider for this optional -# functionality. - -do_install_append() { - rm ${D}${datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert - rm ${D}${datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml -} diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_3.20.0.bb b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_3.20.0.bb new file mode 100644 index 000000000..adf2ff926 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_3.20.0.bb @@ -0,0 +1,42 @@ +SUMMARY = "Password and keyring managing daemon" +HOMEPAGE = "http://www.gnome.org/" +BUGTRACKER = "https://bugzilla.gnome.org/" +SECTION = "x11/gnome" + +LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ +" + +inherit distro_features_check gnomebase + +DEPENDS = " \ + intltool-native \ + glib-2.0-native \ + gtk+3 \ + gcr \ + libgcrypt \ + ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \ +" + +SRC_URI[archive.md5sum] = "e09efe8021944dae404736b5a2adb98e" +SRC_URI[archive.sha256sum] = "bc17cecd748a0e46e302171d11c3ae3d76bba5258c441fabec3786f418e7ec99" +SRC_URI += "file://musl.patch" + +REQUIRED_DISTRO_FEATURES = "x11" + +RDEPENDS_${PN} = "libgnome-keyring glib-2.0-utils" + +EXTRA_OECONF = " \ + --disable-doc \ + ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam --with-pam-dir=${base_libdir}/security', '--disable-pam', d)} \ +" + + +FILES_${PN} += " \ + ${datadir}/dbus-1/services \ + ${datadir}/p11-kit \ + ${base_libdir}/security/*${SOLIBSDEV} \ + ${libdir}/pkcs11/gnome-keyring-pkcs11.so \ +" -- 2.14.3