From: Eric Andersen Date: Thu, 11 Jan 2007 06:17:04 +0000 (-0000) Subject: more updates to ensure subsequent packages build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fdbe8a31be3fdb3867d8052972fbccab4f5613df;p=buildroot.git more updates to ensure subsequent packages build --- diff --git a/package/xorg/Config.in b/package/xorg/Config.in index 35e8ccd238..5dec3e94c5 100644 --- a/package/xorg/Config.in +++ b/package/xorg/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_XORG select BR2_PACKAGE_ZLIB select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_EXPAT select BR2_PACKAGE_PKGCONFIG help The official X Window system and server. diff --git a/package/xorg/xorg-config.patch b/package/xorg/xorg-config.patch index a2f49cf9fc..9bfd567263 100644 --- a/package/xorg/xorg-config.patch +++ b/package/xorg/xorg-config.patch @@ -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,43 @@ +@@ -0,0 +1,44 @@ +#define KDriveXServer YES +#define TinyXServer YES +#define XfbdevServer YES @@ -12,13 +12,14 @@ +#define Freetype2Dir REPLACE_STAGING_DIR +#define HasFontconfig NO +#define HasLibpng YES -+#define HasZlib YES ++#define HasZlib YES +#define HaveLib64 NO +#define LibDirName lib +#define SystemUsrLibDir /usr/lib +#define TkLibDir /usr/lib + -+#define HasExpat NO ++#define HasExpat YES ++#define ExpatDir REPLACE_STAGING_DIR +#define XprtServer NO +#define BuildXprintClients NO +#define TouchScreen NO diff --git a/package/xorg/xorg.mk b/package/xorg/xorg.mk index 37884c5c07..136f26af57 100644 --- a/package/xorg/xorg.mk +++ b/package/xorg/xorg.mk @@ -12,7 +12,7 @@ XORG_APPS:=xlsfonts/xlsfonts xmodmap/xmodmap xinit/startx \ mkfontscale/mkfontscale mkfontdir/mkfontdir \ #xterm/xterm -XORG_LIBS:= Xft fontconfig expat Xrender Xaw Xmu Xt \ +XORG_LIBS:= Xft fontconfig Xrender Xaw Xmu Xt \ SM ICE Xpm Xp Xext X11 Xmuu Xxf86misc @@ -97,9 +97,8 @@ $(XORG_XSERVER): $(XORG_DIR)/.configured touch -c $(XORG_XSERVER) $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2: $(XORG_XSERVER) - -mkdir -p $(STAGING_DIR)$(TARGET_LIBX) - rm -f $(STAGING_DIR)$(TARGET_LIBX)/pkgconfig - ln -fs ../../../lib/pkgconfig $(STAGING_DIR)$(TARGET_LIBX)/pkgconfig + -mkdir -p $(STAGING_DIR)/usr/X11R6 + ln -fs ../../lib $(STAGING_DIR)$(TARGET_LIBX) ( cd $(XORG_DIR); $(MAKE) \ DESTDIR=$(STAGING_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale ) $(SED) 's,/usr/X11R6,$(STAGING_DIR)/usr/X11R6,' $(STAGING_DIR)/usr/X11R6/lib/pkgconfig/*.pc @@ -144,7 +143,8 @@ $(XORG_LIBX)/libX11.so.6.2: $(TARGET_XSERVER) touch -c $(XORG_LIBX)/libX11.so.6.2 -xorg: zlib png pkgconfig freetype $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2 $(XORG_LIBX)/libX11.so.6.2 +xorg: zlib png pkgconfig expat freetype \ + $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2 $(XORG_LIBX)/libX11.so.6.2 xorg-source: $(DL_DIR)/$(XORG_SOURCE)