Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: RFC: A tiny news item for migrating to libjpeg-turbo
Date: Mon, 23 Apr 2012 18:15:40
Message-Id: 4F959C04.3030807@gentoo.org
In Reply to: Re: [gentoo-dev] Re: RFC: A tiny news item for migrating to libjpeg-turbo by Sebastian Luther
1 On 04/23/2012 11:03 AM, Sebastian Luther wrote:
2 > Am 23.04.2012 19:49, schrieb Pacho Ramos:
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>
5 >>> wrote:
6 >>>> Samuli Suominen posted on Mon, 23 Apr 2012 14:22:53 +0300 as
7 >>>> excerpted:
8 >>>>
9 >>>>> Title: The default JPEG implementation
10 >>>>
11 >>>> [...]
12 >>>>
13 >>>>> All users are recommended to migrate:
14 >>>>>
15 >>>>> # emerge -C media-libs/jpeg:0 # emerge -1
16 >>>>> media-libs/libjpeg-turbo
17 >>>>
18 >>>> That of course leaves the system without a jpeg library between
19 >>>> the jpeg unmerge and the completion of the libjpeg-turbo merge.
20 >>>> If the build process fails for some reason...
21 >>>>
22 >>>> There's no way to use portage's automatic block-resolving
23 >>>> ability here to 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! [ebuild N ]
33 >>> media-libs/libjpeg-turbo-1.2.0-r1 USE="-java -static-libs" 0 kB
34 >>> [uninstall ] media-libs/jpeg-8d USE="-static-libs" [blocks b
35 >>> ] media-libs/jpeg:0 ("media-libs/jpeg:0" is blocking
36 >>> media-libs/libjpeg-turbo-1.2.0-r1)
37 >>>
38 >>>
39 >>
40 >> I guess it will work when jpeg is not in world file... maybe
41 >> people should be told to drop it and, then, let emerge do all the
42 >> work automatically.
43 >
44 > There is:
45 >
46 > # emerge --deselect media-libs/jpeg
47 >
48 > The problem is that this would also remove things like
49 > media-libs/jpeg:62 from the world file.
50
51 If it removes media-libs/jpeg:62, then it will say so, and they can just
52 add it back if that's what they really want. There's probably zero or a
53 negligible number of people that would have media-libs/jpeg:62 and
54 really want it there, so in practice we can pretend that they don't exist.
55 --
56 Thanks,
57 Zac