kdesdk3 stable port information

Package: kdesdk3
Version: 3.5.10
Revision: 3
Description: KDE - tools for developers
License: GPL/LGPL
Maintainer: Benjamin Reed

Depends: <<
cervisia (>= %v-%r),
kapptemplate (>= %v-%r),
kbabel (>= %v-%r),
kbugbuster (>= %v-%r),
kcachegrind (>= %v-%r),
kdeaccounts-plugin (>= %v-%r),
%N-extra-kfile-plugins (>= %v-%r),
kompare (>= %v-%r),
kspy (>= %v-%r),
kuiviewer (>= %v-%r),
poxml (>= %v-%r),
scheck (>= %v-%r),
umbrello (>= %v-%r),
%N-scripts (>= %v-%r),
kunittest (>= %v-%r)
<<
BuildDepends: <<
arts-dev (>= 1.5.10-1),
autoconf (>= 2.60-1),
cctools-single-module,
db47-aes | db47,
expat1,
fink (>= 0.28.0-1),
flex-devel (>= 2.5.31-1),
freetype219 (>= 2.3.7-7),
libgettext3-dev,
gettext-tools,
kdelibs3-unified-dev (>= %v-1),
libart2 (>= 2.3.19-1),
libiconv-dev,
libidn,
libjpeg,
libpng3 (>= 1.2.8-1),
libtool2,
libxml2,
pcre,
pkgconfig (>= 0.22-3),
qt3 (>= 3.3.8-1027),
unsermake (>= 0.4-0.20060316.1),
x11-dev,
xmkmf
<<
Replaces: %N-dev (<< %v-1)
GCC: 4.0

CustomMirror: <<
Primary: http://ranger.users.finkproject.org/distfiles
eur-NL: http://ranger.users.finkproject.org/distfiles
nam-US: http://ranger.befunk.com/fink
nam-US: http://astrange.ithinksw.net/~astrange/ranger-fink
nam-CA: http://www.southofheaven.net/befunk
<<
Source: mirror:kde:stable/%v/src/kdesdk-%v.tar.bz2
Source-MD5: ad711d1ce09242bd13b73a9a005f3143
Source2: mirror:custom:kde-admindir/kde-admindir-1605.tar.bz2
Source2-MD5: e2dccadc3d36718ef9a7e3c7789e2bdf
Source2ExtractDir: kdesdk-%v
SourceDirectory: kdesdk-%v
PatchScript: <<
sed -e 's,@FINKPREFIX@,%p,g' %{PatchFile} | patch -p1
perl -pi -e 's,-O2,-Os,g; s,doc/HTML,doc/kde,g; s,/usr/share/doc/packages/qt3/html,%p/share/doc/qt3/html,g;' admin/*
<<
PatchFile: %n.patch
PatchFile-MD5: 076c57820fea0b8de2c01af63e0076ba

SetCPPFLAGS: -I%p/include/db4
SetMAKEFLAGS: -j1
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
NoSetMAKEFLAGS: true
ConfigureParams: --with-db-name=db-4.7 --with-distribution='Fink/Mac OS X'
CompileScript: <<
#!/bin/sh -ev

export PREFIX="%p" USE_UNSERMAKE=1
. ./environment-helper.sh

./build-helper.sh cvs %N %v %r make -f admin/Makefile.common cvs
./build-helper.sh configure %N %v %r ./configure %c $CONFIGURE_PARAMS

perl -pi -e 's,(..libdir.)/kde3,$1,g' kompare/libdialogpages/Makefile
find . -name \*.l -exec touch {} \;
find . -name \*.ll -exec touch {} \;

./build-helper.sh make %N %v %r unsermake $UNSERMAKEFLAGS LIB_DBIV=-ldb-4.7
<<

InstallScript: <<
#!/bin/sh -ev

export PREFIX="%p" USE_UNSERMAKE=1
. ./environment-helper.sh

./build-helper.sh install %N %v %r unsermake -p -j1 install DESTDIR=%d

mkdir -p %i/share/doc/installed-packages
touch %i/share/doc/installed-packages/%N
touch %i/share/doc/installed-packages/%N-base
<<
DocFiles: COPYING README
SplitOff: <<
Package: %N-dev
Description: KDE - kdesdk development headers and libraries
Depends: <<
%N (>= %v-%r),
%N-base (>= %v-%r)
<<
Replaces: <<
%N (<< %v-1),
kbabel (<< %v-%r)
<<
Recommends: <<
arts-dev (>= 1.5.10-1),
fink (>= 0.28.0-1),
kdelibs3-unified-dev (>= %v-1),
libart2,
libjpeg,
libpng3 (>= 1.2.8-1),
qt3 (>= 3.3.8-1027)
<<
BuildDependsOnly: true
Files: <<
include
lib/*.la
lib/libcvsservice.dylib
lib/libkbabelcommon.dylib
lib/libkbabelcommonui.dylib
lib/libkbabeldict.dylib
lib/libkbabeldictplugin.dylib
lib/libkompareinterface.dylib
lib/libkspy.dylib
lib/libkunittestgui.dylib
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff10: <<
Package: kuiviewer
Description: KDE - preview KDE .ui files
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/kuiviewer
lib/kde3/*kuiviewer*
lib/kde3/quithumbnail*
lib/*kuiviewer*
share/applications/kde/kuiviewer.desktop
share/apps/kuiviewer*
share/icons/hicolor/16x16/apps/kuiviewer.png
share/icons/hicolor/32x32/apps/kuiviewer.png
share/icons/hicolor/48x48/apps/kuiviewer.png
share/icons/locolor/16x16/apps/kuiviewer.png
share/icons/locolor/32x32/apps/kuiviewer.png
share/services/kuiviewer_part.desktop
share/services/designerthumbnail.desktop
<<
Shlibs: !%p/lib/libkdeinit_kuiviewer.dylib
DescDetail: <<
KUIViewer is a utility to display and test the user interface
(.ui) files generated by Qt Designer. The interfaces can be
displayed in a variety of different widget styles.

The Qt Designer itself is in the package qt3-designer.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff11: <<
Package: kspy
Description: KDE - Qt/KDE application state examination
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: lib/libkspy.*
Shlibs: %p/lib/libkspy.1.dylib 4.0.0 kspy (>= 3.4.0-1)
DescDetail: <<
KSpy is a tiny library which can be used to graphically display
the QObjects in use by a Qt/KDE app. In addition to the object
tree, you can also view the properties, signals and slots of
any QObject.

Basically it provides much the same info as
QObject::dumpObjectTree() and QObject::dumpObjectInfo(), but in
a much more convenient form. KSpy has minimal overhead for the
application, because the kspy library is loaded dynamically
using KLibLoader.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff12: <<
Package: poxml
Description: KDE - use PO files to translate DocBook XML
Depends: <<
%N-base (>= %v-%r),
kbabel (>= %v-%r)
<<
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/po2xml
bin/split2po
bin/swappo
bin/transxx
bin/xml2pot
lib/kde3/po2xml*
lib/kde3/pothumb*
lib/kde3/split2po*
lib/kde3/swappo*
lib/kde3/transxx*
lib/kde3/xml2pot*
lib/*po2xml*
lib/*split2po*
lib/*swappo*
lib/*transxx*
lib/*xml2pot*
<<
Shlibs: <<
!%p/lib/libkdeinit_po2xml.dylib
!%p/lib/libkdeinit_split2po.dylib
!%p/lib/libkdeinit_swappo.dylib
!%p/lib/libkdeinit_transxx.dylib
!%p/lib/libkdeinit_xml2pot.dylib
<<
DescDetail: <<
This is a collection of tools that facilitate translating DocBook
XML files using gettext message files (PO-files).

Also included are some miscellaneous command-line utilities for
manipulating DocBook XML files, PO-files and PO-template files.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff13: <<
Package: scheck
Description: KDE - accelerator and style guide conflict checker
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
lib/kde3/plugins/styles/scheck*
share/apps/kstyle/themes/scheck.themerc
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff14: <<
Package: umbrello
Description: KDE - UML modeler
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/umbrello
bin/umbodoc
lib/kde3/*umbrello*
lib/*umbrello*
share/applications/kde/umbrello.desktop
share/apps/umbrello
share/doc/kde/en/umbrello
share/icons/crystalsvg/128x128/mimetypes/umbrellofile.png
share/icons/crystalsvg/16x16/actions/umbrello*
share/icons/crystalsvg/16x16/mimetypes/umbrellofile.png
share/icons/crystalsvg/22x22/actions/umbrello*
share/icons/crystalsvg/22x22/mimetypes/umbrellofile.png
share/icons/crystalsvg/32x32/mimetypes/umbrellofile.png
share/icons/crystalsvg/48x48/mimetypes/umbrellofile.png
share/icons/crystalsvg/64x64/mimetypes/umbrellofile.png
share/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz
share/icons/hicolor/128x128/apps/umbrello.png
share/icons/hicolor/16x16/apps/umbrello.png
share/icons/hicolor/16x16/mimetypes/umbrellofile.png
share/icons/hicolor/22x22/apps/umbrello.png
share/icons/hicolor/32x32/apps/umbrello.png
share/icons/hicolor/32x32/mimetypes/umbrellofile.png
share/icons/hicolor/48x48/apps/umbrello.png
share/icons/hicolor/64x64/apps/umbrello.png
share/icons/hicolor/scalable/apps/umbrello.svgz
share/mimelnk/application/x-umbrello.desktop
<<
Shlibs: !%p/lib/libkdeinit_umbrello.dylib
Homepage: http://uml.sourceforge.net/
DescDetail: <<
Umbrello UML Modeller is a Unified Modelling Language diagram
programme for KDE. UML allows you to create diagrams of
software and other systems in a standard format.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff15: <<
Package: %N-scripts
Description: KDE - various development-related scripts
Depends: <<
%N-base (>= %v-%r),
cervisia (>= %v-%r)
<<
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/adddebug
bin/build-progress.sh
bin/cheatmake
bin/colorsvn
bin/create_*
bin/cvs*
bin/cxxmetric
bin/ex*
bin/findmissingcrystal
bin/fixkdeincludes
bin/fixuifiles
bin/includemocs
bin/kde*
bin/licensecheck
bin/makeobj
bin/noncvslist
bin/nonsvnlist
bin/package_crystalsvg
bin/png2mng.pl
bin/pruneemptydirs
bin/qtdoc
bin/svn*
bin/zonetab2pot.py
share/apps/katepart/syntax/kdesvn-buildrc.xml
share/doc/kde/en/kdesvn-build
share/man/man1
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff16: <<
Package: kunittest
Description: KDE - unit test library
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/kunittest*
lib/libkunittestgui.*.dylib
<<
Shlibs: %p/lib/libkunittestgui.0.dylib 1.0.0 kunittest (>= 3.5.0-1)
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff17: <<
Package: %N-base
Description: KDE - kdesdk base package
Depends: kdebase3-unified (>= %v-1)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: share/doc/installed-packages/%N-base
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff18: <<
Package: kdesdk3-ssl
Description: KDE - upgrade package for kdesdk3-ssl
Depends: %N (= %v-%r)
DocFiles: COPYING README
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff2: <<
Package: cervisia
Description: KDE - graphical CVS client
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/cervisia
lib/kde3/*cervisia*
lib/kde3/*cvs*
lib/libkdeinit_cervisia*
lib/libkdeinit_cvs*
lib/libcvsservice*
share/man/man1/cervisia.1
share/applications/kde/cervisia.desktop
share/apps/cervisia
share/apps/cervisiapart
share/apps/kconf_update/cervisia*
share/apps/kconf_update/change_colors.pl
share/apps/kconf_update/move_repositories.pl
share/config.kcfg/cervisiapart.kcfg
share/doc/kde/en/cervisia
share/icons/crystalsvg/16x16/actions/vcs*
share/icons/crystalsvg/22x22/actions/vcs*
share/icons/crystalsvg/32x32/actions/vcs*
share/icons/crystalsvg/48x48/actions/vcs*
share/icons/crystalsvg/scalable/actions/vcs*
share/icons/hicolor/16x16/apps/cervisia.png
share/icons/hicolor/22x22/apps/cervisia.png
share/icons/hicolor/32x32/apps/cervisia.png
share/icons/hicolor/48x48/apps/cervisia.png
share/services/cvsservice.desktop
<<
Shlibs: <<
!%p/lib/libkdeinit_cervisia.dylib
!%p/lib/libkdeinit_cvsaskpass.dylib
!%p/lib/libkdeinit_cvsservice.dylib
%p/lib/libcvsservice.0.dylib 1.0.0 cervisia (>= 3.4.0-1)
<<
Homepage: http://www.kde.org/apps/cervisia/
DescDetail: Cervisia is a graphical frontend for the CVS client.
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff3: <<
Package: kapptemplate
Description: KDE - application generator
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/kapptemplate
share/apps/kapptemplate
<<
Homepage: http://www.granroth.org/kapptemplate/
DescDetail: <<
KAppTemplate is a set of modular shell scripts that will create a framework
for any number of KDE application types. At it's base level, it handles
creation of things like the automake/autoconf framework, lsm files, RPM
spec files, and po files. Then, there are individual modules that allow you
to create a skeleton KDE application, a KPart application, a KPart plugin,
or even convert existing source code to the KDE framework.

KAppTemplate is continuously updated to ensure that the latest "recommended"
way of doing things is followed. This guarantees that you will always be
doing the "right thing" by using KAppTemplate.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff4: <<
Package: kbabel
Description: KDE - edit and manage gettext PO files
Depends: <<
%N-base (>= %v-%r),
db47-aes-shlibs | db47-shlibs,
gettext-tools
<<
Replaces: <<
%N (<< %v-%r),
poxml,
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/catalogmanager
bin/kbabel*
lib/kde3/*catalogmanager*
lib/kde3/*kbabel*
lib/*babel*
lib/*catalogmanager*
share/applications/kde/catalogmanager.desktop
share/applications/kde/kbabel.desktop
share/applications/kde/kbabeldict.desktop
share/apps/catalogmanager
share/apps/kbabel*
share/apps/kconf_update/kbabel*
share/config.kcfg/kbabel.kcfg
share/config.kcfg/kbprojectsettings*
share/doc/kde/en/kbabel*
share/icons/hicolor/16x16/apps/catalogmanager.png
share/icons/hicolor/16x16/apps/kbabel*
share/icons/hicolor/22x22/apps/catalogmanager.png
share/icons/hicolor/32x32/apps/catalogmanager.png
share/icons/hicolor/32x32/apps/kbabel*
share/icons/hicolor/48x48/apps/catalogmanager.png
share/icons/hicolor/48x48/apps/kbabel*
share/icons/locolor/16x16/apps/kbabel*
share/icons/locolor/32x32/apps/kbabel*
share/icons/locolor/16x16/apps/catalogmanager.png
share/icons/locolor/32x32/apps/catalogmanager.png
share/services/dbsearchengine*
share/services/kbabel*
share/services/po*.desktop
share/services/tmxcompendium.desktop
share/servicetypes/kbabel*
<<
Shlibs: <<
!%p/lib/libkdeinit_catalogmanager.dylib
!%p/lib/libkdeinit_kbabel.dylib
!%p/lib/libkdeinit_kbabeldict.dylib
%p/lib/libkbabelcommon.3.dylib 6.0.0 kbabel (>= 3.4.0-1)
%p/lib/libkbabelcommonui.0.dylib 1.0.0 kbabel (>= 3.4.0-1)
%p/lib/libkbabeldict.0.dylib 1.0.0 kbabel (>= 3.4.0-1)
%p/lib/libkbabeldictplugin.1.dylib 4.0.0 kbabel (>= 3.4.0-1)
<<
Homepage: http://i18n.kde.org/tools/kbabel/
DescDetail: <<
KBabel is a set of tools for editing and managing gettext PO files. Main
part is a powerful and comfortable PO file editor which features full
navigation capabilities, full editing functionality, possibility to search
for translations in different dictionaries, spell and syntax checking,
showing diffs and many more. Also included is a "Catalog Manager", a file
manager view which helps keeping an overview of PO files. Last but not
least it includes a standalone dictionary application as an additional
possibility to access KBabel's powerful dictionaries. KBabel will help
you to translate fast and also keep consistent translations.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff5: <<
Package: kbugbuster
Description: KDE - bug-reporting tool
Depends: %N-base (>= %v-%r)
Recommends: %N (>= %v-%r)
Files: <<
bin/kbugbuster
lib/kde3/*bugbuster*
lib/*bugbuster*
share/applications/kde/kbugbuster.desktop
share/apps/kbugbuster
share/doc/kde/en/kbugbuster
share/icons/hicolor/128x128/apps/kbugbuster.png
share/icons/hicolor/16x16/apps/kbugbuster.png
share/icons/hicolor/22x22/apps/kbugbuster.png
share/icons/hicolor/32x32/apps/kbugbuster.png
share/icons/hicolor/48x48/apps/kbugbuster.png
share/icons/hicolor/64x64/apps/kbugbuster.png
share/icons/locolor/16x16/apps/kbugbuster.png
share/icons/locolor/32x32/apps/kbugbuster.png
<<
Shlibs: !%p/lib/libkdeinit_kbugbuster.dylib
DescDetail: <<
KBugBuster is a GUI front end for the KDE bug tracking system. It allows the
user to view and manipulate bug reports and provides a variety of options for
searching through reports.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff6: <<
Package: kcachegrind
Description: KDE - profiling visualization
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/kcachegrind
bin/dprof2calltree
bin/hotshot2calltree
bin/memprof2calltree
bin/op2calltree
bin/pprof2calltree
lib/kde3/*cachegrind*
lib/*cachegrind*
share/applications/kde/kcachegrind.desktop
share/apps/kcachegrind
share/doc/kde/en/kcachegrind
share/icons/hicolor/32x32/apps/kcachegrind.png
share/icons/hicolor/48x48/apps/kcachegrind.png
share/icons/locolor/16x16/apps/kcachegrind.png
share/icons/locolor/32x32/apps/kcachegrind.png
share/mimelnk/application/x-kcachegrind.desktop
<<
Shlibs: !%p/lib/libkdeinit_kcachegrind.dylib
Homepage: http://kcachegrind.sourceforge.net/
DescDetail: <<
Callgrind uses runtime instrumentation via the Valgrind framework for
its cache simulation and call-graph generation. This way, even shared
libraries and dynamically opened plugins can be profiled. The data
files generated by Callgrind can be loaded into KCachegrind for
browsing the performance results. But there is also a command line
tool in the package to get ASCII reports from data files without the
need to use KCachegrind.

The format of Callgrind output is documented here. With conversion
scripts, KCachegrind is able to visualize output of other profilers
like OProfile, a system-wide profiler for Linux using statistical
sampling with hardware performance counters. There also exist
converters for profiling output of Python, PHP and PERL.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff7: <<
Package: kdeaccounts-plugin
Description: KDE - manage KDE CVS accounts
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
lib/kde3/*kabcformat_kdeaccounts*
share/apps/kabc/formats/kdeaccountsplugin.desktop
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff8: <<
Package: %N-extra-kfile-plugins
Description: KDE - extra kfile plugins from kdesdk
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
lib/kde3/*kfile*
share/services/kfile*
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<
SplitOff9: <<
Package: kompare
Description: KDE - graphical patch browser
Depends: %N-base (>= %v-%r)
Replaces: <<
%N (<< %v-%r),
%N-dev (<< %v-%r)
<<
Recommends: %N (>= %v-%r)
Files: <<
bin/kompare
lib/kde3/*kompare*
lib/*kompare*
share/applications/kde/kompare.desktop
share/apps/kompare
share/doc/kde/en/kompare
share/icons/hicolor/128x128/apps/kompare.png
share/icons/hicolor/16x16/apps/kompare.png
share/icons/hicolor/22x22/apps/kompare.png
share/icons/hicolor/32x32/apps/kompare.png
share/icons/hicolor/48x48/apps/kompare.png
share/icons/hicolor/scalable/apps/kompare.svgz
share/services/kompare*
share/servicetypes/kompare*
<<
Shlibs: <<
!%p/lib/libkdeinit_kompare.dylib
%p/lib/libkompareinterface.0.dylib 1.0.0 kompare (>= 3.4.0-1)
<<
Homepage: http://docs.kde.org/en/HEAD/kdesdk/kompare/
DescDetail: Kompare is a program to view the differences between files.
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<
<<

PostInstScript: <<
if [ -x "%p/bin/kde-update-caches.sh" ]; then
%p/bin/kde-update-caches.sh >/dev/null 2>&1 || :
fi
<<

DescDetail: <<
Various tools for KDE development.

Install the kdesdk3 package if you want to install all of the
kdesdk packages.
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<

kdesdk3 stable port .patch

diff -Nurd kdesdk-3.5.10/cervisia/Makefile.am kdesdk-3.5.10-new/cervisia/Makefile.am
--- kdesdk-3.5.10/cervisia/Makefile.am 2008-08-19 14:13:58.000000000 -0400
+++ kdesdk-3.5.10-new/cervisia/Makefile.am 2010-07-21 20:10:58.000000000 -0400
@@ -26,12 +26,12 @@
globalignorelist.cpp editwithmenu.cpp logmessageedit.cpp
libcervisiapart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
libcervisiapart_la_LIBADD = $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KUTILS) \
- cvsservice/libcvsservice.la libcervisia.la
+ cvsservice/libcvsservice.la libcervisia.la $(LIB_KDEUI)
libcervisiapart_la_COMPILE_FIRST = cvsservice/cvsservice_stub.h cervisiasettings.h

cervisia_la_SOURCES = main.cpp cervisiashell.cpp
cervisia_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module $(KDE_PLUGIN)
-cervisia_la_LIBADD = $(LIB_KPARTS) $(LIB_KUTILS) cvsservice/libcvsservice.la libcervisia.la
+cervisia_la_LIBADD = $(LIB_KPARTS) $(LIB_KUTILS) cvsservice/libcvsservice.la libcervisia.la $(LIB_KDEUI) $(LIB_KIO)
cervisia_la_COMPILE_FIRST = cvsservice/cvsservice_stub.h cervisiasettings.h

man_MANS = cervisia.1
diff -Nurd kdesdk-3.5.10/cervisia/cvsservice/Makefile.am kdesdk-3.5.10-new/cervisia/cvsservice/Makefile.am
--- kdesdk-3.5.10/cervisia/cvsservice/Makefile.am 2005-11-08 17:28:42.000000000 -0500
+++ kdesdk-3.5.10-new/cervisia/cvsservice/Makefile.am 2010-07-21 20:07:54.000000000 -0400
@@ -12,14 +12,14 @@
kdeinit_LTLIBRARIES = cvsservice.la cvsaskpass.la

cvsservice_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
-cvsservice_la_LIBADD = $(LIB_KIO)
+cvsservice_la_LIBADD = $(LIB_KIO) $(LIB_QT) $(LIB_KDECORE) -lDCOP -lkdesu $(LIB_KDEUI)
cvsservice_la_SOURCES = main.cpp cvsservice.cpp cvsjob.cpp \
cvsservice.skel cvsservice.stub cvsjob.skel cvsjob.stub \
repository.cpp repository.skel repository.stub sshagent.cpp \
cvsserviceutils.cpp cvsloginjob.cpp cvsloginjob.skel cvsloginjob.stub

cvsaskpass_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
-cvsaskpass_la_LIBADD = $(LIB_KDEUI)
+cvsaskpass_la_LIBADD = $(LIB_KDEUI) $(LIB_QT) $(LIB_KDECORE)
cvsaskpass_la_SOURCES = cvsaskpass.cpp

include_HEADERS = cvsservice_stub.h cvsjob_stub.h repository_stub.h
@@ -30,7 +30,7 @@
lib_LTLIBRARIES = libcvsservice.la

libcvsservice_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 0:1
-libcvsservice_la_LIBADD = $(LIB_KDECORE)
+libcvsservice_la_LIBADD = $(LIB_KDECORE) -lDCOP $(LIB_QT)
libcvsservice_la_SOURCES = cvsservice.stub cvsjob.stub repository.stub dummy.cpp

dummy.cpp:
diff -Nurd kdesdk-3.5.9/kapptemplate/kapp/app-Makefile.am kdesdk-3.5.9-new/kapptemplate/kapp/app-Makefile.am
--- kdesdk-3.5.9/kapptemplate/kapp/app-Makefile.am 2005-09-10 04:20:59.000000000 -0400
+++ kdesdk-3.5.9-new/kapptemplate/kapp/app-Makefile.am 2008-02-13 22:01:07.000000000 -0500
@@ -8,28 +8,30 @@

# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
-bin_PROGRAMS = $APP_NAME_LC ${APP_NAME_LC}_client
+bin_PROGRAMS =
+lib_LTLIBRARIES =
+kdeinit_LTLIBRARIES = ${APP_NAME_LC}.la ${APP_NAME_LC}_client.la

# set the include path for X, qt and KDE
INCLUDES = \$(all_includes)

# the library search path.
-${APP_NAME_LC}_LDFLAGS = \$(KDE_RPATH) \$(all_libraries)
+${APP_NAME_LC}_la_LDFLAGS = \$(KDE_PLUGIN) -module \$(all_libraries)

# the libraries to link against.
-${APP_NAME_LC}_LDADD = \$(LIB_KFILE) -lkdeprint
+${APP_NAME_LC}_la_LIBADD = \$(LIB_KFILE) -lkdeprint

# which sources should be compiled for $APP_NAME_LC
-${APP_NAME_LC}_SOURCES = main.cpp ${APP_NAME_LC}.cpp ${APP_NAME_LC}view.cpp \\
+${APP_NAME_LC}_la_SOURCES = main.cpp ${APP_NAME_LC}.cpp ${APP_NAME_LC}view.cpp \\
${APP_NAME_LC}pref.cpp ${APP_NAME_LC}iface.skel

# these are the headers for your project
noinst_HEADERS = ${APP_NAME_LC}.h ${APP_NAME_LC}view.h ${APP_NAME_LC}pref.h

# client stuff
-${APP_NAME_LC}_client_LDFLAGS = \$(KDE_RPATH) \$(all_libraries)
-${APP_NAME_LC}_client_LDADD = \$(LIB_KDECORE)
-${APP_NAME_LC}_client_SOURCES = ${APP_NAME_LC}_client.cpp
+${APP_NAME_LC}_client_la_LDFLAGS = \$(KDE_PLUGIN) -module \$(all_libraries)
+${APP_NAME_LC}_client_la_LIBADD = \$(LIB_KDECORE)
+${APP_NAME_LC}_client_la_SOURCES = ${APP_NAME_LC}_client.cpp

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
diff -Nurd kdesdk-3.5.9/kapptemplate/kapp/app_client.cpp kdesdk-3.5.9-new/kapptemplate/kapp/app_client.cpp
--- kdesdk-3.5.9/kapptemplate/kapp/app_client.cpp 2005-09-10 04:20:59.000000000 -0400
+++ kdesdk-3.5.9-new/kapptemplate/kapp/app_client.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -5,7 +5,7 @@
#include
#include

-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
KApplication app(argc, argv, "${APP_NAME_LC}_client", false);

diff -Nurd kdesdk-3.5.9/kapptemplate/kapp/main.cpp kdesdk-3.5.9-new/kapptemplate/kapp/main.cpp
--- kdesdk-3.5.9/kapptemplate/kapp/main.cpp 2005-09-10 04:20:59.000000000 -0400
+++ kdesdk-3.5.9-new/kapptemplate/kapp/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -18,7 +18,7 @@
KCmdLineLastOption
};

-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
KAboutData about("${APP_NAME_LC}", I18N_NOOP("${APP_NAME}"), version, description, KAboutData::License_GPL, "(C) 2004 ${AUTHOR}", 0, 0, "${EMAIL}");
about.addAuthor( "${AUTHOR}", 0, "${EMAIL}" );
diff -Nurd kdesdk-3.5.9/kapptemplate/kpartapp/main.cpp kdesdk-3.5.9-new/kapptemplate/kpartapp/main.cpp
--- kdesdk-3.5.9/kapptemplate/kpartapp/main.cpp 2005-09-10 04:20:59.000000000 -0400
+++ kdesdk-3.5.9-new/kapptemplate/kpartapp/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -17,7 +17,7 @@
KCmdLineLastOption
};

-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
KAboutData about("${APP_NAME_LC}", I18N_NOOP("${APP_NAME}"), version, description, KAboutData::License_GPL, "(C) 2004 ${AUTHOR}", 0, 0, "${EMAIL}");
about.addAuthor( "${AUTHOR}", 0, "${EMAIL}" );
diff -Nurd kdesdk-3.5.10/kbabel/addons/preview/Makefile.am kdesdk-3.5.10-new/kbabel/addons/preview/Makefile.am
--- kdesdk-3.5.10/kbabel/addons/preview/Makefile.am 2005-09-10 04:20:54.000000000 -0400
+++ kdesdk-3.5.10-new/kbabel/addons/preview/Makefile.am 2010-07-22 01:03:16.000000000 -0400
@@ -5,7 +5,7 @@
kde_module_LTLIBRARIES = pothumbnail.la

pothumbnail_la_SOURCES = pothumbcreator.cpp
-pothumbnail_la_LIBADD = ../../common/libkbabelcommon.la
+pothumbnail_la_LIBADD = ../../common/libkbabelcommon.la -lkdefx
pothumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)

noinst_HEADERS = pothumbcreator.h
diff -Nurd kdesdk-3.5.9/kbabel/catalogmanager/Makefile.am kdesdk-3.5.9-new/kbabel/catalogmanager/Makefile.am
--- kdesdk-3.5.9/kbabel/catalogmanager/Makefile.am 2006-10-01 13:27:34.000000000 -0400
+++ kdesdk-3.5.9-new/kbabel/catalogmanager/Makefile.am 2008-02-13 22:01:07.000000000 -0500
@@ -7,7 +7,11 @@
# this is the program that gets installed. Its name is used for all
# of the other Makefile.am variables
noinst_LTLIBRARIES = libcatalogmanager.la
-bin_PROGRAMS = catalogmanager
+
+kdeinit_LTLIBRARIES = catalogmanager.la
+bin_PROGRAMS =
+lib_LTLIBRARIES =
+

# set the include path for X, qt and KDE. Let $(all_includes) be always last.
INCLUDES = -I$(srcdir)/../common -I../common -I$(srcdir)/../kbabeldict \
@@ -30,11 +34,11 @@
libcatalogmanager_la_LDFLAGS = $(all_libraries) -no-undefined


-catalogmanager_SOURCES = main.cpp
+catalogmanager_la_SOURCES = main.cpp

# the libraries to link against.
-catalogmanager_LDADD = libcatalogmanager.la
-catalogmanager_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+catalogmanager_la_LIBADD = libcatalogmanager.la
+catalogmanager_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module

# these are the headers for your project
noinst_HEADERS = catalogmanageriface.h catalogmanager.h \
diff -Nurd kdesdk-3.5.9/kbabel/catalogmanager/libsvn/svnhandler.h kdesdk-3.5.9-new/kbabel/catalogmanager/libsvn/svnhandler.h
--- kdesdk-3.5.9/kbabel/catalogmanager/libsvn/svnhandler.h 2007-05-14 03:40:26.000000000 -0400
+++ kdesdk-3.5.9-new/kbabel/catalogmanager/libsvn/svnhandler.h 2008-02-13 22:01:07.000000000 -0500
@@ -47,6 +47,9 @@

class KSharedConfig;

+#undef stderr
+#undef stdout
+
/**
* This class is the backend for SVN support in Catalog Manager.
*
diff -Nurd kdesdk-3.5.9/kbabel/catalogmanager/main.cpp kdesdk-3.5.9-new/kbabel/catalogmanager/main.cpp
--- kdesdk-3.5.9/kbabel/catalogmanager/main.cpp 2007-01-15 06:24:26.000000000 -0500
+++ kdesdk-3.5.9-new/kbabel/catalogmanager/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -180,7 +180,7 @@
};


-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
KLocale::setMainCatalogue("kbabel");
KAboutData about("catalogmanager",I18N_NOOP("KBabel - Catalog Manager"),VERSION,
diff -Nurd kdesdk-3.5.10/kbabel/common/Makefile.am kdesdk-3.5.10-new/kbabel/common/Makefile.am
--- kdesdk-3.5.10/kbabel/common/Makefile.am 2005-10-10 10:58:12.000000000 -0400
+++ kdesdk-3.5.10-new/kbabel/common/Makefile.am 2010-07-21 19:49:01.000000000 -0400
@@ -25,7 +25,7 @@
projectsettings.cpp \
stringdistance.cpp

-libkbabelcommon_la_LIBADD = $(LIB_KIO) libgettext/libgettext.la
+libkbabelcommon_la_LIBADD = $(LIB_KIO) libgettext/libgettext.la $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI)
libkbabelcommon_la_LDFLAGS = $(all_libraries) -version-info 5:0:2 -no-undefined

# these are the headers for your project
diff -Nurd kdesdk-3.5.10/kbabel/commonui/Makefile.am kdesdk-3.5.10-new/kbabel/commonui/Makefile.am
--- kdesdk-3.5.10/kbabel/commonui/Makefile.am 2006-10-01 13:27:34.000000000 -0400
+++ kdesdk-3.5.10-new/kbabel/commonui/Makefile.am 2010-08-26 11:24:52.000000000 -0400
@@ -2,7 +2,7 @@

# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
-noinst_LTLIBRARIES = libkbabelcommonui.la
+lib_LTLIBRARIES = libkbabelcommonui.la

# set the include path for X, qt and KDE. Put local paths before all_includes.
INCLUDES = -I$(srcdir)/../common -I../common -I$(srcdir)/../kbabeldict -I../kbabeldict $(all_includes)
@@ -19,7 +19,7 @@
cmdedit.cpp \
diffpreferences.ui

-libkbabelcommonui_la_LIBADD = $(LIB_KIO) -lktexteditor ../common/libkbabelcommon.la ../kbabeldict/libkbabeldict.la
+libkbabelcommonui_la_LIBADD = $(LIB_KIO) -lktexteditor ../common/libkbabelcommon.la ../kbabeldict/libkbabeldict.la $(LIB_KPARTS)

libkbabelcommonui_la_LDFLAGS = $(all_libraries)

diff -Nurd kdesdk-3.5.9/kbabel/kbabel/Makefile.am kdesdk-3.5.9-new/kbabel/kbabel/Makefile.am
--- kdesdk-3.5.9/kbabel/kbabel/Makefile.am 2006-10-01 13:27:33.000000000 -0400
+++ kdesdk-3.5.9-new/kbabel/kbabel/Makefile.am 2008-02-13 22:01:07.000000000 -0500
@@ -5,7 +5,9 @@
# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
noinst_LTLIBRARIES = libkbabel.la
-bin_PROGRAMS = kbabel
+kdeinit_LTLIBRARIES = kbabel.la
+bin_PROGRAMS =
+lib_LTLIBRARIES =

# set the include path for X, qt and KDE
INCLUDES = -I$(srcdir)/../common -I../common -I$(srcdir)/../commonui -I../commonui -I$(srcdir)/../kbabeldict -I../kbabeldict $(all_includes)
@@ -41,11 +43,11 @@
libkbabel_la_LDFLAGS = $(all_libraries)


-kbabel_SOURCES = main.cpp
+kbabel_la_SOURCES = main.cpp

# the libraries to link against.
-kbabel_LDADD = libkbabel.la
-kbabel_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kbabel_la_LIBADD = libkbabel.la
+kbabel_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module

# these are the headers for your project
noinst_HEADERS = kbabel.h kbabelview.h \
diff -Nurd kdesdk-3.5.9/kbabel/kbabel/main.cpp kdesdk-3.5.9-new/kbabel/kbabel/main.cpp
--- kdesdk-3.5.9/kbabel/kbabel/main.cpp 2007-01-15 06:24:25.000000000 -0500
+++ kdesdk-3.5.9-new/kbabel/kbabel/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -542,7 +542,7 @@
};


-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
KAboutData about("kbabel",I18N_NOOP("KBabel"),VERSION,
I18N_NOOP("An advanced PO file editor"),KAboutData::License_GPL,
diff -Nurd kdesdk-3.5.10/kbabel/kbabeldict/Makefile.am kdesdk-3.5.10-new/kbabel/kbabeldict/Makefile.am
--- kdesdk-3.5.10/kbabel/kbabeldict/Makefile.am 2006-10-01 13:27:33.000000000 -0400
+++ kdesdk-3.5.10-new/kbabel/kbabeldict/Makefile.am 2010-08-27 05:05:57.000000000 -0400
@@ -6,33 +6,31 @@

pkgincludedir = $(includedir)/kbabel

-# this is the program that gets installed. it's name is used for all
-# of the other Makefile.am variables
-noinst_LTLIBRARIES = libkbabeldict.la
-bin_PROGRAMS = kbabeldict
+bin_PROGRAMS =
+kdeinit_LTLIBRARIES = kbabeldict.la

# set the include path for X, qt and KDE
INCLUDES = -I$(srcdir)/../common -I$(top_builddir)/kbabel/common $(all_includes)


# library for babeldict plugins
-lib_LTLIBRARIES = libkbabeldictplugin.la
+lib_LTLIBRARIES = libkbabeldictplugin.la libkbabeldict.la
libkbabeldictplugin_la_SOURCES = searchengine.cpp
-libkbabeldictplugin_la_LIBADD = $(LIB_KDECORE)
+libkbabeldictplugin_la_LIBADD = $(LIB_KDECORE) $(LIB_QT)
libkbabeldictplugin_la_LDFLAGS = -version-info 3:0:2 $(all_libraries)

libkbabeldict_la_SOURCES = kbabeldictbox.cpp \
kbabeldictiface.skel dictionarymenu.cpp dictchooser.cpp \
aboutmoduledlg.cpp
-libkbabeldict_la_LIBADD = ../common/libkbabelcommon.la libkbabeldictplugin.la $(LIB_KDEUI)
+libkbabeldict_la_LIBADD = ../common/libkbabelcommon.la libkbabeldictplugin.la $(LIB_KDEUI) -lDCOP
libkbabeldict_la_LDFLAGS = $(all_libraries) -no-undefined


-kbabeldict_SOURCES = main.cpp kbabeldictview.cpp kbabeldict.cpp kbabelsplash.cpp
+kbabeldict_la_SOURCES = main.cpp kbabeldictview.cpp kbabeldict.cpp kbabelsplash.cpp

# the libraries to link against.
-kbabeldict_LDADD = libkbabeldict.la
-kbabeldict_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kbabeldict_la_LIBADD = libkbabeldict.la
+kbabeldict_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module

# these are the headers for your project
noinst_HEADERS = kbabeldict.h kbabeldictview.h kbabelsplash.h aboutmoduledlg.h
diff -Nurd kdesdk-3.5.9/kbabel/kbabeldict/main.cpp kdesdk-3.5.9-new/kbabel/kbabeldict/main.cpp
--- kdesdk-3.5.9/kbabel/kbabeldict/main.cpp 2006-07-22 04:11:50.000000000 -0400
+++ kdesdk-3.5.9-new/kbabel/kbabeldict/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -107,7 +107,7 @@
};


-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
KLocale::setMainCatalogue("kbabel");

diff -Nurd kdesdk-3.5.10/kbugbuster/Makefile.am kdesdk-3.5.10-new/kbugbuster/Makefile.am
--- kdesdk-3.5.10/kbugbuster/Makefile.am 2005-09-10 04:21:11.000000000 -0400
+++ kdesdk-3.5.10-new/kbugbuster/Makefile.am 2010-07-21 20:23:39.000000000 -0400
@@ -6,12 +6,14 @@

SUBDIRS = backend gui pics $(KRESOURCES_SUBDIR)

-bin_PROGRAMS = kbugbuster
+kdeinit_LTLIBRARIES = kbugbuster.la
+bin_PROGRAMS =
+lib_LTLIBRARIES =

-kbugbuster_SOURCES = main.cpp
-kbugbuster_LDADD = -lkutils gui/libkbbmainwindow.la \
- backend/libkbbbackend.la $(LIB_KHTML) $(LIB_KIO)
-kbugbuster_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kbugbuster_la_SOURCES = main.cpp
+kbugbuster_la_LIBADD = -lkutils gui/libkbbmainwindow.la \
+ backend/libkbbbackend.la $(LIB_KHTML) $(LIB_KIO) $(LIB_QT) $(LIB_KDEUI) $(LIB_KDECORE) -lkdefx -lDCOP
+kbugbuster_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module

xdg_apps_DATA = kbugbuster.desktop

diff -Nurd kdesdk-3.5.9/kbugbuster/configure.in.in kdesdk-3.5.9-new/kbugbuster/configure.in.in
--- kdesdk-3.5.9/kbugbuster/configure.in.in 2005-09-10 04:21:11.000000000 -0400
+++ kdesdk-3.5.9-new/kbugbuster/configure.in.in 2008-02-13 22:01:07.000000000 -0500
@@ -2,6 +2,7 @@
KDE_CHECK_HEADER(libkcal/resourcecalendar.h,HAVE_KCAL=1,
AC_MSG_WARN([Unable to find libkcal. The Bugzilla todo list \
resource for KOrganizer won't be compiled.]))
+HAVE_KCAL=0
AM_CONDITIONAL(include_kcalresource, test "$HAVE_KCAL" = 1)
])

diff -Nurd kdesdk-3.5.9/kbugbuster/main.cpp kdesdk-3.5.9-new/kbugbuster/main.cpp
--- kdesdk-3.5.9/kbugbuster/main.cpp 2005-09-10 04:21:11.000000000 -0400
+++ kdesdk-3.5.9-new/kbugbuster/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -42,7 +42,7 @@
KCmdLineLastOption
};

-int main(int argc, char *argv[])
+extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
{
KAboutData aboutData( "kbugbuster", I18N_NOOP( "KBugBuster" ),
VERSION, description, KAboutData::License_GPL,
diff -Nurd kdesdk-3.5.10/kcachegrind/kcachegrind/Makefile.am kdesdk-3.5.10-new/kcachegrind/kcachegrind/Makefile.am
--- kdesdk-3.5.10/kcachegrind/kcachegrind/Makefile.am 2005-09-10 04:21:07.000000000 -0400
+++ kdesdk-3.5.10-new/kcachegrind/kcachegrind/Makefile.am 2010-07-22 01:06:20.000000000 -0400
@@ -1,6 +1,8 @@
-bin_PROGRAMS = kcachegrind
+kdeinit_LTLIBRARIES = kcachegrind.la
+bin_PROGRAMS =
+lib_LTLIBRARIES =

-kcachegrind_SOURCES = \
+kcachegrind_la_SOURCES = \
functionselectionbase.ui \
stackselectionbase.ui \
partselectionbase.ui \
@@ -19,9 +21,10 @@
costlistitem.cpp partlistitem.cpp functionitem.cpp \
instritem.cpp stackitem.cpp callgraphview.cpp

-kcachegrind_COMPILE_FIRST = ../version.h
+kcachegrind_la_COMPILE_FIRST = ../version.h

-kcachegrind_LDADD = $(LIB_KIO)
+kcachegrind_la_LIBADD = $(LIB_KIO) $(LIB_QT) $(LIB_KDEUI) $(LIB_KDECORE) -lDCOP
+kcachegrind_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module

KDE_ICON = AUTO

@@ -43,9 +46,6 @@

METASOURCES = AUTO

-# the library search path.
-kcachegrind_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-
rcdir = $(kde_datadir)/kcachegrind
rc_DATA = kcachegrindui.rc

diff -Nurd kdesdk-3.5.9/kcachegrind/kcachegrind/main.cpp kdesdk-3.5.9-new/kcachegrind/kcachegrind/main.cpp
--- kdesdk-3.5.9/kcachegrind/kcachegrind/main.cpp 2005-09-10 04:21:07.000000000 -0400
+++ kdesdk-3.5.9-new/kcachegrind/kcachegrind/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -40,7 +40,7 @@
KCmdLineLastOption // End of options.
};

-int main( int argc, char ** argv )
+extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
{
KAboutData aboutData("kcachegrind",
I18N_NOOP("KCachegrind"),
diff -Nurd kdesdk-3.5.9/kcachegrind/kcachegrind/sourceitem.h kdesdk-3.5.9-new/kcachegrind/kcachegrind/sourceitem.h
--- kdesdk-3.5.9/kcachegrind/kcachegrind/sourceitem.h 2005-09-10 04:21:07.000000000 -0400
+++ kdesdk-3.5.9-new/kcachegrind/kcachegrind/sourceitem.h 2008-02-13 22:01:07.000000000 -0500
@@ -25,6 +25,7 @@

#include
#include "tracedata.h"
+#undef fileno

class SourceView;

diff -Nurd kdesdk-3.5.10/kdeaccounts-plugin/Makefile.am kdesdk-3.5.10-new/kdeaccounts-plugin/Makefile.am
--- kdesdk-3.5.10/kdeaccounts-plugin/Makefile.am 2005-09-10 04:21:05.000000000 -0400
+++ kdesdk-3.5.10-new/kdeaccounts-plugin/Makefile.am 2010-07-22 01:07:15.000000000 -0400
@@ -4,7 +4,7 @@
kde_module_LTLIBRARIES = kabcformat_kdeaccounts.la
kabcformat_kdeaccounts_la_SOURCES = kdeaccountsformat.cpp
kabcformat_kdeaccounts_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kabcformat_kdeaccounts_la_LIBADD = -lkabc
+kabcformat_kdeaccounts_la_LIBADD = -lkabc $(LIB_QT)

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
diff -Nurd kdesdk-3.5.10/kfile-plugins/c++/Makefile.am kdesdk-3.5.10-new/kfile-plugins/c++/Makefile.am
--- kdesdk-3.5.10/kfile-plugins/c++/Makefile.am 2005-09-10 04:21:10.000000000 -0400
+++ kdesdk-3.5.10-new/kfile-plugins/c++/Makefile.am 2010-07-22 01:10:12.000000000 -0400
@@ -10,7 +10,7 @@

kfile_cpp_la_SOURCES = kfile_cpp.cpp
kfile_cpp_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kfile_cpp_la_LIBADD = $(LIB_KIO)
+kfile_cpp_la_LIBADD = $(LIB_KIO) $(LIB_KDECORE) $(LIB_QT)

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
diff -Nurd kdesdk-3.5.10/kfile-plugins/diff/Makefile.am kdesdk-3.5.10-new/kfile-plugins/diff/Makefile.am
--- kdesdk-3.5.10/kfile-plugins/diff/Makefile.am 2005-09-10 04:21:10.000000000 -0400
+++ kdesdk-3.5.10-new/kfile-plugins/diff/Makefile.am 2010-07-22 01:08:35.000000000 -0400
@@ -10,7 +10,7 @@

kfile_diff_la_SOURCES = kfile_diff.cpp
kfile_diff_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kfile_diff_la_LIBADD = $(LIB_KSYCOCA)
+kfile_diff_la_LIBADD = $(LIB_KSYCOCA) $(LIB_QT) $(LIB_KDECORE)

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
diff -Nurd kdesdk-3.5.10/kfile-plugins/ts/Makefile.am kdesdk-3.5.10-new/kfile-plugins/ts/Makefile.am
--- kdesdk-3.5.10/kfile-plugins/ts/Makefile.am 2005-09-10 04:21:10.000000000 -0400
+++ kdesdk-3.5.10-new/kfile-plugins/ts/Makefile.am 2010-07-22 01:09:45.000000000 -0400
@@ -9,7 +9,7 @@

kfile_ts_la_SOURCES = kfile_ts.cpp
kfile_ts_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kfile_ts_la_LIBADD = $(LIB_KIO)
+kfile_ts_la_LIBADD = $(LIB_KIO) $(LIB_KDECORE) $(LIB_QT)

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
diff -Nurd kdesdk-3.5.10/kioslave/svn/Makefile.am kdesdk-3.5.10-new/kioslave/svn/Makefile.am
--- kdesdk-3.5.10/kioslave/svn/Makefile.am 2005-09-10 04:21:11.000000000 -0400
+++ kdesdk-3.5.10-new/kioslave/svn/Makefile.am 2010-07-22 01:13:11.000000000 -0400
@@ -5,7 +5,7 @@
kde_module_LTLIBRARIES = kio_svn.la

kio_svn_la_SOURCES = svn.cpp
-kio_svn_la_LIBADD = -lkio
+kio_svn_la_LIBADD = -lkio $(LIB_QT) $(SOMETHING) -lDCOP $(LIB_KDECORE)
kio_svn_la_LDFLAGS = -avoid-version -module $(all_libraries) $(KDE_PLUGIN) $(SVNLD) $(SVN_LIB)

protocol_DATA = svn+http.protocol svn+https.protocol svn+file.protocol svn+ssh.protocol svn.protocol
diff -Nurd kdesdk-3.5.9/kioslave/svn/configure.in.in kdesdk-3.5.9-new/kioslave/svn/configure.in.in
--- kdesdk-3.5.9/kioslave/svn/configure.in.in 2008-02-13 04:38:00.000000000 -0500
+++ kdesdk-3.5.9-new/kioslave/svn/configure.in.in 2008-02-13 22:01:07.000000000 -0500
@@ -155,3 +155,5 @@
AC_SUBST(SVN_CPPFLAGS)
AC_SUBST(SVNLD)
AM_CONDITIONAL(include_kioslave_svn, test -n "$SVN_SUBDIR")
+
+export DO_NOT_COMPILE="$DO_NOT_COMPILE kioslave"
diff -Nurd kdesdk-3.5.9/kmtrace/Makefile.am kdesdk-3.5.9-new/kmtrace/Makefile.am
--- kdesdk-3.5.9/kmtrace/Makefile.am 2005-09-10 04:20:58.000000000 -0400
+++ kdesdk-3.5.9-new/kmtrace/Makefile.am 2008-02-13 22:01:07.000000000 -0500
@@ -21,15 +21,16 @@
LDADD = $(LIB_KDECORE) -liberty
INCLUDES = $(all_includes)

-bin_PROGRAMS = kmtrace demangle kmmatch
-kmtrace_SOURCES = kmtrace.cpp
-kmtrace_LDFLAGS = $(all_libraries)
+kdeinit_LTLIBRARIES = kmtrace.la demangle.la kmmatch.la
+bin_PROGRAMS =
+kmtrace_la_SOURCES = kmtrace.cpp
+kmtrace_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module

-demangle_SOURCES = demangle.cpp
-demangle_LDFLAGS = $(all_libraries)
+demangle_la_SOURCES = demangle.cpp
+demangle_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module

-kmmatch_SOURCES = match.cpp
-kmmatch_LDFLAGS = $(all_libraries)
+kmmatch_la_SOURCES = match.cpp
+kmmatch_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module

bin_SCRIPTS = kminspector

diff -Nurd kdesdk-3.5.9/kmtrace/demangle.cpp kdesdk-3.5.9-new/kmtrace/demangle.cpp
--- kdesdk-3.5.9/kmtrace/demangle.cpp 2005-09-10 04:20:58.000000000 -0400
+++ kdesdk-3.5.9-new/kmtrace/demangle.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -36,7 +36,7 @@
}


-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
char buf[1024];

diff -Nurd kdesdk-3.5.9/kmtrace/kmtrace.cpp kdesdk-3.5.9-new/kmtrace/kmtrace.cpp
--- kdesdk-3.5.9/kmtrace/kmtrace.cpp 2005-10-10 10:58:21.000000000 -0400
+++ kdesdk-3.5.9-new/kmtrace/kmtrace.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -576,7 +576,7 @@
KCmdLineLastOption
};

-int main(int argc, char *argv[])
+extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
{
KInstance instance("kmtrace");

diff -Nurd kdesdk-3.5.9/kmtrace/match.cpp kdesdk-3.5.9-new/kmtrace/match.cpp
--- kdesdk-3.5.9/kmtrace/match.cpp 2005-09-10 04:20:58.000000000 -0400
+++ kdesdk-3.5.9-new/kmtrace/match.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -13,7 +13,7 @@
#include
#include

-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
char buf[1024];
if (argc != 3)
diff -Nurd kdesdk-3.5.10/kompare/Makefile.am kdesdk-3.5.10-new/kompare/Makefile.am
--- kdesdk-3.5.10/kompare/Makefile.am 2005-09-10 04:21:05.000000000 -0400
+++ kdesdk-3.5.10-new/kompare/Makefile.am 2010-07-21 20:27:40.000000000 -0400
@@ -22,15 +22,17 @@
#########################################################################
# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
-bin_PROGRAMS = kompare
+kdeinit_LTLIBRARIES = kompare.la
+bin_PROGRAMS =
+lib_LTLIBRARIES =

# the application source, library search path, and link libraries
-kompare_SOURCES = main.cpp kompare_shell.cpp kompareurldialog.cpp
-kompare_LDFLAGS = $(all_libraries)
-kompare_LDADD = $(LIB_KPARTS) \
+kompare_la_SOURCES = main.cpp kompare_shell.cpp kompareurldialog.cpp
+kompare_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+kompare_la_LIBADD = $(LIB_KPARTS) \
$(top_builddir)/kompare/interfaces/libkompareinterface.la \
$(top_builddir)/kompare/libdialogpages/libdialogpages.la \
- -lktexteditor
+ -lktexteditor $(LIB_KDECORE) $(LIB_KDEUI)

# this is where the desktop file will go
xdg_apps_DATA = kompare.desktop
diff -Nurd kdesdk-3.5.10/kompare/komparenavtreepart/Makefile.am kdesdk-3.5.10-new/kompare/komparenavtreepart/Makefile.am
--- kdesdk-3.5.10/kompare/komparenavtreepart/Makefile.am 2005-09-10 04:21:05.000000000 -0400
+++ kdesdk-3.5.10-new/kompare/komparenavtreepart/Makefile.am 2010-07-22 01:16:13.000000000 -0400
@@ -20,7 +20,7 @@
komparenavtreepart.cpp

libkomparenavtreepart_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries)
-libkomparenavtreepart_la_LIBADD = $(LIB_KPARTS) ../libdiff2/libdiff2.la
+libkomparenavtreepart_la_LIBADD = $(LIB_KPARTS) ../libdiff2/libdiff2.la $(LIB_KDEUI)

# this is where the desktop file will go
partdesktopdir = $(kde_servicesdir)
diff -Nurd kdesdk-3.5.10/kompare/komparepart/Makefile.am kdesdk-3.5.10-new/kompare/komparepart/Makefile.am
--- kdesdk-3.5.10/kompare/komparepart/Makefile.am 2005-09-10 04:21:04.000000000 -0400
+++ kdesdk-3.5.10-new/kompare/komparepart/Makefile.am 2010-07-22 01:17:09.000000000 -0400
@@ -34,7 +34,7 @@
komparesaveoptionswidget.cpp

libkomparepart_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries)
-libkomparepart_la_LIBADD = $(LIB_KPARTS) $(LIB_KFILE) \
+libkomparepart_la_LIBADD = $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KDEUI) \
../libdialogpages/libdialogpages.la \
../libdiff2/libdiff2.la \
../interfaces/libkompareinterface.la
diff -Nurd kdesdk-3.5.10/kompare/libdiff2/Makefile.am kdesdk-3.5.10-new/kompare/libdiff2/Makefile.am
--- kdesdk-3.5.10/kompare/libdiff2/Makefile.am 2005-09-10 04:21:04.000000000 -0400
+++ kdesdk-3.5.10-new/kompare/libdiff2/Makefile.am 2010-07-21 20:32:50.000000000 -0400
@@ -33,5 +33,5 @@
perforceparser.cpp

libdiff2_la_LDFLAGS = $(all_libraries)
-libdiff2_la_LIBADD = $(LIB_KFILE)
+libdiff2_la_LIBADD = $(LIB_KFILE) $(LIB_QT) $(LIB_KDECORE)

diff -Nurd kdesdk-3.5.9/kompare/main.cpp kdesdk-3.5.9-new/kompare/main.cpp
--- kdesdk-3.5.9/kompare/main.cpp 2005-09-10 04:21:05.000000000 -0400
+++ kdesdk-3.5.9-new/kompare/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -47,7 +47,7 @@
KCmdLineLastOption
};

-int main(int argc, char *argv[])
+extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
{
KAboutData aboutData( "kompare", I18N_NOOP("Kompare"), version, description,
KAboutData::License_GPL,
diff -Nurd kdesdk-3.5.9/kspy/main.cpp kdesdk-3.5.9-new/kspy/main.cpp
--- kdesdk-3.5.9/kspy/main.cpp 2005-09-10 04:20:58.000000000 -0400
+++ kdesdk-3.5.9-new/kspy/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -32,7 +32,7 @@
// INSERT YOUR COMMANDLINE OPTIONS HERE
};

-int main(int argc, char *argv[])
+extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
{

KAboutData aboutData( "spy", I18N_NOOP("Spy"),
diff -Nurd kdesdk-3.5.10/kstartperf/Makefile.am kdesdk-3.5.10-new/kstartperf/Makefile.am
--- kdesdk-3.5.10/kstartperf/Makefile.am 2005-09-10 04:20:58.000000000 -0400
+++ kdesdk-3.5.10-new/kstartperf/Makefile.am 2010-07-22 01:20:48.000000000 -0400
@@ -2,13 +2,14 @@

lib_LTLIBRARIES = libkstartperf.la
libkstartperf_la_LDFLAGS = $(all_libraries) -version-info 1:0 -no-undefined
-# libkstartperf_la_LIBADD = ../libltdl/libltdlc.la
+libkstartperf_la_LIBADD = -lltdl
libkstartperf_la_SOURCES = libkstartperf.c

-bin_PROGRAMS = kstartperf
-kstartperf_LDFLAGS = $(all_libraries)
-kstartperf_LDADD = $(LIB_KDECORE)
-kstartperf_SOURCES = kstartperf.cpp
+kdeinit_LTLIBRARIES = kstartperf.la
+bin_PROGRAMS =
+kstartperf_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+kstartperf_la_LIBADD = $(LIB_KDECORE) $(LIB_QT)
+kstartperf_la_SOURCES = kstartperf.cpp

messages:
$(XGETTEXT) $(kstartperf_SOURCES) -o $(podir)/kstartperf.pot
diff -Nurd kdesdk-3.5.9/kstartperf/kstartperf.cpp kdesdk-3.5.9-new/kstartperf/kstartperf.cpp
--- kdesdk-3.5.9/kstartperf/kstartperf.cpp 2005-09-10 04:20:58.000000000 -0400
+++ kdesdk-3.5.9-new/kstartperf/kstartperf.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -69,7 +69,7 @@
}


-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
KAboutData aboutData("kstartperf", I18N_NOOP("KStartPerf"),
"1.0", I18N_NOOP("Measures start up time of a KDE application"),
diff -Nurd kdesdk-3.5.10/kuiviewer/Makefile.am kdesdk-3.5.10-new/kuiviewer/Makefile.am
--- kdesdk-3.5.10/kuiviewer/Makefile.am 2005-09-10 04:21:10.000000000 -0400
+++ kdesdk-3.5.10-new/kuiviewer/Makefile.am 2010-07-21 20:47:42.000000000 -0400
@@ -21,12 +21,14 @@
#########################################################################
# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
-bin_PROGRAMS = kuiviewer
+kdeinit_LTLIBRARIES = kuiviewer.la
+bin_PROGRAMS =
+lib_LTLIBRARIES =

# the application source, library search path, and link libraries
-kuiviewer_SOURCES = main.cpp kuiviewer.cpp
-kuiviewer_LDFLAGS = $(KDE_RPATH) $(all_libraries)
-kuiviewer_LDADD = $(LIB_KPARTS)
+kuiviewer_la_SOURCES = main.cpp kuiviewer.cpp
+kuiviewer_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -module
+kuiviewer_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_KIO) $(LIB_QT)

xdg_apps_DATA =kuiviewer.desktop

@@ -42,7 +44,7 @@
# the Part's source, library search path, and link libraries
libkuiviewerpart_la_SOURCES = kuiviewer_part.cpp
libkuiviewerpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
-libkuiviewerpart_la_LIBADD = $(LIB_KPARTS) $(LIB_KFILE) -lqui
+libkuiviewerpart_la_LIBADD = $(LIB_KPARTS) $(LIB_KFILE) -lqui $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx

# this is where the desktop file will go
partdesktopdir = $(kde_servicesdir)
@@ -57,7 +59,7 @@
# THUMBNAIL SECTION
#########################################################################
quithumbnail_la_SOURCES = quicreator.cpp
-quithumbnail_la_LIBADD = $(LIB_KDECORE) -lqui
+quithumbnail_la_LIBADD = $(LIB_KDECORE) -lqui $(LIB_QT)
quithumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
services_DATA = designerthumbnail.desktop
servicesdir = $(kde_servicesdir)
diff -Nurd kdesdk-3.5.9/kuiviewer/main.cpp kdesdk-3.5.9-new/kuiviewer/main.cpp
--- kdesdk-3.5.9/kuiviewer/main.cpp 2005-09-10 04:21:10.000000000 -0400
+++ kdesdk-3.5.9-new/kuiviewer/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -38,7 +38,7 @@
KCmdLineLastOption
};

-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
KAboutData about("kuiviewer", I18N_NOOP("KUIViewer"), "0.1",
I18N_NOOP("Displays Designer's UI files"),
diff -Nurd kdesdk-3.5.10/kunittest/Makefile.am kdesdk-3.5.10-new/kunittest/Makefile.am
--- kdesdk-3.5.10/kunittest/Makefile.am 2005-09-10 04:21:04.000000000 -0400
+++ kdesdk-3.5.10-new/kunittest/Makefile.am 2010-08-27 05:09:24.000000000 -0400
@@ -5,7 +5,7 @@
lib_LTLIBRARIES = libkunittestgui.la
libkunittestgui_la_SOURCES = testerwidget.ui runnergui.cpp dcopinterface.skel
libkunittestgui_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-libkunittestgui_la_LIBADD = -lkunittest $(LIB_KDECORE)
+libkunittestgui_la_LIBADD = -lkunittest $(LIB_KDECORE) $(LIB_QT) -lDCOP

runnergui.lo : testerwidget.h

diff -Nurd kdesdk-3.5.9/poxml/Makefile.am kdesdk-3.5.9-new/poxml/Makefile.am
--- kdesdk-3.5.9/poxml/Makefile.am 2005-09-10 04:21:06.000000000 -0400
+++ kdesdk-3.5.9-new/poxml/Makefile.am 2008-02-13 22:01:07.000000000 -0500
@@ -1,30 +1,31 @@
-
-bin_PROGRAMS = split2po xml2pot po2xml swappo transxx
+lib_LTLIBRARIES =
+bin_PROGRAMS =
+kdeinit_LTLIBRARIES = split2po.la xml2pot.la po2xml.la swappo.la transxx.la

INCLUDES = -I$(srcdir)/antlr $(all_includes)
KDE_CXXFLAGS = $(USE_EXCEPTIONS)

SUBDIRS = antlr

-split2po_SOURCES = split.cpp parser.cpp
-split2po_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-split2po_LDADD = $(LIB_QT)
+split2po_la_SOURCES = split.cpp parser.cpp
+split2po_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+split2po_la_LIBADD = $(LIB_QT)

-xml2pot_SOURCES = xml2pot.cpp parser.cpp
-xml2pot_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-xml2pot_LDADD = $(LIB_QT)
+xml2pot_la_SOURCES = xml2pot.cpp parser.cpp
+xml2pot_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+xml2pot_la_LIBADD = $(LIB_QT)

-po2xml_SOURCES = GettextLexer.cpp GettextParser.cpp po2xml.cpp parser.cpp
-po2xml_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-po2xml_LDADD = antlr/src/libantlr.la $(LIB_QT)
+po2xml_la_SOURCES = GettextLexer.cpp GettextParser.cpp po2xml.cpp parser.cpp
+po2xml_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+po2xml_la_LIBADD = antlr/src/libantlr.la $(LIB_QT)

-swappo_SOURCES = GettextLexer.cpp GettextParser.cpp swappo.cpp parser.cpp
-swappo_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-swappo_LDADD = antlr/src/libantlr.la $(LIB_QT)
+swappo_la_SOURCES = GettextLexer.cpp GettextParser.cpp swappo.cpp parser.cpp
+swappo_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+swappo_la_LIBADD = antlr/src/libantlr.la $(LIB_QT)

-transxx_SOURCES = GettextLexer.cpp GettextParser.cpp transxx.cpp parser.cpp
-transxx_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-transxx_LDADD = antlr/src/libantlr.la $(LIB_QT)
+transxx_la_SOURCES = GettextLexer.cpp GettextParser.cpp transxx.cpp parser.cpp
+transxx_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+transxx_la_LIBADD = antlr/src/libantlr.la $(LIB_QT)

parser:
cd $(srcdir) && java antlr.Tool gettext.g
diff -Nurd kdesdk-3.5.9/poxml/po2xml.cpp kdesdk-3.5.9-new/poxml/po2xml.cpp
--- kdesdk-3.5.9/poxml/po2xml.cpp 2005-09-10 04:21:06.000000000 -0400
+++ kdesdk-3.5.9-new/poxml/po2xml.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -12,6 +12,8 @@
#include "antlr/AST.hpp"
#include "antlr/CommonAST.hpp"

+#include
+
using namespace std;

QString translate(QString xml, QString orig, QString translation)
@@ -38,7 +40,7 @@
return prefix + xml;
}

-int main( int argc, char **argv )
+extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
{
if (argc != 3) {
qWarning("usage: %s english-XML translated-PO", argv[0]);
diff -Nurd kdesdk-3.5.9/poxml/split.cpp kdesdk-3.5.9-new/poxml/split.cpp
--- kdesdk-3.5.9/poxml/split.cpp 2005-11-19 05:24:05.000000000 -0500
+++ kdesdk-3.5.9-new/poxml/split.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -1,10 +1,11 @@
#include "parser.h"
#include
#include
+#include

using namespace std;

-int main( int argc, char **argv )
+extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
{
bool report_mismatches = qstrcmp(getenv("REPORT_MISMATCHES"), "no");

diff -Nurd kdesdk-3.5.9/poxml/swappo.cpp kdesdk-3.5.9-new/poxml/swappo.cpp
--- kdesdk-3.5.9/poxml/swappo.cpp 2005-09-10 04:21:06.000000000 -0400
+++ kdesdk-3.5.9-new/poxml/swappo.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -3,8 +3,9 @@
#include "GettextParser.hpp"
#include
#include "GettextLexer.hpp"
+#include

-int main(int argc, char **argv)
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
if ( argc != 2 ) {
qWarning( "usage: %s pofile", argv[0] );
diff -Nurd kdesdk-3.5.9/poxml/transxx.cpp kdesdk-3.5.9-new/poxml/transxx.cpp
--- kdesdk-3.5.9/poxml/transxx.cpp 2005-10-10 10:58:21.000000000 -0400
+++ kdesdk-3.5.9-new/poxml/transxx.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -8,7 +8,9 @@
#include
#include

-int main(int argc, char **argv)
+#include
+
+extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
if ( argc != 2 && argc != 4 ) {
qWarning( "usage: %s [--text translation] potfile", argv[0] );
diff -Nurd kdesdk-3.5.9/poxml/xml2pot.cpp kdesdk-3.5.9-new/poxml/xml2pot.cpp
--- kdesdk-3.5.9/poxml/xml2pot.cpp 2005-09-10 04:21:06.000000000 -0400
+++ kdesdk-3.5.9-new/poxml/xml2pot.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -3,10 +3,11 @@
#include
#include
#include
+#include

using namespace std;

-int main( int argc, char **argv )
+extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
{
if (argc != 2) {
qWarning("usage: %s english-XML", argv[0]);
diff -Nurd kdesdk-3.5.10/scheck/Makefile.am kdesdk-3.5.10-new/scheck/Makefile.am
--- kdesdk-3.5.10/scheck/Makefile.am 2005-09-10 04:21:06.000000000 -0400
+++ kdesdk-3.5.10-new/scheck/Makefile.am 2010-07-22 01:24:02.000000000 -0400
@@ -23,7 +23,7 @@
noinst_HEADERS = scheck.h bitmaps.h
kde_style_LTLIBRARIES = scheck.la
scheck_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
-scheck_la_LIBADD = $(LIB_KDEUI)
+scheck_la_LIBADD = $(LIB_KDEUI) $(LIB_QT) -lkdefx $(LIB_KDECORE)
scheck_la_SOURCES = scheck.cpp
scheck_la_METASOURCES = AUTO

diff -Nurd kdesdk-3.5.10/umbrello/umbrello/Makefile.am kdesdk-3.5.10-new/umbrello/umbrello/Makefile.am
--- kdesdk-3.5.10/umbrello/umbrello/Makefile.am 2007-01-15 06:24:47.000000000 -0500
+++ kdesdk-3.5.10-new/umbrello/umbrello/Makefile.am 2010-07-21 21:02:48.000000000 -0400
@@ -1,7 +1,9 @@
-bin_PROGRAMS = umbrello
+bin_PROGRAMS =
+lib_LTLIBRARIES =
+kdeinit_LTLIBRARIES = umbrello.la

-umbrello_COMPILE_FIRST = version.h
-umbrello_SOURCES = activitywidget.cpp \
+umbrello_la_COMPILE_FIRST = version.h
+umbrello_la_SOURCES = activitywidget.cpp \
actor.cpp \
actorwidget.cpp \
aligntoolbar.cpp \
@@ -114,7 +116,7 @@
worktoolbar.cpp

#umbrello_LDADD = ./refactoring/librefactoring.la ./codeimport/libcodeimport.la ./codeimport/kdevcppparser/libkdevcppparser.la ./clipboard/libclipboard.la ./dialogs/libdialogs.la ./codegenerators/libcodegenerator.la $(AUTOLAYOUT_LIBS) $(LIB_KDEPRINT) $(LIB_KIO)
-umbrello_LDADD = ./refactoring/librefactoring.la ./codeimport/libcodeimport.la ./codeimport/kdevcppparser/libkdevcppparser.la ./clipboard/libclipboard.la ./dialogs/libdialogs.la ./codegenerators/libcodegenerator.la ./docgenerators/libdocgenerators.la $(LIB_KDEPRINT) $(LIB_KIO)
+umbrello_la_LIBADD = ./refactoring/librefactoring.la ./codeimport/libcodeimport.la ./codeimport/kdevcppparser/libkdevcppparser.la ./clipboard/libclipboard.la ./dialogs/libdialogs.la ./codegenerators/libcodegenerator.la ./docgenerators/libdocgenerators.la $(LIB_KDEPRINT) $(LIB_KIO) $(LIB_QT) $(LIB_KDEUI)

## See section "dnl Not GPL compatible" in ../configure.in.in
# SUBDIRS = $(AUTOLAYOUT_DIR) codeimport dialogs clipboard pics codegenerators headings refactoring
@@ -135,7 +137,7 @@

METASOURCES = AUTO

-umbrello_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
+umbrello_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -export-dynamic

messages: rc.cpp
$(PREPARETIPS) > tips.cpp
diff -Nurd kdesdk-3.5.10/umbrello/umbrello/docgenerators/Makefile.am kdesdk-3.5.10-new/umbrello/umbrello/docgenerators/Makefile.am
--- kdesdk-3.5.10/umbrello/umbrello/docgenerators/Makefile.am 2006-10-01 13:27:42.000000000 -0400
+++ kdesdk-3.5.10-new/umbrello/umbrello/docgenerators/Makefile.am 2010-07-21 21:04:41.000000000 -0400
@@ -5,7 +5,7 @@
AM_LDFLAGS = $(all_libraries)
umbodoc_COMPILE_FIRST = version.h
umbodoc_SOURCES = main.cpp
-umbodoc_LDADD = $(LIB_KDECORE) $(LIBXSLT_LIBS) $(LIBXML_LIBS)
+umbodoc_LDADD = $(LIB_KDECORE) $(LIBXSLT_LIBS) $(LIBXML_LIBS) $(LIB_QT)
noinst_LTLIBRARIES = libdocgenerators.la
noinst_HEADERS = docbookgenerator.h version.h
libdocgenerators_la_SOURCES = docbookgenerator.h docbookgenerator.cpp xhtmlgenerator.cpp
diff -Nurd kdesdk-3.5.9/umbrello/umbrello/main.cpp kdesdk-3.5.9-new/umbrello/umbrello/main.cpp
--- kdesdk-3.5.9/umbrello/umbrello/main.cpp 2007-01-15 06:24:47.000000000 -0500
+++ kdesdk-3.5.9-new/umbrello/umbrello/main.cpp 2008-02-13 22:01:07.000000000 -0500
@@ -89,7 +89,7 @@
return 0;
}

-int main(int argc, char *argv[]) {
+extern "C" KDE_EXPORT int kdemain(int argc, char *argv[]) {
KAboutData aboutData( "umbrello", I18N_NOOP("Umbrello UML Modeller"),
UMBRELLO_VERSION, description, KAboutData::License_GPL,
I18N_NOOP("(c) 2001 Paul Hensgen, (c) 2002-2006 Umbrello UML Modeller Authors"), 0,

kdesdk3 _unstable_ port .patch