svn commit: trunk/buildroot/package/xorg
Author: andersen
Date: 2006-07-20 15:46:15 -0700 (Thu, 20 Jul 2006) New Revision: 15737
Log:
fix build and add some basic setup so it can run
Added:
trunk/buildroot/package/xorg/xorg-mmx.patch trunk/buildroot/package/xorg/xorg-noxf86cfg.patch trunk/buildroot/package/xorg/xorg.conf
Modified:
trunk/buildroot/package/xorg/xorg-config.patch
trunk/buildroot/package/xorg/xorg.mk
Changeset:
Modified: trunk/buildroot/package/xorg/xorg-config.patch
===================================================================
buildroot/package/xorg/xorg-config.patch +3 -2
@@ -1,6 +1,6 @@ --- xc/config/cf/host.def~ Thu May 12 15:28:01 MDT 2005 +++ xc/config/cf/host.def Thu May 12 15:28:01 MDT 2005 -@@ -0,0 +1,42 @@ +@@ -0,0 +1,43 @@ +#define KDriveXServer YES +#define TinyXServer YES +#define XfbdevServer YES
@@ -32,7 +32,8 @@ +#define BuildIPv6 NO +#define HasPam NO +#define HasPamMisc NO -+ ++#define BuildXterm NO ++#define BuildXFree86ConfigTools NO +/* +#define XF86CardDrivers mga glint nv tga s3virge sis rendition \ + neomagic i740 tdfx savage \
Added: trunk/buildroot/package/xorg/xorg-mmx.patch
===================================================================
buildroot/package/xorg/xorg-mmx.patch +19 -0
@@ -0,0 +1,19 @@ +--- xc/programs/Xserver/fb/Imakefile.orig 2006-07-20 11:41:36.000000000 -0600 ++++ xc/programs/Xserver/fb/Imakefile 2006-07-20 11:43:50.000000000 -0600 +@@ -3,16 +3,6 @@ + XCOMM + XCOMM Id: Imakefile,v 1.1 1999/11/02 03:54:44 keithp Exp $ + +-#if defined(i386Architecture) && defined(HasGcc34) && HasGcc34 +-MMXOPTIONS= -mmmx -Winline --param inline-unit-growth=10000 \ +- --param large-function-growth=10000 -DUSE_GCC34_MMX +- +-SpecialCObjectRule(fbmmx,fbmmx.c,$(MMXOPTIONS)) +-SpecialCObjectRule(fbpict,fbpict.c,$(MMXOPTIONS)) +-SpecialCObjectRule(fbfill,fbfill.c,$(MMXOPTIONS)) +- +-#endif +- + #if DoLoadableServer + #if !BuildModuleInSubdir + #define IHaveModules
Added: trunk/buildroot/package/xorg/xorg-noxf86cfg.patch
===================================================================
buildroot/package/xorg/xorg-noxf86cfg.patch +13 -0
@@ -0,0 +1,13 @@ +--- xc/programs/Xserver/hw/xfree86/Imakefile.orig 2006-07-20 12:51:58.000000000 -0600 ++++ xc/programs/Xserver/hw/xfree86/Imakefile 2006-07-20 12:52:04.000000000 -0600 +@@ -84,10 +84,6 @@ + DRIVERSDK = sdk + #endif + +-#if !BuildServersOnly || BuildXFree86ConfigTools +-XF86CFGDIRS = xf86cfg xf86config +-#endif +- + SUBDIRS = os-support common $(I2CDIR) $(XAADIR) $(XF1BPPDIR) $(XF4BPPDIR) \ + $(XF8_32BPPDIR) $(XF8_16BPPDIR) $(XF24_32BPPDIR) $(SHADOWFBDIR) \ + drivers $(LOADERDIR) $(VGAHWDIR) $(FBDEVHWDIR) $(RAMDACDIR) \
Added: trunk/buildroot/package/xorg/xorg.conf
===================================================================
buildroot/package/xorg/xorg.conf +116 -0
116 lines not on this page · raw message
Modified: trunk/buildroot/package/xorg/xorg.mk
===================================================================
buildroot/package/xorg/xorg.mk +16 -10
@@ -9,11 +9,13 @@ XORG_APPS:=xlsfonts/xlsfonts xmodmap/xmodmap xinit/startx \ xauth/xauth xinit/xinit xsetroot/xsetroot xset/xset \ - xterm/xterm mkfontscale/mkfontscale mkfontdir/mkfontdir + mkfontscale/mkfontscale mkfontdir/mkfontdir \ + #xterm/xterm XORG_LIBS:= Xft fontconfig expat Xrender Xaw Xmu Xt \ - SM ICE Xpm Xp Xext X11 Xmuu + SM ICE Xpm Xp Xext X11 Xmuu Xxf86misc + ############################################################# # Stuff below this line shouldn't need changes. # if you do change, look in rxvt & matchbox for the impact!
@@ -72,6 +74,12 @@ World XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale ) touch -c $(XORG_XSERVER) +$(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2: $(XORG_XSERVER) + -mkdir -p $(STAGING_DIR)$(TARGET_LIBX) + ( cd $(XORG_DIR); $(MAKE) \ + DESTDIR=$(STAGING_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale ) + touch -c $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2 + $(TARGET_XSERVER): $(XORG_XSERVER) -mkdir -p $(XORG_BINX) for file in $(XORG_APPS) ; do \
@@ -89,6 +97,9 @@ cp -LRf $(XORG_DIR)/fonts/bdf/misc/*.bdf $(XORG_LIBX)/X11/fonts/misc/ ( cd $(XORG_LIBX)/X11/fonts/misc/; mkfontdir ) (cd $(TARGET_DIR)/usr/bin; ln -snf $(TARGET_BINX) X11) + mkdir -p $(TARGET_DIR)/etc/X11/ + cp package/xorg/xorg.conf $(TARGET_DIR)/etc/X11/ + cp -a $(STAGING_DIR)$(TARGET_LIBX)/X11/rgb* $(XORG_LIBX)/X11/ touch -c $(TARGET_XSERVER) $(XORG_LIBX)/libX11.so.6.2: $(TARGET_XSERVER)
@@ -101,20 +112,15 @@ cp -pRf $$file $(XORG_LIBX) ; \ done (cd $(TARGET_DIR)/usr/lib; ln -snf $(TARGET_LIBX) X11) - if [ grep -q '$(TARGET_LIBX)' $(TARGET_DIR)/etc/ld.so.conf ] ; then \ + touch $(TARGET_DIR)/etc/ld.so.conf + if [ "`grep -c '$(TARGET_LIBX)' $(TARGET_DIR)/etc/ld.so.conf`" = "0" ] ; then \ echo "$(TARGET_LIBX)" >> $(TARGET_DIR)/etc/ld.so.conf; \ fi; touch -c $(XORG_LIBX)/libX11.so.6.2 -$(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2: $(XORG_XSERVER) - -mkdir -p $(STAGING_DIR)$(TARGET_LIBX) - ( cd $(XORG_DIR); $(MAKE) \ - DESTDIR=$(STAGING_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale ) - touch -c $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2 +xorg: zlib png $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2 $(XORG_LIBX)/libX11.so.6.2 -xorg: zlib png $(XORG_LIBX)/libX11.so.6.2 $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2 - xorg-source: $(DL_DIR)/$(XORG_SOURCE) xorg-clean: