epic n00b
Joined: 16 Jan 2003 Posts: 44 Location: norway
|
Posted: Wed Apr 30, 2003 2:18 am Post subject: qt-dcgui-0.2.12 |
|
|
me and my pal bushwakko seemed to have problems emerging qt-dcgui 0.2.12 ;
Code: |
/usr/qt/3/bin/uic -nounload -i DCDialogFileBrowser.h ./DCDialogFileBrowser.ui > DCDialogFileBrowser.cpp; ret=$?; \
if test "$ret" = 0; then echo '#include "DCDialogFileBrowser.moc"' >> DCDialogFileBrowser.cpp; else rm -f DCDialogFileBrowser.cpp ; exit $ret ; fi
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I.. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -I/usr/include -I/usr/include/libxml2 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -MT DCDialogFileBrowser.lo -MD -MP -MF ".deps/DCDialogFileBrowser.Tpo" \
-c -o DCDialogFileBrowser.lo `test -f 'DCDialogFileBrowser.cpp' || echo './'`DCDialogFileBrowser.cpp; \
then mv ".deps/DCDialogFileBrowser.Tpo" ".deps/DCDialogFileBrowser.Plo"; \
else rm -f ".deps/DCDialogFileBrowser.Tpo"; exit 1; \
fi
DCDialogFileBrowser.cpp: In constructor
`DCDialogFileBrowser::DCDialogFileBrowser(QWidget*, const char*, unsigned
int)':
DCDialogFileBrowser.cpp:98: `languageChange' undeclared (first use this
function)
DCDialogFileBrowser.cpp:98: (Each undeclared identifier is reported only once
for each function it appears in.)
DCDialogFileBrowser.cpp: At global scope:
DCDialogFileBrowser.cpp:116: no `void DCDialogFileBrowser::languageChange()'
member function declared in class `DCDialogFileBrowser'
|
we saw an easy solution to in on the qt-dcgui forums(@ http://dc.ketelhot.de/):
Code: |
./configure
make distclean
./configure
make
make install
|
so (regarding we have no experience whatsoever in ebuild scripting) we rewrote the ebuild a bit:
Code: |
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/net-p2p/qt-dcgui/qt-dcgui-0.2.12.ebuild,v 1.1 2003/04/29 06:39:11 aliz Exp $
inherit kde-functions
need-qt 3
IUSE="ssl"
MY_P=dcgui-qt-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Qt based client for DirectConnect"
HOMEPAGE="http://dc.ketelhot.de/"
SRC_URI="http://download.berlios.de/dcgui/${MY_P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
newdepend ">=dev-libs/libxml2-2.4.22
=net-p2p/dclib-${PV}*
ssl? ( dev-libs/openssl )"
src_compile() {
econf \
--with-gnu-ld \
`use_with ssl` \
--with-libdc=/usr \
--with-qt-dir=/usr/qt/3 \
|| die
#addition begin
make distclean || die
econf \
--with-gnu-ld \
`use_with ssl` \
--with-libdc=/usr \
--with-qt-dir=/usr/qt/3 \
|| die
#addition end
make || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}
|
which should work ... |
|