Skip to contentSkip to conversation

fontconfig: specify font directory in EXTRA_OECONF

PATCH Applied Phil Blundell 3 participants 5 messages Jun 27, 2011 – Jun 29, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fontconfig: specify font directory in EXTRA_OECONF

since, otherwise, fontconfig's builtin default may not match ${datadir}.

---
 .../fontconfig/fontconfig_2.8.0.bb                 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb +2 -2
index ae0fef5..5381065 100644
@@ -20,7 +20,7 @@ SECTION = "libs"
 
 DEPENDS = "expat freetype zlib"
 
-PR = "r1"
+PR = "r3"
 
 SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
            file://fix-pkgconfig.patch \
@@ -45,7 +45,7 @@ inherit autotools pkgconfig
 
 export HASDOCBOOK="no"
 
-EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH}"
+EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH} --with-default-fonts=${datadir}/fonts"
 EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
 
 # The tarball has some of the patched files as read only, which
Signature · 1 line
1.7.2.5
#1 lore raw
Quoted 12 lines · Phil Blundell

since, otherwise, fontconfig's builtin default may not match ${datadir}.

---
  .../fontconfig/fontconfig_2.8.0.bb                 |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb +0 -0
index ae0fef5..5381065 100644

meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb SECTION = "libs" · line 23

Quoted 5 lines
meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb +1 -1
@@ -20,7 +20,7 @@ SECTION = "libs"
 
  DEPENDS = "expat freetype zlib"
 
-PR = "r1"
+PR = "r3"

a nitpick though not wrong but should be r2

Quoted 12 lines
meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb +1 -1
  SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
             file://fix-pkgconfig.patch \
@@ -45,7 +45,7 @@ inherit autotools pkgconfig
 
  export HASDOCBOOK="no"
 
-EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH}"
+EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH} --with-default-fonts=${datadir}/fonts"
  EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
 
  # The tarball has some of the patched files as read only, which
#2 lore raw
Quoted 5 lines · Khem Raj

meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb SECTION = "libs" · line 23

Quoted 2 lines · Phil Blundell
meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb +1 -1
-PR = "r1"
+PR = "r3"

a nitpick though not wrong but should be r2

Is it official policy that PRs need to be sequential? There seem to be various precedents for incrementing it by more than one in a single checkin, see for example d3fc33760a80b0a067b41ff88e99941f1c40c8f9 and 993a2367f881f1f4eaa10339cde93c7058660d67. If it's meant to only go up by one each time then I guess I can cope with that but it would require a bit of extra mangling at my end.

p.

#3 lore raw
Quoted 8 lines · Phil Blundell
Quoted 5 lines · Khem Raj

meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb SECTION = "libs" · line 23

Quoted 2 lines · Phil Blundell
meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb +1 -1
-PR = "r1"
+PR = "r3"

a nitpick though not wrong but should be r2

Is it official policy that PRs need to be sequential?

no. sometimes people might think two things changed to bump it by 2 and sometimes it could be that you forgot to submit 1 change

There seem to be

Quoted 14 lines

various precedents for incrementing it by more than one in a single checkin, see for example d3fc33760a80b0a067b41ff88e99941f1c40c8f9 and 993a2367f881f1f4eaa10339cde93c7058660d67. If it's meant to only go up by one each time then I guess I can cope with that but it would require a bit of extra mangling at my end.

p.

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 1 line
-Khem
#4 lore raw
In reply to Phil Blundell
Quoted 21 lines · Phil Blundell

since, otherwise, fontconfig's builtin default may not match ${datadir}.

---
 .../fontconfig/fontconfig_2.8.0.bb                 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb +1 -1
index ae0fef5..5381065 100644
@@ -20,7 +20,7 @@ SECTION = "libs"
 
 DEPENDS = "expat freetype zlib"
 
-PR = "r1"
+PR = "r3"
 
 SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
            file://fix-pkgconfig.patch \

meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb inherit autotools pkgconfig · line 51

Quoted 8 lines
meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb +1 -1
@@ -45,7 +45,7 @@ inherit autotools pkgconfig
 
 export HASDOCBOOK="no"
 
-EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH}"
+EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH} --with-default-fonts=${datadir}/fonts"
 EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
 
 # The tarball has some of the patched files as read only, which

Merged to master, thanks.

Richard (not too worried about PR not being in unit increments)