%define drakxtools_required_version 16.0 %define drakxtools_conflicted_version 15.57-3 %define drakx_kbd_mouse_x11_conflicted_version 0.97-3 %define libname lib%{name} Summary: Tools to configure the keyboard, the mice and the graphic card Name: drakx-kbd-mouse-x11 Version: 1.8 Release: %mkrel 1 Source0: %name-%version.tar.xz License: GPLv2+ Group: System/Configuration Url: http://www.mageia.org/ BuildRequires: perl-MDK-Common-devel BuildRequires: gettext BuildRequires: perl-devel BuildRequires: libxxf86misc-devel BuildRequires: ncurses-devel BuildRequires: intltool Requires: drakxtools-curses => %drakxtools_required_version Requires: %{libname} = %{version} Requires: polkit %ifnarch %{sunsparc} %arm %mips Requires: monitor-edid >= 1.12 %endif %{sunsparc} # for program: Conflicts: drakxtools < %drakxtools_conflicted_version # for man pages: Conflicts: drakxtools-curses < %drakxtools_conflicted_version # for -noAutoAddDevices: Conflicts: x11-server-xorg < 1.5.99.3-1.20090110.13 # for Cards+ using nvidia-current|nvidia71xx|nvidia96xx instead of nvidia/nvidia97xx/NVIDIA_LEGACY Requires: ldetect-lst >= 0.1.174 Requires: drakx-kbd-mouse-x11-text # for nokmsboot (initrds have to have nokmsboot support and udev has to handle it) Conflicts: mkinitrd < 6.0.93-22 Conflicts: dracut < 008-6 Conflicts: udev < 166-4 # we don't want to require X libs (xf86misc is always used inside an eval) %global __requires_exclude ^libX|perl\\([a-z].*\\) %description Keyboarddrake enables to configure the keyboard. Mousedrake enables to configure the mice. XFdrake enables to configure the graphic card. %package text Summary: %_vendor network tools library Group: System/Networking Requires: drakxtools-backend >= %drakxtools_required_version Conflicts: drakx-kbd-mouse-x11 < %version-%release %description text This package contains the %_vendor X11 tools library. %package -n %libname Summary: %_vendor network tools library Group: System/Networking Requires: drakxtools-backend >= %drakxtools_required_version Conflicts: drakxtools-curses <= %drakxtools_conflicted_version Conflicts: drakx-kbd-mouse-x11 <= %drakx_kbd_mouse_x11_conflicted_version %description -n %libname This package contains the %_vendor X11 tools library. %prep %setup -q %build %make %install %makeinstall_std %find_lang %name # add nokmsboot if necessary and rebuild initrds so that they handle it %triggerpostun -- drakx-kbd-mouse-x11 < 0.93-2 perl -I/usr/lib/libDrakX -MXconfig::various -e 'Xconfig::various::setup_kms();' &>/dev/null %{_sbindir}/bootloader-config --action rebuild-initrds || : %files -f %{name}.lang %doc COPYING NEWS %{_sbindir}/display_driver_helper %{_sbindir}/drakx-update-background %{_bindir}/drakkeyboard %{_bindir}/drakmouse %{_bindir}/drakx11 %{_bindir}/keyboarddrake %{_bindir}/mousedrake %{_bindir}/XFdrake %{_bindir}/Xdrakres %{_libexecdir}/drakkeyboard %{_libexecdir}/drakmouse %{_libexecdir}/drakx11 %{_datadir}/polkit-1/actions/*.policy %files text %{_prefix}/lib/libDrakX/Xconfig/resolution_and_depth.pm %files -n %{libname} %{_datadir}/libDrakX/pixmaps/* %{_prefix}/lib/libDrakX/auto/* %{_prefix}/lib/libDrakX/xf86misc/main.pm %{_prefix}/lib/libDrakX/Xconfig/*.pm %exclude %{_prefix}/lib/libDrakX/Xconfig/resolution_and_depth.pm %dir %{_prefix}/lib/libDrakX/Xconfig %{_prefix}/lib/libDrakX/*.pm %changelog * Mon May 18 2015 tv <tv> 1.8-1.mga5 + Revision: 822271 - translation update * Mon Apr 13 2015 tv <tv> 1.7-2.mga5 + Revision: 820153 - rebuild for new drakx-kbd-mouse-x11 * Mon Apr 13 2015 tv <tv> 1.7-1.mga5 + Revision: 820148 - do not propose to test modesetting in stage2 (mga#15687) * Wed Feb 11 2015 ennael <ennael> 1.6-1.mga5 + Revision: 814679 - suppress writing xorg.conf.d snippets for built in evdev defaults (mga#14476) - fix typo in xorg.conf.d snippet * Mon Feb 09 2015 ennael <ennael> 1.5-1.mga5 + Revision: 814273 - translations updates - ensure i18n settings are written to xorg.conf.d snippet - write KEYMAP to /etc/vconsole.conf * Fri Jan 02 2015 tv <tv> 1.4-1.mga5 + Revision: 808041 - translations updates * Wed Dec 24 2014 marja <marja> 1.3-1.mga5 + Revision: 805451 - language updates; fixes for Turkish keyboards (mga#12348) * Wed Oct 15 2014 umeabot <umeabot> 1.2-5.mga5 + Revision: 747774 - Second Mageia 5 Mass Rebuild * Thu Sep 18 2014 tv <tv> 1.2-4.mga5 + Revision: 695875 - exclude lower case perl reqs (not in std path) * Tue Sep 16 2014 umeabot <umeabot> 1.2-3.mga5 + Revision: 678853 - Mageia 5 Mass Rebuild + tv <tv> - use %%global for req/prov exclude - autoconvert to new prov/req excludes * Tue Jun 03 2014 tv <tv> 1.2-2.mga5 + Revision: 632087 - rebuild for new perl * Sat Jan 25 2014 colin <colin> 1.2-1.mga4 + Revision: 568162 - Avoid double fork problems mga#11184 mga#12364 - Fix gpm check since systemd migration * Tue Jan 07 2014 tmb <tmb> 1.1-3.mga4 + Revision: 565277 - fix up conflicts and exclude * Mon Jan 06 2014 tv <tv> 1.1-2.mga4 + Revision: 565162 - split Xconfig::resolution module (debloat, mga#8455) * Sat Dec 28 2013 tv <tv> 1.1-1.mga4 + Revision: 562891 - adapt to new /etc/sysctl.d - bump requires on drakxtools * Mon Nov 25 2013 tv <tv> 1.0-1.mga4 + Revision: 553058 - port to Gtk+3 * Sun Nov 17 2013 colin <colin> 0.113-1.mga4 + Revision: 551666 - New version: 0.113 * Tue Oct 22 2013 umeabot <umeabot> 0.112-2.mga4 + Revision: 541555 - Mageia 4 Mass Rebuild * Sun Oct 13 2013 colin <colin> 0.112-1.mga4 + Revision: 496197 - New version: 0.112 * Wed Oct 02 2013 colin <colin> 0.111-1.mga4 + Revision: 490321 - Add intltool as a BR for translatable policy files. - New version: 0.111 * Wed Sep 04 2013 tmb <tmb> 0.110-4.mga4 + Revision: 475176 - really fix conflicts * Wed Sep 04 2013 tmb <tmb> 0.110-3.mga4 + Revision: 475172 - conflict too old drakxtools-curses to manage upgrades * Wed Sep 04 2013 colin <colin> 0.110-2.mga4 + Revision: 475140 - Fix requires after polkit change - Add back in compatibility symlink (done in drakx) * Wed Sep 04 2013 colin <colin> 0.110-1.mga4 + Revision: 475130 - New version: 0.110 - o use polkit for authorisation (mga#11125) * Wed May 29 2013 tv <tv> 0.109-2.mga4 + Revision: 429878 - rebuild for new perl * Wed May 08 2013 blino <blino> 0.109-1.mga3 + Revision: 412602 - 0.109 - install drakx-update-background (in /usr/sbin) * Sat May 04 2013 anssi <anssi> 0.108-1.mga3 + Revision: 412229 - never fallback to guessing display resolution from display size or forcing it to 1024x768, instead fallback to automatic display mode (mga#9934) - never fallback to assuming a 1024x768 monitor if probing failed, instead select an automatic "Plug'n Play" monitor (mga#9272) - select the preferred timing in case of multiple detailed timings in EDID (mga#9934) * Mon Apr 22 2013 tmb <tmb> 0.107-1.mga3 + Revision: 410867 - fix Russian keyboard config (mga#6308) * Thu Apr 18 2013 tv <tv> 0.106-1.mga3 + Revision: 410433 - fix detecting whether X11 is started on boot or not (mga#3618) * Tue Jan 22 2013 fwang <fwang> 0.105-2.mga3 + Revision: 390899 - update rpm group * Wed Jan 16 2013 tmb <tmb> 0.105-1.mga3 + Revision: 388839 - update translations * Thu Dec 06 2012 tv <tv> 0.104-1.mga3 + Revision: 327171 - use 'es-latin1' mapping instead of 'es' for asturian (mga#6639) * Mon Nov 26 2012 anssi <anssi> 0.103-1.mga3 + Revision: 322189 - allow to select depth other than 16bit on Poulsbo (mga#5695) - fix test background (Manuel Hiebel, mga#6349) - keyboardrake: o german keyboard: default to variant with enabled deadkeys instead of "nodeadkeys variant" (mga#3791) - display_driver_helper: o never select ums for radeon driver, it is not supported by current X11 driver anymore * Tue Nov 13 2012 tmb <tmb> 0.102-3.mga3 + Revision: 317554 - fix nouveau not getting loaded on all supported hw (P0, #7982) * Thu May 31 2012 tv <tv> 0.102-2.mga3 + Revision: 252110 - rebuild for new perl * Mon Apr 30 2012 pterjan <pterjan> 0.102-1.mga2 + Revision: 234317 - Do not install bootloader when configuring X during install (mga#5044) * Thu Apr 05 2012 tv <tv> 0.101-1.mga2 + Revision: 228712 - fix crash introduced in 0.100 (mga#5238) * Thu Apr 05 2012 anssi <anssi> 0.100-1.mga2 + Revision: 228612 - new version 0.100: - do not run setxkbmap during text install - do not generate a xorg.conf symlink pointing to nothing if xorg.conf.standard exists - handle drivers needing SSE - handle drivers needing firmware (mga#1471, mga#3421, mga#3466) - display_driver_helper: o drop support for unused and unuseful --check-initrd option o allow use of nouveau without xorg.conf as it is now autoselected by X server in that case o load radeon module with modeset=0 when no firmware is installed (see mga#3466) o report KMS as not allowed with --is-kms-allowed on radeon hardware without radeon firmware, so that 'nokmsboot' will be used on such cases o add --setup-boot-kms action which sets/unsets 'nokmsboot' boot option as necessary * Thu Mar 22 2012 tv <tv> 0.99-2.mga2 + Revision: 225677 - drop crda,iw & wireless-regdb useless requires - drop useless perl-Net-Telet requires * Sun Dec 18 2011 colin <colin> 0.99-1.mga2 + Revision: 184006 - Version 0.99 - 18 December 2011 - default to 24bit with QXL driver (16 bit doesn't work) - do not offer to try KMS drivers during installation (mga#3711) - display_driver_helper: use the new modprobe --resolve-alias instead of manually parsing --dry-run output - convert mouse helper to use udevadm in order to work with udev 175+ - evdev needs to be loaded before calling getInputDevices_and_usb else it will lead to a crash * Tue Nov 15 2011 tv <tv> 0.98-2.mga2 + Revision: 167927 - fix conflict tag (fixing upgrade) * Mon Nov 07 2011 dmorgan <dmorgan> 0.98-1.mga2 + Revision: 164927 - Use new 0.98 tarball Fix use of macros in requires - New version 0.98 Ensure that systemd targets corresponding to the required runlevel are also updated (in addition to inittab). + tv <tv> - split out perl modules in lib subpackage so that installing kernel does not pull in XFdrake & urpmi (#374) * Sun Jun 12 2011 ahmad <ahmad> 0.97-2.mga2 + Revision: 105358 - Rebuild for perl-5.14.0 * Sat May 14 2011 ennael <ennael> 0.97-1.mga1 + Revision: 98849 - update translations * Wed May 04 2011 anssi <anssi> 0.96-1.mga1 + Revision: 94951 - 0.96 o display_driver_helper: do not load radeon driver if the proprietary driver is temporarily disabled on a PowerXpress system o prefer boot display devices when probing cards (fixes at least an issue with an SLI laptop as reported by Maarten Vanraes) o add support for Asturian keyboard o do not try to probe monitor information via X server on laptops (it doesn't work with recent X servers) o fallback to X server run-time autodetection on laptops instead of 1024x768 when the monitor could not be probed (Mageia #1059) * Sat Apr 23 2011 blino <blino> 0.95-1.mga1 + Revision: 89860 - 0.95 - harddrake: configure default resolution (and background) even if card configuration fails (useful if vbox video driver is not available) * Thu Apr 21 2011 anssi <anssi> 0.94-1.mga1 + Revision: 89351 - version 0.94 o disable debug output of display_driver_helper by default o fix ahead-of-X-server loading of proprietary and fglrx kernel modules o try unloading unconfigured drivers in "display_driver_helper --check-loaded" * Mon Apr 18 2011 anssi <anssi> 0.93-2.mga1 + Revision: 87563 - bump udev requirement due to a typo in udev rules * Sun Apr 17 2011 anssi <anssi> 0.93-1.mga1 + Revision: 87358 - version 0.93 o add display_driver_helper script (used by XFdrake, udev, drakx, dkms) o add/remove nokmsboot boot option as needed o ask for reboot instead of X server restart, as it is commonly needed * Sun Apr 10 2011 dmorgan <dmorgan> 0.91-4.mga1 + Revision: 82685 - Add patch2: this fix the name of the runned program * Wed Mar 30 2011 ennael <ennael> 0.91-3.mga1 + Revision: 79039 - evdev needs to be loaded before calling getInputDevices_and_usb else it will lead to a crash (pterjan) + rtp <rtp> - disable monitor-edid on arm/mips * Mon Feb 14 2011 dmorgan <dmorgan> 0.91-2.mga1 + Revision: 51728 - Add patch0 to fix mga path * Thu Feb 03 2011 dmorgan <dmorgan> 0.91-1.mga1 + Revision: 46718 - imported package drakx-kbd-mouse-x11