From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx1.pokylinux.org (Postfix) with ESMTP id 13F594C80506 for ; Wed, 27 Apr 2011 02:15:37 -0500 (CDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 27 Apr 2011 00:15:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,273,1301900400"; d="scan'208";a="684545805" Received: from unknown (HELO [10.255.12.245]) ([10.255.12.245]) by fmsmga002.fm.intel.com with ESMTP; 27 Apr 2011 00:15:36 -0700 Message-ID: <4DB7C297.7080508@intel.com> Date: Wed, 27 Apr 2011 00:15:35 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5 MIME-Version: 1.0 To: Dongxiao Xu References: <9906727ebb970cebbe115725b854405d593ac2e1.1303798223.git.dongxiao.xu@intel.com> In-Reply-To: <9906727ebb970cebbe115725b854405d593ac2e1.1303798223.git.dongxiao.xu@intel.com> Cc: poky@yoctoproject.org Subject: Re: [PATCH 07/13] libfm: Remove the flag of G_DISABLE_DEPRECATED X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 07:15:38 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/25/2011 11:46 PM, Dongxiao Xu wrote: > From: Dongxiao Xu > > Latest glib-2.0 changes some macros and function definitions to be > deprecated. However libfm still uses them. Therefore the flag > G_DISABLE_DEPRECATED should be removed in libfm's Makefile. > > Signed-off-by: Dongxiao Xu > --- > .../libfm/libfm-0.1.14/use_deprecate_func.patch | 11 +++++++++++ > meta/recipes-support/libfm/libfm_0.1.14.bb | 5 +++-- > 2 files changed, 14 insertions(+), 2 deletions(-) > create mode 100644 meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch > This patch seems to be missing Comments, Signed-off-by and Upstream-Status: info Sau! > diff --git a/meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch b/meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch > new file mode 100644 > index 0000000..fade195 > --- /dev/null > +++ b/meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch > @@ -0,0 +1,11 @@ > +diff -ruN libfm-0.1.14-orig//src/Makefile.am libfm-0.1.14/src/Makefile.am > +--- libfm-0.1.14-orig//src/Makefile.am 2011-04-26 10:01:44.297664993 +0800 > ++++ libfm-0.1.14/src/Makefile.am 2011-04-26 10:02:10.637665004 +0800 > +@@ -285,7 +285,6 @@ > + $(GIO_CFLAGS) \ > + -DGIO_MODULE_DIR=\"$(giomodulesdir)\" \ > + -DGVFS_LOCALEDIR=\""$(localedir)"\" \ > +- -DG_DISABLE_DEPRECATED \ > + $(NULL) > + > + libgiofm_la_LDFLAGS = \ > diff --git a/meta/recipes-support/libfm/libfm_0.1.14.bb b/meta/recipes-support/libfm/libfm_0.1.14.bb > index c56ad33..5c7e95c 100644 > --- a/meta/recipes-support/libfm/libfm_0.1.14.bb > +++ b/meta/recipes-support/libfm/libfm_0.1.14.bb > @@ -10,9 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ > SECTION = "x11/libs" > DEPENDS = "gtk+ menu-cache intltool" > > -PR = "r2" > +PR = "r3" > > -SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz" > +SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz \ > + file://use_deprecate_func.patch" > > SRC_URI[md5sum] = "d55e51dced6bb9ef46665243b079761f" > SRC_URI[sha256sum] = "e97bf3f9ed4f33b9f0be73e67d360b89337cccf816361faacd8422722269806b"