From patchwork Tue Mar 20 17:04:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qais Yousef X-Patchwork-Id: 147816 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 18996B6EE7 for ; Wed, 21 Mar 2012 04:19:54 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7581D8F978; Tue, 20 Mar 2012 17:19:51 +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 EsU4DfU4-hah; Tue, 20 Mar 2012 17:19:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 578C48F6B1; Tue, 20 Mar 2012 17:19:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5A4258F75B for ; Tue, 20 Mar 2012 17:19:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4681E8F709 for ; Tue, 20 Mar 2012 17:19:45 +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 284l3Jrlh7ym for ; Tue, 20 Mar 2012 17:19:44 +0000 (UTC) X-Greylist: delayed 00:15:35 by SQLgrey-1.7.6 Received: from multi.imgtec.com (multi.imgtec.com [194.200.65.239]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9F1208E0B4 for ; Tue, 20 Mar 2012 17:19:43 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 20 Mar 2012 17:04:02 +0000 Message-ID: <0D107966AF6D79418315B7C5549F4B51032EEA04@lemail1.le.imgtec.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [BUILDROOT][PATCH] Add bellagio package Thread-Index: Ac0Gtkmry/J+g6/wSB6NDTVbC6NybA== From: Qais Yousef To: X-SEF-Processed: 7_3_0_01181__2012_03_20_17_04_03 Subject: [Buildroot] [BUILDROOT][PATCH] Add bellagio package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Hi, Attached patch adds Bellagio package. Copy pasted below also for convenience. Thanks Qais +$(eval $(call AUTOTARGETS)) diff --git a/package/multimedia/bellagio/Config.in b/package/multimedia/bellagio/Config.in new file mode 100644 index 0000000..21998e9 --- /dev/null +++ b/package/multimedia/bellagio/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_BELLAGIO + bool "bellagio" + help + Bellagio is an opensource implementation of the OpenMAX IL API. + + http://omxil.sourceforge.net/ diff --git a/package/multimedia/bellagio/bellagio-0.9.3-segfault-on-removeFromWaitR esource.patch b/package/multimedia/bellagio/bellagio-0.9.3-segfault-on-removeFromWaitR esource.patch new file mode 100644 index 0000000..0716eeb --- /dev/null +++ b/package/multimedia/bellagio/bellagio-0.9.3-segfault-on-removeFromWaitR esource.patch @@ -0,0 +1,32 @@ +--- bellagio-0.9.3/src/omx_reference_resource_manager.c.old 2012-03-13 10:15:25.743940980 +0000 ++++ bellagio-0.9.3/src/omx_reference_resource_manager.c 2012-03-13 10:18:02.201971009 +0000 +@@ -485,7 +485,6 @@ + OMX_ERRORTYPE RM_removeFromWaitForResource(OMX_COMPONENTTYPE *openmaxStandComp) { + omx_base_component_PrivateType* omx_base_component_Private; + int i = 0; +- int indexComponent = -1; + + DEBUG(DEB_LEV_FUNCTION_NAME, "In %s\n", __func__); + omx_base_component_Private = (omx_base_component_PrivateType*)openmaxStandComp->pComponentPrivate; +@@ -493,16 +492,13 @@ + while(listOfcomponentRegistered[i].component_name != NULL ) { + if (!strcmp(listOfcomponentRegistered[i].component_name, omx_base_component_Private->name)) { + // found component in the list of the resource manager +- removeElemFromList(&globalComponentList[indexComponent], openmaxStandComp); +- break; ++ removeElemFromList(&globalComponentList[i], openmaxStandComp); ++ DEBUG(DEB_LEV_FUNCTION_NAME, "Out of %s\n", __func__); ++ return OMX_ErrorNone; + } + i++; + } +- if (indexComponent <0) { +- // No resource to be handled +- DEBUG(DEB_LEV_ERR, "In %s No resource to be handled\n", __func__); +- return OMX_ErrorNone; +- } +- DEBUG(DEB_LEV_FUNCTION_NAME, "Out of %s\n", __func__); ++ // No resource to be handled ++ DEBUG(DEB_LEV_ERR, "In %s No resource to be handled\n", __func__); + return OMX_ErrorNone; + } diff --git a/package/multimedia/bellagio/bellagio.mk b/package/multimedia/bellagio/bellagio.mk new file mode 100644 index 0000000..3987a20 --- /dev/null +++ b/package/multimedia/bellagio/bellagio.mk @@ -0,0 +1,11 @@ +############################################################# +# +# bellagio +# +############################################################# +BELLAGIO_VERSION = 0.9.3 +BELLAGIO_SOURCE = libomxil-bellagio-$(BELLAGIO_VERSION).tar.gz +BELLAGIO_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/omxil +BELLAGIO_INSTALL_STAGING = YES +