All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2] ttf-pt-sans: add recipe
@ 2016-03-18 15:06 Ioan-Adrian Ratiu
  2016-03-18 16:04 ` Martin Jansa
  0 siblings, 1 reply; 6+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-03-18 15:06 UTC (permalink / raw)
  To: openembedded-devel

PT Sans is an open source licensed font released in 2010 by ParaType.
The ParaTypeFFL-1.3 license file has been submitted to OE-core.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
 .../recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb  | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
new file mode 100644
index 0000000..dcfa080
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
@@ -0,0 +1,39 @@
+SUMMARY = "PT Sans Fonts"
+DESCRIPTION = "The PT Sans TTF font set"
+HOMEPAGE = "http://www.paratype.com/public/"
+
+SECTION = "x11/fonts"
+
+LICENSE = "ParaTypeFFL-1.3"
+LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
+
+inherit fontcache
+
+# Downloading from fedora because upstream doesn't version its zip file
+# and causes hash build failures
+SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip"
+
+SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
+SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
+
+do_install () {
+	install -d ${D}${datadir}/fonts/X11/TTF/
+	cd ..
+	for i in *.ttf; do
+		install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i}
+	done
+}
+
+FILES_${PN} += "${datadir}"
+
+pkg_postinst_${PN} () {
+        set -x
+        for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
+                mkfontdir $fontdir
+                mkfontscale $fontdir
+        done
+        for fontdir in `find $D/usr/share/fonts/X11 -type d`; do
+                mkfontdir $fontdir
+                mkfontscale $fontdir
+        done
+}
-- 
2.7.3



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

* Re: [meta-oe][PATCH v2] ttf-pt-sans: add recipe
  2016-03-18 15:06 [meta-oe][PATCH v2] ttf-pt-sans: add recipe Ioan-Adrian Ratiu
@ 2016-03-18 16:04 ` Martin Jansa
  2016-03-21  9:01   ` Ioan-Adrian Ratiu
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2016-03-18 16:04 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2249 bytes --]

On Fri, Mar 18, 2016 at 05:06:34PM +0200, Ioan-Adrian Ratiu wrote:
> PT Sans is an open source licensed font released in 2010 by ParaType.
> The ParaTypeFFL-1.3 license file has been submitted to OE-core.
> 
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
> ---
>  .../recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb  | 39 ++++++++++++++++++++++
>  1 file changed, 39 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> 
> diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> new file mode 100644
> index 0000000..dcfa080
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> @@ -0,0 +1,39 @@
> +SUMMARY = "PT Sans Fonts"
> +DESCRIPTION = "The PT Sans TTF font set"
> +HOMEPAGE = "http://www.paratype.com/public/"
> +
> +SECTION = "x11/fonts"
> +
> +LICENSE = "ParaTypeFFL-1.3"
> +LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
> +
> +inherit fontcache

Still missing layer.conf additions.

Use 4 spaces for indentation.

> +# Downloading from fedora because upstream doesn't version its zip file
> +# and causes hash build failures
> +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip"
> +
> +SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
> +SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
> +
> +do_install () {
> +	install -d ${D}${datadir}/fonts/X11/TTF/
> +	cd ..
> +	for i in *.ttf; do
> +		install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i}
> +	done
> +}
> +
> +FILES_${PN} += "${datadir}"
> +
> +pkg_postinst_${PN} () {
> +        set -x
> +        for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
> +                mkfontdir $fontdir
> +                mkfontscale $fontdir
> +        done
> +        for fontdir in `find $D/usr/share/fonts/X11 -type d`; do
> +                mkfontdir $fontdir
> +                mkfontscale $fontdir
> +        done
> +}
> -- 
> 2.7.3
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [meta-oe][PATCH v2] ttf-pt-sans: add recipe
  2016-03-18 16:04 ` Martin Jansa
@ 2016-03-21  9:01   ` Ioan-Adrian Ratiu
  2016-03-21  9:57     ` Martin Jansa
  0 siblings, 1 reply; 6+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-03-21  9:01 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel

On Fri, 18 Mar 2016 17:04:31 +0100
Martin Jansa <martin.jansa@gmail.com> wrote:

> On Fri, Mar 18, 2016 at 05:06:34PM +0200, Ioan-Adrian Ratiu wrote:
> > PT Sans is an open source licensed font released in 2010 by ParaType.
> > The ParaTypeFFL-1.3 license file has been submitted to OE-core.
> > 
> > Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
> > ---
> >  .../recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb  | 39 ++++++++++++++++++++++
> >  1 file changed, 39 insertions(+)
> >  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > 
> > diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > new file mode 100644
> > index 0000000..dcfa080
> > --- /dev/null
> > +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > @@ -0,0 +1,39 @@
> > +SUMMARY = "PT Sans Fonts"
> > +DESCRIPTION = "The PT Sans TTF font set"
> > +HOMEPAGE = "http://www.paratype.com/public/"
> > +
> > +SECTION = "x11/fonts"
> > +
> > +LICENSE = "ParaTypeFFL-1.3"
> > +LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
> > +
> > +inherit fontcache  
> 
> Still missing layer.conf additions.

I am not sure I understand what are these layer.conf additions.
Do I need to add the recipe to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS? (i doubt it since I'm not using ttf.inc)

> 
> Use 4 spaces for indentation.
> 
> > +# Downloading from fedora because upstream doesn't version its zip file
> > +# and causes hash build failures
> > +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip"
> > +
> > +SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
> > +SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
> > +
> > +do_install () {
> > +	install -d ${D}${datadir}/fonts/X11/TTF/
> > +	cd ..
> > +	for i in *.ttf; do
> > +		install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i}
> > +	done
> > +}
> > +
> > +FILES_${PN} += "${datadir}"
> > +
> > +pkg_postinst_${PN} () {
> > +        set -x
> > +        for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
> > +                mkfontdir $fontdir
> > +                mkfontscale $fontdir
> > +        done
> > +        for fontdir in `find $D/usr/share/fonts/X11 -type d`; do
> > +                mkfontdir $fontdir
> > +                mkfontscale $fontdir
> > +        done
> > +}
> > -- 
> > 2.7.3
> >   
> 



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

* Re: [meta-oe][PATCH v2] ttf-pt-sans: add recipe
  2016-03-21  9:01   ` Ioan-Adrian Ratiu
@ 2016-03-21  9:57     ` Martin Jansa
  2016-03-21  9:59       ` Martin Jansa
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2016-03-21  9:57 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2931 bytes --]

On Mon, Mar 21, 2016 at 11:01:04AM +0200, Ioan-Adrian Ratiu wrote:
> On Fri, 18 Mar 2016 17:04:31 +0100
> Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> > On Fri, Mar 18, 2016 at 05:06:34PM +0200, Ioan-Adrian Ratiu wrote:
> > > PT Sans is an open source licensed font released in 2010 by ParaType.
> > > The ParaTypeFFL-1.3 license file has been submitted to OE-core.
> > > 
> > > Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
> > > ---
> > >  .../recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb  | 39 ++++++++++++++++++++++
> > >  1 file changed, 39 insertions(+)
> > >  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > > 
> > > diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > > new file mode 100644
> > > index 0000000..dcfa080
> > > --- /dev/null
> > > +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > > @@ -0,0 +1,39 @@
> > > +SUMMARY = "PT Sans Fonts"
> > > +DESCRIPTION = "The PT Sans TTF font set"
> > > +HOMEPAGE = "http://www.paratype.com/public/"
> > > +
> > > +SECTION = "x11/fonts"
> > > +
> > > +LICENSE = "ParaTypeFFL-1.3"
> > > +LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
> > > +
> > > +inherit fontcache  
> > 
> > Still missing layer.conf additions.
> 
> I am not sure I understand what are these layer.conf additions.
> Do I need to add the recipe to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS? (i doubt it since I'm not using ttf.inc)

Yes, fontconfig-utils dependency is added by fontcache.bbclass which
you're using.

> > Use 4 spaces for indentation.
> > 
> > > +# Downloading from fedora because upstream doesn't version its zip file
> > > +# and causes hash build failures
> > > +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip"
> > > +
> > > +SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
> > > +SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
> > > +
> > > +do_install () {
> > > +	install -d ${D}${datadir}/fonts/X11/TTF/
> > > +	cd ..
> > > +	for i in *.ttf; do
> > > +		install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i}
> > > +	done
> > > +}
> > > +
> > > +FILES_${PN} += "${datadir}"
> > > +
> > > +pkg_postinst_${PN} () {
> > > +        set -x
> > > +        for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
> > > +                mkfontdir $fontdir
> > > +                mkfontscale $fontdir
> > > +        done
> > > +        for fontdir in `find $D/usr/share/fonts/X11 -type d`; do
> > > +                mkfontdir $fontdir
> > > +                mkfontscale $fontdir
> > > +        done
> > > +}
> > > -- 
> > > 2.7.3
> > >   
> > 
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [meta-oe][PATCH v2] ttf-pt-sans: add recipe
  2016-03-21  9:57     ` Martin Jansa
@ 2016-03-21  9:59       ` Martin Jansa
  2016-03-21 10:05         ` Ioan-Adrian Ratiu
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2016-03-21  9:59 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3431 bytes --]

On Mon, Mar 21, 2016 at 10:57:27AM +0100, Martin Jansa wrote:
> On Mon, Mar 21, 2016 at 11:01:04AM +0200, Ioan-Adrian Ratiu wrote:
> > On Fri, 18 Mar 2016 17:04:31 +0100
> > Martin Jansa <martin.jansa@gmail.com> wrote:
> > 
> > > On Fri, Mar 18, 2016 at 05:06:34PM +0200, Ioan-Adrian Ratiu wrote:
> > > > PT Sans is an open source licensed font released in 2010 by ParaType.
> > > > The ParaTypeFFL-1.3 license file has been submitted to OE-core.
> > > > 
> > > > Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
> > > > ---
> > > >  .../recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb  | 39 ++++++++++++++++++++++
> > > >  1 file changed, 39 insertions(+)
> > > >  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > > > 
> > > > diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > > > new file mode 100644
> > > > index 0000000..dcfa080
> > > > --- /dev/null
> > > > +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > > > @@ -0,0 +1,39 @@
> > > > +SUMMARY = "PT Sans Fonts"
> > > > +DESCRIPTION = "The PT Sans TTF font set"
> > > > +HOMEPAGE = "http://www.paratype.com/public/"
> > > > +
> > > > +SECTION = "x11/fonts"
> > > > +
> > > > +LICENSE = "ParaTypeFFL-1.3"
> > > > +LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
> > > > +
> > > > +inherit fontcache  
> > > 
> > > Still missing layer.conf additions.
> > 
> > I am not sure I understand what are these layer.conf additions.
> > Do I need to add the recipe to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS? (i doubt it since I'm not using ttf.inc)
> 
> Yes, fontconfig-utils dependency is added by fontcache.bbclass which
> you're using.

Ahh now I see that you've dropped allarch inherit in v2.
So it will work without SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS.

But you can still "optimise" it by returning allarch and adding
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS

> > > Use 4 spaces for indentation.
> > > 
> > > > +# Downloading from fedora because upstream doesn't version its zip file
> > > > +# and causes hash build failures
> > > > +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip"
> > > > +
> > > > +SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
> > > > +SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
> > > > +
> > > > +do_install () {
> > > > +	install -d ${D}${datadir}/fonts/X11/TTF/
> > > > +	cd ..
> > > > +	for i in *.ttf; do
> > > > +		install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i}
> > > > +	done
> > > > +}
> > > > +
> > > > +FILES_${PN} += "${datadir}"
> > > > +
> > > > +pkg_postinst_${PN} () {
> > > > +        set -x
> > > > +        for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
> > > > +                mkfontdir $fontdir
> > > > +                mkfontscale $fontdir
> > > > +        done
> > > > +        for fontdir in `find $D/usr/share/fonts/X11 -type d`; do
> > > > +                mkfontdir $fontdir
> > > > +                mkfontscale $fontdir
> > > > +        done
> > > > +}
> > > > -- 
> > > > 2.7.3
> > > >   
> > > 
> > 
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [meta-oe][PATCH v2] ttf-pt-sans: add recipe
  2016-03-21  9:59       ` Martin Jansa
@ 2016-03-21 10:05         ` Ioan-Adrian Ratiu
  0 siblings, 0 replies; 6+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-03-21 10:05 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel

On Mon, 21 Mar 2016 10:59:52 +0100
Martin Jansa <martin.jansa@gmail.com> wrote:

> On Mon, Mar 21, 2016 at 10:57:27AM +0100, Martin Jansa wrote:
> > On Mon, Mar 21, 2016 at 11:01:04AM +0200, Ioan-Adrian Ratiu wrote:  
> > > On Fri, 18 Mar 2016 17:04:31 +0100
> > > Martin Jansa <martin.jansa@gmail.com> wrote:
> > >   
> > > > On Fri, Mar 18, 2016 at 05:06:34PM +0200, Ioan-Adrian Ratiu wrote:  
> > > > > PT Sans is an open source licensed font released in 2010 by ParaType.
> > > > > The ParaTypeFFL-1.3 license file has been submitted to OE-core.
> > > > > 
> > > > > Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
> > > > > ---
> > > > >  .../recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb  | 39 ++++++++++++++++++++++
> > > > >  1 file changed, 39 insertions(+)
> > > > >  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > > > > 
> > > > > diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > > > > new file mode 100644
> > > > > index 0000000..dcfa080
> > > > > --- /dev/null
> > > > > +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
> > > > > @@ -0,0 +1,39 @@
> > > > > +SUMMARY = "PT Sans Fonts"
> > > > > +DESCRIPTION = "The PT Sans TTF font set"
> > > > > +HOMEPAGE = "http://www.paratype.com/public/"
> > > > > +
> > > > > +SECTION = "x11/fonts"
> > > > > +
> > > > > +LICENSE = "ParaTypeFFL-1.3"
> > > > > +LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
> > > > > +
> > > > > +inherit fontcache    
> > > > 
> > > > Still missing layer.conf additions.  
> > > 
> > > I am not sure I understand what are these layer.conf additions.
> > > Do I need to add the recipe to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS? (i doubt it since I'm not using ttf.inc)  
> > 
> > Yes, fontconfig-utils dependency is added by fontcache.bbclass which
> > you're using.  
> 
> Ahh now I see that you've dropped allarch inherit in v2.
> So it will work without SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS.
> 
> But you can still "optimise" it by returning allarch and adding
> SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS

Yes, I'll do that. Thank you!

> 
> > > > Use 4 spaces for indentation.
> > > >   
> > > > > +# Downloading from fedora because upstream doesn't version its zip file
> > > > > +# and causes hash build failures
> > > > > +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip"
> > > > > +
> > > > > +SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
> > > > > +SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
> > > > > +
> > > > > +do_install () {
> > > > > +	install -d ${D}${datadir}/fonts/X11/TTF/
> > > > > +	cd ..
> > > > > +	for i in *.ttf; do
> > > > > +		install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i}
> > > > > +	done
> > > > > +}
> > > > > +
> > > > > +FILES_${PN} += "${datadir}"
> > > > > +
> > > > > +pkg_postinst_${PN} () {
> > > > > +        set -x
> > > > > +        for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
> > > > > +                mkfontdir $fontdir
> > > > > +                mkfontscale $fontdir
> > > > > +        done
> > > > > +        for fontdir in `find $D/usr/share/fonts/X11 -type d`; do
> > > > > +                mkfontdir $fontdir
> > > > > +                mkfontscale $fontdir
> > > > > +        done
> > > > > +}
> > > > > -- 
> > > > > 2.7.3
> > > > >     
> > > >   
> > >   
> > 
> > -- 
> > Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com  
> 
> 
> 



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

end of thread, other threads:[~2016-03-21 10:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-18 15:06 [meta-oe][PATCH v2] ttf-pt-sans: add recipe Ioan-Adrian Ratiu
2016-03-18 16:04 ` Martin Jansa
2016-03-21  9:01   ` Ioan-Adrian Ratiu
2016-03-21  9:57     ` Martin Jansa
2016-03-21  9:59       ` Martin Jansa
2016-03-21 10:05         ` Ioan-Adrian Ratiu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.