Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Forum di discussione italiano
  • Search

installare moduli g-ctan.

Tutte le discussioni direttamente correlabili all'informatica e/o a GNU/*nix.

Moderator: ago

Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

installare moduli g-ctan.

  • Quote

Post by cloc3 » Fri Nov 30, 2018 6:26 am

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
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Nov 30, 2018 7:13 am

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.

"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
Top
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

  • Quote

Post by cloc3 » Sun Dec 02, 2018 3:10 pm

strano che non esista un overlay.
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
Top
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

  • Quote

Post by cloc3 » Sun Dec 02, 2018 8:38 pm

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
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Forum di discussione italiano”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy