HOWTO: xorg-server with no hal dependency (was: xorg-server-screw-hal)

it annoys me that hal and evdev are hard depends of xorg-server-1.5.3 and autoAddDevices is enabled by default.  i realize the fix is actually fairly trivial, but there's just someting inelegant about installing a package, disabling a feature, then uninstalling the dependencies for that feature.  so here's a PKGBUILD that suits my taste.  maybe it'll make your life just a bit easier.
EDIT: SCRATCH EVERYTHING BELOW.  the change to the patch will almost guarantee failure if you do this my way.  it doesn't change the default config; it removes the configuration option enitrely.  i get 'epic fail' for that one.  also, x still complains and fails to start if libhal.so.1 is missing, even if you're not using it.  grrrr....
p.s.: you'll want to open xserver-1.5.3-AEI-on-by-default.patch, go to line 101, and change TRUE to FALSE.  this turns off autoAddDevices by default.  then run makepkg -g and replace the last md5 sum with the new for the changed patch file.
# $Id: PKGBUILD 21903 2008-12-17 20:32:54Z jgc $ Maintainer: Alexander
# Baldeck <[email protected]> Contributor: Jan de Groot
# <[email protected]>
pkgname=xorg-server
pkgver=1.5.3
pkgrel=1
pkgdesc="X.Org X servers"
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org"
depends=('libx11>=1.1.5'
'libxkbui>=1.0.2' 'libgl' 'libxfont>=1.3.3' 'openssl>=0.9.8h'
'libxxf86misc>=1.0.1' 'libpciaccess>=0.10.5' 'libxv>=1.0.4'
'libxaw>=1.0.4' 'pixman>=0.11.10' 'xcursor-themes'
'xkeyboard-config>=1.3' 'xorg-server-utils' 'xorg-utils'
'xorg-fonts-misc' 'xbitmaps' 'libdrm>=2.3.1' 'diffutils')
makedepends=('glproto>=1.4.9' 'xf86driproto>=2.0.4'
'mesa>=7.2' 'randrproto>=1.2.2' 'renderproto>=0.9.3'
'scrnsaverproto>=1.1.0' 'fontsproto>=2.0.2' 'videoproto>=2.2.2'
'compositeproto>=0.4' 'trapproto>=3.4.3' 'resourceproto>=1.0.2'
'xineramaproto>=1.1.2' 'evieext>=1.0.2' 'libxkbfile>=1.0.5'
'libxmu>=1.0.4' 'libxpm>=3.5.7' 'libxxf86dga>=1.0.2' 'inputproto>=1.4.4'
'xcmiscproto>=1.1.2' 'bigreqsproto' 'libdrm=2.3.1' 'xtrans')
optdepends=( 'xf86-input-evdev: to provide input device hotplugging'/
'hal>=0.5.11: to provide input devices for hotplugging' )
options=('!libtool')
provides=('x-server')
groups=('xorg')
install=xorg-server.install
source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
xserver-1.5-branch-4970d.patch
001_fedora_extramodes.patch
xorg-redhat-die-ugly-pattern-die-die-die.patch
xserver-1.5.0-force-SwitchCoreKeyboard-for-evdev.patch
xserver-1.5.3-AEI-on-by-default-AAD-off.patch)
md5sums=('308971036e25250e7fe3cccfd5a120f8'
'61f9bb524501247dce647b218ad14347'
'033427f2b406cba8dd6103ff374e7156'
'1a336eb22e27cbf443ec5a2ecddfa93c'
'7b03ba9b75d795e4f7fdfaa550d97159'
'06e2c673e83b8210c528e27b4051790d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Upstream commits from server-1.5 branch
patch -Np1 -i "${srcdir}/xserver-1.5-branch-4970d.patch" || return 1
# extramodes
patch -Np1 -i "${srcdir}/001_fedora_extramodes.patch" || return 1
# Get rid of the ugly pattern
patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
# Patch from Fedora to fix FS#12248
patch -Np1 -i "${srcdir}/xserver-1.5.0-force-SwitchCoreKeyboard-for-evdev.patch" || return 1
# Upstream patch to fix evdev issues with >=2.1.0
patch -Np1 -i "${srcdir}/xserver-1.5.3-AEI-on-by-default.patch" || return 1
# Fix dbus config path
sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
./configure --prefix=/usr \
--enable-ipv6 \
--enable-dri \
--disable-dmx \
--enable-xvfb \
--enable-xnest \
--enable-composite \
--enable-xcsecurity \
--enable-xorg \
--enable-xtrap \
--enable-xevie \
--enable-xephyr \
--enable-glx-tls \
--enable-xorgcfg \
--enable-kdrive \
--enable-install-setuid \
--enable-config-hal \
--enable-config-dbus \
--disable-xfbdev \
--disable-xfake \
--disable-xsdl \
--disable-kdrive-vesa \
--disable-dri2 \
--disable-xprint \
--disable-static \
--sysconfdir=/etc/X11 \
--localstatedir=/var \
--with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
--with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -rf "${pkgdir}/var/log" || return 1
install -m755 -d "${pkgdir}/etc/X11" || return 1
install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
# No longer needed, but as nvidia-utils mangles these files, keep them
# like this so they can be restored
mv "${pkgdir}/usr/lib/xorg/modules/libwfb.so" \
"${pkgdir}/usr/lib/xorg/modules/libwfb.so.1.4" || return 1
# Needed for non-mesa drivers, libgl will restore it
mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
mv "${pkgdir}/usr/lib/xorg/modules/extensions/libdri.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libdri.xorg" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
Last edited by kludge (2009-01-04 20:41:22)

ok, so i'm almost embarassed to post this.  it's actually pretty trivial.  nevertheless, might as well finish what i've started.
re-statement of the problem:
1) xorg-server 1.5.3 depends on hal and evdev in order to provide input hotplugging.
2) input hotplugging can be turned off, as decsribed here: Arch Wiki Xinput Hotplugging Page.  however, x still requires libhal.so.1 at runtime or it fails.  (it took me ages of googling to figure out that this is indeed the case.)
3) therefore, xorg-server must be rebuilt without hal if you'd like to run v.1.5.3 without installing hal.
how-to correct it:
1) sync abs tree
2) copy xorg-server from the abs tree to your local build directory
3) remove 'hal' and 'xf86-input-evdev' from the depends array
4) change --enable-config-{hal,dbus} to --disable-config-{hal,dbus}  (apparently the server has *some* support for input hotplugging through dbus without hal.  apparently, it also sucked.  so my method is to turn off both, entirely.)
5) makepkg
6) pacman -U
7) add xorg-server to IgnorePkg in /etc/pacman.conf.  the next time xorg-server is upgraded, pacman -Syu will give you a warning and the opportunity to exit.  this is your notice to rebuild and upgrade your local xorg-server.
8?) i suppose you could go through the patches that are applied to xorg-server and figure out which aren't needed.  that would be all neat and clean, but probably not necessary.

Similar Messages

  • HT4847 Can i use icloud as a server and share files with others as it was possible before?!

    Can i use icloud as a server and share files with others as it was possible before?!

    iCloud does not provide general file storage and sharing. You will need to find a third-party alternative - this page examines some options:
    http://rfwilmut.net/missing3

  • How enabled Single Sign-On with a System SAP WAS ABAP (Run application BSP)

    Hi.
    I need to run any application BSP from a System SAP WAS ABAP, without entering SAP user and password. Using the windows authentication and without SAP Enterprise Portal.
    What authentication methods I have to apply for enabled Single Sign-On with a System SAP WAS ABAP?.
    And How can I enabled this method?.
    Best regards.
    Luis Gomez.

    Hi Ticiano,
    SAP WebAS ABAP supports a number of authenticaiton mechanisms. See
    [http://help.sap.com/saphelp_nw04s/helpdata/en/02/d4d53aa8a9324de10000000a114084/frameset.htm]
    A number of these authentication mechanisms can be combined with Windows authentication (e.g. SNC, client certificates, ...).
    The decision what mechanism fits best depends on critieria like
    - SAP server platform
    - security requirements
    - extensibility (should same authentication mechanism be used for future SAP environments, which will be E-SOA based)
    - authentication from outside company domain
    - Use of SAP security library (SAPcryptolib)
    You may want to look at the SAP Software Solution Partner Catalog, if you look for certified SSO solution vendors for SAP.
    Best regards,
    Peter

  • XIO: fatal IO error connection with a remote socket was reset by socket

    dear all ,
    i have ebs running on aix 6 server
    oracle db : 11.1.0.7.0 - 64bit
    ebs version : 12.1.1
    the problem is i have report running on cuncurent schedule , but the result with status complete error ,
    when i view log , it shawn error below this
    Enter Password:
    XIO: fatal IO error 73 (A connection with a remote socket was reset by that socket.) on X server "localhost:0.0"
    after 498 requests (469 known processed) with 4267 events remaining.
    Report Builder: Release 10.1.2.3.0 - Production on Mon Sep 24 20:04:26 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 30072710.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 30072710 on node SMJKT-PRFN02 at 25-SEP-2012 00:05:51.
    Post-processing of request 30072710 completed at 25-SEP-2012 00:05:55.
    any suggest to solve this error ?
    thanks
    Imron S
    Edited by: Imron Siagian on Sep 24, 2012 8:57 PM
    Edited by: Imron Siagian on Sep 25, 2012 2:57 AM

    Hi;
    XIO: fatal IO error 73 (A connection with a remote socket was reset by that socket.) on X server "localhost:0.0"after 498 requests (469 known processed) with 4267 events remaining
    Similar issue mention at below note.Please review:
    What Happens When an NMS User Kills Their Exceed onDemand or Exceed Session Via Windows Task Manager [ID 1072528.1]
    Regard
    Helios

  • Why is it that when I am trying to install an adobe product, I get 33% of the way through and then it gives me an error "unable to load metafile"??  It happened with Reader and now with Flashplayer.  With the Reader, I was able to find a different install

    Why is it that when I am trying to install an adobe product, I get 33% of the way through and then it gives me an error "unable to load metafile"??  It happened with Reader and now with Flash player.  With the Reader, I was able to find a different installation link using the troubleshooting guide.  I cannot find the same with flash player.  Please tell me how to install Flash player because there is a website that I cannot even view without it.  BTW That is annoying that I cannot even see the website without flash player
    my system is XP

    Use these installers:
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    Flash Player for Mac OS X
    For Adobe Reader go to http://get.adobe.com/reader/enterprise/

  • Query to fetch vendor number with whom this item was last purchased

    Hi All,
    We have a requirement to fetch the vendor number for an item with whom the item was last purchased. We need to derive this by looking at the open Purchase Order or the Material Transactions for the transaction type of ‘PO Receipt’ whichever is the latest.
    For this we are using the below query, but this query is taking a lot of time and doing an INDEX RANGE SCAN on PO_LINES_N1 & MTL_MATERIAL_TRANSACTIONS_N1
    SELECT MAX (v.segment1)KEEP (DENSE_RANK LAST ORDER BY DECODE
    (UPPER (poh.closed_code),
    'OPEN', poh.creation_date,
    mmt.transaction_date
    poh.creation_date) seg1
    FROM po_headers_all poh,
    po_vendors v,
    mtl_material_transactions mmt
    WHERE poh.po_header_id IN (SELECT pol.po_header_id
    FROM po_lines_all pol
    WHERE pol.item_id = p_inv_id)
    AND v.vendor_id = poh.vendor_id
    AND mmt.inventory_item_id(+) = p_inv_id
    AND mmt.transaction_type_id(+) = 18
    AND mmt.transaction_source_id(+) = poh.po_header_id;
    Can anyone please help me in rewriting this query or if we can use different tables to acheive the same functionality.
    Regards,
    Shruti

    Hi,
    Can anyone please help me with the below query.
    Regards,
    Shruti

  • How can I copy an audio effect from a clip and paste it to another clip in the same timiline...With FCPro 7 it was all so fast........

    how can I copy an audio effect from a clip and paste it to another clip in the same timiline...With FCPro 7 it was all so fast........

    Tom Wolsky wrote:
    The advantage goes to FCP7 if you allow that it can copy and paste filters, audio and video, transformations, and other attributes separately.
    You can do that in FCPX too, as all the things you cited are listed separately in the inspector.
    Here's a little gotcha. Let's say you've color corrected a few clips and you've applied an effect to one and want to paste it the other clips. You switch off color correction and copy the clip. You select the other clips and paste effects. What do you think happens? The effect is applied, but the color correction is applied as well, only it's switched off as it was in the first clip, so all the color correction on the other clips is lost. Fun, eh?
    I'll try to replicate your gotcha - but no, that doesn't sound like fun at all!

  • My iPad2 Apple logo (the blue box with a capital A) was deleted in error. I would like to know how to replace it or get it back.  Thanks so much . . .

    My iPad2 Apple logo (the blue box with a capital A) was deleted in error. I would like to know how to replace it or get it back.  Thanks so much . . .

    Do you mean the App Store app on your iPad ? If you do then it can't be deleted, but you might have hidden it via Settings > General > Restrictions > Installing Apps 'off' - if that is 'off' then turn it back 'on' and the app should show on one of your iPad's home screens again

  • Since I'd installed the new version of iTunes, iCal and Address book do not sync with my iPhone 3GS through iTunes anymore and I get an error message stating that iTunes can not sync with this iPhone. Was must i do to correct this issue?

    Since I'd installed the new version of iTunes, iCal and Address book do not sync with my iPhone 3GS through iTunes anymore and I get an error message stating that iTunes can not sync with this iPhone. Was must i do to correct this issue and if i must, how dI reintall iTunes without loosing my content?
    P.S. I am able to sync postcasts and music though!

    http://support.apple.com/kb/TS3694
    http://support.apple.com/kb/TS3125
    http://support.microsoft.com/kb/299357

  • HT1335 My ipod classic have no software and I am stuck with it. It was formatted for apple but I use windows 8.  Please help. Thanks in advance.

    My ipod classic have no software and I am stuck with it. It was formatted for apple but I use windows 8.  Please help. Thanks in advance.

    Hello there, DrDhillon.
    The following Knowledge Base article goes over the steps that will help you resolve your issue:
    Restoring iPod to factory settings
    http://support.apple.com/kb/HT1339
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I have a nano with 500 songs that was synced with my old computer that crashed.  New iTunes account does not have these songs in my library.  I would like to move the music to the library so I can place them on my iPhone and/or iPad.

    I have a nano with 500 songs that was synced with my old computer that crashed.  Bought a new computer, now my music is not in my iTunes library.  I did the share thing but it didn't work. 

    http://www.yamipod.com/main/modules/home/

  • I downloaded IOS6 earlier today and my 4S has died twice, it has gone from 45 to 32% in the last 5 minutes and i have icloud, internet, all apps closed with nothing running at all!! There is a serious problem with ios6, my phone was hot at charging time.

    I downloaded IOS6 earlier today and my 4S has died twice, it has gone from 45 to 32% in the last 5 minutes and i have icloud, internet, all apps closed with nothing running at all!! There is a serious problem with ios6, my phone was working hot at chargering time. Apple need to address this asap!!!!

    Hi Suzy Q,
    I can send and receive calls.
    I get "messaging stopped" when doing a lot of texts.
    Texts come up "ghosted" meaning they have the text on the bottom and a transparent one overlaid  on top. they then become one. But I get the ghosting most of the time when I go into a message from a contact to send a text.
    When I go to call logs or text logs, the numbers come up first, and then then the names pop up randomly, meaning not in order down the page, until they are all shown. lots of lag time.
    It runs slow.
    I have 5 apps on here. I should be able to have a  lot of apps on here, and play music, and have files, and...and....and.
    I can get online but doing a Google search, when the page with the choices comes up, it is blurred and I have to tap on the screen for it to become clear and readable.
    When online and scrolling, it hitches sometimes/lags/gets stuck then unstuck
    I get VZWAVS has stopped. (not sure if those are the right letters)
    The status bar that is supposed to be gray with the new update, goes back and forth between green--the old os--to gray. And I have found no continuity with when I get green or when I get gray.
    I get a black screen on occasion.
    sometimes the proximity sensor doesn't work.
    sometimes when I have my bluetooth on and have "hands free mode" on, I get the a text message read through the headset and also through the handset.
    I soft reboot often--turn it off wait a bit and

  • I need appleisightinstaller.exe to install the isight driver for Windows Vista running in Parallel Desktop 6 for Mac, but I don't have a Leopard DVD. What came with my Macbook Air was a flash stick "MacBook Air Software Reinstall Drive" only.

    I need appleisightinstaller.exe to install the isight driver for Windows Vista running in Parallel Desktop 6 for Mac, but I don't have a Leopard DVD. What came with my Macbook Air was a flash stick "MacBook Air Software Reinstall Drive" only.

    All,
    A very interesting NOTE to this thread. In order to try and get the "ignore permissions" box to show up in GET INFO (so I could execute Matt the Magician's solution to file sharing issues)-- I ran the terminal command for disabling ACLs on my internal HD / start up disk (as indicated in the linked thread to BDAqua's forum).
    Although I understand that this was useless for disabling permissions on the start up disk (as everyone here pointed out) and allowing me to see the "ignore permissions" check box - somehow it did seem to fix my file sharing problem...and that was the root problem I wanted solved in the first place! After doing the terminal command and a quick reboot, I went in and tested file sharing on the chosen directory and I can create new files or work from existing files in the directory, with both users being able to modify / and save from both machines and each machine sees the revisions and can build from them. Bottom line - I'm stoked and want to thank everyone for their help.
    The only other tweak I made was going over to my wife's machine and instead of using her log in / password, I just used my name and password to connect to my main machine that was sharing directories. Maybe that's what fixed the problem or the ACL disable but either way...I'm up and running the way I want to be.
    Hope this thread helps anyone else who has these file sharing / permissions issues with Leopard. Especially for anyone wanting to do such a simple file sharing set up between 2 computers. I wish I understood exactly which tweak fixed the problem, but at least it works the way I want now.
    So happy to be done w/this one!
    Thx everyone. Any additional input on what solved it is welcome, so my curiosity is quelled...
    TC

  • How to create a front panel display that lights up with different colours depending on its input signal?

    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    In addition, I wish to display these in an array on screen. Is there any pre-built function for this?

    Repulse wrote:
    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    The simplest way would be an intensity graph. It gives you a 2D grid where each grid point is colored according to the value of a 2D array. The Z axis color ramp determines the color.
    My second choice would be an array of colorboxes. (They could even be made to look like LEDs (see image, if course you can leave them square too), All you need is a scaling function thap maps voltages into a color ramp lookup table with an 8bit index)
    (Using booleans and color property nodes is relatively clumsy. Booleans are meant for two states because the value is boolean. Since array elements can only differ in value, and not in properties, it will not even work. Color boxes have a color data type which is much more appropriate for this case)
    LabVIEW Champion . Do more with less code and in less time .

  • I am using i padmini with retina display. i was curious to know if the pdf files saved on adobe reader app are safe from any hacking

    I am using i padmini with retina display. i was curious to know if the pdf files saved on adobe reader app are safe from any hacking

    If they are saved on your iPad, they are as safe as anything else.
    Barry

  • I've lost the orange firefox tab with the arrow, that was in the top left corner: how do I get it back?

    I've lost the orange firefox tab with the arrow, that was in the top left corner: how do I get it back?

    In current Firefox releases (29 and later), that have have the Australis user interface, the orange Firefox menu button has been replaced by the three-bar Firefox Menu button at the far right end of the Navigation Toolbar and this button is always visible, whether you have the menu bar visible or hidden<br>A consequence of this location is that you no longer can hide the Navigation Toolbar
    *There is a star like button to the right end of the search bar on the Navigation Toolbar to bookmark the current web page and a "Show your bookmarks" button next to it to open the Bookmarks in a drop down menu.<br>You can find "Show All Bookmarks" to open the Bookmarks Manager (Library) at the bottom of this drop-down list
    *It is still possible to have the menu bar visible via the right-click context menu on the toolbars to have menus like the Bookmarks menu
    *<br>*If you bookmark a page then "Bookmark This Page" in the Bookmarks menu changes to "Edit This Bookmark"
    See also:
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox
    I'm locking this thread. If you still have questions then please create a new thread.

Maybe you are looking for