pkgsrc/x11/kdelibs3/Makefile
markd 07e5679905 Update to KDE-3.2.0.
Changes:
Libraries

* Hidden methods in DCOP interfaces - DCOPIDLng Alexander Kellett
* Documentation parsing (kdoc based) and inclusion in generated .dcopidl files
  (note: kdebindings dcopidlng only) Alexander Kellett
* Kalyptus based rewrite of DCOPIDL - DCOPIDLng Alexander Kellett
* Thumbnail generator for DVI files. Stefan Kebekus
* Thumbnail generator for Xcursor files. Fredrik Hoeglund
* KMainWindow can now maintain the statusbar and corresponding action (duplicate
  (99% of the time broken) code removed from countless applications in KDE).
  Benjamin Meyer
* KMainWindow, KToolbar, and several other core classes now will only stores
  settings if those settings are not the default values (helping to reduce the
  huge size of config files). Benjamin Meyer
* Add support for International Domain Names (IDN). Thiago Macieira, Waldo
  Bastian
* KDE Password Registry and Wallet. George Staikos
* SSL session ID reuse. George Staikos
* KCookiejar: Support HttpOnly cookies. Waldo Bastian
* KLocale: support for different calendar systems Hans Petter Bieker
* KCalendarSystem: support for Hebrew calendar system Hans Petter Bieker
* Support data urls. See rfc 2397. Leo Savernik
* New tab widget classes KTabBar and KTabWidget in kdeui Stephan Binner
* New KFile permissions panel Tim Jansen
* Support for mimetype inheritance and aliases David Faure
* KDialogBase: Replace setButtonOkText() & co. with setButtonOk() that takes a
  KGuiItem instead (deprecating the old methods) Martijn Klingens
* Move KPrefs from libkdepim to kdelibs. Cornelius Schumacher
* Support for "extra fields" in KIO slaves and in Konqueror / KFileDialog
  David Faure <faure@kde.org>
* Add KSplashScreen, a splash screen class based on QSplashScreen (with support
  for KDE's Xinerama options) Chris Howells
* KPasteTextAction: enhanced action for pasting text by offering a list with
  the clipboard history. Andras Mantia

KHTML
* Non-modal find dialog David Faure

KDEfx
* Added KCPUInfo class which makes it possible for applications to do runtime
  checks for architecture specific CPU features, such MMX, 3DNow! and AltiVec.
  Fredrik Hoeglund
* Added MMX and SSE2 optimizations to the blending functions in KImageEffect,
  that among other things are used to blend the translucent menus when the menu
  effect is set to software blend, and to tint icons when they're selected in
  icon views. Fredrik Hoeglund

Kate Part
* File type specific settings Christoph Cullmann
* vi style cmd line Christoph Cullmann
* Support variable lines in files Anders Lund
* Color Schemes Christoph Cullmann
* Indentation based code folding Christoph Cullmann
* Implement more DCOP interfaces and clean up the ktexteditor dcop interfaces
  Christoph Cullmann

KImgIO
* Add PCX image plugin, supports reading and writing 1, 4, 8 and 24bpp images
  Nadeem Hasan
* Add TGA image plugin, supports reading and writing true color TGA images
  (compressed and uncompressed) Dominik Seichter

Interfaces
* Interfaces for KBytesEdit widget part Friedrich W. H. Kossebau

KSpell
* Adding ability to spell check HTML, TeX and nroff documents. Zack Rusin
* Completely reworking the spell checking dialog. Adding language selection
  combo. Zack Rusin
2004-02-04 13:58:39 +00:00

151 lines
4.3 KiB
Makefile

# $NetBSD: Makefile,v 1.50 2004/02/04 13:58:39 markd Exp $
DISTNAME= kdelibs-3.2.0
CATEGORIES= x11
COMMENT= Support libraries for the KDE integrated X11 desktop
.include "../../meta-pkgs/kde3/Makefile.kde3"
CONFLICTS+= koffice3<=1.1.1
DEPENDS+= xdg-dirs>=1.0:../../misc/xdg-dirs
USE_BUILDLINK2= YES
USE_LANGUAGES= c c++
USE_PKGINSTALL= YES
CONFIGURE_ARGS+= --with-ssl-dir="${BUILDLINK_PREFIX.openssl}"
SGML_CATALOGS= ${PREFIX}/share/kde/apps/ksgmltools2/customization/catalog
SGML_CATALOGS+= ${PREFIX}/share/kde/apps/ksgmltools2/docbook/xml-dtd-4.1.2/docbook.cat
SGML_CATALOGS+= ${PREFIX}/share/kde/apps/ksgmltools2/docbook/xml-dtd-4.2/docbook.cat
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
LIBS+= ${EXPORT_SYMBOLS_LDFLAGS}
.endif
KDEDIR= ${PREFIX}
REPLACE_PERL= \
kio/proxytype.pl \
kio/useragent.pl \
kdeui/preparetips
PLIST_SRC= ${WRKDIR}/PLIST
UNLIMIT_RESOURCES= datasize memorysize
FIXUP_FILES= \
kdeui/ksconfig.cpp \
kio/kssl/kopenssl.cc
# Several programs need to be setuid-root, but due to the way that KDE3
# finds executables, the files must have their read bit set so that
# KStandardDir::findResource() will find them.
#
_KDE_SETUID_ROOT= ${ROOT_USER} ${ROOT_GROUP} 4755
SPECIAL_PERMS+= ${PREFIX}/bin/kgrantpty ${_KDE_SETUID_ROOT}
pre-configure:
@for i in ${FIXUP_FILES}; do \
${SED} -e 's:@LOCALBASE@:${LOCALBASE}:g' \
${WRKSRC}/$${i} > ${WRKSRC}/$${i}.fixup && \
${MV} ${WRKSRC}/$${i}.fixup ${WRKSRC}/$${i}; \
done
.if defined(USE_CUPS) && (${USE_CUPS} == "YES")
.include "../../print/cups/buildlink2.mk"
BUILD_DEFS+= USE_CUPS
PLIST_SUBST+= CUPS=
.else
PLIST_SUBST+= CUPS="@comment "
.endif
.if ${OPSYS} == "NetBSD"
. if ${OS_VERSION:M1.5.[12]*} || ${OS_VERSION:M1.[0-4]*}
PLIST_SUBST+= KDED_WORKAROUND="@comment "
. else
PLIST_SUBST+= KDED_WORKAROUND=""
. endif
.else
PLIST_SUBST+= KDED_WORKAROUND=""
.endif
# We will create the complete icon directory tree for use by other KDE3
# packages at post-install time.
#
ICONCOLORS= crystalsvg hicolor locolor
ICONSIZES= 16x16 22x22 32x32 48x48 64x64 128x128
ICONDIRS= actions/kde actions apps devices filesystems mimetypes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/kde/locale
.if ${OPSYS} == "NetBSD"
. if ${OS_VERSION:M1.5.[12]*} || ${OS_VERSION:M1.[0-4]*}
@${RM} ${PREFIX}/lib/kded.*
. endif
.endif
@( ${CAT} ${PKGDIR}/PLIST; \
for color in ${ICONCOLORS}; do \
colordir=share/kde/icons/$${color}; \
for size in ${ICONSIZES}; do \
sizedir=$${colordir}/$${size}; \
for dir in ${ICONDIRS}; do \
icondir=$${sizedir}/$${dir}; \
${INSTALL_DATA_DIR} ${PREFIX}/$${icondir}; \
${ECHO} "@exec ${MKDIR} %D/$${icondir}"; \
${ECHO} "@dirrm $${icondir}"; \
done; \
${ECHO} "@dirrm $${sizedir}"; \
done; \
${ECHO} "@dirrm $${colordir}"; \
done; \
${ECHO} "@dirrm share/kde/icons"; \
${ECHO} "@dirrm share/kde"; \
) > ${PLIST_SRC}
.if ${MACHINE_ARCH} == "alpha"
USE_PKGSRC_GCC= # defined
.endif
.include "../../archivers/bzip2/buildlink2.mk"
.include "../../audio/arts/buildlink2.mk"
.include "../../audio/libaudiofile/buildlink2.mk"
.include "../../devel/pcre/buildlink2.mk"
.include "../../graphics/libart2/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../lang/perl5/buildlink2.mk"
.include "../../meta-pkgs/kde3/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
.include "../../textproc/libxml2/buildlink2.mk"
.include "../../textproc/libxslt/buildlink2.mk"
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../x11/qt3-libs/buildlink2.mk"
.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
# XXX On NetBSD, the egcs and gcc-2.95.3 for:
# XXX
# XXX alpha and sparc
# XXX
# XXX has an optimization bug when compiling with -O2 that is tickled by
# XXX ${WRKSRC}/kio/kio/global.cpp
# XXX ${WRKSRC}/kdeprint/management/kmiconview.cpp.
# XXX and others
#
.if ${OPSYS} == "NetBSD"
. if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc")
CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*/-O/g}
CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g}
CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
. endif
.endif
.if ${OPSYS} == "SunOS"
# We require use of a recent enough libbz2 to have the BZ2_ prefixes
# so force this as configure gets this wrong on Solaris 9
CONFIGURE_ENV+= ac_cv_lib_bzip2='no'
.endif