From patchwork Sun Mar 15 20:10:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1255171 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=UXCWziFo; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48gVtF5dzWz9sP7 for ; Mon, 16 Mar 2020 07:10:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7182A234AC; Sun, 15 Mar 2020 20:10:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d6RC3IybEYDT; Sun, 15 Mar 2020 20:10:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0D11920243; Sun, 15 Mar 2020 20:10:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 7EB361BF3F4 for ; Sun, 15 Mar 2020 20:10:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7839D89CF7 for ; Sun, 15 Mar 2020 20:10:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uJgGktFe84P0 for ; Sun, 15 Mar 2020 20:10:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by hemlock.osuosl.org (Postfix) with ESMTPS id AAFE189CEB for ; Sun, 15 Mar 2020 20:10:37 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id ay11so6951575plb.0 for ; Sun, 15 Mar 2020 13:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mridfveq9Y3GP0eNRSRNyzXVEnAii05XhDBEhRgS7bs=; b=UXCWziFooiDTUpNROzhaVp29oazqVFY9NPfUELCbcT6ku2piuSVPENX2FtFaKzOkg6 aoRNGPlwE/M5Y1Ig+q+4Bzi/7uKqHuQ/yF6upfUxDDTli+WR0NuBvkOrO1cvATUNVd4x +qmiqxsPiLP+RqdHFl6HnDav0Uj0Pz940BjBUnSyR/EAR0jKRLbTR1gIn4FuUn0O2+xt lfVkrHqwqGfbdzAKHiwocGV7zOJ3bJ5Y9pz4098KvynQ0Psjk04QMDqMuH03KTpGm1zK VSraksj6i2ZhdzsD3nr+lXLBvkV8yVE7bGDMKTLl+zwXM039i96dHCR7HesvEtW1S/7v LoBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mridfveq9Y3GP0eNRSRNyzXVEnAii05XhDBEhRgS7bs=; b=tuzGns2T/K2jcxjvazDO1ZK0l5HtDyLLPNetPvf8yuZnr47CH1YToxdlGfr2T+Sihd RZXhJKS900zVwTBX5SuYONCE3awkc5Xut9roH/H8QEV96OMEMIt252gUxYL+BHcFrMpY ExONjWRFV7d2yM7LdemKj5+OIHhwJR3O8boWL+V8yaRsSF3wVEqYUsnDlhIFzHXKnmGx m3kAZI8rOfUstVQxsP9OpRRZuYYGtq76SrhSXTVp+MTMGSeLcW84LWOpFTRsXbzQcvIN VcdjC1p88zCau3LbAVqXqi2mApZCs5/4AX1GEk41T3UjXfp1badz8sOt48x+RJs0Y/NU BNKA== X-Gm-Message-State: ANhLgQ1DoK7XY4GAKcqAqMx7x8KYZBlnrpSo6msmaM1W//r/IlsZoFcA A5BITuqhGIkbdIc6Liz2HstAoxRN X-Google-Smtp-Source: ADFU+vvdMI1d0O5h0SbwMfhomP7YreYpx5CZVvRtCgr86FFxab1wIFb+1GT8UxQJJxVPr34Ot2vmYQ== X-Received: by 2002:a17:90b:300b:: with SMTP id hg11mr13173538pjb.181.1584303036846; Sun, 15 Mar 2020 13:10:36 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id c15sm18085151pja.30.2020.03.15.13.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 13:10:35 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Sun, 15 Mar 2020 13:10:28 -0700 Message-Id: <20200315201034.1552960-1-aduskett@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/6] package/gstreamer1/gstreamer1: add introspection support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If gobject-introspection is selected, explicitly set -Dintrospection=enabled in the configure options and add a dependency for gobject-introspection. This feature requires an upstream patch that allows introspection support even when cross-compiling. Signed-off-by: Adam Duskett --- ...hen-cross-compiling-if-introspection.patch | 36 +++++++++++++++++++ package/gstreamer1/gstreamer1/gstreamer1.mk | 8 ++++- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 package/gstreamer1/gstreamer1/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch diff --git a/package/gstreamer1/gstreamer1/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch b/package/gstreamer1/gstreamer1/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch new file mode 100644 index 0000000000..fc290f6cc0 --- /dev/null +++ b/package/gstreamer1/gstreamer1/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch @@ -0,0 +1,36 @@ +From 35db4a2433fbdf8612cf98b5aab5b14aeb5372f8 Mon Sep 17 00:00:00 2001 +From: Tim Philipp +Date: Thu, 17 Oct 2019 12:13:35 +0100 +Subject: [PATCH] meson: build gir even when cross-compiling if introspection + was enabled explicitly + +This can be made to work in certain circumstances when +cross-compiling, so default to not building g-i stuff +when cross-compiling, but allow it if introspection was +enabled explicitly via -Dintrospection=enabled. + +Fixes #454 and #381. + +Upstream commit: 35db4a2433fbdf8612cf98b5aab5b14aeb5372f8 +Signed-off-by: Tim Philipp +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 90d98d8eb00..a47e7f34e8a 100644 +--- a/meson.build ++++ b/meson.build +@@ -453,7 +453,7 @@ rt_lib = cc.find_library('rt', required : false) + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') + +-build_gir = gir.found() and not meson.is_cross_build() ++build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) + + gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);' + \ +-- +2.24.1 + diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 4eb3158b8f..47615aad1f 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -16,7 +16,6 @@ GSTREAMER1_CONF_OPTS = \ -Dtests=disabled \ -Dbenchmarks=disabled \ -Dgtk_doc=disabled \ - -Dintrospection=disabled \ -Dglib-asserts=disabled \ -Dglib-checks=disabled \ -Dgobject-cast-checks=disabled \ @@ -36,6 +35,13 @@ GSTREAMER1_DEPENDENCIES = \ $(if $(BR2_PACKAGE_VALGRIND),valgrind) \ $(TARGET_NLS_DEPENDENCIES) +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GSTREAMER1_CONF_OPTS += -Dintrospection=enabled +GSTREAMER1_DEPENDENCIES += gobject-introspection +else +GSTREAMER1_CONF_OPTS += -Dintrospection=disabled +endif + GSTREAMER1_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) $(eval $(meson-package)) From patchwork Sun Mar 15 20:10:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1255174 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Ar4ykyRq; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48gVtL01Nwz9sP7 for ; Mon, 16 Mar 2020 07:10:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3AB642547E; Sun, 15 Mar 2020 20:10:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2zV8X8sUoQ1z; Sun, 15 Mar 2020 20:10:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id EA07521549; Sun, 15 Mar 2020 20:10:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 003C61BF3F4 for ; Sun, 15 Mar 2020 20:10:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id F107120243 for ; Sun, 15 Mar 2020 20:10:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g8a+-3Ejy0cP for ; Sun, 15 Mar 2020 20:10:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by silver.osuosl.org (Postfix) with ESMTPS id 1963520117 for ; Sun, 15 Mar 2020 20:10:39 +0000 (UTC) Received: by mail-pg1-f170.google.com with SMTP id z4so2640191pgu.3 for ; Sun, 15 Mar 2020 13:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VJTB2HMZIgiuNC4RIDVkmpVoa1caaAYwPLw72OLAf2g=; b=Ar4ykyRqw8+5Aztv6Vl6OTozRL0MGjEJJvaAQ+R+fBCasmQnyLBTJ1JFr++Gxh+YDS yZSdRI6eQAnjdFaJfc5Pwt7z0/HGXAO1t4Uyzm1WM1+6ecdIuMDFS7jKeGwBNFazyq1W o4aZ2gpecCNw72USgDguj9+M05wxbZkyJLHWpAHvMksE3G/a27NYAGt81FJb9d+nx26F ACXQq88OD4z39iVleiyIH/4b9orzK55uEv4xBUtxcIF6zPyKT/q1oDzGari64dFYz5/G RgOP2BRr+tI25hIzIWwKybU3550hTHZfJXrAeRYqUxHW92/lzbEWvbDPZ5uu2UGEEBSK NgRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VJTB2HMZIgiuNC4RIDVkmpVoa1caaAYwPLw72OLAf2g=; b=iv2o3Jjo9o+wmCStntat0gCFLVSJNpsAruQo7SG0qFWOA87LpyOxkJ5ktSWS+CpVZl xiO50sRCVaAsz8Qs2mHLSJcrLVN2uZRUV8yl5mi2etuBw9PLmUcdhpGxxXbzV4AiLMC2 xQcp/N/wwutHA7sCu4ovbJf3CAlb8hcqnQLqy2kU7KXa9PNSo1YcCSUj7a1D2+FYNq7W +5jLMlDqJagHKTA9qgngMAckdTykcgTmCZ6GsjV7fWFq2wBwKOUdP2QHXPKj11raZq0y 7+KqiCFuIQYCZ3Hp19IoZhk/jGajHODEMnB2hOGuFracnl5lEIA3zsblYd2zExq2ou1d V4Xw== X-Gm-Message-State: ANhLgQ33/2afy0uAWeYVwGEG/QD/EKojPw5dRKYpKzTvK1StoEZOmgGZ ljiBJNrojudy4UnairMDwk05NiKE X-Google-Smtp-Source: ADFU+vsPJpVpXdFr/cxJDYe6fdsNsgShrApHOr7TkLWSWZAjaL3BqNcRdAGSpkbTdR+JKHzagdpX9A== X-Received: by 2002:a62:1bd6:: with SMTP id b205mr25837930pfb.242.1584303038216; Sun, 15 Mar 2020 13:10:38 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id c15sm18085151pja.30.2020.03.15.13.10.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 13:10:37 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Sun, 15 Mar 2020 13:10:29 -0700 Message-Id: <20200315201034.1552960-2-aduskett@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200315201034.1552960-1-aduskett@gmail.com> References: <20200315201034.1552960-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/6] package/gstreamer1/gst1-plugins-base: add introspection support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If gobject-introspection is selected, explicitly set -Dintrospection=enabled in the configure options and add a dependency for gobject-introspection. This feature requires an upstream patch that allows introspection support even when cross-compiling. Signed-off-by: Adam Duskett --- ...hen-cross-compiling-if-introspection.patch | 35 +++++++++++++++++++ .../gst1-plugins-base/gst1-plugins-base.mk | 11 ++++-- 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 package/gstreamer1/gst1-plugins-base/0002-meson-build-gir-even-when-cross-compiling-if-introspection.patch diff --git a/package/gstreamer1/gst1-plugins-base/0002-meson-build-gir-even-when-cross-compiling-if-introspection.patch b/package/gstreamer1/gst1-plugins-base/0002-meson-build-gir-even-when-cross-compiling-if-introspection.patch new file mode 100644 index 0000000000..a6cca0a4be --- /dev/null +++ b/package/gstreamer1/gst1-plugins-base/0002-meson-build-gir-even-when-cross-compiling-if-introspection.patch @@ -0,0 +1,35 @@ +From 35db4a2433fbdf8612cf98b5aab5b14aeb5372f8 Mon Sep 17 00:00:00 2001 +From: Tim Philipp +Date: Thu, 17 Oct 2019 12:13:35 +0100 +Subject: [PATCH] meson: build gir even when cross-compiling if introspection + was enabled explicitly + +This can be made to work in certain circumstances when +cross-compiling, so default to not building g-i stuff +when cross-compiling, but allow it if introspection was +enabled explicitly via -Dintrospection=enabled. + +See gstreamer/gstreamer#454 and gstreamer/gstreamer#381. + +Upstream commit: 30672ba7d134553e59935ddc875104adba26f25c +Signed-off-by: Tim Philipp +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 264d84c9e..c8147c224 100644 +--- a/meson.build ++++ b/meson.build +@@ -371,7 +371,7 @@ endif + + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') +-build_gir = gir.found() and not meson.is_cross_build() ++build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) + gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);' + \ + 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ +-- +2.24.1 diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk index ccecbb3c08..fe80f4751c 100644 --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -17,8 +17,7 @@ GST1_PLUGINS_BASE_CONF_OPTS = \ -Dgobject-cast-checks=disabled \ -Dglib-asserts=disabled \ -Dglib-checks=disabled \ - -Dgtk_doc=disabled \ - -Dintrospection=disabled + -Dgtk_doc=disabled # Options which require currently unpackaged libraries GST1_PLUGINS_BASE_CONF_OPTS += \ @@ -37,6 +36,14 @@ GST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1 $(TARGET_NLS_DEPENDENCIES) GST1_PLUGINS_BASE_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) # These plugins are listed in the order from ./configure --help + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=enabled +GST1_PLUGINS_BASE_DEPENDENCIES += gobject-introspection +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=disabled +endif + ifeq ($(BR2_PACKAGE_ORC),y) GST1_PLUGINS_BASE_DEPENDENCIES += orc GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=enabled From patchwork Sun Mar 15 20:10:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1255172 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ZU/Zp6Ai; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48gVtJ3LGKz9sP7 for ; Mon, 16 Mar 2020 07:10:48 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E9FBB87940; Sun, 15 Mar 2020 20:10:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T6S0neXJPyeM; Sun, 15 Mar 2020 20:10:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 58CD687A59; Sun, 15 Mar 2020 20:10:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 4FEC51BF3F4 for ; Sun, 15 Mar 2020 20:10:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4B42C87A4C for ; Sun, 15 Mar 2020 20:10:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vyns0o9ziMhe for ; Sun, 15 Mar 2020 20:10:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pj1-f67.google.com (mail-pj1-f67.google.com [209.85.216.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 852F587940 for ; Sun, 15 Mar 2020 20:10:40 +0000 (UTC) Received: by mail-pj1-f67.google.com with SMTP id l36so7007062pjb.3 for ; Sun, 15 Mar 2020 13:10:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c+gk5nzK7rSucSw8d/9/xyDTQDZdtpIAtWXxxiP7qrI=; b=ZU/Zp6AiYi1AiYd6UbmyGprIZA7AbYrTBjYQSnazc1963RGU/I+DSnP4p9r8qrxnTc N5q2lQYJJXMeLYwRtTAIZOv8K9lgBFpsluNExIFCVvIWXlV2vfxkkbANChfrgeauPTgg I3Yo9DkyHbidZ0nw0TtmbQiiiFw/8GezvM/xV76KWqBgdaqhWBOqLQL2KMvJiHQ+H31v rVzdAxj85rsmwHj8pMZOXtEgGYD/NIgj4G+ueDPqw6WELn2LBdNt3UdtES5g59Qmmy0q y3uqrzVc5+x/COuSE2HrmgiCtN2i98dllMC8zkLnRILru8CJIIuDe50jouGS8xrqH04Z eA2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c+gk5nzK7rSucSw8d/9/xyDTQDZdtpIAtWXxxiP7qrI=; b=t+CvvDE9Lkkw80WUrM2+FFWOxLasHArJhUUYnIzqrYf22szR0iRKJGCblY4EkLqSZS 4oU99ymfflE6D8eXxh4tMpuXRwl0lGr7PLeaW+itj843EquysNE1Rc/3ICZfCSon/zz5 JY2lHewdvpD94+aR8FTVC+Bcy9sTEBzzGgtb92/GbGHAkUtL2Zx4yi9rTCCGV4N6qwtF iaSz5oJvK5RjZX4hFOV7gWayAuFCE1/KodFtXYZKiT2Cq7UA9M4Cbkv1tjSbjKVrj+5r k/lYTWzNc6hJBCgmog6sGELCzNoJaZBvtAfIPBx1TOxcAa/2VjnaoMbwzzejkuIby8MR mVTg== X-Gm-Message-State: ANhLgQ26QpW4O/LYUDYuNXfHsPt3uLs2laDo5TspPHOMBaLIF2b8x/XQ f4f7V1KKV9AVEJ80rxfce9YnXc85 X-Google-Smtp-Source: ADFU+vt1j8dpPwxr75co4mhgDr5gvDGdJG5C3eG0pYHm2y/QsHIqE/z6p8md0Vs/1QyG9FwDeMlVEQ== X-Received: by 2002:a17:90a:187:: with SMTP id 7mr19505405pjc.72.1584303039638; Sun, 15 Mar 2020 13:10:39 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id c15sm18085151pja.30.2020.03.15.13.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 13:10:39 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Sun, 15 Mar 2020 13:10:30 -0700 Message-Id: <20200315201034.1552960-3-aduskett@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200315201034.1552960-1-aduskett@gmail.com> References: <20200315201034.1552960-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/6] package/gstreamer1/gst1-plugins-bad: add introspection support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If gobject-introspection is selected, explicitly set -Dintrospection=enabled in the configure options and add a dependency for gobject-introspection. This feature requires an upstream patch that allows introspection support even when cross-compiling. Signed-off-by: Adam Duskett --- ...hen-cross-compiling-if-introspection.patch | 36 +++++++++++++++++++ .../gst1-plugins-bad/gst1-plugins-bad.mk | 8 ++++- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 package/gstreamer1/gst1-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch diff --git a/package/gstreamer1/gst1-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch b/package/gstreamer1/gst1-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch new file mode 100644 index 0000000000..dd3b6eca7d --- /dev/null +++ b/package/gstreamer1/gst1-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch @@ -0,0 +1,36 @@ +From 35db4a2433fbdf8612cf98b5aab5b14aeb5372f8 Mon Sep 17 00:00:00 2001 +From: Tim Philipp +Date: Fri, 18 Oct 2019 00:39:12 +0100 +Subject: [PATCH] meson: build gir even when cross-compiling if introspection + was enabled explicitly + +This can be made to work in certain circumstances when +cross-compiling, so default to not building g-i stuff +when cross-compiling, but allow it if introspection was +enabled explicitly via -Dintrospection=enabled. + +See gstreamer/gstreamer#454 and gstreamer/gstreamer#381. + +Upstream commit: 97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19 +Signed-off-by: Tim Philipp +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 67aeeb4d03..7b3314bd9f 100644 +--- a/meson.build ++++ b/meson.build +@@ -405,7 +405,7 @@ python3 = import('python').find_installation() + + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') +-build_gir = gir.found() and not meson.is_cross_build() ++build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) + gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ + 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ +-- +2.24.1 + diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index ef36e4dc0a..e020c587d3 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -23,7 +23,6 @@ GST1_PLUGINS_BAD_CONF_OPTS = \ -Dwinks=disabled \ -Dandroidmedia=disabled \ -Dapplemedia=disabled \ - -Dintrospection=disabled \ -Dgobject-cast-checks=disabled \ -Dglib-asserts=disabled \ -Dglib-checks=disabled @@ -63,6 +62,13 @@ GST1_PLUGINS_BAD_CONF_OPTS += \ GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1 +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += gobject-introspection +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=disabled +endif + ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),y) GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=enabled GST1_PLUGINS_BAD_DEPENDENCIES += libdrm wayland wayland-protocols From patchwork Sun Mar 15 20:10:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1255173 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=AV7K9c4s; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48gVtK3Pz1z9sPR for ; Mon, 16 Mar 2020 07:10:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A563C890D9; Sun, 15 Mar 2020 20:10:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wFmLJGpof4vG; Sun, 15 Mar 2020 20:10:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 496D0890C3; Sun, 15 Mar 2020 20:10:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 5B1A11BF3F4 for ; Sun, 15 Mar 2020 20:10:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 58A9A87A4C for ; Sun, 15 Mar 2020 20:10:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zK9Y1LgzxGMY for ; Sun, 15 Mar 2020 20:10:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C6FAD87940 for ; Sun, 15 Mar 2020 20:10:41 +0000 (UTC) Received: by mail-pj1-f48.google.com with SMTP id ca13so7353543pjb.2 for ; Sun, 15 Mar 2020 13:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oyRa+BSnW3ickxKzOI5D6zs4tFcsyb4GHd1aRq+lZ8k=; b=AV7K9c4sabsnscvuGG/RtiHlzNBeFFyUaYipHWm9BEYCucxwAEWHhZDtvddlXMMlbu Z69THnZzqBP7T2hrb/fx+POrA5Y2SCQeFbV+pOMOmR3eFh/QNMTHIeI+0zjRZIpk7K+O r7oQfW6awuQdk5AGur4rWjAan0nKVCnqgSkYmiS6HDIRH2RfquxhBSmjaVnvnWMUXlZ8 wYD7gwRTH7DqEDsimjXpbPq72d92xHbvgsachg0LEQjvKJ7hiUAeQXu7yZFzy1Dje1If o/lgD/xey+OBb6Ndhh9jIKgyfuALpln2xrZp1LZAAdoce2Xf58opkgcfkopxvvOynay6 qyyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oyRa+BSnW3ickxKzOI5D6zs4tFcsyb4GHd1aRq+lZ8k=; b=UH29TcGHpJ/nT02z0NrDkV0MwEehlvz1xLQDvZTVPGpiCbb3vKIWWqee7pTP3zTOnx IFevi6xSY+6bqodTmX50PcK38/afopgUB6wDPkABeJmZ0iS+RWRW2xW9PsELAcCQNvrB xVon+IhPhIAKu8gFYAgkB/cj6o9gJhpZJ2N0SUdYTN+5gzeySRTqxyzXYl+uJH4uVxmJ waZfV2bDEV/W9yC7Wu+fQCyXdYdZiIFirhE7gCi4d+yN/DxyA3fnhAHG16omBNk3YXl9 7SARbXtkvBnmz/CCOelYSOFGTkrkxaeemQ1o5I18Ek6cUkxGjHVmMGlAr1BAGP1r6vAm gu6w== X-Gm-Message-State: ANhLgQ3QlkfYl/Le0YmBO0OAuk9tYBhn2qo0tKR1/IaooX8TMzzZh5FZ LqO4T7IJeaPdiA8LLeItR52Em65Y X-Google-Smtp-Source: ADFU+vtEDe0gQfLEywAnjfSS7mD18a4K+FXrGVeoTcGWAo9JhnziAnDPBeNtjvbxnE+oop7rMj2cEw== X-Received: by 2002:a17:902:26a:: with SMTP id 97mr4417564plc.82.1584303041020; Sun, 15 Mar 2020 13:10:41 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id c15sm18085151pja.30.2020.03.15.13.10.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 13:10:40 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Sun, 15 Mar 2020 13:10:31 -0700 Message-Id: <20200315201034.1552960-4-aduskett@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200315201034.1552960-1-aduskett@gmail.com> References: <20200315201034.1552960-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/6] package/gstreamer1/gst1-rtsp-server: add introspection support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If gobject-introspection is selected, explicitly set -Dintrospection=enabled in the configure options and add a dependency for gobject-introspection. This feature requires an upstream patch that allows introspection support even when cross-compiling. Signed-off-by: Adam Duskett --- ...hen-cross-compiling-if-introspection.patch | 36 +++++++++++++++++++ .../gst1-rtsp-server/gst1-rtsp-server.mk | 8 ++++- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 package/gstreamer1/gst1-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch diff --git a/package/gstreamer1/gst1-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch b/package/gstreamer1/gst1-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch new file mode 100644 index 0000000000..0adf6d4e47 --- /dev/null +++ b/package/gstreamer1/gst1-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introspection.patch @@ -0,0 +1,36 @@ +From 35db4a2433fbdf8612cf98b5aab5b14aeb5372f8 Mon Sep 17 00:00:00 2001 +From: Tim Philipp +Date: Fri, 18 Oct 2019 00:42:12 +0100 +Subject: [PATCH] meson: build gir even when cross-compiling if introspection + was enabled explicitly + +This can be made to work in certain circumstances when +cross-compiling, so default to not building g-i stuff +when cross-compiling, but allow it if introspection was +enabled explicitly via -Dintrospection=enabled. + +See gstreamer/gstreamer#454 and gstreamer/gstreamer#381. + +Upstream commit: 95ce953e34cd0e9f5d42ce7900a9572e7bc8ca47 +Signed-off-by: Tim Philipp +Signed-off-by: Adam Duskett +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index e1e3b1d..3f45f0e 100644 +--- a/meson.build ++++ b/meson.build +@@ -173,7 +173,7 @@ endif + + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') +-build_gir = gir.found() and not meson.is_cross_build() ++build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) + gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ + 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ +-- +2.24.1 + diff --git a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk index df873ad732..13653565bd 100644 --- a/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ b/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -25,11 +25,17 @@ GST1_RTSP_SERVER_CONF_OPTS = \ GST1_RTSP_SERVER_CONF_OPTS += \ -Dexamples=disabled \ -Dtests=disabled \ - -Dintrospection=disabled \ -Dgobject-cast-checks=disabled \ -Dglib-asserts=disabled \ -Dglib-checks=disabled +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=enabled +GST1_RTSP_SERVER_DEPENDENCIES += gobject-introspection +else +GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=disabled +endif + ifeq ($(BR2_PACKAGE_LIBCGROUP),y) GST1_RTSP_SERVER_DEPENDENCIES += libcgroup endif From patchwork Sun Mar 15 20:10:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1255175 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=H++/Ujh4; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48gVtS4qpxz9sP7 for ; Mon, 16 Mar 2020 07:10:56 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5246B89D2F; Sun, 15 Mar 2020 20:10:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mwdj7gWSoabu; Sun, 15 Mar 2020 20:10:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 120FB89CF7; Sun, 15 Mar 2020 20:10:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id BD6331BF3F4 for ; Sun, 15 Mar 2020 20:10:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B6F4D89CF7 for ; Sun, 15 Mar 2020 20:10:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nA1hIfW5u1Lg for ; Sun, 15 Mar 2020 20:10:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by hemlock.osuosl.org (Postfix) with ESMTPS id 6109389CEB for ; Sun, 15 Mar 2020 20:10:43 +0000 (UTC) Received: by mail-pl1-f178.google.com with SMTP id b22so6926484pls.12 for ; Sun, 15 Mar 2020 13:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=63nzDhu31/fI8oPO+lvCo/B+Uzv7oMb42jf9e0oZ9h8=; b=H++/Ujh4IKC1Nq0osSZaThrJdHj3N2qYBSMbp1tl3wXcScqMXH1xwYyMdwTh/0J2Np xhFD4FK0/pUG/70oHfP+3u6Ktmt401u0Ijr0j0Jb4+p0XlVitCe5t+P7CjhRfICX0muS zmWOtBIeJN4S/9o5cuDHaJJcHDyuLLrmYn0s7CiNwNWHWgl5lhSiUnMRzd5PqXM0ya4w Te6gzO0rQxtinELeVnP0wUT9JCNOFvSNh3uJbOsp2y18zEMJC/8ORK8/YgvKKGvZUtEH NJiSkq5d4gyhk6FHrs3m9vjyTz3fRDerYHnPXlGdNsQe1ktcSdaJ9u3Ef9t9rARvmqHm nKgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=63nzDhu31/fI8oPO+lvCo/B+Uzv7oMb42jf9e0oZ9h8=; b=Jxv+VE9YaMtkuSmulXF5E1URqsa+UQYqSOb2nTT8WVy38iwQREv6W+Vv70HgTSDbLO ZdU29/XUYEbnXOZ8rdFda+h73apAvTeIQ+DN34sFhrFJO5m09svSimWmKnzWbDdW0wbi TRLA/DQR2MoTlNiBoKK1NSM6g1BjV011zDAm5XBgmxaKOBR+CAhpp8YxRwYZ46jZ7bU5 MweAA2dHkAB4mbQadLrPKXO3Wnz8lRsdd+/EHEN8/cnv09e0CEB8Pr+akrVhlj0EcTpi QLYZURHRiGDqMWcO6l8/T4S30ktx8sC/yCvnkDCKjtzGUjUT1cUP6v40EBQ/NyxY6GjE 2RWg== X-Gm-Message-State: ANhLgQ2ilAnyTbWTeUylsDSbwk9TA4JaI9GfQtpuYH+Py1s1YZ6xMEci 4iorLcS3Eb2G/6piLHL8HWKPq3MC X-Google-Smtp-Source: ADFU+vuV9ezMwO+c6ctf05acVPA6sutKvSFxJKvkaiD6lLwdhoTWIEEOWCjMwnRoinbfOf6BhZcKgw== X-Received: by 2002:a17:902:6a8c:: with SMTP id n12mr23334776plk.191.1584303042436; Sun, 15 Mar 2020 13:10:42 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id c15sm18085151pja.30.2020.03.15.13.10.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 13:10:41 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Sun, 15 Mar 2020 13:10:32 -0700 Message-Id: <20200315201034.1552960-5-aduskett@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200315201034.1552960-1-aduskett@gmail.com> References: <20200315201034.1552960-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 5/6] package/gstreamer1/gst1-python: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett GStreamer Python binding overrides. This package also includes a simple upstream patch that fixes building against python-3.8. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/gstreamer1/Config.in | 1 + .../0001-fix-builds-with-python-3.8.patch | 43 +++++++++++++++++++ package/gstreamer1/gst1-python/Config.in | 24 +++++++++++ .../gstreamer1/gst1-python/gst1-python.hash | 3 ++ package/gstreamer1/gst1-python/gst1-python.mk | 32 ++++++++++++++ 6 files changed, 104 insertions(+) create mode 100644 package/gstreamer1/gst1-python/0001-fix-builds-with-python-3.8.patch create mode 100644 package/gstreamer1/gst1-python/Config.in create mode 100644 package/gstreamer1/gst1-python/gst1-python.hash create mode 100644 package/gstreamer1/gst1-python/gst1-python.mk diff --git a/DEVELOPERS b/DEVELOPERS index 5394150e5a..36b7f618aa 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -38,6 +38,7 @@ F: package/gstreamer1/gst1-plugins-bad/ F: package/gstreamer1/gst1-plugins-base/ F: package/gstreamer1/gst1-plugins-good/ F: package/gstreamer1/gst1-plugins-ugly/ +F: package/gstreamer1/gst1-python/ F: package/gstreamer1/gst1-vaapi/ F: package/imx-usb-loader/ F: package/janus-gateway/ diff --git a/package/gstreamer1/Config.in b/package/gstreamer1/Config.in index bb5c1d2af8..0e47d78e68 100644 --- a/package/gstreamer1/Config.in +++ b/package/gstreamer1/Config.in @@ -11,6 +11,7 @@ source "package/gstreamer1/gst1-plugins-ugly/Config.in" source "package/gstreamer1/gst1-imx/Config.in" source "package/gstreamer1/gst1-interpipe/Config.in" source "package/gstreamer1/gst1-libav/Config.in" +source "package/gstreamer1/gst1-python/Config.in" source "package/gstreamer1/gst1-rtsp-server/Config.in" source "package/gstreamer1/gst1-shark/Config.in" source "package/gstreamer1/gst1-validate/Config.in" diff --git a/package/gstreamer1/gst1-python/0001-fix-builds-with-python-3.8.patch b/package/gstreamer1/gst1-python/0001-fix-builds-with-python-3.8.patch new file mode 100644 index 0000000000..edff445a7a --- /dev/null +++ b/package/gstreamer1/gst1-python/0001-fix-builds-with-python-3.8.patch @@ -0,0 +1,43 @@ +From 10707f437f2fc3632067c6a0efa4432f7ebaf362 Mon Sep 17 00:00:00 2001 +From: Sebastian Dröge +Date: Fri, 13 Dec 2019 10:46:20 +0200 +Subject: [PATCH] backport of "fix build with Python 3.8 by also checking for + python-3.X-embed.pc" + +Since Python 3.8 the normal checks don't include the Python libraries +anymore and linking of the gst-python module would fail. + +See also https://github.com/mesonbuild/meson/issues/5629 + +Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 + +Upstream commit: 22f28155d86e27c4134de4ed2861264003fcfd23 + +Signed-off-by: Sebastian Dröge +Signed-off-by: Adam Duskett +--- + meson.build | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/meson.build b/meson.build +index 744b7ce..492af1a 100644 +--- a/meson.build ++++ b/meson.build +@@ -25,6 +25,14 @@ pygobject_dep = dependency('pygobject-3.0', fallback: ['pygobject', 'pygobject_d + pymod = import('python') + python = pymod.find_installation(get_option('python')) + python_dep = python.dependency(required : true) ++pythonver = python.language_version() ++ ++# Workaround for https://github.com/mesonbuild/meson/issues/5629 ++# https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 ++python_dep = dependency('python-@0@-embed'.format(pythonver), version: '>=3', required: false) ++if not python_dep.found() ++ python_dep = python.dependency(required : true) ++endif + + python_abi_flags = python.get_variable('ABIFLAGS', '') + pylib_loc = get_option('libpython-dir') +-- +2.24.1 + diff --git a/package/gstreamer1/gst1-python/Config.in b/package/gstreamer1/gst1-python/Config.in new file mode 100644 index 0000000000..9149703354 --- /dev/null +++ b/package/gstreamer1/gst1-python/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_GST1_PYTHON + bool "gst1-python" + depends on BR2_USE_MMU # libglib2, gobject-introspection + depends on BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS # gobject-introspection + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection + depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection + depends on BR2_PACKAGE_PYTHON3 # gobject-introspection + select BR2_PACKAGE_GOBJECT_INTROSPECTION + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PYTHON_GOBJECT + help + GStreamer python overrides for the gobject-introspection-based + pygst bindings. + + https://gstreamer.freedesktop.org/modules/gst-python.html + +comment "gst1-python needs python3" + depends on !BR2_PACKAGE_PYTHON3 + +comment "gst1-python needs a glibc toolchain, gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/gstreamer1/gst1-python/gst1-python.hash b/package/gstreamer1/gst1-python/gst1-python.hash new file mode 100644 index 0000000000..1d3c687dd4 --- /dev/null +++ b/package/gstreamer1/gst1-python/gst1-python.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.16.2.tar.xz.sha256sum +sha256 208df3148d73d9f416d016564737585d8ea763d91201732d44b5fe688c6288a8 gst-python-1.16.2.tar.xz +sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/package/gstreamer1/gst1-python/gst1-python.mk b/package/gstreamer1/gst1-python/gst1-python.mk new file mode 100644 index 0000000000..f0a3bacd1f --- /dev/null +++ b/package/gstreamer1/gst1-python/gst1-python.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# gst1-python +# +################################################################################ + +GST1_PYTHON_VERSION = 1.16.2 +GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz +GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python +GST1_PYTHON_INSTALL_STAGING = YES +GST1_PYTHON_LICENSE_FILES = COPYING +GST1_PYTHON_LICENSE = LGPL-2.1+ + +GST1_PYTHON_DEPENDENCIES = \ + gstreamer1 \ + python-gobject + +# A sysconfigdata_name must be manually specified or the resulting .so +# will have a x86_64 prefix, which causes "from gi.repository import Gst" +# to fail.A pythonpath must be specified or the host python path will be used resulting +# in a "not a valid python" error. +GST1_PYTHON_CONF_ENV += \ + _PYTHON_SYSCONFIGDATA_NAME=$(PKG_PYTHON_SYSCONFIGDATA_NAME) \ + PYTHONPATH=$(PYTHON3_PATH) + +# Due to the CONF_ENV options, libpython-dir must be set to the host directory +# or else the error: "Python dynamic library path could not be determined" +# will occure +GST1_PYTHON_CONF_OPTS += \ + -Dlibpython-dir=$(HOST_DIR)/lib/python3.8 + +$(eval $(meson-package)) From patchwork Sun Mar 15 20:10:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1255176 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=d1XoqENA; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48gVtY35H7z9sP7 for ; Mon, 16 Mar 2020 07:11:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F2A8889CEB; Sun, 15 Mar 2020 20:10:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3zrT+TJ8ggz7; Sun, 15 Mar 2020 20:10:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 12C1089D1F; Sun, 15 Mar 2020 20:10:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D073C1BF3F4 for ; Sun, 15 Mar 2020 20:10:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CD7928846E for ; Sun, 15 Mar 2020 20:10:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pHnfPPVGzuVi for ; Sun, 15 Mar 2020 20:10:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B789A87940 for ; Sun, 15 Mar 2020 20:10:44 +0000 (UTC) Received: by mail-pf1-f181.google.com with SMTP id 2so8650334pfg.12 for ; Sun, 15 Mar 2020 13:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bkowVQuMvzAwrxl6AuXVrDULZRiLcXKfPRswVg6Hv68=; b=d1XoqENA89WxB/oD2cp6KV1Ljj0L1TEKZ5ghC/CeAr0LZanjNpzPAvpr3Dpt1AH6zF TRoIsRAowTUYVm5x4L6F8gFZcRF0YtlyCu6MKONr2T4wRLgN8Q7hQhvYoMlKd8PzIpHi NHQjs8UPAvakQOLyXwkhSS4byRdDobL8ZX7o5xexLVPI3btvt9k3y2F6GbD9Xc1Dx8AV gnz6bP7lc+wYqK9RF52o15tb17Ex8x8BYtf6gEE9C6KG8nIUb4URstQEKDpMNWr2tc1l OpKEXx8akzjCOZn33EhTXxlr7vgnbSVYLGvrWeehKvXhrzRbOAaWgzkXSdilFlJnmLSw MXjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bkowVQuMvzAwrxl6AuXVrDULZRiLcXKfPRswVg6Hv68=; b=P45Bv/yWJKTADs5nt+VGqV/4CmgTjyDC4qzqoqQZJBM2covDc5OxZYZouVa34ySuHO zw8n6NpAWeBJ1BLZtDPyi7SiRFFEevNn/cImsvzsiAyTK38HILj0IZIbqMNOpMBp63DA p6uO/rymnIRy1obaUHNh8Duro4dGnOKLybXCQgoGEByK/tpJ4LoTRwh4VEudFuSeOeaE m2FpzjwjaWE50kWGinF48dPC1QTdBR7uB7MsDfENhpVGYdf5euKYbRgGxsNYjj3jwMv8 izzHdR179cAqzFXw8F6TTxxHy3ZwG8Fbo1V89ETc0bWYmqjzGVi20PDRL/1Hvr644Put lSfQ== X-Gm-Message-State: ANhLgQ2FP4wxJMZEKUn7IkZEJyTwNk+Kbg1admk1MJEjlF/WsvDj5PwV aIddo34dnVzDalhNs7rqux7Gwwth X-Google-Smtp-Source: ADFU+vum/RBai9kJzWi8YoVmr5xBUO0hPM2h+4HijPANPk//yBXuHR1VWgM+JIFMiFCyo1/9C4GWUQ== X-Received: by 2002:aa7:94b5:: with SMTP id a21mr22558581pfl.290.1584303043891; Sun, 15 Mar 2020 13:10:43 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id c15sm18085151pja.30.2020.03.15.13.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 13:10:43 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Sun, 15 Mar 2020 13:10:33 -0700 Message-Id: <20200315201034.1552960-6-aduskett@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200315201034.1552960-1-aduskett@gmail.com> References: <20200315201034.1552960-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 6/6] support/testing: add gst1-python test case X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ricardo Martincoski , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett This test case runs a simple pipeline for 100 frames to ensure that gst1-python works properly. Signed-off-by: Adam Duskett --- .gitlab-ci.yml | 1 + DEVELOPERS | 1 + .../tests/package/sample_gst1_python.py | 21 ++++++++++++++ .../testing/tests/package/test_gst1_python.py | 29 +++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 support/testing/tests/package/sample_gst1_python.py create mode 100644 support/testing/tests/package/test_gst1_python.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b84a5b709..e6363014e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -383,6 +383,7 @@ tests.package.test_crudini.TestCrudiniPy3: { extends: .runtime_test } tests.package.test_docker_compose.TestDockerCompose: { extends: .runtime_test } tests.package.test_dropbear.TestDropbear: { extends: .runtime_test } tests.package.test_glxinfo.TestGlxinfo: { extends: .runtime_test } +tests.package.test_gst1_python.TestGst1Python: { extends: .runtime_test } tests.package.test_ipython.TestIPythonPy3: { extends: .runtime_test } tests.package.test_libftdi1.TestPythonPy2Libftdi1: { extends: .runtime_test } tests.package.test_libftdi1.TestPythonPy3Libftdi1: { extends: .runtime_test } diff --git a/DEVELOPERS b/DEVELOPERS index 36b7f618aa..ec33506c08 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -85,6 +85,7 @@ F: package/setools/ F: package/sngrep/ F: package/spidermonkey/ F: package/systemd/ +F: support/testing/tests/package/test_gst1_python.py F: support/testing/tests/package/test_python_gobject.py N: Adam Heinrich diff --git a/support/testing/tests/package/sample_gst1_python.py b/support/testing/tests/package/sample_gst1_python.py new file mode 100644 index 0000000000..41eccbe5fd --- /dev/null +++ b/support/testing/tests/package/sample_gst1_python.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python +"""A simple test that uses gst1-python to run a fake videotestsrc for 100 frames""" +import sys +import gi +import time +gi.require_version('Gst', '1.0') +from gi.repository import Gst, GLib + + +def main(): + # Initializes Gstreamer + Gst.init(sys.argv) + pipeline = Gst.parse_launch("videotestsrc num-buffers=100 ! autovideosink") + bus = pipeline.get_bus() + bus.add_signal_watch() + pipeline.set_state(Gst.State.PLAYING) + loop = GLib.MainLoop() + bus.connect("message", on_message, loop) + loop.run() + pipeline.set_state(Gst.State.EOS) + exit(0) \ No newline at end of file diff --git a/support/testing/tests/package/test_gst1_python.py b/support/testing/tests/package/test_gst1_python.py new file mode 100644 index 0000000000..8d6efcbe4a --- /dev/null +++ b/support/testing/tests/package/test_gst1_python.py @@ -0,0 +1,29 @@ +import os +from tests.package.test_python import TestPythonPackageBase + + +class TestGst1Python(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TARGET_ROOTFS_CPIO=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM=y + BR2_PACKAGE_GOBJECT_INTROSPECTION=y + BR2_PACKAGE_GSTREAMER1=y + BR2_PACKAGE_GST1_PYTHON=y + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_GOBJECT=y + """ + + def login(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv7", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + sample_scripts = ["tests/package/sample_gst1_python.py"] +