Kicker * Bookmarks: Look up konsole-bookmarks in the correct directory. * Fix arrow location on vertical panels. * Allow manually turning on of previews in the pager at low screen resolutions. Kate * There exist space characters other than ' ' (character code 32). * Fixed slow repaints of dynamically wrapped lines. * Fix crashes when deleting text. * Fix crash if there are folded regions and then highlighting is changed. * Fix highlighting # at the beginning of a line as comment. * Fix horizontal scrollbar and view not synced, if dynamic and static word wrap are off. * Make it possible to reset the background and selected background color. * Fix broken selection repaints when resizing. * Fix strange behaviour with pentuple clicks. * "Find previous" should reverse the original direction, and nothing else. * Improve Ada support. * Jump to last non-whitespace character when "End" key is pressed twice. * Check textLine() return values in KateViewInternal's home() and end() functions. * Make the current document's highlighting mode selected when the highlighting config page opens. * backward text selection doesn't trigger horizontal scroll. * Improving backward search. * Fix missing repaints when dynamic word wrap is disabled. * Fixed highlighting of "case'-':". * Synchronize the "cached" selection when exposing a search match. * Fix crash on entering doxygen comment on editing cpp files. * Also autoindent Q_SLOTS and Q_SIGNALS. KControl * Make CDROM info available in Control Centre. * Properly disable antialiasing by also setting the xrdb resource. * Fix nic information on AMD64 and others. * Add sysfs parsing support. Needed for distros that don't have /proc/bus/usb anymore. * Fix long-standing crash in KControls wallpaper-code. Konsole * Miscellaneous speedups. * Upon Prev/Next session, only activate new session when session.count > 1. * Add 256 color support. * Add DCOP calls setFont() and font(). * Fix extra character (^L) in konsolepart when using bash vi mode. * Fix the accelerator key for the Config->Schema tab. * Fix taking 100% cpu on printing tab-completion list in bash. * RMB->Close Session and tabbar menu->Close Session now uses the Close Confirmation Dialog. * Reduce flickering when resizing. KFind * Fix searching for files greater than 2GB. * kdesktop * Fix kscreensaver not starting. * Fix align-to-grid regression. kpager * Fix crash when moving windows. ktip * Fix text in RTL languages. media manager * Fix regression when using the fstab backend. * Fix bogus floppy devices appearing in FreeBSD. * Fix memory leak. * Fix unmounting on systems that use supermount. * Make media:/ mount devices over HAL. * Load mediamanager kded module soon in the startup.
217 lines
7 KiB
Makefile
217 lines
7 KiB
Makefile
# $NetBSD: Makefile,v 1.117 2006/08/02 13:45:51 markd Exp $
|
|
|
|
DISTNAME= kdebase-${_KDE_VERSION}
|
|
CATEGORIES= x11
|
|
COMMENT= Base modules for the KDE 3 integrated X11 desktop
|
|
|
|
.include "../../meta-pkgs/kde3/Makefile.kde3"
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} Daemon.png Daemon.README
|
|
DISTFILES+= NetBSD-flag-1.0.png
|
|
SITES.Daemon.png= ${MASTER_SITE_LOCAL}
|
|
SITES.Daemon.README= ${MASTER_SITE_LOCAL}
|
|
SITES.NetBSD-flag-1.0.png= ${MASTER_SITE_LOCAL}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
UNLIMIT_RESOURCES= datasize
|
|
USE_DIRS+= xdg-1.2
|
|
USE_TOOLS+= pkg-config mkfontdir
|
|
|
|
FONTS_DIRS.x11+= ${PREFIX}/share/kde/apps/konsole/fonts
|
|
REQD_DIRS+= ${PREFIX}/share/kde/apps/konsole
|
|
REQD_DIRS+= ${PREFIX}/share/kde/apps/konsole/fonts
|
|
|
|
FONTS_DIRS.x11+= ${PREFIX}/share/kde/fonts/override
|
|
REQD_DIRS+= ${PREFIX}/share/kde/fonts
|
|
REQD_DIRS+= ${PREFIX}/share/kde/fonts/override
|
|
|
|
CONFIGURE_ARGS+= --with-ssl-dir="${BUILDLINK_PREFIX.openssl}"
|
|
CONFIGURE_ARGS+= --with-ldap="${BUILDLINK_PREFIX.openldap-client}"
|
|
CONFIGURE_ARGS+= --without-composite
|
|
CONFIGURE_ARGS+= --without-java
|
|
CONFIGURE_ARGS+= --without-pam
|
|
|
|
REPLACE_PERL+= kcontrol/keys/convertShortcuts.pl \
|
|
khelpcenter/searchhandlers/khc_docbookdig.pl.in \
|
|
khelpcenter/searchhandlers/khc_htdig.pl.in \
|
|
khelpcenter/searchhandlers/khc_htsearch.pl \
|
|
khelpcenter/searchhandlers/khc_mansearch.pl \
|
|
kicker/kicker/kicker-3.1-properSizeSetting.pl \
|
|
kicker/kicker/kicker-3.5-kconfigXTize.pl \
|
|
kicker/kicker/kicker-3.5-taskbarEnums.pl \
|
|
kioslave/finger/kio_finger.pl \
|
|
kioslave/info/kde-info2html \
|
|
klipper/klipper-1-2.pl \
|
|
kwin/data/kwin3_plugin.pl \
|
|
kwin/data/pluginlibFix.pl \
|
|
konsole/schemaStrip.pl
|
|
|
|
CONF_FILES= ${PREFIX}/share/kde/config/kdm/kdmrc \
|
|
${PKG_SYSCONFDIR}/kdm/kdmrc
|
|
CONF_FILES+= ${PREFIX}/share/examples/kdebase3/ksysguarddrc \
|
|
${PKG_SYSCONFDIR}/ksysguarddrc
|
|
CONF_FILES+= ${PREFIX}/share/examples/kdebase3/kde-information.menu \
|
|
${PKG_SYSCONFDIR}/xdg/menus/kde-information.menu
|
|
CONF_FILES+= ${PREFIX}/share/examples/kdebase3/kde-screensavers.menu \
|
|
${PKG_SYSCONFDIR}/xdg/menus/kde-screensavers.menu
|
|
CONF_FILES+= ${PREFIX}/share/examples/kdebase3/kde-settings.menu \
|
|
${PKG_SYSCONFDIR}/xdg/menus/kde-settings.menu
|
|
CONF_FILES+= ${PREFIX}/share/examples/kdebase3/applications-merged/kde-essential.menu \
|
|
${PKG_SYSCONFDIR}/xdg/menus/applications-merged/kde-essential.menu
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/menus/applications-merged
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/kdm
|
|
RCD_SCRIPTS= kdm
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
LIBS.NetBSD+= ${EXPORT_SYMBOLS_LDFLAGS}
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
USE_TOOLS+= gawk:pkgsrc
|
|
.endif
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST.Xdpms
|
|
|
|
_KDE3_EXTRA_INCLUDES= ${LOCALBASE}/include:${X11BASE}/include:${BUILDLINK_PREFIX.freetype2}/include/freetype2
|
|
|
|
# Don't execute kappfinder_install at install-time. This causes random
|
|
# applications to be found which causes random .desktop files to be created
|
|
# in the applnk directory.
|
|
#
|
|
CONFIGURE_ENV+= RUN_KAPPFINDER=no
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.kdebase
|
|
PKG_SUPPORTED_OPTIONS= sasl samba debug pam
|
|
PKG_SUGGESTED_OPTIONS= sasl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
BUILDLINK_API_DEPENDS.Xrandr+= Xrandr>=1.0
|
|
BUILDLINK_API_DEPENDS.kdelibs+= kdelibs>=${_KDE_VERSION}
|
|
|
|
DEPENDS+= htdig>=3.2.0:../../www/htdig-devel
|
|
|
|
.if !empty(PKG_OPTIONS:Msamba)
|
|
.include "../../net/samba/buildlink3.mk"
|
|
LIBS+= -L${BUILDLINK_PREFIX.samba}/lib/samba ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.samba}/lib/samba
|
|
PLIST_SUBST+= HAVE_SMB=""
|
|
.else
|
|
PLIST_SUBST+= HAVE_SMB="@comment "
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CC+= -ggdb
|
|
CXX+= -ggdb
|
|
CONFIGURE_ARGS+= --enable-debug=full
|
|
CONFIGURE_ENV+= INSTALL_STRIP_FLAG=
|
|
INSTALL_UNSTRIPPED= yes
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpam)
|
|
. include "../../mk/pam.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-pam
|
|
.endif
|
|
|
|
# Solaris 10 has libusb only for 32 bit ABI (see PR 33727).
|
|
.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "x86_64"
|
|
CONFIGURE_ARGS+= --without-libusb
|
|
.endif
|
|
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
|
|
PLIST_SUBST+= HAVE_USBVIEW=""
|
|
.else
|
|
PLIST_SUBST+= HAVE_USBVIEW="@comment "
|
|
.endif
|
|
|
|
ICONDIR= share/kde/icons
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
SPECIAL_PERMS+= ${PREFIX}/bin/ksysguardd ${ROOT_USER} kmem 2755
|
|
.endif
|
|
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "SunOS"
|
|
SUBST_CLASSES+= varlock
|
|
SUBST_STAGE.varlock= post-patch
|
|
SUBST_MESSAGE.varlock= Fix lock directory path.
|
|
SUBST_FILES.varlock= kcheckpass/kcheckpass.c
|
|
.if ${OPSYS} == "SunOS"
|
|
SUBST_SED.varlock= -e s:/var/lock:/var/spool/locks:
|
|
.else
|
|
SUBST_SED.varlock= -e s:/var/lock:/var/spool/lock:
|
|
.endif
|
|
.endif
|
|
|
|
SUBST_CLASSES+= htdig paths
|
|
SUBST_STAGE.htdig= post-patch
|
|
SUBST_MESSAGE.htdig= Fix htdig paths.
|
|
SUBST_FILES.htdig= khelpcenter/searchhandlers/khc_htsearch.pl
|
|
SUBST_SED.htdig= -e s:/srv/www/cgi-bin:${PREFIX}/libexec/cgi-bin:
|
|
|
|
SUBST_FILES.paths= kcontrol/kdm/main.cpp kioslave/info/kde-info2html.conf
|
|
SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
|
|
SUBST_SED.paths+= -e 's,@LOCALBASE@,${LOCALBASE},g'
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
pre-configure:
|
|
${LN} -s FreeBSD ${WRKSRC}/ksysguard/ksysguardd/DragonFly
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/kde/templates/.source/emptydir
|
|
${INSTALL_DATA} ${DISTDIR}/NetBSD-flag-1.0.png ${PREFIX}/${ICONDIR}/NetBSD-flag.png
|
|
${INSTALL_DATA} ${DISTDIR}/Daemon.png ${PREFIX}/${ICONDIR}
|
|
${INSTALL_DATA} ${DISTDIR}/Daemon.README \
|
|
${PREFIX}/share/doc/kde/HTML/en/kdm
|
|
|
|
@# The global desktop template files need to be user-writeable, or
|
|
@# else users won't be able to alter them after copying them to
|
|
@# their local directories.
|
|
@#
|
|
${CHMOD} u+w ${PREFIX}/share/kde/templates/.source/*
|
|
|
|
@# On some systems, the Xdpms routines aren't available in a shared
|
|
@# library, and some libraries aren't created as a result.
|
|
@#
|
|
( files=" \
|
|
lib/kde3/libkcm_energy.so \
|
|
lib/kde3/libkcm_screensaver.so \
|
|
"; \
|
|
for file in $${files}; do \
|
|
if [ -f ${PREFIX}/$${file} ]; then \
|
|
${ECHO} "$${file}"; \
|
|
fi; \
|
|
done; \
|
|
) > ${WRKDIR}/PLIST.Xdpms
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
@# NetBSD Advertisement O:-)
|
|
cd ${PREFIX}/share/kde/config/kdm; \
|
|
${SED} -e 's|^\(LogoPixmap\)=.*|\1=${PREFIX}/${ICONDIR}/NetBSD-flag.png|' \
|
|
kdmrc > ${WRKDIR}/kdmrc.ad; \
|
|
${CP} -f ${WRKDIR}/kdmrc.ad kdmrc
|
|
.endif
|
|
|
|
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*)
|
|
CONFIGURE_ENV+= ac_cv_func_getutxent='no'
|
|
CONFIGURE_ENV+= kde_cv_path_fontconfig_config='NONE'
|
|
.endif
|
|
|
|
.include "../../meta-pkgs/kde3/kde3.mk"
|
|
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
.if ${OPSYS} != "SunOS"
|
|
.include "../../devel/libusb/buildlink3.mk"
|
|
.endif
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/openexr/buildlink3.mk"
|
|
.if !empty(PKG_OPTIONS:Msasl)
|
|
.include "../../security/cyrus-sasl/buildlink3.mk"
|
|
.endif
|
|
.include "../../x11/Xrandr/buildlink3.mk"
|
|
.include "../../x11/kdelibs3/buildlink3.mk"
|
|
.include "../../x11/xcursor/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|