[kde-freebsd] Some pkg-plist fixes for 4.1.85 ports
Matt
datahead4 at gmail.com
Tue Dec 23 17:59:31 CET 2008
On Tue, Dec 23, 2008 at 1:07 AM, Max Brazhnikov <makc at issp.ac.ru> wrote:
> On Mon, 22 Dec 2008 10:21:40 -0600, Matt wrote:
>> Had some time to play with the 4.1.85 KDE version is area51 and here
>> are some plist changes that I came across. Hope they're helpful.
>>
>> Matt
>
> Thanks Matt!
>
> I'll look at them tomorrow (have no spare time right now).
> Does it mean you have successfully compiled these ports without
> hacking/patching?
>
> Max
>
Correct - the four that I forwarded did not require any
hacking/patching to compile in my tinderbox, all they needed were the
plist changes. (Except for kdemultimedia4 - Both patches for
kdemultimedia4 have would not apply cleanly, so I tried the build
without them and it worked. However, I'm guessing that they are still
needed in there somewhere to ensure that Xine is built with XCB.)
Also, these have only been build tested - I haven't had time to
actually install any of the packages yet.
I've since been able to get everything except kdesdk to build, however
kdebase4-runtime needed a little extra help. Two things for that one:
- I manually rolled a Strigi 0.5.11.1 version port (from subversion
sources) to get a missing header included
- There is a problem with the xine-phonon (at least I think that's
what it was) linking with pulseaudio. The link.txt included "-lpulse"
but needed "-L/usr/local/include -lpulse" in order to work. I
couldn't figure out where to actually fix that so I worked around it
with a post-configure target to rewrite the link.txt file.
The patch file for kdepim4 has been incorporated upstream and is no
longer needed.
The patch file for kdeutils4 needed to be modified a little due to
upstream changes. I don't know what the patch is working around so I
can't tell if it's needed anymore. Updated patch is:
[kdeutils4]$ cat files/patch-ark_plugins_libzipplugin-zipplugin.cpp
--- ../ark/plugins/libzipplugin/zipplugin.cpp.orig 2008-12-10
10:13:03.000000000 -0600
+++ ../ark/plugins/libzipplugin/zipplugin.cpp 2008-12-22
14:54:47.000000000 -0600
@@ -28,8 +28,8 @@
#ifdef LIBZIP_COMPILED_WITH_32BIT_OFF_T
-#define __off_t_defined
-typedef quint32 off_t;
+// #define __off_t_defined
+// typedef quint32 off_t;
#endif /* LIBZIP_COMPILED_WITH_32BIT_OFF_T */
I've noticed one other problem so far as well. The FindGettext.cmake
file that comes with kdelibs4 is not working properly and is causing
build failures with other ports that rely on kdelibs4. I've seen this
specifically with the amarok2 and ktorrent ports, but haven't spent
much time trying to track it down.
The error I'm getting with kdesdk4 (haven't spent any time trying to
fix this one either...) is:
cd /work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/build/kate/plugins/snippets
&& /opt/c++ -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII
-D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT
-DKDE_DEFAULT_DEBUG_AREA=13040 -Dkatesnippetsplugin_EXPORTS -O2
-fno-strict-aliasing -pipe -march=athlon-mp -Woverloaded-virtual
-fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG
-DQT_NO_DEBUG -fPIC
-I/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/build/kate/plugins/snippets
-I/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/kate/plugins/snippets
-I/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85
-I/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/build
-I/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/kate
-I/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/kate/interfaces
-I/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/kate/plugins/../..
-I/usr/local/kde4/include -I/usr/local/kde4/include/KDE
-I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtHelp
-I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/QtTest
-I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtScript
-I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtXml
-I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtOpenGL
-I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtDesigner
-I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui
-I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt
-I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4
-I/usr/local/include -o
CMakeFiles/katesnippetsplugin.dir/plugin_katesnippets.o -c
/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/kate/plugins/snippets/plugin_katesnippets.cpp
In file included from
/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/kate/plugins/snippets/plugin_katesnippets.cpp:24:
/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/kate/plugins/snippets/katesnippetswidget.h:32:
error: expected class-name before '{' token
/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/kate/plugins/snippets/plugin_katesnippets.cpp:
In constructor 'KatePluginSnippetsView::KatePluginSnippetsView(Kate::MainWindow*)':
/work/a/ports/devel/kdesdk4/work/kdesdk-4.1.85/kate/plugins/snippets/plugin_katesnippets.cpp:62:
error: no matching function for call to
'KatePluginSnippetsView::connect(KateSnippetsWidget*&, const char
[17], KatePluginSnippetsView* const, const char [15])'
/usr/local/include/qt4/QtCore/qobject.h:197: note: candidates are:
static bool QObject::connect(const QObject*, const char*, const
QObject*, const char*, Qt::ConnectionType)
/usr/local/include/qt4/QtCore/qobject.h:302: note:
bool QObject::connect(const QObject*, const char*, const char*,
Qt::ConnectionType) const
*** Error code 1
And finally, here are some more plist changes as well.
Thanks,
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-plist.patch_kdeaccessibility4
Type: application/octet-stream
Size: 37035 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20081223/ea488219/attachment-0006.dll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-plist.patch_kdebase4-runtime
Type: application/octet-stream
Size: 48313 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20081223/ea488219/attachment-0007.dll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-plist.patch_kdenetwork4
Type: application/octet-stream
Size: 14830 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20081223/ea488219/attachment-0008.dll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-plist.patch_kdepim4
Type: application/octet-stream
Size: 13699 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20081223/ea488219/attachment-0009.dll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-plist.patch_kdeplasma-addons
Type: application/octet-stream
Size: 28088 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20081223/ea488219/attachment-0010.dll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-plist.patch_kdeutils4
Type: application/octet-stream
Size: 3807 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20081223/ea488219/attachment-0011.dll
More information about the kde-freebsd
mailing list