mkxf86config: port grimmlin's changes to the right repo :-P

This commit is contained in:
Zero_Chaos 2012-05-18 21:11:35 +00:00
parent 37da85f892
commit 51f41fb379
3 changed files with 64 additions and 0 deletions

View file

@ -1,3 +1,4 @@
AUX allow-auto-add-devices.patch 454 RMD160 95792930ff9d85815e81561b3245d76498649d80 SHA1 a415c735ee050168bf0c0c2c31fddffdeb10ed95 SHA256 a932341c3682fe6f8d84237e9f0ff5a7d27afedc06f2fc480ef9c07c4e2c4ed7
AUX let-x-autodetect-kbd-mouse.patch 1721 RMD160 5fc7f4d240657be725c0d585b602b6e65ad560f1 SHA1 117ac7f31e283e830973daa37b4cac3c9464b1a1 SHA256 7b1819d5dce1832441788e7a6847c0445f8a9e8cf6461a1619ac08c5d94ff877
AUX mkxf86config-0.9.10.patch 12413 RMD160 741d468551aeb3fb8cdc243ad833ac1e0257c3a6 SHA1 bffabd532bd73a841966b9bac375c24ed7c274b2 SHA256 e0f792ce74f4e1fd171142d31f7a6f0107406550959958081bc3bdf265d39f7f
AUX mkxf86config-0.9.11.patch 3626 RMD160 02c94849b8ba6ac2e6df42ce96432b9fb2806868 SHA1 3b32ac20e8e7631291d1d8304db90a43a8964944 SHA256 05f575071af255c4c84d803667b2024f0066a94337a0559ea962752e8c273275
@ -10,3 +11,4 @@ EBUILD mkxf86config-0.9.10-r11.ebuild 1043 RMD160 809319fcc99a7dbdba66417fdbc229
EBUILD mkxf86config-0.9.11-r1.ebuild 1045 RMD160 ce8f7f3d1cdfb5455531f42a86dcc13cd6e228ca SHA1 d4c90ee25b0f7c6908e3e1ff10219e4d977f6b90 SHA256 e077572ad84e0efbf32bc72115c3efbd6bffabe7bf8910c09a1200082cbcdac6
EBUILD mkxf86config-0.9.11-r2.ebuild 1087 RMD160 2ecf0ca5ba374df0ed6cd0add1f5f336ac69a4a6 SHA1 b6c32b44bc16fc22007f1f6e5164242b36c76d0b SHA256 545aec9b67a1999332d6b7eeefad8586ad089617ce43f25eac3e97884b60182b
EBUILD mkxf86config-0.9.11-r3.ebuild 1423 RMD160 8ccbbce1e34d87c5873d108012c63a5db480ab86 SHA1 29a90b66aebfa73e823868f6073ff0e84189bedb SHA256 7de994d7b31b4e353c74daf8914e2f23f0d504777649bd7e8ff665fa9ae8236d
EBUILD mkxf86config-0.9.11-r4.ebuild 1474 RMD160 e6cafb4c8dedccfb9434868048f7745c2f5fe615 SHA1 9a1ddb78368a354a663f3a79c14b4af11145594a SHA256 fcea51f605c41e901b61162bc37f5b3d0daf40ee386395940b37944336de0eec

View file

@ -0,0 +1,13 @@
diff -Naur mkxf86config-0.9.11-orig/xorg.conf.in mkxf86config-0.9.11/xorg.conf.in
--- mkxf86config-0.9.11-orig/xorg.conf.in 2012-05-18 17:08:45.284446762 -0400
+++ mkxf86config-0.9.11/xorg.conf.in 2012-05-18 17:09:10.243309964 -0400
@@ -7,8 +7,7 @@
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
- # Prevent HAL from breaking this config
- Option "AutoAddDevices" "false"
+ Option "AutoAddDevices" "true"
@@NOPM@@
@@DPMS@@
EndSection

View file

@ -0,0 +1,49 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/mkxf86config/mkxf86config-0.9.10.ebuild,v 1.4 2008/09/04 12:53:08 yngwin Exp $
EAPI="4"
inherit eutils
DESCRIPTION="xorg-x11 configuration builder - used only on LiveCD"
HOMEPAGE="http://www.pentoo.ch/"
SRC_URI="http://dev.pentoo.ch/~grimmlin/distfiles/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ia64 ~mips ppc x86"
IUSE="pentoo"
RDEPEND="!mips? ( sys-apps/hwsetup )"
pkg_setup() {
ewarn "This package is designed for use on the LiveCD only and will do "
ewarn "unspeakably horrible and unexpected things on a normal system."
ewarn "YOU HAVE BEEN WARNED!!!"
}
src_prepare() {
epatch "${FILESDIR}/${P}".patch
epatch "${FILESDIR}"/virtualbox-workaround.patch
#The below patch has REMOVED text from the input xorg.conf file
#The removed text INCORRECTLY uses the "mouse" and "kbd" drivers
#These drivers have been deprecated in X and autodetction works flawlessly anyway
epatch "${FILESDIR}"/let-x-autodetect-kbd-mouse.patch
epatch "${FILESDIR}"/allow-auto-add-devices.patch
#Roll this patch into 0.9.12 and remove it once upstream accepts
}
src_install() {
insinto /etc/X11
if use mips
then
doins xorg.conf.impact xorg.conf.newport xorg.conf.o2-fbdev
else
doins xorg.conf.in
fi
exeinto /usr/sbin
doexe mkxf86config.sh
newinitd "${FILESDIR}"/mkxf86config.initd mkxf86config
}