1 |
On Jun 29, 2009, at 3:56 AM, Dale wrote: |
2 |
|
3 |
> Nikos Chantziaras wrote: |
4 |
>> |
5 |
>> revdep-rebuild only resolves link-time errors, not runtime errors. |
6 |
>> You need to observe yourself if something is broken and then rebuild |
7 |
>> it manually; revdep-rebuild ain't gonna help in this case. |
8 |
>> |
9 |
>> |
10 |
>> |
11 |
> |
12 |
> Sounds like Gentoo needs a new tool. Calling all geeks and nerds !! |
13 |
> |
14 |
> Dale |
15 |
|
16 |
Drum roll please... |
17 |
|
18 |
http://github.com/royw/qt-rebuild |
19 |
|
20 |
A couple of notes: |
21 |
* if you run qt-rebuild --pretend, you should have only one build key. |
22 |
if you have more than one, you really need to rebuild them. |
23 |
* the build key does not contain the qt version. Instead it describes |
24 |
the build environment. |
25 |
|
26 |
So currently I don't see how to verify that all the plugins are built |
27 |
to the |
28 |
same qt API. |
29 |
|
30 |
Here's the readme: |
31 |
|
32 |
= qt-rebuild |
33 |
|
34 |
This is a utility for gentoo (http://gentoo.org) linux. |
35 |
|
36 |
When QT is upgraded, you may have to rebuild any QT plugins. This |
37 |
utility |
38 |
attempts to find and rebuild packages with QT plugins. |
39 |
|
40 |
Here's the discussion thread: |
41 |
http://archives.gentoo.org/gentoo-user/msg_d9357c6f26dec67492b794f8f66db29d.xml |
42 |
|
43 |
== Installation |
44 |
|
45 |
$ emerge ruby rubygems |
46 |
$ sudo gem install royw-qt-rebuild --source http://gems.github.com |
47 |
|
48 |
== Usage |
49 |
|
50 |
$ qt-rebuild -h |
51 |
OPTIONS |
52 |
|
53 |
--version,-v |
54 |
This version of qt-rebuild |
55 |
|
56 |
--help,-h |
57 |
Print usage. |
58 |
|
59 |
--quiet,-q |
60 |
Display error messages only. |
61 |
|
62 |
--debug,-d |
63 |
Display debug messages. |
64 |
|
65 |
--set,-s |
66 |
Output in portage's set format. |
67 |
|
68 |
--nocolor,-C |
69 |
Turn off colored output. (This option is also passed to |
70 |
portage.) |
71 |
|
72 |
--pretend,-p |
73 |
Do a dry-run. |
74 |
|
75 |
It is recommended to do a dry run first: |
76 |
|
77 |
$ qt-rebuild -p |
78 |
|
79 |
To create a set file: |
80 |
|
81 |
$ qt-rebuild -s -p > /etc/portage/sets/qt-rebuild |
82 |
|
83 |
|
84 |
== Copyright |
85 |
|
86 |
Copyright (c) 2009 Roy Wright. See LICENSE for details. |
87 |
|
88 |
------------------- |