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?
installare moduli g-ctan.
Moderator: ago
- cloc3
- Advocate

- Posts: 4840
- Joined: Tue Jan 13, 2004 10:09 am
- Location: http://www.gentoo-users.org/user/cloc3/
- Contact:
installare moduli g-ctan.
vu vu vu
gentù
mi piaci tu
gentù
mi piaci tu
- fedeliallalinea
- Administrator

- Posts: 31976
- Joined: Sat Mar 08, 2003 11:15 pm
- Location: here
- Contact:
Il pacchetto e' https://ctan.org/tex-archive/fonts/hieroglyph ?
La cosa piu' logica e' creare un ebuild per questo pacchetto.
La cosa piu' logica e' creare un ebuild per questo pacchetto.
Questions are guaranteed in life; Answers aren't.
"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
- cloc3
- Advocate

- Posts: 4840
- Joined: Tue Jan 13, 2004 10:09 am
- Location: http://www.gentoo-users.org/user/cloc3/
- Contact:
strano che non esista un overlay.
ho creato questo ebuild per la versione in git:
ho creato questo ebuild per la versione in git:
Code: Select all
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"
}
}
Last edited by cloc3 on Sun Dec 02, 2018 8:41 pm, edited 1 time in total.
vu vu vu
gentù
mi piaci tu
gentù
mi piaci tu
- cloc3
- Advocate

- Posts: 4840
- Joined: Tue Jan 13, 2004 10:09 am
- Location: http://www.gentoo-users.org/user/cloc3/
- Contact:
mi serviva anche un ebuild per hierotype:
Code: Select all
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
gentù
mi piaci tu