[KDE/Mac] kdelibs svn: app icons installation, katepart paste, and kinit
Junling Ma
junlingm at gmail.com
Thu Jun 11 06:13:37 CEST 2009
Hi,
Here are three small patches that I used for kde svn.
The first, cmake_kde4_add_app_icon.diff, changed the icon installation
directory from ${BIN_INSTALL_DIR}/... to ${BUNDLE_INSTALL_DIR}/... on
mac, as KDE4 now defaults to install the application bundles to $
{BUNDLE_INSTALL_DIR}, which defaults to /Applications/KDE4, not $
{BIN_INSTALL_DIR}, which defaults to ${CMAKE_INSTALL_PREFIX}/bin
The second, kate_mac_paste.diff, is a temporary hack to solve a
problem of Qt4 on mac. Qt4 somehow use get the traditional mac style
'\r' as newlines in the text data from the paste board. This caused
the pasted text in kate/kwrite/etc loses newlines. Though it should be
fixed properly in Qt4 (bug #255431), not KDE4.
The last is a small fix in kinit/kinit.cpp, which itself contains 2
fixes: 1, change from testing the hard coded ".so" as dynamic library
extension to using QLibrary::isLibrary() function, and 2, pass
QByteArray.data() instead of the QByteArray object itself, which seems
fixed some random crash in kdeinit4, but this could be superficial.
Ciao,
Junling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake_kde4_add_app_icon.diff
Type: application/octet-stream
Size: 790 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-mac/attachments/20090610/98b9796f/attachment.dll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kate_mac_paste.diff
Type: application/octet-stream
Size: 675 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-mac/attachments/20090610/98b9796f/attachment-0001.dll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kinit_cosmatic.diff
Type: application/octet-stream
Size: 760 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-mac/attachments/20090610/98b9796f/attachment-0002.dll
More information about the kde-mac
mailing list