[issue:204] Re: TLContrib packages into MacPorts?

Mojca Miklavec mojca @ macports.org
2018年 7月 6日 (金) 00:18:41 JST


Hi,

I took a look. First of all, it is quite annoying that you are
distributing files of super tiny size in different packages. Isn't
there a way to package both archives together? (There is a workaround
to copy from one folder to another, but it's a bit annoying.)

Here's the log from my attempt:

cjk-gs-integrate [WARNING]: The program 'otfinfo' not found in PATH.
cjk-gs-integrate [WARNING]: Sorry, we can't be safe enough to distinguish
cjk-gs-integrate [WARNING]: uppercase / lowercase file names.
cjk-gs-integrate: reading font database ...
cjk-gs-integrate [WARNING]: Cannot find cjkgs-morisawa-extra.dat, skipping!
cjk-gs-integrate: checking for files ...
cjk-gs-integrate: searching for Ghostscript resource
cjk-gs-integrate: output is going to /opt/local/share/ghostscript/9.23/Resource
cjk-gs-integrate: generating links and snippets for CID fonts ...
cjk-gs-integrate: generating links, snippets and cidfmap.local for
non-CID fonts ...
cannot open /opt/local/share/ghostscript/9.23/Resource/Font/AppleGothic-Adobe-Korea1-0
for writing: Permission denied at cjk-gs-integrate.pl line 911.

I found otfinfo in lcdf-typetools. I can add an additional dependency
on that one.
I have no idea why it is complaining about cjkgs-morisawa-extra.dat

But most important, it would be super helpful if something like
DESTDIR parameter / env. variable would be supported, so that the
generated files would go to $(DESTDIR)
/opt/local/share/ghostscript/9.23/Resource/Font/ instead of directly
to  /opt/local/share/ghostscript/9.23/Resource/Font/.

I don't want to hardcode the link to 9.23 ghoscript either since that
is doomed to fail, sooner or later.

Mojca


On 5 July 2018 at 11:41, Hironobu Yamashita <h.y.acetaminophen @ gmail.com> wrote:
> Hi,
>
> Thanks for your comments.
>
>
> 2018-07-05 18:02 GMT+09:00 Mojca Miklavec <mojca @ macports.org>:
>> Hi,
>>
>> A while ago we had some ptex-related stuff in MacPorts which was
>> completely unmaintained for years and we removed it after a while
>
> No problem I think, almost all of them are now included (and improved)
> inside TeX Live ;-)
> I think standalone port of "makejvf" can also be removed.
>
>> (there's still a package ptex-sfmacros, whatever that one does).
>
>> In order to get a package for MacPorts, either someone needs to
>> prepare a package and make a pull request, or someone needs to push
>> one of existing macports contributors. It might be easy enough to
>> create a package for one of us, I only need some URL with a tarball
>> that will ideally not change with time. (In principle git could also
>> work.) What would that URL be?
>
> They are available at
> https://github.com/texjporg/jfontmaps/releases/tag/20180328.0
> https://github.com/texjporg/cjk-gs-support/releases/tag/20180306.0
>
>> Is there any reason why these packages are not also distributed with
>> upstream TeX Live or at least with MacTeX? This is not an either-or
>> question, it could be distributed via both different channels.
>
> TL does not distribute packages which require nonfree files;
> "ptex-fontmaps-macos" and "cjk-gs-integrate-macos" require
> macOS-bundled fonts (Hiragino TTC format etc.), so they cannot go to TL
>
> Dick, would you mind adding these packages into MacTeX?
>
>> Mojca
>>
>> PS: greetings from Tokyo :)
>>
>
> ;-) -- Hironobu
>
>
>
>> On Wed, Jul 4, 2018 at 11:15 AM, Hironobu Yamashita wrote:
>>> Hi Mojca,
>>>
>>> A Japanese user of TeX Live/MacPorts reported following issue:
>>>
>>> * some Japanese macOS-specific packages
>>>   (e.g. "ptex-fontmaps-macos" and "cjk-gs-integrate-macos")
>>>   are not distributed with TeX Live; they are in TLContrib instead
>>>   http://contrib.texlive.info/
>>>
>>> * tlmgr cannot be executed on macports, so they cannot run
>>>   $ tlmgr repository add
>>>   therefore, they cannot install packages with macports.
>>>
>>> I guess this issue can be solved by adding these TLContrib packages
>>> into port, but I'm not sure who can sort this (as I don't use macports);
>>> I'll be glad if you can point me in the right direction.
>>>
>>> Thank you in advance -- Hironobu
>>>
>>> -----
>>> Hironobu Yamashita (GitHub: @aminophen)
>>> Japanese TeX Development Community https://texjp.org/


issue メーリングリストの案内