Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH] encodings/font-util: swapped inter-DEPENDS
@ 2010-06-04 17:42 Enrico Scholz
  2010-06-04 19:27 ` John Willis
  2010-06-04 22:10 ` Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Enrico Scholz @ 2010-06-04 17:42 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Enrico Scholz, David-John Willis

'encodings' uses font-util's pkg-config file to determine location of
the X11 font directory.  When 'font-util' is not staged yet (as it was
the case), it will use buildhost information which point to something
like /usr/share/X11 (which is outside of the staging dir) and which are
not writable.

This results into an empty 'encodings' package on first bitbake run in a
pristine tree; 'encodings' must be rebuilt so that it can use font-util
information from previous runs.

As 'font-util' itself does not require 'encodings' during build-time,
there were swapped the DEPENDS.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: David-John Willis <John.Willis@Distant-earth.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
---
 recipes/xorg-font/encodings_1.0.3.bb |    4 ++--
 recipes/xorg-font/font-util_1.1.1.bb |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/xorg-font/encodings_1.0.3.bb b/recipes/xorg-font/encodings_1.0.3.bb
index 168a67a..bc95836 100644
--- a/recipes/xorg-font/encodings_1.0.3.bb
+++ b/recipes/xorg-font/encodings_1.0.3.bb
@@ -1,8 +1,8 @@
 require xorg-font-common.inc
 PE = "1"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
-DEPENDS = "mkfontscale-native font-util-native"
+DEPENDS = "mkfontscale-native font-util-native font-util"
 
 SRC_URI[archive.md5sum] = "29637480e7ce12546668631067c19ced"
 SRC_URI[archive.sha256sum] = "07d9766d4aebe05ac572599f8f903a4fe06ab667a8182f2b6cc03e5fb3b80f53"
diff --git a/recipes/xorg-font/font-util_1.1.1.bb b/recipes/xorg-font/font-util_1.1.1.bb
index f42b505..3f9b4c8 100644
--- a/recipes/xorg-font/font-util_1.1.1.bb
+++ b/recipes/xorg-font/font-util_1.1.1.bb
@@ -4,11 +4,11 @@ PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
 
 DESCRIPTION = "X font utils."
 
-DEPENDS = "encodings util-macros"
+DEPENDS = "util-macros"
 RDEPENDS_${PN} = "mkfontdir mkfontscale encodings"
 
 PE = "1"
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 do_configure_prepend() {
         sed -i "s#MAPFILES_PATH=\`pkg-config#MAPFILES_PATH=\`PKG_CONFIG_PATH=\"${STAGING_LIBDIR_NATIVE}/pkg-config\" pkg-config#g" fontutil.m4.in
-- 
1.7.0.1




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] encodings/font-util: swapped inter-DEPENDS
  2010-06-04 17:42 [PATCH] encodings/font-util: swapped inter-DEPENDS Enrico Scholz
@ 2010-06-04 19:27 ` John Willis
  2010-06-04 22:10 ` Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: John Willis @ 2010-06-04 19:27 UTC (permalink / raw)
  To: openembedded-devel

> 'encodings' uses font-util's pkg-config file to determine location of the
X11
> font directory.  When 'font-util' is not staged yet (as it was the case),
it will
> use buildhost information which point to something like /usr/share/X11
> (which is outside of the staging dir) and which are not writable.
> 
> This results into an empty 'encodings' package on first bitbake run in a
> pristine tree; 'encodings' must be rebuilt so that it can use font-util
> information from previous runs.
> 
> As 'font-util' itself does not require 'encodings' during build-time,
there were
> swapped the DEPENDS.
> 
> Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
> Cc: David-John Willis <John.Willis@Distant-earth.com>
> Cc: Martin Jansa <Martin.Jansa@gmail.com>

Acked-by: David-John Willis <John.Willis@Distant-earth.com>

> ---
>  recipes/xorg-font/encodings_1.0.3.bb |    4 ++--
>  recipes/xorg-font/font-util_1.1.1.bb |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/recipes/xorg-font/encodings_1.0.3.bb b/recipes/xorg-
> font/encodings_1.0.3.bb
> index 168a67a..bc95836 100644
> --- a/recipes/xorg-font/encodings_1.0.3.bb
> +++ b/recipes/xorg-font/encodings_1.0.3.bb
> @@ -1,8 +1,8 @@
>  require xorg-font-common.inc
>  PE = "1"
> -PR = "${INC_PR}.0"
> +PR = "${INC_PR}.1"
> 
> -DEPENDS = "mkfontscale-native font-util-native"
> +DEPENDS = "mkfontscale-native font-util-native font-util"
> 
>  SRC_URI[archive.md5sum] = "29637480e7ce12546668631067c19ced"
>  SRC_URI[archive.sha256sum] =
> "07d9766d4aebe05ac572599f8f903a4fe06ab667a8182f2b6cc03e5fb3b80f53"
> diff --git a/recipes/xorg-font/font-util_1.1.1.bb
b/recipes/xorg-font/font-
> util_1.1.1.bb
> index f42b505..3f9b4c8 100644
> --- a/recipes/xorg-font/font-util_1.1.1.bb
> +++ b/recipes/xorg-font/font-util_1.1.1.bb
> @@ -4,11 +4,11 @@ PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
> 
>  DESCRIPTION = "X font utils."
> 
> -DEPENDS = "encodings util-macros"
> +DEPENDS = "util-macros"
>  RDEPENDS_${PN} = "mkfontdir mkfontscale encodings"
> 
>  PE = "1"
> -PR = "${INC_PR}.1"
> +PR = "${INC_PR}.2"
> 
>  do_configure_prepend() {
>          sed -i "s#MAPFILES_PATH=\`pkg-
> config#MAPFILES_PATH=\`PKG_CONFIG_PATH=\"${STAGING_LIBDIR_NATI
> VE}/pkg-config\" pkg-config#g" fontutil.m4.in
> --
> 1.7.0.1






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] encodings/font-util: swapped inter-DEPENDS
  2010-06-04 17:42 [PATCH] encodings/font-util: swapped inter-DEPENDS Enrico Scholz
  2010-06-04 19:27 ` John Willis
@ 2010-06-04 22:10 ` Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2010-06-04 22:10 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Enrico Scholz, David-John Willis

On (04/06/10 19:42), Enrico Scholz wrote:
> 'encodings' uses font-util's pkg-config file to determine location of
> the X11 font directory.  When 'font-util' is not staged yet (as it was
> the case), it will use buildhost information which point to something
> like /usr/share/X11 (which is outside of the staging dir) and which are
> not writable.
> 
> This results into an empty 'encodings' package on first bitbake run in a
> pristine tree; 'encodings' must be rebuilt so that it can use font-util
> information from previous runs.
> 
> As 'font-util' itself does not require 'encodings' during build-time,
> there were swapped the DEPENDS.
> 
> Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>

Acked-by: Khem Raj <raj.khem@gmail.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-04 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-04 17:42 [PATCH] encodings/font-util: swapped inter-DEPENDS Enrico Scholz
2010-06-04 19:27 ` John Willis
2010-06-04 22:10 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox