graphviz: Depend on py3 at runtime
PATCH 1/4 graphviz: Depend on py3 at runtime
These packages are empty but python scripts
generally do not depend on python2
--- meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb +2 -2
@@ -66,8 +66,8 @@ FILES_${PN}-perl += "${libdir}/perl5/*/vendor_perl/ ${libdir}/graphviz/perl/" FILES_${PN}-demo += "${datadir}/graphviz/demo/" RDEPENDS_${PN}-perl += "perl" -RDEPENDS_${PN}-python += "python" -RDEPENDS_${PN}-demo += "python perl" +RDEPENDS_${PN}-python += "python3" +RDEPENDS_${PN}-demo += "python3 perl" INSANE_SKIP_${PN}-perl = "dev-so" INSANE_SKIP_${PN}-python = "dev-so"
Signature · 1 line
2.25.1
PATCH 2/4 pm-graph: Renamed from analyze-suspend
Moved to tip to get py3 support
Point SRC_URI to new location
Adjust for name changes
---
.../pm-graph_5.5.bb} | 12 ++++++++----
.../packagegroups/packagegroup-meta-oe.bb | 2 +-
2 files changed, 9 insertions(+), 5 deletions(-)
rename meta-oe/recipes-benchmark/{analyze-suspend/analyze-suspend_5.5.bb => pm-graph/pm-graph_5.5.bb} (74%)meta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb renamed from meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb +8 -4
@@ -1,4 +1,4 @@ -SUMMARY = "Analyze Suspend" +SUMMARY = "Analyze Suspend/Resume" DESCRIPTION = "analyze-suspend is a tool for system developers to visualize \ the activity between suspend and resume, allowing them to identify \ inefficiencies and bottlenecks."
@@ -14,10 +14,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" # - CONFIG_FUNCTION_TRACER=y # - CONFIG_FUNCTION_GRAPH_TRACER=y -RDEPENDS_${PN} += "python-core python-datetime python-stringold" +RDEPENDS_${PN} += "python3-core python3-datetime python3-stringold" -SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https" -SRCREV = "cf59527dc24fdd2f314ae4dcaeb3d68a117988f6" +PV .= "+git${SRCPV}" +SRC_URI = "git://github.com/intel/pm-graph;protocol=https" +SRCREV = "3a8cd2fa9aee3afbc7f7e844885ffdcfaf5a1097" S = "${WORKDIR}/git"
@@ -27,3 +28,6 @@ do_install() { } BBCLASSEXTEND = "native" + +RPROVIDES_${PN} = "analyze-suspend" +
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -1
@@ -46,7 +46,7 @@ RDEPENDS_packagegroup-meta-oe = "\ " RDEPENDS_packagegroup-meta-oe-benchmarks = "\ - analyze-suspend dhrystone iperf2 linpack phoronix-test-suite \ + pm-graph dhrystone iperf2 linpack phoronix-test-suite \ tiobench bonnie++ fio iperf2 iperf3 lmbench s-suite whetstone \ libc-bench memtester sysbench dbench iozone3 libhugetlbfs \ nbench-byte tinymembench \
Signature · 1 line
2.25.1
PATCH 3/4 cfengine: Upgrade to 3.15
In reply to Khem RajLicense-Update: Change in Company name Cfengine AS a Norwegian company -> Northern.tech Python3 fixes to needed scripts
---
.../cfengine/cfengine-masterfiles/python3.patch | 16 ++++++++++++++++
..._3.12.0.bb => cfengine-masterfiles_3.15.0.bb} | 15 ++++++++++-----
.../{cfengine_3.12.0.bb => cfengine_3.15.0.bb} | 10 +++++-----
3 files changed, 31 insertions(+), 10 deletions(-)
create mode 100644 meta-oe/recipes-extended/cfengine/cfengine-masterfiles/python3.patch
rename meta-oe/recipes-extended/cfengine/{cfengine-masterfiles_3.12.0.bb => cfengine-masterfiles_3.15.0.bb} (74%)
rename meta-oe/recipes-extended/cfengine/{cfengine_3.12.0.bb => cfengine_3.15.0.bb} (89%)meta-oe/recipes-extended/cfengine/cfengine-masterfiles/python3.patch new file +16 -0
@@ -0,0 +1,16 @@ +--- a/modules/packages/apt_get ++++ b/modules/packages/apt_get +@@ -1,4 +1,4 @@ +-#!/var/cfengine/bin/python ++#!/var/cfengine/bin/python3 + + import sys + import os +--- a/modules/packages/apt_get.in ++++ b/modules/packages/apt_get.in +@@ -1,4 +1,4 @@ +-#!@bindir@/python ++#!@bindir@/python3 + + import sys + import os
meta-oe/recipes-extended/cfengine/cfengine-masterfiles_3.15.0.bb renamed from meta-oe/recipes-extended/cfengine/cfengine-masterfiles_3.12.0.bb +10 -5
@@ -20,10 +20,11 @@ HOMEPAGE = "http://cfengine.com" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=9f76426f9ef8c6f6739fadd21d817a4f" -SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz" - -SRC_URI[md5sum] = "d59bd8c95620da816c382f749d425860" -SRC_URI[sha256sum] = "1c50e3d8c702097e13a21258626d936d6ff2e6492e893dfe286ff0d6204d7a65" +SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz \ + file://python3.patch \ + " +SRC_URI[md5sum] = "6d456fdd9bd24ff6617eeaa05efae602" +SRC_URI[sha256sum] = "4a071c0c4ba7df9bad93144cff5fbc0566e5172afd66201072e3193b76c55a38" inherit autotools
@@ -31,6 +32,10 @@ export EXPLICIT_VERSION="${PV}" EXTRA_OECONF = "--prefix=${datadir}/cfengine" +do_install_append() { + rm -rf ${D}${datadir}/cfengine/modules/packages/{zypper,yum} +} + FILES_${PN} = "${datadir}/cfengine" -RDEPENDS_${PN} += "python-core" +RDEPENDS_${PN} += "python3-core"
meta-oe/recipes-extended/cfengine/cfengine_3.15.0.bb renamed from meta-oe/recipes-extended/cfengine/cfengine_3.12.0.bb +5 -5
@@ -11,18 +11,17 @@ its lifecycle. CFEngine takes systems from Build to Deploy, Manage and Audit." HOMEPAGE = "http://cfengine.com" LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f8b34828ab373d6b1bb4b0fc60a78494" +LIC_FILES_CHKSUM = "file://LICENSE;md5=233aa25e53983237cf0bd4c238af255f" DEPENDS = "attr tokyocabinet" SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz \ file://set-path-of-default-config-file.patch \ " +SRC_URI[md5sum] = "d4dabfa46d8afa151be5610f184354e7" +SRC_URI[sha256sum] = "fa53e137f850eb268a8e7ae4578b5db5dc383656341f5053dc1a353ed0288265" -SRC_URI[md5sum] = "33ef12260db4b430352229f37f7cb0e5" -SRC_URI[sha256sum] = "d71ba98a272390c6fa8bc20e8ea27f0050a0a72a3e6b206a4762b4646be332ec" - -inherit autotools systemd +inherit autotools-brokensep systemd export EXPLICIT_VERSION="${PV}"
@@ -67,6 +66,7 @@ EOF install -m 0755 -D ${D}${sysconfdir}/init.d/cfengine3 ${D}${datadir}/${BPN}/cfengine3 sed -i -e 's#/etc/init.d#${datadir}/${BPN}#' ${D}${systemd_system_unitdir}/*.service fi + rm -rf ${D}${datadir}/cfengine/modules/packages/zypper } RDEPENDS_${PN} += "${BPN}-masterfiles"
Signature · 1 line
2.25.1
PATCH 4/4 dleyna-renderer: Fix build with gupnp 1.2+
In reply to Khem Raj--- .../0001-add-gupnp-1.2-API-support.patch | 123 ++++++++++++++++++ .../dleyna/dleyna-renderer_0.6.0.bb | 4 +- 2 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 meta-multimedia/recipes-multimedia/dleyna/dleyna-renderer/0001-add-gupnp-1.2-API-support.patch
meta-multimedia/recipes-multimedia/dleyna/dleyna-renderer/0001-add-gupnp-1.2-API-support.patch new file +123 -0
@@ -0,0 +1,123 @@ +From 7c945e7960cf7dffd9dd0bb5f7ec6bee4dc0bca3 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Tue, 18 Feb 2020 14:17:55 -0800 +Subject: [PATCH] add gupnp 1.2 API support + +Takes from https://git.archlinux.org/svntogit/packages.git/tree/trunk/gupnp-1.2.diff?h=packages/dleyna-renderer +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> +--- + configure.ac | 4 +-- + libdleyna/renderer/device.c | 51 +++++++++++++++++++++++++++++++++++-- + libdleyna/renderer/upnp.c | 4 +-- + 3 files changed, 53 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 271ee92..364659d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -38,8 +38,8 @@ LT_LANG([C]) + PKG_PROG_PKG_CONFIG(0.16) + PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28]) + PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.28]) +-PKG_CHECK_MODULES([GSSDP], [gssdp-1.0 >= 0.13.2]) +-PKG_CHECK_MODULES([GUPNP], [gupnp-1.0 >= 0.20.5]) ++PKG_CHECK_MODULES([GSSDP], [gssdp-1.2 >= 1.2.0]) ++PKG_CHECK_MODULES([GUPNP], [gupnp-1.2 >= 1.2.0]) + PKG_CHECK_MODULES([GUPNPAV], [gupnp-av-1.0 >= 0.11.5]) + PKG_CHECK_MODULES([GUPNPDLNA], [gupnp-dlna-2.0 >= 0.9.4]) + PKG_CHECK_MODULES([SOUP], [libsoup-2.4 >= 2.28.2]) +diff --git a/libdleyna/renderer/device.c b/libdleyna/renderer/device.c +index 783fb52..c7b9fc3 100644 +--- a/libdleyna/renderer/device.c ++++ b/libdleyna/renderer/device.c +@@ -2121,6 +2121,53 @@ exit: + return; + } + ++typedef struct ++{ ++ GMainLoop *loop; ++ GUPnPServiceIntrospection *introspection; ++ GError **error; ++} GetIntrospectionAsyncData; ++ ++static void ++get_introspection_async_cb (GUPnPServiceInfo *info, ++ GUPnPServiceIntrospection *introspection, ++ const GError *error, ++ gpointer user_data) ++{ ++ GetIntrospectionAsyncData *data = user_data; ++ data->introspection = introspection; ++ if (data->error) ++ *data->error = g_error_copy (error); ++ g_main_loop_quit (data->loop); ++} ++ ++static GUPnPServiceIntrospection * ++_gupnp_service_info_get_introspection (GUPnPServiceInfo *info, ++ GError **error) ++{ ++ GetIntrospectionAsyncData data; ++ GMainContext *context; ++ ++ context = g_main_context_new (); ++ data.loop = g_main_loop_new (context, FALSE); ++ data.error = error; ++ ++ g_main_context_push_thread_default (context); ++ ++ gupnp_service_info_get_introspection_async (info, ++ get_introspection_async_cb, ++ &data); ++ ++ g_main_loop_run (data.loop); ++ ++ g_main_context_pop_thread_default (context); ++ ++ g_main_loop_unref (data.loop); ++ g_main_context_unref (context); ++ ++ return data.introspection; ++} ++ + static gboolean prv_get_av_service_states_values(GUPnPServiceProxy *av_proxy, + GVariant **mpris_tp_speeds, + GPtrArray **upnp_tp_speeds, +@@ -2147,7 +2194,7 @@ static gboolean prv_get_av_service_states_values(GUPnPServiceProxy *av_proxy, + weak_ref = av_proxy; + g_object_add_weak_pointer(G_OBJECT(av_proxy), &weak_ref); + +- introspection = gupnp_service_info_get_introspection( ++ introspection = _gupnp_service_info_get_introspection( + GUPNP_SERVICE_INFO(av_proxy), + &error); + +@@ -2215,7 +2262,7 @@ static gboolean prv_get_rc_service_states_values(GUPnPServiceProxy *rc_proxy, + weak_ref = rc_proxy; + g_object_add_weak_pointer(G_OBJECT(rc_proxy), &weak_ref); + +- introspection = gupnp_service_info_get_introspection( ++ introspection = _gupnp_service_info_get_introspection( + GUPNP_SERVICE_INFO(rc_proxy), + &error); + +diff --git a/libdleyna/renderer/upnp.c b/libdleyna/renderer/upnp.c +index ac1b08a..b762226 100644 +--- a/libdleyna/renderer/upnp.c ++++ b/libdleyna/renderer/upnp.c +@@ -243,8 +243,8 @@ static void prv_server_unavailable_cb(GUPnPControlPoint *cp, + + udn = gupnp_device_info_get_udn((GUPnPDeviceInfo *)proxy); + +- ip_address = gupnp_context_get_host_ip( +- gupnp_control_point_get_context(cp)); ++ ip_address = gssdp_client_get_host_ip( ++ GSSDP_CLIENT(gupnp_control_point_get_context(cp))); + + if (!udn || !ip_address) + goto on_error; +-- +2.25.1 +
meta-multimedia/recipes-multimedia/dleyna/dleyna-renderer_0.6.0.bb +3 -1
@@ -11,7 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ DEPENDS = "glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4 dleyna-core" RDEPENDS_${PN} = "dleyna-connector-dbus" -SRC_URI = "git://github.com/01org/${BPN}.git" +SRC_URI = "git://github.com/01org/${BPN}.git \ + file://0001-add-gupnp-1.2-API-support.patch \ + " SRCREV = "50fd1ec9d51328e7dea98874129dc8d6fe3ea1dd" S = "${WORKDIR}/git"
Signature · 1 line
2.25.1
Re: [meta-oe][PATCH 2/4] pm-graph: Renamed from analyze-suspend
In reply to Khem RajIs this different from the one that is already in meta-oe?
https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-kernel/pm-graph
Thanks,
Anuj
Quoted 77 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Khem Raj
Sent: Wednesday, February 19, 2020 08:51 AM
To: [email protected]
Subject: [oe] [meta-oe][PATCH 2/4] pm-graph: Renamed from analyze-suspendMoved to tip to get py3 support
PointSRC_URIto new location
Adjust for name changesSigned-off-by Khem Raj <[email protected]>--- .../pm-graph_5.5.bb} | 12 ++++++++---- .../packagegroups/packagegroup-meta-oe.bb | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) rename meta-oe/recipes-benchmark/{analyze-suspend/analyze-suspend_5.5.bb => pm-graph/pm- graph_5.5.bb} (74%)
meta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb renamed from meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb +1
-1@@ -1,4 +1,4 @@ -SUMMARY = "Analyze Suspend" +SUMMARY = "Analyze Suspend/Resume" DESCRIPTION = "analyze-suspend is a tool for system developers to visualize \ theactivity between suspend and resume, allowing them to identify \ inefficiencies and bottlenecks."
meta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb renamed from meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb +0
-0@@ -14,10 +14,11 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
# -CONFIG_FUNCTION_TRACER=y
# -CONFIG_FUNCTION_GRAPH_TRACER=ymeta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb renamed from meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb +7
-3-RDEPENDS_${PN} += "python-core python-datetime python-stringold" +RDEPENDS_${PN} += "python3-core python3-datetime python3-stringold" -SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https" -SRCREV = "cf59527dc24fdd2f314ae4dcaeb3d68a117988f6" +PV .= "+git${SRCPV}" +SRC_URI = "git://github.com/intel/pm-graph;protocol=https" +SRCREV = "3a8cd2fa9aee3afbc7f7e844885ffdcfaf5a1097" S = "${WORKDIR}/git"@@ -27,3 +28,6 @@ do_install() { } BBCLASSEXTEND = "native" + +RPROVIDES_${PN} = "analyze-suspend" +meta- renamed from meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0
-0oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index
bad4aa769e..3933619add100644meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1
-2@@ -46,7 +46,7 @@ RDEPENDS_packagegroup-meta-oe = "\ " RDEPENDS_packagegroup-meta-oe-benchmarks = "\ - analyze-suspend dhrystone iperf2 linpack phoronix-test-suite \ + pm-graph dhrystone iperf2 linpack phoronix-test-suite \ tiobench bonnie++ fio iperf2 iperf3 lmbench s-suite whetstone \ libc-bench memtester sysbench dbench iozone3 libhugetlbfs \ nbench-byte tinymembench \ --2.25.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-oe][PATCH 2/4] pm-graph: Renamed from analyze-suspend
Quoted 5 lines · Anuj
Is this different from the one that is already in meta-oe?
https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-kernel/pm-graph
These are duplicates, thanks for pointing out, I will move the PROVIDES part to pm-graph and other
goodies from the recipe and delete analyze-suspend
Quoted 81 lines
Thanks,
Anuj
Quoted 77 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Khem Raj
Sent: Wednesday, February 19, 2020 08:51 AM
To: [email protected]
Subject: [oe] [meta-oe][PATCH 2/4] pm-graph: Renamed from analyze-suspendMoved to tip to get py3 support
PointSRC_URIto new location
Adjust for name changesSigned-off-by Khem Raj <[email protected]>--- .../pm-graph_5.5.bb} | 12 ++++++++---- .../packagegroups/packagegroup-meta-oe.bb | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) rename meta-oe/recipes-benchmark/{analyze-suspend/analyze-suspend_5.5.bb => pm-graph/pm- graph_5.5.bb} (74%)
meta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb renamed from meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb +1
-1@@ -1,4 +1,4 @@ -SUMMARY = "Analyze Suspend" +SUMMARY = "Analyze Suspend/Resume" DESCRIPTION = "analyze-suspend is a tool for system developers to visualize \ theactivity between suspend and resume, allowing them to identify \ inefficiencies and bottlenecks."
meta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb renamed from meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb +0
-0@@ -14,10 +14,11 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
# -CONFIG_FUNCTION_TRACER=y
# -CONFIG_FUNCTION_GRAPH_TRACER=ymeta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb renamed from meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb +7
-3-RDEPENDS_${PN} += "python-core python-datetime python-stringold" +RDEPENDS_${PN} += "python3-core python3-datetime python3-stringold" -SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https" -SRCREV = "cf59527dc24fdd2f314ae4dcaeb3d68a117988f6" +PV .= "+git${SRCPV}" +SRC_URI = "git://github.com/intel/pm-graph;protocol=https" +SRCREV = "3a8cd2fa9aee3afbc7f7e844885ffdcfaf5a1097" S = "${WORKDIR}/git"@@ -27,3 +28,6 @@ do_install() { } BBCLASSEXTEND = "native" + +RPROVIDES_${PN} = "analyze-suspend" +meta- renamed from meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0
-0oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index
bad4aa769e..3933619add100644meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1
-2@@ -46,7 +46,7 @@ RDEPENDS_packagegroup-meta-oe = "\ " RDEPENDS_packagegroup-meta-oe-benchmarks = "\ - analyze-suspend dhrystone iperf2 linpack phoronix-test-suite \ + pm-graph dhrystone iperf2 linpack phoronix-test-suite \ tiobench bonnie++ fio iperf2 iperf3 lmbench s-suite whetstone \ libc-bench memtester sysbench dbench iozone3 libhugetlbfs \ nbench-byte tinymembench \ --2.25.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel