xkeyboard-config/xkeyboard-config.spec

384 lines
14 KiB
RPMSpec
Raw Normal View History

#
# spec file for package xkeyboard-config (Version 1.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: xkeyboard-config
BuildRequires: intltool perl-XML-Parser xorg-x11
Url: http://www.freedesktop.org/Software/XKeyboardConfig
License: GPL v2 or later; LGPL v2.1 or later; X11/MIT
Group: System/X11/Utilities
Requires: xorg-x11
Provides: xorg-x11:/etc/X11/xkb/symbols/us XFree86:/etc/X11/xkb/symbols/us
PreReq: /bin/ln /bin/rm
AutoReqProv: on
Version: 1.3
Release: 31
Summary: The X Keyboard Extension
Source: %name-%version.tar.bz2
Patch4: xkeyboard-config.mainline-cvs.mac-es.patch
Patch9: tp-menu.diff
Patch40: xkeyboard-config.macintosh.patch
Patch100: p_suse.diff
Patch101: ibm_space_saver.diff
Patch103: xkeyboard-config.powerbook-usb-iso-keyboard.patch
Patch104: xkeyboard-config.inet.patch
Patch106: microsoftnek4k.diff
Patch107: microsoftnek4k-symbols.diff
Patch108: microsoftnek4k-keycodes.diff
Patch109: disable-2xalt_2xctrl-toggle.diff
Patch110: MDSW-change-keycode.diff
Patch111: unknown-keysym.diff
Patch112: ucw_suse.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
The X Keyboard Extension essentially replaces the core protocol
definition of keyboard. The extension makes possible to clearly and
explicitly specify most aspects of keyboard behaviour on per-key basis
and to more closely track the logical and physical state of the
keyboard. It also includes a number of keyboard controls designed to
make keyboards more accessible to people with physical impairments.
Authors:
--------
Ivan Pascal <pascal@info.tsu.ru>
Sergey V. Udaltsov <svu@users.sourceforge.net>
%prep
%setup -q
%patch4
### wrong approach (Bug #302099)
#%patch9
%patch40
%patch100
%patch101
%patch103
%patch104
%patch106
%patch107
%patch108
%patch109 -p1
%patch110
%patch111
%patch112 -p1
%build
%configure --with-xkb-rules-symlink=xfree86,xorg \
--with-xkb-base=/usr/share/X11/xkb \
--enable-compat_rules \
--disable-xkbcomp-symlink
rm -f */*.dir
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/var/lib/xkb
ln -snf /usr/bin/xkbcomp $RPM_BUILD_ROOT/usr/share/X11/xkb/xkbcomp
# Bug 335553
mkdir -p $RPM_BUILD_ROOT/var/lib/xkb/compiled/
ln -snf /var/lib/xkb/compiled/ $RPM_BUILD_ROOT/usr/share/X11/xkb/compiled
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS COPYING README docs/HOWTO.* docs/README.*
%dir /var/lib/xkb
%dir /var/lib/xkb/compiled
/usr/share/X11/xkb/
%changelog
* Mon Sep 15 2008 sndirsch@suse.de
- ucw_suse.diff
* For a long time (~10 years) UCW keyboard layout is used by
many Czech people. It is a trivial configuration change not
affecting anything else (no other dependencies) but a big help
for many Czech programmers. (Milan Vancura)
* Sun Jul 20 2008 sndirsch@suse.de
- xkeyboard-config 1.3
* Around 40 bugs from freedesktop.org bugzilla were fixed. Dropped
old rulesets sgi and sun. Added a lot of metadata, related to
countries and languages.
- obsoletes lv.diff
* Mon Jul 07 2008 sndirsch@suse.de
- reverted previous patch, which was wrong (bnc #405055)
* Wed Jul 02 2008 sndirsch@suse.de
- cz_sk-dropKPDL.diff
* drop KPDL from cz/sk keyboard layout (bnc #405055, bfo #14479)
* Fri May 16 2008 sndirsch@suse.de
- unknown-keysym.diff
* don't map a key to an unknown keysym (bnc #391341)
* Thu May 15 2008 sndirsch@suse.de
- MDSW-change-keycode.diff
* change keycode for virtual <MDSW> key (bnc #389943)
* Tue May 13 2008 sndirsch@suse.de
- disable-2xalt_2xctrl-toggle.diff
* disable Ctrl-Ctrl and Alt-Alt toggle (bnc #373197)
* Fri Apr 04 2008 sndirsch@suse.de
- keyboard layout switching is now also possible as root (bnc #335553)
* Mon Mar 10 2008 sndirsch@suse.de
- fixed keycodes of MS nek4k (bnc #366515)
* Mon Mar 10 2008 sndirsch@suse.de
- more work on support for MS nek4k
* Sun Mar 09 2008 sndirsch@suse.de
- added support for 'Microsoft Natural Ergonomic Keyboard 4000'
(bnc #366515)
* Tue Mar 04 2008 sndirsch@suse.de
- lv.diff
* fixed accented characters in latvian keyboard layout
(bnc #366362, bfo #14756)
* Wed Jan 30 2008 sndirsch@suse.de
- xkeyboard-config 1.2
* Some bugs are fixed (26), new layouts/models as usual. A lot of
code from OLPC is committed.
The important change is the new translation schema. Now,
base.xml does not contain all translations (which made it huge).
Instead, it contains only English strings. The .gmo files are
installed as a part of the installation process. It is up to
the applications/libs (libxklavier) to invoke gettext functions
at runtime - using the "xkeyboard-config" domain.
* Sat Sep 29 2007 sndirsch@suse.de
- xkeyboard-config 1.1
* some bug fixes (27)
* new layouts/models
* Sat Aug 25 2007 sndirsch@suse.de
- reverted tp-menu.diff (wrong approach, Bug #302099)
* Thu Jul 12 2007 sndirsch@suse.de
- xkeyboard-config 1.0
* It is about 9 months since 0.9 - and here goes 1.0. There is
nothing special big and special about that release, it is
rather "0.9 + 0.1" than "1.0" release. Around 70 bugs from
freedesktop.org bugzilla were fixed. The largest user-visible
change is elimination of the word "group" in base.xml - it is
replaced with "layout". This makes UIs using those strings
easier to perceive.
- removed obsolete patches
* xkeyboard-config.mainline-cvs.group.patch
* xkeyboard-config.mainline-cvs.il.patch
* xkeyboard-config.mainline-cvs.it.patch
* xkeyboard-config.mainline-cvs.level3.patch
* xkeyboard-config.mainline-cvs.mac-euro.patch
* xkeyboard-config.mainline-cvs.mac-us.patch
* xkeyboard-config.mainline-cvs.trans.patch
* xkeyboard-config.mainline-cvs.us-backslash.patch
- adjusted patches
* p_suse.diff
* xkeyboard-config.inet.patch
* xkeyboard-config.macintosh.patch
* xkeyboard-config.mainline-cvs.mac-es.patch
* Tue May 22 2007 sndirsch@suse.de
- tp-menu.diff:
* add mapping for Menu key on new Thinkpads like T60 (Bug #253397)
* Mon May 21 2007 sndirsch@suse.de
- xkeyboard-config.mainline-cvs.us-backslash.patch:
* backslash needs to be explicitely set in us (Bug #275561)
* Sun May 13 2007 sndirsch@suse.de
- xkeyboard-config.mainline-cvs.il.patch:
* fixed mapping for "|" symbol in hebrew layout (Bug #273712)
* Sat Apr 28 2007 schwab@suse.de
- Fix unknown keysym in inet(cymotionlinux).
- Fix keycode for KP_Equal in inet(apple).
* Sun Apr 08 2007 schwab@suse.de
- Regenerate *.dir files.
- Reduce build requirements.
* Sat Feb 03 2007 sndirsch@suse.de
- removed braindead cz-basic-bksl.diff again (Bugs #215359/#241824);
use variant bksl/qwerty_bksl for cz keyboard layout instead
* Wed Nov 15 2006 sndirsch@suse.de
- xkeyboard-config.mainline-cvs.trans.patch:
* updated Hungarian translations (Bug #8996)
* Fri Oct 27 2006 olh@suse.de
- disable apple:badmap/apple:goodmap for Powerbooks with built-in
USB ISO keyboard. The kernel delivers the correct keys now
* Fri Oct 27 2006 sndirsch@suse.de
- cz-basic-bksl.diff:
* fixes backslash/bar on czech keyboard (Bug #215359)
* Tue Oct 17 2006 olh@suse.de
- update mac/es, add euro to mac/us and mac/dk
* Tue Oct 17 2006 olh@suse.de
- more fixes from cvs, restore previous macintosh behaviour
* Tue Oct 17 2006 olh@suse.de
- fix symbols on macintosh
* Tue Oct 10 2006 sndirsch@suse.de
- updated to release 0.9:
* Around 80 bugs from freedesktop.org bugzilla are fixed.
* New layouts/models/translations are introduced.
* Macintosh layouts are heavily redesigned (big thangs to Denis
Barbier).
- adjusted ibm_space_saver.diff, p_suse.diff
- obsoletes ISO_Level5.diff, c300.diff, logitech.diff, ralt.diff,
xkeyboard-config_korean.diff
- disabled p_macintosh-kb.diff since it no longer applies due to
radical changes for Macintosh layout (see above); hopefully it's
no longer required ...
* Tue Aug 01 2006 sndirsch@suse.de
- added xorg-x11 to Requires/BuildRequires to fix build
- cleanup
* Fri Jul 28 2006 sndirsch@suse.de
- use "-fno-strict-aliasing"
* Thu Jul 27 2006 sndirsch@suse.de
- added support for inet keys on Acer C300 Laptop (dsieben)
(fd.o Bug #7651)
* Tue Jul 25 2006 sndirsch@suse.de
- adjusted for X.Org 7
* Sat Jun 24 2006 sndirsch@suse.de
- logitech.diff:
* removed double entry for XF86AudioRaiseVolume (Bug #181118)
* Wed Jun 14 2006 sndirsch@suse.de
- use explicit hexadecimal values instead of XK_ISO_Level5 defines;
makes changes in X.Org unnecessary (Bug #158951, X.Org Bug #4411)
* Sat Jun 10 2006 sndirsch@suse.de
- ISO_Level5.diff:
* obsoletes ca_multi.diff (Bug #158951, X.Org Bug #4411)
* Fri Jun 09 2006 sndirsch@suse.de
- ca_multi.diff:
* added support for "Canada - Multilingual" keyboard (Bug #158951)
* Sat Apr 15 2006 sndirsch@suse.de
- updated to release 0.8
* obsoletes khmer.diff, numlock-scrollLock.diff
* Sat Mar 25 2006 sndirsch@suse.de
- ralt.diff:
* addresses RAlt problems (Bug #158177, Ubuntu #35845)
* Mon Mar 20 2006 sndirsch@suse.de
- xkeyboard-config_korean.diff:
* korean keyboard layout (Bug #87443, freedesktop Bug #6323)
* Mon Feb 13 2006 sndirsch@suse.de
- added missing xorg rules symlinks (Bug #150245)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 sndirsch@suse.de
- numlock-scrollLock.diff:
* fix for Numlock/ScrollLock problem (X.Org Bug #5635)
* Mon Jan 16 2006 sndirsch@suse.de
- khmer.diff:
* adds khmer keyboard support (Bug #143348)
* Wed Jan 04 2006 sndirsch@suse.de
- added xorg.lst compatibility symlink (required by xorgcfg)
* Fri Dec 23 2005 sndirsch@suse.de
- updated to new version 0.7
* Mon Dec 05 2005 sndirsch@suse.de
- updated to current CVS release (2005-12-05)
* Thu Dec 01 2005 sndirsch@suse.de
- updated to current CVS release (2005-12-01)
* obsoletes br-abnt2.diff
* fixes Dell Inspiron 6000 layout for special keys (#135764)
* obsoletes patches for symbols/macintosh_vndr/fr (X.Org #2870)
* Tue Sep 20 2005 sndirsch@suse.de
- br-abnt2.diff:
* fixed brazilian "abnt2" keyboard layout (#116425)
* Tue Sep 06 2005 sndirsch@suse.de
- removed Prereq to xorg-x11 (#115369)
* Thu Aug 25 2005 sndirsch@suse.de
- updated to new version 0.6
* move Macedonian to country-based
* translation updates
* Wed Aug 24 2005 sndirsch@suse.de
- updated to current CVS release (2005-08-24)
* fr-latin9 compatibility rule added
* added Thaana Keyboard Map
* "Major Balkanian revolution" (Danilo Segan)
* updated russian and turkish translations
* Sat Aug 20 2005 sndirsch@suse.de
- updated to current CVS release (2005-08-20)
* updated Iranian layout to new standard (fd.o Bug #4102)
* updated translations for tr
* Wed Aug 17 2005 sndirsch@suse.de
- ibm_space_saver.diff:
* add support for "ibm_space_saver" keyboards (Bug #59788)
* Sun Aug 14 2005 sndirsch@suse.de
- updated to current CVS release (2005-08-14)
* obsoletes print-screen.diff
* buildfix for update-pot/update-po in po/Makefile.am
* Thu Aug 11 2005 sndirsch@suse.de
- print-screen.diff:
* fixes GNOME print-screen functionality (Bug #103990)
* Wed Aug 10 2005 sndirsch@suse.de
- updated to current CVS release (2005-08-10)
* Wed Aug 03 2005 schwab@suse.de
- Fix reference to eject key in macintosh keymap.
- Make noarch.
* Fri Jul 29 2005 sndirsch@suse.de
- xkeyboard-config-0.5.diff:
* fixes typo: options --> option (Bug #98980)
- enabled use of xkeyboard-config again
* Fri Jul 29 2005 sndirsch@suse.de
- make xkeyboard-config optional again; currently to big problems
(Bug #98980)
* Tue Jul 26 2005 sndirsch@suse.de
- finally remove /etc/X11/xkb/symbols/pc directory of xorg-x11
package (%%pre)
* Thu Jul 14 2005 sndirsch@suse.de
- added /etc/X11/xkb/xkbcomp to package instead of
creating/removing the symlink in %%post/%%preun
* Mon Jul 11 2005 sndirsch@suse.de
- add "Prereq: xorg-x11" to make sure that /etc/X11/xkb/symbols/pc/
directory will be removed before xkeyboard-config installs
/etc/X11/xkb/symbols/pc file (Bug #95914).
* Thu Jul 07 2005 sndirsch@suse.de
- add symlink /usr/X11R6/lib/X11/xkb --> /etc/X11/xkb
* Wed Jul 06 2005 sndirsch@suse.de
- install package during update when xorg-x11/XFree86 package was
already installed
* Wed Jul 06 2005 sndirsch@suse.de
- use /etc/X11/xkb for data files now; replaces the data files of
xorg-x11 package
* Fri May 13 2005 sndirsch@suse.de
- use norootforbuild
* Sun Apr 17 2005 sndirsch@suse.de
- enabled compatibity rules (compatibility on 'XkbLayout' level)
* Sun Feb 06 2005 sndirsch@suse.de
- updated to release 0.5:
* More bugs from freedesktop.org bugzilla fixed.
The group names now are matching the descriptions - and the
validating scripts are implemented.
Some layouts, variants, models are added/fixed.
Some translations are updated (though the overall translation
activity is disappointinly low).
* obsoletes p_xkb-cherryblueb.diff
* Mon Oct 25 2004 sndirsch@suse.de
- updated patches
- removed obsolete patches
* Sun Oct 03 2004 sndirsch@suse.de
- updated to release 0.4:
* A lot of fixes. More univeral EURO handling. New urdu layout.
Improved handling for indicators.
* Wed Sep 29 2004 sndirsch@suse.de
- added missing prerequires ln,rm (Bug #46480)
* Sat Jul 24 2004 sndirsch@suse.de
- updated to release 0.3
* adjusted patches p_XFree86-4.3-kbdmapping.diff,
p_xkb-cherryblueb.diff
* adjusted filelist (.mo files no longer exist, added HOWTO.testing)
* Wed Jul 21 2004 sndirsch@suse.de
- added README.SuSE
* Sun Jun 13 2004 sndirsch@suse.de
- added required hunks of X.Org patches for xkb:
* p_suse.diff
* p_fixes.diff
* p_xkb-cherryblueb.diff
* p_XFree86-4.3-kbdmapping.diff
* p_macintosh-kb.diff
* Sat Jun 12 2004 sndirsch@suse.de
- created package