Gentoo Archives: gentoo-hardened

From: "Kevin F. Quinn" <kevquinn@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Re: SSP-Bug patch for qt-4.1.2 !?
Date: Wed, 07 Jun 2006 18:57:32
Message-Id: 20060607210320.33db3d5c@c1358217.kevquinn.com
In Reply to: [gentoo-hardened] Re: SSP-Bug patch for qt-4.1.2 !? by dnlt0hn5ntzhbqkv51
1 On Wed, 07 Jun 2006 11:53:10 -0400
2 dnlt0hn5ntzhbqkv51 <dnlt0hn5ntzhbqkv51@×××××××××.net> wrote:
3
4 > So IIUC,
5 >
6 > 1. It is indeed using the qt 3 directory; which means 3.3.6.r-1
7 > libraries, and your patch will then still work!?
8
9 Yes.
10
11 > I -guess- that I
12 > copy the "edit" notes from your bugzilla patch, insert it into a file
13 > named "qt-3.3.6-r1-dirty-ssp.patch"; put that into
14 > /usr/portage/x11-libs/qt/files, and then reemerge qt!? (I just
15 > noticed that my first attempt at this was deleted - I guess by
16 > portage - do I have to put the name of this patch into some sort of
17 > manifest?)
18
19 It's a little more complex than that; you need to set up an overlay
20 (look for docs on www.gentoo.org), add the patch to the files
21 directory, modify the ebuild to include the patch in src_unpack(),
22 rebuild the digest, then emerge again.
23
24 An easier way to do it as a one-off process is to:
25
26 first save Andre's patch from bug #133301 to somewhere
27
28 # ebuild /usr/portage/x11-libs/qt/qt-3.3.6-r1.ebuild unpack
29 # cd /var/tmp/portage/qt-3.3.6-r1/work/qt-x11-free-3.3.6
30 # patch -p1 < [patch saved from bug]
31 # cd
32 # ebuild /usr/portage/x11-libs/qt/qt-3.3.6-r1.ebuild merge
33
34 just note that if you emerge qt-3.3.6-r1 again later, the change will
35 be lost - but you're not likely to do that soon.
36
37 > 2. If I have the 4.1.2 qt version, why are the 3x libraries still
38 > around?
39
40 Because you still have lots of stuff built that needs it - if merging
41 qt4 deleted qt3, everything you have that links to qt3 (i.e. all
42 of KDE!) would fail to run because qt3 would be missing.
43
44 > 3. (IIRC, I recompiled KDE* after installing the new QT - yet KDE
45 > still uses 3.)
46
47 The version of qt used by kde-3.5 is qt3 - it specifically links to
48 qt3, rather than to "latest version".
49
50 > > No... Are you sure it's using qt-4? qt major versions are slotted
51 > > and from qt3 to qt4 the library names have changed.
52 >
53 > 4. What does "slotted" mean, please? (webopedia and google didn't
54 > help :-( )
55
56 It just means you can have more than one version of a package installed
57 at the same time.
58
59 > > Report any findings on the same bug.
60 > >
61 > >> TIA (newbie)
62 > >
63 > >
64 >
65 > Thanks AGAIN!!! newbie
66
67
68 --
69 Kevin F. Quinn

Attachments

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

Replies

Subject Author
Re: [gentoo-hardened] Re: SSP-Bug patch for qt-4.1.2 !? dnlt0hn5ntzhbqkv51 <dnlt0hn5ntzhbqkv51@×××××××××.net>