Can you make the same changes in the dtlogin-integration CVS module
please. Then we can (later) make a new tarball release and delete this
patch.
Thanks,
Laca
On Mon, 2007-07-23 at 20:26 +0900, Takao Fujiwara - Tokyo S/W Center
wrote:
> I'll update Xinitrc for $LANGUAGE and $VTE_CJK_WIDTH.
>
> The former paremeter is used in libgnome:g_get_language_names().
> The latter parameter is used in vte/src/iso2022.c
>
> --- SUNWgnome-dtlogin-integration.spec.orig 2007-07-23 20:12:16.448772000
> +0900
> +++ SUNWgnome-dtlogin-integration.spec 2007-07-23 20:12:15.823585000 +0900
> @@ -19,6 +19,7 @@ Summary: dtlogin configu
> Version: %{default_pkg_version}
> Source:
> http://dlc.sun.com/osol/jds/downloads/extras/dtlogin-integration-%{tarball_version}.tar.bz2
> Source1: l10n-configure.sh
> +Patch1: SUNWgnome-dtlogin-integration-01-g11n-xinitrc.diff
> SUNW_BaseDir: %{dtlogin_config_basedir}
> BuildRoot: %{_tmppath}/%{name}-%{version}-build
> %include default-depend.inc
> @@ -64,6 +65,8 @@ BuildRequires: SUNWweuos
>
> bash -x %SOURCE1
>
> +%patch1 -p1
> +
> %build
> export LDFLAGS="%_ldflags"
> export CFLAGS="%optflags"
> @@ -92,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT
> %attr (-, root, other) %{_datadir}/locale
>
> %changelog
> +* Mon Jul 23 2007 - takao.fujiwara at sun.com
> +- Added SUNWgnome-dtlogin-integration-01-g11n-xinitrc.diff.
> + Fixes 6555226, 6583891
> * Tue Jun 5 2007 - laca at sun.com
> - bump to 0.31, delete patch
> * Mon Apr 02 2007 - takao.fujiwara at sun.com
> plain text document attachment
> (SUNWgnome-dtlogin-integration-01-g11n-xinitrc.diff)
> --- dtlogin-integration-0.31/config/Xinitrc.in.orig 2007-07-23
> 19:52:36.089984000 +0900
> +++ dtlogin-integration-0.31/config/Xinitrc.in 2007-07-23
> 20:00:06.489321000 +0900
> @@ -18,8 +18,15 @@ else
> export LC_MESSAGES=$LANG
> fi
>
> +# Fixes 6555226
> +if [ "x$LANG" = "xzh" ] ; then
> + export LANGUAGE=zh:zh_CN.EUC
> +fi
> +
> export g_filename_encodi...@locale,UTF-8
> export G_BROKEN_FILENAMES=yes
> +# Fixes 6583891
> +export VTE_CJK_WIDTH=1
>
> # Add common man directories to MANPATH so users can find information
> # about useful programs.