From owner-freebsd-gnome@FreeBSD.ORG Wed Feb 25 21:50:02 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 289C71065727; Wed, 25 Feb 2009 21:50:02 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 748078FC12; Wed, 25 Feb 2009 21:49:59 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n1PLpTZl014180; Wed, 25 Feb 2009 16:51:29 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Stanislav Sedov In-Reply-To: <20090224021026.ba40bdc2.stas@FreeBSD.org> References: <20090224021026.ba40bdc2.stas@FreeBSD.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-x66GZYpEVs4vQ+V8i5kT" Organization: MarcusCom, Inc. Date: Wed, 25 Feb 2009 16:50:15 -0500 Message-Id: <1235598615.3297.60.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com 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: Wed, 25 Feb 2009 21:50:06 -0000 --=-x66GZYpEVs4vQ+V8i5kT Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-02-24 at 02:10 +0300, Stanislav Sedov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Hi! >=20 > glib20 has a known filename encoding problem with non-utf8 > locales, because it doesn't perform names conversion from > internal UTF8 to current locale by default (it used to do > that some time ago). The patch included changes glib20 > behaviour to always do the conversion (this will work > for all non-UTF8 locales and will have no effect fot UTF8 > ones). This is effectively the same redhat & co does in > their deistributions. >=20 > Comments? I have no objection, but I don't typically run into problems with non-UTF-8 locales. I think it would be safer if you made this into an OPTION, and added this as an extra patch if the OPTION is enabled. Joe >=20 > Index: Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/pcvs/ports/devel/glib20/Makefile,v > retrieving revision 1.155 > diff -u -r1.155 Makefile > - --- Makefile 10 Jan 2009 05:21:19 -0000 1.155 > +++ Makefile 23 Feb 2009 23:04:49 -0000 > @@ -9,7 +9,7 @@ > =20 > PORTNAME=3D glib > PORTVERSION=3D 2.18.4 > - -PORTREVISION?=3D 0 > +PORTREVISION?=3D 1 > CATEGORIES=3D devel > MASTER_SITES=3D ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/glib/${PORTVERSIO= N:C/^([0-9]+\.[0-9]+).*/\1/},} \ > ftp://ftp.gtk.org/pub/glib/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ \ > Index: files/patch-glib_gconvert.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: files/patch-glib_gconvert.c > diff -N files/patch-glib_gconvert.c > - --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ files/patch-glib_gconvert.c 23 Feb 2009 23:04:49 -0000 > @@ -0,0 +1,24 @@ > +--- glib/gconvert.c.orig 2009-02-24 01:56:33.000000000 +0300 > ++++ glib/gconvert.c 2009-02-24 01:57:01.000000000 +0300 > +@@ -1213,20 +1213,12 @@ > + } > + } > + } > +- else if (getenv ("G_BROKEN_FILENAMES") !=3D NULL) > ++ else > + { > + cache->filename_charsets =3D g_new0 (gchar *, 2); > + cache->is_utf8 =3D g_get_charset (&new_charset); > + cache->filename_charsets[0] =3D g_strdup (new_charset); > + } > +- else=20 > +- { > +- cache->filename_charsets =3D g_new0 (gchar *, 3); > +- cache->is_utf8 =3D TRUE; > +- cache->filename_charsets[0] =3D g_strdup ("UTF-8"); > +- if (!g_get_charset (&new_charset)) > +- cache->filename_charsets[1] =3D g_strdup (new_charset); > +- } > + } > +=20 > + if (filename_charsets) >=20 >=20 > - --=20 > Stanislav Sedov > ST4096-RIPE > -----BEGIN PGP SIGNATURE----- >=20 > iEYEARECAAYFAkmjLOcACgkQK/VZk+smlYFtLACeI+0xr42uvMv4KEe4ar0BbtLe > fN0An1+Y8rqaI82uRotvIG9TwUcxzBpU > =3DSDFc > -----END PGP SIGNATURE----- >=20 > !DSPAM:49a32ce2967006598121310! >=20 >=20 > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-x66GZYpEVs4vQ+V8i5kT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkmlvRYACgkQb2iPiv4Uz4ezLQCcDEdLWO83LCIqE/iUws1TsQRs O+4An3wRQWsBGtpqRqTHoYisRSi3IvNU =4nc+ -----END PGP SIGNATURE----- --=-x66GZYpEVs4vQ+V8i5kT--