pkgsrc/x11/kdelibs3/Makefile
markd 1ff6ba76b9 Update KDE to 3.1.2.
Changes:

kdelibs:
* https authentication through proxy fixed.
* KZip failed for some .zip archives.
* Fixed a bug in socket code that made KDEPrint crash.
* kspell: Support for Hebrew spell checking using hspell (requires hspell 0.5).

kdebase:
* kwin: Alt+Tab works while drag'n'drop (unless the application also grabs keyboard).
* kio_smtp: Doesn't eat 100% CPU when connection breaks and fixed a confusing error
  message when AUTH failed ("Unknown Command" vs. "Authorization failed")
* kscreensaver: Fixed issue where kdesktop_lock would stay running indefinitely in
  the background if it could not grab the keyboard/mouse, preventing the screen from
  being locked manually.
* kscreensaver: Screensavers are now stopped when asking for the password [#56803]
* kio_smb: Several bugfixes for the smbro-ioslave.
* kdesktop: fixed minicli layout problem with Qt 3.1.2
* kdm: fixed incorrect user window width with Qt 3.1.2
* Konqueror: Create DCOP interface for mainwindow when object begins to exist.
* Konqueror: Fixed tab open delays when it can't reach website.
* Konsole: Don't flicker when selecting entire lines.
* Konsole: Crash, selection and sort fixes in schema and session editors.
* Konsole: Fixed mouse-wheel in mouse mode.
* Konsole: Allow programs to resize windows if enabled.
* Konsole: Keep output steady when triple-click selecting.
* Konsole: Added "Print" menu command.
* kicker: Fixed kasbar only drawing last icon from a group.
2003-05-22 02:42:39 +00:00

144 lines
3.9 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2003/05/22 02:42:40 markd Exp $
DISTNAME= kdelibs-3.1.2
CATEGORIES= x11
COMMENT= Support libraries for the KDE integrated X11 desktop
.include "../../x11/kde3/Makefile.kde3"
CONFLICTS+= koffice3<=1.1.1
USE_BUILDLINK2= YES
USE_CXX= YES
USE_OPENSSL_VERSION= ${OPENSSL_VERSION_096}
CONFIGURE_ARGS+= --with-ssl-dir="${BUILDLINK_PREFIX.openssl}"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
LIBS+= ${EXPORT_SYMBOLS_LDFLAGS}
.endif
KDEDIR= ${PREFIX}
REPLACE_PERL= \
kio/proxytype.pl \
kio/useragent.pl
PLIST_SRC= ${WRKDIR}/PLIST
UNLIMIT_RESOURCES= datasize memorysize
FOO_MAIN_FILES= \
arts/knotify/knotify_main.cpp \
dcop/dcopserver_main.cpp \
kconf_update/kconf_update_main.cpp \
kded/kbuildsycoca_main.cpp \
kded/kded_main.cpp \
kdeprint/management/kaddprinterwizard_main.cpp \
kio/misc/kio_uiserver_main.cpp \
kioslave/http/http_cache_cleaner_main.cpp \
kioslave/http/kcookiejar/kcookiejar_main.cpp
.include "../../x11/kde3/Makefile.foo_main"
FIXUP_FILES= \
kspell/ksconfig.cpp \
kio/kssl/kopenssl.cc
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= hicolor locolor
ICONSIZES= 16x16 22x22 32x32 48x48 64x64
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"
. include "../../lang/gcc/buildlink2.mk"
.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 "../../security/openssl/buildlink2.mk"
.include "../../textproc/libxml2/buildlink2.mk"
.include "../../textproc/libxslt/buildlink2.mk"
.include "../../x11/kde3/buildlink2.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