123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #if the pkg created in packages-woof has something wrong, this file is a last
- #resort to fix it. Current-dir is where this file FIXUPHACK is located.
- #110623 i don't think we want this symlink anymore...
- ##this symlink got taken away to the _DEV pkg...
- #[ -e ../xserver_xorg_DEV/usr/lib/xorg/modules/drivers/i810_drv.so ] && ln -snf intel_drv.so usr/lib/xorg/modules/drivers/i810_drv.so
- ##...ubuntu intrepid. note also, have later intel_drv.so in a separate pkg.
- #so did these, but needed...
- [ -e usr/lib/libchromeXvMCPro.so.1 ] && ln -snf libchromeXvMCPro.so.1 usr/lib/libchromeXvMCPro.so
- [ -e usr/lib/libchromeXvMC.so.1 ] && ln -snf libchromeXvMC.so.1 usr/lib/libchromeXvMC.so
- [ -e usr/lib/libI810XvMC.so.1 ] && ln -snf libI810XvMC.so.1 usr/lib/libI810XvMC.so
- [ -e usr/lib/libIntelXvMC.so.1 ] && ln -snf libIntelXvMC.so.1 usr/lib/libIntelXvMC.so
- #inrepid again. remove this, as xorg_base pkg has X as a symlink...
- rm -f usr/bin/X 2>/dev/null
- ##dump this stuff...
- #[ -d etc/evtouch ] && rm -rf etc/evtouch
- #[ -d etc/init.d ] && rm -rf etc/init.d
- #[ -d etc/udev ] && rm -rf etc/udev
- #[ -d lib/udev ] && rm -rf lib/udev
- #arch, has extra servers in the one xorg-servers pkg...
- rm -f usr/bin/Xnest 2> /dev/null
- rm -f usr/bin/Xvfb 2> /dev/null
- rm -f usr/bin/Xephyr 2> /dev/null
- #also has dri modules, but this is a cutdown pkg...
- rm -rf usr/lib/xorg/modules/dri 2> /dev/null
- #...note, ubuntu has xorg 7.4 which seems to need /usr/lib/dri/swrast_dri.so but note
- # that this is in the 'xorg_base' woof package.
- #...note also, the arch dri modules need libdricore.so but I don't know where that is.
- #remove GL stuff to save size (also see xorg_base pkg)...
- #100703 no, leave it in, needed if user installs 'mesa' pkg...
- #rm -f usr/lib/xorg/modules/extensions/libglx.so
- #100704 slackware 13.1, these X servers get through...
- rm -f usr/bin/Xfbdev 2> /dev/null
- rm -f usr/bin/Xsdl 2> /dev/null
- rm -f usr/bin/Xdmx 2> /dev/null
- rm -f usr/bin/Xfbdev 2> /dev/null
- rm -f usr/bin/*dmx* 2> /dev/null
- #110623 mageia1 puts intel_drv.so in a strange place...
- if [ -f usr/lib/xorg/modules/drivers/intel-common/intel_drv.so ];then
- mv -f usr/lib/xorg/modules/drivers/intel-common/intel_drv.so usr/lib/xorg/modules/drivers/
- rmdir usr/lib/xorg/modules/drivers/intel-common
- fi
- #110727 mageia1 creates /usr/bin/X symlink to Xwrapper, override...
- ln -snf Xorg usr/bin/X
- #120516 gentoo places libglx.so, libdri.so, libdri2.so in strange place...
- if [ -f usr/lib/opengl/xorg-x11/extensions/libglx.so ];then
- if [ -d usr/lib/xorg/modules/extensions ];then
- cp -a -f --remove-destination usr/lib/opengl/xorg-x11/extensions/* usr/lib/xorg/modules/extensions/
- sync
- rm -rf usr/lib/opengl/xorg-x11/extensions
- fi
- fi
- #...also, libGL.so* in strange place, see 'mesa' template.
|