From owner-freebsd-gnome@FreeBSD.ORG Thu Feb 26 03:36:22 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 D82A0106566C; Thu, 26 Feb 2009 03:36:22 +0000 (UTC) (envelope-from bland@FreeBSD.org) Received: from mail1.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by mx1.freebsd.org (Postfix) with ESMTP id 837E18FC12; Thu, 26 Feb 2009 03:36:22 +0000 (UTC) (envelope-from bland@FreeBSD.org) Received: from hub.bbnest.net (w133033.ppp.asahi-net.or.jp [121.1.133.33]) by mail1.asahi-net.or.jp (Postfix) with ESMTP id E717968E85; Thu, 26 Feb 2009 12:15:48 +0900 (JST) Received: from hub.bbnest.net (localhost [127.0.0.1]) by hub.bbnest.net (8.14.3/8.14.2) with ESMTP id n1Q3FcGW039041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Feb 2009 12:15:38 +0900 (JST) (envelope-from bland@FreeBSD.org) Received: (from www@localhost) by hub.bbnest.net (8.14.3/8.14.2/Submit) id n1Q3FbGe039040; Thu, 26 Feb 2009 12:15:38 +0900 (JST) (envelope-from bland@FreeBSD.org) X-Authentication-Warning: hub.bbnest.net: www set sender to bland@FreeBSD.org using -f To: Stanislav Sedov MIME-Version: 1.0 Date: Thu, 26 Feb 2009 12:15:37 +0900 From: Alexander Nedotsukov In-Reply-To: <20090224021026.ba40bdc2.stas@FreeBSD.org> References: <20090224021026.ba40bdc2.stas@FreeBSD.org> Message-ID: <96ccb314d4001b2d09a4ed33fa20a330@mail> X-Sender: bland@FreeBSD.org User-Agent: RoundCube Webmail/0.2a Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Feb 26 12:15:48 2009 X-DSPAM-Confidence: 0.9970 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 49a60964390429818349880 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, 26 Feb 2009 03:36:23 -0000 Did you say that this does not work as advertised? http://library.gnome.org/devel/glib/unstable/glib-running.html On Tue, 24 Feb 2009 02:10:26 +0300, Stanislav Sedov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi! > > 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. > > Comments? > > Index: Makefile > =================================================================== > 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 @@ > > PORTNAME= glib > PORTVERSION= 2.18.4 > - -PORTREVISION?= 0 > +PORTREVISION?= 1 > CATEGORIES= devel > MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/glib/${PORTVERSION: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 > =================================================================== > 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") != NULL) > ++ else > + { > + cache->filename_charsets = g_new0 (gchar *, 2); > + cache->is_utf8 = g_get_charset (&new_charset); > + cache->filename_charsets[0] = g_strdup (new_charset); > + } > +- else > +- { > +- cache->filename_charsets = g_new0 (gchar *, 3); > +- cache->is_utf8 = TRUE; > +- cache->filename_charsets[0] = g_strdup ("UTF-8"); > +- if (!g_get_charset (&new_charset)) > +- cache->filename_charsets[1] = g_strdup (new_charset); > +- } > + } > + > + if (filename_charsets) > > > - -- > Stanislav Sedov > ST4096-RIPE > -----BEGIN PGP SIGNATURE----- > > iEYEARECAAYFAkmjLOcACgkQK/VZk+smlYFtLACeI+0xr42uvMv4KEe4ar0BbtLe > fN0An1+Y8rqaI82uRotvIG9TwUcxzBpU > =SDFc > -----END PGP SIGNATURE----- > > !DSPAM:49a32ce2967006598121310! > > > _______________________________________________ > 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"