pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Dependencies on the rust toolchain



On Fri, 02 Jun 2023 09:10:26 -0400, Greg Troxel wrote:
>> And/or package libimagequant v2.
> 
> We have a tradition of packaging the last non-rust version, when
> somebody cares enough to do it.   See librsvg-c.   I like the "-c"
> suffix, as it makes it clearer why it is there.
> 
> There is also support for picking the C versions when rust is not
> available.

So, FTR and the peanut gallery,

in the wake of graphics/librsvg{,-c} there is a 
graphics/libimagequant-c package now, hooked up to the rusty 
graphics/libimagequant via available.mk . 

If you want or need to avoid the rust version, either set

LIBIMAGEQUANT_TYPE= c

or as a global knob set

PLATFORM_SUPPORTS_RUST= no

in /etc/mk.conf.

I found that despite this, updating from a pre-rust version, 
pkg_rolling-replace(8) started building the rusty version's 
dependencies. At that point, just manually build 
graphics/libimagequant-c, and 'make replace'.

Cheerio,
Hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index