KDE 4.3.0 tarballs (try #1) uploaded
Mark Davies
mark at ecs.vuw.ac.nz
Thu Jul 30 13:21:32 CEST 2009
On Thursday 30 July 2009 21:25:14 Martin Wilke wrote:
> kdeedu fails to build on FreeBSD,
> /work/a/ports/misc/kdeedu4/work/kdeedu-4.3.0/kstars/kstars/skycomponents
>/starcomponent.cpp:41:22: error: byteswap.h: No such file or directory
> /work/a/ports/misc/kdeedu4/work/kdeedu-4.3.0/kstars/kstars/skycomponents
>/starcomponent.cpp: In member function 'bool
> StarComponent::loadStaticData()':
> /work/a/ports/misc/kdeedu4/work/kdeedu-4.3.0/kstars/kstars/skycomponents
>/starcomponent.cpp:461: error: 'bswap_16' was not declared in this scope
Had the same problem on NetBSD with 4.2.98 (haven't got to 4.3.0 yet).
Hacked around it with the following:
--- kstars/kstars/skycomponents/starcomponent.cpp.orig 2009-06-18
08:07:48.0000
00000 +1200
+++ kstars/kstars/skycomponents/starcomponent.cpp
@@ -38,7 +38,13 @@
#include "binfilehelper.h"
#include "starblockfactory.h"
+#ifndef __NetBSD__
#include <byteswap.h>
+#else
+#include <sys/bswap.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#endif
#include <kde_file.h>
StarComponent *StarComponent::pinstance = 0;
and similar patches to skycomponents/deepstarcomponent.cpp and
kstars/kstars/binfilehelper.cpp.
Other issues I've found so far:
kdenetwork needs the following patch to build
--- kopete/protocols/jabber/libiris/iris/jdns/jdns_p.h.orig 2009-02-19
05:29
:30.000000000 +1300
+++ kopete/protocols/jabber/libiris/iris/jdns/jdns_p.h
@@ -36,7 +36,7 @@
# define JDNS_OS_UNIX
#endif
-#if defined(__FreeBSD__) || defined(__DragonFly__)
+#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
# define JDNS_OS_FREEBSD
#elif defined(__APPLE__) && (defined(__GNUC__) || defined(__xlC__) ||
defined(_
_xlc__))
# define JDNS_OS_MAC
Haven't managed to get kdegraphics or kdeaccessibility to build yet. Both
seem to be having problems with finding the wrong version of various
header files.
[ 45%] Building CXX object kttsd/kttsd/CMakeFiles/kttsd_bin.dir/kspeech.o
/local/src/work/pkgsrc/wip/kdeaccessibility4/work.i386/kdeaccessibility-4.2.98/kttsd/libkttsd/filterproc.h:70:
warning: 'virtual bool KttsFilterProc::init(KConfig*, const QString&)' was
hidden
/local/src/work/pkgsrc/wip/kdeaccessibility4/work.i386/kdeaccessibility-4.2.98/kttsd/kttsd/filtermgr.h:61:
warning: by 'virtual bool FilterMgr::init()'
/local/src/work/pkgsrc/wip/kdeaccessibility4/work.i386/kdeaccessibility-4.2.98/_
KDE_build/kttsd/kttsd/../../../kttsd/kttsd/kspeech.h:46: error:
redefinition of 'class KSpeech'
/local/src/work/pkgsrc/wip/kdeaccessibility4/work.i386/.buildlink/include/kspeech.h:49:
error: previous definition of 'class KSpeech'
*** Error code 1
which seems to be a conflict between kttsd's kspeech.h and the version
installed by kdelibs.
[ 17%] Building CXX object kruler/CMakeFiles/kruler.dir/klineal.o
/local/src/work/pkgsrc/wip/kdegraphics4/work.i386/kdegraphics-4.2.98/kruler/klin
eal.cpp: In constructor 'KLineal::KLineal(QWidget*)':
/local/src/work/pkgsrc/wip/kdegraphics4/work.i386/kdegraphics-4.2.98/kruler/klin
eal.cpp:114: error: 'RulerSettings' has not been declared
/local/src/work/pkgsrc/wip/kdegraphics4/work.i386/kdegraphics-4.2.98/kruler/klin
eal.cpp:115: error: 'RulerSettings' has not been declared
/local/src/work/pkgsrc/wip/kdegraphics4/work.i386/kdegraphics-4.2.98/kruler/klin
eal.cpp:116: error: 'RulerSettings' has not been declared
[...]
which seems to be picking up kruler.h installed by kdelibs rather than the
one generated by kconfig_compiler from kruler.kcfg.
cheers
mark
More information about the release-team
mailing list