From e7e8762e03066e343675e4c407e853878b49bb4b4d8ca0916976f7e288b7e72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 01:57:22 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main x11-tools revision f3ddce1333569187c068d5e22afe1ec7 --- .gitattributes | 23 + i18n.template | 16 + none | 40 + nvidia-post-uninstall | 3 + nvidia-pre-install | 4 + sysconfig.language-x11-tools | 16 + x11-tools.changes | 1609 ++++++++++++++++++++++++++++++++++ x11-tools.spec | 103 +++ xf86debug | 49 ++ xim | 251 ++++++ xim.template | 48 + 11 files changed, 2162 insertions(+) create mode 100644 .gitattributes create mode 100644 i18n.template create mode 100644 none create mode 100644 nvidia-post-uninstall create mode 100644 nvidia-pre-install create mode 100644 sysconfig.language-x11-tools create mode 100644 x11-tools.changes create mode 100644 x11-tools.spec create mode 100644 xf86debug create mode 100644 xim create mode 100644 xim.template diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/i18n.template b/i18n.template new file mode 100644 index 0000000..3570c04 --- /dev/null +++ b/i18n.template @@ -0,0 +1,16 @@ +# +# Override system wide input method here +# + +# export INPUT_METHOD=scim + +# Most applications support several languages for their output. +# To make use of this feature, simply uncomment one of the lines below or +# add your own one (see /usr/share/locale/locale.alias for more codes) +# This overwrites the system default set in /etc/sysconfig/language +# in the variable RC_LANG. +# +#export LANG=de_DE.UTF-8 # uncomment this line for German output +#export LANG=fr_FR.UTF-8 # uncomment this line for French output +#export LANG=es_ES.UTF-8 # uncomment this line for Spanish output + diff --git a/none b/none new file mode 100644 index 0000000..a9f1295 --- /dev/null +++ b/none @@ -0,0 +1,40 @@ +echo "Dummy input method \"none\" (do not use any fancy input method by default)" + +# set XMODIFIERS="@im=local". +# "@im=local" means "use compose and dead-keys" and +# some programs will use compose and dead-keys only if XMODIFIERS +# is set to either "@im=local" or "@im=none". + +export XMODIFIERS="@im=local" # use "Compose" + +# Input of German umlauts in acroread doesn’t work if GTK_IM_MODULE is +# unset. Make sure that it is set here. +# +# Setting it to "xim" is a reasonable setting together with +# XMODIFIERS="@im=local" because Compose support then works exactly +# as defined in the X11 Compose file. +# +# But this still causes problems when saving files +# with non-ASCII characters in the file name from acroread 8.x because +# xim support in acroread 8.x is very buggy +# (see http://bugzilla.novell.com/show_bug.cgi?id=370330) +# +# Apart from problems in acroread, xim is generally +# known to be quite buggy. Therefore a better choice is probably +# GTK_IM_MODULE=cedilla. This changes 6 Compose key sequences to +# produce U+00C7 (LATIN CAPITAL LETTER C WITH CEDILLA) and +# LATIN_SMALL_LETTER_C_WITH_CEDILLA which produce +# U+00E7 (LATIN SMALL LETTER C WITH CEDILLA) instead of +# U+0106 (LATIN CAPITAL LETTER C WITH ACUTE) and +# U+0107 (LATIN SMALL LETTER C WITH ACUTE). +# Most users won’t notice that small change, and for those who do notice +# it is probably even useful. +# For details see http://bugzilla.novell.com/show_bug.cgi?id=413879#c27 + +export GTK_IM_MODULE=cedilla + +export QT_IM_MODULE=xim # to make Compose work as expected in Qt +#export QT_IM_SWITCHER=imsw-none # disable input method switching in Qt +export QT_IM_SWITCHER=imsw-multi # enable input method switching in Qt + +return 0 diff --git a/nvidia-post-uninstall b/nvidia-post-uninstall new file mode 100644 index 0000000..ceb0199 --- /dev/null +++ b/nvidia-post-uninstall @@ -0,0 +1,3 @@ +#!/bin/sh + +rm /etc/modprobe.d/nvidia.conf diff --git a/nvidia-pre-install b/nvidia-pre-install new file mode 100644 index 0000000..1289431 --- /dev/null +++ b/nvidia-pre-install @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "blacklist nouveau" > /etc/modprobe.d/nvidia.conf + diff --git a/sysconfig.language-x11-tools b/sysconfig.language-x11-tools new file mode 100644 index 0000000..9be56a8 --- /dev/null +++ b/sysconfig.language-x11-tools @@ -0,0 +1,16 @@ + +## Path: System/Environment/Language +## Type: string(ibus,fcitx,gcin,scim,scim-bridge,uim,kinput2,kinput2-canna,kinput2-wnn,nabi,wnn,atokx,xcin,none) +## Default: "" +# +# A default input method to be used in X11 can be selected here. +# If this variable is set and a script with the same name +# as the value of this variable exists in the directory /etc/X11/xim.d/ +# this script is sourced when X11 is started to start an input method. +# +# The special value "none" (/etc/X11/xim.d/none) means: +# Do not use any input method at all. +# +# For more details see the comments at the top of /etc/X11/xim. +# +INPUT_METHOD="" diff --git a/x11-tools.changes b/x11-tools.changes new file mode 100644 index 0000000..4b4ec79 --- /dev/null +++ b/x11-tools.changes @@ -0,0 +1,1609 @@ +------------------------------------------------------------------- +Thu Sep 1 14:33:56 UTC 2022 - Stefan Dirsch + +- nvidia-pre-install + * mkinitrd will be removed from TW; /etc/sysconfig/kernel no + longer exits anyway since a long time (boo#1203025) + +------------------------------------------------------------------- +Mon Oct 19 03:10:18 UTC 2020 - Stefan Dirsch + +- move skeleton files to /usr/etc/skel on Tumbleweed (boo#1176431) + +------------------------------------------------------------------- +Mon Sep 28 19:21:21 UTC 2020 - Stefan Dirsch + +- xim script: also consider files below /usr/etc/X11/xim.d (boo#1176431) + +------------------------------------------------------------------- +Thu Sep 24 12:51:44 UTC 2020 - Jan Engelhardt + +- Upgrade old RPM constructs. + +------------------------------------------------------------------- +Wed Sep 23 16:28:35 UTC 2020 - Stefan Dirsch + +- i18n.template: moved example for user specific LANG setting + from .profile (bash package) to .i18n skeleton file (boo#1158724) + +------------------------------------------------------------------- +Thu Sep 10 21:15:12 UTC 2020 - Stefan Dirsch + +- moved xim files to /usr/etc; xinit is already prepared for this + (boo#1176431) + +------------------------------------------------------------------- +Wed Oct 24 12:48:26 UTC 2018 - sndirsch@suse.com + +- remove hostname's '-f' option since it may fail or - even worse - + causes timeouts (boo#1113087) + +------------------------------------------------------------------- +Thu Nov 23 13:54:15 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +------------------------------------------------------------------- +Wed Aug 19 20:00:24 CEST 2015 - tiwai@suse.de + +- Fix the breakage of default IM selection due to the eval code + for ~/.i18n in xim script (bsc#934720, boo#941052) + +------------------------------------------------------------------- +Mon Aug 10 16:21:52 CEST 2015 - tiwai@suse.de + +- Revert xim shebang back to /bin/bash; otherwise too many xim.d + scripts got broken (boo#941052) + +------------------------------------------------------------------- +Sun Aug 9 12:55:18 UTC 2015 - ftake@geeko.jp + +- fix a bashism in xim (boo#941052) + +------------------------------------------------------------------- +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 + +- Xim script: Allow to simply touch an empty ~/.i18n to override + ~/.profile or ~/.login. Also make sure that all bourne shells + are able to export the variables like INPUT_METHOD. + +------------------------------------------------------------------- +Tue Jun 23 12:40:55 UTC 2015 - werner@suse.de + +- Xim script: Allow background processes in ~/.profile and ~/.login + (bsc#934720) also use ~/.i18n of exist instead of ~/.profile or + ~/.login + +------------------------------------------------------------------- +Tue Nov 04 22:55:00 UTC 2014 - Led + +- fix bashsisms in xf86debug script more correctly + +------------------------------------------------------------------- +Sun Oct 19 20:46:00 UTC 2014 - Led + +- fix bashsisms + +------------------------------------------------------------------- +Fri Aug 22 15:52:48 UTC 2014 - fcrozat@suse.com + +- Improve GNOME detection for Classic mode. + +------------------------------------------------------------------- +Thu Jan 9 08:07:07 UTC 2014 - lnussel@suse.de + +- drop the obsolete wmlist command. No longer needed as + xinitrc.common does the detection itself. + +------------------------------------------------------------------- +Sun Dec 15 09:56:07 UTC 2013 - swyear@gmail.com + +- Add fcitx and gcin to sysconfig/language:$INPUT_METHOD + list + +------------------------------------------------------------------- +Mon Dec 9 15:04:22 UTC 2013 - swyear@gmail.com + +- modify xim to avoid gnome-settings-daemon reset XMODIFIERS and + QT_IM_MODULE (bnc#853063) + +------------------------------------------------------------------- +Tue Oct 22 13:09:22 UTC 2013 - sndirsch@suse.com + +- remove kroot since it apparently no longer works with KDE4, and + KDE3 has been dropped long ago (bnc#846953) + +------------------------------------------------------------------- +Fri May 24 12:56:22 UTC 2013 - werner@suse.de + +- Some shells do not know about HOSTNAME variable and print error + messages therefore export this variable + +------------------------------------------------------------------- +Wed Feb 27 06:18:01 UTC 2013 - coolo@suse.com + +- update license to new format + +------------------------------------------------------------------- +Mon Oct 10 04:42:10 UTC 2011 - sndirsch@suse.com + +- removed obsolete scripts switch2nv/switch2nvidia; xorg.conf is + no longer in use since openSUSE 11.3 (bnc #722812) + +------------------------------------------------------------------- +Tue May 3 18:35:08 CEST 2011 - tiwai@suse.de + +- Add ibus and scim-bridge to sysconfig/language:$INPUT_METHOD + list + +------------------------------------------------------------------- +Thu Jul 29 22:08:07 CEST 2010 - sndirsch@suse.de + +- moved distribution hooks from post-installl to pre-install since + driver installation is expected to fail due to nouveau driver + still active + +------------------------------------------------------------------- +Thu Jul 29 06:44:57 CEST 2010 - sndirsch@suse.de + +- added distribution hook scripts for nvidia-installer to disable + nouveau module and remove it from initrd if required + +------------------------------------------------------------------- +Tue Sep 1 19:06:04 CEST 2009 - sndirsch@suse.de + +- xf86debug: also handle SIGUSR2 and SIGPIPE + +------------------------------------------------------------------- +Fri Mar 27 16:35:44 CET 2009 - werner@suse.de + +- Speed up adding user environment for the case of having a bash + as login shell, requested by Michael Meeks + +------------------------------------------------------------------- +Fri Mar 6 20:17:41 CET 2009 - sndirsch@suse.de + +- wmlist: icewm --> icewm-session (bnc #473511) + +------------------------------------------------------------------- +Tue Feb 24 15:39:41 CET 2009 - sndirsch@suse.de + +- added switch2nv/switch2nvidia from 3ddiag; provides/obsoletes + 3ddiag + +------------------------------------------------------------------- +Fri Nov 14 16:05:59 CET 2008 - mfabian@suse.de + +- bnc#413879: use GTK_IM_MODULE=cedilla instead of + GTK_IM_MODULE=xim in the case when no fancy input method is + started. +- add BuildArch: noarch + +------------------------------------------------------------------- +Mon Nov 03 14:00:08 CET 2008 - mfabian@suse.de + +- bnc#440371: /etc/X11/xim: if gdm passes the language + to Xsession as the second argument, we should not override this + in xim. + +------------------------------------------------------------------- +Thu Oct 23 14:15:29 CEST 2008 - mfabian@suse.de + +- bnc#413879: /etc/X11/xim: make sure that GTK_IM_MODULE is always + set to something, input of German umlauts in acroread doesn’t + work if GTK_IM_MODULE is unset. + +------------------------------------------------------------------- +Fri Dec 7 19:44:56 CET 2007 - sndirsch@suse.de + +- xf86debug: freetype2-debuginfo and xorg-x11-fontenc-debuginfo + should also be installed + +------------------------------------------------------------------- +Wed Nov 28 12:57:10 CET 2007 - sndirsch@suse.de + +- xf86debug: added 'cont' before 'quit' for a more graceful + Xserver termination + +------------------------------------------------------------------- +Tue Nov 27 16:34:22 CET 2007 - sndirsch@suse.de + +- xf86debug: use "bt full" instead of "bt" + +------------------------------------------------------------------- +Wed Mar 28 19:09:49 CEST 2007 - mfabian@suse.de + +- fix order of changelog entries. + +------------------------------------------------------------------- +Tue Mar 20 15:52:27 CET 2007 - mfabian@suse.de + +- fix typo (thanks to Arvin Schnell for noticing). + +------------------------------------------------------------------- +Thu Mar 01 12:26:41 CET 2007 - mfabian@suse.de + +- Bugzilla #235044: make sure that environment variables from + the user environment which might influence the start of an + input method are read (LANG, LC_CTYPE, LC_ALL, INPUT_METHOD). + Code to fix this by Werner Fink . Thank you! + +------------------------------------------------------------------- +Wed Jan 10 19:22:48 CET 2007 - sndirsch@suse.de + +- xf86debug: + * generate core file as well + +------------------------------------------------------------------- +Mon Aug 21 15:48:05 CEST 2006 - sndirsch@suse.de + +- moved via profile.d scripts to Mesa +- removed bogus BuildRequires to xorg-x11-devel +- use %fillup_prereq for PreReq +- moved xf86debug, wmlist, kroot to /usr/bin +- removed obsolete Xwrapper symlink and xf86version script +- fixed Xserver path in xf86debug +- cleanup in specfile + +------------------------------------------------------------------- +Tue May 23 15:32:53 CEST 2006 - sndirsch@suse.de + +- numlock now in numlockx package + +------------------------------------------------------------------- +Sat May 20 12:03:54 CEST 2006 - sndirsch@suse.de + +- /etc/profile.d/via.{csh,sh}: + * prevent failure, when /var/log/Xorg.0.log is not readable + +------------------------------------------------------------------- +Mon Feb 13 12:32:24 CET 2006 - sndirsch@suse.de + +- disabled via DRI driver once more (Bug #115911, comment #14) + +------------------------------------------------------------------- +Fri Feb 10 14:45:31 CET 2006 - sndirsch@suse.de + +- enabled via DRI driver again (Bug #115911, comment #12) + +------------------------------------------------------------------- +Wed Jan 25 21:42:55 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Oct 14 16:22:49 CEST 2005 - sndirsch@suse.de + +- removed call-browser/desktop-launch (#67130) +- xwinswitch (#128416) +- moved nvidia-installer sources to new package + tiny-nvidia-installer + +------------------------------------------------------------------- +Thu Oct 13 16:36:23 CEST 2005 - sndirsch@suse.de + +- moved nvidia kernel stuff to new package nvidia-gfx-1_0_7676 + +------------------------------------------------------------------- +Wed Oct 12 18:01:37 CEST 2005 - mfabian@suse.de + +- rename sysconfig.language-xf86tools to + sysconfig.language-x11-tools, the "fillup_only -an language" + macro in the postinstall script didn't work anymore because of + the rename. +- rename the documentation directory to the current name of the + package. + +------------------------------------------------------------------- +Mon Sep 19 22:31:38 CEST 2005 - sndirsch@suse.de + +- fixed build + +------------------------------------------------------------------- +Sun Sep 18 16:42:56 CEST 2005 - sndirsch@suse.de + +- NVIDIA_kernel-1.0-7676-1359015.diff.txt: + * This patch addresses a kernel interaction problem on + Linux/x86-64 systems that either don't support the no-execute + page protection feature or on which this feature has been + disabled by the SBIOS. (#115782) + +------------------------------------------------------------------- +Mon Sep 12 11:08:43 CEST 2005 - sndirsch@suse.de + +- nv-fix-gartaddr-xen-disable_pat.diff: + * disable pat support on Xen by default and will make the driver + load fail under Xen unless overriden. (#115800) + +------------------------------------------------------------------- +Sat Sep 10 11:46:52 CEST 2005 - garloff@suse.de + +- Fix phys vs gart address confusion that breaks under Xen. + +------------------------------------------------------------------- +Fri Sep 9 11:40:04 CEST 2005 - sndirsch@suse.de + +- /etc/profile.d/via.{sh,csh}: + * disable via DRI driver by default (#115911) + +------------------------------------------------------------------- +Mon Sep 5 17:33:53 CEST 2005 - sndirsch@suse.de + +- disabled use of ATI_SHIM; will get replaced by new kernel driver + update mechanism + +------------------------------------------------------------------- +Wed Aug 17 12:58:42 CEST 2005 - sndirsch@suse.de + +- nvidia-installer-proxy.diff: + * fixes tiny-nvidia-installer when FTP_PROXY is set to "" + (Bug #104727) + +------------------------------------------------------------------- +Wed Aug 10 05:06:12 CEST 2005 - sndirsch@suse.de + +- updated nvidia driver to release 1.0-7676 (IA32 and AMD64) + * Fixed GeForce 7800 GTX clocking problem that affected 3D + performance. + +------------------------------------------------------------------- +Sun Aug 7 22:42:04 CEST 2005 - sndirsch@suse.de + +- link-fglrx-module: + * libfglrx_ip.a.GCC3- --> libfglrx_ip.a.GCC4- + +------------------------------------------------------------------- +Tue Jul 26 15:04:36 CEST 2005 - sndirsch@suse.de + +- link-fglrx-module: + * adjusted parsing for version string in fglrx driver to new + driver version + +------------------------------------------------------------------- +Mon Jul 4 15:55:13 CEST 2005 - sndirsch@suse.de + +- use RPM_OPT_FLAGS + +------------------------------------------------------------------- +Fri Jun 24 09:16:46 CEST 2005 - sndirsch@suse.de + +- updated nvidia driver to release 1.0-7667 (IA32 and AMD64) +- use Makefile template; no longer required to edit any Makefiles + when doing a version update of the nvidia driver + +------------------------------------------------------------------- +Thu Jun 23 10:44:44 CEST 2005 - sndirsch@suse.de + +- link-fglrx-module: "nVidia" --> "fglrx" (copy/paste error) + +------------------------------------------------------------------- +Fri Jun 3 11:52:45 CEST 2005 - sndirsch@suse.de + +- removed mknvidiadevs/makedevices.sh. It's no longer required + since the nVidia X driver now does mknod(2) itself to create the + device files when it is going to need them. The OpenGL clients + then use the device files that were created by X. + +------------------------------------------------------------------- +Thu Jun 2 23:57:27 CEST 2005 - sndirsch@suse.de + +- updated nvidia driver to release 1.0-7664 (IA32 and AMD64) + +------------------------------------------------------------------- +Thu May 19 11:29:51 CEST 2005 - sndirsch@suse.de + +- added link-fglrx-module; script, which links fglrx kernel + interface (fglrx-linux.o) and binary-only part (nbfglrx_ip.a.GCC3) + to a new fglrx kernel module + +------------------------------------------------------------------- +Fri May 13 18:31:50 CEST 2005 - mfabian@suse.de + +- Bugzilla #81227: Make disabling all fancy input methods + with INPUT_METHOD=none in /etc/sysconfig/language work for + Qt3 and GTK2 as well. + +------------------------------------------------------------------- +Fri May 13 04:42:29 CEST 2005 - sndirsch@suse.de + +- use norootforbuild + +------------------------------------------------------------------- +Wed May 4 16:04:58 CEST 2005 - sndirsch@suse.de + +- package renaming: xf86tools --> x11-tools + +------------------------------------------------------------------- +Mon Apr 25 17:40:11 CEST 2005 - sndirsch@suse.de + +- added mknvidiadevs init script, which makes use of makedevices.sh. + This is required by a dynamic udev, since nVidia is no longer + allowed to use the udev interface (Bug #70957). mknvidiadevs + creates devices, which are required by the nVidia driver. + +------------------------------------------------------------------- +Thu Mar 31 23:27:25 CEST 2005 - sndirsch@suse.de + +- updated nvidia driver to release 1.0-7174 (IA32 and AMD64) + * obsoletes NVIDIA_kernel-1.0-7167-1237815.diff.txt + * obsoletes NVIDIA_kernel-1.0-7167-1233959.diff.txt + +------------------------------------------------------------------- +Mon Mar 21 00:34:50 CET 2005 - sndirsch@suse.de + +- readded wmlist; still to many references (e.g. startx --> #73836, + /etc/X11/xdm/sys.xsession) + +------------------------------------------------------------------- +Sun Mar 13 16:28:46 CET 2005 - sndirsch@suse.de + +- NVIDIA_kernel-1.0-7167-1237815.diff.txt: + This patch fixes a compile time error when building against Linux + 2.6.11-bk3 or later, configured without support for AGPGART (i.e. + CONFIG_AGP unset). + +------------------------------------------------------------------- +Fri Mar 11 21:52:38 CET 2005 - sndirsch@suse.de + +- NVIDIA_kernel-1.0-7167-1233959.diff.txt: + This patch fixes 2D/3D performance problems when using the Linux + AGP driver, AGPGART; the built-in NVIDIA AGP driver, NvAGP, is + not affected by this problem. + +------------------------------------------------------------------- +Wed Mar 2 22:00:42 CET 2005 - sndirsch@suse.de + +- updated nvidia driver to release 1.0-7167 (IA32 and AMD64) + +------------------------------------------------------------------- +Mon Feb 28 11:14:15 CET 2005 - sndirsch@suse.de + +- removed sux; replaced by a symlink to su in coreutils package + +------------------------------------------------------------------- +Wed Feb 23 11:37:27 CET 2005 - mfabian@suse.de + +- introduce the option "INPUT_METHOD=none" to avoid starting + an input method. + +------------------------------------------------------------------- +Tue Feb 22 15:05:56 CET 2005 - mfabian@suse.de + +- avoid endless loop when ~/.xim is a symlink to /etc/X11/xim + (thanks to Takashi Iwai ). + +------------------------------------------------------------------- +Mon Feb 21 19:34:21 CET 2005 - mfabian@suse.de + +- fix another stupid typo in /etc/X11/xim. Sorry. + +------------------------------------------------------------------- +Mon Feb 21 19:02:43 CET 2005 - mfabian@suse.de + +- fix typo in /etc/X11/xim. + +------------------------------------------------------------------- +Mon Feb 21 18:24:13 CET 2005 - mfabian@suse.de + +- add /var/adm/fillup-templates/sysconfig.language-xf86tools + introducing the variable INPUT_METHOD to be able to change + the system wide default input method easily. + +------------------------------------------------------------------- +Mon Feb 21 17:19:03 CET 2005 - mfabian@suse.de + +- add new versions of /etc/X11/xim and /etc/skel/.xim.template + (has previously been in the xorg-x11 package). + +------------------------------------------------------------------- +Mon Feb 14 12:02:39 CET 2005 - sndirsch@suse.de + +- removed wmlist; obsoleted by the new WM desktop files in + /usr/share/xsessions/ + +------------------------------------------------------------------- +Thu Feb 10 00:31:48 CET 2005 - sndirsch@suse.de + +- updated nvidia driver to release 1.0-7163 (IA32 and AMD64) + * obsoletes previous 1.0-6629 patches according to nVIDIA + +------------------------------------------------------------------- +Tue Jan 25 14:16:37 CET 2005 - ro@suse.de + +- added NVIDIA_kernel-1.0-6629-1201042.diff + +------------------------------------------------------------------- +Sun Jan 16 18:22:32 CET 2005 - sndirsch@suse.de + +- added latest patches for nvidia kernel module by zander ([X] + required for kernel 2.6.10): + * NVIDIA_kernel-1.0-6629-1155389.diff + * NVIDIA_kernel-1.0-6629-1161283.diff + * NVIDIA_kernel-1.0-6629-1165235.diff [X] + * NVIDIA_kernel-1.0-6629-1171869.diff [X] + * NVIDIA_kernel-1.0-6629-1175225.diff + * NVIDIA_kernel-1.0-6629-1182399.diff + * NVIDIA_kernel-1.0-6629-1189413.diff + (german description on http://www.holarse.de/?news=308) + +------------------------------------------------------------------- +Sat Nov 20 13:28:52 CET 2004 - sndirsch@suse.de + +- NVIDIA_kernel-1.0-6629-1161283.diff.txt (Christian Zander@nVIDIA) + * fixes a memory allocation issue + +------------------------------------------------------------------- +Thu Nov 11 11:39:28 CET 2004 - sndirsch@suse.de + +- don't use a rpm macro for km_nvidia version any longer + +------------------------------------------------------------------- +Thu Nov 11 04:50:04 CET 2004 - sndirsch@suse.de + +- updated nvidia driver to release 1.0-6629 (IA32 and AMD64) +- cleanup in link-nvidia-module + +------------------------------------------------------------------- +Tue Sep 21 14:06:01 CEST 2004 - werner@suse.de + +- Make sux more secure (bugzilla #44605) + * Use a temporary Xauthority file + * If the last process of a sux terminates remove the temporary + Xauthority file. + * Always remove the temporary Xauthority file after one day. + +------------------------------------------------------------------- +Thu Sep 16 12:11:50 CEST 2004 - sndirsch@suse.de + +- link-nvidia-module: + * need to grep now for "NVIDIA X Driver" instead of + "NVIDIA XFree86 Driver" before to detect the driver version, + which is required for relinking the nvidia kernel module; + credits go to root@suse.de (sent from f251), who send me this + patch :-) + +------------------------------------------------------------------- +Wed Sep 1 11:58:34 CEST 2004 - sndirsch@suse.de + +- fixed PreReq for /lib/modules/scripts/nvidia.sh (Bug #44553) + +------------------------------------------------------------------- +Wed Aug 25 22:56:47 CEST 2004 - sndirsch@suse.de + +- removed %pre; removing symlinks xf86config and xinit no longer + makes sense; it even is completely wrong (Bug #44230) + +------------------------------------------------------------------- +Mon Aug 23 18:00:50 CEST 2004 - schwab@suse.de + +- Fix specfile. + +------------------------------------------------------------------- +Thu Aug 12 11:33:17 CEST 2004 - sndirsch@suse.de + +- updated to call-browser of SLES9/NLD; added desktop-launch + symlink to it + +------------------------------------------------------------------- +Thu Aug 5 23:43:51 CEST 2004 - sndirsch@suse.de + +- updated nvidia driver to release 1.0-6111 (IA32 and AMD64) +- updated nvidia installer to release 1.0.7 + +------------------------------------------------------------------- +Sat Jul 24 10:22:51 CEST 2004 - sndirsch@suse.de + +- removed XFree86-compat-libs.sh; no longer required as the shared + libs (dga, misc, Xv) are now available again (changed upstream) + +------------------------------------------------------------------- +Thu Jul 1 15:39:02 CEST 2004 - sndirsch@suse.de + +- updated nvidia kernel module to release 1.0-6106 (x86 and AMD64) + +------------------------------------------------------------------- +Wed Jun 9 11:58:47 CEST 2004 - sndirsch@suse.de + +- call-browser: + * Mozilla was used as browser even in KDE (Bug #41827) + +------------------------------------------------------------------- +Thu May 6 00:08:53 CEST 2004 - sndirsch@suse.de + +- splitted off package fonts-config + +------------------------------------------------------------------- +Wed May 5 17:32:33 CEST 2004 - sndirsch@suse.de + +- depmod needs to be called with "-a " + +------------------------------------------------------------------- +Wed May 5 14:45:51 CEST 2004 - sndirsch@suse.de + +- link-nvidia-module: + * call "depmod -a" after relinking to make sure that nvidia kernel + module will be known after rebooting the new kernel (Bug #39949) + +------------------------------------------------------------------- +Fri Apr 16 17:48:06 CEST 2004 - sndirsch@suse.de + +- Bugzilla #39071: TTCap options were never generated, even when + the option --ttcap or GENERATE_TTCAP_ENTRIES="yes" in + /etc/sysconfig/fonts-config was used. + +------------------------------------------------------------------- +Tue Apr 13 21:13:40 CEST 2004 - sndirsch@suse.de + +- new improved 'sux' by Werner (Bug #38037) + +------------------------------------------------------------------- +Tue Apr 6 16:00:12 CEST 2004 - sndirsch@suse.de + +- sysconfig.fonts-config + * added missing Path + Description tags (Bug #38501) + +------------------------------------------------------------------- +Mon Apr 5 19:27:59 CEST 2004 - werner@suse.de + +- Use getent within sux to avoid calls of yp tools (bug #38077) + +------------------------------------------------------------------- +Wed Mar 31 11:06:51 CEST 2004 - sndirsch@suse.de + +- fonts-config: + * Bugzilla #37569: "fonts missing?": If mkfontscale and/or + mkfontdir failed or were not yet installed, remove the + timestamp file to make sure the script tries again when the + problem with mkfontscale and/or mkfontdir is fixed. + * added new option --(no)ttcap, changed option --no-gs-fontmap + to --(no)gs-fontmap. + * read default values for these two options from + /etc/sysconfig/fonts-config + * don't use $freetype_module_supports_ttcap anymore, use the + new option --(no)ttcap instead. + * update man-page. +- SuSEconfig.fonts + * remove "--no-gs-fontmap" option. + +------------------------------------------------------------------- +Fri Mar 26 17:26:25 CET 2004 - sndirsch@suse.de + +- fonts-config: + * If mkfontscale and/or mkfontdir don't exist or fail, use only + the handmade fonts.scale.* files or create empty fonts.scale + fonts.dir files as a last fallback (Bug #37046). + +------------------------------------------------------------------- +Wed Mar 24 12:20:08 CET 2004 - sndirsch@suse.de + +- added sysconfig variables to configure if TTCap entries in + fonts.dir and ghostscript fontmaps are generated by fonts-config + +------------------------------------------------------------------- +Fri Mar 19 22:00:26 CET 2004 - sndirsch@suse.de + +- removed .orig files to fix build + +------------------------------------------------------------------- +Fri Mar 12 22:31:32 CET 2004 - sndirsch@suse.de + +- fonts-config: call checkproc with absolute path (Bug #35708) + +------------------------------------------------------------------- +Mon Mar 8 09:54:00 CET 2004 - sndirsch@suse.de + +- udated to nvidia-installer release 1.0.6 (kernel 2.6 support + out-of-the box) + +------------------------------------------------------------------- +Mon Mar 1 11:36:57 CET 2004 - sndirsch@suse.de + +- XFree86-compat-libs.sh: + * shared libXxf86vm already provided now by XFree86-libs package + (Bug #35188) + +------------------------------------------------------------------- +Sun Feb 29 01:34:59 CET 2004 - agruen@suse.de + +- Fix for x86_64. + +------------------------------------------------------------------- +Fri Feb 27 11:21:30 CET 2004 - sndirsch@suse.de + +- km_nvidia: new regparm-fix.diff + * fixes kernel module build; gcc is more strict now in verifying + prototype and function declaration + +------------------------------------------------------------------- +Wed Feb 25 05:21:04 CET 2004 - sndirsch@suse.de + +- regparm-fix.diff (Andreas Gruenbacher) + * function definitions didn't match prototypes + +------------------------------------------------------------------- +Tue Feb 17 20:49:26 CET 2004 - sndirsch@suse.de + +- disabled cc-sanity-check to fix nvidia kernel module build for + bigsmp kernel + +------------------------------------------------------------------- +Mon Feb 16 16:13:52 CET 2004 - sndirsch@suse.de + +- CheckHardware no longer a subpackage + +------------------------------------------------------------------- +Sun Feb 8 19:21:07 CET 2004 - sndirsch@suse.de + +- install precompiled kernel interface into + /lib/modules/precompiled//nvidia/gfx +- removed Makefile.module files for kernel 2.4 +- use original nv-kernel.o (binary-only) for compiling nvidia + kernel module instead of dummy nv-kernel.o; therefore km_nvidia + is no longer distributable (changed in PDB) + +------------------------------------------------------------------- +Thu Jan 29 20:38:55 CET 2004 - sndirsch@suse.de + +- (hopefully) fixed build with SMP kernel + +------------------------------------------------------------------- +Mon Jan 26 10:42:30 CET 2004 - sndirsch@suse.de + +- link-nvidia-modules: + * remove /lib/modules/precompiled/ completely + when called with option "--preun" + +------------------------------------------------------------------- +Sun Jan 25 23:26:11 CET 2004 - sndirsch@suse.de + +- fixed build with usermode kernel + +------------------------------------------------------------------- +Sat Jan 24 13:31:22 CET 2004 - sndirsch@suse.de + +- (hopefully) finally fixed build with kernel 2.6 + +------------------------------------------------------------------- +Sat Jan 24 10:25:10 CET 2004 - sndirsch@suse.de + +- udpated nvidia kernel module sources (IA32) to release 1.0-5336 + +------------------------------------------------------------------- +Fri Jan 23 23:20:20 CET 2004 - sndirsch@suse.de + +- (hopefully) fixed build with kernel 2.6 + +------------------------------------------------------------------- +Fri Jan 23 17:49:33 CET 2004 - sndirsch@suse.de + +- cleanup for kernel 2.4 build +- improved kernel 2.6 build + +------------------------------------------------------------------- +Fri Jan 23 12:26:42 CET 2004 - sndirsch@suse.de + +- added precompiled kernel interface for nvidia kernel module for + AMD64 + +------------------------------------------------------------------- +Thu Jan 22 10:56:28 CET 2004 - sndirsch@suse.de + +- make use of mktemp in xf86debug script (Bug #34080) + +------------------------------------------------------------------- +Wed Jan 14 16:51:56 CET 2004 - sndirsch@suse.de + +- nvidia-installer-1.0.5-ko.diff: + * 2.6 kernel modules use .ko extension +- Makefile.module/link-nvidia-module: + * nvidia.mod.o isn't required for relinking 2.6 kernel module +- removed install-nvidia-driver + +------------------------------------------------------------------- +Fri Jan 2 19:23:59 CET 2004 - sndirsch@suse.de + +- updated kernel-2.6 patches; makes use of precompiled kernel + interfaces possible + +------------------------------------------------------------------- +Sun Dec 14 00:04:08 CET 2003 - sndirsch@suse.de + +- updated nvidia installer to release 1.0.5 +- udpated nvidia kernel module sources to release 1.0-5328 +- fixed relinking of 2.6 nvidia kernel module + +------------------------------------------------------------------- +Thu Dec 4 16:34:11 CET 2003 - sndirsch@suse.de + +- GameChecker-031204.tar.bz2: + * fixed build with new Qt + +------------------------------------------------------------------- +Tue Dec 2 15:56:59 CET 2003 - sndirsch@suse.de + +- new fonts-config: + * add bw=0.5 option when necessary + * convert old-style face option of freetype module to TTCap style + option on recent versions of XFree86. + +------------------------------------------------------------------- +Thu Nov 27 15:48:56 CET 2003 - sndirsch@suse.de + +- new fonts-config: + * use strict + * the freetype module now supports TTCap since XFree86 >= 4.3.99, + make use of this + +------------------------------------------------------------------- +Wed Nov 12 11:30:50 CET 2003 - sndirsch@suse.de + +- link-nvidia-module: + * adjusted for kernel 2.6; modules now use the .ko extension + +------------------------------------------------------------------- +Wed Nov 12 09:45:47 CET 2003 - sndirsch@suse.de + +- km_nvidia: fixed build for kernel 2.6 + +------------------------------------------------------------------- +Thu Nov 6 18:03:18 CET 2003 - sndirsch@suse.de + +- SuSEconfig.fonts: + * added "/usr/X11R6/bin" to $PATH as "mkfontdir" now is a wrapper + for "mkfontscale", which is located in "/usr/X11R6/bin" + +------------------------------------------------------------------- +Thu Oct 30 17:27:10 CET 2003 - sndirsch@suse.de + +- fixed build for non-i386 archs + +------------------------------------------------------------------- +Thu Oct 30 11:10:46 CET 2003 - sndirsch@suse.de + +- XFree86-compat-libs.sh: + * script to replace package XFree86-compat-libs, which will be + dropped for 9.1/SLES9 and later + +------------------------------------------------------------------- +Sat Oct 25 12:07:02 CEST 2003 - sndirsch@suse.de + +- nvidia.sh: only call xsload if it exists (Bug #32480) + +------------------------------------------------------------------- +Tue Oct 14 17:01:35 CEST 2003 - sndirsch@suse.de + +- CheckHardware: + * replaced glXIsDirect call by using GLX API (Bug #31884) + * removed glXIsDirect script + +------------------------------------------------------------------- +Tue Sep 30 12:22:11 CEST 2003 - sndirsch@suse.de + +- CheckHardware: + * new translation for it + +------------------------------------------------------------------- +Mon Sep 29 20:36:39 CEST 2003 - sndirsch@suse.de + +- CheckHardware: + * Check4SoundLibs/CheckFor3DLibs: fixed usage() output + +------------------------------------------------------------------- +Fri Sep 26 16:14:55 CEST 2003 - sndirsch@suse.de + +- GameChecker-030926.tar.bz2: + * better english texts + * new translations for cs, es, ja, sk + +------------------------------------------------------------------- +Wed Sep 24 07:46:40 CEST 2003 - sndirsch@suse.de + +- km_nvidia package / nvidia script: + * provide nv-linux.o also in precompiled form, so the new nvidia + installer (>= 1.0.4), i.e. driver (> 1.0-4496) can make use of it + (Bug #31686) + +------------------------------------------------------------------- +Sat Sep 20 09:35:21 CEST 2003 - sndirsch@suse.de + +- added mkprecompiled to filelist; required for generating + precompiled nv-linux.o later (Bug #31459) + +------------------------------------------------------------------- +Fri Sep 19 09:24:35 CEST 2003 - sndirsch@suse.de + +- install-nvidia-driver: + * check for configured kernel sources no longer required + * don't use override mechanism for nvidia module + +------------------------------------------------------------------- +Fri Sep 19 02:25:40 CEST 2003 - agruen@suse.de + +- Move /lib/modules/`uname -r`/kernel/drivers/video/ \ + nv-linux.o-1.0-4496 to /lib/modules/scripts/nvidia/`uname -r`/. + In the previous path, the object file was causing depmod errors. + (Bug #31337) + +------------------------------------------------------------------- +Thu Sep 18 20:41:17 CEST 2003 - sndirsch@suse.de + +- nvidia script: + * removed depmod call + +------------------------------------------------------------------- +Thu Sep 18 11:48:16 CEST 2003 - sndirsch@suse.de + +- nvidia script: + * adjusted options to new calling conventions of k_* packages +- set km_nvidia version to 1.0.4496 + +------------------------------------------------------------------- +Wed Sep 17 15:47:22 CEST 2003 - sndirsch@suse.de + +- nvidia script: + * adjusted options to calling conventions of k_* packages +- removed cylic requires to XFree86 + +------------------------------------------------------------------- +Tue Sep 16 16:42:21 CEST 2003 - sndirsch@suse.de + +- Makefile.module improved +- /usr/bin/link-nvidia-module --> /lib/modules/scripts/nvidia.sh +- nvidia.sh: + * /lib/modules/nvidia/nv-kernel.o --> + /lib/modules/scripts/nvidia/nv-kernel.o + +------------------------------------------------------------------- +Mon Sep 15 22:32:07 CEST 2003 - sndirsch@suse.de + +- added km_nvidia package (nvidia kernel interface) +- added link-nvidia-module; script, which links nvidia kernel + interface (nv-linux.o) and binary-only part (nv-kernel.o) to + a new nvidia kernel module + +------------------------------------------------------------------- +Fri Sep 12 13:27:12 CEST 2003 - sndirsch@suse.de + +- added Xwrapper symlink and xf86version script to work around still + existing $HOME/.xserverrc files +- renamed nvidia-installer to tiny-nvidia-installer as it conflicts + with official nvidia-installer + +------------------------------------------------------------------- +Thu Sep 11 16:52:10 CEST 2003 - sndirsch@suse.de + +- install-nvidia-driver: + * wrapper script for 'nvidia-installer' (Bug #30417) + +------------------------------------------------------------------- +Thu Sep 11 14:21:34 CEST 2003 - sndirsch@suse.de + +- nvidia-installer-1.0.2.diff: + * improved error/warning message when using nvidia-installer + without "--update" or "--help" option (Bug #30417) + +------------------------------------------------------------------- +Wed Sep 10 16:35:46 CEST 2003 - sndirsch@suse.de + +- call-browser: + * fixed script; added MozillaFirebird (Bug #30400) + +------------------------------------------------------------------- +Mon Sep 8 16:28:04 CEST 2003 - sndirsch@suse.de + +- GameChecker-030908.tar.bz2 (CheckHardware update): + * fixed i18n support + * added hungarian translation + +------------------------------------------------------------------- +Fri Sep 5 16:22:31 CEST 2003 - sndirsch@suse.de + +- added requires for XFree86 (needs mkfontscale) + +------------------------------------------------------------------- +Thu Sep 4 18:24:45 CEST 2003 - sndirsch@suse.de + +- epiphany replaced galeon + +------------------------------------------------------------------- +Sat Aug 9 12:29:08 CEST 2003 - sndirsch@suse.de + +- updated nvidia installer (1.0.1 --> 1.0.2) + +------------------------------------------------------------------- +Wed Jun 25 16:29:27 CEST 2003 - hvogel@suse.de + +- added fluxbox to wmlist + +------------------------------------------------------------------- +Thu May 29 00:02:45 CEST 2003 - sndirsch@suse.de + +- fonts-config: + * improve explanation of fc-cache in man-page + +------------------------------------------------------------------- +Sun Apr 27 23:44:45 CEST 2003 - sndirsch@suse.de + +- added nvidia installer; useful for uninstalling cleanly nvidia + driver during an update :-) + +------------------------------------------------------------------- +Sun Apr 27 14:19:59 CEST 2003 - sndirsch@suse.de + +- added 'call-browser' tool + +------------------------------------------------------------------- +Sun Apr 27 11:01:08 CEST 2003 - sndirsch@suse.de + +- fonts-config: + * We have funny font names like "!y2kbug.ttf" "It wasn't me.ttf" + "let'seat.ttf" now in free-ttf-fonts.rpm. Use some quoting to + make ftdump $font work for such fonts. + +------------------------------------------------------------------- +Wed Apr 23 15:25:28 CEST 2003 - sndirsch@suse.de + +- removed fonts.conf (now in new fontconfig package) + +------------------------------------------------------------------- +Mon Apr 14 12:23:37 CEST 2003 - sndirsch@suse.de + +- sux: + * fixed use of line option for head + +------------------------------------------------------------------- +Mon Apr 7 14:11:11 CEST 2003 - schwab@suse.de + +- Fix quoting in kroot script. + +------------------------------------------------------------------- +Mon Mar 31 21:12:31 CEST 2003 - sndirsch@suse.de + +- fixed PreReq and Requires + +------------------------------------------------------------------- +Sun Mar 30 16:23:04 CEST 2003 - sndirsch@suse.de + +- removed XftConfig; no longer required with Xft2/XFree86 4.3.0 +- removed fetchnvidiadrv; never useful +- removed fonts.html; no longer up-to-date +- removed xf86config/xf86version/xinit; no longer required as + XFree86 3.x will be dropped + +------------------------------------------------------------------- +Thu Mar 27 17:58:34 CET 2003 - sndirsch@suse.de + +- added 'sux'; removed from XFree86 package + +------------------------------------------------------------------- +Thu Mar 20 17:26:52 CET 2003 - sndirsch@suse.de + +- fonts-config: + check for fc-cache in two locations: /usr/bin/fc-cache + and /usr/X11R6/bin/fc-cache to make the same script work + on SuSE Linux 8.2 and SLEC. + +------------------------------------------------------------------- +Tue Mar 11 11:29:29 CET 2003 - sndirsch@suse.de + +- fonts-config: + make it faster by ignoring all files which already have a dot in their + name before checking with perl-File-MMagic whether it is a PostScript + font. This is only useful for PostScript fonts which don't yet have a + .pfa extension and these usually don't have dots anywhere in their + name. Doing this check for all fonts just slows fonts-config down. + +------------------------------------------------------------------- +Mon Mar 10 10:20:49 CET 2003 - mfabian@suse.de + +- fonts-config: + fc-cache creates non-empty fonts.cache-1 files for the + CID-keyed fonts, but the CID-keyed fonts don't (yet?) work with + Xft2. Force the fonts.cache-1 in the CIDFont directories to + be empty. + +------------------------------------------------------------------- +Mon Mar 10 03:03:15 CET 2003 - mfabian@suse.de + +- Bug #22846: improve fonts.conf: + * add /opt/kde3/share/fonts + * prefer "Baekmuk Gulim" before "Baekmuk Dotum" + * add "Fixed" to list of monospace faces to make "Fixed" fall + back to some monospaced font as well if no "Fixed" is available + * move mapping of PostScript families to TrueType "equivalents" + above the include of ~/.fonts.conf. + * add comment explaining how hinting can be turned off for + CJK fonts (don't enable by default, I think CJK fonts look + better with hinting) + * add rule to use "Misc Console" (or "Misc Console Wide") + instead of "console" + * add rules to prefer bitmap fonts and embedded bitmaps in + TrueType fonts which are off by default but can easily + enabled in ~/.fonts.conf + * add aliases for GB18030 fonts + * prefer "AR PL SungtiL" and "AR PL Mingti2L Big5" for + monospace over "AR PL KaitiM GB" and "AR PL KaitiM Big5" + +------------------------------------------------------------------- +Sun Mar 9 23:27:49 CET 2003 - sndirsch@suse.de + +- fonts-config: + *.bdf fonts currently don't work with Xft2, add + to @blacklist_globs to remove them from fonts.cache-1 files + +------------------------------------------------------------------- +Sun Mar 9 12:47:56 CET 2003 - sndirsch@suse.de + +- fonts-config: + * check for existance of fonts.cache-1 befor trying to open it. + +------------------------------------------------------------------- +Sat Mar 8 20:41:16 CET 2003 - sndirsch@suse.de + +- fonts-config: + * remove entries for files in @blacklist_globs from fonts.cache-1 as + well because these broken fonts don't work with Xft2 either. + * add "u003043t.gsf" and "u004006t.gsf" to @blacklist_globs + * add "/opt/kde3/share/fonts" to directory list + * check if files returned by glob() really exist. + (glob ("foo") returns "foo", even if "foo" doesn't match, glob("foo*") + returns nothing if "foo*" doesn't match). + +------------------------------------------------------------------- +Mon Mar 3 15:36:29 CET 2003 - sndirsch@suse.de + +- moved /etc/fonts/fonts.conf to this package (Bug #22846) + +------------------------------------------------------------------- +Wed Feb 26 13:08:48 CET 2003 - sndirsch@suse.de + +- the Hershey-Fonts from ghostscript-fonts-other.rpm have broken + outlines and don't work with X11, add them to the blacklist + (Bug #24272) +- removed fetchmsttfonts; should only be available via YOU + +------------------------------------------------------------------- +Fri Feb 14 23:38:57 CET 2003 - sndirsch@suse.de + +- fonts-config: + * don't create symlinks .pfa -> .gsf.pfa + +------------------------------------------------------------------- +Thu Feb 13 10:15:16 CET 2003 - sndirsch@suse.de + +- fonts-config: + * check if $DISPLAY is unset first to avoid "unitialized value in + pattern match" warning message (thanks Bernhard Kaindl). + +------------------------------------------------------------------- +Wed Feb 12 13:22:34 CET 2003 - sndirsch@suse.de + +- added openbox to wmlist + +------------------------------------------------------------------- +Mon Feb 10 21:58:53 CET 2003 - sndirsch@suse.de + +- fonts-config: + * Add "/usr/X11R6/lib/X11/fonts/encodings" to the list of font + directories to precess to ensure that a valid encodings.dir is + created there as well. luit looks for encodings.dir in that + directory. + +------------------------------------------------------------------- +Fri Feb 7 12:08:37 CET 2003 - sndirsch@suse.de + +- fonts-config: create symlinks to .pfa only if the original font + doesn't have the .pfa extension already. + +------------------------------------------------------------------- +Mon Feb 3 13:33:59 CET 2003 - sndirsch@suse.de + +- new fonts-config: + * remove all entries for file names without extension from + fonts.scale, files without extension won't work with X11 + * use perl module File::MMagic if availaible to create symlinks + if PostScript fonts in pfa format without a file name extension + are found (Foo.pfa -> Foo). + * use the "fmly", "wght", and "slant" fields from the XLFD to + generate better aliases for Qt into Fontmap.X11-auto + * fix some typos in documentation + +------------------------------------------------------------------- +Fri Jan 31 18:13:44 CET 2003 - sndirsch@suse.de + +- new fonts-config: + * generate an oblique entry if only italic is there and vice + versa (Bug #23240) + +------------------------------------------------------------------- +Wed Jan 29 18:03:17 CET 2003 - sndirsch@suse.de + +- new fonts-config: + * add extra alias if style equal 'Roman' + +------------------------------------------------------------------- +Tue Jan 28 19:13:37 CET 2003 - sndirsch@suse.de + +- new fonts-config: + * generate some aliases in ghostscript fontmap + +------------------------------------------------------------------- +Tue Jan 28 06:45:57 CET 2003 - sndirsch@suse.de + +- added wget and cabextract to 'Requires:' + +------------------------------------------------------------------- +Tue Jan 28 00:39:35 CET 2003 - sndirsch@suse.de + +- Revival of fetchmsttfonts (Bug #23142) + +------------------------------------------------------------------- +Mon Jan 27 18:47:53 CET 2003 - sndirsch@suse.de + +- updated fonts-config/SuSEconfig.fonts scripts + * don't generate ghostscript fontmap by default + +------------------------------------------------------------------- +Mon Jan 27 11:56:43 CET 2003 - sndirsch@suse.de + +- updated fonts-config script + * added "--help" and "--version" option + * creates now also a ghostscript fontmap for X11 fonts + (/usr/share/ghostscript/*/lib/Fontmap.X11-auto) + * unzip timestamps if required + +------------------------------------------------------------------- +Fri Jan 24 14:54:51 CET 2003 - sndirsch@suse.de + +- improved fonts-config script (also improved manual page) + +------------------------------------------------------------------- +Thu Jan 23 13:37:21 CET 2003 - sndirsch@suse.de + +- added SuSEconfig.fonts/fonts-config scripts + +------------------------------------------------------------------- +Tue Jan 7 11:06:16 CET 2003 - sndirsch@suse.de + +- improved kroot: initial VRoot setting is restored immediately + after starting the specified root window program + +------------------------------------------------------------------- +Fri Nov 22 15:32:14 CET 2002 - sndirsch@suse.de + +- removed mkfontscale (now in XFree86 package) + +------------------------------------------------------------------- +Wed Oct 30 11:43:50 CET 2002 - sndirsch@suse.de + +- new script 'glXIsDirect' for verifying 3D +- latest CheckHardware sources (GameChecker-021030.tar.bz2) + * integrated patches (GameChecker.diff, GameChecker2.diff) + * verify 3D now with new script 'glXIsDirect' +- removed 'fetchnvidiadrv' from filelist + +------------------------------------------------------------------- +Thu Oct 24 14:48:38 CEST 2002 - sndirsch@suse.de + +- added fetchnvidiadrv: script for downloading and installing + nvidia drivers + +------------------------------------------------------------------- +Thu Sep 12 18:53:12 CEST 2002 - sndirsch@suse.de + +- fixed dcop path in kroot (Bug #19582) + +------------------------------------------------------------------- +Wed Sep 11 14:39:05 CEST 2002 - sndirsch@suse.de + +- new XftConfig: + * added fallback fonts for cjk (Bug #19424) + +------------------------------------------------------------------- +Thu Sep 5 18:54:41 CEST 2002 - sndirsch@suse.de + +- GameChecker2.diff: + * fixed timing bug between app.exit() and execution of the base + application (Bug #18935) + +------------------------------------------------------------------- +Thu Aug 29 17:26:04 CEST 2002 - sndirsch@suse.de + +- fixed order in wmlist (Bug #18550) +- removed cabextract + +------------------------------------------------------------------- +Thu Aug 29 11:55:42 CEST 2002 - sndirsch@suse.de + +- GameChecker.diff: + * do not run program as child. The missing controlling terminal + for backgrounded processes will not allow console based + applications to work (Bug #16562) + +------------------------------------------------------------------- +Tue Aug 27 18:50:18 CEST 2002 - sndirsch@suse.de + +- fixed numlock program: KeyRelease event was missing + +------------------------------------------------------------------- +Fri Aug 16 22:24:19 CEST 2002 - sndirsch@suse.de + +- adjusted fetchmsttfonts: simply prints a message, that MS + discontinued the Web fonts program +- removed fetchmsttfonts.sh +- removed w3m 'require' + +------------------------------------------------------------------- +Tue Aug 6 14:05:48 CEST 2002 - sndirsch@suse.de + +- updated to GameChecker-020806.tar.bz2: + * now also allows "--help" as command argument; + example: CheckHardware /bin/ls --help + +------------------------------------------------------------------- +Thu Aug 1 19:05:56 CEST 2002 - sndirsch@suse.de + +- added 'PreReq:' + +------------------------------------------------------------------- +Wed Jul 10 09:42:04 CEST 2002 - sndirsch@suse.de + +- added 'gnome2' to wmlist + +------------------------------------------------------------------- +Fri Jul 5 15:45:22 CEST 2002 - sndirsch@suse.de + +- added xinit and xf86config scripts; therefore switch2xf86-3x + resp. switch2xf86-4 of package xf86 are no longer required + +------------------------------------------------------------------- +Mon Jun 24 10:58:50 CEST 2002 - sndirsch@suse.de + +- added xwinswitch (xwin.tar.gz) by Ludwig Nussel ; + useful for switching to the resolution, which is required by the + selected application window + +------------------------------------------------------------------- +Tue Jun 11 10:39:29 CEST 2002 - sndirsch@suse.de + +- added numlock program to toggle numlock state (on/off) (Bug #7391) + +------------------------------------------------------------------- +Sun Jun 9 20:45:30 CEST 2002 - olh@suse.de + +- use suse_update_config, use lib64 on ppc64 + +------------------------------------------------------------------- +Sun May 19 19:47:52 CEST 2002 - sndirsch@suse.de + +- replaced ttmkfdir with mkfontscale in fetchmsttfonts + +------------------------------------------------------------------- +Sat May 18 16:21:23 CEST 2002 - sndirsch@suse.de + +- added mkfontscale; likely will replace ttmkfdir + +------------------------------------------------------------------- +Wed May 15 14:47:44 CEST 2002 - sndirsch@suse.de + +- updated to release 020515; integrates the patches: + * GameChecker-lib64.patch + * GameChecker-xauth.diff + * GameChecker.diff + * GameChecker2.diff +- enabled build of CheckHardware for s390/s390x (again) +- splitted package in xf86tools/CheckHardware + +------------------------------------------------------------------- +Tue May 7 14:35:48 CEST 2002 - meissner@suse.de + +- %_lib fixes + +------------------------------------------------------------------- +Sun Mar 31 00:18:20 CET 2002 - sndirsch@suse.de + +- disabled build of 'CheckHardware' for s390/s390x; S/390 does not + have any sound or 3D capabilities + +------------------------------------------------------------------- +Thu Mar 21 12:44:20 CET 2002 - sndirsch@suse.de + +- GameChecker-xauth.diff: + * fixed xauth problem: If CheckHardware create an QApplication object + this is handled as X11 client if this client replaces itself with + a new client it may happen that the parent client still exist under + the same authorization than the parent which is not allowed in terms + of security. We will exit the application object in front of the execvp + call and will fork() a new process for the calling application to be + sure not to run into an access problem. + +------------------------------------------------------------------- +Mon Mar 18 12:46:43 CET 2002 - sndirsch@suse.de + +- GameChecker2.diff + * fixed return value handling from system() call + * now also commands without full specified path are allowed for + generic 'GameWrapper' + * allow program names with '-' sign in it + * fixed spacing of button texts + * adapt gettext keys to currently used en_US translation + * adapt .po files for all languages according to the new gettext keys + * fixed segfault while allocating memory for baseName + * some cleanups + +------------------------------------------------------------------- +Sun Mar 17 19:56:04 CET 2002 - sndirsch@suse.de + +- GameChecker.diff: + * fixes option parsing of 'CheckHardware' + * better texts for warnings of 'CheckHardware' + +------------------------------------------------------------------- +Sat Mar 16 10:22:04 CET 2002 - sndirsch@suse.de + +- added Wrapper for starting games (checks for sound and 3D) + +------------------------------------------------------------------- +Wed Mar 13 10:50:05 CET 2002 - sndirsch@suse.de + +- added including of greek XftConfig (located in package xfntgreek) + to XftConfig + +------------------------------------------------------------------- +Thu Feb 28 17:01:29 CET 2002 - sndirsch@suse.de + +- fixed Bug #14104 + * replaced lynx with w3m + * added "Requires: w3m" + +------------------------------------------------------------------- +Fri Feb 15 18:30:19 CET 2002 - sndirsch@suse.de + +- removed aliases for "Lucidux Mono/Sans/Serif" (trademark issue) + +------------------------------------------------------------------- +Wed Feb 13 18:17:49 CET 2002 - sndirsch@suse.de + +- give the user a note to exit from less with 'q' + +------------------------------------------------------------------- +Thu Feb 7 10:13:18 CET 2002 - sndirsch@suse.de + +- updated to cabextract 0.5 +- adjusted params of cabextract in fetchmsttfonts ("-v" is now "-l") +- use now SuSEconfig in fetchmsttfonts to create fonts.scale/fonts.dir + files + +------------------------------------------------------------------- +Wed Jan 30 16:44:33 CET 2002 - sndirsch@suse.de + +- added fallbacks if MS fonts are not installed +- added font test webpage + +------------------------------------------------------------------- +Sat Jan 26 18:38:53 CET 2002 - sndirsch@suse.de + +- XftConfig: + * added fallback to Luxi Sans/Serif/Mono fonts, if MS fonts are + not available + * added rules for sub-pixeling hinting and excluded pt range for + antialiasing (both rules are commented out) + +------------------------------------------------------------------- +Wed Jan 23 11:16:23 CET 2002 - sndirsch@suse.de + +- removed files for latvian support (never really worked); should + be done via KDE Control center for the future + +------------------------------------------------------------------- +Thu Jan 17 19:21:22 CET 2002 - sndirsch@suse.de + +- added path to ghostscript Type1 fonts (URW) + +------------------------------------------------------------------- +Tue Jan 8 20:46:25 CET 2002 - sndirsch@suse.de + +- added fallback to "Luxi Mono" for monospaced font requests; + fixes "konsole" AA font problem (made it unusable), if no MS TT + fonts are installed + +------------------------------------------------------------------- +Wed Dec 19 22:38:14 CET 2001 - sndirsch@suse.de + +- fetchmsttfonts now creates a fonts.scale.msttfonts file only for + the TTF files, which are fetched; no duplicate entries any more + in fonts.scale + +------------------------------------------------------------------- +Thu Dec 13 09:45:54 CET 2001 - sndirsch@suse.de + +- better kroot script: vroot will only be false when kdesktop is + running and when VRoot was not set already. We don't need to do + anything if either KDesktop isn't running or VRoot was set + already. + +------------------------------------------------------------------- +Wed Dec 12 17:05:12 CET 2001 - sndirsch@suse.de + +- added wrapper (kroot) for starting X11 programs, which make use + of root window feature, also with KDE 2 + +------------------------------------------------------------------- +Tue Nov 20 14:54:04 CET 2001 - mfabian@suse.de + +- sawmill -> sawfish in wmlist + +------------------------------------------------------------------- +Fri Nov 16 13:55:42 CET 2001 - sndirsch@suse.de + +- added XftConfig; removed from package xf86 to be able to update + it easier + +------------------------------------------------------------------- +Wed Sep 5 11:32:28 CEST 2001 - sndirsch@suse.de + +- removed options "--passive" and "--user-agent" in $WGET_OPTIONS +- lynx is now used for testing of existing EULA instead of wget + (wget can't fetch EULA any more!) + +------------------------------------------------------------------- +Tue Jul 31 14:27:03 CEST 2001 - sndirsch@suse.de + +- replaced 'xfwm' with 'XFce' in 'wmlist' (change request by + nadvornik@suse.cz) + +------------------------------------------------------------------- +Fri Jul 20 07:13:57 CEST 2001 - sndirsch@suse.de + +- moved 'wmlist' script from package susewm to package xf86tools + +------------------------------------------------------------------- +Wed Jul 18 13:06:43 CEST 2001 - cstein@suse.de + +- added 'xsplash' to wmlist and changed year in file header to 2001 + +------------------------------------------------------------------- +Fri Jun 22 22:41:32 CEST 2001 - sndirsch@suse.de + +- better error handling in latvian (un)install scripts + +------------------------------------------------------------------- +Tue Jun 19 15:59:19 CEST 2001 - sndirsch@suse.de + +- added fetchmsttfonts.sh for KDE menu + +------------------------------------------------------------------- +Mon Jun 18 18:28:57 CEST 2001 - sndirsch@suse.de + +- fetchmsttfonts: print error message if there are problems with + fetching archives +- added keyboard layout support for latvian: + * xkb layout files + * addition to compose table + * install/uninstall skript for enabling/disabling latvian support + (patches XF86Config + Compose table) + * README.SuSE + +------------------------------------------------------------------- +Wed May 16 22:46:06 CEST 2001 - sndirsch@suse.de + +- rewritten fetchmsttfonts to use cabextract instead of unzip, so + that the more recent TT Fonts for Windows 9x/NT/2000 can be used +- added cabextract tool, required for new fetchmsttfonts + +------------------------------------------------------------------- +Fri Apr 6 12:41:10 CEST 2001 - sndirsch@suse.de + +- rewritten xf86version ("X -version" is now used to get xf86 version) + +------------------------------------------------------------------- +Fri Mar 30 15:25:47 CEST 2001 - sndirsch@suse.de + +- created package + diff --git a/x11-tools.spec b/x11-tools.spec new file mode 100644 index 0000000..57d690f --- /dev/null +++ b/x11-tools.spec @@ -0,0 +1,103 @@ +# +# spec file for package x11-tools +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + +Name: x11-tools +Requires(post): %fillup_prereq +Provides: 3ddiag +Provides: xf86tools +Obsoletes: 3ddiag +Obsoletes: xf86tools +Version: 0.1 +Release: 0 +Summary: Tools for the X Window System +License: GPL-2.0-or-later AND MIT +Group: System/X11/Utilities +Source2: xf86debug +Source31: xim +Source32: xim.template +Source33: none +Source34: sysconfig.language-%{name} +Source35: nvidia-pre-install +Source36: nvidia-post-uninstall +Source37: i18n.template +BuildArch: noarch + +%description +Some useful tools for the X Window System. + +%prep + +%build + +%install +mkdir -p %{buildroot}/usr/bin/ +install -m 755 %{_sourcedir}/xf86debug %{buildroot}/usr/bin +%if 0%{?suse_version} >= 1550 +mkdir -p %{buildroot}/usr/etc/skel +install -m 644 %{_sourcedir}/xim.template %{buildroot}/usr/etc/skel/.xim.template +install -m 644 %{S:37} %{buildroot}/usr/etc/skel/.i18n +mkdir -p %{buildroot}/%{_distconfdir}/X11/xim.d +install -m 644 %{_sourcedir}/xim %{buildroot}/%{_distconfdir}/X11 +install -m 644 %{_sourcedir}/none %{buildroot}/%{_distconfdir}/X11/xim.d +%else +mkdir -p %{buildroot}/etc/skel +install -m 644 %{_sourcedir}/xim.template %{buildroot}/etc/skel/.xim.template +install -m 644 %{S:37} %{buildroot}/etc/skel/.i18n +mkdir -p %{buildroot}/etc/X11/xim.d +install -m 644 %{_sourcedir}/xim %{buildroot}/etc/X11 +install -m 644 %{_sourcedir}/none %{buildroot}/etc/X11/xim.d +%endif +mkdir -p %{buildroot}/%{_fillupdir}/ +install -c -m 644 %{_sourcedir}/sysconfig.language-%{name} %{buildroot}/%{_fillupdir}/ +mkdir -p %{buildroot}/usr/lib/nvidia +install -m 755 %{_sourcedir}/nvidia-pre-install \ + %{buildroot}/usr/lib/nvidia/pre-install +install -m 755 %{_sourcedir}/nvidia-post-uninstall \ + %{buildroot}/usr/lib/nvidia/post-uninstall + +%post +%{fillup_only -an language} + +%files +%dir /usr/lib/nvidia +/usr/bin/xf86debug +/usr/lib/nvidia/pre-install +/usr/lib/nvidia/post-uninstall +%if 0%{?suse_version} >= 1550 +%dir /usr/etc/skel +/usr/etc/skel/.i18n +/usr/etc/skel/.xim.template +%{_distconfdir}/X11 +%{_distconfdir}/X11/xim +%dir %{_distconfdir}/X11/xim.d +%{_distconfdir}/X11/xim.d/* +%else +/etc/skel/.i18n +/etc/skel/.xim.template +/etc/X11/xim +%dir /etc/X11/xim.d +/etc/X11/xim.d/* +%endif +%{_fillupdir}/sysconfig.language-%{name} + +%changelog diff --git a/xf86debug b/xf86debug new file mode 100644 index 0000000..766843d --- /dev/null +++ b/xf86debug @@ -0,0 +1,49 @@ +#!/bin/sh + +if [ "`id -u`" != "0" ]; then + echo "You must be root to use this program!" + exit 0 +fi + +if ! test -x /usr/bin/gdb; then + echo "gdb (package gdb, series d) must be installed before running this program!" + exit 0 +fi + +# It is recommended to also have installed the following debuginfo packages: +# freetype2-debuginfo +# xorg-x11-libXau-debuginfo +# xorg-x11-libXdmcp-debuginfo +# xorg-x11-fontenc-debuginfo +# xorg-x11-libs-debuginfo +# xorg-x11-driver-video-debuginfo +# xorg-x11-driver-input-debuginfo +# xorg-x11-server-debuginfo + +tmpfile=`mktemp /tmp/xf86debug.XXXXXXXXXX` + +# generate core file +ulimit -c unlimited +corefile=`mktemp /tmp/core.Xorg.XXXXXXXXXX` + +echo -n "Starting X Server in Debugger ... " +gdb < $tmpfile 2>&1 +file /usr/bin/Xorg +set args ${1+"$@"} +handle SIGUSR1 nostop +handle SIGUSR2 nostop +handle SIGPIPE nostop +run +generate-core-file $corefile +bt full +cont +quit +EOF +echo "done" + +echo "Debugger output written to $tmpfile." +if [ -s $corefile ]; then + echo "Core file written to $corefile." +else + rm $corefile +fi diff --git a/xim b/xim new file mode 100644 index 0000000..fb9f2dd --- /dev/null +++ b/xim @@ -0,0 +1,251 @@ +#!/bin/bash +# +# $Id: xim,v 1.28 2004/12/07 11:04:59 mfabian Exp $ +# +# Copyright © 2001 SUSE LINUX GmbH Nuernberg, Germany +# +# Mike Fabian , 2000, 2001, 2002, 2004, 2005, 2006, 2007 +# Werner Fink , 2007 +# +# This program comes with ABSOLUTELY NO WARRANTY; it may be copied or modified +# under the terms of the GNU General Public License version 2 as published by +# the Free Software Foundation. + + +# usually, {/usr,}/etc/X11/xim is used to start a default input method. + +# If want to change the default, you have the following options: +# +# 1) Set the variable INPUT_METHOD in /etc/sysconfig/language. +# For example: +# INPUT_METHOD="scim" +# This changes the default for all users +# 2) set and export the variable "INPUT_METHOD" in ~/.i18n in the +# home directory of a user. +# For example: +# export INPUT_METHOD="scim" +# This changes the default only for one user. +# +# The possible values for the variable INPUT_METHOD are the names +# of the scripts which exist in the directory {/usr,}/etc/X11/xim.d/ +# for example if a script {/usr,}/etc/X11/xim.d/scim exists, +# and INPUT_METHOD is set to "scim", this script will be tried first +# to start an input method and only if this fails other input methods +# will be tried. +# +# 3) If you don't like the behaviour of any of the available +# scripts in {/usr,}/etc/X11/xim.d, you can write your own script +# containing the necessary lines to start your preferred input +# method and save it as ~/.xim. If a file ~/.xim exists, only +# this file is sourced to start an input method and nothing +# else. +# Usually you need only a few lines, the systemwide +# file to start an input method, {/usr,}/etc/X11/xim, is only so +# complicated because it tries to find a nice default depending +# on the language and the installed input methods. +# +# For example, if you want to use "scim" as your input method, +# it is enough to have the following 5 lines (and nothing else) +# in your ~/.xim file: + +# export XMODIFIERS="@im=SCIM" +# export GTK_IM_MODULE=scim +# export QT_IM_SWITCHER=imsw-multi +# export QT_IM_MODULE=scim +# scim -d + +echo "$0: Checking whether an input method should be started." + +# +# Get variables from the user environment which might influence the start +# of an input method (see bug #235044, written by Werner Fink ): +# + +adduserenv () { + local cur var=${1+"$@"} + : ${HOSTNAME:=$(hostname)} + # Use ~/.i18n + if test -e "$HOME/.i18n"; then + echo "$0: Checking whether an input method is specified in $HOME/.i18n." + eval $(set +u +e + if [ -r /etc/profile.d/lang.sh ]; then + . /etc/profile.d/lang.sh < /dev/null > /dev/null 2>&1 + elif [ -r /usr/etc/profile.d/lang.sh ]; then + . /usr/etc/profile.d/lang.sh < /dev/null > /dev/null 2>&1 + fi + for cur in $var; do + test -n "${!cur}" && echo export $cur=${!cur} + done) + return + fi + # Fall back to ~/.profile or ~/.login + case "$SHELL" in + */sh|*/ash|*/bash|*/ksh|*/mksh|*/pdksh|*/zsh) + if test -s "$HOME/.profile" ; then + echo "$0: Checking whether an input method is specified in $HOME/.profile." + eval $(export HOSTNAME + (echo . "'$HOME/.profile' < /dev/null > /dev/null 2>&1" + echo "set +u +e" + for cur in $var; do + echo echo \${$cur+"$cur=\$$cur;"} + done + echo echo export $var) | $SHELL) + fi + ;; + */csh|*/tcsh) + if test -s "$HOME/.login" ; then + echo "$0: Checking whether an input method is specified in $HOME/.login." + eval $(export HOSTNAME + (echo onintr - + echo source "'$HOME/.login' < /dev/null >& /dev/null" + echo unset verbose + for cur in $var; do + echo if \( \${?$cur} \) echo $cur=\`printenv $cur\` + done + echo echo export $var) | $SHELL) + fi + ;; + esac +} + +# workaround for bnc#853063 +# activate/deactivate g-s-d keyboard plugin depending on IM +gnome_ibus_workaround () { + local im=$1 + im=${im##*/} + im=${im#[0-9][0-9]-} + test "$im" = "none" && return + windowmanager=${WINDOWMANAGER##*/} + windowmanager=${windowmanager%-*} + if [ "$windowmanager" = "gnome" ]; then + local active + if [ "$im" = "ibus" ]; then + active=true + else + active=false + fi + gsettings set org.gnome.settings-daemon.plugins.keyboard active $active + fi +} + +# if gdm passes the language to Xsession, we should not override this +# see http://bugzilla.novell.com/show_bug.cgi?id=440371 +# The test for $GDM_LANG needs to be changed slightly as soon as other +# displaymanager also pass a second argument to Xsession. +if test -n "$GDM_LANG" ; then + echo "$0: use GDM_LANG=$GDM_LANG" + adduserenv INPUT_METHOD +else + adduserenv LANG LC_CTYPE LC_ALL INPUT_METHOD +fi + +# if INPUT_METHOD is already set to something non-empty here, the user should +# set it in ~/.i18n or in ~/.profile or ~/.login or on the command line before +# using startx. In that case, don't read the system wide default from +# /etc/sysconfig/language, use the user supplied value instead: +if [ -z "$INPUT_METHOD" ] ; then + echo "sourcing /etc/sysconfig/language to get the value of INPUT_METHOD" + . /etc/sysconfig/language +fi + +if [ "$INPUT_METHOD" != "" ]; then + echo "INPUT_METHOD is set to $INPUT_METHOD." + echo "Trying to start this user selected input method first ..." + if [ -r "/etc/X11/xim.d/$INPUT_METHOD" ] ; then + echo "sourcing /etc/X11/xim.d/$INPUT_METHOD" + . /etc/X11/xim.d/$INPUT_METHOD + if [ "$?" = "0" ]; then + echo "Start of $INPUT_METHOD succeeded." + gnome_ibus_workaround $INPUT_METHOD + return 0; + else + echo "Start of $INPUT_METHOD failed." + fi + elif [ -r "/usr/etc/X11/xim.d/$INPUT_METHOD" ] ; then + echo "sourcing /usr/etc/X11/xim.d/$INPUT_METHOD" + . /usr/etc/X11/xim.d/$INPUT_METHOD + if [ "$?" = "0" ]; then + echo "Start of $INPUT_METHOD succeeded." + gnome_ibus_workaround $INPUT_METHOD + return 0; + else + echo "Start of $INPUT_METHOD failed." + fi + else + echo "{/usr,}/etc/X11/xim.d/$INPUT_METHOD does not exist." + fi +else + echo "INPUT_METHOD is not set or empty (no user selected input method)." +fi + +# Determine the LC_CTYPE locale category setting +tmplang=${LC_ALL-${LC_CTYPE-${LANG-en_US}}} + +echo "Trying to start a default input method for the locale $tmplang ..." + +subdirlist=$tmplang +while [ "$tmplang" != "${tmplang%[_.@]*}" ] +do + tmplang=${tmplang%[_.@]*} + subdirlist="$subdirlist $tmplang" +done + +im_failed=0 + +for subdir in $subdirlist ; do + if [ -d /etc/X11/xim.d/$subdir ] ; then + echo "Checking for a default input method in /etc/X11/xim.d/$subdir/" + for im in /etc/X11/xim.d/$subdir/* ; do + if [ -r $im ] ; then + echo "sourcing $im ..." + . $im + if [ "$?" = "0" ]; then + echo "$im started sucessfully" + gnome_ibus_workaround $im + return 0 + else + echo "$im failed" + im_failed=1 + fi + fi + done + fi +done + +for subdir in $subdirlist ; do + if [ -d /usr/etc/X11/xim.d/$subdir ] ; then + echo "Checking for a default input method in /usr/etc/X11/xim.d/$subdir/" + for im in /usr/etc/X11/xim.d/$subdir/* ; do + if [ -r $im ] ; then + echo "sourcing $im ..." + . $im + if [ "$?" = "0" ]; then + echo "$im started sucessfully" + gnome_ibus_workaround $im + return 0 + else + echo "$im failed" + im_failed=1 + fi + fi + done + fi +done + + +if [ "$im_failed" = 0 ] ; then + echo "There is no default input method for the current locale." +else + echo "All default input methods tried for the current locale failed." +fi + +# If there is no default input method for the current locale, source +# the dummy input method "none" to get reasonable default settings +# of the relevant environment variables: + +if [ -r /etc/X11/xim.d/none ]; then + . /etc/X11/xim.d/none +elif [ -r /usr/etc/X11/xim.d/none ]; then + . /usr/etc/X11/xim.d/none +fi + diff --git a/xim.template b/xim.template new file mode 100644 index 0000000..135e984 --- /dev/null +++ b/xim.template @@ -0,0 +1,48 @@ +#!/bin/sh +# +# Copyright © 2001 SUSE LINUX GmbH Nuernberg, Germany +# +# Mike Fabian , 2005 +# Egbert Eich , 2015 + +# usually, /etc/X11/xim is used to start a default input method. + +# If want to change the default, you have the following options: +# +# 1) Set the variable INPUT_METHOD in /etc/sysconfig/language. +# For example: +# INPUT_METHOD="scim" +# This changes the default for all users +# 2) set and export the variable "INPUT_METHOD" in ~/.i18n in the +# home directory of a user. +# For example: +# export INPUT_METHOD="scim" +# This changes the default only for one user. +# +# The possible values for the variable INPUT_METHOD are the names +# of the scripts which exist in the directory /etc/X11/xim.d/ +# for example if a script /etc/X11/xim.d/scim exists, +# and INPUT_METHOD is set to "scim", this script will be tried first +# to start an input method and only if this fails other input methods +# will be tried. +# +# 3) If you don't like the behaviour of any of the available +# scripts in /etc/X11/xim.d, you can write your own script +# containing the necessary lines to start your preferred input +# method and save it as ~/.xim. If a file ~/.xim exists, only +# this file is sourced to start an input method and nothing +# else. +# Usually you need only a few lines, the systemwide +# file to start an input method, /etc/X11/xim, is only so +# complicated because it tries to find a nice default depending +# on the language and the installed input methods. +# +# For example, if you want to use "scim" as your input method, +# it is enough to have the following 5 lines (and nothing else) +# in your ~/.xim file: + +# export XMODIFIERS="@im=SCIM" +# export GTK_IM_MODULE=scim +# export QT_IM_SWITCHER=imsw-multi +# export QT_IM_MODULE=scim +# scim -d