_Not yet approved by Serghei._
See: cmake-files.tar.bz2.
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=OFF \
-DBUILD_KDAT=ON \
-DBUILD_DOC=ON \
-DBUILD_SECPOLICY=ON \
-DBUILD_KCRON=ON \
-DBUILD_KPACKAGE=ON \
-DBUILD_KSVSV=ON \
-DBUILD_KFILE-PLUGINS=ON \
-DBUILD_LILO-CONFIG=OFF \ # I have given up on the these two
-DBUILD_KNETWORKCONF=OFF \ # all sorts of compiler issues.
-DBUILD_ALL=ON
make
BUG report.
compiler output.
kdeadmin/kpackage/packageDisplay.cpp:
In member function void packageDisplayWidget::openBindingWith(QListViewItem*):
kdeadmin/kpackage/packageDisplay.cpp:392:56:
error: cannot call constructor KURL::List::List directly
for a function-style cast, remove the redundant ::List
A simple fix.
A new compiler flag wanted: -af ( AUTO_FIX ). :-)
Castro.
All,
Finally have a bit of time to dive back in. The out-of-source change couldn't
have hit at a worse time - end of 1st quarter and TAX time :( Still have 10
days to 2-weeks of commitment there.
Changing the PKGBUILDS to work with the out-of-source requirement will be
simple - thankfully, but I want to know what is the preferred way to specify
which Qt version to use. Building tqtinterface tonight, I am presented with:
#################################################
You must select a Qt version, like this:
cmake -DQT_VERSION=3 [arguments...]
or
cmake -DUSE_QT3=ON [arguments...]
Before I change everything -- which one is the preferred way that will work
best with future changes with the Qt4 implementation? Does the change also
deprecate:
-DWITH_QT3=ON \
Also, Calvin, Baho, I'm going to try the following to satisfy the OOS build
requirement (eg.):
build() {
<snip>
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
cd build
msg "Starting cmake..."
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=/opt/qt \
-DQT_VERSION=3 \
-DWITH_QT3=ON \
-DQT_LIBRARY_DIRS=/opt/qt/lib \
-DCMAKE_SKIP_RPATH=ON || return 1
make
}
Let me know on the preferred Qt designation...
--
David C. Rankin, J.D.,P.E.
Hello All,
Calligra Office ( which was previously KOffice ) has been going under
heavy development recently, and as such I thought it would be time to
bring it up on this mailing list.
I think including Calligra Office with our live CD's and using it as
our official DE office suite would be a good idea, but there are KDE4
dependancies, recently I noticed that they are attempting to switch to
Qt more exclusively, which could fix that problem.
http://community.kde.org/Calligra/Meetings/Begin_2011_meeting/Ideas#Going_m…
Anyone have thoughts on this?
Calvin Morrison
-DWITH_XRENDER=ON is not working
export _prefix="/usr"
cd ${_pwd}
mkdir -vp ${_pwd}/${_builddir}
cd ${_pwd}/${_builddir}
msg "Starting cmake..."
cmake ${_source}/${_module}/ \
-DCMAKE_INSTALL_PREFIX=${_prefix} \
-DBUILD_ALL=ON \
-DWITH_XFIXES=ON \
-DWITH_HAL=ON \
-DWITH_ARTS=ON \
-DWITH_SASL=ON \
-DWITH_OPENEXR=ON \
-DWITH_XCOMPOSITE=ON
-DWITH_XCURSOR=ON \
-DWITH_XRANDR=ON \
-DWITH_XRENDER=ON \ <-- see it's right here
-DWITH_XDAMAGE=ON \
-DWITH_SHADOW=ON \
-DWITH_XDMCP=ON \
-DWITH_XINERAMA=ON \
-- checking for one of the modules 'openssl'
-- Looking for sys/sockio.h
-- Looking for sys/sockio.h - not found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN
-- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN - Failed
CMake Error at cmake/modules/TDEMacros.cmake:20 (message):
#################################################
xrender support is needed to build kompmgr.
Pass -DWITH_XRENDER=ON to cmake arguments.
#################################################
Call Stack (most recent call first):
kwin/kompmgr/CMakeLists.txt:14 (tde_message_fatal)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
Guys,
Doing the out-of-source build on tqtinterface, I've run into a CMake/make
issue. After successfully completing the build, I get the following error:
<snip>
[ 99%] Building CXX object
qtinterface/CMakeFiles/tqt-shared.dir/private/tqucomextra_p.cpp.o
[100%] Building CXX object
qtinterface/CMakeFiles/tqt-shared.dir/tqlistiterator.cpp.o
Linking CXX shared library libtqt.so
[100%] Built target tqt-shared
==> Entering fakeroot environment...
==> Starting package()...
==> Packaging - trinity-tqtinterface-1226875
make: *** No rule to make target `install'. Stop.
==> ERROR: A failure occurred in package().
Aborting...
What's the trick?
--
David C. Rankin, J.D.,P.E.
Sorry, after reading my own posting I just realised there is a mistake. :-[
Here is the corrected version.
# $Id$
# Maintainer: David C. Rankin<drankinatty(a)gmail.com>
pkgbase=trinity
pkgname=trinity-tqtinterface
pkgver=1226875
pkgrel=1
arch=('i686' 'x86_64')
url="http://trinity.pearsoncomputing.net"
license=('GPL2')
groups=('trinity-bld')
pkgdesc="Trinity - tqtinterface"
depends=('python2-sip'
'trinity-qt3'
'trinity-pyqt3')
makedepends=('subversion' 'pkgconfig' 'cmake' 'autoconf')
provides=('trinity-tqtinterface')
conflicts=('trinity-tqtinterface')
replaces=('trinity-tqtinterface')
source=()
_svntrunk="svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface"
_svnmod=tqtinterface
build() {
cd ${srcdir}
msg "Connecting to SVN server to update or checkout ${_svnmod}...."
if [ -d ${_svnmod}/.svn ]; then
(cd ${_svnmod}&& svn up)
[[ $? -eq 0 ]] || _co_failed=1
else
(svn co $_svntrunk ${_svnmod})
[[ $? -eq 0 ]] || _co_failed=1
fi
# if update or checkout failed - bail...
if [[ $_co_failed -ne 1 ]]; then
msg "SVN checkout of revision $pkgver -- Complete."
else
msg "SVN checkout of revision $pkgver -- Failed or server timeout."
exit 1
fi
msg "Setting PATH, CMAKE and Trinity Environment variables"
[[ ${PATH%%:*} =~ /opt/qt/bin ]] || export PATH=/opt/qt/bin:$PATH
cd ${srcdir}/${_svnmod}
#####################################
msg "Starting cmake..."
if [ ! -d ../../build ]
then
mkdir ../../build
fi
cd ../../build
if [ -f CMakeCache.txt ]
then
rm CMakeCache.txt
fi
###############################################
cmake ${srcdir}/${_svnmod} \
-DQT_VERSION=3 \
-DQT_PREFIX_DIR=/opt/qt \
-DCMAKE_INSTALL_PREFIX=/opt/qt \
-DCMAKE_SKIP_RPATH=ON || return 1
make
# cd ${srcdir}/${_svnmod}
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ../build
# cd ${_svnmod}
make DESTDIR="$pkgdir/" install
# include uic-tqt in package
cd ${srcdir}
mkdir -p ${pkgdir}/usr/bin
cp -Rp ${srcdir}/${_svnmod}/qtinterface/uic-tqt ${pkgdir}/usr/bin
# rm -r ${srcdir}/${_svnmod}
}
Castro.
kdeadmin now building 100%, well almost. :-)
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=OFF \
-DBUILD_KFILE-PLUGINS=OFF \ # not attempted yet.
-DBUILD_LILO-CONFIG=OFF \ # can't work on this one, no lilo on my system.
-DBUILD_KNETWORKCONF=OFF \ # not attempted yet.
-DBUILD_KPACKAGE=OFF \ # not working but not applicable to Archlinux.
-DBUILD_KSVSV=OFF \ # working but not applicable to Archlinux.
-DBUILD_ALL=ON
make
kcron # it has not worked on Archlinux for a few years, I use webmin
kdat # it seems to run ok but I have never used it.
kuser # run ok but icons installed in wrong place. :-[
secpolicy # it seems to run ok but I have never used it.
It has taken my three days to get this far.
Now comes the hard bit, I think it will take another two months to tidy it up. :-D
Castro.