From owner-freebsd-gnome@FreeBSD.ORG Thu Mar 5 14:34:08 2009 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21962106564A for ; Thu, 5 Mar 2009 14:34:08 +0000 (UTC) (envelope-from stas@SpringDaemons.com) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id C22768FC18 for ; Thu, 5 Mar 2009 14:34:07 +0000 (UTC) (envelope-from stas@SpringDaemons.com) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id 8832C8FC4E for ; Thu, 5 Mar 2009 17:19:13 +0300 (MSK) Received: from sputnik.SpringDaemons.com (unknown [83.166.229.34]) by mx0.deglitch.com (Postfix) with ESMTPA id 727488FC1D; Thu, 5 Mar 2009 17:19:12 +0300 (MSK) Received: by sputnik.SpringDaemons.com (Postfix, from userid 1024) id C09FAB86F; Thu, 5 Mar 2009 17:20:58 +0300 (MSK) Date: Thu, 5 Mar 2009 17:20:53 +0300 From: Stanislav Sedov To: Alexander Nedotsukov Message-Id: <20090305172053.6fea0a8c.stas@FreeBSD.org> In-Reply-To: <823A07DD-1A64-4860-ACFD-BEAD1BC24BE2@FreeBSD.org> References: <20090224021026.ba40bdc2.stas@FreeBSD.org> <96ccb314d4001b2d09a4ed33fa20a330@mail> <20090226171049.89fade07.stas@FreeBSD.org> <3d89f0fc69b803898f61d8c0bedfc79a@mail> <20090303234004.87544fc0.stas@FreeBSD.org> <823A07DD-1A64-4860-ACFD-BEAD1BC24BE2@FreeBSD.org> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Mar 5 17:19:13 2009 X-DSPAM-Confidence: 0.9899 X-DSPAM-Improbability: 1 in 9809 chance of being spam X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 49afdf61967001777462353 Cc: gnome@FreeBSD.org Subject: Re: [FreeBSD port]: devel/glib20 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 14:34:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 5 Mar 2009 22:15:33 +0900 Alexander Nedotsukov mentioned: default? > > > The fact it "does not work" may mean anything from bug in GLib to API > misuse in the client code. > And I think I am not brave enough to take responsibility pissing > against upstream :-) > My opinion is for good or bad we have to follow GLib guidelines. Which > clearly state this: > > * On Unix, the assumption of GLib and GTK+ by default is that > filenames on > the filesystem are encoded in UTF-8 rather than the encoding of the > locale; > the GTK+ developers consider that having filenames whose interpretation > depends on the current locale is fundamentally a bad idea. > > If you have filenames encoded in the encoding of your locale, then you > may want to set the G_FILENAME_ENCODING environment variable: > > G_FILENAME_ENCODING=@locale > export G_FILENAME_ENCODING > > (Earlier versions of GLib 2.x required a different environment variable > setting; G_BROKEN_FILENAMES=1 to achieve the same effect; this > is still supported, but G_FILENAME_ENCODING is preferred.) > Best integration of GTK+ 2.6 with the environment is achieved by > using a UTF-8 locale. > > Again. This is not a bug as you state. If you want this to be > reconsidered you have to go upstream. > Note. I am not against this option per-se. Though the default must be > leaved as is. > Sure, this certaily doesn't mean a bug in glib, but it means a bug in glib on FreeBSD, as on FreeBSD one expects apps to work correctly after setting locale, and filenames are supposed to be encoded in current locale. As we're supporitng FreeBSD I believe we should follow our native behaviour and not the upstream one. We're doing exactly that with most ported applications. That's just what ports system means. If one wants stock behaviour he always has an option to install an unmodified version. Just my opinion. - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkmv38oACgkQK/VZk+smlYHwaACcDkmdXrIJpnPkDDJ+C/BtjXh6 9W0An0PFx/Asf2fjYnC/LZRfjyoqXXwL =bMzM -----END PGP SIGNATURE----- !DSPAM:49afdf61967001777462353!