All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-doc@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>
Subject: Re: [PATCH v2] scripts: sphinx-pre-install: Fix ctex support on Debian
Date: Sun, 9 Jan 2022 16:48:01 +0900	[thread overview]
Message-ID: <b49a5e14-6aeb-a9fe-f29a-095c79c21f88@gmail.com> (raw)
In-Reply-To: <20220109072851.172675c5@sal.lan>

On Sun, 9 Jan 2022 07:28:51 +0100, Mauro Carvalho Chehab wrote:
> Em Sun, 9 Jan 2022 13:09:19 +0900
> Akira Yokosawa <akiyks@gmail.com> escreveu:
> 
>> Hi Maruo,
>> (+Cc: Jon, linux-doc)
>>
>> On Thu, 6 Jan 2022 04:37:07 +0100, Mauro Carvalho Chehab wrote:
>>> Em Thu, 6 Jan 2022 11:00:08 +0900
>>> Akira Yokosawa <akiyks@gmail.com> escreveu:  
>> [...]
>>>> Longer term (for CentOS stream9 or RHEL 9), we might need to ask
>>>> EPEL maintainers to add texlive-ctex.  
>>>
>>> Longer term, the script is actually fixing a broken dependency issue
>>> on distros. So, bugzillas for Fedora/Debian & derivated ones should be 
>>> opened for "texlive-xecjk" package to also select "texlive-ctex"
>>> (or whatever other name those packages have on distros).  
>>
>> FWIW, I asked Karl Berry, who is the chief maintainer of upstream
>> TeX Live, to add a dependency on ctex to xecjk [1].
> 
> Thanks for forwarding this question to him and to address it on distros!
> 
>>
>> [1]: https://tug.org/pipermail/tex-live/2022-January/047648.html
>>
>> Karl has added the dependency to xecjk as of rev 61529 [2].
>>
>> [2]: https://tug.org/pipermail/tex-live/2022-January/047654.html
>>
>> On up-to-date vanilla TeX Live 2021 (>= rev61529):
>>
>>     $ tlmgr info --data depends xecjk
>>     ctex
>>
>> With xecjk < rev61529
>>
>>     $ tlmgr info --data depends xecjk
>>     (no output)
> 
> Nice! Yeah, this is the long term solution, but still won't prevent
> people/distros based on older packages to keep using packages
> without such requirements.
> 
>> This dependency is expected to be reflected in the TeX Live
>> packaging for next Fedora release.
> 
> Yeah, Fedora is usually keen to changes.
> 
>> OTOH, as I mentioned earlier,
>> EPEL 9 (for CentOS stream9) doesn't have texlive-ctex at the
>> moment, so we need to see what happens there when RHEL 9 is ready.
> 
> Yes. RHEL/EPEL is usually a lot more conservative.
> 
>> Note: the xecjk -> ctex dependency is already taken care of
>> by openSUSE's TeX Live packages.   
> 
> On both Tumbleweed and on Leap?

I mean on Tumbleweed only.
Leap's xecjk is v3.4.8 and has no dependency on ctex.

> 
>> As for Ubuntu/Debian, it looks like TeX Live/Debian packaging
>> maintainer, Norbert Preining, has no intention of adding
>> dependency of texlive-xetex -> texlive-lang-chinese as can be
>> seen in his responses to a Debian Bug report [3].
>> I think this is a reasonable choice as most xetex users don't
>> use xecjk and texlive-lang-chinese is large in size.
>>
>> [3]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961703
> 
> Debian package maintainer could reconsider it after the upstream
> dependency addition, but probably only for SID and yet-to-be-released
> versions.
>           Debian is very conservative on their releases. 
> Even if SID gains such dependency fix, I would be surprised 
> if they end porting a dependency change like that to Bullseye
> (which should be the latest version for ~1.5 years - with LTS
> extending it for ~3.5 years).
> 
> It sounds worth mentioning about the texlive dependency decision at
> the Debian bug.

I'm afraid I don't think so.
At Debian Latex wiki [3], they say:

  If you want to add support for your language (other than english) in
  TeX Live, search for texlive-lang [4] and install your language.

[3]: https://wiki.debian.org/Latex
[4]: https://packages.debian.org/search?keywords=texlive-lang

This is the Debian's policy of TeX Live packaging.
I wouldn't complain if they say "Just install both of texlive-xetex
and texlive-lang-chinese if you want xecjk to work."

There are a lot of inter-collection dependencies in upstream TeX
Live, but many of then are ignored in TeX Live/Debian packages.
For example, ctex has a dependency on xecjk (reverse of the newly
added one) in upstream, but Debian's texlive-lang-chinese does not
depend on texlive-xetex.

        Thanks, Akira

> 
>>         Thanks, Akira
>>
>>>
>>> Worth mentioning that the script dependency-checking is should be smart
>>> enough to not break once texlive distro maintainers fix such issues.
>>>
>>> Thanks,
>>> Mauro
>>>   

  reply	other threads:[~2022-01-09  7:48 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 16:30 make pdfdocs fails on Debian stable Christoph Hellwig
2022-01-03 16:58 ` Mauro Carvalho Chehab
2022-01-03 17:11   ` Christoph Hellwig
2022-01-03 20:58     ` Mauro Carvalho Chehab
2022-01-03 21:01       ` [PATCH 0/1] Detect the need of texlive-ctex Mauro Carvalho Chehab
2022-01-03 21:01         ` [PATCH 1/1] scripts: sphinx-pre-install: add required ctex dependency Mauro Carvalho Chehab
2022-01-03 22:46           ` Jonathan Corbet
2022-01-04  0:04             ` Akira Yokosawa
2022-01-04  1:54               ` Akira Yokosawa
2022-01-04  8:05                 ` Mauro Carvalho Chehab
2022-01-04 10:26                   ` Akira Yokosawa
2022-01-05  7:48                     ` Mauro Carvalho Chehab
2022-01-05 12:09                       ` Akira Yokosawa
2022-01-05 21:42                         ` Mauro Carvalho Chehab
2022-01-05 22:57                           ` Akira Yokosawa
2022-01-06  0:41                             ` [PATCH v2] scripts: sphinx-pre-install: Fix ctex support on Debian Mauro Carvalho Chehab
2022-01-06  2:00                               ` Akira Yokosawa
     [not found]                                 ` <20220106043707.0d40cd11@coco.lan>
2022-01-09  4:09                                   ` Akira Yokosawa
2022-01-09  6:28                                     ` Mauro Carvalho Chehab
2022-01-09  7:48                                       ` Akira Yokosawa [this message]
2022-01-06 22:35                               ` Jonathan Corbet
2022-01-06  0:42                             ` [PATCH 1/1] scripts: sphinx-pre-install: add required ctex dependency Mauro Carvalho Chehab
2022-01-04  2:00               ` Akira Yokosawa
2022-01-04  6:47       ` make pdfdocs fails on Debian stable Christoph Hellwig
2022-01-04  7:32         ` Akira Yokosawa
2022-01-04  7:36           ` Christoph Hellwig
2022-01-04  7:53             ` Akira Yokosawa
2022-01-04  7:56               ` Christoph Hellwig
2022-01-04  8:07                 ` Akira Yokosawa
2022-01-04  8:16                   ` Christoph Hellwig
2022-01-04  8:44                     ` Akira Yokosawa
2022-01-04  9:31             ` Akira Yokosawa
2022-01-04 13:19               ` Christoph Hellwig
2022-01-04 13:46                 ` Akira Yokosawa
2022-01-05  1:47                   ` Akira Yokosawa
2022-01-05  7:35                     ` Christoph Hellwig
2022-01-05 12:03                       ` Akira Yokosawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b49a5e14-6aeb-a9fe-f29a-095c79c21f88@gmail.com \
    --to=akiyks@gmail.com \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=mchehab@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.