Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85411 - CTAN and CRAN package installation script
Summary: CTAN and CRAN package installation script
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: TeX project
URL: http://bbs.archlinux.org/viewtopic.ph...
Whiteboard:
Keywords:
: 91794 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-15 13:37 UTC by Bernhard Reiter
Modified: 2020-08-27 21:26 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
g-ctan.sh (g-ctan.sh,3.98 KB, text/plain)
2005-05-29 13:03 UTC, Mamoru KOMACHI (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Reiter 2005-03-15 13:37:04 UTC
There is the g-cpan.pl script for installing CPAN packages in a way they become integrated into portage. I have not found anything comparable for CTAN (TeX) or CRAN (for the R statistical/programming language: www.r-project.org), although this would be at least as useful. Apparently, there is some interest in the forums, although nobody seems to have done anything about it actually. (Refer to the URL for a discussion in an Arch Linux forum including some technical points)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-03-16 11:14:34 UTC
I wrote g-ctan.sh before (probably two years ago) but I wasn't sure whether that was useful.
(and I thought it was incomplete, but I forgot why I thought so)
I'll post that later if you don't mind testing it.
Comment 2 Bernhard Reiter 2005-04-13 14:36:15 UTC
sounds interesting (bump)! is it recommendable to set up some encapsulated testing environment for doing that and are there any docs about such a thing?
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-07 05:51:31 UTC
*** Bug 91794 has been marked as a duplicate of this bug. ***
Comment 4 Bernhard Reiter 2005-05-23 14:00:06 UTC
just some thoughts: 
what language should g-c?an.* scripts be programmed? there is some good reason
to modularize things, as some tasks should be pretty common among them - refer
to the already exisiting g-cpan.pl for e.g. checking if there is an ebuild of
the given name, if the package is already included with the "base distribution"
(perl for CPAN, tetex (or alternatives?) for CTAN) or if it has been already
installed via the script. Would Perl be reasonable for, say, CTAN and CRAN?
(This might help porting efforts from g-cpan.pl) Can anybody think of any other
C?ANs this would make sense for?
Mamoru, have you already found your script?
Any comment from TeX and/or R users?
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-05-29 13:03:04 UTC
Created attachment 60118 [details]
g-ctan.sh

I forgot to attach the script. This is just FYI.
(You need to emerge tetex with doc USE flag)
Comment 6 gunix 2005-08-18 09:24:48 UTC
Is this g-ctan script working?
Is anyone working on an ebuild?
Comment 7 Dominique Michel 2007-04-12 14:49:55 UTC
Thanks for the script, but it doesnt work with tetex-3

I get the following error:
# ./g-ctan.sh list
w3m: Can't load /usr/share/texmf/doc/help/Catalogue/brief.html.

I re-merged tetex with USE=doc but this file is not installed by tetex-3.0_p1-r3
Comment 8 Renato Caldas 2009-01-26 17:44:16 UTC
BUMP!

Anyone still looking at this?
Comment 9 Liviu Andronic 2009-02-25 12:16:55 UTC
(In reply to comment #8)
> BUMP!
> 
Yeah, I'd like to bump this bug, too. It would be quite practical to install TeX and R packages directly from within portage, and avoid using (at least for R) the "internal" package manager. 
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2009-09-10 10:37:58 UTC
It is not fully what you craved for, but I created g-CTAN to install updated packages of the TeXLive distribution.  See app-portage/g-ctan.
Comment 11 Simon Kohlmeyer 2010-04-28 16:40:56 UTC
app-portage/g-ctan doesn't really solve this problem for me.

I need to install other macros from ctan besides the packages included in texlive.
Would a script that just takes a package name and downloads it from ctan (with or without dependencies), installing it in a tree favored over texmf-dist (like texmf-ctan or something, [I hope texmf can be configured for this]) be enough?
Probably it also needs to store version information and at least allow uninstalls.

Maybe I'll start working on something that does that in the next days.