View previous topic :: View next topic |
Author |
Message |
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4809 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Fri Nov 30, 2018 6:26 am Post subject: installare moduli g-ctan. |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31349 Location: here
|
Posted: Fri Nov 30, 2018 7:13 am Post subject: |
|
|
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 |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4809 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sun Dec 02, 2018 3:10 pm Post subject: |
|
|
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 |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4809 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sun Dec 02, 2018 8:38 pm Post subject: |
|
|
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 |
|
|
|