Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: eva@g.o
Subject: Re: [gentoo-dev] [PATCH] gnome2-utils.eclass add support for gdk-pixbuf cache update
Date: Wed, 04 Sep 2013 19:56:41
Message-Id: 20130904215629.523d9a5f@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] gnome2-utils.eclass add support for gdk-pixbuf cache update by Gilles Dartiguelongue
1 Dnia 2013-09-04, o godz. 20:57:41
2 Gilles Dartiguelongue <eva@g.o> napisał(a):
3
4 > One last point to handle, how to migrate gdk-pixbuf.cache so that it is
5 > owned by the ebuild ?
6 >
7 > I've discussed this with Michał and it seems two options are possible.
8 >
9 > 1. rm the file on the filesystem in pkg_preinst in gdk-pixbuf ebuild
10 > pros:
11 > - works immediately without fiddling with profiles (see 2)
12
13 Except when it doesn't ;).
14
15 > cons:
16 > - no idea what PMS says about it, Michał told me it shouldn't work yet
17 > my testing proves otherwise.
18
19 PMS doesn't cover collision-protect at all. It's purely portage
20 feature, and at the time I played with twisted portage still complained
21 before pkg_preinst().
22
23 > 2. use COLLISION_IGNORE in profiles/base/make.conf
24 > pros:
25 > - does not leave the system without the cache file
26 > cons:
27 > - add a setting to base/make.conf for a long period of time to ensure
28 > most of our user have migrated (how long would it be btw, 6 months, 1
29 > year ?)
30 > - does not protect other packages from owning the package due to this
31 > very solution for the time the setting is left in base/make.conf
32
33 That's where you convince Zac to accept my patch that applies
34 COLLISION_IGNORE only to unowned files.
35
36 --
37 Best regards,
38 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature