Gentoo Archives: gentoo-dev

From: Werner Joss <werner@××××××××××××××××××.de>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] ebuild for self-written kde-program fails
Date: Sun, 27 Apr 2003 11:23:35
Message-Id: 200304271255.19802.werner@hoernerfranzracing.de
In Reply to: Re: [gentoo-dev] ebuild for self-written kde-program fails by Sergey Kuleshov
1 On Samstag, 26. April 2003 22:06, Sergey Kuleshov wrote:
2 > Hi,
3 > I did have a look at your ebuild and I found a very starnge behaviour of
4 > uic tool. To cu the long story short here it is:
5 > I untared the sources in a separate dir as *NON_ROOT* user and run make
6 > just to let it create the header files based on *ui and broke it. Now I
7 > issued this command again as NO_ROOT:
8 > /usr/qt/3/bin/uic -tr i18n -i siteDataDlg.h ./siteDataDlg.ui | sed -e "s, \
9 > i18n( \"\" ),QString::null,g" | sed -e "s,QT_KDE_I18N( \"\"\, \"\" \
10 > ),QString::null,g" >> siteDataDlg.cc || rm -f siteDataDlg.cc
11 >
12 > It is just a copy of a command which make runs, when compiling the sources.
13 > Now I check siteDataDlg.cc and the include for kurlrequester is there.
14 >
15 > NOW, remove the siteDataDlg.cc file. Change to super user and run the uic
16 > command again. I check the .cc file and find that kurlrequester.h is NOT
17 > included any more.
18 >
19 > So, the problem has nothing to do with ebuild as all these tests were
20 > performed without it beeing used (I just used emerge -f to get your
21 > tarball), but it rather looks like a bug in uic.
22
23 Sergey,
24 thanks for your verification - this is just what I found out here -
25 in the meantime, I also tested this with uic from qt-3.1.0 - same result as
26 before (qt-3.1.2)
27
28 werner
29
30
31 --
32 gentoo-dev@g.o mailing list