From franciszhu1990@hotmail.com Sun Jan 15 13:53:27 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 0DF3C7500EB for ; Sun, 15 Jan 2012 13:53:27 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -101.505 X-Spam-Level: X-Spam-Status: No, score=-101.505 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, TW_GT=0.077, TW_JB=0.077, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TgvKPnI+iXZP for ; Sun, 15 Jan 2012 13:53:24 +0000 (UTC) X-Greylist: delayed 358 seconds by postgrey-1.32 at menubar.gnome.org; Sun, 15 Jan 2012 13:53:24 UTC Received: from dub0-omc1-s36.dub0.hotmail.com (dub0-omc1-s36.dub0.hotmail.com [157.55.0.235]) by menubar.gnome.org (Postfix) with ESMTP id 85BB57500E0 for ; Sun, 15 Jan 2012 13:53:16 +0000 (UTC) Received: from DUB108-W23 ([157.55.0.237]) by dub0-omc1-s36.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 15 Jan 2012 05:47:15 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_a0bab141-d05f-44ab-b45d-d3ead49caef5_" X-Originating-IP: [125.108.141.177] From: Francesco Zhu To: Date: Sun, 15 Jan 2012 14:47:15 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 15 Jan 2012 13:47:15.0397 (UTC) FILETIME=[30C48750:01CCD38C] Subject: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 13:53:27 -0000 --_a0bab141-d05f-44ab-b45d-d3ead49caef5_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi everyone=2C this is my first time writing on this mailing list (and on any mailing list= ). I cannot build GTK with jbuild on my Leopard 10.5.8 system. I followed this guide to build GTK: http://sidhosting.co.uk/josh_fradley/getting-emesene-2-up-and-running-on-os= -x/ which is basically the same as the one in Gnome site: http://live.gnome.org/GTK%2B/OSX/Building#Procedure I followed the first guide=2C so I ran these 2 commands: 1) curl -o gtk-osx-build-setup.sh https://raw.github.com/jralls/gtk-osx-bui= ld/master/gtk-osx-build-setup.sh 2) sh gtk-osx-build-setup.sh Then I setted ~/.local/bin as PATH.=20 Finally I did the 'jhbuild bootstrap' which gave me these errors: http://pastebin.com/xnGm7zgP I get the same error with Python 2.5 - 2.6 - 2.7 Can someone help me please? Thanks everyone. Regards=2C Francesco Zhu = --_a0bab141-d05f-44ab-b45d-d3ead49caef5_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi everyone=2C

this is my first time writing on this mailing list (a= nd on any mailing list).

I cannot build GTK with jbuild on my Leopar= d 10.5.8 system.
I followed this guide to build GTK:

http://sidho= sting.co.uk/josh_fradley/getting-emesene-2-up-and-running-on-os-x/

w= hich is basically the same as the one in Gnome site:

http://live.gno= me.org/GTK%2B/OSX/Building#Procedure

I followed the first guide=2C s= o I ran these 2 commands:

1) curl -o gtk-osx-build-setup.sh https://= raw.github.com/jralls/gtk-osx-build/master/gtk-osx-build-setup.sh

2)= sh gtk-osx-build-setup.sh

Then I setted ~/.local/bin as PATH.
F= inally I did the 'jhbuild bootstrap' which gave me these errors:

htt= p://pastebin.com/xnGm7zgP

I get the same error with Python 2.5 - 2.6= - 2.7

Can someone help me please?
Thanks everyone.

Regard= s=2C
Francesco Zhu
= --_a0bab141-d05f-44ab-b45d-d3ead49caef5_-- From jralls@ceridwen.us Sun Jan 15 16:30:27 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 45E0475007B for ; Sun, 15 Jan 2012 16:30:27 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.745 X-Spam-Level: X-Spam-Status: No, score=-1.745 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, TW_GT=0.077, TW_JB=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CquJC61SH96u for ; Sun, 15 Jan 2012 16:30:25 +0000 (UTC) X-Greylist: delayed 303 seconds by postgrey-1.32 at menubar.gnome.org; Sun, 15 Jan 2012 16:30:25 UTC Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212]) by menubar.gnome.org (Postfix) with ESMTP id 52FFA75005D for ; Sun, 15 Jan 2012 16:30:17 +0000 (UTC) Received: from omta11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by qmta14.emeryville.ca.mail.comcast.net with comcast id MsL41i0060mlR8UAEsRCGP; Sun, 15 Jan 2012 16:25:12 +0000 Received: from jeeves.ceridwen.fremont.ca.us ([98.207.111.130]) by omta11.emeryville.ca.mail.comcast.net with comcast id MsRB1i0052orKM68XsRBjR; Sun, 15 Jan 2012 16:25:12 +0000 Received: from localhost (localhost [127.0.0.1]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id C7C24A2CA3; Sun, 15 Jan 2012 08:25:09 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at ceridwen.fremont.ca.us Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1]) by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ASZlXkuUKQ2o; Sun, 15 Jan 2012 08:25:05 -0800 (PST) Received: from [192.168.1.69] (unknown [192.168.1.69]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 710E0A2CA2; Sun, 15 Jan 2012 08:25:05 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_18CC1241-F8D1-45A9-81BF-92DE96380BAB" From: John Ralls In-Reply-To: Date: Sun, 15 Jan 2012 08:25:09 -0800 Message-Id: <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> References: To: Francesco Zhu X-Mailer: Apple Mail (2.1251.1) Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 16:30:27 -0000 --Apple-Mail=_18CC1241-F8D1-45A9-81BF-92DE96380BAB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Jan 15, 2012, at 5:47 AM, Francesco Zhu wrote: > Hi everyone, >=20 > this is my first time writing on this mailing list (and on any mailing = list). >=20 > I cannot build GTK with jbuild on my Leopard 10.5.8 system. > I followed this guide to build GTK: >=20 > = http://sidhosting.co.uk/josh_fradley/getting-emesene-2-up-and-running-on-o= s-x/ >=20 > which is basically the same as the one in Gnome site: >=20 > http://live.gnome.org/GTK%2B/OSX/Building#Procedure >=20 > I followed the first guide, so I ran these 2 commands: >=20 > 1) curl -o gtk-osx-build-setup.sh = https://raw.github.com/jralls/gtk-osx-build/master/gtk-osx-build-setup.sh >=20 > 2) sh gtk-osx-build-setup.sh >=20 > Then I setted ~/.local/bin as PATH.=20 > Finally I did the 'jhbuild bootstrap' which gave me these errors: >=20 > http://pastebin.com/xnGm7zgP >=20 > I get the same error with Python 2.5 - 2.6 - 2.7 >=20 > Can someone help me please? > Thanks everyone. What happens when you run the following? xcodebuild --version Regards, John Ralls --Apple-Mail=_18CC1241-F8D1-45A9-81BF-92DE96380BAB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Hi everyone,

this is my first time writing on = this mailing list (and on any mailing list).

I cannot build GTK = with jbuild on my Leopard 10.5.8 system.
I followed this guide to = build GTK:

http://sidhosting.co.uk/josh_fradley/getting-emesene-2-up-an= d-running-on-os-x/

which is basically the same as the one in = Gnome site:

http://live.g= nome.org/GTK%2B/OSX/Building#Procedure

I followed the first = guide, so I ran these 2 commands:

1) curl -o = gtk-osx-build-setup.sh https://raw.github.com/jralls/gtk-osx-build/master/gtk-osx-build-= setup.sh

2) sh gtk-osx-build-setup.sh

Then I setted = ~/.local/bin as PATH. 
Finally I did the = 'jhbuild bootstrap' which gave me these errors:

http://pastebin.com/xnGm7zgP
=
I get the same error with Python 2.5 - 2.6 - 2.7

Can someone = help me please?
Thanks = everyone.

What happens = when you run the following?
xcodebuild = --version

Regards,
John = Ralls

= --Apple-Mail=_18CC1241-F8D1-45A9-81BF-92DE96380BAB-- From jralls@ceridwen.us Mon Jan 16 01:08:42 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 75F7B7500AF for ; Mon, 16 Jan 2012 01:08:42 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.824 X-Spam-Level: X-Spam-Status: No, score=-1.824 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jcWw-l4WQnjW for ; Mon, 16 Jan 2012 01:08:40 +0000 (UTC) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by menubar.gnome.org (Postfix) with ESMTP id C1F51750095 for ; Mon, 16 Jan 2012 01:08:32 +0000 (UTC) Received: from [192.168.1.68] (c-98-207-111-130.hsd1.ca.comcast.net [98.207.111.130]) by mrelay.perfora.net (node=mrus3) with ESMTP (Nemesis) id 0MAQc6-1Rx0OO394c-00B4cW; Sun, 15 Jan 2012 20:08:30 -0500 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: John Ralls In-Reply-To: Date: Sun, 15 Jan 2012 17:08:25 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> To: Francesco Zhu X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:ot9w6vPSzr8VxUa0fT9C/P01L3LzryB3An2aq0fcCZB juFNHsV+SCvG4ioxjBXKrnjJEXjCgcRdARTKAAYaiqPLfVw8Dm goMDwqL3VZegmxmFFhXPpikdEND8PIDUgLJ5y1mRmmkWhpYBbg yKlOudk42eucD9IXSbUh8E1oaH4g2V9dc2L82NoBMXzyuU0WDd aspKlqY96ugoiPN5h3AsXRH6TmcFN57aNnQj6aVO2LqU3/uFrP cJHWX+XxWyncf58K4f8tr1cUZNuJWINXITFMVTBRJOthAlkXw2 2JL7UbIE6GkebkrFO/4FApflg5YK/bApmq4slCuVW/8FPY+s1E +VkZOHXK1p9fVjN4eDYb0al1wM/+dLP7x/BWvqHzTwtZe4HaXO 1DgJe/HeyfE8Q== Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2012 01:08:42 -0000 On Jan 15, 2012, at 3:52 PM, Francesco Zhu wrote: > Another typo? haha > I typed 'xcodebuild -version', it says: > Component versions: DevToolsCore-921.0; DevToolsSupport-893.0 Please remember to copy the list with your replies (use "Reply All"). And that's the problem. It seems Apple changed the output with version = 3.1 so that there's a line before that. On my Leopard box it says "XCode = 3.1.8".=20 I've fixed it and pushed the commit. Just run gtk-osx-build-setup.sh = again. Regards, John Ralls= From franciszhu1990@hotmail.com Mon Jan 16 06:02:36 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D91307500AF for ; Mon, 16 Jan 2012 06:02:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -101.582 X-Spam-Level: X-Spam-Status: No, score=-101.582 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, TW_GT=0.077, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CV3ulTwtNkqU for ; Mon, 16 Jan 2012 06:02:34 +0000 (UTC) Received: from dub0-omc1-s4.dub0.hotmail.com (dub0-omc1-s4.dub0.hotmail.com [157.55.0.203]) by menubar.gnome.org (Postfix) with ESMTP id 0D07C750095 for ; Mon, 16 Jan 2012 06:02:25 +0000 (UTC) Received: from DUB108-W14 ([157.55.0.237]) by dub0-omc1-s4.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 15 Jan 2012 22:02:23 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_8921495b-147c-4e3c-ac93-f7b65c27f49f_" X-Originating-IP: [125.108.141.177] From: Francesco Zhu To: Date: Mon, 16 Jan 2012 07:02:23 +0100 Importance: Normal In-Reply-To: <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> MIME-Version: 1.0 X-OriginalArrivalTime: 16 Jan 2012 06:02:23.0713 (UTC) FILETIME=[6A710D10:01CCD414] Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2012 06:02:37 -0000 --_8921495b-147c-4e3c-ac93-f7b65c27f49f_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sorry=2C from now on I will always reply all. I don't know if this question was already asked=2C but it asks /usr/bin/gcc= -4.2 I only have gcc-4.0 Before I used to rename gcc-4.0 to gcc-4.2 But maybe there is a better way? Thank you > Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 > From: jralls@ceridwen.us > Date: Sun=2C 15 Jan 2012 17:08:25 -0800 > CC: gtk-osx-devel-list@gnome.org > To: franciszhu1990@hotmail.com >=20 >=20 > On Jan 15=2C 2012=2C at 3:52 PM=2C Francesco Zhu wrote: >=20 > > Another typo? haha > > I typed 'xcodebuild -version'=2C it says: > > Component versions: DevToolsCore-921.0=3B DevToolsSupport-893.0 >=20 > Please remember to copy the list with your replies (use "Reply All"). >=20 > And that's the problem. It seems Apple changed the output with version 3.= 1 so that there's a line before that. On my Leopard box it says "XCode 3.1.= 8".=20 >=20 > I've fixed it and pushed the commit. Just run gtk-osx-build-setup.sh agai= n. >=20 > Regards=2C > John Ralls = --_8921495b-147c-4e3c-ac93-f7b65c27f49f_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Sorry=2C from now on I will always reply all.

I don't know if this q= uestion was already asked=2C but it asks /usr/bin/gcc-4.2
I only have gc= c-4.0

Before I used to rename gcc-4.0 to gcc-4.2
But maybe there = is a better way?

Thank you

>=3B Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Le= opard 10.5.8
>=3B From: jralls@ceridwen.us
>=3B Date: Sun=2C 15 J= an 2012 17:08:25 -0800
>=3B CC: gtk-osx-devel-list@gnome.org
>=3B= To: franciszhu1990@hotmail.com
>=3B
>=3B
>=3B On Jan 15= =2C 2012=2C at 3:52 PM=2C Francesco Zhu wrote:
>=3B
>=3B >=3B = Another typo? haha
>=3B >=3B I typed 'xcodebuild -version'=2C it say= s:
>=3B >=3B Component versions: DevToolsCore-921.0=3B DevToolsSuppo= rt-893.0
>=3B
>=3B Please remember to copy the list with your re= plies (use "Reply All").
>=3B
>=3B And that's the problem. It se= ems Apple changed the output with version 3.1 so that there's a line before= that. On my Leopard box it says "XCode 3.1.8".
>=3B
>=3B I've = fixed it and pushed the commit. Just run gtk-osx-build-setup.sh again.
&= gt=3B
>=3B Regards=2C
>=3B John Ralls
= --_8921495b-147c-4e3c-ac93-f7b65c27f49f_-- From jralls@ceridwen.us Mon Jan 16 16:17:45 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 48286750106 for ; Mon, 16 Jan 2012 16:17:45 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.822 X-Spam-Level: X-Spam-Status: No, score=-1.822 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CtxM211UsmlI for ; Mon, 16 Jan 2012 16:17:38 +0000 (UTC) X-Greylist: delayed 304 seconds by postgrey-1.32 at menubar.gnome.org; Mon, 16 Jan 2012 16:17:38 UTC Received: from qmta08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by menubar.gnome.org (Postfix) with ESMTP id 37069750095 for ; Mon, 16 Jan 2012 16:17:30 +0000 (UTC) Received: from omta16.emeryville.ca.mail.comcast.net ([76.96.30.72]) by qmta08.emeryville.ca.mail.comcast.net with comcast id NG7Q1i0011ZMdJ4A8GCQmB; Mon, 16 Jan 2012 16:12:24 +0000 Received: from jeeves.ceridwen.fremont.ca.us ([98.207.111.130]) by omta16.emeryville.ca.mail.comcast.net with comcast id NGCQ1i0062orKM68cGCQ8d; Mon, 16 Jan 2012 16:12:24 +0000 Received: from localhost (localhost [127.0.0.1]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 8F797A2CA3; Mon, 16 Jan 2012 08:12:21 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at ceridwen.fremont.ca.us Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1]) by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8qkWlDBEDM63; Mon, 16 Jan 2012 08:12:19 -0800 (PST) Received: from [192.168.1.69] (unknown [192.168.1.69]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id AC6E9A2CA2; Mon, 16 Jan 2012 08:12:18 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_A01F40E9-DFE9-4DC5-803E-8B9C8596C900" From: John Ralls In-Reply-To: Date: Mon, 16 Jan 2012 08:12:21 -0800 Message-Id: <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> To: Francesco Zhu X-Mailer: Apple Mail (2.1251.1) Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2012 16:17:45 -0000 --Apple-Mail=_A01F40E9-DFE9-4DC5-803E-8B9C8596C900 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Jan 15, 2012, at 10:02 PM, Francesco Zhu wrote: > Sorry, from now on I will always reply all. >=20 > I don't know if this question was already asked, but it asks = /usr/bin/gcc-4.2 > I only have gcc-4.0 >=20 > Before I used to rename gcc-4.0 to gcc-4.2 > But maybe there is a better way? Huh. I thought that gcc-4.2 started with XCode 3. No matter, I've = changed .jhbuildrc to use xcode version. Run gtk-osx-build-setup.sh = again to update. Regards, John Ralls= --Apple-Mail=_A01F40E9-DFE9-4DC5-803E-8B9C8596C900 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Sorry, from now on I will always reply all.

I = don't know if this question was already asked, but it asks = /usr/bin/gcc-4.2
I only have gcc-4.0

Before I used to rename = gcc-4.0 to gcc-4.2
But maybe there is a better = way?

Huh. I thought = that gcc-4.2 started with XCode 3. No matter, I've changed .jhbuildrc to = use xcode version. Run gtk-osx-build-setup.sh again to = update.

Regards,
John = Ralls
= --Apple-Mail=_A01F40E9-DFE9-4DC5-803E-8B9C8596C900-- From franciszhu1990@hotmail.com Tue Jan 17 15:53:55 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 509D2750261 for ; Tue, 17 Jan 2012 15:53:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -101.505 X-Spam-Level: X-Spam-Status: No, score=-101.505 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, TW_BP=0.077, TW_GT=0.077, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p2f7m85jBBgS for ; Tue, 17 Jan 2012 15:53:50 +0000 (UTC) Received: from dub0-omc1-s13.dub0.hotmail.com (dub0-omc1-s13.dub0.hotmail.com [157.55.0.212]) by menubar.gnome.org (Postfix) with ESMTP id DE8317500DD for ; Tue, 17 Jan 2012 15:53:41 +0000 (UTC) Received: from DUB108-W17 ([157.55.0.237]) by dub0-omc1-s13.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 17 Jan 2012 07:53:39 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_5336d55e-2e05-44c7-be1a-fa7de9a1ae3f_" X-Originating-IP: [220.186.118.48] From: Francesco Zhu To: Date: Tue, 17 Jan 2012 16:53:38 +0100 Importance: Normal In-Reply-To: <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> , <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> MIME-Version: 1.0 X-OriginalArrivalTime: 17 Jan 2012 15:53:39.0243 (UTC) FILETIME=[2DEB17B0:01CCD530] Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 15:53:55 -0000 --_5336d55e-2e05-44c7-be1a-fa7de9a1ae3f_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you very much=2C John. Now it worked=2C but I have a problem with cairo=2C it doesn't find libpng= =2C which I have under /Development/MacPyGTK It gives me this error: configure: WARNING: Could not find libpng in the pkg-config search path checking whether cairo's PNG functions feature could be enabled... no configure: error: recommended PNG functions feature could not be enabled *** Error during phase configure of cairo: ########## Error running ./confi= gure --prefix /Users/francesco/gtk/inst --libdir '/Users/francesco/gtk/inst= /lib' --enable-pdf --enable-quartz --enable-xlib=3Dno --without-x *** [6/= 14] I searched on the internet=2C it seems that all people having this problem = are on Linux... Maybe I should change pkg-config search path to include /Developers/? I don= 't know=20 Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 From: jralls@ceridwen.us Date: Mon=2C 16 Jan 2012 08:12:21 -0800 CC: gtk-osx-devel-list@gnome.org To: franciszhu1990@hotmail.com On Jan 15=2C 2012=2C at 10:02 PM=2C Francesco Zhu wrote:Sorry=2C from now o= n I will always reply all. I don't know if this question was already asked=2C but it asks /usr/bin/gcc= -4.2 I only have gcc-4.0 Before I used to rename gcc-4.0 to gcc-4.2 But maybe there is a better way? Huh. I thought that gcc-4.2 started with XCode 3. No matter=2C I've changed= .jhbuildrc to use xcode version. Run gtk-osx-build-setup.sh again to updat= e. Regards=2CJohn Ralls = --_5336d55e-2e05-44c7-be1a-fa7de9a1ae3f_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you very much=2C John.

Now it worked=2C but I have a problem w= ith cairo=2C it doesn't find libpng=2C which I have under /Development/MacP= yGTK

It gives me this error:

configure: WARNING: Could not fi= nd libpng in the pkg-config search path
checking whether cairo's PNG fun= ctions feature could be enabled... no
configure: error: recommended PNG = functions feature could not be enabled
*** Error during phase configure = of cairo: ########## Error running ./configure --prefix /Users/francesco/gt= k/inst --libdir '/Users/francesco/gtk/inst/lib' --enable-pdf --enable-quart= z --enable-xlib=3Dno --without-x =3B =3B *** [6/14]

I search= ed on the internet=2C it seems that all people having this problem are on L= inux...

Maybe I should change pkg-config search path to include /Dev= elopers/? I don't know

<= hr id=3D"stopSpelling">Subject: Re: [gtk-osx-devel] Jhbuild bootstrap faile= d on Leopard 10.5.8
From: jralls@ceridwen.us
Date: Mon=2C 16 Jan 2012= 08:12:21 -0800
CC: gtk-osx-devel-list@gnome.org
To: franciszhu1990@h= otmail.com


On Ja= n 15=2C 2012=2C at 10:02 PM=2C Francesco Zhu wrote:

Sorry=2C from now on I will always reply all= .

I don't know if this question was already asked=2C but it asks /us= r/bin/gcc-4.2
I only have gcc-4.0

Before I used to rename gcc-4.0= to gcc-4.2
But maybe there is a better way?

Huh. I thought that gcc-4.2 started with XCode 3. No= matter=2C I've changed .jhbuildrc to use xcode version. Run gtk-osx-build-= setup.sh again to update.

Regards=2C
Joh= n Ralls
= --_5336d55e-2e05-44c7-be1a-fa7de9a1ae3f_-- From jralls@ceridwen.us Tue Jan 17 16:21:18 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 728147500C6 for ; Tue, 17 Jan 2012 16:21:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.745 X-Spam-Level: X-Spam-Status: No, score=-1.745 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, TW_BP=0.077, TW_GT=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24d9x6kMOYbw for ; Tue, 17 Jan 2012 16:21:16 +0000 (UTC) Received: from qmta02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by menubar.gnome.org (Postfix) with ESMTP id D930A750100 for ; Tue, 17 Jan 2012 16:21:07 +0000 (UTC) Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta02.emeryville.ca.mail.comcast.net with comcast id NfPD1i0031wfjNsA2gM6uk; Tue, 17 Jan 2012 16:21:06 +0000 Received: from jeeves.ceridwen.fremont.ca.us ([98.207.111.130]) by omta23.emeryville.ca.mail.comcast.net with comcast id NgM51i00P2orKM68jgM5wF; Tue, 17 Jan 2012 16:21:05 +0000 Received: from localhost (localhost [127.0.0.1]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id BBB56A2CA3; Tue, 17 Jan 2012 08:21:03 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at ceridwen.fremont.ca.us Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1]) by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cha8SEu+-SSm; Tue, 17 Jan 2012 08:21:00 -0800 (PST) Received: from [192.168.1.69] (unknown [192.168.1.69]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id CB577A2CA2; Tue, 17 Jan 2012 08:20:59 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_359EE885-5A12-4039-9046-72681E886352" From: John Ralls In-Reply-To: Date: Tue, 17 Jan 2012 08:21:03 -0800 Message-Id: <0F4066CE-B378-47AF-A959-C3559630C29E@ceridwen.us> References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> , <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> To: Francesco Zhu X-Mailer: Apple Mail (2.1251.1) Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 16:21:18 -0000 --Apple-Mail=_359EE885-5A12-4039-9046-72681E886352 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Jan 17, 2012, at 7:53 AM, Francesco Zhu wrote: > Thank you very much, John. >=20 > Now it worked, but I have a problem with cairo, it doesn't find = libpng, which I have under /Development/MacPyGTK >=20 > It gives me this error: >=20 > configure: WARNING: Could not find libpng in the pkg-config search = path > checking whether cairo's PNG functions feature could be enabled... no > configure: error: recommended PNG functions feature could not be = enabled > *** Error during phase configure of cairo: ########## Error running = ./configure --prefix /Users/francesco/gtk/inst --libdir = '/Users/francesco/gtk/inst/lib' --enable-pdf --enable-quartz = --enable-xlib=3Dno --without-x *** [6/14] >=20 > I searched on the internet, it seems that all people having this = problem are on Linux... >=20 > Maybe I should change pkg-config search path to include /Developers/? = I don't know=20 Gtk-osx is supposed to build its own as part of meta-gtk-osx-bootstrap. = Did you skip a step? While you can experiment with other configurations if you want, it would = be wise to make sure you can build all the way through the normal way = first. Another consideration if you're planning to bundle an application for = distribution comes up if you are pulling libraries from /Developer: = First, do you have redistribution rights for those libraries? (In the = case of libpng, you probably do.) As long as that's OK you'll have to = add that prefix to your bundle. Regards, John Ralls --Apple-Mail=_359EE885-5A12-4039-9046-72681E886352 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Thank you very much, John.

Now it worked, but = I have a problem with cairo, it doesn't find libpng, which I have under = /Development/MacPyGTK

It gives me this error:

configure: = WARNING: Could not find libpng in the pkg-config search path
checking = whether cairo's PNG functions feature could be enabled... = no
configure: error: recommended PNG functions feature could not be = enabled
*** Error during phase configure of cairo: ########## Error = running ./configure --prefix /Users/francesco/gtk/inst --libdir = '/Users/francesco/gtk/inst/lib' --enable-pdf --enable-quartz = --enable-xlib=3Dno --without-x   *** [6/14]

I searched = on the internet, it seems that all people having this problem are on = Linux...

Maybe I should change pkg-config search path to include = /Developers/? I don't know 

Gtk-osx is supposed to build its own as part of = meta-gtk-osx-bootstrap. Did you skip a = step?

While you can experiment with other = configurations if you want, it would be wise to make sure you can build = all the way through the normal way = first.

Another consideration if you're planning = to bundle an application for distribution comes up if you are pulling = libraries from /Developer: First, do you have redistribution rights for = those libraries? (In the case of libpng, you probably do.) As long as = that's OK you'll have to add that prefix to your = bundle.

Regards,
John = Ralls

= --Apple-Mail=_359EE885-5A12-4039-9046-72681E886352-- From franciszhu1990@hotmail.com Wed Jan 18 01:58:21 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 87F597500AA for ; Wed, 18 Jan 2012 01:58:21 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -101.428 X-Spam-Level: X-Spam-Status: No, score=-101.428 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, TW_BP=0.077, TW_GT=0.077, TW_JH=0.077, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N4LLTfECtZxG for ; Wed, 18 Jan 2012 01:58:19 +0000 (UTC) Received: from dub0-omc1-s29.dub0.hotmail.com (dub0-omc1-s29.dub0.hotmail.com [157.55.0.228]) by menubar.gnome.org (Postfix) with ESMTP id 25AFA750068 for ; Wed, 18 Jan 2012 01:58:10 +0000 (UTC) Received: from DUB108-W56 ([157.55.0.237]) by dub0-omc1-s29.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 17 Jan 2012 17:58:08 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_c2c7b4ee-f635-4f8b-a1fb-b86e506921a9_" X-Originating-IP: [220.186.118.48] From: Francesco Zhu To: Date: Wed, 18 Jan 2012 02:58:07 +0100 Importance: Normal In-Reply-To: <0F4066CE-B378-47AF-A959-C3559630C29E@ceridwen.us> References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> , <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> , <0F4066CE-B378-47AF-A959-C3559630C29E@ceridwen.us> MIME-Version: 1.0 X-OriginalArrivalTime: 18 Jan 2012 01:58:08.0432 (UTC) FILETIME=[A00A2300:01CCD584] Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 01:58:21 -0000 --_c2c7b4ee-f635-4f8b-a1fb-b86e506921a9_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I don't know if I skipped some steps...=20 This is what I did: 1) jhbuild bootstrap=20 2) jhbuild build meta-gtk-osx-bootstrap 3) jhbuild build meta-gtk-osx-core I'm at the step 3:=20 $ jhbuild build meta-gtk-osx-core and it gives this error building cairo.=20 Sorry=2C how do I 'add that prefix to my bundle'? (It's my first time compi= ling something Unix-like... and I don't know much about this basic things) So what do you advise me to do? Should I make it search on Developers=2C or= install some libpng? Thank you. Regards=2C Francesco Zhu Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 From: jralls@ceridwen.us Date: Tue=2C 17 Jan 2012 08:21:03 -0800 CC: gtk-osx-devel-list@gnome.org To: franciszhu1990@hotmail.com On Jan 17=2C 2012=2C at 7:53 AM=2C Francesco Zhu wrote:Thank you very much= =2C John. Now it worked=2C but I have a problem with cairo=2C it doesn't find libpng= =2C which I have under /Development/MacPyGTK It gives me this error: configure: WARNING: Could not find libpng in the pkg-config search path checking whether cairo's PNG functions feature could be enabled... no configure: error: recommended PNG functions feature could not be enabled *** Error during phase configure of cairo: ########## Error running ./confi= gure --prefix /Users/francesco/gtk/inst --libdir '/Users/francesco/gtk/inst= /lib' --enable-pdf --enable-quartz --enable-xlib=3Dno --without-x *** [6/= 14] I searched on the internet=2C it seems that all people having this problem = are on Linux... Maybe I should change pkg-config search path to include /Developers/? I don= 't know=20 Gtk-osx is supposed to build its own as part of meta-gtk-osx-bootstrap. Did= you skip a step? While you can experiment with other configurations if you want=2C it would = be wise to make sure you can build all the way through the normal way first= . Another consideration if you're planning to bundle an application for distr= ibution comes up if you are pulling libraries from /Developer: First=2C do = you have redistribution rights for those libraries? (In the case of libpng= =2C you probably do.) As long as that's OK you'll have to add that prefix t= o your bundle. Regards=2CJohn Ralls = --_c2c7b4ee-f635-4f8b-a1fb-b86e506921a9_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I don't know if I skipped some steps...
This is what I did:
1) jhbui= ld bootstrap
2) jhbuild build meta-gtk-osx-bootstrap
3) jhbuild buil= d meta-gtk-osx-core

I'm at the step 3:
$ jhbuild build meta-gtk-osx-core
and it gives this error building cairo.

Sorry=2C how do I 'add that= prefix to my bundle'? (It's my first time compiling something Unix-like...= and I don't know much about this basic things)
So what do you advise me= to do? Should I make it search on Developers=2C or install some libpng?
Thank you.

Regards=2C
Francesco Zhu


Subject: Re: [gtk-osx-dev= el] Jhbuild bootstrap failed on Leopard 10.5.8
From: jralls@ceridwen.us<= br>Date: Tue=2C 17 Jan 2012 08:21:03 -0800
CC: gtk-osx-devel-list@gnome.= org
To: franciszhu1990@hotmail.com


On Ja= n 17=2C 2012=2C at 7:53 AM=2C Francesco Zhu wrote:

Thank you very much=2C John.

Now it wo= rked=2C but I have a problem with cairo=2C it doesn't find libpng=2C which = I have under /Development/MacPyGTK

It gives me this error:

co= nfigure: WARNING: Could not find libpng in the pkg-config search path
ch= ecking whether cairo's PNG functions feature could be enabled... no
conf= igure: error: recommended PNG functions feature could not be enabled
***= Error during phase configure of cairo: ########## Error running ./configur= e --prefix /Users/francesco/gtk/inst --libdir '/Users/francesco/gtk/inst/li= b' --enable-pdf --enable-quartz --enable-xlib=3Dno --without-x =3B = =3B *** [6/14]

I searched on the internet=2C it seems that all peopl= e having this problem are on Linux...

Maybe I should change pkg-conf= ig search path to include /Developers/? I don't know =3B

=
Gtk-osx is supposed to build its own as part of meta-gtk-osx-bootstrap= . Did you skip a step?

While you can experiment wi= th other configurations if you want=2C it would be wise to make sure you ca= n build all the way through the normal way first.

= Another consideration if you're planning to bundle an application for distr= ibution comes up if you are pulling libraries from /Developer: First=2C do = you have redistribution rights for those libraries? (In the case of libpng= =2C you probably do.) As long as that's OK you'll have to add that prefix t= o your bundle.

Regards=2C
John Ralls

= --_c2c7b4ee-f635-4f8b-a1fb-b86e506921a9_-- From jralls@ceridwen.us Wed Jan 18 05:40:34 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3E98C7500A9 for ; Wed, 18 Jan 2012 05:40:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.668 X-Spam-Level: X-Spam-Status: No, score=-1.668 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, TW_BP=0.077, TW_GT=0.077, TW_JH=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1xueTr6lbljr for ; Wed, 18 Jan 2012 05:40:32 +0000 (UTC) Received: from qmta02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by menubar.gnome.org (Postfix) with ESMTP id 0CAEF750068 for ; Wed, 18 Jan 2012 05:40:23 +0000 (UTC) Received: from omta12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by qmta02.emeryville.ca.mail.comcast.net with comcast id Ntdi1i0010x6nqcA2tgN21; Wed, 18 Jan 2012 05:40:22 +0000 Received: from jeeves.ceridwen.fremont.ca.us ([98.207.111.130]) by omta12.emeryville.ca.mail.comcast.net with comcast id NtgM1i0072orKM68YtgM06; Wed, 18 Jan 2012 05:40:21 +0000 Received: from localhost (localhost [127.0.0.1]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 5F1C5A2CA2; Tue, 17 Jan 2012 21:40:20 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at ceridwen.fremont.ca.us Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1]) by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5vKSm-z5Rxtp; Tue, 17 Jan 2012 21:40:12 -0800 (PST) Received: from [192.168.1.69] (unknown [192.168.1.69]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 26972A2CA4; Tue, 17 Jan 2012 21:40:07 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_DF34C5E7-CB60-49C3-98D3-7D4D1FA8657D" From: John Ralls In-Reply-To: Date: Tue, 17 Jan 2012 21:40:13 -0800 Message-Id: <504AA27A-8501-42F5-BB6B-13C53E27FBC7@ceridwen.us> References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> , <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> , <0F4066CE-B378-47AF-A959-C3559630C29E@ceridwen.us> To: Francesco Zhu X-Mailer: Apple Mail (2.1251.1) Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 05:40:34 -0000 --Apple-Mail=_DF34C5E7-CB60-49C3-98D3-7D4D1FA8657D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Jan 17, 2012, at 5:58 PM, Francesco Zhu wrote: > I don't know if I skipped some steps...=20 > This is what I did: > 1) jhbuild bootstrap=20 > 2) jhbuild build meta-gtk-osx-bootstrap > 3) jhbuild build meta-gtk-osx-core >=20 > I'm at the step 3:=20 > $ jhbuild build meta-gtk-osx-core > and it gives this error building cairo.=20 >=20 > Sorry, how do I 'add that prefix to my bundle'? (It's my first time = compiling something Unix-like... and I don't know much about this basic = things) > So what do you advise me to do? Should I make it search on Developers, = or install some libpng? As I said, meta-gtk-osx-bootstrap is supposed to build libpng as the = first module, so have a look in /Users/francesco/gtk/src and make sure = that libpng-1.4.8 is there, then look at = /Users/francesco/gtk/inst/lib/pkgconfig/ and make sure that libpng.pc = and libpng14.pc are there. If they aren't, then something went wrong = with building meta-gtk-osx-bootstrap, so build it again and look at the = output (libpng is the first module) and see if it says anything about = not building libpng. No, I don't think you should make it search /Developer, nor should you = need to install libpng separately from meta-gtk-osx-bootstrap. As a general observation, building gtk-osx is a bit ambitious for a = first Unix experience... kind of like trying to fly without taking = lessons first. Regards, John Ralls --Apple-Mail=_DF34C5E7-CB60-49C3-98D3-7D4D1FA8657D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
I don't know if I skipped some steps... 
This is what I = did:
1) jhbuild bootstrap 
2) jhbuild build = meta-gtk-osx-bootstrap
3) jhbuild build meta-gtk-osx-core

I'm = at the step 3: 
$ = jhbuild build meta-gtk-osx-core
and it gives this error building = cairo. 

Sorry, = how do I 'add that prefix to my bundle'? (It's my first time compiling = something Unix-like... and I don't know much about this basic = things)
So what do you advise me to do? Should I make it search on = Developers, or install some = libpng?


A= s I said, meta-gtk-osx-bootstrap is supposed to build libpng as the = first module, so have a look in /Users/francesco/gtk/src and make sure = that libpng-1.4.8 is there, then look at = /Users/francesco/gtk/inst/lib/pkgconfig/ and make sure that libpng.pc = and libpng14.pc are there. If they aren't, then something went wrong = with building meta-gtk-osx-bootstrap, so build it again and look at the = output (libpng is the first module) and see if it says anything about = not building libpng.

No, I don't think you = should make it search /Developer, nor should you need to install libpng = separately from meta-gtk-osx-bootstrap.

As a = general observation, building gtk-osx is a bit ambitious for a first = Unix experience... kind of like trying to fly without taking lessons = first.

Regards,
John = Ralls

= --Apple-Mail=_DF34C5E7-CB60-49C3-98D3-7D4D1FA8657D-- From franciszhu1990@hotmail.com Wed Jan 18 12:16:04 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 789877500DA for ; Wed, 18 Jan 2012 12:16:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -101.428 X-Spam-Level: X-Spam-Status: No, score=-101.428 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, TW_BP=0.077, TW_GT=0.077, TW_JH=0.077, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tcYu+VyvmBx2 for ; Wed, 18 Jan 2012 12:15:58 +0000 (UTC) Received: from dub0-omc1-s20.dub0.hotmail.com (dub0-omc1-s20.dub0.hotmail.com [157.55.0.219]) by menubar.gnome.org (Postfix) with ESMTP id 9109B75006E for ; Wed, 18 Jan 2012 12:15:49 +0000 (UTC) Received: from DUB108-W65 ([157.55.0.237]) by dub0-omc1-s20.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 18 Jan 2012 04:15:47 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_689d6edf-2bdc-4bce-9834-b6e446ba49bd_" X-Originating-IP: [220.186.118.48] From: Francesco Zhu To: Date: Wed, 18 Jan 2012 13:15:46 +0100 Importance: Normal In-Reply-To: <504AA27A-8501-42F5-BB6B-13C53E27FBC7@ceridwen.us> References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> , <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> , <0F4066CE-B378-47AF-A959-C3559630C29E@ceridwen.us> , <504AA27A-8501-42F5-BB6B-13C53E27FBC7@ceridwen.us> MIME-Version: 1.0 X-OriginalArrivalTime: 18 Jan 2012 12:15:47.0132 (UTC) FILETIME=[E8BEFFC0:01CCD5DA] Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 12:16:04 -0000 --_689d6edf-2bdc-4bce-9834-b6e446ba49bd_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you very much=2C John. I just ran meta-gtk-osx-bootstrap again and it worked=2C I also saw that th= e libpng file wasn't completed during the previous download. Now I have another problem=2C and googling up I saw a mailing list of 16 Ja= nuary (maybe last year?) where you replied a user with the same problem. Unfortunately I couldn't find a solution... The problem is when I run: jhbuild build meta-gtk-osx-themes I get this error: *** Checking out icon-naming-utils *** [2/7] bunzip2 -dc "/Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.90.tar.= bz2" | tar xf - bunzip2: /Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.90.tar.bz2 = is not a bzip2 file. *** Error during phase checkout of icon-naming-utils: could not unpack tarb= all (expected icon-naming-utils-0.8.90 dir) *** [2/7] I even edited the file gtk-osx-themes.module changing 'tar.bz2' to 'tar.gz'= =2C but it keeps searching for the bz2 and cannot unpack it... That makes me upset=2C because I can unpack it through the GUI=2C so why ca= n't bunzip2 unpack it? Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 From: jralls@ceridwen.us Date: Tue=2C 17 Jan 2012 21:40:13 -0800 CC: gtk-osx-devel-list@gnome.org To: franciszhu1990@hotmail.com On Jan 17=2C 2012=2C at 5:58 PM=2C Francesco Zhu wrote:I don't know if I sk= ipped some steps...=20 This is what I did: 1) jhbuild bootstrap=20 2) jhbuild build meta-gtk-osx-bootstrap 3) jhbuild build meta-gtk-osx-core I'm at the step 3:=20 $ jhbuild build meta-gtk-osx-core and it gives this error building cairo.=20 Sorry=2C how do I 'add that prefix to my bundle'? (It's my first time compi= ling something Unix-like... and I don't know much about this basic things) So what do you advise me to do? Should I make it search on Developers=2C or= install some libpng? As I said=2C meta-gtk-osx-bootstrap is supposed to build libpng as the firs= t module=2C so have a look in /Users/francesco/gtk/src and make sure that l= ibpng-1.4.8 is there=2C then look at /Users/francesco/gtk/inst/lib/pkgconfi= g/ and make sure that libpng.pc and libpng14.pc are there. If they aren't= =2C then something went wrong with building meta-gtk-osx-bootstrap=2C so bu= ild it again and look at the output (libpng is the first module) and see if= it says anything about not building libpng. No=2C I don't think you should make it search /Developer=2C nor should you = need to install libpng separately from meta-gtk-osx-bootstrap. As a general observation=2C building gtk-osx is a bit ambitious for a first= Unix experience... kind of like trying to fly without taking lessons first= . Regards=2CJohn Ralls = --_689d6edf-2bdc-4bce-9834-b6e446ba49bd_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you very much=2C John.

I just ran meta-gtk-osx-bootstrap again= and it worked=2C I also saw that the libpng file wasn't completed during t= he previous download.

Now I have another problem=2C and googling up = I saw a mailing list of 16 January (maybe last year?) where you replied a u= ser with the same problem.
Unfortunately I couldn't find a solution...
The problem is when I run:
jhbuild build meta-gtk-osx-themes
I = get this error:
*** Checking out icon-naming-utils *** [2/7]
bunzip2 = -dc "/Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.90.tar.bz2" | t= ar xf -
bunzip2: /Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.= 90.tar.bz2 is not a bzip2 file.
*** Error during phase checkout of icon-= naming-utils: could not unpack tarball (expected icon-naming-utils-0.8.90 d= ir) *** [2/7]

I even edited the file gtk-osx-themes.module changing = 'tar.bz2' to 'tar.gz'=2C but it keeps searching for the bz2 and cannot unpa= ck it...

That makes me upset=2C because I can unpack it through the = GUI=2C so why can't bunzip2 unpack it?


Subject: Re: [gtk-osx-devel] Jhbuild = bootstrap failed on Leopard 10.5.8
From: jralls@ceridwen.us
Date: Tue= =2C 17 Jan 2012 21:40:13 -0800
CC: gtk-osx-devel-list@gnome.org
To: f= ranciszhu1990@hotmail.com


On Ja= n 17=2C 2012=2C at 5:58 PM=2C Francesco Zhu wrote:

I don't know if I skipped some steps... =3B
This is what I did:1) jhbuild bootstrap =3B
2) jhbuild build meta-gtk-osx-bootstrap
3) jhbuild build meta-gtk= -osx-core

I'm at the step 3: =3B
$ jhbuild build meta-gtk-osx-core
and it gives this = error building cairo. =3B

Sorry=2C how do I 'add that prefix to my bundle'? (It's my first = time compiling something Unix-like... and I don't know much about this basi= c things)
So what do you advise me to do? Should I make it search on Dev= elopers=2C or install some libpng?


As I said=2C meta-gtk-osx-bootstrap is supposed to= build libpng as the first module=2C so have a look in /Users/francesco/gtk= /src and make sure that libpng-1.4.8 is there=2C then look at /Users/france= sco/gtk/inst/lib/pkgconfig/ and make sure that libpng.pc and libpng14.pc ar= e there. If they aren't=2C then something went wrong with building meta-gtk= -osx-bootstrap=2C so build it again and look at the output (libpng is the f= irst module) and see if it says anything about not building libpng.

No=2C I don't think you should make it search /Developer= =2C nor should you need to install libpng separately from meta-gtk-osx-boot= strap.

As a general observation=2C building gtk-os= x is a bit ambitious for a first Unix experience... kind of like trying to = fly without taking lessons first.

Regards=2C
=
John Ralls

= --_689d6edf-2bdc-4bce-9834-b6e446ba49bd_-- From jralls@ceridwen.us Wed Jan 18 14:46:38 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6DED2750200 for ; Wed, 18 Jan 2012 14:46:38 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.668 X-Spam-Level: X-Spam-Status: No, score=-1.668 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, TW_BP=0.077, TW_GT=0.077, TW_JH=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CXr-z2R-rHGa for ; Wed, 18 Jan 2012 14:46:33 +0000 (UTC) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by menubar.gnome.org (Postfix) with ESMTP id 2F7407501F0 for ; Wed, 18 Jan 2012 14:46:24 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta12.emeryville.ca.mail.comcast.net with comcast id P29d1i0041vN32cAC2mPSF; Wed, 18 Jan 2012 14:46:23 +0000 Received: from jeeves.ceridwen.fremont.ca.us ([98.207.111.130]) by omta22.emeryville.ca.mail.comcast.net with comcast id P2mN1i0052orKM68i2mNtP; Wed, 18 Jan 2012 14:46:22 +0000 Received: from localhost (localhost [127.0.0.1]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 87971A2CA3; Wed, 18 Jan 2012 06:46:21 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at ceridwen.fremont.ca.us Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1]) by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4PhD0MX4oFG3; Wed, 18 Jan 2012 06:46:17 -0800 (PST) Received: from [192.168.1.69] (unknown [192.168.1.69]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id D809AA2CA2; Wed, 18 Jan 2012 06:46:16 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_0A0FFA72-2791-4BB6-8A39-5CABEB35B71D" From: John Ralls In-Reply-To: Date: Wed, 18 Jan 2012 06:46:25 -0800 Message-Id: References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> , <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> , <0F4066CE-B378-47AF-A959-C3559630C29E@ceridwen.us> , <504AA27A-8501-42F5-BB6B-13C53E27FBC7@ceridwen.us> To: Francesco Zhu X-Mailer: Apple Mail (2.1251.1) Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 14:46:38 -0000 --Apple-Mail=_0A0FFA72-2791-4BB6-8A39-5CABEB35B71D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Jan 18, 2012, at 4:15 AM, Francesco Zhu wrote: > Thank you very much, John. >=20 > I just ran meta-gtk-osx-bootstrap again and it worked, I also saw that = the libpng file wasn't completed during the previous download. >=20 > Now I have another problem, and googling up I saw a mailing list of 16 = January (maybe last year?) where you replied a user with the same = problem. > Unfortunately I couldn't find a solution... >=20 > The problem is when I run: > jhbuild build meta-gtk-osx-themes > I get this error: > *** Checking out icon-naming-utils *** [2/7] > bunzip2 -dc = "/Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.90.tar.bz2" | = tar xf - > bunzip2: = /Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.90.tar.bz2 is not = a bzip2 file. > *** Error during phase checkout of icon-naming-utils: could not unpack = tarball (expected icon-naming-utils-0.8.90 dir) *** [2/7] >=20 > I even edited the file gtk-osx-themes.module changing 'tar.bz2' to = 'tar.gz', but it keeps searching for the bz2 and cannot unpack it... >=20 > That makes me upset, because I can unpack it through the GUI, so why = can't bunzip2 unpack it? Apparently jhbuild is stupid and looks for the archive, bz2 first, = regardless of what's in the module. Just delete the archive from your = tarballdir (~/gtk/pkgs by default) and it should work. Regards, John Ralls --Apple-Mail=_0A0FFA72-2791-4BB6-8A39-5CABEB35B71D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Thank you very much, John.

I just ran = meta-gtk-osx-bootstrap again and it worked, I also saw that the libpng = file wasn't completed during the previous download.

Now I have = another problem, and googling up I saw a mailing list of 16 January = (maybe last year?) where you replied a user with the same = problem.
Unfortunately I couldn't find a solution...

The = problem is when I run:
jhbuild build meta-gtk-osx-themes
I get = this error:
*** Checking out icon-naming-utils *** [2/7]
bunzip2 = -dc "/Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.90.tar.bz2" = | tar xf -
bunzip2: = /Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.90.tar.bz2 is not = a bzip2 file.
*** Error during phase checkout of icon-naming-utils: = could not unpack tarball (expected icon-naming-utils-0.8.90 dir) *** = [2/7]

I even edited the file gtk-osx-themes.module changing = 'tar.bz2' to 'tar.gz', but it keeps searching for the bz2 and cannot = unpack it...

That makes me upset, because I can unpack it through = the GUI, so why can't bunzip2 unpack = it?

Apparently jhbuild = is stupid and looks for the archive, bz2 first, regardless of what's in = the module. Just delete the archive from your tarballdir (~/gtk/pkgs by = default) and it should = work.

Regards,
John = Ralls

= --Apple-Mail=_0A0FFA72-2791-4BB6-8A39-5CABEB35B71D-- From franciszhu1990@hotmail.com Wed Jan 18 16:31:16 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 08F447501B2 for ; Wed, 18 Jan 2012 16:31:16 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -101.428 X-Spam-Level: X-Spam-Status: No, score=-101.428 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, TW_BP=0.077, TW_GT=0.077, TW_JH=0.077, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dIbgVbNduoYk for ; Wed, 18 Jan 2012 16:31:06 +0000 (UTC) Received: from dub0-omc1-s31.dub0.hotmail.com (dub0-omc1-s31.dub0.hotmail.com [157.55.0.230]) by menubar.gnome.org (Postfix) with ESMTP id B338C75017D for ; Wed, 18 Jan 2012 16:30:57 +0000 (UTC) Received: from DUB108-W47 ([157.55.0.237]) by dub0-omc1-s31.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 18 Jan 2012 08:30:55 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_3dfa6aae-f2c7-42f1-b69e-d018fd80f56b_" X-Originating-IP: [220.186.118.48] From: Francesco Zhu To: Date: Wed, 18 Jan 2012 17:30:54 +0100 Importance: Normal In-Reply-To: References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> , <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> , <0F4066CE-B378-47AF-A959-C3559630C29E@ceridwen.us> , <504AA27A-8501-42F5-BB6B-13C53E27FBC7@ceridwen.us> , MIME-Version: 1.0 X-OriginalArrivalTime: 18 Jan 2012 16:30:55.0386 (UTC) FILETIME=[8D2D2FA0:01CCD5FE] Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 16:31:16 -0000 --_3dfa6aae-f2c7-42f1-b69e-d018fd80f56b_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Now I figured out why it didn't work... All the files hosted on tango.freedesktop.org are down So I googled for icon-naming-utils=2C tango-icon-theme-extras and tango-ico= n-theme-extras (files originally hosted on that site)=2C and downloaded the= m from other sources=2C then I moved them into the folder ~/gtk/source/pkgs= / and it worked. Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 From: jralls@ceridwen.us Date: Wed=2C 18 Jan 2012 06:46:25 -0800 CC: gtk-osx-devel-list@gnome.org To: franciszhu1990@hotmail.com On Jan 18=2C 2012=2C at 4:15 AM=2C Francesco Zhu wrote:Thank you very much= =2C John. I just ran meta-gtk-osx-bootstrap again and it worked=2C I also saw that th= e libpng file wasn't completed during the previous download. Now I have another problem=2C and googling up I saw a mailing list of 16 Ja= nuary (maybe last year?) where you replied a user with the same problem. Unfortunately I couldn't find a solution... The problem is when I run: jhbuild build meta-gtk-osx-themes I get this error: *** Checking out icon-naming-utils *** [2/7] bunzip2 -dc "/Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.90.tar.= bz2" | tar xf - bunzip2: /Users/francesco/gtk/source/pkgs/icon-naming-utils-0.8.90.tar.bz2 = is not a bzip2 file. *** Error during phase checkout of icon-naming-utils: could not unpack tarb= all (expected icon-naming-utils-0.8.90 dir) *** [2/7] I even edited the file gtk-osx-themes.module changing 'tar.bz2' to 'tar.gz'= =2C but it keeps searching for the bz2 and cannot unpack it... That makes me upset=2C because I can unpack it through the GUI=2C so why ca= n't bunzip2 unpack it? Apparently jhbuild is stupid and looks for the archive=2C bz2 first=2C rega= rdless of what's in the module. Just delete the archive from your tarballdi= r (~/gtk/pkgs by default) and it should work. Regards=2CJohn Ralls = --_3dfa6aae-f2c7-42f1-b69e-d018fd80f56b_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Now I figured out why it didn't work...
All the files hosted on tango.fr= eedesktop.org are down
So I googled for icon-naming-utils=2C tango-icon-= theme-extras and tango-icon-theme-extras (files originally hosted on that s= ite)=2C and downloaded them from other sources=2C then I moved them into th= e folder ~/gtk/source/pkgs/ and it worked.


Subject: Re: [gtk-osx-devel] Jhbu= ild bootstrap failed on Leopard 10.5.8
From: jralls@ceridwen.us
Date:= Wed=2C 18 Jan 2012 06:46:25 -0800
CC: gtk-osx-devel-list@gnome.org
T= o: franciszhu1990@hotmail.com


On Ja= n 18=2C 2012=2C at 4:15 AM=2C Francesco Zhu wrote:

Thank you very much=2C John.

I just ra= n meta-gtk-osx-bootstrap again and it worked=2C I also saw that the libpng = file wasn't completed during the previous download.

Now I have anoth= er problem=2C and googling up I saw a mailing list of 16 January (maybe las= t year?) where you replied a user with the same problem.
Unfortunately I= couldn't find a solution...

The problem is when I run:
jhbuild b= uild meta-gtk-osx-themes
I get this error:
*** Checking out icon-nami= ng-utils *** [2/7]
bunzip2 -dc "/Users/francesco/gtk/source/pkgs/icon-na= ming-utils-0.8.90.tar.bz2" | tar xf -
bunzip2: /Users/francesco/gtk/sour= ce/pkgs/icon-naming-utils-0.8.90.tar.bz2 is not a bzip2 file.
*** Error = during phase checkout of icon-naming-utils: could not unpack tarball (expec= ted icon-naming-utils-0.8.90 dir) *** [2/7]

I even edited the file g= tk-osx-themes.module changing 'tar.bz2' to 'tar.gz'=2C but it keeps searchi= ng for the bz2 and cannot unpack it...

That makes me upset=2C becaus= e I can unpack it through the GUI=2C so why can't bunzip2 unpack it?

Apparently jhbuild is stupid an= d looks for the archive=2C bz2 first=2C regardless of what's in the module.= Just delete the archive from your tarballdir (~/gtk/pkgs by default) and i= t should work.

Regards=2C
John Ralls

= --_3dfa6aae-f2c7-42f1-b69e-d018fd80f56b_-- From jralls@ceridwen.us Thu Jan 19 01:39:10 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 2960F75017A for ; Thu, 19 Jan 2012 01:39:10 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qZw3VsokexdU for ; Thu, 19 Jan 2012 01:39:08 +0000 (UTC) Received: from qmta09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by menubar.gnome.org (Postfix) with ESMTP id 25FFB750145 for ; Thu, 19 Jan 2012 01:38:59 +0000 (UTC) Received: from omta06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by qmta09.emeryville.ca.mail.comcast.net with comcast id PDUd1i00216AWCUA9DexyP; Thu, 19 Jan 2012 01:38:57 +0000 Received: from jeeves.ceridwen.fremont.ca.us ([98.207.111.130]) by omta06.emeryville.ca.mail.comcast.net with comcast id PDew1i0042orKM68SDewG2; Thu, 19 Jan 2012 01:38:57 +0000 Received: from localhost (localhost [127.0.0.1]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 2B7B6A2CA3; Wed, 18 Jan 2012 17:38:54 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at ceridwen.fremont.ca.us Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1]) by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OS9zrWuFc6Dn; Wed, 18 Jan 2012 17:38:49 -0800 (PST) Received: from [192.168.1.69] (unknown [192.168.1.69]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 9680EA2CA2; Wed, 18 Jan 2012 17:38:49 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_2B4374A0-74CB-456F-B08A-5B008383F9CD" From: John Ralls In-Reply-To: Date: Wed, 18 Jan 2012 17:39:01 -0800 Message-Id: References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> , <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> , <0F4066CE-B378-47AF-A959-C3559630C29E@ceridwen.us> , <504AA27A-8501-42F5-BB6B-13C53E27FBC7@ceridwen.us> , To: Francesco Zhu X-Mailer: Apple Mail (2.1251.1) Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 01:39:10 -0000 --Apple-Mail=_2B4374A0-74CB-456F-B08A-5B008383F9CD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Jan 18, 2012, at 8:30 AM, Francesco Zhu wrote: > Now I figured out why it didn't work... > All the files hosted on tango.freedesktop.org are down > So I googled for icon-naming-utils, tango-icon-theme-extras and = tango-icon-theme-extras (files originally hosted on that site), and = downloaded them from other sources, then I moved them into the folder = ~/gtk/source/pkgs/ and it worked. >=20 Seems to be OK now, but if you've got them from somewhere else, you're = good.=20 Did you get your application built all the way? Regards, John Ralls --Apple-Mail=_2B4374A0-74CB-456F-B08A-5B008383F9CD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Now I figured out why it didn't work...
All the = files hosted on tango.freedesktop.org are down
So I googled = for icon-naming-utils, tango-icon-theme-extras and = tango-icon-theme-extras (files originally hosted on that site), and = downloaded them from other sources, then I moved them into the folder = ~/gtk/source/pkgs/ and it worked.



S= eems to be OK now, but if you've got them from somewhere else, you're = good. 

Did you get your application built = all the way?

Regards,
John = Ralls


= --Apple-Mail=_2B4374A0-74CB-456F-B08A-5B008383F9CD-- From richard.n.procter@gmail.com Sat Jan 28 22:10:01 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 580B5750192 for ; Sat, 28 Jan 2012 22:10:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tm1+rVzAM-cw for ; Sat, 28 Jan 2012 22:09:59 +0000 (UTC) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by menubar.gnome.org (Postfix) with ESMTP id ECDDF750122 for ; Sat, 28 Jan 2012 22:09:50 +0000 (UTC) Received: by pbcc13 with SMTP id c13so3667019pbc.27 for ; Sat, 28 Jan 2012 14:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:subject:date:message-id:to:mime-version:x-mailer; bh=fRRWRz7iEhTCV2z+FsJxA+IzAc7jCf6vQOqmZZ3fO5I=; b=LfJraPKk+3FpnYVSnbwxna0siaiwbByphNzQTaeVw/T6lyQo+OSRf/ojock7WVT6ha Q1hMBvC0Uq5UDXTO2DJDLExm16Eo3Uz7iGNusQ5lPC41fcyqsLBj2exg6YTGDifalxa0 634Z8vQIzZyW3DpDYU6oolV7RwJjlZllBZ8Bs= Received: by 10.68.74.134 with SMTP id t6mr27077272pbv.26.1327788589391; Sat, 28 Jan 2012 14:09:49 -0800 (PST) Received: from [10.1.1.5] ([119.224.10.246]) by mx.google.com with ESMTPS id k9sm32324655pbl.18.2012.01.28.14.09.43 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 Jan 2012 14:09:47 -0800 (PST) From: Richard Procter Content-Type: multipart/mixed; boundary=Apple-Mail-27--558456609 Date: Sun, 29 Jan 2012 11:09:37 +1300 Message-Id: <8299CF4D-8907-4A44-BAB6-E96A4267E46C@gmail.com> To: gtk-osx-devel-list@gnome.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Subject: [gtk-osx-devel] [PATCH] gtk-mac-integration reference counting X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2012 22:10:01 -0000 --Apple-Mail-27--558456609 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi John,=20 I ran the latest clang static analyzer [1] over gtk-mac-integration - = here's a patch for a couple of ref-counting issues it found. Nothing = that looks crucial but nice to have all the same. I've compiled it but = have not tested it and as I rarely use objective-c it's worth casting = your eye over it.=20 My understanding is that class methods return an autoreleased object, = so, e.g. [NSString stringWithUTF8String:] doesn't require an explicit = release [2].=20 I've also renamed gtk_mac_image_from_pixbuf() -> = gtk_create_cgimage_from_pixbuf() to indicate the returned CGImage is = owned by the caller. This function isn't exposed in the bindings.=20 Lastly, their scan-build tool is very useful but doesn't quite run = out-of-the-box with gtk-mac-integration as I couldn't find a way to = force it to parse objective-c, except for renaming the source files = .objectivec, which automake then choked on. So I just ran:=20 $ for x in *.c; do ./checker-260/bin/clang --analyze -x objective-c = [whole bunch of includes] $x; done=20 ... manually, and did without the pretty HTML reporting.=20 best,=20 Richard.=20 [1] http://clang-analyzer.llvm.org/ [2] = http://stackoverflow.com/questions/6578/understanding-reference-counting-w= ith-cocoa-and-objective-c --Apple-Mail-27--558456609 Content-Disposition: attachment; filename=mac_integration_clang_analyze.patch Content-Type: application/octet-stream; name="mac_integration_clang_analyze.patch" Content-Transfer-Encoding: 7bit A bunch of reference-counting fixups found by the clang static code analyzer. diff -waur gtk-mac-integration-1.0.1.orig/src/cocoa_menu_item.c gtk-mac-integration-1.0.1/src/cocoa_menu_item.c --- gtk-mac-integration-1.0.1.orig/src/cocoa_menu_item.c 2011-05-01 17:20:54.000000000 +1200 +++ gtk-mac-integration-1.0.1/src/cocoa_menu_item.c 2012-01-29 10:37:31.000000000 +1300 @@ -157,12 +157,10 @@ cocoa_menu_connect (submenu, cocoa_submenu); } else { //no submenu anywhere, so create one - const gchar *label_text = get_menu_label_text (widget, &label); - if (label_text) - cocoa_submenu = [ [ NSMenu alloc ] initWithTitle: - [[ NSString alloc] initWithUTF8String:label_text]]; - else - cocoa_submenu = [ [ NSMenu alloc ] initWithTitle:@""]; + const gchar *text = get_menu_label_text (widget, &label); + NSString *title = [NSString stringWithUTF8String: text ? text : ""]; + + cocoa_submenu = [[[NSMenu alloc] initWithTitle: title] autorelease]; [cocoa_submenu setAutoenablesItems:NO]; cocoa_menu_connect (submenu, cocoa_submenu); @@ -182,16 +180,14 @@ cocoa_menu_item_update_label (GNSMenuItem *cocoa_item, GtkWidget *widget) { - const gchar *label_text; - g_return_if_fail (cocoa_item != NULL); g_return_if_fail (widget != NULL); - label_text = get_menu_label_text (widget, NULL); - if (label_text) - [cocoa_item setTitle:[ [ NSString alloc] initWithCString:label_text encoding:NSUTF8StringEncoding]]; - else - [cocoa_item setTitle:@""]; + { + const gchar *text = get_menu_label_text (widget, NULL); + NSString *title = [NSString stringWithUTF8String: text ? text : ""]; + [cocoa_item setTitle: title]; + } } static void @@ -476,21 +472,18 @@ cocoa_item = (GNSMenuItem*)[GNSMenuItem separatorItem]; DEBUG ("\ta separator\n"); } else { - const gchar* label_text = get_menu_label_text (menu_item, &label); + const gchar* text = get_menu_label_text (menu_item, &label); + NSString *title = [NSString stringWithUTF8String:text ? text : ""]; + GClosure *menu_action = g_cclosure_new_object_swap(G_CALLBACK(gtk_menu_item_activate), G_OBJECT(menu_item)); g_closure_set_marshal(menu_action, g_cclosure_marshal_VOID__VOID); - if (label_text) - cocoa_item = [ [ GNSMenuItem alloc] - initWithTitle:[ [ NSString alloc] - initWithCString:label_text - encoding:NSUTF8StringEncoding] - aGClosure:menu_action andPointer:NULL]; - else - cocoa_item = [ [ GNSMenuItem alloc] initWithTitle:@"" - aGClosure:menu_action andPointer:NULL]; + cocoa_item = [[[GNSMenuItem alloc] + initWithTitle: title + aGClosure:menu_action andPointer:NULL] autorelease]; + DEBUG ("\tan item\n"); } cocoa_menu_item_connect (menu_item, (GNSMenuItem*) cocoa_item, label); diff -waur gtk-mac-integration-1.0.1.orig/src/gtk-mac-dock.c gtk-mac-integration-1.0.1/src/gtk-mac-dock.c --- gtk-mac-integration-1.0.1.orig/src/gtk-mac-dock.c 2011-09-17 07:55:59.000000000 +1200 +++ gtk-mac-integration-1.0.1/src/gtk-mac-dock.c 2012-01-29 10:31:59.000000000 +1300 @@ -316,7 +316,7 @@ { CGImageRef image; - image = gtk_mac_image_from_pixbuf (pixbuf); + image = gtk_create_cgimage_from_pixbuf (pixbuf); SetApplicationDockTileImage (image); CGImageRelease (image); } @@ -361,7 +361,7 @@ if (pixbuf) { - image = gtk_mac_image_from_pixbuf (pixbuf); + image = gtk_create_cgimage_from_pixbuf (pixbuf); OverlayApplicationDockTileImage (image); CGImageRelease (image); } diff -waur gtk-mac-integration-1.0.1.orig/src/gtk-mac-image-utils.c gtk-mac-integration-1.0.1/src/gtk-mac-image-utils.c --- gtk-mac-integration-1.0.1.orig/src/gtk-mac-image-utils.c 2011-09-17 07:57:20.000000000 +1200 +++ gtk-mac-integration-1.0.1/src/gtk-mac-image-utils.c 2012-01-29 10:30:21.000000000 +1300 @@ -26,7 +26,7 @@ #include "gtk-mac-image-utils.h" CGImageRef -gtk_mac_image_from_pixbuf (GdkPixbuf *pixbuf) +gtk_create_cgimage_from_pixbuf (GdkPixbuf *pixbuf) { CGColorSpaceRef colorspace; CGDataProviderRef data_provider; diff -waur gtk-mac-integration-1.0.1.orig/src/gtk-mac-image-utils.h gtk-mac-integration-1.0.1/src/gtk-mac-image-utils.h --- gtk-mac-integration-1.0.1.orig/src/gtk-mac-image-utils.h 2011-09-17 07:57:31.000000000 +1200 +++ gtk-mac-integration-1.0.1/src/gtk-mac-image-utils.h 2012-01-29 10:31:15.000000000 +1300 @@ -25,7 +25,7 @@ G_BEGIN_DECLS -CGImageRef gtk_mac_image_from_pixbuf (GdkPixbuf *pixbuf); +CGImageRef gtk_create_cgimage_from_pixbuf (GdkPixbuf *pixbuf); G_END_DECLS diff -waur gtk-mac-integration-1.0.1.orig/src/gtkosxapplication_quartz.c gtk-mac-integration-1.0.1/src/gtkosxapplication_quartz.c --- gtk-mac-integration-1.0.1.orig/src/gtkosxapplication_quartz.c 2011-10-04 08:41:14.000000000 +1300 +++ gtk-mac-integration-1.0.1/src/gtkosxapplication_quartz.c 2012-01-29 10:39:15.000000000 +1300 @@ -177,9 +177,11 @@ { NSMenuItem *menuitem; // Create the application (Apple) menu. - NSMenu *app_menu = [[NSMenu alloc] initWithTitle: @"Apple Menu"]; - - NSMenu *menuServices = [[NSMenu alloc] initWithTitle: NSLocalizedStringFromTable(@"Services", @"GtkOSXApplication", @"Services Menu title")]; + NSMenu *app_menu = [[[NSMenu alloc] initWithTitle: @"Apple Menu"] autorelease]; + NSString *title = NSLocalizedStringFromTable(@"Services", + @"GtkOSXApplication", + @"Services Menu title"); + NSMenu *menuServices = [[[NSMenu alloc] initWithTitle: title] autorelease]; [NSApp setServicesMenu:menuServices]; [app_menu addItem: [NSMenuItem separatorItem]]; @@ -234,7 +236,10 @@ static GNSMenuItem * create_window_menu (GtkOSXApplication *self) { - NSMenu *window_menu = [[NSMenu alloc] initWithTitle: NSLocalizedStringFromTable(@"Window", @"GtkOSXApplication", @"Window Menu title")]; + NSString *title = NSLocalizedStringFromTable(@"Window", + @"GtkOSXApplication", + @"Window Menu title"); + NSMenu *window_menu = [[[NSMenu alloc] initWithTitle: title] autorelease]; GtkMenuBar *menubar = [(GNSMenuBar*)[NSApp mainMenu] menuBar]; GtkWidget *parent = NULL; GdkWindow *win = NULL; @@ -471,7 +476,7 @@ gdk_window_add_filter (NULL, global_event_filter_func, (gpointer)self); self->priv->notify = [[GtkApplicationNotificationObject alloc] init]; [self->priv->notify retain]; - [ NSApp setDelegate: [GtkApplicationDelegate new]]; + [NSApp setDelegate: [[GtkApplicationDelegate new] autorelease]]; } /** @@ -652,8 +657,8 @@ cocoa_menubar = (GNSMenuBar*)cocoa_menu_get(GTK_WIDGET (menu_shell)); if (!cocoa_menubar) { - cocoa_menubar = [[GNSMenuBar alloc] initWithGtkMenuBar: - GTK_MENU_BAR(menu_shell)]; + cocoa_menubar = [[[GNSMenuBar alloc] initWithGtkMenuBar: + GTK_MENU_BAR(menu_shell)] autorelease]; cocoa_menu_connect(GTK_WIDGET (menu_shell), cocoa_menubar); /* turn off auto-enabling for the menu - its silly and slow and doesn't really make sense for a Gtk/Cocoa hybrid menu. @@ -758,7 +763,6 @@ GtkWidget *parent = NULL; GdkWindow *win = NULL; NSWindow *nswin = NULL; - GtkMenuBar *menubar = [cocoa_menubar menuBar]; GNSMenuItem *cocoa_item = cocoa_menu_item_get(GTK_WIDGET(menu_item)); g_return_if_fail(cocoa_item != NULL); [cocoa_menubar setWindowsMenu: cocoa_item]; @@ -796,8 +800,9 @@ [cocoa_menubar setHelpMenu: cocoa_item]; } else { - [cocoa_menubar setHelpMenu: [[GNSMenuItem alloc] initWithTitle: @"Help" - action: NULL keyEquivalent: @""]]; + GNSMenuItem *menuitem = [[[GNSMenuItem alloc] initWithTitle: @"Help" + action: NULL keyEquivalent: @""] autorelease]; + [cocoa_menubar setHelpMenu: menuitem]; [cocoa_menubar addItem: [cocoa_menubar helpMenu]]; } } @@ -862,26 +867,19 @@ nsimage_from_resource(const gchar *name, const gchar* type, const gchar* subdir) { NSString *ns_name, *ns_type, *ns_subdir, *path; - NSImage *image; + NSImage *image = NULL; g_return_val_if_fail(name != NULL, NULL); g_return_val_if_fail(type != NULL, NULL); g_return_val_if_fail(subdir != NULL, NULL); + ns_name = [NSString stringWithUTF8String: name]; ns_type = [NSString stringWithUTF8String: type]; ns_subdir = [NSString stringWithUTF8String: subdir]; path = [[NSApp mainBundle] pathForResource: ns_name ofType: ns_type inDirectory: ns_subdir]; - if (!path) { - [ns_name release]; - [ns_type release]; - [ns_subdir release]; - return NULL; - } + if (path) image = [[[NSImage alloc] initWithContentsOfFile: path] autorelease]; - [ns_name release]; - [ns_type release]; - [ns_subdir release]; - [path release]; + return image; } @@ -903,7 +901,7 @@ NSImage* newImage = nil; g_return_val_if_fail (pixbuf != NULL, NULL); - image = gtk_mac_image_from_pixbuf (pixbuf); + image = gtk_create_cgimage_from_pixbuf (pixbuf); // Get the image dimensions. imageRect.size.height = CGImageGetHeight(image); imageRect.size.width = CGImageGetWidth(image); @@ -1101,16 +1099,15 @@ gchar* quartz_application_get_bundle_info(const gchar *key) { + gchar *result = NULL; NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSObject *id = [[NSBundle mainBundle] objectForInfoDictionaryKey: [NSString stringWithUTF8String: key]]; + if ([id respondsToSelector: @selector(UTF8String)]) { - gchar *str = g_strdup( [(NSString*)id UTF8String]); - [id release]; - [pool release]; - return str; + result = g_strdup( [(NSString*)id UTF8String]); } - [id release]; + [pool release]; - return NULL; + return result; } --Apple-Mail-27--558456609-- From jralls@ceridwen.us Sun Jan 29 05:02:36 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 95F6375008B for ; Sun, 29 Jan 2012 05:02:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.823 X-Spam-Level: X-Spam-Status: No, score=-1.823 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fguJ8dN+ZdGs for ; Sun, 29 Jan 2012 05:02:33 +0000 (UTC) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by menubar.gnome.org (Postfix) with ESMTP id D7A8A750078 for ; Sun, 29 Jan 2012 05:02:25 +0000 (UTC) Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta12.emeryville.ca.mail.comcast.net with comcast id TGzB1i0041Y3wxoACH2E11; Sun, 29 Jan 2012 05:02:14 +0000 Received: from jeeves.ceridwen.fremont.ca.us ([98.207.111.130]) by omta15.emeryville.ca.mail.comcast.net with comcast id TH221i01J2orKM68bH23xF; Sun, 29 Jan 2012 05:02:13 +0000 Received: from localhost (localhost [127.0.0.1]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id ABDE5A2CA3; Sat, 28 Jan 2012 21:02:00 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at ceridwen.fremont.ca.us Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1]) by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xLfZ06FeEyuE; Sat, 28 Jan 2012 21:01:53 -0800 (PST) Received: from [192.168.1.69] (unknown [192.168.1.69]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 3588CA2CA2; Sat, 28 Jan 2012 21:01:51 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: John Ralls In-Reply-To: <8299CF4D-8907-4A44-BAB6-E96A4267E46C@gmail.com> Date: Sat, 28 Jan 2012 21:01:51 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8299CF4D-8907-4A44-BAB6-E96A4267E46C@gmail.com> To: Richard Procter X-Mailer: Apple Mail (2.1251.1) Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] [PATCH] gtk-mac-integration reference counting X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 05:02:36 -0000 On Jan 28, 2012, at 2:09 PM, Richard Procter wrote: > Hi John,=20 >=20 > I ran the latest clang static analyzer [1] over gtk-mac-integration - = here's a patch for a couple of ref-counting issues it found. Nothing = that looks crucial but nice to have all the same. I've compiled it but = have not tested it and as I rarely use objective-c it's worth casting = your eye over it.=20 >=20 > My understanding is that class methods return an autoreleased object, = so, e.g. [NSString stringWithUTF8String:] doesn't require an explicit = release [2].=20 >=20 > I've also renamed gtk_mac_image_from_pixbuf() -> = gtk_create_cgimage_from_pixbuf() to indicate the returned CGImage is = owned by the caller. This function isn't exposed in the bindings.=20 >=20 > Lastly, their scan-build tool is very useful but doesn't quite run = out-of-the-box with gtk-mac-integration as I couldn't find a way to = force it to parse objective-c, except for renaming the source files = .objectivec, which automake then choked on. So I just ran:=20 >=20 > $ for x in *.c; do ./checker-260/bin/clang --analyze -x objective-c = [whole bunch of includes] $x; done=20 >=20 > ... manually, and did without the pretty HTML reporting.=20 Richard, Cool, thanks, I'll have a look at it -- But: What SDK are you analyzing against? Apple has some new memory-management = features in 10.7, and they did some major cleanup for 10.6. All well and = good, but gtk-mac-integration has to work correctly with 10.4. Functions need to keep the gtk_mac name (in fact, 1.1 will rename them = to gtkmac_) for compatibility with=20 gobject-introspection. =20 checker-260/bin/clang? You're not using Apple's? Regards, John Ralls From franciszhu1990@hotmail.com Sun Jan 29 06:57:30 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 09CBA750185 for ; Sun, 29 Jan 2012 06:57:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -101.659 X-Spam-Level: X-Spam-Status: No, score=-101.659 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZDbr6MEuVvtd for ; Sun, 29 Jan 2012 06:57:26 +0000 (UTC) Received: from dub0-omc1-s24.dub0.hotmail.com (dub0-omc1-s24.dub0.hotmail.com [157.55.0.223]) by menubar.gnome.org (Postfix) with ESMTP id B7D8E750021 for ; Sun, 29 Jan 2012 06:57:17 +0000 (UTC) Received: from DUB108-W43 ([157.55.0.237]) by dub0-omc1-s24.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 28 Jan 2012 22:57:15 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_4d73d391-bd41-42ef-b6d8-878166ec5ce7_" X-Originating-IP: [125.110.249.6] From: Francesco Zhu To: Date: Sun, 29 Jan 2012 07:57:14 +0100 Importance: Normal In-Reply-To: References: , <2929DA57-1054-4E53-A619-EAE74A7D1B83@ceridwen.us> , <8EBE0983-27D2-44CD-A376-FE388FD2191D@ceridwen.us> , <854261B4-7B30-4527-8140-597153A00F17@ceridwen.us> , <5604F51A-324D-454E-9971-B191AEB207CF@ceridwen.us> , <0F4066CE-B378-47AF-A959-C3559630C29E@ceridwen.us> , <504AA27A-8501-42F5-BB6B-13C53E27FBC7@ceridwen.us> , , MIME-Version: 1.0 X-OriginalArrivalTime: 29 Jan 2012 06:57:15.0457 (UTC) FILETIME=[3BD81310:01CCDE53] Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 06:57:30 -0000 --_4d73d391-bd41-42ef-b6d8-878166ec5ce7_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Yes=2C I got emesene working=2C an open-source MSN client.Thank you very mu= ch for your help. Francesco Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on Leopard 10.5.8 From: jralls@ceridwen.us Date: Wed=2C 18 Jan 2012 17:39:01 -0800 CC: gtk-osx-devel-list@gnome.org To: franciszhu1990@hotmail.com On Jan 18=2C 2012=2C at 8:30 AM=2C Francesco Zhu wrote:Now I figured out wh= y it didn't work... All the files hosted on tango.freedesktop.org are down So I googled for icon-naming-utils=2C tango-icon-theme-extras and tango-ico= n-theme-extras (files originally hosted on that site)=2C and downloaded the= m from other sources=2C then I moved them into the folder ~/gtk/source/pkgs= / and it worked. Seems to be OK now=2C but if you've got them from somewhere else=2C you're = good.=20 Did you get your application built all the way? Regards=2CJohn Ralls = --_4d73d391-bd41-42ef-b6d8-878166ec5ce7_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Yes=2C I got emesene working=2C an open-source MSN client.
Thank you ve= ry much for your help.

Francesco


Subject: Re: [gtk-osx-devel] Jhbuild bootstrap failed on= Leopard 10.5.8
From: jralls@ceridwen.us
Date: Wed=2C 18 Jan 2012 17:= 39:01 -0800
CC: gtk-osx-devel-list@gnome.org
To: franciszhu1990@hotma= il.com


On Jan 18=2C 2012=2C at 8:30 AM=2C Francesco Zhu wrote:
=
Now I figured out why it d= idn't work...
All the files hosted on =3Btango.freedesktop.org&nb= sp=3Bare down
So I googled for icon-naming-utils=2C tango-icon-th= eme-extras and tango-icon-theme-extras (files originally hosted on that sit= e)=2C and downloaded them from other sources=2C then I moved them into the = folder ~/gtk/source/pkgs/ and it worked.



Seems to be OK now=2C but if you've got them from s= omewhere else=2C you're good. =3B

Did you get = your application built all the way?

Regards=2C
John Ralls


= --_4d73d391-bd41-42ef-b6d8-878166ec5ce7_-- From jralls@ceridwen.us Sun Jan 29 22:33:06 2012 Return-Path: X-Original-To: gtk-osx-devel-list@gnome.org Delivered-To: gtk-osx-devel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id CF41975016E for ; Sun, 29 Jan 2012 22:33:06 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.823 X-Spam-Level: X-Spam-Status: No, score=-1.823 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KwdhZLkKsHzA for ; Sun, 29 Jan 2012 22:33:04 +0000 (UTC) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by menubar.gnome.org (Postfix) with ESMTP id 228BF750115 for ; Sun, 29 Jan 2012 22:32:55 +0000 (UTC) Received: from omta14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by qmta11.emeryville.ca.mail.comcast.net with comcast id TaY21i0051HpZEsABaYuUN; Sun, 29 Jan 2012 22:32:54 +0000 Received: from jeeves.ceridwen.fremont.ca.us ([98.207.111.130]) by omta14.emeryville.ca.mail.comcast.net with comcast id TaYt1i00Y2orKM68aaYt1L; Sun, 29 Jan 2012 22:32:53 +0000 Received: from localhost (localhost [127.0.0.1]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id BF0E6A2CA3; Sun, 29 Jan 2012 14:32:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at ceridwen.fremont.ca.us Received: from jeeves.ceridwen.fremont.ca.us ([127.0.0.1]) by localhost (jeeves.ceridwen.fremont.ca.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OWTf-FG3lV-u; Sun, 29 Jan 2012 14:32:45 -0800 (PST) Received: from [192.168.1.69] (unknown [192.168.1.69]) by jeeves.ceridwen.fremont.ca.us (Postfix) with ESMTP id 05884A2CA2; Sun, 29 Jan 2012 14:32:45 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: John Ralls In-Reply-To: <91A22E7F-2F56-4D41-A050-0739C62F13AC@gmail.com> Date: Sun, 29 Jan 2012 14:32:46 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <67B82DB9-69D4-4F98-91B9-2A115C2585E5@ceridwen.us> References: <8299CF4D-8907-4A44-BAB6-E96A4267E46C@gmail.com> <91A22E7F-2F56-4D41-A050-0739C62F13AC@gmail.com> To: Richard Procter X-Mailer: Apple Mail (2.1251.1) Cc: gtk-osx-devel-list@gnome.org Subject: Re: [gtk-osx-devel] [PATCH] gtk-mac-integration reference counting X-BeenThere: gtk-osx-devel-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Developer Discussions for Maintaining Gtk-OSX projects List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 22:33:07 -0000 On Jan 29, 2012, at 11:46 AM, Richard Procter wrote: >=20 > On 29/01/2012, at 6:01 PM, John Ralls wrote: >> On Jan 28, 2012, at 2:09 PM, Richard Procter wrote: >>> I ran the latest clang static analyzer [1] over gtk-mac-integration = - here's a patch for a couple of ref-counting issues it found. Nothing = that looks crucial but nice to have all the same. I've compiled it but = have not tested it and as I rarely use objective-c it's worth casting = your eye over it.=20 >> [snip] >> What SDK are you analyzing against? Apple has some new = memory-management features in 10.7, and they did some major cleanup for = 10.6. All well and good, but gtk-mac-integration has to work correctly = with 10.4. >=20 > Is that the ARC stuff? I'm building on 10.6 and haven't used that in = the patch. Every change is to do with adding 'autorelease' to any object = created with [alloc] or [new] without a corresponding explicit = [release], or to do with removing [release] calls for objects we do not = own.=20 >=20 >> Functions need to keep the gtk_mac name (in fact, 1.1 will rename = them to gtkmac_) for compatibility with=20 >> gobject-introspection. =20 >=20 > OK, good to know. Does that mean that gtk_mac_image_from_pixbuf() is = exposed in the user's API and shouldn't be renamed? I have split up the = patch to separate this rename, and changing it to = gtk_mac_create_cgimage_from_pixbuf(). The name is significant because it = violates the core foundation 'create rule' as it stands, returning a = CGImage owned by the caller, which is what clang complained about.=20 >=20 >> checker-260/bin/clang? You're not using Apple's? >=20 > No - it's more recent than the one in the XCode 4.2 release - output = below.=20 >=20 > best,=20 > Richard.=20 >=20 > >=20 > >=20 >=20 >=20 > cocoa_menu_item.c:165:23: warning: Potential leak of an object = allocated on line 165 and stored into 'cocoa_submenu' > cocoa_submenu =3D [ [ NSMenu alloc ] initWithTitle:@""]; > ^ > cocoa_menu_item.c:163:4: warning: Potential leak of an object = allocated on line 163 > [[ NSString alloc] = initWithUTF8String:label_text]]; > ^ > cocoa_menu_item.c:162:23: warning: Potential leak of an object = allocated on line 162 and stored into 'cocoa_submenu' > cocoa_submenu =3D [ [ NSMenu alloc ] initWithTitle: > ^ > cocoa_menu_item.c:192:26: warning: Potential leak of an object = allocated on line 192 > [cocoa_item setTitle:[ [ NSString alloc] initWithCString:label_text = encoding:NSUTF8StringEncoding]]; > ^ > cocoa_menu_item.c:487:22: warning: Potential leak of an object = allocated on line 487 > initWithTitle:[ [ NSString alloc] > ^ > cocoa_menu_item.c:492:20: warning: Potential leak of an object = allocated on line 492 and stored into 'cocoa_item' > cocoa_item =3D [ [ GNSMenuItem alloc] initWithTitle:@"" > ^ > cocoa_menu_item.c:486:20: warning: Potential leak of an object = allocated on line 486 and stored into 'cocoa_item' > cocoa_item =3D [ [ GNSMenuItem alloc] > ^ > 7 warnings generated. > gtk-mac-image-utils.c:51:11: warning: Potential leak of an object = allocated on line 51 and stored into 'image' > image =3D CGImageCreate (pixbuf_width, pixbuf_height, 8, > ^ > 1 warning generated. > gtkosxapplication_quartz.c:180:22: warning: Potential leak of an = object allocated on line 180 and stored into 'app_menu' > NSMenu *app_menu =3D [[NSMenu alloc] initWithTitle: @"Apple Menu"]; > ^ > gtkosxapplication_quartz.c:182:26: warning: Potential leak of an = object allocated on line 182 and stored into 'menuServices' > NSMenu *menuServices =3D [[NSMenu alloc] initWithTitle: = NSLocalizedStringFromTable(@"Services", @"GtkOSXApplication", = @"Services Menu title")]; > ^ > gtkosxapplication_quartz.c:237:25: warning: Potential leak of an = object allocated on line 237 and stored into 'window_menu' > NSMenu *window_menu =3D [[NSMenu alloc] initWithTitle: = NSLocalizedStringFromTable(@"Window", @"GtkOSXApplication", @"Window = Menu title")]; > ^ > gtkosxapplication_quartz.c:474:24: warning: Potential leak of an = object allocated on line 474 > [ NSApp setDelegate: [GtkApplicationDelegate new]]; > ^ > gtkosxapplication_quartz.c:655:21: warning: Potential leak of an = object allocated on line 655 and stored into 'cocoa_menubar' > cocoa_menubar =3D [[GNSMenuBar alloc] initWithGtkMenuBar:=20 > ^ > gtkosxapplication_quartz.c:761:17: warning: Value stored to 'menubar' = during its initialization is never read > GtkMenuBar *menubar =3D [cocoa_menubar menuBar]; > ^ ~~~~~~~~~~~~~~~~~~~~~~~ > gtkosxapplication_quartz.c:799:33: warning: Potential leak of an = object allocated on line 799 > [cocoa_menubar setHelpMenu: [[GNSMenuItem alloc] initWithTitle: = @"Help" > ^ > gtkosxapplication_quartz.c:875:5: warning: Incorrect decrement of the = reference count of an object that is not owned at this point by the = caller > [ns_name release]; > ^~~~~~~~ > gtkosxapplication_quartz.c:881:3: warning: Incorrect decrement of the = reference count of an object that is not owned at this point by the = caller > [ns_name release]; > ^~~~~~~~ > gtkosxapplication_quartz.c:920:3: warning: Incorrect decrement of the = reference count of an object that is not owned at this point by the = caller > CGImageRelease (image); > ^ ~~~~~ > gtkosxapplication_quartz.c:1109:5: warning: Incorrect decrement of the = reference count of an object that is not owned at this point by the = caller > [id release]; > ^~~ > gtkosxapplication_quartz.c:1113:3: warning: Incorrect decrement of the = reference count of an object that is not owned at this point by the = caller > [id release]; > ^~~=20 > 12 warnings generated. > test-integration.c:728:3: warning: Value stored to 'window1' is never = read > window1 =3D create_window("Test Integration Window 1"); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 1 warning generated. >=20 Please remember to use "reply all". ARC is the feature added in 10.7. There were also memory management = changes between 10.5 and 10.6. It would be wise to build against the = 10.4SDK and compare the analysis from that with the results from = building against SDK 10.6. It might be necessary to #ifdef some of the = changes by version. I don't know, the only way to be sure is to do the = check. For the autoreleased objects, did you make sure that the receivers = retain them in all cases? Yes, gtk_mac_create_image_from_pixbuf is exposed in = gtk_mac_image_utils.h. It's not part of GtkOsxApplication, but it's = still useful for things like setting the dock tile icon if you're going = to have it change with state. Clang is reporting a potential memory = leak, not offering advice about naming conventions. Hmm, that's going to = cause memory trouble with introspection, too. I need to make a note = about that. Regards, John Ralls=