Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: RFC: A tiny news item for migrating to libjpeg-turbo
Date: Tue, 24 Apr 2012 16:19:59
Message-Id: 4F96D1FE.6040307@gentoo.org
In Reply to: Re: [gentoo-dev] Re: RFC: A tiny news item for migrating to libjpeg-turbo by Zac Medico
1 On 04/23/2012 08:55 PM, Zac Medico wrote:
2 > On 04/23/2012 10:49 AM, Pacho Ramos wrote:
3 >> El lun, 23-04-2012 a las 10:17 -0400, Mike Gilbert escribió:
4 >>> On Mon, Apr 23, 2012 at 8:28 AM, Duncan<1i5t5.duncan@×××.net> wrote:
5 >>>> Samuli Suominen posted on Mon, 23 Apr 2012 14:22:53 +0300 as excerpted:
6 >>>>
7 >>>>> Title: The default JPEG implementation
8 >>>>
9 >>>> [...]
10 >>>>
11 >>>>> All users are recommended to migrate:
12 >>>>>
13 >>>>> # emerge -C media-libs/jpeg:0
14 >>>>> # emerge -1 media-libs/libjpeg-turbo
15 >>>>
16 >>>> That of course leaves the system without a jpeg library between the
17 >>>> jpeg
18 >>>> unmerge and the completion of the libjpeg-turbo merge. If the build
19 >>>> process fails for some reason...
20 >>>>
21 >>>> There's no way to use portage's automatic block-resolving ability
22 >>>> here to
23 >>>> avoid that, I take it?
24 >>>>
25 >>>
26 >>> This works for me.
27 >>>
28 >>> floppym@naomi ~ % emerge -pv1 -j1 libjpeg-turbo
29 >>>
30 >>> These are the packages that would be merged, in order:
31 >>>
32 >>> Calculating dependencies... done!
33 >>> [ebuild N ] media-libs/libjpeg-turbo-1.2.0-r1 USE="-java
34 >>> -static-libs" 0 kB
35 >>> [uninstall ] media-libs/jpeg-8d USE="-static-libs"
36 >>> [blocks b ] media-libs/jpeg:0 ("media-libs/jpeg:0" is blocking
37 >>> media-libs/libjpeg-turbo-1.2.0-r1)
38 >>>
39 >>>
40 >>
41 >> I guess it will work when jpeg is not in world file... maybe people
42 >> should be told to drop it and, then, let emerge do all the work
43 >> automatically.
44 >
45 > This will do the trick:
46 >
47 > emerge --deselect media-libs/jpeg
48 > emerge --oneshot media-libs/libjpeg-turbo
49 >
50
51 Thank you. News item committed and used your (above) advise.