Hi, I succesfully upgraded Qt 4.3 to 4.4 from the area51 ports. and installed kdebase4 from the area51 ports leaving my full kde 3.5.8 installation untouched.
6.3-RELEASE-p1, custom SMP kernel I crudely hacked my way through the following: 1: Most of the qt4-ports would not extract the mkspecs directory. So I had to copy those every time from qmake4 (where it did extract correctly) I also noticed some QT_MKSPECS_DIR-NOTFOUND flying by during other builds, but as they didn't seem to break stuff that went uncorrected. (Ever since the first unofficial qt4-port I have QMAKESPEC=freebsd-g++ in my environment.) 2: I had to patch automoc4 to include pthread on make (see attached). 3. During some plasma stuff I discovered that /usr/bin/c++ was gcc 3.4.6. I have gcc42 installed from ports, but I couldn't get the plasma build to work with that. (putting USE_GCC=4.2+ in the Makefile created an error about fvisibility=hidden not being compiled in with Qt) I worked around that by manually compiling the following cpp's with /usr/local/bin/c++42: - containment.cpp - corona.cpp - dataengine.cpp - runnermanager.cpp How do I tell the port to use gcc 4.2 where appropriate? Could this form the basis for some of the other problems? 4. KMonitorProcessIO lacked an #include <sys/param.h> before user.h for the definition of NGROUPS (and others). 5. kaccess.h had an include to Phonon MediaObject, which I had to change (see attached). 6. automoc got stuck three times while working on something. The first was kwin_ozone_config.so, I don't remember the second, the last was: kdebase-4.0.83/build/apps/konqueror/sidebar/trees/history_module/kcm_history_automoc.cpp After killing the stuck process and restarting the make, the problem did not appear again. Upon the start of kde4 I first got an error "URL cannot be listed desktop:/" and KCMInit crashed, signal 11 (SIGSEV) (no valid backtrace). In the end startup did seem to succeed, but I had no kind of graphics, that's what I'm working on now.
--- work/automoc4-0.9.83/CMakeLists.txt.bak 2008-07-04 03:21:36.000000000 +0200 +++ work/automoc4-0.9.83/CMakeLists.txt 2008-07-04 03:21:56.000000000 +0200 @@ -5,7 +5,7 @@ find_package(Qt4 REQUIRED) if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_C_COMPILER MATCHES "icc") - set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common") + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common") endif (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_C_COMPILER MATCHES "icc") include_directories(${QT_INCLUDE_DIR})
--- work/kdebase-workspace-4.0.83/kcontrol/access/kaccess.h.bak 2008-07-04 07:20:50.000000000 +0200 +++ work/kdebase-workspace-4.0.83/kcontrol/access/kaccess.h 2008-07-04 07:21:12.000000000 +0200 @@ -12,7 +12,7 @@ #include <KUniqueApplication> #include <KUrl> -#include <Phonon/MediaObject> +#include <qt4/phonon/mediaobject.h> #include <X11/Xlib.h> #define explicit int_explicit // avoid compiler name clash in XKBlib.h
_______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd