View previous topic :: View next topic |
Author |
Message |
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2221 Location: Barcelona
|
Posted: Sun Dec 27, 2009 2:54 pm Post subject: [Fuentes] Instalar Ibarra (ebuild) |
|
|
Hola,
Tras leer en menéame una noticia al respecto, he hecho un ebuild para instalar la fuente Ibarra en Gentoo. Aquí lo tenéis:
/usr/local/portage/media-fonts/ibarra/ibarra-1.0.1.ebuild
Code: |
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit rpm
DESCRIPTION="Spanish Ibarra Font"
HOMEPAGE="http://persephone.cps.unizar.es/General/gente/Ibarra/"
SRC_URI="http://ivo.cps.unizar.es/pub/Ibarra/font-ttf-ibarra-1.0-1.noarch.rpm"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND=""
RESTRICT="mirror"
src_install() {
insinto usr/share/fonts/ibarra
doins usr/share/fonts/TTF/ibarra/*
dodoc usr/share/doc/font-ttf-ibarra-1.0/LEEME.TXT
}
|
_________________ pcmaster
Last edited by pcmaster on Sun Jan 21, 2018 9:08 am; edited 4 times in total |
|
Back to top |
|
|
the incredible hurd Guru
Joined: 01 Jan 2007 Posts: 381
|
Posted: Sun Dec 27, 2009 8:52 pm Post subject: |
|
|
Interesante.
Si me permites la sugerencia, una use truetype le vendría estupendamente, para instalar o no la versión type1 y bitmap, ambas deprecated. A ver si por fin opentype reemplaza a truetype...
Lo digo porque me he propuesto quitar todo vestigio type1 y/o bitmap en mis equipos. _________________ Nunca preguntes el camino a alguien que ya lo conoce. Podrías no perderte. (Nahman de Braslaw) |
|
Back to top |
|
|
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2221 Location: Barcelona
|
Posted: Tue Dec 29, 2009 12:39 pm Post subject: |
|
|
Sólo está instalando los archivos Truetype. Fíjate en que está bajando el archivo font-ttf-ibarra-1.0-1.noarch.rpm
El resto podrían instalarse bajando las fuentes del FTP, pero... ¿para qué si están deprecated? _________________ pcmaster |
|
Back to top |
|
|
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2221 Location: Barcelona
|
Posted: Fri Jan 19, 2018 6:34 pm Post subject: |
|
|
Recupero el hilo para añadir más fuentes.
Esta fuente era la Ibarra, basada en la Ibarra Real. Ahora añado un nuevo ebuild para la Ibarra Real disponible en www.ibarrareal.es
/usr/local/portage/media-fonts/ibarrareal/ibarrareal-1.0.ebuild
Code: |
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
#inherit zip
DESCRIPTION="Spanish Ibarra Real font"
HOMEPAGE="http://www.ibarrareal.es/"
SRC_URI="http://www.ibarrareal.es/font/ibarrareal.zip -> ibarrareal-${PV}.zip"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
RESTRICT="mirror"
S=${WORKDIR}
src_install() {
insinto usr/share/fonts/ibarra_real
doins *.otf
}
|
_________________ pcmaster |
|
Back to top |
|
|
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2221 Location: Barcelona
|
Posted: Thu Jul 29, 2021 9:22 am Post subject: |
|
|
Actualmente el primer ebuid, que descomprime un archivo .rpm, no funciona porque sale este error:
rpm: EAPI 0 not supported
¿Alguna idea? _________________ pcmaster |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30887 Location: here
|
Posted: Thu Jul 29, 2021 9:32 am Post subject: |
|
|
Añadir la línea EAPI=7 antes de inherit _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2221 Location: Barcelona
|
Posted: Thu Jul 29, 2021 10:57 am Post subject: |
|
|
Gracias por la respuesta.
Lo había probado en una copia del ebuild (añadiçendole -r1 al nombre) y no había funcionado, seguía saliento el mismo error al hacer el digest.
Ahora lo he probado modificando el mismo ebuild y ha funcionado. ¿Puede que se continuara quejando del antiguo? _________________ pcmaster |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30887 Location: here
|
Posted: Thu Jul 29, 2021 11:08 am Post subject: |
|
|
pcmaster wrote: | Ahora lo he probado modificando el mismo ebuild y ha funcionado. ¿Puede que se continuara quejando del antiguo? |
Exactamente _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|