xfont_font-util: install in staging as it used to be
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 25 Feb 2010 07:39:04 +0000 (08:39 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 25 Feb 2010 08:19:30 +0000 (09:19 +0100)
Before the autotools conversion, xfont_font-util was installed in
staging, so keep this.

However, the current way of handling xfont_font-util is ugly. The
post-install.sh script removes the binaries compiled for the target
from the staging directory and replaces them by symbolic links to
utils installed on the host (making the incorrect assumption that they
are available).

It looks like xfont_font-util needs to be built for the host (using
the new infrastructure for host autotools package). This is certainly
post-2010.02 though.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/x11r7/xfont_font-util/xfont_font-util.mk

diff --git a/CHANGES b/CHANGES
index 4b8a54447ea7bd013cc5f603fda70405d3ed1de0..402c9473faa67a91ba222c33c3f405723e3d4c67 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -3,7 +3,7 @@
        Fixes all over the tree.
 
        Updated/fixed packages: busybox, ipsec-tools, libgtk2, madplay,
-       netsnmp, pango, sylpheed, qt
+       netsnmp, pango, sylpheed, qt, xfont_font-util
 
        Removed packages: openmotif, xpdf
 
index 88dce3843bd65e260d2a1d2183b4644cf83c6cd2..82e220ffc08a8673843d363046e4000ab875bd59 100644 (file)
@@ -8,6 +8,8 @@ XFONT_FONT_UTIL_VERSION = 1.0.1
 XFONT_FONT_UTIL_SOURCE = font-util-$(XFONT_FONT_UTIL_VERSION).tar.bz2
 XFONT_FONT_UTIL_SITE = http://xorg.freedesktop.org/releases/individual/font
 XFONT_FONT_UTIL_DEPENDENCIES = host-pkg-config
+XFONT_FONT_UTIL_INSTALL_STAGING = YES
+XFONT_FONT_UTIL_INSTALL_TARGET = NO
 
 define XFONT_FONT_UTIL_POST_INSTALL_FIXES
  $(@D)/post-install.sh $(STAGING_DIR)
@@ -15,4 +17,4 @@ endef
 
 XFONT_FONT_UTIL_POST_INSTALL_STAGING_HOOKS += XFONT_FONT_UTIL_POST_INSTALL_FIXES
 
-$(eval $(call AUTOTARGETS,package/x11r7,xfont_font-util))
\ No newline at end of file
+$(eval $(call AUTOTARGETS,package/x11r7,xfont_font-util))