head 1.10; access; symbols pkgsrc-2017Q3:1.9.0.84 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.80 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.78 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.76 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.74 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.72 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.70 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.68 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.66 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.64 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.62 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.60 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.58 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.56 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.54 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.52 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.50 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.48 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.46 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.44 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.42 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.40 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.38 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.36 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.34 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.32 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.30 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.28 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.26 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.24 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.22 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.20 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.18 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.16 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.14 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.12 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.10 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.8 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.6 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.4 pkgsrc-2008Q1:1.9.0.2 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.8.0.6 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.4 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.2 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.7.0.10 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.8 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.6 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.4 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.2 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.6.0.6 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.4 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.2 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.5.0.8 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.6 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.4 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.2 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.1.1.0.4 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.1.1.0.6 pkgviews-base:1.1 buildlink2-base:1.1 buildlink2:1.1.1.1.0.2 pkg-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.10 date 2017.09.26.10.27.21; author wiz; state dead; branches; next 1.9; commitid 9ARpkXTuh9Wg2H8A; 1.9 date 2008.01.04.21.05.57; author markd; state Exp; branches; next 1.8; 1.8 date 2007.05.23.13.05.35; author markd; state Exp; branches; next 1.7; 1.7 date 2006.02.01.12.36.25; author markd; state Exp; branches; next 1.6; 1.6 date 2005.03.23.21.44.37; author markd; state Exp; branches; next 1.5; 1.5 date 2004.04.26.11.54.15; author markd; state Exp; branches; next 1.4; 1.4 date 2004.04.26.11.31.25; author markd; state Exp; branches; next 1.3; 1.3 date 2004.02.04.14.25.58; author markd; state dead; branches; next 1.2; 1.2 date 2002.08.25.19.23.36; author jlam; state Exp; branches; next 1.1; 1.1 date 2002.05.31.13.18.42; author skrll; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.05.31.13.18.42; author skrll; state Exp; branches 1.1.1.1.2.1; next ; 1.1.1.1.2.1 date 2002.05.31.13.18.42; author jlam; state dead; branches; next 1.1.1.1.2.2; 1.1.1.1.2.2 date 2002.06.23.19.05.15; author jlam; state Exp; branches; next ; desc @@ 1.10 log @*: remove qt3 and the packages using it, including KDE3 Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html @ text @$NetBSD: patch-af,v 1.9 2008/01/04 21:05:57 markd Exp $ --- kcontrol/info/info_netbsd.cpp.orig 2005-09-10 20:25:05.000000000 +1200 +++ kcontrol/info/info_netbsd.cpp @@@@ -41,6 +41,7 @@@@ #include #include #include +#include #include #include /* for KIO::convertSize() */ @@@@ -123,7 +124,7 @@@@ static bool GetDmesgInfo(QListView *lBox } QListViewItem *olditem = NULL; - while(!(s = t->readLine().local8Bit()).isEmpty()) { + while(!(s = t->readLine().local8Bit()).isNull()) { if (!seencpu) { if (s.contains("cpu")) seencpu = true; @@@@ -134,9 +135,7 @@@@ static bool GetDmesgInfo(QListView *lBox s.contains("WARNING: old BSD partition ID!")) break; - if (!filter - || (filter[0] == '^' && s.find(&filter[1]) == 0) - || (filter[0] != '^' && s.contains(filter))) { + if (!filter || s.contains(QRegExp(filter))) { if (func) func(lBox, s); else @@@@ -163,7 +162,7 @@@@ AddIRQLine(QListView *lBox, QString s) int pos, irqnum; char numstr[3]; - pos = s.find(" irq "); + pos = s.find(QRegExp("[ (]irq ")); irqnum = (pos < 0) ? 0 : atoi(&s.ascii()[pos+5]); if (irqnum) snprintf(numstr, 3, "%02d", irqnum); @@@@ -181,7 +180,7 @@@@ bool GetInfo_IRQ (QListView *lBox) lBox->addColumn(i18n("Device")); lBox->setSorting(0); lBox->setShowSortIndicator(FALSE); - (void) GetDmesgInfo(lBox, " irq ", AddIRQLine); + (void) GetDmesgInfo(lBox, "[ (]irq ", AddIRQLine); return true; } @@@@ -265,9 +264,11 @@@@ bool GetInfo_SCSI (QListView *lbox) bool GetInfo_Partitions (QListView *lbox) { int num; // number of mounts - // FIXME: older pkgsrc patches checked ST_RDONLY for this declaration - // what is ST_RDONLY and how does it affect getmntinfo? +#ifdef HAVE_STATVFS + struct statvfs *mnt; // mount data pointer +#else struct statfs *mnt; // mount data pointer +#endif // get mount info if (!(num=getmntinfo(&mnt, MNT_WAIT))) { @@@@ -290,24 +291,31 @@@@ bool GetInfo_Partitions (QListView *lbox unsigned long long big[2]; QString vv[5]; +#ifdef HAVE_STATVFS + big[0] = big[1] = mnt->f_frsize; // coerce the product +#else big[0] = big[1] = mnt->f_bsize; // coerce the product +#endif big[0] *= mnt->f_blocks; big[1] *= mnt->f_bavail; // FIXME: use f_bfree if root? // convert to strings vv[0] = KIO::convertSize(big[0]); - vv[1] = QString::fromLatin1("%1 (%2%%)") + vv[1] = QString("%1 (%2%)") .arg(KIO::convertSize(big[1])) .arg(mnt->f_blocks ? mnt->f_bavail*100/mnt->f_blocks : 0); - // FIXME: these two are large enough to punctuate - vv[2] = QString::number(mnt->f_files); - vv[3] = QString::fromLatin1("%1 (%2%%) ") + vv[2] = QString("%L1").arg(mnt->f_files); + vv[3] = QString("%L1 (%2%) ") .arg(mnt->f_ffree) .arg(mnt->f_files ? mnt->f_ffree*100/mnt->f_files : 0); vv[4] = QString::null; +#ifdef HAVE_STATVFS +#define MNTF(x) if (mnt->f_flag & ST_##x) vv[4] += QString::fromLatin1(#x " "); +#else #define MNTF(x) if (mnt->f_flags & MNT_##x) vv[4] += QString::fromLatin1(#x " "); +#endif MNTF(ASYNC) MNTF(DEFEXPORTED) MNTF(EXKERB) @@@@ -316,7 +324,9 @@@@ bool GetInfo_Partitions (QListView *lbox MNTF(EXPORTED) MNTF(EXPUBLIC) MNTF(EXRDONLY) +#ifndef HAVE_STATVFS MNTF(IGNORE) +#endif MNTF(LOCAL) MNTF(NOATIME) MNTF(NOCOREDUMP) @ 1.9 log @Various kdebase updates. Option to build kompmgr - from Sergey Svishchev improved kdeeject script - from Sergey Svishchev ksysguard tidyup, improved handling of process list. infocenter tidyup Add NetBSD support to kicker/applets/naughty (finally fixing PR 25052) Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.8 2007/05/23 13:05:35 markd Exp $ @ 1.8 log @Update to KDE 3.5.7 KDE base * Various DragonFlyBSD fixes. * Removed "Serbia and Montenegro" (yu), added "Serbia" (rs) and "Montenegro" (me). Kicker * Added option to change the font color used by the taskbar applet. Kate * Fix not honoring current locale in some situations. KControl * Allow changing of font colors for taskbar. * Fix various crashes on KHotKeys. KDesktop * Use mkfontscale/mkfontdir to create fonts.scale/fonts.dir - as opposed to custom code. * Make kdesktop_lock honour kiosk switch user restriction. KWin * Option to turn off alt+tab outline. * Support for new windows types for compositing. * Fix bug in dead program detection in 64 bit architectures. * Fix crash on consecutive 'Show Desktop'. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.7 2006/02/01 12:36:25 markd Exp $ d5 9 a13 1 @@@@ -123,7 +123,7 @@@@ static bool GetDmesgInfo(QListView *lBox d22 30 a51 1 @@@@ -265,9 +265,11 @@@@ bool GetInfo_SCSI (QListView *lbox) d65 1 a65 1 @@@@ -290,7 +292,11 @@@@ bool GetInfo_Partitions (QListView *lbox d77 13 a89 1 @@@@ -307,7 +313,11 @@@@ bool GetInfo_Partitions (QListView *lbox d101 1 a101 1 @@@@ -316,7 +326,9 @@@@ bool GetInfo_Partitions (QListView *lbox @ 1.7 log @Fix display of NetBSD device info in the KInfoCenter. (Reads /var/run/dmesg.boot and was stopping at first blank line rather that EOF) Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.6 2005/03/23 21:44:37 markd Exp $ d20 1 a20 1 +#ifdef ST_RDONLY d32 1 a32 1 +#ifdef ST_RDONLY d44 1 a44 1 +#ifdef ST_RDONLY d56 1 a56 1 +#ifndef ST_RDONLY @ 1.6 log @Update to KDE 3.4 Highlights at a glance * Text-to-speech system with support built into Konqueror, Kate, KPDF and the standalone application KSayIt * Support for text to speech synthesis is integrated with the desktop * Completely redesigned, more flexible trash system * Kicker with improved look and feel * KPDF now enables you to select, copy & paste text and images from PDFs, along with many other improvements * Kontact supports now various groupware servers, including eGroupware, GroupWise, Kolab, OpenGroupware.org and SLOX * Kopete supports Novell Groupwise and Lotus Sametime and gets integrated into Kontact * DBUS/HAL support allows to keep dynamic device icons in media:/ and on the desktop in sync with the state of all devices * KHTML has improved standard support and now close to full support for CSS 2.1 and the CSS 3 Selectors module * Better synchronization between 2 PCs * A new high contrast style and a complete monochrome icon set * An icon effect to paint all icons in two chosen colors, converting third party application icons into high contrast monochrome icons * Akregator allows you to read news from your favourite RSS-enabled websites in one application * Juk has now an album cover management via Google Image Search * KMail now stores passwords securely with KWallet * SVG files can now be used as wallpapers * KHTML plug-ins are now configurable, so the user can selectively disable ones that are not used. This does not include Netscape-style plug-ins. Netscape plug-in in CPU usage can be manually lowered, and plug-ins are more stable. * more than 6,500 bugs have been fixed * more than 1,700 wishes have been fullfilled * more than 80,000 contributions with several million lines of code and documentation added or changed @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.5 2004/04/26 11:54:15 markd Exp $ d3 1 a3 1 --- kcontrol/info/info_netbsd.cpp.orig 2005-02-04 12:18:52.000000000 +1300 d5 9 @ 1.5 log @f_bsize -> f_frsize. From Christos Zoulas. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- kcontrol/info/info_netbsd.cpp.orig 2003-01-21 02:17:16.000000000 +1300 d5 6 a10 4 @@@@ -272,7 +272,11 @@@@ bool GetInfo_Partitions (QListView *lbox FILE *pipe = popen("/sbin/mount", "r"); QTextStream *t; u_int64_t tsz, fsz; d12 1 a12 1 + struct statvfs sfs; d14 1 a14 1 struct statfs sfs; a15 1 int ok; d17 5 a21 4 if (!pipe) { @@@@ -312,11 +316,19 @@@@ bool GetInfo_Partitions (QListView *lbox flags = ""; } d24 1 a24 5 + if (statvfs(mountpoint, &sfs) == 0) { + tsz = ((1LL * sfs.f_blocks * sfs.f_frsize / 1024) + 513) + / 1024; + fsz = ((1LL * sfs.f_bfree * sfs.f_frsize / 1024) + 513) + / 1024; d26 1 a26 5 if (statfs(mountpoint, &sfs) == 0) { tsz = ((1LL * sfs.f_blocks * sfs.f_bsize / 1024) + 513) / 1024; fsz = ((1LL * sfs.f_bfree * sfs.f_bsize / 1024) + 513) / 1024; d28 25 a52 3 ok = 1; } else { tsz = fsz = 0; @ 1.4 log @statfs -> statvfs in current. Patches from John R. Shannon in PR 25327 and PR 25328 with suggestion from Christos Zoulas @ text @d17 1 a17 1 @@@@ -312,7 +316,11 @@@@ bool GetInfo_Partitions (QListView *lbox d23 4 a28 1 +#endif d32 5 @ 1.3 log @Update to KDE-3.2 Changes: Base Kate * Moving KATE view management over to KMDI Joseph Wenninger * Basic project managment Christoph Cullmann KControl * Xinerama KControl module, enhanced KDE Xinerama and dual-head support George Staikos * add/update control module for configuring per-domain settings. See Bug 49145. Leo Savernik * Support for per-style configuration settings in the style control center module, a module for Keramik Maksim Orlovich * Add support for installing/removing- and switching Xcursor themes to the mouse KControl module Fredrik Hoeglund * Font installer - create fonts:/ ioslave, and modify KControl module to use this. See http://members.lycos.co.uk/cpdrummond for (old) screenshots/download Craig Drummond KHotKeys * Update to version 2.0, which includes more features like mouse gestures. Lubos Lunak KWin * Full support for latest NETWM spec version in KWin, and seamless usage of other compliant window managers with KDE. Lubos Lunak * New API for window decoration plugins. Lubos Lunak * Focus stealing prevention. Lubos Lunak * Add an option to allow wide borders to some of the window decoration styles Gunnar Schmi DT Kicker * Make addition of non-KDE applications to Kicker easier Alexander Kellett * Enable backgrounds for child panels and all applets, allow for colorization of background pixmaps Aaron J. Seigo * Allow applets to export a menu to the handle Aaron J. Seigo * User defined plain colors for tiles Aaron J. Seigo * Make the panel transparent. Zack Rusin * Add an option to the RMB-menu and to the "Advanced Options" in kcontrol to enable/disable the panel handle when "Custom" size is selected. KDM * More sophisticated session definitions, common with GDM Oswald Buddenhagen * Pluggable greeter input methods; better architectural compliance with PAM's input model. Oswald Buddenhagen Various (kwin, kdesktop, kcontrol, ksmserver) * Optimally support the X Resize and Rotate extension. Hamish Rodda All KDE applications (kdebase/kdenetwork/kdepim/kdegraphics,...) * No absolute paths to user home directories in KDE config files. This allows to support roaming users. Helge Deller Konsole * Add a better interface to konsolepart for other apps. Dominique Devriese * Added "Set Selection End" to right mouse button menu. * Column text selecting when Ctrl and Alt are pressed * Uses now KTabWidget, allows tab context menus and more Stephan Binner * Utilize KNotify (e.g. passive popup) for "Activity", "Bell", "Shell Exit" and "Silence" events * ZModem up- and download (requires rzsz) Waldo Bastian * Make bidi rendering (for RTL languages) configurable. Meni Livne KEditBookmarks * Export to HTML and printing of bookmark collection. Alexander Kellett * Recursive favicon updates in bookmark editor. Alexander Kellett * Field for incremental searching on titles. Alexander Kellett * Opera and Internet Explorer bookmark collection exporting. Alexander Kellett * Bookmark editor now includes an extra pane to allow title/url editing without use of context menu / keyboard shortcuts. Alexander Kellett * More detailed bookmark access information (last viewed, first seen, view counts). Alexander Kellett * Recursive - entire collection, per folder - alphabetical sorting Alexander Kellett Konqueror * Enhanced Konqueror statusbar and kpart statusbar extension. Statusbar notifications for secure connections, wallet, js errors. David Faure, George Staikos * Bookmarklets support in the form of a "Mini-tools" konq-plugin Alexander Kellett * Addition of an advanced Add Bookmark dialog. Alexander Kellett * Read-only bookmark menu includes. Alexander Kellett * Ability to select which items should be shown in the bookmark bar. Alexander Kellett * Servicemenu improvements: placed in a common Actions submenu, allow grouping into submenus, allow for separators, allow simple mimetype globbing Aaron J. Seigo * Bookmarking of all loaded tabs as a folder. Alexander Kellett * Lightweight bookmark editing from within bookmarks menu via context menu. Alexander Kellett * New sidebar module: Web. Implements sidebar modules similar to those introduced in Netscape 6/Mozilla. George Staikos * Konqueror "preloading", often reducing Konqueror startup time. Lubos Lunak * Spellchecking in text forms and spelling highlighting Scott Wheeler, Don Sanders Tabbed Browsing * "New Tab" and "Close Tab" buttons besides the tab bar Stephan Binner * Loading/read state indication by tab color Stephan Binner * Drag and drop support from/to tabs and to empty tab bar space Stephan Binner * Allow to reorder tabs with pressed middle mouse button Stephan Binner * Middle mouse button on tabs or empty tab bar space opens clipboard content Stephan Binner * Support for opening external URLs and popups in new tabs Stephan Binner * Optional permanent close buttons within tabs and permanent shown tab bar Stephan Binner KHTML part * KHTML: Implement caret mode. This is a prerequisite for designmode. See Bug 48302. Leo Savernik * KHTML: add infrastructure for per-domain settings. See Bug 49145. Leo Savernik * better support for samba shares through libsmbclient of samba 3.0 Stephan Kulow KIO Slaves * kio_smtp: SMTP pipelining support for faster submission, esp. over high-latency links. Marc Mutz KDesktop * Added GUI for "Mouse wheel over desktop switches desktop" option. * Make screen savers capable of being DPMS aware, so they can be disabled when watching a movie or TV if the app sets up X DPMS appropriately. Gregor Jasny * Screen locker: pluggable greeter input methods; better architectural compliance with PAM's input model. Oswald Buddenhagen * Shadow behind the text of the desktop icons, for more readability Laur Ivan * E-mail addresses entered in "Run Command..." (Alt-F2) will start mailer. Waldo Bastian * Numeric expression in "Run Command..." (Alt-F2) is evaluated. Waldo Bastian @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 2002/08/25 19:23:36 jlam Exp $ d3 12 a14 5 --- kate/app/kwritemain.cpp.orig Wed May 8 19:20:50 2002 +++ kate/app/kwritemain.cpp @@@@ -510,7 +510,9 @@@@ { 0, 0, 0} }; d16 4 a19 6 -int main(int argc, char **argv) +extern "C" int kdemain(int argc, char **argv); + +int kdemain(int argc, char **argv) { KLocale::setMainCatalogue("kate"); //lukas: set this to have the kwritepart translated using kate message catalog d21 8 @ 1.2 log @Merge changes in packages from the buildlink2 branch that have buildlink2.mk files back into the main trunk. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1.2.1 2002/06/23 19:05:15 jlam Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of a kdebase3 pkg @ text @@ 1.1.1.1.2.1 log @file patch-af was added on branch buildlink2 on 2002-06-23 19:05:15 +0000 @ text @d1 15 @ 1.1.1.1.2.2 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 15 $NetBSD: patch-af,v 1.1.1.1.2.1 2002/06/23 19:05:15 jlam Exp $ --- kate/app/kwritemain.cpp.orig Wed May 8 19:20:50 2002 +++ kate/app/kwritemain.cpp @@@@ -510,7 +510,9 @@@@ { 0, 0, 0} }; -int main(int argc, char **argv) +extern "C" int kdemain(int argc, char **argv); + +int kdemain(int argc, char **argv) { KLocale::setMainCatalogue("kate"); //lukas: set this to have the kwritepart translated using kate message catalog @