Accepting request 315031 from X11:Utilities
- Add a template for ~/.i18n (bsc#934720). OBS-URL: https://build.opensuse.org/request/show/315031 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x11-tools?expand=0&rev=40
This commit is contained in:
commit
4a4f74ee14
5
i18n.template
Normal file
5
i18n.template
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#
|
||||||
|
# Override system wide input method here
|
||||||
|
#
|
||||||
|
|
||||||
|
# export INPUT_METHOD=scim
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 3 20:24:13 UTC 2015 - eich@suse.com
|
||||||
|
|
||||||
|
- Add a template for ~/.i18n (bsc#934720).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 24 07:22:49 UTC 2015 - werner@suse.de
|
Wed Jun 24 07:22:49 UTC 2015 - werner@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package x11-tools
|
# spec file for package x11-tools
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -34,6 +34,7 @@ Source33: none
|
|||||||
Source34: sysconfig.language-%{name}
|
Source34: sysconfig.language-%{name}
|
||||||
Source35: nvidia-pre-install
|
Source35: nvidia-pre-install
|
||||||
Source36: nvidia-post-uninstall
|
Source36: nvidia-post-uninstall
|
||||||
|
Source37: i18n.template
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -59,8 +60,9 @@ install -m 644 $RPM_SOURCE_DIR/xim $RPM_BUILD_ROOT/etc/X11
|
|||||||
install -m 644 $RPM_SOURCE_DIR/none $RPM_BUILD_ROOT/etc/X11/xim.d
|
install -m 644 $RPM_SOURCE_DIR/none $RPM_BUILD_ROOT/etc/X11/xim.d
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/skel
|
mkdir -p $RPM_BUILD_ROOT/etc/skel
|
||||||
install -m 644 $RPM_SOURCE_DIR/xim.template $RPM_BUILD_ROOT/etc/skel/.xim.template
|
install -m 644 $RPM_SOURCE_DIR/xim.template $RPM_BUILD_ROOT/etc/skel/.xim.template
|
||||||
|
install -m 644 %{S:37} $RPM_BUILD_ROOT/etc/skel/.i18n
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates/
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates/
|
||||||
install -c -m0644 $RPM_SOURCE_DIR/sysconfig.language-%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates/
|
install -c -m 644 $RPM_SOURCE_DIR/sysconfig.language-%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates/
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/nvidia
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/nvidia
|
||||||
install -m 755 $RPM_SOURCE_DIR/nvidia-pre-install \
|
install -m 755 $RPM_SOURCE_DIR/nvidia-pre-install \
|
||||||
$RPM_BUILD_ROOT/usr/lib/nvidia/pre-install
|
$RPM_BUILD_ROOT/usr/lib/nvidia/pre-install
|
||||||
@ -80,6 +82,7 @@ install -m 755 $RPM_SOURCE_DIR/nvidia-post-uninstall \
|
|||||||
/etc/X11/xim
|
/etc/X11/xim
|
||||||
/etc/X11/xim.d/*
|
/etc/X11/xim.d/*
|
||||||
/etc/skel/.xim.template
|
/etc/skel/.xim.template
|
||||||
|
/etc/skel/.i18n
|
||||||
/var/adm/fillup-templates/sysconfig.language-%{name}
|
/var/adm/fillup-templates/sysconfig.language-%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# Copyright © 2001 SUSE LINUX GmbH Nuernberg, Germany
|
# Copyright © 2001 SUSE LINUX GmbH Nuernberg, Germany
|
||||||
#
|
#
|
||||||
# Mike Fabian <mfabian@suse.de>, 2005
|
# Mike Fabian <mfabian@suse.de>, 2005
|
||||||
|
# Egbert Eich <eich@suse.com>, 2015
|
||||||
|
|
||||||
# usually, /etc/X11/xim is used to start a default input method.
|
# usually, /etc/X11/xim is used to start a default input method.
|
||||||
|
|
||||||
@ -12,8 +13,9 @@
|
|||||||
# For example:
|
# For example:
|
||||||
# INPUT_METHOD="scim"
|
# INPUT_METHOD="scim"
|
||||||
# This changes the default for all users
|
# This changes the default for all users
|
||||||
# 2) set and export the variable "INPUT_METHOD" in ~/.profile in the
|
# 2) set and export the variable "INPUT_METHOD" in ~/.i18n in the
|
||||||
# home directory of a user (or ~/.login for csh users) For example:
|
# home directory of a user.
|
||||||
|
# For example:
|
||||||
# export INPUT_METHOD="scim"
|
# export INPUT_METHOD="scim"
|
||||||
# This changes the default only for one user.
|
# This changes the default only for one user.
|
||||||
#
|
#
|
||||||
@ -44,4 +46,3 @@
|
|||||||
# export QT_IM_SWITCHER=imsw-multi
|
# export QT_IM_SWITCHER=imsw-multi
|
||||||
# export QT_IM_MODULE=scim
|
# export QT_IM_MODULE=scim
|
||||||
# scim -d
|
# scim -d
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user