Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installare moduli g-ctan.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4809
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Nov 30, 2018 6:26 am    Post subject: installare moduli g-ctan. Reply with quote

avrei bisogno di installare un modulo ctan per latex (hieroglyph).
ho visto che una volta esisteva il pacchetto app-portage/g-ctan, che adesso è uscito da portage.

cosa si può fare adesso?
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31348
Location: here

PostPosted: Fri Nov 30, 2018 7:13 am    Post subject: Reply with quote

Il pacchetto e' https://ctan.org/tex-archive/fonts/hieroglyph ?
La cosa piu' logica e' creare un ebuild per questo pacchetto.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4809
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Dec 02, 2018 3:10 pm    Post subject: Reply with quote

strano che non esista un overlay.
ho creato questo ebuild per la versione in git:
Code:

cloc3Lnv /usr/local/portage/dev-tex/hierotex # cat hierotex-9999.ebuild
# Copyright 2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit git-r3 latex-package

DESCRIPTION="latex hieroglyph font"
HOMEPAGE="https://github.com/hierotex/hierotex/blob/master/texmf/doc/latex/hierotex/EGypto.pdf"
SRC_URI=""
EGIT_REPO_URI="https://github.com/hierotex/hierotex"

LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc sesh"
#PROPERTIES="interactive"

DEPEND=""
RDEPEND="${DEPEND} app-text/texlive-core"
BDEPEND=""

src_compile() {
   if use sesh; then {
      cd Seshnesu
      make sesh
   } else {
      default
   }
   fi
}

src_install() {
   insinto "${TEXMF}/fonts/source/public/hierotex"
   doins -r "texmf/fonts/source/public/hierotex/auxmf"
   doins -r "texmf/fonts/source/public/hierotex/mf"
   insinto "${TEXMF}/tex/latex/"
   doins -r "texmf/tex/latex/hierotex"
   use sesh && {
      dobin Seshnesu/sesh
   }
   use doc && {
      insinto "${TEXMF}/doc/latex/"
      doins -r "texmf/doc/latex/hierotex"
   }
}

_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Sun Dec 02, 2018 8:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4809
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Dec 02, 2018 8:38 pm    Post subject: Reply with quote

mi serviva anche un ebuild per hierotype:
Code:

cloc3Lnv /usr/local/portage/dev-tex/hierotype # cat hierotype-3.1.4.ebuild
# Copyright 2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit latex-package

DESCRIPTION="latex hieroglyph font"
HOMEPAGE="https://github.com/hierotex/hierotex/blob/master/texmf/doc/latex/hierotex/EGypto.pdf"
SRC_URI="http://mirrors.ctan.org/fonts/hieroglyph/HieroType1-3.1.4.tgz"

LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
#PROPERTIES="interactive"

DEPEND=""
RDEPEND="${DEPEND} app-text/texlive-core"
BDEPEND=""

src_unpack() {
   mkdir -p $S
   cd $S
   unpack $A
}

src_install() {
   insinto "${TEXMF}/texmf/fonts/source/public/hierotype"
   doins -r "texmf/fonts"
   insinto "${TEXMF}/texmf/dvips/${PN}"
   for i in `ls texmf/dvips`; do doins "texmf/dvips/$i";done
   insinto "${TEXMF}/texmf/pdftex/${PN}"
   doins -r "texmf/pdftex/config"
}

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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