%define drakxtools_required_version 10.4.221 %define drakxtools_conflicted_version 10.4.89 %define libname %mklibname %{name} Summary: Tools to configure the keyboard, the mice and the graphic card Name: drakx-kbd-mouse-x11 Version: 0.37 Release: %mkrel 1 Source0: %name-%version.tar.bz2 License: GPLv2+ Group: System/Configuration/Other Url: http://www.mandrivalinux.com/en/cvs.php3 BuildRequires: perl-MDK-Common-devel gettext perl-devel BuildRequires: libxxf86misc-devel ncurses-devel Requires: drakxtools-curses => %drakxtools_required_version # need the common pam config files for usermode config Requires: usermode-consoleonly >= 1.92-4mdv2008.0 %ifnarch %{sunsparc} Requires: monitor-edid >= 1.12 %endif %{sunsparc} BuildRoot: %_tmppath/%name-%version-buildroot # for program: Conflicts: drakxtools <= %drakxtools_conflicted_version # for man pages: Conflicts: drakxtools-curses <= %drakxtools_conflicted_version # for Cards+ using nvidia-current|nvidia71xx|nvidia96xx instead of nvidia/nvidia97xx/NVIDIA_LEGACY Conflicts: ldetect-lst < 0.1.174 # we don't want to require X libs (xf86misc is always used inside an eval) %define _requires_exceptions ^libX %description Keyboarddrake enables to configure the keyboard. Mousedrake enables to configure the mice. XFdrake enables to configure the graphic card. %prep %setup -q %build %make %install rm -fr $RPM_BUILD_ROOT %makeinstall_std #install lang %find_lang %name # consolehelper configuration # ask for user password ln -s %{_bindir}/consolehelper %{buildroot}%{_bindir}/XFdrake mkdir -p %{buildroot}%{_sysconfdir}/pam.d/ ln -sf %{_sysconfdir}/pam.d/mandriva-simple-auth %{buildroot}%{_sysconfdir}/pam.d/xfdrake mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps cat > %{buildroot}%{_sysconfdir}/security/console.apps/xfdrake <<EOF USER=<user> PROGRAM=/usr/sbin/XFdrake FALLBACK=false SESSION=true EOF ln -s %{_sysconfdir}/security/console.apps/xfdrake \ %{buildroot}%{_sysconfdir}/security/console.apps/XFdrake %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %doc COPYING NEWS %config(noreplace) %{_sysconfdir}/pam.d/xfdrake %config(noreplace) %{_sysconfdir}/security/console.apps/xfdrake # symlink %{_sysconfdir}/security/console.apps/XFdrake %_bindir/XFdrake %_sbindir/* %_datadir/libDrakX/pixmaps/* /usr/lib/libDrakX/auto/* /usr/lib/libDrakX/xf86misc/main.pm /usr/lib/libDrakX/Xconfig/*.pm /usr/lib/libDrakX/*.pm %changelog * Thu Oct 04 2007 Pixel <pixel@mandriva.com> 0.37-1mdv2008.0 + Revision: 95467 - 0.37: - if we probe a monitor EISA_ID but we don't have corresponding HorizSync/VertRefresh, we must not the monitor info - when checking dkms module packages, check that modules are either available in urpmi media, or already installed (fix detection in live) * Thu Oct 04 2007 Pixel <pixel@mandriva.com> 0.36-1mdv2008.0 + Revision: 95308 - 0.36: - better fix for typo in 0.32: don't wrongly default to "automatic" resolution when creating xorg.conf (in non --auto) (#34453) * Wed Oct 03 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.35-1mdv2008.0 + Revision: 95066 - updated translation * Mon Oct 01 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.34-1mdv2008.0 + Revision: 94300 - updated translation * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 0.33-1mdv2008.0 + Revision: 93772 - require drakxtools >= 10.4.221 for VirtualBox detection - 0.33 - we don't set ModulesPath to DRI_GLX_SPECIAL value, so we must read it differently so that Xconfig::various::info() is correct (#31326) - add support for x11-driver-input-vboxmouse when inside a VirtualBox guest - fix typo in 0.32: don't wrongly default to "automatic" resolution when creating xorg.conf (in non --auto) * Wed Sep 26 2007 Pixel <pixel@mandriva.com> 0.32-1mdv2008.0 + Revision: 93050 - 0.32: - monitor-probe-using-X can now return EDIDs. if Xorg find an EDID (whereas monitor-get-edid-using-vbe failed), defaults to "Plug'n Play" monitor (ie let Xorg do things automatically) instead of good_default_monitor. (requires monitor-edid 1.12) - fix typo in 0.30: do not use "Automatic" resolution by default in --auto * Tue Sep 25 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.31-1mdv2008.0 + Revision: 92925 - updated translations * Tue Sep 25 2007 Pixel <pixel@mandriva.com> 0.30-1mdv2008.0 + Revision: 92836 - 0.30: - add support for "Automatic" resolution (aka "let xorg do everything") - when user asks for "Plug'n Play", silently default to Xorg auto-detection when we fail to auto-detect * Fri Sep 21 2007 Olivier Blin <oblin@mandriva.com> 0.29-1mdv2008.0 + Revision: 91806 - 0.29 - unload drivers loaded by monitor-probe-using-X (fix fglrx usage when harddrake probes using X and loads radeon driver) * Thu Sep 20 2007 Pixel <pixel@mandriva.com> 0.28-1mdv2008.0 + Revision: 91561 - 0.28: - when using evdev for mice, ensure it doesn't match a keyboard (eg: in case of a mouse+keyboard combo) (#32905) - fix regression in 0.24: remove bogus duplicates in monitors tree (#33778) * Wed Sep 19 2007 Pixel <pixel@mandriva.com> 0.27-1mdv2008.0 + Revision: 91012 - 0.27: - for evdev configured mice, specify bustype (useful for "Macintosh mouse button emulation" which has same vendor/product as "AT Translated Set 2 keyboard") (need drakxtools-backend 10.4.203) * Mon Sep 17 2007 Pixel <pixel@mandriva.com> 0.26-1mdv2008.0 + Revision: 89159 - 0.26: handle fglrx-hd2000 driver (Anssi) * Wed Sep 12 2007 Andreas Hasenack <andreas@mandriva.com> 0.25-2mdv2008.0 + Revision: 84827 - use new common pam config files for usermode/consolehelper * Mon Sep 10 2007 Pixel <pixel@mandriva.com> 0.25-1mdv2008.0 + Revision: 84000 - 0.25: - in the list of available Xorg drivers, add "Driver" from Cards+ (will ease the maintainance of the list of drivers in Xconfig/card.pm) - minimal support for allowing to choose evdev on all mice * Fri Sep 07 2007 Pixel <pixel@mandriva.com> 0.24-1mdv2008.0 + Revision: 81477 - 0.24: - do not configure XFS, it's useless - fix default_headers (ie allow XFdrake to create xorg.conf from scratch again) - keep the order from MonitorsDB file (allows "Flat Panel 800x600" to be before "Flat Panel 1024x768") (needs a nicely sorted MonitorsDB though) - correct license (GPLv2+) * Thu Sep 06 2007 Pixel <pixel@mandriva.com> 0.23-1mdv2008.0 + Revision: 80593 - 0.23: do not start xfs for the test (#33219) * Wed Aug 29 2007 Andreas Hasenack <andreas@mandriva.com> 0.22-2mdv2008.0 + Revision: 74705 - allow XFdrake to be run as root by console user with password * Mon Aug 27 2007 Pixel <pixel@mandriva.com> 0.22-1mdv2008.0 + Revision: 71952 - new release, 0.22 - do configure XFS if installed - when removing/replacing an InputDevice section, ensure we remove the corresponding entry in ServerLayout. ie do not rely on InputDevice sections to use XFdrake-compatible Identifiers (as suggested by fcrozat) - add avivo in the Xorg drivers list - handle libglx.so provided by standard.conf alternative - handle x11-driver-video-fglrx instead of ati * Wed Aug 08 2007 Pixel <pixel@mandriva.com> 0.21-1mdv2008.0 + Revision: 60556 - new release, 0.21 (conflicts with ldetect-lst < 0.1.174) - handle nvidia-current instead of nvidia97xx (thanks to Anssi) - handle x11-driver-video-$nvidia instead of $nvidia - adapt to kbd instead of console-tools: s/kmap/map/ * Fri Aug 03 2007 Pixel <pixel@mandriva.com> 0.20-1mdv2008.0 + Revision: 58638 - new release, 0.20 - fix detection of touchpad on some kernels (#31584) (need drakxtools-backend >= 10.4.145) - internal: add many options as having to be used only once, easing their use and fixing setting them (eg #31942 where one can't click "Options" after setting EXA) - drop support for installing/configuring 915resolution (no more needed since x11-driver-video-intel 2.0) - do not configure using xfs anymore (#32051) * Mon Jul 09 2007 Pixel <pixel@mandriva.com> 0.19-1mdv2008.0 + Revision: 50624 - new release, 0.19 - wacom configuration: o enhance configuration by using /dev/input/by-id/xxx (need drakxtools-backend >= 10.4.144) o add "pad" InputDevice section - fix displaying "3D hardware acceleration: no" for nvidia proprietary driver (#31326) * Thu Jun 14 2007 Pixel <pixel@mandriva.com> 0.18-1mdv2008.0 + Revision: 39296 - new release, 0.18 - handle resolution switch via xrandr without restarting X (#30896) - add 1366x768, 1360x768 and 1360x765 resolutions - add big standard resolutions (4/3, 16/10, 16/9) - [bugfix] fix test message not translated (#30261) - remove all fglrx options, hopefully default is good enough (and at least MonitorLayout option is depreacated as reported on cooker) * Tue May 15 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.17-2mdv2008.0 + Revision: 26963 - package NEWS instead of ChangeLog * Wed May 09 2007 Pixel <pixel@mandriva.com> 0.17-1mdv2008.0 + Revision: 25426 - new release, 0.17 - fix using proprietary driver (remove debug code) (thanks to Michael Altizer) * Mon Apr 30 2007 Pixel <pixel@mandriva.com> 0.16-1mdv2008.0 + Revision: 19528 - new release, 0.16 - ask "Do you wish to use proprietary driver" before installing the needed packages - don't use 1280x1024 prefered resolution (using prefered resolution only when adding explicit gtf modelines) - handle new intel driver (including migration from "i810") - workaround buggy fglrx driver: make dm restart xserver (#29550) * Wed Apr 04 2007 Pixel <pixel@mandriva.com> 0.15-1mdv2007.1 + Revision: 150608 - new release, 0.15 - drakkeyboard & rescue: fix loadkeys_files() for x86_64 - ensure VertRefresh range include 60Hz (for buggy edids, #30094) * Fri Mar 23 2007 Pixel <pixel@mandriva.com> 0.14-1mdv2007.1 + Revision: 148566 - new release, 0.14 - enable Composite by default on nvidia97xx and nvidia96xx (still disabled on nvidia71xx and fglrx) (#29445) * Thu Mar 22 2007 Pixel <pixel@mandriva.com> 0.13-1mdv2007.1 + Revision: 148018 - bug fix release, 0.13 - fix typo making installation discard nvidia driver - fix group (#29810) * Thu Mar 22 2007 Pixel <pixel@mandriva.com> 0.12-2mdv2007.1 + Revision: 147859 - new release, 0.12 - ensure ModulePath is not dropped after changing an option (#29591) * Fri Mar 16 2007 Pixel <pixel@mandriva.com> 0.11-2mdv2007.1 + Revision: 144896 - do not require X libs, it works without them - moved the require monitor-edid here from drakxtools-curses * Thu Mar 15 2007 Olivier Blin <oblin@mandriva.com> 0.11-1mdv2007.1 + Revision: 144462 - introduce pkg_name_for_Driver2 (for One generation) * Tue Mar 13 2007 Pixel <pixel@mandriva.com> 0.10-1mdv2007.1 + Revision: 142179 - remove update_menus since there is no menu file - use option AddARGBGLXVisuals when Composite is enabled on proprietary nvidia driver (cf #28779) - remove empty section Extensions after disabling Composite - ensure "/usr/lib/xorg/modules/" is removed from ModulePath (note the ending "/") - if we have some special ModulePath, ensure the last one is the standard ModulePath - requires drakxtools-curses for interactive/curses.pm (#29423) * Mon Mar 12 2007 Pixel <pixel@mandriva.com> 0.9-1mdv2007.1 + Revision: 142077 - bug fix release, 0.9: - fix typo breaking GL configuration for fglrx (#29379) - old behaviour of X auto configuration: prompt for (old school) multi-head choice instead of failing - adapt the card names to Cards+ changes (nb: this is mostly obsolete stuff, to be dropped after 2007.1) * Mon Mar 05 2007 Pixel <pixel@mandriva.com> 0.8-1mdv2007.1 + Revision: 133011 - bug fix release: - the Driver must be nvidia for nvidia drivers - remove debug code forcing GeForce - don't allow to install when ldetect-lst is not updated * Fri Mar 02 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.7-1mdv2007.1 + Revision: 131498 - handle 'nvidia97xx', 'nvidia96xx' & 'nvidia71xx' NV drivers * Thu Mar 01 2007 Pixel <pixel@mandriva.com> 0.6-1mdv2007.1 + Revision: 130553 - use ModulePath "/usr/LIB/xorg/modules/extensions/nvidia" instead of Load "/usr/LIB/xorg/modules/extensions/nvidia/libglx.so" (#28779) + Thierry Vignaud <tvignaud@mandriva.com> - bump conflict on drakxtools due to icon move * Thu Feb 08 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.5-1mdv2007.1 + Revision: 118204 - new release * Mon Jan 29 2007 Pixel <pixel@mandriva.com> 0.4-1mdv2007.1 + Revision: 114821 - bug fix release, 0.4 - keyboarddrake: make it work again (#28438) * Fri Jan 19 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.3-2mdv2007.1 + Revision: 110904 - relax requires on drakxtools; we don't need gtk+ and the like - do use translations * Fri Jan 19 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.2-1mdv2007.1 + Revision: 110843 - new release - add missing keyboard.pm & mouse.pm * Fri Jan 19 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.1-2mdv2007.1 + Revision: 110801 - buildrequire ncurses-devel - buildrequire perl-devel - add buildrequires - we are not noarch - keyboardrake, mousedrake and XFdrake are splited in their own package - add 2560x1600 (16/10) (pixel) - add plugins handling to XFdrake (pixel) - Import drakx-kbd-mouse-x11