[gentoo-user] Re: More emerge auto-bloat

2020-08-10 Thread Grant Edwards
On 2020-08-10, Grant Edwards  wrote:
> On 2020-08-10, Grant Edwards  wrote:
>
>>> Much of it appears to be texlive, which is now apparently required
>>> by the 'atril' pdf viewer.  [...]
>>
>> That's the result of a questionable decision by Atril maintainers.
>> It's since been fixed, and the 'synctex' feature which was pulling
>> in all of texlive is now optional.
>
> FWIW, a patch and ebuild are now available to fix this and allow
> atril 1.24 to be installed without texlive:
> https://bugs.gentoo.org/736647

I forgot to mention that the patch/ebuild attached to the above bug
eliminated all 49 of the new packags that emerge wanted to install
this morning.

It's a good day when 'emerge -auvND world' doesn't want to install new
packages.





[gentoo-user] Re: More emerge auto-bloat

2020-08-10 Thread Grant Edwards
On 2020-08-10, Grant Edwards  wrote:
>
>> Much of it appears to be texlive, which is now apparently required by
>> the 'atril' pdf viewer.  [...]
>
> That's the result of a questionable decision by Atril maintainers.
> It's since been fixed, and the 'synctex' feature which was pulling in
> all of texlive is now optional.

FWIW, a patch and ebuild are now available to fix this and allow atril
1.24 to be installed without texlive: https://bugs.gentoo.org/736647

--
Grant






[gentoo-user] Re: More emerge auto-bloat

2020-08-10 Thread Grant Edwards
On 2020-08-10, Grant Edwards  wrote:

> [ usual whining ]

> Forty-nine new packages?!
>
> Much of it appears to be texlive, which is now apparently required by
> the 'atril' pdf viewer.  Why does it suddenly require texlive?
> There's a 'dvi' use flag which understandably would require tex stuff,
> but that flag is not set.

That's the result of a questionable decision by Atril maintainers.
It's since been fixed, and the 'synctex' feature which was pulling in
all of texlive is now optional.  That fix has been committed, but not
yet released.  Meanwhile, I've found and tested a patch that obviates
the need for installing texlive by making atril's synctex support
optional.

I've kludged an ebuild to remove the unconditional tex dependency and
disable the synctex feature.  That semms to work fine.

I'd be happy to submit the patch and ebuild.  I presume I should
change the ebuild to make the synctex feature enable/disable
conditional on a USE flag?  It looks like there's already a 'synctex'
USE flag, so I guess that should be easy enough.

--
Grant







Re: [gentoo-user] Re: More emerge auto-bloat

2020-08-10 Thread Michael Orlitzky
On 2020-08-10 10:02, Grant Edwards wrote:
> 
> Can somebody explain the point of a dependancy like this in an ebuild?
> 
> COMMON_DEPEND="
> ...
> virtual/tex-base
> dvi? (
> virtual/tex-base
> t1lib? ( >=media-libs/t1lib-5:5 )
> )

It's a harmless mistake, the second one is redundant.




[gentoo-user] Re: More emerge auto-bloat

2020-08-10 Thread Grant Edwards
On 2020-08-10, Grant Edwards  wrote:


> Much of it appears to be texlive, which is now apparently required by
> the 'atril' pdf viewer.  Why does it suddenly require texlive?
> There's a 'dvi' use flag which understandably would require tex stuff,
> but that flag is not set.

Can somebody explain the point of a dependancy like this in an ebuild?

COMMON_DEPEND="
...
virtual/tex-base
dvi? (
virtual/tex-base
t1lib? ( >=media-libs/t1lib-5:5 )
)
...