[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/xorg-x11-xinit/devel .cvsignore, 1.9, 1.10 xinput.sh, 1.2, 1.3 xorg-x11-xinit.spec, 1.22, 1.23



Author: mharris

Update of /cvs/dist/rpms/xorg-x11-xinit/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14775

Modified Files:
	.cvsignore xinput.sh xorg-x11-xinit.spec 
Log Message:
* Wed Jul 05 2006 Mike A. Harris <mharris redhat com> 1.0.2-5.fc6
- Implemented changes to xinput.sh based on suggestions from (#194458)



Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11-xinit/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	27 Apr 2006 22:49:30 -0000	1.9
+++ .cvsignore	5 Jul 2006 06:46:08 -0000	1.10
@@ -1 +1,3 @@
-xinit-1.0.2.tar.bz2
+*.tar.bz2
+*.tar.gz
+clog


Index: xinput.sh
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11-xinit/devel/xinput.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xinput.sh	5 Jul 2006 06:36:36 -0000	1.2
+++ xinput.sh	5 Jul 2006 06:46:08 -0000	1.3
@@ -10,6 +10,9 @@
 #
 # X Input method setup script
 
+USER_XINPUTRC="$HOME/.xinputrc"
+SYS_XINPUTRC="/etc/X11/xinit/xinputrc"
+
 # Load up the user and system locale settings
 oldterm=$TERM
 unset TERM
@@ -20,18 +23,14 @@
 
 tmplang=${LC_CTYPE:-${LANG:-"en_US.UTF-8"}}
 
-## try to source ~/.xinput.d/ll_CC or /etc/X11/xinit/xinput.d/ll_CC to
-## setup the input method for locale (CC is needed for Chinese for example)
 # unset env vars to be safe
 unset XIM XIM_PROGRAM XIM_ARGS XMODIFIERS GTK_IM_MODULE QT_IM_MODULE
-lang_region=$(echo $tmplang | sed -e 's/\..*//')
-for f in $HOME/.xinput.d/${lang_region} \
-	    $HOME/.xinput.d/default \
-	    /etc/X11/xinit/xinput.d/${lang_region} \
-	    /etc/X11/xinit/xinput.d/default ; do
-    [ -r $f ] && source $f && break
-done
-unset lang_region
+
+if [ -r "$USER_XINPUTRC" ]; then
+    source "$USER_XINPUTRC"
+elif [ -r "$SYS_XINPUTRC" ]; then
+    source "$SYS_XINPUTRC"
+fi
 
 [ -n "$GTK_IM_MODULE" ] && export GTK_IM_MODULE
 [ -n "$QT_IM_MODULE" ] && export QT_IM_MODULE


Index: xorg-x11-xinit.spec
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11-xinit/devel/xorg-x11-xinit.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- xorg-x11-xinit.spec	28 Jun 2006 10:17:35 -0000	1.22
+++ xorg-x11-xinit.spec	5 Jul 2006 06:46:08 -0000	1.23
@@ -4,7 +4,7 @@
 Summary: X.Org X11 X Window System xinit startup scripts
 Name: xorg-x11-%{pkgname}
 Version: %{xinitver}
-Release: 4
+Release: 5%{?dist}
 License: MIT/X11
 Group: User Interface/X
 URL: http://www.x.org
@@ -96,6 +96,9 @@
 %{_mandir}/man1/xinit.1x*
 
 %changelog
+* Wed Jul 05 2006 Mike A. Harris <mharris redhat com> 1.0.2-5.fc6
+- Implemented changes to xinput.sh based on suggestions from (#194458)
+
 * Wed Jun 21 2006 Mike A. Harris <mharris redhat com> 1.0.2-4
 - Added documentation to doc macro.
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]