koffice stable port information

Package: koffice
Version: 1.6.3
Revision: 1029
Description: KDE - office suite
License: GPL/LGPL
Maintainer: Benjamin Reed

Depends: <<
karbon (>= %v-%r),
kchart (>= %v-%r),
kexi (>= %v-%r),
kformula (>= %v-%r),
kivio (>= %v-%r),
kpresenter (>= %v-%r),
krita (>= %v-%r),
kspread (>= %v-%r),
kugar (>= %v-%r),
kword (>= %v-%r),
kplato (>= %v-%r)
<<
BuildDepends: <<
arts-dev (>= 1.5.10-1),
aspell,
aspell-dev,
audiofile,
autoconf (>= 2.63-1),
cctools-single-module,
esound (>= 0.2.38-1),
expat1,
fink (>= 0.29.7-1),
flex-devel,
fontconfig2-dev,
freetype219,
libgettext3-dev,
gettext-tools,
glib2-dev (>= 2.18.4-1),
imagemagick1-dev (>= 6.4.1-1013),
kdelibs3-unified-dev (>= 3.5.8-1021),
kjsembed-dev,
lcms,
libart2,
libexif12,
libgsf1.114-dev (>= 1.14.8-1),
libiconv-dev,
libidn,
libjpeg,
libogg,
libpaper1-dev,
libpng3 (>= 1.2.8-1),
libpqxx2 (>= 1:2.6.8-1),
libtiff,
libtool14,
libvorbis0,
libwpd-0.8-dev,
libxml2 (>= 2.6.32-1),
libxslt (>= 1.0.27-1),
libmad,
macosx (>= 10.4.3-1),
mysql-unified-dev,
openexr-dev,
pcre,
pkgconfig,
poppler2-qt3,
poppler2,
postgresql84-dev,
python26,
qt3 (>= 3.3.8-1027),
ruby18-dev,
sqlite3-dev,
system-openssl-dev,
wv2 (>= 0.2.2-1001),
unsermake (>= 0.4-0.20060316.1),
x11-dev,
xmkmf
<<
Replaces: <<
%N-common (<< %v-%r),
%N-dev (<< %v-%r)
<<
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/%n-%v/src/%n-%v.tar.bz2
Source-MD5: 386d388094734f9759977c3267098e30
Source2: mirror:custom:kde-admindir/kde-admindir-1182.tar.bz2
Source2-MD5: b37c9ce91682d7972da7770d6bc085fb
Source2ExtractDir: %n-%v
SourceDirectory: %n-%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: 6c49a4cf6ccaff69791472d6c9e07b7f

SetMAKEFLAGS: -j1
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
NoSetMAKEFLAGS: true
ConfigureParams: --enable-mysql --enable-pgsql --with-pgsqlincdir=%p/include/postgresql --with-pgsqllibdir=%p/lib --with-pqxx-includes=%p/include --with-pqxx-libraries=%p/lib --with-distribution='Fink/Mac OS X' --with-pythondir=%p
CompileScript: <<
#!/bin/sh -ev

export PREFIX="%p" USE_UNSERMAKE=1

. ./environment-helper.sh
export ac_cv_prog_RUBY=%p/bin/ruby1.8
export CONFIGURE_PARAMS=`echo $CONFIGURE_PARAMS | sed -e 's,--disable-dependency-tracking,,'`

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

# why does this work??
find . -name \*.h | xargs touch

# only do the imagemagick one; graphicsmagick code is trying to use some structs that don't exist
perl -pi -e 's,have_graphicsmagick=yes,have_graphicsmagick=no,g' configure

MAKEFLAGS="-j1" ./build-helper.sh make-drivers %N %v %r unsermake $UNSERMAKEFLAGS kexi/kexidb/drivers/sqlite/kexidb_sqlite3driver.la kexi/kexidb/drivers/sqlite2/kexidb_sqlite2driver.la
MAKEFLAGS="-j1" ./build-helper.sh make-ksqlite %N %v %r unsermake $UNSERMAKEFLAGS kexi/3rdparty/kexisql3/src/ksqlite
./build-helper.sh make %N %v %r unsermake $UNSERMAKEFLAGS
<<

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

pushd %b; FixifiedB=`/bin/pwd`; popd
perl -pi -e "s,-L$FixifiedB,-L%p,g" %i/lib/*.la %i/lib/kde3/*.la
<<
DocFiles: AUTHORS COPYING* INSTALL README
SplitOff: <<
Package: karbon
Description: KDE - a vector drawing program
Depends: %N-common (>= %v-%r)
Replaces: %N-common (<< %v-%r)
Files: <<
bin/karbon
lib/kde3/karbon.*
lib/kde3/karbon_*plugin.*
lib/kde3/*karbonpart*
lib/libkdeinit_karbon.*
share/applications/kde/karbon.desktop
share/apps/karbon
share/apps/konqueror/servicemenus/karbon*
share/doc/kde/en/karbon
share/icons/hicolor/16x16/apps/karbon*
share/icons/hicolor/22x22/apps/karbon*
share/icons/hicolor/32x32/apps/karbon*
share/icons/hicolor/48x48/apps/karbon*
share/icons/hicolor/scalable/apps/karbon*
share/services/karbon*
share/servicetypes/karbon*
<<
Shlibs: !%p/lib/libkdeinit_karbon.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: kword
Description: KDE - a frame-based word processor
Depends: %N-common (>= %v-%r)
Replaces: <<
%N-common (<< %v-%r),
kspread (<< %v-%r)
<<
Files: <<
bin/kword
lib/kde3/kwmailmerge_*
lib/kde3/kword.*
lib/kde3/libkwordpart.*
lib/libkdeinit_kword.*
share/applications/kde/kword.desktop
share/apps/konqueror/servicemenus/kword*
share/apps/kword
share/apps/xsltfilter
share/doc/kde/en/kword
share/icons/hicolor/16x16/apps/kword*
share/icons/hicolor/22x22/apps/kword*
share/icons/hicolor/32x32/apps/kword*
share/icons/hicolor/48x48/apps/kword*
share/services/kwmailmerge_*
share/services/kword*
share/services/kwserialletter_*
share/servicetypes/kwmailmerge.*
<<
Shlibs: !%p/lib/libkdeinit_kword.dylib
DescDetail: <<
KWord is a frame-based word-processing and desktop
publishing application. KWord is capable of creating
demanding and professional looking documents. Whether you
are a corporate or home user, production artist or student,
KWord will prove a valuable and easy to use tool for all
your word processing and layout needs.

KWord is a wordprocessor based on frames. This can be used
to place components in precise locations, as with many
professional DTP applications. KWord can also handle huge
amounts of texts and allows you to do professional markup
with ease.

KWord's features include:

* paragraph style sheets (borders, alignment, spacing,
indentation, bullet points, tab stops, page breaks, and
font type, style, color and size), together with a stylist
to edit, add, remove and update styles (a number of
predefined styles are provided);
* a frame orientation, suitable for simple desktop
publishing (DTP);
* numerous preset as well as custom page sizes;
* multiple columns per page;
* headers and footers (including different first page
headers/footers);
* variables, such as page number, company name, user name,
document summary, date and time or a custom variable;
* tables;
* embedding of text frames, images and clip-art (.wmf and
.svg files);
* chapter numbering;
* auto-generation of table of contents;
* auto-correction and spell checking
* templates
<<
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: kplato
Description: KDE - project manager
Depends: %N-common (>= %v-%r)
Replaces: <<
%N-common (<< %v-%r),
%N-dev (<< %v-%r)
<<
Files: <<
bin/kplato
lib/libkdeinit_kplato*
share/applications/kde/kplato.desktop
share/apps/kplato
share/doc/kde/en/kplato
share/icons/crystalsvg/128x128/apps/kplato*
share/icons/crystalsvg/16x16/apps/kplato*
share/icons/crystalsvg/22x22/apps/kplato*
share/icons/crystalsvg/32x32/apps/kplato*
share/icons/crystalsvg/48x48/apps/kplato*
share/icons/crystalsvg/64x64/apps/kplato*
share/icons/crystalsvg/scalable/apps/kplato*
share/services/kplato*
<<
Shlibs: !%p/lib/libkdeinit_kplato.dylib
DescDetail: <<
KPlato is a project management application. In this first
public release we focus on planning and scheduling of
projects.

Features includes:

* Gantt chart with task list and resource allocations per
task.
* Resource view with task allocations per resource.
* Accounts view showing planned cost with configurable
cut-off date and periodicity.
* Tasks are organized in a work breakdown structure (WBS).
* Resources are organized in a resource breakdown
structure (RBS).
* Accounts are organized in a cost breakdown structure
(CBS).
* Gantt chart can optionally show:
o Task links (dependencies).
o Task name.
o Allocated resources.
o Float (slack).
o Critical path.
o Critical tasks.
o Progress (% completion).
* Summarytasks, Tasks, and milestones are supported.
* Dialogs to create and edit the project, the different
types of tasks, calendars, resources, accounts and
progress.
* Task links can be of types: Finish to Start, Finish to
Finish or Start to Start. All types can have a time lag
defined.
* Different scheduling constraints are supported:
o As soon as possible (early start).
o As late as possible (late start).
o Must start on target time.
o Must finish on target time.
o Start not earlier than target time.
o Finish not later than target time.
o Fixed interval. (Target start time and target finish
time.)
<<
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: %N-shlibs
Description: KDE - shared libraries for KOffice
Depends: <<
%N-base (>= %v-%r),
fontconfig2-shlibs,
imagemagick1-shlibs (>= 6.4.1-1013),
kjsembed,
lcms-shlibs,
libtool14-shlibs,
ruby18-shlibs
<<
Replaces: <<
%N-common,
karbon,
kchart,
kexi,
kformula,
kivio,
kpresenter,
krita,
kspread,
kugar,
kword
<<
Files: <<
lib/kde3
lib/*.*.dylib
<<
Shlibs: <<
%p/lib/libkarboncommon.0.dylib 1.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkchartcommon.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkchartimageexport.4.dylib 5.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkdchart.0.dylib 1.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexicore.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexidatatable.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexidb.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexidbparser.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexiextendedwidgets.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexiformutils.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexiguiutils.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkeximain.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkeximigrate.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexirelationsview.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexisql2.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexisql3.3.dylib 4.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkexiutils.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkformdesigner.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkformulalib.4.dylib 5.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkiviocommon.0.dylib 1.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkochart.1.dylib 2.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkofficecore.3.dylib 4.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkofficeui.3.dylib 4.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkopainter.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkopalette.1.dylib 2.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkoproperty.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkotext.3.dylib 4.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkowmf.2.dylib 3.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkpresenterimageexport.4.dylib 5.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkpresenterprivate.4.dylib 5.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkrossapi.1.dylib 2.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkrossmain.1.dylib 2.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkspreadcommon.0.dylib 1.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkstore.3.dylib 4.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkwmailmerge_interface.4.dylib 5.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkwmf.3.dylib 4.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkwordexportfilters.1.dylib 2.0.0 %N-shlibs (>= 1.6.3-1)
%p/lib/libkwordprivate.4.dylib 5.0.0 %N-shlibs (>= 1.6.3-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
<<
<<
SplitOff13: <<
Package: %N-dev
Description: KDE - development headers and libraries for KOffice
Depends: %N (>= %v-%r)
Replaces: <<
%N-common (<< %v-%r),
kugar (<< %v-%r)
<<
BuildDependsOnly: true
Files: <<
include
lib/*.la
lib/libkarboncommon.dylib
lib/libkchartcommon.dylib
lib/libkchartimageexport.dylib
lib/libkdchart.dylib
lib/libkexicore.dylib
lib/libkexidatatable.dylib
lib/libkexidb.dylib
lib/libkexidbparser.dylib
lib/libkexiextendedwidgets.dylib
lib/libkexiformutils.dylib
lib/libkexiguiutils.dylib
lib/libkeximain.dylib
lib/libkeximigrate.dylib
lib/libkexirelationsview.dylib
lib/libkexisql2.dylib
lib/libkexisql3.dylib
lib/libkexiutils.dylib
lib/libkformulalib.dylib
lib/libkformdesigner.dylib
lib/libkiviocommon.dylib
lib/libkochart.dylib
lib/libkofficecore.dylib
lib/libkofficeui.dylib
lib/libkopainter.dylib
lib/libkopalette.dylib
lib/libkoproperty.dylib
lib/libkotext.dylib
lib/libkowmf.dylib
lib/libkpresenterimageexport.dylib
lib/libkpresenterprivate.dylib
lib/libkrita_cmyk_u16.dylib
lib/libkrita_gray_u16.dylib
lib/libkrita_lms_f32.dylib
lib/libkrita_rgb_f16half.dylib
lib/libkrita_rgb_f32.dylib
lib/libkrita_rgb_u16.dylib
lib/libkrita_ycbcr_u16.dylib
lib/libkrita_ycbcr_u8.dylib
lib/libkritacolor.dylib
lib/libkritacommon.dylib
lib/libkritagrayscale.dylib
lib/libkritaimage.dylib
lib/libkritargb.dylib
lib/libkritascripting.dylib
lib/libkritaui.dylib
lib/libkrossapi.dylib
lib/libkrossmain.dylib
lib/libkspreadcommon.dylib
lib/libkstore.dylib
lib/libkudesignercore.dylib
lib/libkugarlib.dylib
lib/libkwmailmerge_interface.dylib
lib/libkwmf.dylib
lib/libkwordexportfilters.dylib
lib/libkwordprivate.dylib
share/doc/kde/en/koffice-apidocs
<<
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: %N-base
Description: KDE - koffice base package
Depends: kdebase3-unified (>= 3.5.8-1021)
Replaces: <<
%N-common (<< %v-%r),
%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
<<
<<
SplitOff15: <<
Package: %N-common
Description: KDE - files used by all of KOffice
Depends: %N-shlibs (>= %v-%r)
Replaces: <<
karbon,
kchart,
kexi,
kformula,
kivio,
kpresenter,
krita,
kspread,
kugar,
kword,
%N-dev (<< %v-%r)
<<
Files: <<
bin
share/app*
share/config*
share/doc/kde*
share/icons*
share/mime*
share/service*
share/template*
lib
<<
Shlibs: <<
!%p/lib/libkdeinit_koshell.dylib
!%p/lib/libkdeinit_kthesaurus.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
<<
<<
SplitOff2: <<
Package: kchart
Description: KDE - a chart drawing program
Depends: %N-common (>= %v-%r)
Replaces: %N-common (<< %v-%r)
Files: <<
bin/kchart
lib/kde3/kchart.*
lib/libkdeinit_kchart.*
share/applications/kde/kchart.desktop
share/apps/kchart
share/apps/konqueror/servicemenus/kchart_konqi.desktop
share/doc/kde/en/kchart
share/icons/hicolor/16x16/apps/kchart*
share/icons/hicolor/32x32/apps/kchart*
share/icons/hicolor/48x48/apps/kchart*
share/services/kchart*
<<
Shlibs: !%p/lib/libkdeinit_kchart.dylib
DescDetail: <<
KChart is the KOffice chart drawing application. Use it to
embed charts into your KOffice documents, e.g. a report
written with KWord.

Easy to Use:

* default values for all parameters
* automatic ordinate axis computation based on
highest/lowest data value
* default sizes (fonts, line widths...) relative to the
window size

Highly Configurable:

* All of the parameters may be changed after
configuring/drawing the chart.
* Size values (axis/grid line width, font sizes, bar width,
dataset gap, pie chart radius ... ) may be specified in
either absolute pixels or relative to the window size.
This makes your chart layout-independent since such values
are being recalculated automatically when the window
dimensions have changed.

Flexible Layout:

* Legends may be centered at a chart edge or in a corner
with the chart making way in vertical and/or in horizontal
direction thus offering 16 legend/chart relationships to
choose from
* Header and footer texts have special font type/size and
color settings

Axes and Data:

* Automatical ordinate axis computation based on
highest/lowest data value which can be easily replaced by
programmer-defined start, end and delta value settings.
* Abscissa labels may be taken either from data cells
containing the respective strings or from
programmer-defined QStringLists or calculated
automatically based on a format chosen by the user and
values found in the cells
* Up to 8 axes: 2 left, 2 right, 2 top, 2 bottom
* A chart may have 2 different ordinates: e.g. left axis for
series 1,2,3 right axis for data series 4
* Each axis may draw (sub-)grid lines using their own color,
line width, style

Chart Combinations:

* sharing the same abscissa axis or using different ones
(e.g Top and Bottom axis)
* sharing the same ordinate or using different ones (e.g
Left and Right axis)
* Axes may use the same line color / line width as the bars
(or the lines, resp.) which they belong to.

Chart Types:

* Bar: normal | stacked | percent, 2D | 3D-Look
* Line: normal | stacked | percent, 2D | 3D-Look, show
marker: circle | square | diamond
* Area: normal | stacked | percent
* HiLo: normal | open-close
* Pie: normal | exploded | some exploded, 2D | 3D
* Ring: normal | exploded | some exploded, fixed
thickness | relative thickness
* Polar: normal | stacked | percent
<<
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: kexi
Description: KDE - integrated data management application
Depends: <<
%N-common (>= %v-%r),
mysql-unified-shlibs,
postgresql84-shlibs,
libpqxx2-shlibs (>= 1:2.6.8-1)
<<
Replaces: %N-common (<< %v-%r)
Files: <<
bin/kexi*
bin/ksqlite*
lib/kde3/kexi.*
lib/kde3/kexidb*
lib/kde3/kexihandler*
lib/kde3/keximigrate*
lib/libkdeinit_kexi*
share/applications/kde/kexi.desktop
share/apps/kexi
share/apps/konqueror/servicemenus/kexi*
share/config/kexi*
share/config/magic/kexi*
share/doc/kde/en/kexi
share/icons/crystalsvg/16x16/mimetypes/kexiproject_sqlite*
share/icons/crystalsvg/32x32/mimetypes/kexiproject_shortcut*
share/icons/crystalsvg/32x32/mimetypes/kexiproject_sqlite*
share/icons/hicolor/16x16/apps/kexi*
share/icons/hicolor/22x22/apps/kexi*
share/icons/hicolor/32x32/apps/kexi*
share/icons/hicolor/48x48/apps/kexi*
share/icons/hicolor/scalable/apps/kexi*
share/locale/pl/LC_MESSAGES/kexi*
share/mimelnk/application/x-kexi*
share/services/kexi*
share/services/kformdesigner*
share/servicetypes/kexi*
share/servicetypes/widgetfactory.*
<<
Shlibs: !%p/lib/libkdeinit_kexi.dylib
DescDetail: <<
Kexi is an integrated data management application. It can
be used for creating database schemas, inserting data,
performing queries, and processing data. Forms can be
created to provide a custom interface to your data. All
database objects - tables, queries and forms - are stored in
the database, making it easy to share data and design.

As a real member of the KDE and KOffice projects, Kexi
integrates fluently into both.

Kexi is considered as a long awaited Open Source competitor
for MS Access, Filemaker and Oracle Forms. Its development
is motivated by the lack of Rapid Application Development
(RAD) tools for database systems that are sufficiently
powerful, inexpensive, open standards driven and portable
across many operating systems and hardware platforms.
<<
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: kformula
Description: KDE - a powerful formula editor
Depends: %N-common (>= %v-%r)
Replaces: %N-common (<< %v-%r)
Files: <<
bin/kformula
lib/kde3/kformula.*
lib/kde3/libkformulapart.*
lib/libkdeinit_kformula.*
share/applications/kde/kformula.desktop
share/apps/kformula
share/apps/konqueror/servicemenus/kformula*
share/doc/kde/en/kformula
share/icons/hicolor/16x16/apps/kformula*
share/icons/hicolor/22x22/apps/kformula*
share/icons/hicolor/32x32/apps/kformula*
share/icons/hicolor/48x48/apps/kformula*
share/services/kformula*
<<
Shlibs: !%p/lib/libkdeinit_kformula.dylib
DescDetail: <<
KFormula is an easy to use formula editor. It provides the
basic input facilities and the support functionality you
come to expect of a KOffice application. Some of its most
exciting features are:

* Easy Greek letter insertion
* Intelligent cursor movement
* Advanced syntax highlighting
* Multi-level undo support
* LaTeX export (copy and paste into a text editor)

KFormula uses the KOffice formula drawing library. If you
have to deal with many formulas you may wish to use a
KFormula object embedded in KWord or KSpread.
<<
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: kivio
Description: KDE - a Visio(R)-style flowcharting application
Depends: %N-common (>= %v-%r)
Replaces: %N-common (<< %v-%r)
Files: <<
bin/kivio
lib/kde3/kivio.*
lib/kde3/libkiviopart.*
lib/kde3/libkivio*tool.*
lib/kde3/straight_connector.*
lib/libkdeinit_kivio.*
share/applications/kde/kivio.*
share/apps/kivio
share/apps/konqueror/servicemenus/kivio*
share/config.kcfg/kivio.*
share/doc/kde/en/kivio
share/icons/hicolor/16x16/apps/kivio*
share/icons/hicolor/22x22/apps/kivio*
share/icons/hicolor/32x32/apps/kivio*
share/icons/hicolor/48x48/apps/kivio*
share/services/kivio*tool.*
share/services/kivio*image*.*
share/services/kiviopart.*
<<
Shlibs: !%p/lib/libkdeinit_kivio.dylib
DescDetail: <<
Kivio is a flowcharting and diagramming application for the
KOffice application suite, and has an userinterface that is
similar to Visio(R). It is fully integrated into KOffice
and can for example be embedded into KWord.

Features:

* Scriptable stencils using Python.
* Support for Dia stencils.
* Plugin framework for adding more functionality.
<<
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: kpresenter
Description: KDE - a full-featured presentation program
Depends: %N-common (>= %v-%r)
Replaces: %N-common (<< %v-%r)
Files: <<
bin/kprconverter.pl
bin/kpresenter
lib/kde3/kpresenter.*
lib/kde3/libkpresenterpart.*
lib/libkdeinit_kpresenter.*
share/applications/kde/kpresenter.desktop
share/apps/konqueror/servicemenus/kpresenter*
share/apps/kpresenter
share/doc/kde/en/kpresenter
share/icons/hicolor/16x16/apps/kpresenter*
share/icons/hicolor/22x22/apps/kpresenter*
share/icons/hicolor/32x32/apps/kpresenter*
share/icons/hicolor/48x48/apps/kpresenter*
share/services/kpresenter*
share/services/kprkword*
<<
Shlibs: !%p/lib/libkdeinit_kpresenter.dylib
DescDetail: <<
KPresenter is a presentation application. Its features
include:

* inserting and editing rich text (with bullet points,
indentation, spacing, colors, fonts, etc.);
* embedding images and clip-art (.wmf files);
* inserting auto-forms;
* setting many object properties (background, many types of
gradients, pen, shadow, rotation, object specific
settings, etc.);
* working with objects (resizing, moving, lowering, raising,
etc.);
* grouping/ungrouping objects;
* headers/footers;
* advanced undo/redo;
* setting background (color, gradients, pictures, clip-arts,
etc.);
* assigning effects for animating objects and defining
effects for changing slides;
* playing screen presentations with effects;
* print as PostScript;
* creating HTML slideshows with a few mouse clicks;
* templates (pre- and user-defined);
* using XML as the document format;
* a Presentations Structure Viewer
<<
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: krita
Description: KDE - a pixel-based image manipulation program
Depends: <<
%N-common (>= %v-%r),
libexif12-shlibs,
poppler2-qt3-shlibs
<<
Replaces: <<
%N-common (<< %v-%r),
%N-shlibs (<< %v-%r)
<<
Files: <<
bin/krita
lib/kde3/krita*
lib/kde3/libkritapart.*
lib/libkdeinit_krita.*
lib/libkrita*.*.dylib
share/applications/kde/krita*
share/applnk/.hidden/krita*
share/apps/konqueror/servicemenus/krita*
share/apps/krita
share/apps/kritaplugins
share/doc/kde/en/krita
share/icons/hicolor/128x128/apps/krita*
share/icons/hicolor/16x16/apps/krita*
share/icons/hicolor/22x22/apps/krita*
share/icons/hicolor/32x32/apps/krita*
share/icons/hicolor/48x48/apps/krita*
share/icons/hicolor/64x64/apps/krita*
share/services/krita*
share/servicetypes/krita*
<<
Shlibs: <<
!%p/lib/libkdeinit_krita.dylib
%p/lib/libkrita_cmyk_u16.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkrita_gray_u16.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkrita_lms_f32.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkrita_rgb_f16half.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkrita_rgb_f32.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkrita_rgb_u16.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkrita_ycbcr_u16.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkrita_ycbcr_u8.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkritacolor.1.dylib 2.0.0 krita (>= 1.6.3-1)
%p/lib/libkritacommon.1.dylib 2.0.0 krita (>= 1.6.3-1)
%p/lib/libkritagrayscale.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkritaimage.1.dylib 2.0.0 krita (>= 1.6.3-1)
%p/lib/libkritargb.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkritascripting.0.dylib 1.0.0 krita (>= 1.6.3-1)
%p/lib/libkritaui.1.dylib 2.0.0 krita (>= 1.6.3-1)
<<
DescDetail: <<
Krita, formerly known as KImageShop, is the painting program
and image editor for the KOffice Suite. It is intended to
be suitable for all your image creation and editing needs,
such as creating original art, making images for websites,
touching up scanned photographs or anything else you might
need to do with bitmapped images.
<<
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: kspread
Description: KDE - a powerful spreadsheet program
Depends: %N-common (>= %v-%r)
Replaces: %N-common (<< %v-%r)
Files: <<
bin/kspread
lib/kde3/kspread.*
lib/kde3/libkspreadinsertcalendar.*
lib/kde3/libkspreadpart.*
lib/libkdeinit_kspread.*
share/applications/kde/kspread.desktop
share/apps/konqueror/servicemenus/kspread*
share/apps/kspread
share/doc/kde/en/kspread
share/icons/hicolor/16x16/apps/kspread*
share/icons/hicolor/22x22/apps/kspread*
share/icons/hicolor/32x32/apps/kspread*
share/icons/hicolor/48x48/apps/kspread*
share/services/kspread*
<<
Shlibs: !%p/lib/libkdeinit_kspread.dylib
DescDetail: <<
KSpread is a scriptable spreadsheet program which provides
both table-oriented sheets and support for complex
mathematical formulas and statistics. KSpread's features
include:

* multiple tables/sheets per document;
* templates;
* multiple chart formats for displaying data graphically;
* headers and footers;
* over 100 formulas, including standard deviation, variance,
present value of annuities and much more;
* sorting;
* scripting;
* lists;
* cell data validity checking with configurable
warnings/actions;
* comments;
* series (days of week, months of year, numbers, etc.);
* conditional coloring of cells;
* hyperlinks;
* row and column customization (size, show/hide, font type,
style and size, etc.);
* cell customization (data/number format, precision, border,
alignment, rotation, background color and pattern, font
type, style and size, etc.).
<<
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: kugar
Description: KDE - a tool for generating business-quality reports
Depends: %N-common (>= %v-%r)
Replaces: <<
%N-common (<< %v-%r),
%N-shlibs (<< %v-%r)
<<
Files: <<
bin/kudesigner
bin/kugar
lib/kde3/kudesigner.*
lib/kde3/kugar.*
lib/kde3/libkudesignerpart.*
lib/kde3/libkugarpart.*
lib/libkdeinit_kudesigner.*
lib/libkdeinit_kugar.*
lib/libkudesignercore.*.dylib
lib/libkugarlib.*.dylib
share/applications/kde/kudesigner.desktop
share/applications/kde/kugar.desktop
share/apps/kudesigner
share/apps/kugar
share/doc/kde/en/kugar
share/icons/crystalsvg/16x16/mimetypes/kugardata*
share/icons/crystalsvg/32x32/mimetypes/kugardata*
share/icons/hicolor/16x16/apps/kugar*
share/icons/hicolor/22x22/apps/kugar*
share/icons/hicolor/32x32/apps/kugar*
share/icons/hicolor/48x48/apps/kugar*
share/icons/locolor/16x16/apps/kudesigner*
share/icons/locolor/32x32/apps/kudesigner*
share/services/kugar*
<<
Shlibs: <<
!%p/lib/libkdeinit_kudesigner.dylib
!%p/lib/libkdeinit_kugar.dylib
%p/lib/libkudesignercore.0.dylib 1.0.0 kugar (>= 1.6.3-1)
%p/lib/libkugarlib.1.dylib 2.0.0 kugar (>= 1.6.3-1)
<<
DescDetail: <<
Kugar is a KDE tool for generating business quality reports
which can be viewed and printed. It includes a standalone
report viewer and a KPart report viewer. The latter means
that any KDE application can embed the report viewing
functionality and that reports can be viewed using the
Konqueror browser.

Kugar works by merging application generated data with a
template to produce the final report. Both the data and the
template are specified using XML. This approach means that
applications only need worry about generating the data
itself. A template can be referenced via a URL which allows
businesses to create a centrally managed template library.

Features include:

* Kugar report designer.
* Report printing in Postscript.
* Database/datasource neutral, data is supplied to the
report engine in XML.
* Support for direct database access.
* Open report definition files, report layout is stored in
XML.
* Full control of fonts, colors, text alignment and
wrapping.
* Report Header/Footer.
* Page Header/Footer.
* Detail Section.
* Detail Header/Footer.
* Unlimited number of detail levels.
* Grand totals: count, sum, average, variance and standard
deviation.
* Additional formatting (negative numbers, currency, commas
for numbers and dates).
<<
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: <<
The KDE Office Suite.

Install the koffice package if you want to install all koffice
applications.
<<
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
<<

koffice stable port .patch

diff -Nurd koffice-1.6.3/configure.in.in koffice-1.6.3-new/configure.in.in
--- koffice-1.6.3/configure.in.in 2007-05-30 17:43:57.000000000 -0400
+++ koffice-1.6.3-new/configure.in.in 2010-07-23 04:28:21.000000000 -0400
@@ -11,6 +11,7 @@

KDE_INIT_DOXYGEN([The KOffice API Reference], [Version $VERSION])

+KDE_ENABLE_HIDDEN_VISIBILITY
# Check for GraphicsMagick...

have_graphicsmagick=no
diff -Nurd koffice-1.6.3/filters/kchart/libimageexport/imageexport.h koffice-1.6.3-new/filters/kchart/libimageexport/imageexport.h
--- koffice-1.6.3/filters/kchart/libimageexport/imageexport.h 2007-05-30 17:39:42.000000000 -0400
+++ koffice-1.6.3-new/filters/kchart/libimageexport/imageexport.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,9 +21,10 @@
#define __IMAGEEXPORT_H__

#include
+#include

class QPixmap;
-class ImageExport : public KoFilter
+class KOFFICEFILTER_EXPORT ImageExport : public KoFilter
{
Q_OBJECT

diff -Nurd koffice-1.6.3/filters/kpresenter/libimageexport/imageexport.h koffice-1.6.3-new/filters/kpresenter/libimageexport/imageexport.h
--- koffice-1.6.3/filters/kpresenter/libimageexport/imageexport.h 2007-05-30 17:39:00.000000000 -0400
+++ koffice-1.6.3-new/filters/kpresenter/libimageexport/imageexport.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,9 +21,10 @@
#define __IMAGEEXPORT_H__

#include
+#include

class QPixmap;
-class ImageExport : public KoFilter
+class KOFFICEFILTER_EXPORT ImageExport : public KoFilter
{
Q_OBJECT

diff -Nurd koffice-1.6.3/karbon/Makefile.am koffice-1.6.3-new/karbon/Makefile.am
--- koffice-1.6.3/karbon/Makefile.am 2007-05-30 17:43:57.000000000 -0400
+++ koffice-1.6.3-new/karbon/Makefile.am 2010-07-23 04:28:22.000000000 -0400
@@ -30,7 +30,8 @@
$(LIBART_LIBS) \
$(LIBFONTCONFIG_LIBS) \
$(LIBMAGICK_LIBS) \
- $(LIBFREETYPE_LIBS)
+ $(LIBFREETYPE_LIBS) \
+ $(LIB_X11)

libkarbonpart_la_SOURCES = karbon_factory_init.cc
libkarbonpart_la_LDFLAGS = $(KDE_PLUGIN) $(LIBFREETYPE_RPATH)
diff -Nurd koffice-1.6.3/karbon/core/vgradient.h koffice-1.6.3-new/karbon/core/vgradient.h
--- koffice-1.6.3/karbon/core/vgradient.h 2007-05-30 17:43:43.000000000 -0400
+++ koffice-1.6.3-new/karbon/core/vgradient.h 2010-07-23 04:28:22.000000000 -0400
@@ -74,7 +74,7 @@
repeat = 2
};

- class VColorStopList : public QPtrList
+ class KARBONBASE_EXPORT VColorStopList : public QPtrList
{
protected:
virtual int compareItems( QPtrCollection::Item item1, QPtrCollection::Item item2 );
diff -Nurd koffice-1.6.3/karbon/visitors/vcomputeboundingbox.h koffice-1.6.3-new/karbon/visitors/vcomputeboundingbox.h
--- koffice-1.6.3/karbon/visitors/vcomputeboundingbox.h 2007-05-30 17:43:52.000000000 -0400
+++ koffice-1.6.3-new/karbon/visitors/vcomputeboundingbox.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,6 +22,7 @@

#include "KoRect.h"
#include "vvisitor.h"
+#include

class VDocument;
class VLayer;
@@ -34,7 +35,7 @@
* This visitor visits objects and calculates the combined bounding box of the
* objects and their child objects.
*/
-class VComputeBoundingBox : public VVisitor
+class KARBONBASE_EXPORT VComputeBoundingBox : public VVisitor
{
public:
VComputeBoundingBox( bool omitHidden = false );
diff -Nurd koffice-1.6.3/karbon/visitors/vselectobjects.h koffice-1.6.3-new/karbon/visitors/vselectobjects.h
--- koffice-1.6.3/karbon/visitors/vselectobjects.h 2007-05-30 17:43:52.000000000 -0400
+++ koffice-1.6.3-new/karbon/visitors/vselectobjects.h 2010-07-23 04:28:22.000000000 -0400
@@ -29,13 +29,15 @@
#include "vimage.h"
#include "vvisitor.h"

+#include
+
/**
* This visitor visits a selection and selects objects that are contained
* in a paramater selection rectangle. For composites it makes a more accurate test, if the
* selection rectangle intersects with any part of the composite, it is selected.
* Also this visitor can be used to deselect objects.
*/
-class VSelectObjects : public VVisitor
+class KARBONBASE_EXPORT VSelectObjects : public VVisitor
{
public:
VSelectObjects( VObjectList& selection, bool select = true )
diff -Nurd koffice-1.6.3/kchart/kchart_factory.h koffice-1.6.3-new/kchart/kchart_factory.h
--- koffice-1.6.3/kchart/kchart_factory.h 2007-05-30 17:41:47.000000000 -0400
+++ koffice-1.6.3-new/kchart/kchart_factory.h 2010-07-23 04:28:22.000000000 -0400
@@ -9,7 +9,7 @@


#include
-
+#include

class KInstance;
class KAboutData;
@@ -17,7 +17,7 @@
namespace KChart
{

-class KChartFactory : public KoFactory
+class KCHART_EXPORT KChartFactory : public KoFactory
{
Q_OBJECT
public:
diff -Nurd koffice-1.6.3/kchart/kdchart/KDChartVectorTable.h koffice-1.6.3-new/kchart/kdchart/KDChartVectorTable.h
--- koffice-1.6.3/kchart/kdchart/KDChartVectorTable.h 2007-05-30 17:41:38.000000000 -0400
+++ koffice-1.6.3-new/kchart/kdchart/KDChartVectorTable.h 2010-07-23 04:28:22.000000000 -0400
@@ -36,6 +36,8 @@
#include
#include

+#include
+
class KDCHART_EXPORT KDChartVectorTablePrivate : public QShared
{
public:
@@ -182,31 +184,39 @@
}

public slots:
- Iterator begin() {
+
+ /*
+ we have to add KDCHART_EXPORT to each of these slots
+ because -fvisibility-inlines-hidden will hide them; since
+ they're public, this would be considered by some to be
+ undesireable. ;)
+ */
+
+ Iterator begin() KDCHART_EXPORT {
return sh->matrix.begin();
}

- ConstIterator begin() const {
+ ConstIterator begin() const KDCHART_EXPORT {
return sh->matrix.begin();
}

- Iterator end() {
+ Iterator end() KDCHART_EXPORT {
return sh->matrix.end();
}

- ConstIterator end() const {
+ ConstIterator end() const KDCHART_EXPORT {
return sh->matrix.end();
}

- bool isEmpty() const {
+ bool isEmpty() const KDCHART_EXPORT {
return ( sh->col_count == 0 && sh->row_count == 0 );
}

- uint cols() const {
+ uint cols() const KDCHART_EXPORT {
return sh->col_count;
}

- uint rows() const {
+ uint rows() const KDCHART_EXPORT {
return sh->row_count;
}
// WARNING: The KDChartData class is an internal class now,
@@ -221,7 +231,7 @@
*/
virtual bool cellCoord( uint _row, uint _col,
QVariant& _value,
- int coordinate=1 ) const
+ int coordinate=1 ) const KDCHART_EXPORT
{
if( _row >= sh->row_count || _col >= sh->col_count )
return false;
@@ -230,7 +240,7 @@
}

virtual bool cellProp( uint _row, uint _col,
- int& _prop ) const
+ int& _prop ) const KDCHART_EXPORT
{
if( _row >= sh->row_count || _col >= sh->col_count )
return false;
@@ -240,29 +250,29 @@

virtual void setCell( uint _row, uint _col,
const QVariant& _value1,
- const QVariant& _value2=QVariant() ) {
+ const QVariant& _value2=QVariant() ) KDCHART_EXPORT {
detach();
const KDChartData element( _value1, _value2 );
sh->setCell( _row, _col, element );
}

virtual void setProp( uint _row, uint _col,
- int _propSet=0 )
+ int _propSet=0 ) KDCHART_EXPORT
{
sh->cell( _row, _col ).setPropertySet( _propSet );
}

- void clearCell( uint _row, uint _col ) {
+ void clearCell( uint _row, uint _col ) KDCHART_EXPORT {
detach();
sh->clearCell( _row, _col );
}

- void clearAllCells() {
+ void clearAllCells() KDCHART_EXPORT {
detach();
sh->clearAllCells();
}

- void expand( uint _rows, uint _cols ) {
+ void expand( uint _rows, uint _cols ) KDCHART_EXPORT {
detach();
sh->expand( _rows, _cols );
// adjust the usedRows / usedCols, if they had been set before
@@ -272,7 +282,7 @@
setUsedRows( QMIN( _usedRows, _rows ) );
}

- void setUsedRows( uint _rows ) {
+ void setUsedRows( uint _rows ) KDCHART_EXPORT {
Q_ASSERT( _rows <= rows() );
if( _usedRows < _rows )
setSorted( false );
@@ -280,11 +290,13 @@
_useUsedRows = true;
}

- uint usedRows() const {
+ uint usedRows() const KDCHART_EXPORT
+ {
return _useUsedRows ? _usedRows : rows();
}

- void setUsedCols( uint _cols ) {
+ void setUsedCols( uint _cols ) KDCHART_EXPORT
+ {
Q_ASSERT( _cols <= cols() );
if( _usedCols < _cols )
setSorted( false );
@@ -292,7 +304,8 @@
_useUsedCols = true;
}

- uint usedCols() const {
+ uint usedCols() const KDCHART_EXPORT
+ {
return _useUsedCols ? _usedCols : cols();
}

diff -Nurd koffice-1.6.3/kdgantt/Makefile.am koffice-1.6.3-new/kdgantt/Makefile.am
--- koffice-1.6.3/kdgantt/Makefile.am 2007-05-30 17:50:21.000000000 -0400
+++ koffice-1.6.3-new/kdgantt/Makefile.am 2010-07-24 12:41:34.000000000 -0400
@@ -16,7 +16,7 @@
KDGanttXMLTools.cpp \
itemAttributeDialog.ui
libkdgantt_la_LDFLAGS = $(all_libraries) -no-undefined
-libkdgantt_la_LIBADD = $(LIB_KDEUI)
+libkdgantt_la_LIBADD = $(LIB_KDEUI) $(LIBZ)

noinst_HEADERS = \
KDGanttViewSubwidgets.h \
diff -Nurd koffice-1.6.3/kexi/Makefile.global koffice-1.6.3-new/kexi/Makefile.global
--- koffice-1.6.3/kexi/Makefile.global 2007-05-30 17:36:09.000000000 -0400
+++ koffice-1.6.3-new/kexi/Makefile.global 2010-07-23 04:28:22.000000000 -0400
@@ -9,7 +9,7 @@
KDE_CXXFLAGS = \
$(USE_EXCEPTIONS) $(KEXI_OPTIONS)

-KDE_CXXFLAGS += -include $(top_srcdir)/kexi/kexi_global.h
+KDE_CXXFLAGS += $(KOFFICECORE_INCLUDES) -include $(top_srcdir)/kexi/kexi_global.h

# temporary:
##KDE_CXXFLAGS += -DKEXI_NO_AUTOFIELD_WIDGET
diff -Nurd koffice-1.6.3/kexi/examples/build_kexi_file.sh koffice-1.6.3-new/kexi/examples/build_kexi_file.sh
--- koffice-1.6.3/kexi/examples/build_kexi_file.sh 2007-05-30 17:36:09.000000000 -0400
+++ koffice-1.6.3-new/kexi/examples/build_kexi_file.sh 2010-07-23 04:28:22.000000000 -0400
@@ -7,7 +7,7 @@
# Only .kexi file that is older than .sql file is recreated.
# ksqlite is needed on the $PATH.

-KEXISQL3PATH=../3rdparty/kexisql3/src/.libs/
+KEXISQL3PATH=../3rdparty/kexisql3/src/
PATH=$KEXISQL3PATH:$PATH
export PATH
LD_LIBRARY_PATH=$KEXISQL3PATH:$LD_LIBRARY_PATH
diff -Nurd koffice-1.6.3/kexi/kexi_export.h koffice-1.6.3-new/kexi/kexi_export.h
--- koffice-1.6.3/kexi/kexi_export.h 2007-05-30 17:36:09.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexi_export.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,6 +22,25 @@

#include

+#ifdef __KDE_HAVE_GCC_VISIBILITY
+#define MAKE_KEXICORE_LIB
+#define MAKE_KEXIMAIN_LIB
+#define MAKE_KEXITABLEFILTERS_LIB
+#define MAKE_KEXIDATATABLE_LIB
+#define MAKE_KEXIEXTWIDGETS_LIB
+#define MAKE_KFORMEDITOR_LIB
+#define MAKE_KEXIPRJWIZARD_LIB
+#define MAKE_KEXIFILTER_LIB
+#define MAKE_KEXIWIDGETS_LIB
+#define MAKE_KEXIUUID_LIB
+#define MAKE_KEXIRELATIONSVIEW_LIB
+#define MAKE_KEXIGUIUTILS_LIB
+#define MAKE_KROSS_MAIN_LIB
+#define MAKE_KEXIFORMUTILS_LIB
+#define MAKE_KEXIREPORTUTILS_LIB
+#define MAKE_KOPROPERTY_LIB
+#endif
+
#ifdef MAKE_KEXICORE_LIB
# define KEXICORE_EXPORT KDE_EXPORT
#elif defined(KDE_MAKE_LIB)
diff -Nurd koffice-1.6.3/kexi/kexidb/drivers/configure.in.bot koffice-1.6.3-new/kexi/kexidb/drivers/configure.in.bot
--- koffice-1.6.3/kexi/kexidb/drivers/configure.in.bot 2007-05-30 17:35:52.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexidb/drivers/configure.in.bot 2010-07-23 04:28:22.000000000 -0400
@@ -15,7 +15,7 @@
fi

if test -z "$PG_INCDIR" -o -z "$PG_LIBDIR" -o \
- -z "$PQXX_INCDIR" -o -z "$PQXX_LIBDIR"; then
+ -z "$PQXX_CFLAGS" -o -z "$PQXX_LIBS"; then

echo "----------------------------------------------------------------------"

@@ -50,28 +50,28 @@
fi

# LIBPQXX messages
- if test -z "$PQXX_INCDIR"; then
+ if test -z "$PQXX_CFLAGS"; then
echo " + The PostgreSQL C++ API (libpqxx) headers were not found."
fi

- if test -z "$PQXX_LIBDIR"; then
+ if test -z "$PQXX_LIBS"; then
echo " + The PostgreSQL C++ API (libpqxx) shared libraries were not found."
fi

- if test -z "$PQXX_INCDIR" -a -z "$PQXX_LIBDIR" ; then
+ if test -z "$PQXX_INCLUDES" -a -z "$PQXX_LIBS" ; then
pqxx_parts_missing="HEADER or the libpqxx LIBRARY"
- elif test -z "$PQXX_INCDIR" ; then
+ elif test -z "$PQXX_INCLUDES" ; then
pqxx_parts_missing="HEADER"
- elif test -z "$PQXX_LIBDIR" ; then
+ elif test -z "$PQXX_LIBS" ; then
pqxx_parts_missing="LIBRARY"
fi

- if test -z "$PQXX_INCDIR" -o -z "$PQXX_LIBDIR" ; then
+ if test -z "$PQXX_INCLUDES" -o -z "$PQXX_LIBS" ; then
cat < Could not find the libpqxx $pqxx_parts_missing files.
These are required by Kexi's PostgreSQL drivers.

- Note: Kexi requires the SHARED libpqxx.so library files.
+ Note: Kexi requires the SHARED libpqxx library files.
If you build pqxx library on your own, don't forget to use the
--enable-shared option when you run libpqxx's configure script.
This is necessary to compile the SHARED .so library, and
diff -Nurd koffice-1.6.3/kexi/kexidb/drivers/configure.in.in koffice-1.6.3-new/kexi/kexidb/drivers/configure.in.in
--- koffice-1.6.3/kexi/kexidb/drivers/configure.in.in 2007-05-30 17:35:52.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexidb/drivers/configure.in.in 2010-07-23 04:28:22.000000000 -0400
@@ -206,39 +206,11 @@
], ac_pqxx_libdir=
)

-
-dnl ========================================
-dnl libpqxx headers
-dnl ========================================
-if test "$compile_pgsql_plugin" = "yes"; then
- AC_MSG_CHECKING([for PostgreSQL C++ includes])
- pqxx_incdirs="$ac_pqxx_incdir /usr/local/include /usr/include"
- AC_FIND_FILE(pqxx/pqxx, $pqxx_incdirs, pqxx_incdir)
- if test -r $pqxx_incdir/pqxx/pqxx; then
- PQXX_INCDIR=$pqxx_incdir
- AC_MSG_RESULT([$PQXX_INCDIR])
- AC_SUBST(PQXX_INCDIR)
- else
- compile_pgsql_plugin="no"
- AC_MSG_RESULT([not found])
- fi
-fi
-
-dnl ========================================
-dnl libpqxx libraries
-dnl ========================================
if test "$compile_pgsql_plugin" = "yes"; then
- AC_MSG_CHECKING([for PostgreSQL C++ libraries])
- pqxx_libdirs="$ac_pqxx_libdir /usr/local/lib$kdelibsuff /usr/lib$kdelibsuff"
- AC_FIND_FILE(libpqxx.so, $pqxx_libdirs, pqxx_libdir)
- if test -r $pqxx_libdir/libpqxx.so; then
- PQXX_LIBDIR=$pqxx_libdir
- AC_MSG_RESULT([$PQXX_LIBDIR])
- AC_SUBST(PQXX_LIBDIR)
- else
- compile_pgsql_plugin="no"
- AC_MSG_RESULT([not found])
- fi
+ ac_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
+ PKG_CONFIG_PATH="$ac_pqxx_libdir/pkgconfig:$PKG_CONFIG_PATH"
+ PKG_CHECK_MODULES([PQXX], [libpqxx >= 2.4.0], [], [compile_pgsql_plugin=no])
+ PKG_CONFIG_PATH="$ac_save_PKG_CONFIG_PATH"
fi

AM_CONDITIONAL(compile_pgsql_plugin, test "$compile_pgsql_plugin" = "yes")
diff -Nurd koffice-1.6.3/kexi/kexidb/drivers/mySQL/Makefile.am koffice-1.6.3-new/kexi/kexidb/drivers/mySQL/Makefile.am
--- koffice-1.6.3/kexi/kexidb/drivers/mySQL/Makefile.am 2007-05-30 17:35:52.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexidb/drivers/mySQL/Makefile.am 2010-07-23 04:28:22.000000000 -0400
@@ -20,7 +20,8 @@
$(LIB_QT) \
$(MYSQL_LIBS) \
-lmysqlclient \
- ../../libkexidb.la
+ ../../libkexidb.la \
+ ../../parser/libkexidbparser.la

kexidb_mysqldriver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -no-undefined

diff -Nurd koffice-1.6.3/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.h koffice-1.6.3-new/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.h
--- koffice-1.6.3/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.h 2007-05-30 17:35:52.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.h 2010-07-23 04:28:22.000000000 -0400
@@ -30,7 +30,7 @@
{

/*! Implementation of prepared statements for MySQL driver. */
-class MySqlPreparedStatement : public PreparedStatement, public MySqlConnectionInternal
+class KEXI_DB_EXPORT MySqlPreparedStatement : public PreparedStatement, public MySqlConnectionInternal
{
public:
MySqlPreparedStatement(StatementType type, ConnectionInternal& conn, FieldList& fields);
diff -Nurd koffice-1.6.3/kexi/kexidb/drivers/pqxx/Makefile.am koffice-1.6.3-new/kexi/kexidb/drivers/pqxx/Makefile.am
--- koffice-1.6.3/kexi/kexidb/drivers/pqxx/Makefile.am 2007-05-30 17:35:49.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexidb/drivers/pqxx/Makefile.am 2010-07-23 04:28:22.000000000 -0400
@@ -2,17 +2,17 @@

kde_module_LTLIBRARIES = kexidb_pqxxsqldriver.la

-INCLUDES = -I$(srcdir)/../../.. $(all_includes) -I$(PG_INCDIR) -I$(PQXX_INCDIR)
+INCLUDES = -I$(srcdir)/../../.. $(all_includes) -I$(PG_INCDIR) $(PQXX_CFLAGS)

kexidb_pqxxsqldriver_la_METASOURCES = AUTO

kexidb_pqxxsqldriver_la_SOURCES = pqxxdriver.cpp pqxxcursor.cpp pqxxconnection.cpp \
pqxxkeywords.cpp pqxxconnection_p.cpp pqxxpreparedstatement.cpp

-kexidb_pqxxsqldriver_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) -lpqxx ../../libkexidb.la
+kexidb_pqxxsqldriver_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) -lpqxx.2 ../../libkexidb.la ../../parser/libkexidbparser.la

kexidb_pqxxsqldriver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) \
- -L$(PQXX_LIBDIR) -L$(PG_LIBDIR) $(VER_INFO) -no-undefined
+ $(PQXX_LIBS) -L$(PG_LIBDIR) $(VER_INFO) -no-undefined

kde_services_DATA = kexidb_pqxxsqldriver.desktop

diff -Nurd koffice-1.6.3/kexi/kexidb/kexidb_export.h koffice-1.6.3-new/kexi/kexidb/kexidb_export.h
--- koffice-1.6.3/kexi/kexidb/kexidb_export.h 2007-05-30 17:35:52.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexidb/kexidb_export.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,6 +26,12 @@
/* KDE_EXPORT will be defined multiple times without this on kdelibs 3.3 (tested on 3.3.1) */
#include

+#ifdef __KDE_HAVE_GCC_VISIBILITY
+#define MAKE_KEXI_DB_LIB
+#define MAKE_KEXIMIGR_LIB
+#define MAKE_KEXI_SERVER_SUPPORT
+#endif
+
/* workaround for KDElibs < 3.2 on !win32 */
#ifndef KDE_EXPORT
# define KDE_EXPORT
@@ -51,6 +57,10 @@
/* -- compile-time settings -- */
#if defined(Q_WS_WIN) || defined(KEXI_OPTIONS)
/* defined in a .pro file or 'KEXI_OPTIONS' env. variable */
+#elif defined(MAKE_KEXI_SERVER_SUPPORT)
+# define KEXI_SERVER_SUPPORT KDE_EXPORT
+#elif defined(KDE_MAKE_LIB)
+# define KEXI_SERVER_SUPPORT KDE_IMPORT
#else

#endif
diff -Nurd koffice-1.6.3/kexi/kexidb/parser/Makefile.am koffice-1.6.3-new/kexi/kexidb/parser/Makefile.am
--- koffice-1.6.3/kexi/kexidb/parser/Makefile.am 2007-05-30 17:35:46.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexidb/parser/Makefile.am 2010-07-23 04:28:22.000000000 -0400
@@ -3,7 +3,7 @@
lib_LTLIBRARIES = libkexidbparser.la
libkexidbparser_la_SOURCES = sqlscanner.cpp sqlparser.cpp parser.cpp parser_p.cpp
libkexidbparser_la_LIBADD = $(LIB_KPARTS) $(LIB_KDEUI) ../libkexidb.la
-libkexidbparser_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(VER_INFO)
+libkexidbparser_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(VER_INFO) -no-undefined

noinst_HEADERS = parser_p.h

@@ -24,7 +24,7 @@
cat sqlparser.tab.h >> sqlparser.h; \
echo '#endif' >> sqlparser.h; \
cat sqlparser.tab.c > sqlparser.cpp; \
- echo "const char * const tname(int offset) { return yytname[offset]; }" >> sqlparser.cpp; \
+ echo "KDE_EXPORT const char * const tname(int offset) { return yytname[offset]; }" >> sqlparser.cpp; \
./extract_tokens.sh > tokens.cpp; \
rm -f sqlparser.tab.h sqlparser.tab.c

diff -Nurd koffice-1.6.3/kexi/kexidb/parser/sqlparser.cpp koffice-1.6.3-new/kexi/kexidb/parser/sqlparser.cpp
--- koffice-1.6.3/kexi/kexidb/parser/sqlparser.cpp 2007-05-30 17:35:46.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexidb/parser/sqlparser.cpp 2010-07-23 04:28:22.000000000 -0400
@@ -814,6 +814,8 @@
#include "parser_p.h"
#include "sqltypes.h"

+#include
+
int yylex();

// using namespace std;
@@ -3469,4 +3471,4 @@



-const char * const tname(int offset) { return yytname[offset]; }
+KDE_EXPORT const char * const tname(int offset) { return yytname[offset]; }
diff -Nurd koffice-1.6.3/kexi/kexiutils/Makefile.am koffice-1.6.3-new/kexi/kexiutils/Makefile.am
--- koffice-1.6.3/kexi/kexiutils/Makefile.am 2007-05-30 17:34:58.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexiutils/Makefile.am 2010-07-23 04:31:26.000000000 -0400
@@ -14,7 +14,7 @@
$(KDE_RPATH) $(all_libraries) \
$(VER_INFO) -Wnounresolved -no-undefined

-libkexiutils_la_LIBADD = $(LIB_QT) $(LIB_KDEUI) $(LIB_KIO)
+libkexiutils_la_LIBADD = $(LIB_QT) $(LIB_KDEUI) $(LIB_KIO) $(LIB_KDECORE) -lkdefx

INCLUDES = -I$(top_srcdir)/kexi $(all_includes)

diff -Nurd koffice-1.6.3/kexi/kexiutils/kexiutils_export.h koffice-1.6.3-new/kexi/kexiutils/kexiutils_export.h
--- koffice-1.6.3/kexi/kexiutils/kexiutils_export.h 2007-05-30 17:34:58.000000000 -0400
+++ koffice-1.6.3-new/kexi/kexiutils/kexiutils_export.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,6 +22,12 @@

#include

+#include
+
+#ifdef __KDE_HAVE_GCC_VISIBILITY
+#define MAKE_KEXIUTILS_LIB
+#endif
+
#ifdef MAKE_KEXIUTILS_LIB
# define KEXIUTILS_EXPORT KDE_EXPORT
#elif defined(KDE_MAKE_LIB)
diff -Nurd koffice-1.6.3/kexi/main/configure.in.in koffice-1.6.3-new/kexi/main/configure.in.in
--- koffice-1.6.3/kexi/main/configure.in.in 2007-05-30 17:35:24.000000000 -0400
+++ koffice-1.6.3-new/kexi/main/configure.in.in 2010-07-23 04:28:22.000000000 -0400
@@ -20,7 +20,7 @@
AC_FIND_FILE(knewstuff/downloaddialog.h, $kde_incdirs, knewstuff_incdir)
ac_knewstuff_includes="$knewstuff_incdir"

-AC_FIND_FILE(libknewstuff.so, $kde_libdirs, knewstuff_libdir)
+AC_FIND_FILE(libknewstuff.dylib, $kde_libdirs, knewstuff_libdir)
ac_knewstuff_libraries="$knewstuff_libdir"

if test "$ac_knewstuff_includes" = NO || test "$ac_knewstuff_libraries" = NO; then
diff -Nurd koffice-1.6.3/kexi/main.cpp koffice-1.6.3-new/kexi/main.cpp
--- koffice-1.6.3/kexi/main.cpp 2007-05-30 17:36:09.000000000 -0400
+++ koffice-1.6.3-new/kexi/main.cpp 2010-07-23 04:28:22.000000000 -0400
@@ -25,7 +25,7 @@
#include
#include



-extern "C" int kdemain(int argc, char *argv[])
+extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
{
int result = KexiMainWindowImpl::create(argc, argv);
if (!qApp)
diff -Nurd koffice-1.6.3/kexi/widget/relations/Makefile.am koffice-1.6.3-new/kexi/widget/relations/Makefile.am
--- koffice-1.6.3/kexi/widget/relations/Makefile.am 2007-05-30 17:35:19.000000000 -0400
+++ koffice-1.6.3-new/kexi/widget/relations/Makefile.am 2010-07-23 04:28:22.000000000 -0400
@@ -6,7 +6,7 @@
kexirelationviewtable.cpp kexirelationwidget.cpp

libkexirelationsview_la_LDFLAGS = $(all_libraries) $(VER_INFO) -Wnounresolved
-libkexirelationsview_la_LIBADD = ../../core/libkexicore.la
+libkexirelationsview_la_LIBADD = ../../core/libkexicore.la ../libkexiextendedwidgets.la

libkexirelationsview_la_METASOURCES = AUTO

diff -Nurd koffice-1.6.3/kivio/kiviopart/kivio_command.h koffice-1.6.3-new/kivio/kiviopart/kivio_command.h
--- koffice-1.6.3/kivio/kiviopart/kivio_command.h 2007-05-30 17:42:41.000000000 -0400
+++ koffice-1.6.3-new/kivio/kiviopart/kivio_command.h 2010-07-23 04:28:22.000000000 -0400
@@ -226,7 +226,7 @@
};


-class KivioChangeStencilHAlignmentCommand : public KNamedCommand
+class KIVIO_EXPORT KivioChangeStencilHAlignmentCommand : public KNamedCommand
{
public:
KivioChangeStencilHAlignmentCommand(const QString& _name, KivioPage* _page, KivioStencil* _stencil,
@@ -244,7 +244,7 @@
QString m_textBoxName;
};

-class KivioChangeStencilVAlignmentCommand : public KNamedCommand
+class KIVIO_EXPORT KivioChangeStencilVAlignmentCommand : public KNamedCommand
{
public:
KivioChangeStencilVAlignmentCommand(const QString& _name, KivioPage* _page, KivioStencil* _stencil,
@@ -263,7 +263,7 @@
};


-class KivioChangeStencilFontCommand : public KNamedCommand
+class KIVIO_EXPORT KivioChangeStencilFontCommand : public KNamedCommand
{
public:
KivioChangeStencilFontCommand(const QString& _name, KivioPage* _page, KivioStencil* _stencil,
@@ -282,7 +282,7 @@
QString m_textBoxName;
};

-class KivioChangeStencilColorCommand : public KNamedCommand
+class KIVIO_EXPORT KivioChangeStencilColorCommand : public KNamedCommand
{
public:
enum ColorType { CT_TEXTCOLOR, CT_FGCOLOR, CT_BGCOLOR };
@@ -410,7 +410,7 @@
bool m_bValue;
};

-class KivioAddConnectorTargetCommand : public KNamedCommand
+class KIVIO_EXPORT KivioAddConnectorTargetCommand : public KNamedCommand
{
public:
KivioAddConnectorTargetCommand(const QString& name, KivioPage* page,
@@ -425,7 +425,7 @@
KoPoint m_targetPoint;
};

-class KivioCustomDragCommand : public KNamedCommand
+class KIVIO_EXPORT KivioCustomDragCommand : public KNamedCommand
{
public:
KivioCustomDragCommand(const QString& name, KivioPage* page, KivioStencil* stencil,
diff -Nurd koffice-1.6.3/kivio/kiviopart/kivio_map.h koffice-1.6.3-new/kivio/kiviopart/kivio_map.h
--- koffice-1.6.3/kivio/kiviopart/kivio_map.h 2007-05-30 17:42:41.000000000 -0400
+++ koffice-1.6.3-new/kivio/kiviopart/kivio_map.h 2010-07-23 04:28:22.000000000 -0400
@@ -36,11 +36,13 @@
#include
#include

+#include
+
/*
* A map is a simple container for all pages. Usually a complete map is saved in one file.
*/

-class KivioMap : public QObject
+class KIVIO_EXPORT KivioMap : public QObject
{
public:
/**
diff -Nurd koffice-1.6.3/kivio/kiviopart/kiviosdk/kivio_layer.h koffice-1.6.3-new/kivio/kiviopart/kiviosdk/kivio_layer.h
--- koffice-1.6.3/kivio/kiviopart/kiviosdk/kivio_layer.h 2007-05-30 17:42:39.000000000 -0400
+++ koffice-1.6.3-new/kivio/kiviopart/kiviosdk/kivio_layer.h 2010-07-23 04:28:22.000000000 -0400
@@ -36,12 +36,14 @@

#include "kivio_stencil.h"

+#include
+
#define FLOW_LAYER_VISIBLE 0x0001
#define FLOW_LAYER_CONNECTABLE 0x0002
#define FLOW_LAYER_NOT_EDITABLE 0x0004
#define FLOW_LAYER_NOT_PRINTABLE 0x0008

-class KivioLayer
+class KIVIO_EXPORT KivioLayer
{
protected:
friend class KivioGroupStencil;
diff -Nurd koffice-1.6.3/kivio/kiviopart/kiviosdk/kivio_screen_painter.h koffice-1.6.3-new/kivio/kiviopart/kiviosdk/kivio_screen_painter.h
--- koffice-1.6.3/kivio/kiviopart/kiviosdk/kivio_screen_painter.h 2007-05-30 17:42:39.000000000 -0400
+++ koffice-1.6.3-new/kivio/kiviopart/kiviosdk/kivio_screen_painter.h 2010-07-23 04:28:22.000000000 -0400
@@ -25,10 +25,12 @@
#include
#include

+#include
+
class KivioPoint;


-class KivioScreenPainter : public KivioPainter
+class KIVIO_EXPORT KivioScreenPainter : public KivioPainter
{
protected:
QPainter *m_pPainter;
diff -Nurd koffice-1.6.3/kpresenter/KPrCanvas.h koffice-1.6.3-new/kpresenter/KPrCanvas.h
--- koffice-1.6.3/kpresenter/KPrCanvas.h 2007-05-30 17:43:06.000000000 -0400
+++ koffice-1.6.3-new/kpresenter/KPrCanvas.h 2010-07-23 04:28:22.000000000 -0400
@@ -41,6 +41,8 @@
#include
#include "presstep.h"

+#include
+
class KURL;
class KoTextFormatInterface;
class KPrView;
@@ -79,7 +81,7 @@
*
* It manages the graphical representation of all the objects.
*/
-class KPrCanvas : public QWidget
+class KPRESENTER_EXPORT KPrCanvas : public QWidget
{
Q_OBJECT

diff -Nurd koffice-1.6.3/kpresenter/KPrFactory.h koffice-1.6.3-new/kpresenter/KPrFactory.h
--- koffice-1.6.3/kpresenter/KPrFactory.h 2007-05-30 17:43:06.000000000 -0400
+++ koffice-1.6.3-new/kpresenter/KPrFactory.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,9 +22,11 @@
#define KPRESENTER_FACTORY_H

#include
+#include
+
class KAboutData;

-class KPrFactory : public KoFactory
+class KPRESENTER_EXPORT KPrFactory : public KoFactory
{
Q_OBJECT
public:
diff -Nurd koffice-1.6.3/kpresenter/KPrView.cpp koffice-1.6.3-new/kpresenter/KPrView.cpp
--- koffice-1.6.3/kpresenter/KPrView.cpp 2007-05-30 17:43:06.000000000 -0400
+++ koffice-1.6.3-new/kpresenter/KPrView.cpp 2010-07-23 04:28:22.000000000 -0400
@@ -206,7 +206,9 @@
#include
#include
#include
+extern "C" {
#include
+}
#include

extern "C" {
diff -Nurd koffice-1.6.3/kpresenter/KPrView.h koffice-1.6.3-new/kpresenter/KPrView.h
--- koffice-1.6.3/kpresenter/KPrView.h 2007-05-30 17:43:06.000000000 -0400
+++ koffice-1.6.3-new/kpresenter/KPrView.h 2010-07-23 04:28:22.000000000 -0400
@@ -35,6 +35,8 @@
#include
#include

+#include
+
class QPopupMenu;
class QSplitter;
class QLabel;
@@ -114,7 +116,7 @@
};


-class KPrView : public KoView
+class KPRESENTER_EXPORT KPrView : public KoView
{
friend class PageBase;
Q_OBJECT
diff -Nurd koffice-1.6.3/kpresenter/Makefile.am koffice-1.6.3-new/kpresenter/Makefile.am
--- koffice-1.6.3/kpresenter/Makefile.am 2007-05-30 17:43:06.000000000 -0400
+++ koffice-1.6.3-new/kpresenter/Makefile.am 2010-07-23 05:05:06.000000000 -0400
@@ -72,7 +72,7 @@
if include_ARTS
ARTSKDE = -lartskde
endif
-libkpresenterprivate_la_LIBADD = autoformEdit/libaf.la $(LIB_KOFFICEUI) $(LIB_KOTEXT) $(LIB_KOPAINTER) $(ARTSKDE)
+libkpresenterprivate_la_LIBADD = autoformEdit/libaf.la $(LIB_KOFFICEUI) $(LIB_KOTEXT) $(LIB_KOPAINTER) $(ARTSKDE) -lmcop -lsoundserver_idl

## The part
kde_module_LTLIBRARIES = libkpresenterpart.la
diff -Nurd koffice-1.6.3/krita/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.h koffice-1.6.3-new/krita/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.h
--- koffice-1.6.3/krita/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.h 2007-05-30 17:41:22.000000000 -0400
+++ koffice-1.6.3-new/krita/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,6 +21,7 @@
#define KIS_YCBCR_U16_COLORSPACE_H

#include
+#include

#include

@@ -28,7 +29,7 @@
#define LUMA_GREEN 0.587
#define LUMA_BLUE 0.114

-class KisYCbCrU16ColorSpace : public KisU16BaseColorSpace
+class KRITATOOL_EXPORT KisYCbCrU16ColorSpace : public KisU16BaseColorSpace
{
public:
KisYCbCrU16ColorSpace(KisColorSpaceFactoryRegistry* parent, KisProfile* p);
diff -Nurd koffice-1.6.3/krita/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.h koffice-1.6.3-new/krita/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.h
--- koffice-1.6.3/krita/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.h 2007-05-30 17:41:23.000000000 -0400
+++ koffice-1.6.3-new/krita/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,6 +21,7 @@
#define KIS_YCBCR_U8_COLORSPACE_H

#include
+#include

#include

@@ -28,7 +29,7 @@
#define LUMA_GREEN 0.587
#define LUMA_BLUE 0.114

-class KisYCbCrU8ColorSpace : public KisU8BaseColorSpace
+class KRITATOOL_EXPORT KisYCbCrU8ColorSpace : public KisU8BaseColorSpace
{
public:
KisYCbCrU8ColorSpace(KisColorSpaceFactoryRegistry* parent, KisProfile* p);
diff -Nurd koffice-1.6.3/krita/core/kis_alpha_mask.h koffice-1.6.3-new/krita/core/kis_alpha_mask.h
--- koffice-1.6.3/krita/core/kis_alpha_mask.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_alpha_mask.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,12 +26,14 @@
#include "kis_global.h"
#include "kis_types.h"

+#include
+
/**
* KisAlphaMask is intended to create alpha values from a QImage for use
* in brush creation. It is not a generic alpha mask that can be used with
* KisPaintDevices: use a KisSelection for that.
*/
-class KisAlphaMask : public KShared {
+class KRITACORE_EXPORT KisAlphaMask : public KShared {

public:
/**
diff -Nurd koffice-1.6.3/krita/core/kis_autobrush_resource.h koffice-1.6.3-new/krita/core/kis_autobrush_resource.h
--- koffice-1.6.3/krita/core/kis_autobrush_resource.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_autobrush_resource.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,7 +21,9 @@

#include "kis_brush.h"

-class KisAutobrushShape {
+#include
+
+class KRITACORE_EXPORT KisAutobrushShape {
public:
KisAutobrushShape(Q_INT32 w, Q_INT32 h, double fh, double fv) : m_w(w), m_h(h), m_fh(fh), m_fv(fv)
{ };
@@ -32,7 +34,7 @@
double m_fh, m_fv;
};

-class KisAutobrushCircleShape : public KisAutobrushShape {
+class KRITACORE_EXPORT KisAutobrushCircleShape : public KisAutobrushShape {
public:
KisAutobrushCircleShape(Q_INT32 w, Q_INT32 h, double fh, double fv);
public:
@@ -48,7 +50,7 @@
double m_xfadecoef, m_yfadecoef;
};

-class KisAutobrushRectShape : public KisAutobrushShape {
+class KRITACORE_EXPORT KisAutobrushRectShape : public KisAutobrushShape {
public:
KisAutobrushRectShape(Q_INT32 w, Q_INT32 h, double fh, double fv);
protected:
@@ -57,7 +59,7 @@
double m_xcentre, m_ycentre, m_c;
};

-class KisAutobrushResource : public KisBrush
+class KRITACORE_EXPORT KisAutobrushResource : public KisBrush
{
public:
KisAutobrushResource(QImage& img) : KisBrush("")
diff -Nurd koffice-1.6.3/krita/core/kis_autogradient_resource.h koffice-1.6.3-new/krita/core/kis_autogradient_resource.h
--- koffice-1.6.3/krita/core/kis_autogradient_resource.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_autogradient_resource.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,7 +22,9 @@

#include "kis_gradient.h"

-class KisAutogradientResource : public KisGradient
+#include
+
+class KRITACORE_EXPORT KisAutogradientResource : public KisGradient
{

public:
diff -Nurd koffice-1.6.3/krita/core/kis_background.h koffice-1.6.3-new/krita/core/kis_background.h
--- koffice-1.6.3/krita/core/kis_background.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_background.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,8 +21,9 @@
#include

#include
+#include

-class KisBackground : public KShared {
+class KRITACORE_EXPORT KisBackground : public KShared {

public:
KisBackground();
diff -Nurd koffice-1.6.3/krita/core/kis_command.h koffice-1.6.3-new/krita/core/kis_command.h
--- koffice-1.6.3/krita/core/kis_command.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_command.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,10 +22,11 @@

#include
#include
+#include

class KisUndoAdapter;

-class KisCommand : public KCommand {
+class KRITACORE_EXPORT KisCommand : public KCommand {
typedef KCommand super;

public:
diff -Nurd koffice-1.6.3/krita/core/kis_convolution_painter.h koffice-1.6.3-new/krita/core/kis_convolution_painter.h
--- koffice-1.6.3/krita/core/kis_convolution_painter.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_convolution_painter.h 2010-07-23 04:28:22.000000000 -0400
@@ -37,7 +37,7 @@
class KisKernel;
typedef KSharedPtr KisKernelSP;

-class KisKernel : public KShared
+class KRITACORE_EXPORT KisKernel : public KShared
{

public:
diff -Nurd koffice-1.6.3/krita/core/kis_exif_value.h koffice-1.6.3-new/krita/core/kis_exif_value.h
--- koffice-1.6.3/krita/core/kis_exif_value.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_exif_value.h 2010-07-23 04:28:22.000000000 -0400
@@ -25,6 +25,8 @@
#include
#include

+#include
+
typedef QMemArray UByteArray;

struct KisExifRational {
@@ -37,7 +39,7 @@
Q_INT32 denominator;
};

-class ExifValue {
+class KRITACORE_EXPORT ExifValue {
typedef union {
Q_UINT8 m_byte;
Q_UINT16 m_short;
diff -Nurd koffice-1.6.3/krita/core/kis_filter_config_widget.h koffice-1.6.3-new/krita/core/kis_filter_config_widget.h
--- koffice-1.6.3/krita/core/kis_filter_config_widget.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_filter_config_widget.h 2010-07-23 04:28:22.000000000 -0400
@@ -20,13 +20,14 @@

#include
#include "kis_filter_configuration.h"
+#include

/**
* Empty base class. Filters can build their own configuration widgets that
* inherit this class. The configuration widget can emit sigPleaseUpdatePreview
* when it wants the preview in the filter dialog to be updated.
*/
-class KisFilterConfigWidget : public QWidget {
+class KRITACORE_EXPORT KisFilterConfigWidget : public QWidget {

Q_OBJECT

diff -Nurd koffice-1.6.3/krita/core/kis_filter_strategy.h koffice-1.6.3-new/krita/core/kis_filter_strategy.h
--- koffice-1.6.3/krita/core/kis_filter_strategy.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_filter_strategy.h 2010-07-23 04:28:22.000000000 -0400
@@ -25,8 +25,9 @@
#include "kis_types.h"
#include "kis_generic_registry.h"
#include "kis_id.h"
+#include

-class KisFilterStrategy
+class KRITACORE_EXPORT KisFilterStrategy
{
public:
KisFilterStrategy(KisID id) : m_id(id) {}
@@ -44,7 +45,7 @@
KisID m_id;
};

-class KisHermiteFilterStrategy : public KisFilterStrategy
+class KRITACORE_EXPORT KisHermiteFilterStrategy : public KisFilterStrategy
{
public:
KisHermiteFilterStrategy() : KisFilterStrategy(KisID("Hermite", i18n("Hermite")))
@@ -66,7 +67,7 @@
virtual double valueAt(double t) const;
};

-class KisBoxFilterStrategy : public KisFilterStrategy
+class KRITACORE_EXPORT KisBoxFilterStrategy : public KisFilterStrategy
{
public:
KisBoxFilterStrategy() : KisFilterStrategy(KisID("Box", i18n("Box")))
@@ -78,7 +79,7 @@
virtual bool boxSpecial() { return true;};
};

-class KisTriangleFilterStrategy : public KisFilterStrategy
+class KRITACORE_EXPORT KisTriangleFilterStrategy : public KisFilterStrategy
{
public:
KisTriangleFilterStrategy() : KisFilterStrategy(KisID("Triangle", i18n("Triangle aka (bi)linear")))
@@ -89,7 +90,7 @@
virtual double valueAt(double t) const;
};

-class KisBellFilterStrategy : public KisFilterStrategy
+class KRITACORE_EXPORT KisBellFilterStrategy : public KisFilterStrategy
{
public:
KisBellFilterStrategy() : KisFilterStrategy(KisID("Bell", i18n("Bell")))
@@ -99,7 +100,7 @@
virtual double valueAt(double t) const;
};

-class KisBSplineFilterStrategy : public KisFilterStrategy
+class KRITACORE_EXPORT KisBSplineFilterStrategy : public KisFilterStrategy
{
public:
KisBSplineFilterStrategy() : KisFilterStrategy(KisID("BSpline", i18n("BSpline")))
@@ -109,7 +110,7 @@
virtual double valueAt(double t) const;
};

-class KisLanczos3FilterStrategy : public KisFilterStrategy
+class KRITACORE_EXPORT KisLanczos3FilterStrategy : public KisFilterStrategy
{
public:
KisLanczos3FilterStrategy() : KisFilterStrategy(KisID("Lanczos3", i18n("Lanczos3")))
@@ -121,7 +122,7 @@
double sinc(double x) const;
};

-class KisMitchellFilterStrategy : public KisFilterStrategy
+class KRITACORE_EXPORT KisMitchellFilterStrategy : public KisFilterStrategy
{
public:
KisMitchellFilterStrategy() : KisFilterStrategy(KisID("Mitchell", i18n("Mitchell")))
@@ -131,7 +132,7 @@
virtual double valueAt(double t) const;
};

-class KisFilterStrategyRegistry : public KisGenericRegistry
+class KRITACORE_EXPORT KisFilterStrategyRegistry : public KisGenericRegistry
{
public:
virtual ~KisFilterStrategyRegistry();
diff -Nurd koffice-1.6.3/krita/core/kis_gradient.h koffice-1.6.3-new/krita/core/kis_gradient.h
--- koffice-1.6.3/krita/core/kis_gradient.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_gradient.h 2010-07-23 04:28:22.000000000 -0400
@@ -32,6 +32,8 @@
#include "kis_resource.h"
#include "kis_global.h"

+#include
+
class QImage;

enum {
@@ -62,7 +64,7 @@
double m_alpha;
};

-class KisGradientSegment {
+class KRITACORE_EXPORT KisGradientSegment {
public:
KisGradientSegment(int interpolationType, int colorInterpolationType, double startOffset, double middleOffset, double endOffset, const Color& startColor, const Color& endColor);

@@ -229,7 +231,7 @@
Color m_endColor;
};

-class KisGradient : public KisResource {
+class KRITACORE_EXPORT KisGradient : public KisResource {
typedef KisResource super;
Q_OBJECT

diff -Nurd koffice-1.6.3/krita/core/kis_group_layer.h koffice-1.6.3-new/krita/core/kis_group_layer.h
--- koffice-1.6.3/krita/core/kis_group_layer.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_group_layer.h 2010-07-23 04:28:22.000000000 -0400
@@ -25,6 +25,8 @@

#include "kis_paint_layer.h"

+#include
+
class KisMergeVisitor;

/**
@@ -33,7 +35,7 @@
* KisLayer::nextSibling() moves towards higher indices, from the top to the bottom layer; prevSibling() the reverse.
* (Implementation detail: internally, the indices are reversed, for speed.)
**/
-class KisGroupLayer : public KisLayer {
+class KRITACORE_EXPORT KisGroupLayer : public KisLayer {
typedef KisLayer super;

Q_OBJECT
diff -Nurd koffice-1.6.3/krita/core/kis_histogram.h koffice-1.6.3-new/krita/core/kis_histogram.h
--- koffice-1.6.3/krita/core/kis_histogram.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_histogram.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,6 +22,7 @@
#include "kis_types.h"
#include "kis_colorspace.h"
#include "kis_histogram_producer.h"
+#include

enum enumHistogramType {
LINEAR,
@@ -40,7 +41,7 @@
* The calculations are done in the range 0 - 1, instead of the native range that a pixel
* might have, so it's not always as precise as it could be. But you can't have it all...
*/
-class KisHistogram : public KShared {
+class KRITACORE_EXPORT KisHistogram : public KShared {

public:
/**
diff -Nurd koffice-1.6.3/krita/core/kis_imagepipe_brush.h koffice-1.6.3-new/krita/core/kis_imagepipe_brush.h
--- koffice-1.6.3/krita/core/kis_imagepipe_brush.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_imagepipe_brush.h 2010-07-23 04:28:22.000000000 -0400
@@ -31,6 +31,8 @@
#include "kis_brush.h"
#include "kis_global.h"

+#include
+
class QCString;
class QImage;
class QPoint;
@@ -98,7 +100,7 @@
};


-class KisImagePipeBrush : public KisBrush {
+class KRITACORE_EXPORT KisImagePipeBrush : public KisBrush {
typedef KisBrush super;
Q_OBJECT

diff -Nurd koffice-1.6.3/krita/core/kis_iterator.h koffice-1.6.3-new/krita/core/kis_iterator.h
--- koffice-1.6.3/krita/core/kis_iterator.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_iterator.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,6 +21,7 @@

#include
#include
+#include

class KisTiledRectIterator;
typedef KSharedPtr KisTiledRectIteratorSP;
@@ -37,7 +38,7 @@
* The KisRectIterator iterators over a rectangular area in the most efficient order. That is,
* there is no guarantee that the iterator will work scanline by scanline.
*/
-class KisRectIterator
+class KRITACORE_EXPORT KisRectIterator
{


@@ -81,7 +82,7 @@
KisTiledRectIteratorSP m_iter;
};

-class KisHLineIterator
+class KRITACORE_EXPORT KisHLineIterator
{

public:
@@ -132,7 +133,7 @@
KisTiledHLineIteratorSP m_iter;
};

-class KisVLineIterator
+class KRITACORE_EXPORT KisVLineIterator
{

public:
diff -Nurd koffice-1.6.3/krita/core/kis_meta_registry.h koffice-1.6.3-new/krita/core/kis_meta_registry.h
--- koffice-1.6.3/krita/core/kis_meta_registry.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_meta_registry.h 2010-07-23 04:28:22.000000000 -0400
@@ -18,6 +18,8 @@
#ifndef _KIS_META_REGISTRY_
#define _KIS_META_REGISTRY_

+#include
+
class KisColorSpaceFactoryRegistry;
class KisMathToolboxFactoryRegistry;

@@ -26,7 +28,7 @@
*
* XXX: Maybe this should go into the SDK
*/
-class KisMetaRegistry {
+class KRITACORE_EXPORT KisMetaRegistry {

public:

diff -Nurd koffice-1.6.3/krita/core/kis_nameserver.h koffice-1.6.3-new/krita/core/kis_nameserver.h
--- koffice-1.6.3/krita/core/kis_nameserver.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_nameserver.h 2010-07-23 04:28:22.000000000 -0400
@@ -20,8 +20,9 @@

#include
#include "kis_global.h"
+#include

-class KisNameServer {
+class KRITACORE_EXPORT KisNameServer {
public:
KisNameServer(const QString& prefix, Q_INT32 seed = 1);
~KisNameServer();
diff -Nurd koffice-1.6.3/krita/core/kis_paint_layer.h koffice-1.6.3-new/krita/core/kis_paint_layer.h
--- koffice-1.6.3/krita/core/kis_paint_layer.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_paint_layer.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,10 +22,12 @@
#include "kis_layer.h"
#include "kis_paint_device.h"
#include "kis_colorspace.h"
+#include
+
/**
* This layer is of a type that can be painted on.
*/
-class KisPaintLayer : public KisLayer, public KisLayerSupportsIndirectPainting {
+class KRITACORE_EXPORT KisPaintLayer : public KisLayer, public KisLayerSupportsIndirectPainting {
typedef KisLayer super;

Q_OBJECT
diff -Nurd koffice-1.6.3/krita/core/kis_paintop.h koffice-1.6.3-new/krita/core/kis_paintop.h
--- koffice-1.6.3/krita/core/kis_paintop.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_paintop.h 2010-07-23 04:28:22.000000000 -0400
@@ -108,7 +108,7 @@
* If there is an optionWidget, the derived paintop itself must support settings,
* and it's up to the factory to do that.
*/
-class KisPaintOpFactory : public KShared
+class KRITACORE_EXPORT KisPaintOpFactory : public KShared
{

public:
diff -Nurd koffice-1.6.3/krita/core/kis_palette.h koffice-1.6.3-new/krita/core/kis_palette.h
--- koffice-1.6.3/krita/core/kis_palette.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_palette.h 2010-07-23 04:28:22.000000000 -0400
@@ -31,6 +31,8 @@
#include "kis_gradient.h"
#include "kis_alpha_mask.h"

+#include
+
class QPoint;
class QPixmap;
class KisPaintDevice;
@@ -47,7 +49,7 @@
* Open Gimp, Photoshop or RIFF palette files. This is a straight port
* from the Gimp.
*/
-class KisPalette : public KisResource {
+class KRITACORE_EXPORT KisPalette : public KisResource {
typedef KisResource super;

Q_OBJECT
diff -Nurd koffice-1.6.3/krita/core/kis_pattern.h koffice-1.6.3-new/krita/core/kis_pattern.h
--- koffice-1.6.3/krita/core/kis_pattern.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_pattern.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,13 +26,14 @@
#include "kis_debug_areas.h"
#include "kis_resource.h"
#include "kis_types.h"
+#include

class QPoint;
class QImage;
class KisColorSpace;
class KisPaintDevice;

-class KisPattern : public KisResource {
+class KRITACORE_EXPORT KisPattern : public KisResource {
typedef KisResource super;
Q_OBJECT

diff -Nurd koffice-1.6.3/krita/core/kis_perspective_grid.h koffice-1.6.3-new/krita/core/kis_perspective_grid.h
--- koffice-1.6.3/krita/core/kis_perspective_grid.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_perspective_grid.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,6 +26,7 @@
#include
#include
#include
+#include

class KisPerspectiveGridNode : public KisPoint, public KShared {
public:
@@ -34,7 +35,7 @@
};
typedef KSharedPtr KisPerspectiveGridNodeSP;

-class KisSubPerspectiveGrid {
+class KRITACORE_EXPORT KisSubPerspectiveGrid {
public:
KisSubPerspectiveGrid(KisPerspectiveGridNodeSP topLeft, KisPerspectiveGridNodeSP topRight, KisPerspectiveGridNodeSP bottomRight, KisPerspectiveGridNodeSP bottomLeft);

@@ -83,7 +84,7 @@
static int s_lastIndex;
};

-class KisPerspectiveGrid {
+class KRITACORE_EXPORT KisPerspectiveGrid {
public:
KisPerspectiveGrid();
~KisPerspectiveGrid();
diff -Nurd koffice-1.6.3/krita/core/kis_perspective_math.h koffice-1.6.3-new/krita/core/kis_perspective_math.h
--- koffice-1.6.3/krita/core/kis_perspective_math.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_perspective_math.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,10 +21,11 @@
#define _KIS_PERSPECTVE_MATH_H_

#include "kis_point.h"
+#include

class QRect;

-class KisPerspectiveMath {
+class KRITACORE_EXPORT KisPerspectiveMath {
private:
KisPerspectiveMath() { }
public:
diff -Nurd koffice-1.6.3/krita/core/kis_perspectivetransform_worker.h koffice-1.6.3-new/krita/core/kis_perspectivetransform_worker.h
--- koffice-1.6.3/krita/core/kis_perspectivetransform_worker.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_perspectivetransform_worker.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,11 +22,12 @@

#include "kis_types.h"
#include "kis_progress_subject.h"
+#include

class KisPoint;
class KisProgressDisplayInterface;

-class KisPerspectiveTransformWorker : public KisProgressSubject
+class KRITACORE_EXPORT KisPerspectiveTransformWorker : public KisProgressSubject
{
public:
KisPerspectiveTransformWorker(KisPaintDeviceSP dev, const KisPoint& topLeft, const KisPoint& topRight, const KisPoint& bottomLeft, const KisPoint& bottomRight, KisProgressDisplayInterface *progress);
diff -Nurd koffice-1.6.3/krita/core/kis_random_accessor.h koffice-1.6.3-new/krita/core/kis_random_accessor.h
--- koffice-1.6.3/krita/core/kis_random_accessor.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_random_accessor.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,6 +21,7 @@
#define KIS_RANDOM_ACCESSOR_H

#include
+#include

#include

@@ -29,7 +30,7 @@

class KisTiledDataManager;

-class KisRandomAccessor{
+class KRITACORE_EXPORT KisRandomAccessor{
public:
KisRandomAccessor(KisTiledDataManager *ktm, Q_INT32 x, Q_INT32 y, Q_INT32 offsetx, Q_INT32 offsety, bool writable);
KisRandomAccessor(const KisRandomAccessor& rhs);
diff -Nurd koffice-1.6.3/krita/core/kis_random_sub_accessor.h koffice-1.6.3-new/krita/core/kis_random_sub_accessor.h
--- koffice-1.6.3/krita/core/kis_random_sub_accessor.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_random_sub_accessor.h 2010-07-23 04:28:22.000000000 -0400
@@ -23,8 +23,9 @@
#include "kis_point.h"
#include "kis_random_accessor.h"
#include "kis_types.h"
+#include

-class KisRandomSubAccessorPixel{
+class KRITACORE_EXPORT KisRandomSubAccessorPixel{
public:
KisRandomSubAccessorPixel(KisPaintDeviceSP device);
~KisRandomSubAccessorPixel();
diff -Nurd koffice-1.6.3/krita/core/kis_resource.h koffice-1.6.3-new/krita/core/kis_resource.h
--- koffice-1.6.3/krita/core/kis_resource.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_resource.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,7 +21,7 @@
#include
#include
#include
-
+#include

/**
* The KisResource class provides a representation of Krita image resources. This
@@ -29,7 +29,7 @@
*
* This replaces the KisKrayon facility that used to be present in Krayon.
*/
-class KisResource : public QObject {
+class KRITACORE_EXPORT KisResource : public QObject {
typedef QObject super;
Q_OBJECT

diff -Nurd koffice-1.6.3/krita/core/kis_rotate_visitor.h koffice-1.6.3-new/krita/core/kis_rotate_visitor.h
--- koffice-1.6.3/krita/core/kis_rotate_visitor.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_rotate_visitor.h 2010-07-23 04:28:22.000000000 -0400
@@ -20,12 +20,13 @@

#include "kis_types.h"
#include "kis_progress_subject.h"
+#include

class QRect;
class KisPaintDevice;
class KisProgressDisplayInterface;

-class KisRotateVisitor : public KisProgressSubject {
+class KRITACORE_EXPORT KisRotateVisitor : public KisProgressSubject {
typedef KisProgressSubject super;

/* Structs for the image rescaling routine */
diff -Nurd koffice-1.6.3/krita/core/kis_scale_visitor.h koffice-1.6.3-new/krita/core/kis_scale_visitor.h
--- koffice-1.6.3/krita/core/kis_scale_visitor.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_scale_visitor.h 2010-07-23 04:28:22.000000000 -0400
@@ -37,7 +37,7 @@
class KisProgressDisplayInterface;
class KisFilterStrategy;

-class KisScaleWorker : public KisThread {
+class KRITACORE_EXPORT KisScaleWorker : public KisThread {

/* Structs for the image rescaling routine */
class Contrib {
diff -Nurd koffice-1.6.3/krita/core/kis_thread_pool.h koffice-1.6.3-new/krita/core/kis_thread_pool.h
--- koffice-1.6.3/krita/core/kis_thread_pool.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_thread_pool.h 2010-07-23 04:28:22.000000000 -0400
@@ -24,6 +24,7 @@
#include

#include "kis_thread.h"
+#include

/**
* A thread pool starts executing threads some time after they are added,
@@ -33,7 +34,7 @@
* have run. This means that you cannot add getters for important data to
* threads you feed the threadpool. Instead, post the data using a customevent.
*/
-class KisThreadPool : public KisThread {
+class KRITACORE_EXPORT KisThreadPool : public KisThread {

public:

diff -Nurd koffice-1.6.3/krita/core/kis_transaction.h koffice-1.6.3-new/krita/core/kis_transaction.h
--- koffice-1.6.3/krita/core/kis_transaction.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_transaction.h 2010-07-23 04:28:22.000000000 -0400
@@ -25,10 +25,12 @@

#include "kis_types.h"

+#include
+
class QRect;
class KisTransactionPrivate;

-class KisTransaction : public KCommand {
+class KRITACORE_EXPORT KisTransaction : public KCommand {
public:
KisTransaction(const QString& name, KisPaintDeviceSP device);
virtual ~KisTransaction();
diff -Nurd koffice-1.6.3/krita/core/kis_transform_worker.h koffice-1.6.3-new/krita/core/kis_transform_worker.h
--- koffice-1.6.3/krita/core/kis_transform_worker.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_transform_worker.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,6 +22,7 @@

#include "kis_types.h"
#include "kis_progress_subject.h"
+#include

class KisPaintDevice;
class KisProgressDisplayInterface;
@@ -29,7 +30,7 @@
class KisVLineIteratorPixel;
class KisFilterStrategy;

-class KisTransformWorker : public KisProgressSubject {
+class KRITACORE_EXPORT KisTransformWorker : public KisProgressSubject {
typedef KisProgressSubject super;

public:
diff -Nurd koffice-1.6.3/krita/core/kis_vec.h koffice-1.6.3-new/krita/core/kis_vec.h
--- koffice-1.6.3/krita/core/kis_vec.h 2007-05-30 17:40:31.000000000 -0400
+++ koffice-1.6.3-new/krita/core/kis_vec.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,12 +26,14 @@
#include
#include "kis_point.h"

+#include
+
/*
* vector classes
*/
const double epsilon = DBL_EPSILON;

-class KisVector2D
+class KRITACORE_EXPORT KisVector2D
{
public:
KisVector2D();
@@ -229,7 +231,7 @@
return KisPoint(m_x, m_y);
}

-class KisVector3D
+class KRITACORE_EXPORT KisVector3D
{
public:
KisVector3D();
diff -Nurd koffice-1.6.3/krita/core/tiles/kis_tile.h koffice-1.6.3-new/krita/core/tiles/kis_tile.h
--- koffice-1.6.3/krita/core/tiles/kis_tile.h 2007-05-30 17:40:24.000000000 -0400
+++ koffice-1.6.3-new/krita/core/tiles/kis_tile.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,6 +21,8 @@
#include
#include

+#include
+
class KisTiledDataManager;
class KisTiledIterator;

@@ -29,7 +31,7 @@
* a part of a PaintDevice, but only the individual pixels
* are accesable and that only via iterators.
*/
-class KisTile {
+class KRITACORE_EXPORT KisTile {
public:
KisTile(Q_INT32 pixelSize, Q_INT32 col, Q_INT32 row, const Q_UINT8 *defPixel);
KisTile(const KisTile& rhs, Q_INT32 col, Q_INT32 row);
diff -Nurd koffice-1.6.3/krita/core/tiles/kis_tilemanager.cc koffice-1.6.3-new/krita/core/tiles/kis_tilemanager.cc
--- koffice-1.6.3/krita/core/tiles/kis_tilemanager.cc 2007-05-30 17:40:24.000000000 -0400
+++ koffice-1.6.3-new/krita/core/tiles/kis_tilemanager.cc 2010-07-23 04:28:22.000000000 -0400
@@ -18,8 +18,8 @@

#include

-#include
#include
+#include
#include
#include
#include
diff -Nurd koffice-1.6.3/krita/core/tiles/kis_tilemanager.h koffice-1.6.3-new/krita/core/tiles/kis_tilemanager.h
--- koffice-1.6.3/krita/core/tiles/kis_tilemanager.h 2007-05-30 17:40:24.000000000 -0400
+++ koffice-1.6.3-new/krita/core/tiles/kis_tilemanager.h 2010-07-23 04:28:22.000000000 -0400
@@ -27,6 +27,8 @@

#include

+#include
+
class KisTile;
class KisTiledDataManager;

@@ -41,7 +43,7 @@
* * tries to preallocate and recycle some tiles to make future allocations faster
* (not done yet)
*/
-class KisTileManager {
+class KRITACORE_EXPORT KisTileManager {
public:
~KisTileManager();
static KisTileManager* instance();
diff -Nurd koffice-1.6.3/krita/kritacolor/Makefile.am koffice-1.6.3-new/krita/kritacolor/Makefile.am
--- koffice-1.6.3/krita/kritacolor/Makefile.am 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/Makefile.am 2010-07-23 04:47:48.000000000 -0400
@@ -19,7 +19,7 @@
kis_u16_base_colorspace.cc kis_f32_base_colorspace.cc $(OPENEXR_SOURCES)

libkritacolor_la_LDFLAGS = -version-info 1:0:0 -no-undefined $(all_libraries)
-libkritacolor_la_LIBADD = colorspaces/libkritacolorspaces.la $(LCMS_LIBS) $(LIB_KPARTS) $(LIB_KDECORE) $(LIB_QT) $(OPENEXR_LIBS)
+libkritacolor_la_LIBADD = colorspaces/libkritacolorspaces.la $(LCMS_LIBS) $(LIB_KPARTS) $(LIB_KDECORE) $(LIB_QT) $(OPENEXR_LIBS) -lDCOP $(LIB_KIO) $(LIB_KDEUI)

include_HEADERS = \
kis_channelinfo.h \
diff -Nurd koffice-1.6.3/krita/kritacolor/kis_abstract_colorspace.h koffice-1.6.3-new/krita/kritacolor/kis_abstract_colorspace.h
--- koffice-1.6.3/krita/kritacolor/kis_abstract_colorspace.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_abstract_colorspace.h 2010-07-23 04:28:22.000000000 -0400
@@ -34,7 +34,6 @@
#include "kis_colorspace.h"
#include "koffice_export.h"

-
class QPainter;
class KisPixelRO;
class KisColorSpaceFactoryRegistry;
diff -Nurd koffice-1.6.3/krita/kritacolor/kis_basic_histogram_producers.h koffice-1.6.3-new/krita/kritacolor/kis_basic_histogram_producers.h
--- koffice-1.6.3/krita/kritacolor/kis_basic_histogram_producers.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_basic_histogram_producers.h 2010-07-23 04:28:22.000000000 -0400
@@ -28,9 +28,11 @@
#include "kis_colorspace.h"
#include "kis_id.h"

+#include
+
class KisLabColorSpace;

-class KisBasicHistogramProducer : public KisHistogramProducer {
+class KRITA_EXPORT KisBasicHistogramProducer : public KisHistogramProducer {
public:
KisBasicHistogramProducer(const KisID& id, int channels, int nrOfBins, KisColorSpace *colorSpace);
virtual ~KisBasicHistogramProducer() {}
@@ -82,7 +84,7 @@
QValueVector m_external;
};

-class KisBasicU8HistogramProducer : public KisBasicHistogramProducer {
+class KRITA_EXPORT KisBasicU8HistogramProducer : public KisBasicHistogramProducer {
public:
KisBasicU8HistogramProducer(const KisID& id, KisColorSpace *colorSpace);
virtual void addRegionToBin(Q_UINT8 * pixels, Q_UINT8 * selectionMask, Q_UINT32 nPixels, KisColorSpace *colorSpace);
@@ -90,7 +92,7 @@
virtual double maximalZoom() const { return 1.0; }
};

-class KisBasicU16HistogramProducer : public KisBasicHistogramProducer {
+class KRITA_EXPORT KisBasicU16HistogramProducer : public KisBasicHistogramProducer {
public:
KisBasicU16HistogramProducer(const KisID& id, KisColorSpace *colorSpace);
virtual void addRegionToBin(Q_UINT8 * pixels, Q_UINT8 * selectionMask, Q_UINT32 nPixels, KisColorSpace *colorSpace);
@@ -98,7 +100,7 @@
virtual double maximalZoom() const;
};

-class KisBasicF32HistogramProducer : public KisBasicHistogramProducer {
+class KRITA_EXPORT KisBasicF32HistogramProducer : public KisBasicHistogramProducer {
public:
KisBasicF32HistogramProducer(const KisID& id, KisColorSpace *colorSpace);
virtual void addRegionToBin(Q_UINT8 * pixels, Q_UINT8 * selectionMask, Q_UINT32 nPixels, KisColorSpace *colorSpace);
@@ -107,7 +109,7 @@
};

#ifdef HAVE_OPENEXR
-class KisBasicF16HalfHistogramProducer : public KisBasicHistogramProducer {
+class KRITA_EXPORT KisBasicF16HalfHistogramProducer : public KisBasicHistogramProducer {
public:
KisBasicF16HalfHistogramProducer(const KisID& id, KisColorSpace *colorSpace);
virtual void addRegionToBin(Q_UINT8 * pixels, Q_UINT8 * selectionMask, Q_UINT32 nPixels, KisColorSpace *colorSpace);
@@ -122,7 +124,7 @@
* Factories with Producers in the code because they are incompatible types, and
* in the GUI we actually only need a producer's name, not a factory's.
*/
-template class KisBasicHistogramProducerFactory : public KisHistogramProducerFactory {
+template class KRITA_EXPORT KisBasicHistogramProducerFactory : public KisHistogramProducerFactory {
public:
KisBasicHistogramProducerFactory(const KisID& id, KisColorSpace *colorSpace)
: KisHistogramProducerFactory(id), m_cs(colorSpace) {}
@@ -140,7 +142,7 @@
* Registry, because it isCompatibleWith all colorspaces, and should only be used in extreme
* cases (like no other producer being available
**/
-class KisGenericRGBHistogramProducer : public KisBasicHistogramProducer {
+class KRITA_EXPORT KisGenericRGBHistogramProducer : public KisBasicHistogramProducer {
public:
KisGenericRGBHistogramProducer();
virtual void addRegionToBin(Q_UINT8 * pixels, Q_UINT8 * selectionMask, Q_UINT32 nPixels, KisColorSpace *colorSpace);
@@ -152,7 +154,7 @@
};

/** KisGenericRGBHistogramProducer his special Factory that isCompatibleWith everything. */
-class KisGenericRGBHistogramProducerFactory : public KisHistogramProducerFactory {
+class KRITA_EXPORT KisGenericRGBHistogramProducerFactory : public KisHistogramProducerFactory {
public:
KisGenericRGBHistogramProducerFactory()
: KisHistogramProducerFactory(KisID("GENRGBHISTO", i18n("Generic RGB"))) {}
@@ -168,7 +170,7 @@
* to L*a*b*, and then does its counting.
* It isCompatibleWith all colorspaces
**/
-class KisGenericLabHistogramProducer : public KisBasicHistogramProducer {
+class KRITA_EXPORT KisGenericLabHistogramProducer : public KisBasicHistogramProducer {
public:
KisGenericLabHistogramProducer();
virtual ~KisGenericLabHistogramProducer();
@@ -183,7 +185,7 @@
};

/** KisGenericLabHistogramProducer his special Factory that isCompatibleWith everything. */
-class KisGenericLabHistogramProducerFactory : public KisHistogramProducerFactory {
+class KRITA_EXPORT KisGenericLabHistogramProducerFactory : public KisHistogramProducerFactory {
public:
KisGenericLabHistogramProducerFactory()
: KisHistogramProducerFactory(KisID("GENLABHISTO", i18n("Generic L*a*b*"))) {}
diff -Nurd koffice-1.6.3/krita/kritacolor/kis_color.h koffice-1.6.3-new/krita/kritacolor/kis_color.h
--- koffice-1.6.3/krita/kritacolor/kis_color.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_color.h 2010-07-23 04:28:22.000000000 -0400
@@ -25,12 +25,14 @@
#include "kis_profile.h"
#include "kis_colorspace.h"

+#include
+

/**
* A KisColor describes a color in a certain colorspace.
*
*/
-class KisColor {
+class KRITA_EXPORT KisColor {

public:
/// Create an empty KisColor. It will be valid, but also black and transparent
diff -Nurd koffice-1.6.3/krita/kritacolor/kis_color_conversions.h koffice-1.6.3-new/krita/kritacolor/kis_color_conversions.h
--- koffice-1.6.3/krita/kritacolor/kis_color_conversions.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_color_conversions.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,29 +21,31 @@

#include

+#include
+
/**
* A number of often-used conversions between color models
*/

// 8-bit integer versions. RGBSL are 0-255, H is 0-360.
- void rgb_to_hsv(int R, int G, int B, int *H, int *S, int *V);
- void hsv_to_rgb(int H, int S, int V, int *R, int *G, int *B);
+ void KRITA_EXPORT rgb_to_hsv(int R, int G, int B, int *H, int *S, int *V);
+ void KRITA_EXPORT hsv_to_rgb(int H, int S, int V, int *R, int *G, int *B);

// Floating point versions. RGBSL are 0-1, H is 0-360.
- void RGBToHSV(float r, float g, float b, float *h, float *s, float *v);
- void HSVToRGB(float h, float s, float v, float *r, float *g, float *b);
+ void KRITA_EXPORT RGBToHSV(float r, float g, float b, float *h, float *s, float *v);
+ void KRITA_EXPORT HSVToRGB(float h, float s, float v, float *r, float *g, float *b);

- void RGBToHSL(float r, float g, float b, float *h, float *s, float *l);
- void HSLToRGB(float h, float sl, float l, float *r, float *g, float *b);
+ void KRITA_EXPORT RGBToHSL(float r, float g, float b, float *h, float *s, float *l);
+ void KRITA_EXPORT HSLToRGB(float h, float sl, float l, float *r, float *g, float *b);

- void rgb_to_hls(Q_UINT8 r, Q_UINT8 g, Q_UINT8 b, float * h, float * l, float * s);
+ void KRITA_EXPORT rgb_to_hls(Q_UINT8 r, Q_UINT8 g, Q_UINT8 b, float * h, float * l, float * s);

- float hue_value(float n1, float n2, float hue);
+ float KRITA_EXPORT hue_value(float n1, float n2, float hue);

- void hls_to_rgb(float h, float l, float s, Q_UINT8 * r, Q_UINT8 * g, Q_UINT8 * b);
+ void KRITA_EXPORT hls_to_rgb(float h, float l, float s, Q_UINT8 * r, Q_UINT8 * g, Q_UINT8 * b);

- void rgb_to_hls(Q_UINT8 r, Q_UINT8 g, Q_UINT8 b, int * h, int * l, int * s);
- void hls_to_rgb(int h, int l, int s, Q_UINT8 * r, Q_UINT8 * g, Q_UINT8 * b);
+ void KRITA_EXPORT rgb_to_hls(Q_UINT8 r, Q_UINT8 g, Q_UINT8 b, int * h, int * l, int * s);
+ void KRITA_EXPORT hls_to_rgb(int h, int l, int s, Q_UINT8 * r, Q_UINT8 * g, Q_UINT8 * b);

#endif // _KIS_CONVERSIONS_H_

diff -Nurd koffice-1.6.3/krita/kritacolor/kis_colorspace.h koffice-1.6.3-new/krita/kritacolor/kis_colorspace.h
--- koffice-1.6.3/krita/kritacolor/kis_colorspace.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_colorspace.h 2010-07-23 04:28:22.000000000 -0400
@@ -27,6 +27,8 @@
#include "kis_composite_op.h"
#include "kis_channelinfo.h"

+#include
+
class DCOPObject;

class KisProfile;
@@ -55,7 +57,7 @@
* in Krita. This is the definition of the public API for
* colormodels.
*/
-class KisColorSpace {
+class KRITA_EXPORT KisColorSpace {


public:
@@ -421,7 +423,7 @@

};

-class KisColorSpaceFactory {
+class KRITA_EXPORT KisColorSpaceFactory {
public:
/**
* Krita definition for use in .kra files and internally: unchanging name +
diff -Nurd koffice-1.6.3/krita/kritacolor/kis_colorspace_factory_registry.h koffice-1.6.3-new/krita/kritacolor/kis_colorspace_factory_registry.h
--- koffice-1.6.3/krita/kritacolor/kis_colorspace_factory_registry.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_colorspace_factory_registry.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,6 +22,7 @@
#include "qobject.h"
#include "kis_generic_registry.h"
#include "kis_colorspace.h"
+#include

class QStringList;
class KisPaintDeviceAction;
@@ -32,7 +33,7 @@
* - a registry of singleton colorspace factories.
* - a registry of icc profiles
*/
-class KisColorSpaceFactoryRegistry : public QObject, public KisGenericRegistry {
+class KRITA_EXPORT KisColorSpaceFactoryRegistry : public QObject, public KisGenericRegistry {


Q_OBJECT
diff -Nurd koffice-1.6.3/krita/kritacolor/kis_composite_op.h koffice-1.6.3-new/krita/kritacolor/kis_composite_op.h
--- koffice-1.6.3/krita/kritacolor/kis_composite_op.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_composite_op.h 2010-07-23 04:28:22.000000000 -0400
@@ -24,6 +24,8 @@
//#include "kis_global.h"
#include "kis_id.h"

+#include
+
enum CompositeOp {
COMPOSITE_OVER,
COMPOSITE_IN,
@@ -72,7 +74,7 @@
COMPOSITE_UNDEF
};

-class KisCompositeOp {
+class KRITA_EXPORT KisCompositeOp {
public:
KisCompositeOp();
KisCompositeOp(const QString& id);
diff -Nurd koffice-1.6.3/krita/kritacolor/kis_f16half_base_colorspace.h koffice-1.6.3-new/krita/kritacolor/kis_f16half_base_colorspace.h
--- koffice-1.6.3/krita/kritacolor/kis_f16half_base_colorspace.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_f16half_base_colorspace.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,6 +26,8 @@
#include "kis_abstract_colorspace.h"
#include "kis_integer_maths.h"

+#include
+
/**
* This class is the base for all 16-bit float colorspaces using the
* OpenEXR half format. This format can be used with the OpenGL
@@ -58,7 +60,7 @@
#define F16HALF_OPACITY_OPAQUE ((half)1.0f)
#define F16HALF_OPACITY_TRANSPARENT ((half)0.0f)

-class KisF16HalfBaseColorSpace : public KisAbstractColorSpace {
+class KRITA_EXPORT KisF16HalfBaseColorSpace : public KisAbstractColorSpace {

public:

diff -Nurd koffice-1.6.3/krita/kritacolor/kis_f32_base_colorspace.h koffice-1.6.3-new/krita/kritacolor/kis_f32_base_colorspace.h
--- koffice-1.6.3/krita/kritacolor/kis_f32_base_colorspace.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_f32_base_colorspace.h 2010-07-23 04:28:22.000000000 -0400
@@ -24,6 +24,8 @@
#include "kis_abstract_colorspace.h"
#include "kis_integer_maths.h"

+#include
+
/**
* This class is the base for all 32-bit float colorspaces.
*/
@@ -54,7 +56,7 @@
#define F32_OPACITY_OPAQUE 1.0f
#define F32_OPACITY_TRANSPARENT 0.0f

-class KisF32BaseColorSpace : public KisAbstractColorSpace {
+class KRITA_EXPORT KisF32BaseColorSpace : public KisAbstractColorSpace {

public:

diff -Nurd koffice-1.6.3/krita/kritacolor/kis_histogram_producer.h koffice-1.6.3-new/krita/kritacolor/kis_histogram_producer.h
--- koffice-1.6.3/krita/kritacolor/kis_histogram_producer.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_histogram_producer.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,6 +26,8 @@

#include "kis_generic_registry.h"

+#include
+
class KisRectIteratorPixel;
class QString;
class KisChannelInfo;
@@ -110,7 +112,7 @@
KisID m_id;
};

-class KisHistogramProducerFactoryRegistry
+class KRITA_EXPORT KisHistogramProducerFactoryRegistry
: public KisGenericRegistry {
public:
virtual ~KisHistogramProducerFactoryRegistry();
diff -Nurd koffice-1.6.3/krita/kritacolor/kis_profile.h koffice-1.6.3-new/krita/kritacolor/kis_profile.h
--- koffice-1.6.3/krita/kritacolor/kis_profile.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_profile.h 2010-07-23 04:28:22.000000000 -0400
@@ -33,10 +33,12 @@

#include

+#include
+
//XXX: Profiles should be loaded by the color strategies
// and be available only through the color strategy
// that matches the profile's color model
-class KisProfile {
+class KRITA_EXPORT KisProfile {

public:
KisProfile(QByteArray rawData);
diff -Nurd koffice-1.6.3/krita/kritacolor/kis_u16_base_colorspace.h koffice-1.6.3-new/krita/kritacolor/kis_u16_base_colorspace.h
--- koffice-1.6.3/krita/kritacolor/kis_u16_base_colorspace.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_u16_base_colorspace.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,12 +22,14 @@
#include "kis_abstract_colorspace.h"
#include "kis_integer_maths.h"

+#include
+
/**
* This is the base class for 16-bit/channel colorspaces with 16-bit alpha
* channels. It defines a number of common methods, like handling 16-bit alpha
* and up- and down-scaling of channels.
*/
-class KisU16BaseColorSpace : public KisAbstractColorSpace {
+class KRITA_EXPORT KisU16BaseColorSpace : public KisAbstractColorSpace {

public:

diff -Nurd koffice-1.6.3/krita/kritacolor/kis_u8_base_colorspace.h koffice-1.6.3-new/krita/kritacolor/kis_u8_base_colorspace.h
--- koffice-1.6.3/krita/kritacolor/kis_u8_base_colorspace.h 2007-05-30 17:41:15.000000000 -0400
+++ koffice-1.6.3-new/krita/kritacolor/kis_u8_base_colorspace.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,10 +26,12 @@
#include "kis_abstract_colorspace.h"
#include "kis_integer_maths.h"

+#include
+
/**
* This class is the base for all homogenous 8-bit/channel colorspaces with 8-bit alpha channels
*/
-class KisU8BaseColorSpace : public KisAbstractColorSpace {
+class KRITA_EXPORT KisU8BaseColorSpace : public KisAbstractColorSpace {

public:

diff -Nurd koffice-1.6.3/krita/plugins/viewplugins/scripting/kritascripting/kis_script_monitor.h koffice-1.6.3-new/krita/plugins/viewplugins/scripting/kritascripting/kis_script_monitor.h
--- koffice-1.6.3/krita/plugins/viewplugins/scripting/kritascripting/kis_script_monitor.h 2007-05-30 17:40:17.000000000 -0400
+++ koffice-1.6.3-new/krita/plugins/viewplugins/scripting/kritascripting/kis_script_monitor.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,6 +21,8 @@

#include

+#include
+
namespace Kross {
namespace Api {
class ScriptGUIClient;
@@ -31,7 +33,7 @@
/**
@author Cyrille Berger
*/
-class KisScriptMonitor : public QObject {
+class KRITA_EXPORT KisScriptMonitor : public QObject {
Q_OBJECT
private:
KisScriptMonitor();
diff -Nurd koffice-1.6.3/krita/plugins/viewplugins/scripting/kritascripting/kis_script_progress.h koffice-1.6.3-new/krita/plugins/viewplugins/scripting/kritascripting/kis_script_progress.h
--- koffice-1.6.3/krita/plugins/viewplugins/scripting/kritascripting/kis_script_progress.h 2007-05-30 17:40:17.000000000 -0400
+++ koffice-1.6.3-new/krita/plugins/viewplugins/scripting/kritascripting/kis_script_progress.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,13 +21,15 @@

#include

+#include
+
class KisView;

/**
* TODO: clarify the situation, while, in the future, multiple scripts could be running at a same time,
* some of the functions are global to all script and some aren't.
*/
-class KisScriptProgress : public KisProgressSubject
+class KRITA_EXPORT KisScriptProgress : public KisProgressSubject
{
public:
KisScriptProgress(KisView* view) : m_view(view) {};
diff -Nurd koffice-1.6.3/krita/sdk/kis_generic_registry.h koffice-1.6.3-new/krita/sdk/kis_generic_registry.h
--- koffice-1.6.3/krita/sdk/kis_generic_registry.h 2007-05-30 17:40:21.000000000 -0400
+++ koffice-1.6.3-new/krita/sdk/kis_generic_registry.h 2010-07-23 04:28:22.000000000 -0400
@@ -35,6 +35,7 @@
* user-visible, translated string that can be used in the
* user interface.
*/
+#undef _T
template
class KisGenericRegistry {
protected:
diff -Nurd koffice-1.6.3/krita/ui/imageviewer.h koffice-1.6.3-new/krita/ui/imageviewer.h
--- koffice-1.6.3/krita/ui/imageviewer.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/imageviewer.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,6 +22,8 @@
#include
#include

+#include
+
class QLabel;

/**
@@ -30,7 +32,7 @@
* XXX: We should add a signal that emits newly eposed rects so the filters
* don't have to filter everything, but just the the new bits.
*/
-class ImageViewer : public QScrollView {
+class KRITAUI_EXPORT ImageViewer : public QScrollView {
Q_OBJECT

public:
diff -Nurd koffice-1.6.3/krita/ui/kis_canvas.h koffice-1.6.3-new/krita/ui/kis_canvas.h
--- koffice-1.6.3/krita/ui/kis_canvas.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_canvas.h 2010-07-23 04:28:22.000000000 -0400
@@ -35,6 +35,8 @@
#include "kis_vec.h"
#include "kis_input_device.h"

+#include
+
#ifdef Q_WS_X11

// Irix has a different (and better) XInput tablet driver to
@@ -276,7 +278,7 @@
#endif // Q_WS_X11
};

-class KisCanvas : public QObject {
+class KRITAUI_EXPORT KisCanvas : public QObject {
Q_OBJECT

public:
diff -Nurd koffice-1.6.3/krita/ui/kis_canvas_painter.h koffice-1.6.3-new/krita/ui/kis_canvas_painter.h
--- koffice-1.6.3/krita/ui/kis_canvas_painter.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_canvas_painter.h 2010-07-23 04:28:22.000000000 -0400
@@ -27,6 +27,8 @@

#include "kis_global.h"

+#include
+
class KisCanvas;
class KisCanvasWidget;

@@ -188,7 +190,7 @@
QWMatrix m_defaultWorldMatrix;
};

-class KisCanvasPainter {
+class KRITAUI_EXPORT KisCanvasPainter {
public:
KisCanvasPainter();
KisCanvasPainter(KisCanvas *canvas);
diff -Nurd koffice-1.6.3/krita/ui/kis_cmb_idlist.h koffice-1.6.3-new/krita/ui/kis_cmb_idlist.h
--- koffice-1.6.3/krita/ui/kis_cmb_idlist.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_cmb_idlist.h 2010-07-23 04:28:22.000000000 -0400
@@ -25,12 +25,14 @@

#include "kis_id.h"

+#include
+
/**
* A combobox that is associated with a list of KisID's. The
* descriptive (i18n'ed) text is displayed, but the various
* signals return a KisID.
*/
-class KisCmbIDList : public QComboBox
+class KRITAUI_EXPORT KisCmbIDList : public QComboBox
{
typedef QComboBox super;

diff -Nurd koffice-1.6.3/krita/ui/kis_filters_listview.h koffice-1.6.3-new/krita/ui/kis_filters_listview.h
--- koffice-1.6.3/krita/ui/kis_filters_listview.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_filters_listview.h 2010-07-23 04:28:22.000000000 -0400
@@ -31,6 +31,8 @@
#include "kis_paint_device.h"
#include "kis_thread.h"

+#include
+
class KisView;
class KisFilter;
class KisFilterConfiguration;
@@ -102,7 +104,7 @@
KisFiltersThumbnailThread * m_thread;
};

-class KisFiltersListView : public KIconView {
+class KRITAUI_EXPORT KisFiltersListView : public KIconView {

public:
explicit KisFiltersListView(QWidget * parent = 0, const char * name = 0, WFlags f = 0, bool filterForAdjustmentLayers = false);
diff -Nurd koffice-1.6.3/krita/ui/kis_histogram_view.h koffice-1.6.3-new/krita/ui/kis_histogram_view.h
--- koffice-1.6.3/krita/ui/kis_histogram_view.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_histogram_view.h 2010-07-23 04:28:22.000000000 -0400
@@ -28,6 +28,8 @@
#include "kis_histogram_producer.h"
#include "kis_histogram.h"

+#include
+
class KisChannelInfo;

/**
@@ -45,7 +47,7 @@
* some functionality will disappear, like listProducers(). Setting a histogram will discard
* info on the layer, and setting a layer will discard info on the histogram.
**/
-class KisHistogramView : public QLabel {
+class KRITAUI_EXPORT KisHistogramView : public QLabel {
Q_OBJECT
public:
KisHistogramView(QWidget *parent = 0, const char *name = 0, WFlags f = 0);
diff -Nurd koffice-1.6.3/krita/ui/kis_input_device.h koffice-1.6.3-new/krita/ui/kis_input_device.h
--- koffice-1.6.3/krita/ui/kis_input_device.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_input_device.h 2010-07-23 04:28:22.000000000 -0400
@@ -20,8 +20,9 @@
#define KIS_INPUT_DEVICE_H_

#include
+#include

-class KisInputDevice {
+class KRITAUI_EXPORT KisInputDevice {
public:
KisInputDevice();

diff -Nurd koffice-1.6.3/krita/ui/kis_int_spinbox.h koffice-1.6.3-new/krita/ui/kis_int_spinbox.h
--- koffice-1.6.3/krita/ui/kis_int_spinbox.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_int_spinbox.h 2010-07-23 04:28:22.000000000 -0400
@@ -27,12 +27,14 @@

#include

+#include
+
class QLabel;
class QLineEdit;
class QLayout;
class QValidator;

-class KisPopupSlider : public QPopupMenu {
+class KRITAUI_EXPORT KisPopupSlider : public QPopupMenu {
Q_OBJECT

public:
@@ -70,7 +72,7 @@
*
*
*/
-class KisIntSpinbox : public QWidget
+class KRITAUI_EXPORT KisIntSpinbox : public QWidget
{

Q_OBJECT
diff -Nurd koffice-1.6.3/krita/ui/kis_matrix_widget.ui koffice-1.6.3-new/krita/ui/kis_matrix_widget.ui
--- koffice-1.6.3/krita/ui/kis_matrix_widget.ui 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_matrix_widget.ui 2010-07-23 04:28:22.000000000 -0400
@@ -4,6 +4,7 @@

KisMatrixWidget

+ KRITAUI_EXPORT


0
@@ -199,6 +200,7 @@


kis_matrix_widget.ui.h
+ koffice_export.h


valueChanged()
diff -Nurd koffice-1.6.3/krita/ui/kis_perspective_grid_manager.h koffice-1.6.3-new/krita/ui/kis_perspective_grid_manager.h
--- koffice-1.6.3/krita/ui/kis_perspective_grid_manager.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_perspective_grid_manager.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,13 +22,14 @@
#define KIS_PERSPECTIVE_GRID_MANAGER_H

#include
+#include

class KAction;
class KActionCollection;
class KToggleAction;
class KisView;

-class KisPerspectiveGridManager : public QObject
+class KRITA_EXPORT KisPerspectiveGridManager : public QObject
{
Q_OBJECT
public:
diff -Nurd koffice-1.6.3/krita/ui/kis_previewwidget.h koffice-1.6.3-new/krita/ui/kis_previewwidget.h
--- koffice-1.6.3/krita/ui/kis_previewwidget.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_previewwidget.h 2010-07-23 04:28:22.000000000 -0400
@@ -30,6 +30,8 @@

#include "kis_previewwidgetbase.h"

+#include
+
class QWidget;
class KisProfile;
class KisFilter;
@@ -45,7 +47,7 @@
* (maybe not those that create a new image) would use this. This can prevent the distracting
* effect the GIMP has with a different preview for almost every filter.
*/
-class KisPreviewWidget : public PreviewWidgetBase
+class KRITAUI_EXPORT KisPreviewWidget : public PreviewWidgetBase
{
Q_OBJECT

diff -Nurd koffice-1.6.3/krita/ui/kis_resourceserver.h koffice-1.6.3-new/krita/ui/kis_resourceserver.h
--- koffice-1.6.3/krita/ui/kis_resourceserver.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_resourceserver.h 2010-07-23 04:28:22.000000000 -0400
@@ -27,9 +27,11 @@

#include "kis_generic_registry.h"

+#include
+
class KisResource;

-class KisResourceServerBase : public QObject {
+class KRITAUI_EXPORT KisResourceServerBase : public QObject {
Q_OBJECT
public:
KisResourceServerBase(QString type);
@@ -56,7 +58,7 @@
};


-template class KisResourceServer : public KisResourceServerBase {
+template class KRITAUI_EXPORT KisResourceServer : public KisResourceServerBase {
typedef KisResourceServerBase super;

public:
@@ -70,7 +72,7 @@



-class KisResourceServerRegistry : public KisGenericRegistry
+class KRITAUI_EXPORT KisResourceServerRegistry : public KisGenericRegistry
{

public:
diff -Nurd koffice-1.6.3/krita/ui/kis_tool.h koffice-1.6.3-new/krita/ui/kis_tool.h
--- koffice-1.6.3/krita/ui/kis_tool.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/kis_tool.h 2010-07-23 04:28:22.000000000 -0400
@@ -29,6 +29,8 @@
#include "kis_shared_ptr_vector.h"
#include "kis_canvas_observer.h"

+#include
+
class QCursor;
class QEvent;
class QKeyEvent;
@@ -58,7 +60,7 @@

const Q_UINT8 NUMBER_OF_TOOLTYPES = 6;

-class KisTool : public QObject, public KisCanvasObserver, public KShared {
+class KRITAUI_EXPORT KisTool : public QObject, public KisCanvasObserver, public KShared {
Q_OBJECT

public:
diff -Nurd koffice-1.6.3/krita/ui/squeezedcombobox.h koffice-1.6.3-new/krita/ui/squeezedcombobox.h
--- koffice-1.6.3/krita/ui/squeezedcombobox.h 2007-05-30 17:41:33.000000000 -0400
+++ koffice-1.6.3-new/krita/ui/squeezedcombobox.h 2010-07-23 04:28:22.000000000 -0400
@@ -30,6 +30,8 @@
#include
#include

+#include
+
class SqueezedComboBox;

/** @class SqueezedComboBoxTip
@@ -79,7 +81,7 @@
* @image html squeezedcombobox.png "This is how it looks"
* @author Tom Albers
*/
-class SqueezedComboBox : public QComboBox
+class KRITAUI_EXPORT SqueezedComboBox : public QComboBox
{
Q_OBJECT

diff -Nurd koffice-1.6.3/kspread/kspread_factory.h koffice-1.6.3-new/kspread/kspread_factory.h
--- koffice-1.6.3/kspread/kspread_factory.h 2007-05-30 17:43:29.000000000 -0400
+++ koffice-1.6.3-new/kspread/kspread_factory.h 2010-07-23 04:28:22.000000000 -0400
@@ -28,7 +28,7 @@
namespace KSpread
{

-class Factory : public KoFactory
+class KSPREAD_EXPORT Factory : public KoFactory
{
Q_OBJECT
public:
diff -Nurd koffice-1.6.3/kspread/kspread_util.h koffice-1.6.3-new/kspread/kspread_util.h
--- koffice-1.6.3/kspread/kspread_util.h 2007-05-30 17:43:29.000000000 -0400
+++ koffice-1.6.3-new/kspread/kspread_util.h 2010-07-23 04:28:22.000000000 -0400
@@ -318,11 +318,11 @@
QPen util_toPen( QDomElement & element );
int util_penCompare( QPen const & pen1, QPen const & pen2 );

-QString convertRefToRange( const QString & sheet, const QRect & rect );
-QString convertRefToBase( const QString & sheet, const QRect & rect );
-QString convertRangeToRef( const QString & sheetName, const QRect & _area );
+KSPREAD_EXPORT QString convertRefToRange( const QString & sheet, const QRect & rect );
+KSPREAD_EXPORT QString convertRefToBase( const QString & sheet, const QRect & rect );
+KSPREAD_EXPORT QString convertRangeToRef( const QString & sheetName, const QRect & _area );

-void insertBracket( QString & s );
+KSPREAD_EXPORT void insertBracket( QString & s );
QString convertOasisPenToString( const QPen & pen );
QPen convertOasisStringToPen( const QString &str );

diff -Nurd koffice-1.6.3/kspread/manipulator_data.h koffice-1.6.3-new/kspread/manipulator_data.h
--- koffice-1.6.3/kspread/manipulator_data.h 2007-05-30 17:43:29.000000000 -0400
+++ koffice-1.6.3-new/kspread/manipulator_data.h 2010-07-23 04:28:22.000000000 -0400
@@ -24,6 +24,7 @@
#include "manipulator.h"
#include "kspread_global.h"
#include "kspread_value.h"
+#include

namespace KSpread {

@@ -63,7 +64,7 @@
* If multiple ranges are selected, they all get set to the same values
*/

-class DataManipulator : public AbstractDataManipulator {
+class KSPREAD_EXPORT DataManipulator : public AbstractDataManipulator {
public:
DataManipulator ();
virtual ~DataManipulator ();
@@ -97,7 +98,7 @@

/** class ProtectedCheck can be used to check, whether a particular
range is protected or not */
-class ProtectedCheck : public Region {
+class KSPREAD_EXPORT ProtectedCheck : public Region {
public:
ProtectedCheck ();
virtual ~ProtectedCheck ();
diff -Nurd koffice-1.6.3/kspread/selection.h koffice-1.6.3-new/kspread/selection.h
--- koffice-1.6.3/kspread/selection.h 2007-05-30 17:43:29.000000000 -0400
+++ koffice-1.6.3-new/kspread/selection.h 2010-07-23 04:28:22.000000000 -0400
@@ -31,7 +31,7 @@
{
class View;

-class Selection : public QObject, public Region
+class KSPREAD_EXPORT Selection : public QObject, public Region
{
Q_OBJECT
public:
diff -Nurd koffice-1.6.3/kugar/kudesigner/Makefile.am koffice-1.6.3-new/kugar/kudesigner/Makefile.am
--- koffice-1.6.3/kugar/kudesigner/Makefile.am 2007-05-30 17:39:51.000000000 -0400
+++ koffice-1.6.3-new/kugar/kudesigner/Makefile.am 2010-07-23 04:28:22.000000000 -0400
@@ -8,7 +8,7 @@
lib_LTLIBRARIES = libkudesignercore.la
libkudesignercore_la_SOURCES = kudesigner_view.cpp kudesigner_factory.cpp \
kudesigner_doc.cpp
-libkudesignercore_la_LDFLAGS = -avoid-version $(all_libraries) $(KDE_RPATH) -no-undefined
+libkudesignercore_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined
libkudesignercore_la_LIBADD = ../kudesigner_lib/libkudesignercommon.la $(LIB_KOFFICEUI) $(LIB_KPARTS) $(LIB_KOFFICECORE) $(LIB_KOPROPERTY) $(LIB_KIO) $(LIB_KDEPRINT)

## The part
diff -Nurd koffice-1.6.3/kugar/lib/Makefile.am koffice-1.6.3-new/kugar/lib/Makefile.am
--- koffice-1.6.3/kugar/lib/Makefile.am 2007-05-30 17:39:53.000000000 -0400
+++ koffice-1.6.3-new/kugar/lib/Makefile.am 2010-07-23 05:13:26.000000000 -0400
@@ -2,7 +2,7 @@

METASOURCES = AUTO

-libkugarlib_la_LIBADD = $(LIB_QT) $(LIB_KDEPRINT)
+libkugarlib_la_LIBADD = $(LIB_QT) $(LIB_KDEPRINT) $(LIB_KDECORE) $(LIB_KDEUI)

libkugarlib_la_LDFLAGS = $(all_libraries) -version-info 1:2 -no-undefined

diff -Nurd koffice-1.6.3/kword/KWFactory.h koffice-1.6.3-new/kword/KWFactory.h
--- koffice-1.6.3/kword/KWFactory.h 2007-05-30 17:34:52.000000000 -0400
+++ koffice-1.6.3-new/kword/KWFactory.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,10 +21,11 @@
#define KWORD_FACTORY_H

#include
+#include

class KAboutData;

-class KWFactory : public KoFactory
+class KWORD_EXPORT KWFactory : public KoFactory
{
Q_OBJECT
public:
diff -Nurd koffice-1.6.3/kword/mailmerge/kabc/Makefile.am koffice-1.6.3-new/kword/mailmerge/kabc/Makefile.am
--- koffice-1.6.3/kword/mailmerge/kabc/Makefile.am 2007-05-30 17:34:42.000000000 -0400
+++ koffice-1.6.3-new/kword/mailmerge/kabc/Makefile.am 2010-07-24 12:36:05.000000000 -0400
@@ -8,7 +8,7 @@
## Plugin encapsulating the QT SQL database interface
kwmailmerge_kabc_la_SOURCES = KWMailMergeKABC.cpp KWMailMergeKABCConfig.cpp addresspicker.ui
kwmailmerge_kabc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kwmailmerge_kabc_la_LIBADD = ../../libkwmailmerge_interface.la $(LIB_KDEUI) $(LIB_KABC)
+kwmailmerge_kabc_la_LIBADD = ../../libkwmailmerge_interface.la $(LIB_KDEUI) $(LIB_KABC) $(LIB_KDECORE)

METASOURCES = AUTO

diff -Nurd koffice-1.6.3/kword/mailmerge/sql/Makefile.am koffice-1.6.3-new/kword/mailmerge/sql/Makefile.am
--- koffice-1.6.3/kword/mailmerge/sql/Makefile.am 2007-05-30 17:34:42.000000000 -0400
+++ koffice-1.6.3-new/kword/mailmerge/sql/Makefile.am 2010-07-24 12:37:57.000000000 -0400
@@ -7,13 +7,13 @@
kwmailmerge_qtsqldb_la_SOURCES = KWQtSqlSerialDataSource.cpp qtsqldatasourceeditor.ui \
KWQtSqlEasyFilter.cpp
kwmailmerge_qtsqldb_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kwmailmerge_qtsqldb_la_LIBADD = libmailmergesqlcommon.la ../../libkwmailmerge_interface.la $(LIB_KDEUI)
+kwmailmerge_qtsqldb_la_LIBADD = libmailmergesqlcommon.la ../../libkwmailmerge_interface.la $(LIB_KDEUI) $(LIB_KDECORE)
kwmailmerge_qtsqldb_la_COMPILE_FIRST = qtsqlopenwidget.h

## 2. Plugin encapsulating the QT SQL database interface
kwmailmerge_qtsqldb_power_la_SOURCES = KWQtSqlPowerSerialDataSource.cpp kwqtsqlpower.ui KWQtSqlPowerSerialDataSource.skel
kwmailmerge_qtsqldb_power_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-kwmailmerge_qtsqldb_power_la_LIBADD = libmailmergesqlcommon.la ../../libkwmailmerge_interface.la $(LIB_KDEUI)
+kwmailmerge_qtsqldb_power_la_LIBADD = libmailmergesqlcommon.la ../../libkwmailmerge_interface.la $(LIB_KDEUI) $(LIB_KDECORE)
kwmailmerge_qtsqldb_power_la_COMPILE_FIRST = qtsqlopenwidget.h

# Common files
diff -Nurd koffice-1.6.3/lib/configure.in.in koffice-1.6.3-new/lib/configure.in.in
--- koffice-1.6.3/lib/configure.in.in 2007-05-30 17:38:54.000000000 -0400
+++ koffice-1.6.3-new/lib/configure.in.in 2010-07-23 04:28:22.000000000 -0400
@@ -8,7 +8,7 @@
AC_SUBST(KFORMULA_INCLUDES, '-I$(top_srcdir)/lib/kformula -I$(top_builddir)/lib/kformula')
dnl those are included with e.g.
AC_SUBST(KOPROPERTY_INCLUDES, '-I$(top_srcdir)/lib -I$(top_builddir)/lib')
-AC_SUBST(KROSS_INCLUDES, '-I$(top_srcdir)/lib/kross -I$(top_builddir)/lib/kross')
+AC_SUBST(KROSS_INCLUDES, '-I$(top_srcdir)/lib/kross -I$(top_builddir)/lib/kross $(KOFFICECORE_INCLUDES)')
AC_SUBST(LIB_KOFFICEUI, '$(top_builddir)/lib/kofficeui/libkofficeui.la')
AC_SUBST(LIB_KOFFICECORE, '$(top_builddir)/lib/kofficecore/libkofficecore.la')
AC_SUBST(LIB_KSTORE, '$(top_builddir)/lib/store/libkstore.la')
diff -Nurd koffice-1.6.3/lib/kofficecore/KoTemplates.h koffice-1.6.3-new/lib/kofficecore/KoTemplates.h
--- koffice-1.6.3/lib/kofficecore/KoTemplates.h 2007-05-30 17:38:15.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficecore/KoTemplates.h 2010-07-23 04:28:22.000000000 -0400
@@ -105,7 +105,7 @@
};


-class KoTemplateTree {
+class KOFFICECORE_EXPORT KoTemplateTree {

public:
KoTemplateTree(const QCString &templateType, KInstance *instance,
@@ -144,7 +144,7 @@


namespace KoTemplates {
-QString stripWhiteSpace(const QString &string);
+KOFFICECORE_EXPORT QString stripWhiteSpace(const QString &string);
}

#endif
diff -Nurd koffice-1.6.3/lib/kofficecore/Makefile.am koffice-1.6.3-new/lib/kofficecore/Makefile.am
--- koffice-1.6.3/lib/kofficecore/Makefile.am 2007-05-30 17:38:15.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficecore/Makefile.am 2010-07-23 04:43:21.000000000 -0400
@@ -4,7 +4,7 @@
KDE_CXXFLAGS = $(USE_RTTI) $(WOVERLOADED_VIRTUAL)
INCLUDES= $(KSTORE_INCLUDES) $(KWMF_INCLUDES) $(all_includes)
libkofficecore_la_LIBADD = $(LIB_KSTORE) $(LIB_KOWMF) $(LIB_KPARTS) \
- $(LIB_KDEPRINT) $(LIB_KABC) $(LIB_KWMF)
+ $(LIB_KDEPRINT) $(LIB_KABC) $(LIB_KWMF) $(LIB_X11) -lDCOP

####### Files

diff -Nurd koffice-1.6.3/lib/kofficecore/koffice_export.h koffice-1.6.3-new/lib/kofficecore/koffice_export.h
--- koffice-1.6.3/lib/kofficecore/koffice_export.h 2007-05-30 17:38:15.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficecore/koffice_export.h 2010-07-23 04:28:22.000000000 -0400
@@ -134,6 +134,7 @@
# endif
#endif

+#define KROSS_EXPORT KDE_EXPORT
#define KPRESENTER_EXPORT KDE_EXPORT
#define KCHART_EXPORT KDE_EXPORT
#define KDCHART_EXPORT KDE_EXPORT
@@ -168,6 +169,7 @@
/* kdemacros is OK, we can use gcc visibility macros */
#define KOFFICECORE_EXPORT KOFFICE_EXPORT
#define KOFFICEUI_EXPORT KOFFICE_EXPORT
+#define KROSS_EXPORT KOFFICE_EXPORT
#define KOPALETTE_EXPORT KOFFICE_EXPORT
#define KOTEXT_EXPORT KOFFICE_EXPORT
#define KOFORMULA_EXPORT KOFFICE_EXPORT
diff -Nurd koffice-1.6.3/lib/kofficeui/KoBrush.h koffice-1.6.3-new/lib/kofficeui/KoBrush.h
--- koffice-1.6.3/lib/kofficeui/KoBrush.h 2007-05-30 17:38:40.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficeui/KoBrush.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,6 +22,7 @@
#define KOBRUSH_H

#include
+#include

class KoGenStyle;
class KoGenStyles;
@@ -47,7 +48,7 @@
FT_GRADIENT = 1
};

-class KoBrush
+class KOFFICEUI_EXPORT KoBrush
{
public:
KoBrush();
diff -Nurd koffice-1.6.3/lib/kofficeui/KoGeneralPropertyUi.ui koffice-1.6.3-new/lib/kofficeui/KoGeneralPropertyUi.ui
--- koffice-1.6.3/lib/kofficeui/KoGeneralPropertyUi.ui 2007-05-30 17:38:40.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficeui/KoGeneralPropertyUi.ui 2010-07-23 04:28:22.000000000 -0400
@@ -4,6 +4,7 @@

KoGeneralPropertyUI

+ KOFFICEUI_EXPORT


0
@@ -190,4 +191,7 @@



+
+ koffice_export.h
+


diff -Nurd koffice-1.6.3/lib/kofficeui/KoGuideLineDia.h koffice-1.6.3-new/lib/kofficeui/KoGuideLineDia.h
--- koffice-1.6.3/lib/kofficeui/KoGuideLineDia.h 2007-05-30 17:38:40.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficeui/KoGuideLineDia.h 2010-07-23 04:28:22.000000000 -0400
@@ -27,6 +27,7 @@
#include "KoRect.h"
#include "KoPoint.h"

+#include

class KoUnitDoubleSpinBox;
class QRadioButton;
@@ -34,7 +35,7 @@
/**
* @brief Class for setting a guide line position.
*/
-class KoGuideLineDia : public KDialogBase
+class KOFFICEUI_EXPORT KoGuideLineDia : public KDialogBase
{
Q_OBJECT
public:
diff -Nurd koffice-1.6.3/lib/kofficeui/KoPageLayoutColumns.h koffice-1.6.3-new/lib/kofficeui/KoPageLayoutColumns.h
--- koffice-1.6.3/lib/kofficeui/KoPageLayoutColumns.h 2007-05-30 17:38:40.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficeui/KoPageLayoutColumns.h 2010-07-23 04:28:22.000000000 -0400
@@ -25,6 +25,7 @@
#include
#include
#include
+#include

class QWidget;
class KoUnitDoubleSpinBox;
@@ -33,7 +34,7 @@
/**
* This class is a widget that shows the KoColumns data structure and allows the user to change it.
*/
-class KoPageLayoutColumns : public KoPageLayoutColumnsBase {
+class KOFFICEUI_EXPORT KoPageLayoutColumns : public KoPageLayoutColumnsBase {
Q_OBJECT

public:
diff -Nurd koffice-1.6.3/lib/kofficeui/KoPageLayoutSize.h koffice-1.6.3-new/lib/kofficeui/KoPageLayoutSize.h
--- koffice-1.6.3/lib/kofficeui/KoPageLayoutSize.h 2007-05-30 17:38:40.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficeui/KoPageLayoutSize.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,6 +26,7 @@
#include
#include
#include
+#include

class QComboBox;
class KoUnitDoubleSpinBox;
@@ -34,7 +35,7 @@
/**
* This class is a widget that shows the KoPageLayout data structure and allows the user to change it.
*/
-class KoPageLayoutSize : public QWidget {
+class KOFFICEUI_EXPORT KoPageLayoutSize : public QWidget {
Q_OBJECT

public:
diff -Nurd koffice-1.6.3/lib/kofficeui/KoPen.h koffice-1.6.3-new/lib/kofficeui/KoPen.h
--- koffice-1.6.3/lib/kofficeui/KoPen.h 2007-05-30 17:38:40.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficeui/KoPen.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,13 +21,14 @@
#define KOPEN_H

#include
+#include

class KoZoomHandler;

/**
* Pen that handles line widths in points
*/
-class KoPen : public QPen
+class KOFFICEUI_EXPORT KoPen : public QPen
{
public:
KoPen();
diff -Nurd koffice-1.6.3/lib/kofficeui/Makefile.am koffice-1.6.3-new/lib/kofficeui/Makefile.am
--- koffice-1.6.3/lib/kofficeui/Makefile.am 2007-05-30 17:38:40.000000000 -0400
+++ koffice-1.6.3-new/lib/kofficeui/Makefile.am 2010-07-23 04:45:25.000000000 -0400
@@ -26,7 +26,7 @@
KoPageLayoutHeaderBase.ui KoPageLayoutHeader.cpp KoPen.cpp KoZoomMode.cpp

libkofficeui_la_LDFLAGS = -version-info 3:0:0 -no-undefined $(all_libraries)
-libkofficeui_la_LIBADD = $(LIB_KOFFICECORE)
+libkofficeui_la_LIBADD = $(LIB_KOFFICECORE) -lkdefx

include_HEADERS = \
KoPageLayoutDia.h KoZoomAction.h KoTabBar.h \
diff -Nurd koffice-1.6.3/lib/kopainter/ko_gray_widget.h koffice-1.6.3-new/lib/kopainter/ko_gray_widget.h
--- koffice-1.6.3/lib/kopainter/ko_gray_widget.h 2007-05-30 17:38:30.000000000 -0400
+++ koffice-1.6.3-new/lib/kopainter/ko_gray_widget.h 2010-07-23 04:28:22.000000000 -0400
@@ -32,7 +32,7 @@
class QSpinBox;
class KDualColorButton;

-class KoGrayWidget
+class KOPAINTER_EXPORT KoGrayWidget
: public QWidget
{
Q_OBJECT
diff -Nurd koffice-1.6.3/lib/kopainter/ko_hsv_widget.h koffice-1.6.3-new/lib/kopainter/ko_hsv_widget.h
--- koffice-1.6.3/lib/kopainter/ko_hsv_widget.h 2007-05-30 17:38:30.000000000 -0400
+++ koffice-1.6.3-new/lib/kopainter/ko_hsv_widget.h 2010-07-23 04:28:22.000000000 -0400
@@ -35,7 +35,7 @@
class QLabel;
class QSpinBox;

-class KoHSVWidget
+class KOPAINTER_EXPORT KoHSVWidget
: public QWidget
{
Q_OBJECT
diff -Nurd koffice-1.6.3/lib/kopainter/ko_rgb_widget.h koffice-1.6.3-new/lib/kopainter/ko_rgb_widget.h
--- koffice-1.6.3/lib/kopainter/ko_rgb_widget.h 2007-05-30 17:38:30.000000000 -0400
+++ koffice-1.6.3-new/lib/kopainter/ko_rgb_widget.h 2010-07-23 04:28:22.000000000 -0400
@@ -34,7 +34,7 @@
class KoColorSlider;
class QColor;

-class KoRGBWidget
+class KOPAINTER_EXPORT KoRGBWidget
: public QWidget
{
Q_OBJECT
diff -Nurd koffice-1.6.3/lib/koproperty/Makefile.am koffice-1.6.3-new/lib/koproperty/Makefile.am
--- koffice-1.6.3/lib/koproperty/Makefile.am 2007-05-30 17:38:54.000000000 -0400
+++ koffice-1.6.3-new/lib/koproperty/Makefile.am 2010-07-23 04:42:29.000000000 -0400
@@ -2,7 +2,7 @@

lib_LTLIBRARIES = libkoproperty.la

-libkoproperty_la_LIBADD = $(LIB_KDEUI) ./editors/libkopropertyeditors.la
+libkoproperty_la_LIBADD = $(LIB_KDEUI) ./editors/libkopropertyeditors.la $(LIB_QT) $(LIB_KDECORE)
libkoproperty_la_LDFLAGS = -no-undefined $(all_libraries) -version-info 2:0:0
libkoproperty_la_SOURCES = property.cpp customproperty.cpp set.cpp editor.cpp \
editoritem.cpp factory.cpp widget.cpp
diff -Nurd koffice-1.6.3/lib/kotext/KoParagDia_p.h koffice-1.6.3-new/lib/kotext/KoParagDia_p.h
--- koffice-1.6.3/lib/kotext/KoParagDia_p.h 2007-05-30 17:38:51.000000000 -0400
+++ koffice-1.6.3-new/lib/kotext/KoParagDia_p.h 2010-07-23 04:28:22.000000000 -0400
@@ -26,6 +26,8 @@
#include
#include
#include
+#include
+
class QWidget;
class QPainter;

@@ -110,7 +112,7 @@
/* class KoBorderPreview */
/******************************************************************/

-class KoBorderPreview : public QFrame/*QGroupBox*/
+class KOTEXT_EXPORT KoBorderPreview : public QFrame/*QGroupBox*/
{
Q_OBJECT

diff -Nurd koffice-1.6.3/lib/kross/api/callable.h koffice-1.6.3-new/lib/kross/api/callable.h
--- koffice-1.6.3/lib/kross/api/callable.h 2007-05-30 17:38:34.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/callable.h 2010-07-23 04:28:22.000000000 -0400
@@ -36,7 +36,7 @@
* and implement the \a Object::call() method to handle
* the call.
*/
- class Callable : public Object
+ class KDE_EXPORT Callable : public Object
{
public:

diff -Nurd koffice-1.6.3/lib/kross/api/dict.h koffice-1.6.3-new/lib/kross/api/dict.h
--- koffice-1.6.3/lib/kross/api/dict.h 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/dict.h 2010-07-23 04:28:22.000000000 -0400
@@ -32,7 +32,7 @@
* The Dict class implementates \a Value to handle
* key=value base dictonaries/maps.
*/
- class Dict : public Value< List, QMap >
+ class KDE_EXPORT Dict : public Value< List, QMap >
{
friend class Value< List, QMap >;
public:
diff -Nurd koffice-1.6.3/lib/kross/api/eventaction.h koffice-1.6.3-new/lib/kross/api/eventaction.h
--- koffice-1.6.3/lib/kross/api/eventaction.h 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/eventaction.h 2010-07-23 04:28:22.000000000 -0400
@@ -37,7 +37,7 @@
* into the Kross object hierachy and provide access to
* them.
*/
- class EventAction : public Event
+ class KDE_EXPORT EventAction : public Event
{

public:
diff -Nurd koffice-1.6.3/lib/kross/api/eventsignal.h koffice-1.6.3-new/lib/kross/api/eventsignal.h
--- koffice-1.6.3/lib/kross/api/eventsignal.h 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/eventsignal.h 2010-07-23 04:28:22.000000000 -0400
@@ -38,7 +38,7 @@
* instance and a functionname is represented with
* a EventSignal and handled by \a EventManager.
*/
- class EventSignal : public Event
+ class KDE_EXPORT EventSignal : public Event
{
public:

diff -Nurd koffice-1.6.3/lib/kross/api/eventslot.h koffice-1.6.3-new/lib/kross/api/eventslot.h
--- koffice-1.6.3/lib/kross/api/eventslot.h 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/eventslot.h 2010-07-23 04:28:22.000000000 -0400
@@ -33,7 +33,7 @@
* instance and a functionname is represented with
* a EventSlot and handled by the \a EventManager.
*/
- class EventSlot : public Event
+ class KDE_EXPORT EventSlot : public Event
{
public:

diff -Nurd koffice-1.6.3/lib/kross/api/exception.h koffice-1.6.3-new/lib/kross/api/exception.h
--- koffice-1.6.3/lib/kross/api/exception.h 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/exception.h 2010-07-23 04:28:22.000000000 -0400
@@ -35,7 +35,7 @@
* exceptions. Those exceptions are inherited from \a Object
* and therefore they are first class citizens in Kross.
*/
- class Exception : public Object
+ class KDE_EXPORT Exception : public Object
{
public:

diff -Nurd koffice-1.6.3/lib/kross/api/interpreter.h koffice-1.6.3-new/lib/kross/api/interpreter.h
--- koffice-1.6.3/lib/kross/api/interpreter.h 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/interpreter.h 2010-07-23 04:28:22.000000000 -0400
@@ -38,7 +38,7 @@
* is used to provide some abstract informations about each interpreter
* we are able to use within the \a Manager singelton.
*/
- class InterpreterInfo
+ class KDE_EXPORT InterpreterInfo
{
public:

@@ -159,7 +159,7 @@
* The Interpreter will be managed by the \a Kross::Manager
* class.
*/
- class Interpreter
+ class KDE_EXPORT Interpreter
{
public:

diff -Nurd koffice-1.6.3/lib/kross/api/list.h koffice-1.6.3-new/lib/kross/api/list.h
--- koffice-1.6.3/lib/kross/api/list.h 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/list.h 2010-07-23 04:28:22.000000000 -0400
@@ -33,7 +33,7 @@
* The List class implementates \a Value to handle
* lists and collections.
*/
- class List : public Value< List, QValueList >
+ class KDE_EXPORT List : public Value< List, QValueList >
{
friend class Value< List, QValueList >;
public:
diff -Nurd koffice-1.6.3/lib/kross/api/object.h koffice-1.6.3-new/lib/kross/api/object.h
--- koffice-1.6.3/lib/kross/api/object.h 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/object.h 2010-07-23 04:28:22.000000000 -0400
@@ -47,7 +47,7 @@
* This class implementates reference counting for shared
* objects. So, no need to take care of freeing objects.
*/
- class Object : public KShared
+ class KDE_EXPORT Object : public KShared
{
public:

diff -Nurd koffice-1.6.3/lib/kross/api/qtobject.h koffice-1.6.3-new/lib/kross/api/qtobject.h
--- koffice-1.6.3/lib/kross/api/qtobject.h 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/qtobject.h 2010-07-23 04:28:22.000000000 -0400
@@ -42,7 +42,7 @@
* This class publishs all SIGNAL's, SLOT's and Q_PROPERTY's
* the QObject has.
*/
- class QtObject : public Kross::Api::Class
+ class KDE_EXPORT QtObject : public Kross::Api::Class
{
public:

diff -Nurd koffice-1.6.3/lib/kross/api/script.h koffice-1.6.3-new/lib/kross/api/script.h
--- koffice-1.6.3/lib/kross/api/script.h 2007-05-30 17:38:34.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/script.h 2010-07-23 04:28:22.000000000 -0400
@@ -42,7 +42,7 @@
* that implements the \a Script functionality for the
* defined \a Interpreter .
*/
- class Script
+ class KDE_EXPORT Script
{
public:

diff -Nurd koffice-1.6.3/lib/kross/api/variant.h koffice-1.6.3-new/lib/kross/api/variant.h
--- koffice-1.6.3/lib/kross/api/variant.h 2007-05-30 17:38:34.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/api/variant.h 2010-07-23 04:28:22.000000000 -0400
@@ -35,7 +35,7 @@
* Variant value to wrap a QVariant into a \a Kross::Api::Value
* to enable primitive types like strings or numerics.
*/
- class Variant : public Value
+ class KDE_EXPORT Variant : public Value
{
friend class Value;
public:
diff -Nurd koffice-1.6.3/lib/kross/configure.in.in koffice-1.6.3-new/lib/kross/configure.in.in
--- koffice-1.6.3/lib/kross/configure.in.in 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/configure.in.in 2010-07-23 04:28:22.000000000 -0400
@@ -14,8 +14,8 @@

# Compile the Kross python plugin only if both, $LIBPYTHON and
# $PYTHONINC, are defined.
-AM_CONDITIONAL(compile_kross_python,
- test -n "$LIBPYTHON" && test -n "$PYTHONINC")
+AM_CONDITIONAL(compile_kross_python, false)
+# test -n "$LIBPYTHON" && test -n "$PYTHONINC")

###############################
# Check for Ruby
diff -Nurd koffice-1.6.3/lib/kross/main/krossconfig.h koffice-1.6.3-new/lib/kross/main/krossconfig.h
--- koffice-1.6.3/lib/kross/main/krossconfig.h 2007-05-30 17:38:34.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/main/krossconfig.h 2010-07-23 04:28:22.000000000 -0400
@@ -21,6 +21,7 @@
#define KROSS_MAIN_KROSSCONFIG_H

#include
+#include

/**
* The Kross scripting bridge to embed scripting functionality
@@ -57,12 +58,12 @@
/**
* Debugging function.
*/
- void krossdebug(const QString &s);
+ KROSS_EXPORT void krossdebug(const QString &s);

/**
* Warning function.
*/
- void krosswarning(const QString &s);
+ KROSS_EXPORT void krosswarning(const QString &s);

#else
// Define these to an empty statement if debugging is disabled.
diff -Nurd koffice-1.6.3/lib/kross/main/mainmodule.h koffice-1.6.3-new/lib/kross/main/mainmodule.h
--- koffice-1.6.3/lib/kross/main/mainmodule.h 2007-05-30 17:38:34.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/main/mainmodule.h 2010-07-23 04:28:22.000000000 -0400
@@ -50,7 +50,7 @@
* for a root node in a tree of \a Kross::Api::Object
* instances.
*/
- class MainModule : public Module
+ class KDE_EXPORT MainModule : public Module
{
public:

diff -Nurd koffice-1.6.3/lib/kross/main/scriptaction.h koffice-1.6.3-new/lib/kross/main/scriptaction.h
--- koffice-1.6.3/lib/kross/main/scriptaction.h 2007-05-30 17:38:34.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/main/scriptaction.h 2010-07-23 04:28:22.000000000 -0400
@@ -25,6 +25,8 @@

#include "scriptcontainer.h"

+#include
+
namespace Kross { namespace Api {

// Forward declarations.
@@ -36,7 +38,7 @@
* A ScriptAction extends a KAction by providing a wrapper around
* a \a ScriptContainer to execute scripting code on activation.
*/
- class ScriptAction
+ class KROSS_EXPORT ScriptAction
: public KAction
, public Kross::Api::ScriptContainer
{
diff -Nurd koffice-1.6.3/lib/kross/main/scriptcontainer.h koffice-1.6.3-new/lib/kross/main/scriptcontainer.h
--- koffice-1.6.3/lib/kross/main/scriptcontainer.h 2007-05-30 17:38:34.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/main/scriptcontainer.h 2010-07-23 04:28:22.000000000 -0400
@@ -47,7 +47,7 @@
* The class \a ScriptAction provides a higher level class
* to work with a \a ScriptContainer instances.
*/
- class ScriptContainer : public MainModule
+ class KDE_EXPORT ScriptContainer : public MainModule
{
// We protected the constructor cause ScriptContainer
// instances should be created only within the
diff -Nurd koffice-1.6.3/lib/kross/main/wdgscriptsmanager.h koffice-1.6.3-new/lib/kross/main/wdgscriptsmanager.h
--- koffice-1.6.3/lib/kross/main/wdgscriptsmanager.h 2007-05-30 17:38:34.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/main/wdgscriptsmanager.h 2010-07-23 04:28:22.000000000 -0400
@@ -22,6 +22,8 @@
#include "main/scriptaction.h"
#include "main/wdgscriptsmanagerbase.h"

+#include
+
class Scripting;

namespace Kross { namespace Api {
@@ -32,7 +34,7 @@
/**
@author Cyrille Berger
*/
-class WdgScriptsManager : public WdgScriptsManagerBase
+class KROSS_EXPORT WdgScriptsManager : public WdgScriptsManagerBase
{
Q_OBJECT
public:
diff -Nurd koffice-1.6.3/lib/kross/ruby/Makefile.am koffice-1.6.3-new/lib/kross/ruby/Makefile.am
--- koffice-1.6.3/lib/kross/ruby/Makefile.am 2007-05-30 17:38:32.000000000 -0400
+++ koffice-1.6.3-new/lib/kross/ruby/Makefile.am 2010-07-23 04:28:22.000000000 -0400
@@ -1,6 +1,6 @@
include $(top_srcdir)/lib/kross/Makefile.global

-INCLUDES = -I$(top_srcdir)/lib/kross -I$(RUBY_INCLUDEDIR) $(all_includes)
+INCLUDES = $(KROSS_INCLUDES) -I$(RUBY_INCLUDEDIR) $(all_includes)
METASOURCES = AUTO
kde_module_LTLIBRARIES = krossruby.la

diff -Nurd koffice-1.6.3/lib/kwmf/Makefile.am koffice-1.6.3-new/lib/kwmf/Makefile.am
--- koffice-1.6.3/lib/kwmf/Makefile.am 2007-05-30 17:38:35.000000000 -0400
+++ koffice-1.6.3-new/lib/kwmf/Makefile.am 2010-07-23 04:35:27.000000000 -0400
@@ -3,7 +3,7 @@
INCLUDES= $(KOFFICECORE_INCLUDES) -I$(srcdir) $(all_includes)
libkwmf_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 -no-undefined
# We use kdecore for kdDebug :)
-libkwmf_la_LIBADD = $(LIB_KDECORE)
+libkwmf_la_LIBADD = $(LIB_KDECORE) $(LIB_QT)

####### Files

@@ -16,4 +16,4 @@

libkowmf_la_SOURCES = kowmfreadprivate.cc kowmfstack.cc kowmfread.cc kowmfwrite.cc kowmfpaint.cc
libkowmf_la_LDFLAGS = $(all_libraries) -version-info 2:0:0 -no-undefined
-libkowmf_la_LIBADD = $(LIB_KDECORE)
+libkowmf_la_LIBADD = $(LIB_KDECORE) $(LIB_QT)
diff -Nurd koffice-1.6.3/lib/store/Makefile.am koffice-1.6.3-new/lib/store/Makefile.am
--- koffice-1.6.3/lib/store/Makefile.am 2007-05-30 17:38:28.000000000 -0400
+++ koffice-1.6.3-new/lib/store/Makefile.am 2010-07-23 04:34:15.000000000 -0400
@@ -7,7 +7,7 @@

####### Files

-libkstore_la_LIBADD = $(LIB_KIO)
+libkstore_la_LIBADD = $(LIB_KIO) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI)
libkstore_la_SOURCES = KoStore.cpp KoTarStore.cpp KoDirectoryStore.cpp KoZipStore.cpp KoStoreDrag.cpp KoStoreBase.cpp KoXmlWriter.cpp
libkstore_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 $(KDE_LDFLAGS) -no-undefined
include_HEADERS = KoStore.h KoStoreDevice.h KoXmlWriter.h
diff -Nurd koffice-1.6.3/tools/kthesaurus/Makefile.am koffice-1.6.3-new/tools/kthesaurus/Makefile.am
--- koffice-1.6.3/tools/kthesaurus/Makefile.am 2007-05-30 17:36:13.000000000 -0400
+++ koffice-1.6.3-new/tools/kthesaurus/Makefile.am 2010-07-23 05:12:34.000000000 -0400
@@ -7,7 +7,7 @@

kthesaurus_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version
kthesaurus_la_SOURCES = main.cc
-kthesaurus_la_LIBADD = $(LIB_KSYCOCA)
+kthesaurus_la_LIBADD = $(LIB_KSYCOCA) $(LIB_QT) $(LIB_KDECORE)

appsdir = $(kde_appsdir)/Office
apps_DATA = KThesaurus.desktop
diff -Nurd koffice-1.6.3/tools/thesaurus/Makefile.am koffice-1.6.3-new/tools/thesaurus/Makefile.am
--- koffice-1.6.3/tools/thesaurus/Makefile.am 2007-05-30 17:36:11.000000000 -0400
+++ koffice-1.6.3-new/tools/thesaurus/Makefile.am 2010-07-24 12:35:15.000000000 -0400
@@ -1,6 +1,6 @@

INCLUDES = $(all_includes)
-libthesaurustool_la_LIBADD = $(LIB_KSYCOCA)
+libthesaurustool_la_LIBADD = $(LIB_KSYCOCA) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI)

####### Files

koffice _unstable_ port .patch