From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 1/7] gnu: gobject-introspection: Update to 1.44.0. Date: Tue, 21 Apr 2015 23:04:08 +0200 Message-ID: <87a8y119dj.fsf@gnu.org> References: <1429524721-21449-1-git-send-email-iyzsong@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkfL7-0006OE-0p for guix-devel@gnu.org; Tue, 21 Apr 2015 17:04:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkfL1-0005oo-TN for guix-devel@gnu.org; Tue, 21 Apr 2015 17:04:16 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkfL1-0005ok-QF for guix-devel@gnu.org; Tue, 21 Apr 2015 17:04:11 -0400 In-Reply-To: <1429524721-21449-1-git-send-email-iyzsong@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Mon, 20 Apr 2015 18:11:55 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org Hi! Note: this series should go to a =E2=80=98glib=E2=80=99 branch, which we=E2= =80=99ll get Hydra to build. =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > * gnu/packages/glib.scm (gobject-introspection): Update to 1.44.0. > [source]: Use mirror://gnome. > [arguments]<#:phases>: Remove. > * gnu/packages/patches/gobject-introspection-cc.patch: Rewrite to > set os.environ['CC'] in 'giscanner/__init__.py'. I don=E2=80=99t know exactly what happened but something broke since the original patch went in. The intent was described at . > +Use gcc as the default C compiler if CC is not set. > + > + > +--- gobject-introspection-1.44.0.orig/giscanner/__init__.py 2014-08-04 2= 2:37:07.000000000 +0800 > ++++ gobject-introspection-1.44.0/giscanner/__init__.py 2015-04-20 17:30:= 26.507697234 +0800 > +@@ -22,3 +22,5 @@ > + builddir =3D os.environ.get('UNINSTALLED_INTROSPECTION_BUILDDIR') > + if builddir is not None: > + __path__.append(os.path.join(builddir, 'giscanner')) > ++if not 'CC' in os.environ: > ++ os.environ['CC'] =3D 'gcc' Is it OK if $CC is set for all the child processes of giscanner? Assuming there=E2=80=99s no issue in this area, that looks good to me. And there=E2=80=99s a whole bunch of CC=3Dgcc that you can remove afterwards. = :-) Thanks! Ludo=E2=80=99.