Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Fuentes] Instalar Ibarra (ebuild)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2222
Location: Barcelona

PostPosted: Sun Dec 27, 2009 2:54 pm    Post subject: [Fuentes] Instalar Ibarra (ebuild) Reply with quote

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
View user's profile Send private message
the incredible hurd
Guru
Guru


Joined: 01 Jan 2007
Posts: 381

PostPosted: Sun Dec 27, 2009 8:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2222
Location: Barcelona

PostPosted: Tue Dec 29, 2009 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2222
Location: Barcelona

PostPosted: Fri Jan 19, 2018 6:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2222
Location: Barcelona

PostPosted: Thu Jul 29, 2021 9:22 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Thu Jul 29, 2021 9:32 am    Post subject: Reply with quote

Añadir la línea EAPI=7 antes de inherit
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2222
Location: Barcelona

PostPosted: Thu Jul 29, 2021 10:57 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Thu Jul 29, 2021 11:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum