pkgsrc/x11/kdebase3/Makefile

162 lines
4.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.34 2004/01/03 18:49:59 reed Exp $
2002-05-31 15:18:33 +02:00
DISTNAME= kdebase-3.1.4
PKGREVISION= 3
2002-05-31 15:18:33 +02:00
CATEGORIES= x11
COMMENT= Base modules for the KDE 3 integrated X11 desktop
Update kdebase to 3.1.3. Changes: * kate: Make saving of remote files during shutdown work. * kcontrol/colors: Don't reset widget selection dropdown when selecting a different theme * kcontrol/filetypes: Fixed removing of mimetypes specified by a .kdelnk file * kcontrol/input: fix application of large & white cursors * kcontrol/services: don't show kxmlrpcd, kalarmd and kwrited if they're not installed * kdesud: support empty passwords * kdm: Fix i18n support for the GuiStyle and ColorScheme combos * kdm: don't reset local Xserver if termination is requsted * keditbookmarks: Various bufixes * kio_sftp: Support OpenSSH 3.6+ * kio_sftp: Support older sftp protocol revisions * kio_smb: Huge update for samba 3.0. * kicker: Improve icon scaling in service menus * kicker: "Terminal Sessions" special button supports sessions with dots in filename * kicker: "Terminal Sessions" special button with same sort order as the one in Konsole. * kicker: Fix mimetype resolution in the quickbrowser * kicker: Fixes for stuck tooltips * kicker: Do not create local directories for .desktop files used in service buttons if no needed * kicker: Fix apply button not working for quickstart menu entries settings * kicker: Fix hide button preference effects reversed * kicker:Various fixes for recent apps history * kicker/minipager: don't show redundant tooltips when the page already shows names * konsole: Added Ctrl+Shift+N as alternate default shortcut for "New Session". * konsole: Fixed fixed-width with proportional-font drawing routine. * konsole: Fixed problems with mouse and paste support and detached windows. * konsole: Let new color schemes take effect once kcmkonsole tells to do so. * konsole: Wheel mouse fixes for Mode_Mouse1000. * konqueror: Flicker fixes inside the iconview * konqueror: Fix for inter-process copy-past with the listview * konqueror: Make sure the tab close button is properly enabled when a 2nd tab is first open through context menu entries * konqueror: Made Ctrl+Enter for new tab in URL combo working again. * konqueror: Various sidebar fixes * konqueror: make sure that the location label truly disappears when disabled * konqueror: konqueror warning for repeated POSTs * konqueror: Konqueror crash when dragging image from about:konqueror * konqueror: Improve tracking of listviewitems so that we don't crash when they get deleted somewhat unexpectedly * konqueror: Don't crash when updating toolbars without a part load * konqueror: Properly handle 'stop' when still listing the directory in the info list view * konqueror: Efficiency fix: make sure only one konqueror instance saves the history when it changes * konqueror: Don't use deleted KFileItems. * Don't crash when doing a copy w/o a currentItem * konqueror: Stop activity when the user tries hard to enter a URL * konqueror: Properly calculate column indices for the meta info listview * konqueror: Hide the find part on a second click on its toolbar button * konqueror: Handle _top/_blank, and so on, case-insensitively * libkonq: make sure KFileTip does not hold on to stale file items * libkonq: precaution: make sure that no preview jobs hold on to icon view's items when it's cleared * libkonq: fixes to cut-and-paste * libkonq: network-friendlier paste button state polling * kwin: Fix deactivation of window when loosing focus * kwin: New windows are drawn above open menus * kwin: Some non-resizable windows can still be resized * kwin: Fixes for click raise * kwin: If a window is hover-unshaded, then it's not shaded for the outside world * kwin: Keramik decoration: Properly detect XShape on Solaris * nsplugins: Fix relative URLs.
2003-07-30 15:34:58 +02:00
.include "../../meta-pkgs/kde3/Makefile.kde3"
2002-05-31 15:18:33 +02:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} Daemon.png Daemon.README
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
2002-10-02 04:11:19 +02:00
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
2002-05-31 15:18:33 +02:00
2002-10-02 04:11:19 +02:00
CONFIGURE_ARGS+= --with-ssl-dir="${BUILDLINK_PREFIX.openssl}"
CONFIGURE_ARGS+= --with-ldap="${BUILDLINK_PREFIX.openldap}"
2002-05-31 15:18:33 +02:00
CONFIGURE_ARGS+= --without-pam
CONFIGURE_ARGS+= --without-cdparanoia
CONFIGURE_ARGS+= --without-lame
CONFIGURE_ARGS+= --without-vorbis
Update KDE to 3.1. Many bugfixes and functionality enhancements including: General New default widget style: Keramik New default icon theme: Crystal Created and enhanced framework to effectively disable certain features of the GUI, like for example shell access, disallowing to select custom wall papers. "Kiosk mode" Usability improvements: Kicker: Context menu, applet menus, wording and panel feature consistency improved Kicker: Redesigned control module. KCalc: Usability Improvements. KSnapshot: Usability Improvements. KsCD: User Interface Improvements in configuration and information dialogs kdelibs Extended the DCOP commandline client to enable nonGUI applications (such as shell scripts) to use DCOP send DCOP messages to multiple users and/or sessions concurrently Added to notification dialog to allow applications to configure their notifications with a common GUI. Added "Open File", "Open Destination" and "Keep window open" to download progress dialog. KDatePicker has now week number display and selection. Added KLocale support for setting/retrieving the first day of a week Support for "Multimedia keys" on your keyboard. Added on-demand icon loading support to improve startup performance of applications. KHTML: Improvements to printing support. Page Info and Frame info dialog. Auto-Scroll support of webpages using Shift combined with arrow keys. Many, many Bugfixes and improvements. Small codebase merges with Safari. The main merge is planned for a future release however, as it requires more testing. KIO: Modified thumbnail ioslave that can extract a thumbnail from the file directly if it contains one, rather than generating one itself. Added fish:// protocol slave, which can access remote filesystems via SSH and SCP Cleanups and Corrections in smtp:// protocol slave. Activated rtsp:// protocol slave. Added support for Public Key Authentication and interopability with newer versions of OpenSSH to sftp:// protocol slave. KSSL: SSL certificate policies can now be configured based on the host name
2003-03-11 14:10:15 +01:00
CONFIGURE_ARGS+= --without-java
2002-05-31 15:18:33 +02:00
REPLACE_PERL= kcontrol/fileshare/fileshareset
2002-05-31 15:18:33 +02:00
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
2002-10-02 04:11:19 +02:00
LIBS+= ${EXPORT_SYMBOLS_LDFLAGS}
2002-05-31 15:18:33 +02:00
.endif
PLIST_SRC= ${WRKDIR}/PLIST.Xdpms
.if ${OPSYS} == "Linux"
KDE3_NSPLUGINS?= YES
.else
KDE3_NSPLUGINS?= NO
.endif
BUILD_DEFS+= KDE3_NSPLUGINS
.if ${KDE3_NSPLUGINS} == "YES"
PLIST_SRC+= ${PKGDIR}/PLIST.nsplugins
2002-10-02 04:11:19 +02:00
CONFIGURE_ARGS+= --with-motif-includes="${BUILDLINK_PREFIX.motif}/include"
CONFIGURE_ARGS+= --with-motif-libraries="${BUILDLINK_PREFIX.motif}/lib"
.include "../../mk/motif.buildlink2.mk"
2002-05-31 15:18:33 +02:00
.else
CONFIGURE_ARGS+= --without-motif
.endif
2002-10-02 04:11:19 +02:00
_KDE3_EXTRA_INCLUDES= ${LOCALBASE}/include:${X11BASE}/include:${BUILDLINK_PREFIX.freetype2}/include/freetype2
2002-05-31 15:18:33 +02:00
# 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
Update KDE to 3.1. Many bugfixes and functionality enhancements including: General New default widget style: Keramik New default icon theme: Crystal Created and enhanced framework to effectively disable certain features of the GUI, like for example shell access, disallowing to select custom wall papers. "Kiosk mode" Usability improvements: Kicker: Context menu, applet menus, wording and panel feature consistency improved Kicker: Redesigned control module. KCalc: Usability Improvements. KSnapshot: Usability Improvements. KsCD: User Interface Improvements in configuration and information dialogs kdelibs Extended the DCOP commandline client to enable nonGUI applications (such as shell scripts) to use DCOP send DCOP messages to multiple users and/or sessions concurrently Added to notification dialog to allow applications to configure their notifications with a common GUI. Added "Open File", "Open Destination" and "Keep window open" to download progress dialog. KDatePicker has now week number display and selection. Added KLocale support for setting/retrieving the first day of a week Support for "Multimedia keys" on your keyboard. Added on-demand icon loading support to improve startup performance of applications. KHTML: Improvements to printing support. Page Info and Frame info dialog. Auto-Scroll support of webpages using Shift combined with arrow keys. Many, many Bugfixes and improvements. Small codebase merges with Safari. The main merge is planned for a future release however, as it requires more testing. KIO: Modified thumbnail ioslave that can extract a thumbnail from the file directly if it contains one, rather than generating one itself. Added fish:// protocol slave, which can access remote filesystems via SSH and SCP Cleanups and Corrections in smtp:// protocol slave. Activated rtsp:// protocol slave. Added support for Public Key Authentication and interopability with newer versions of OpenSSH to sftp:// protocol slave. KSSL: SSL certificate policies can now be configured based on the host name
2003-03-11 14:10:15 +01:00
.if ${OPSYS} == "NetBSD" && !exists(${X11BASE}/lib/libxkbfile.so)
PLIST_SUBST+= KCMKEYBOARD="kcm_keyboard.a"
.else
PLIST_SUBST+= KCMKEYBOARD="kcm_keyboard.so"
.endif
2002-05-31 15:18:33 +02:00
ICONDIR= share/kde/icons
FOO_MAIN_FILES= \
kate/app/dummy_main.cpp \
kcontrol/access/kaccess_main.cpp \
kcontrol/kcontrol/kcminit_main.cpp \
kcontrol/kcontrol/kcmshell_main.cpp \
kcontrol/kcontrol/kcontrol_main.cpp \
kdeprint/kjobviewer/kjobviewer_main.cpp \
kdesktop/kdesktop_main.cc \
khotkeys/khotkeys/khotkeys_main.cpp \
kicker/kicker_main.cpp \
kicker/proxy/appletproxy_main.cpp \
kicker/proxy/extensionproxy_main.cpp \
klipper/klipper_main.cpp \
kmenuedit/kmenuedit_main.cpp \
konqueror/client/kfmclient_main.cc \
konqueror/keditbookmarks/keditbookmarks_main.cpp \
konqueror/konqueror_main.cc \
konsole/konsole/konsole_main.cpp \
konsole/konsole/kwrited_main.cpp \
ksmserver/ksmserver_main.cpp \
kxkb/kxkb_main.cpp \
legacyimport/klegacyimport_main.cpp
Update kdebase to 3.1.3. Changes: * kate: Make saving of remote files during shutdown work. * kcontrol/colors: Don't reset widget selection dropdown when selecting a different theme * kcontrol/filetypes: Fixed removing of mimetypes specified by a .kdelnk file * kcontrol/input: fix application of large & white cursors * kcontrol/services: don't show kxmlrpcd, kalarmd and kwrited if they're not installed * kdesud: support empty passwords * kdm: Fix i18n support for the GuiStyle and ColorScheme combos * kdm: don't reset local Xserver if termination is requsted * keditbookmarks: Various bufixes * kio_sftp: Support OpenSSH 3.6+ * kio_sftp: Support older sftp protocol revisions * kio_smb: Huge update for samba 3.0. * kicker: Improve icon scaling in service menus * kicker: "Terminal Sessions" special button supports sessions with dots in filename * kicker: "Terminal Sessions" special button with same sort order as the one in Konsole. * kicker: Fix mimetype resolution in the quickbrowser * kicker: Fixes for stuck tooltips * kicker: Do not create local directories for .desktop files used in service buttons if no needed * kicker: Fix apply button not working for quickstart menu entries settings * kicker: Fix hide button preference effects reversed * kicker:Various fixes for recent apps history * kicker/minipager: don't show redundant tooltips when the page already shows names * konsole: Added Ctrl+Shift+N as alternate default shortcut for "New Session". * konsole: Fixed fixed-width with proportional-font drawing routine. * konsole: Fixed problems with mouse and paste support and detached windows. * konsole: Let new color schemes take effect once kcmkonsole tells to do so. * konsole: Wheel mouse fixes for Mode_Mouse1000. * konqueror: Flicker fixes inside the iconview * konqueror: Fix for inter-process copy-past with the listview * konqueror: Make sure the tab close button is properly enabled when a 2nd tab is first open through context menu entries * konqueror: Made Ctrl+Enter for new tab in URL combo working again. * konqueror: Various sidebar fixes * konqueror: make sure that the location label truly disappears when disabled * konqueror: konqueror warning for repeated POSTs * konqueror: Konqueror crash when dragging image from about:konqueror * konqueror: Improve tracking of listviewitems so that we don't crash when they get deleted somewhat unexpectedly * konqueror: Don't crash when updating toolbars without a part load * konqueror: Properly handle 'stop' when still listing the directory in the info list view * konqueror: Efficiency fix: make sure only one konqueror instance saves the history when it changes * konqueror: Don't use deleted KFileItems. * Don't crash when doing a copy w/o a currentItem * konqueror: Stop activity when the user tries hard to enter a URL * konqueror: Properly calculate column indices for the meta info listview * konqueror: Hide the find part on a second click on its toolbar button * konqueror: Handle _top/_blank, and so on, case-insensitively * libkonq: make sure KFileTip does not hold on to stale file items * libkonq: precaution: make sure that no preview jobs hold on to icon view's items when it's cleared * libkonq: fixes to cut-and-paste * libkonq: network-friendlier paste button state polling * kwin: Fix deactivation of window when loosing focus * kwin: New windows are drawn above open menus * kwin: Some non-resizable windows can still be resized * kwin: Fixes for click raise * kwin: If a window is hover-unshaded, then it's not shaded for the outside world * kwin: Keramik decoration: Properly detect XShape on Solaris * nsplugins: Fix relative URLs.
2003-07-30 15:34:58 +02:00
.include "../../meta-pkgs/kde3/Makefile.foo_main"
# 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/konsole_grantpty ${_KDE_SETUID_ROOT}
SPECIAL_PERMS+= ${PREFIX}/bin/kcheckpass ${_KDE_SETUID_ROOT}
SPECIAL_PERMS+= ${PREFIX}/bin/ksysguardd ${_KDE_SETUID_ROOT}
2003-07-08 16:05:06 +02:00
pre-configure:
cd ${WRKSRC}; \
files="kioslave/info/kde-info2html.conf khelpcenter/infoconsts.h"; \
for file in $${files}; do \
${SED} -e 's|@LOCALBASE@|${LOCALBASE}|' $${file} > \
$${file}.new; \
${MV} -f $${file}.new $${file}; \
done
2002-05-31 15:18:33 +02:00
post-build:
cd ${WRKSRC}; \
files="kioslave/info/kde-info2html.conf"; \
for file in $${files}; do \
${SED} ${FILES_SUBST_SED} $${file} > $${file}.new; \
2002-05-31 15:18:33 +02:00
${MV} -f $${file}.new $${file}; \
done
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/kde/templates/.source/emptydir
${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
2003-03-28 21:28:56 +01:00
@# else users won't be able to alter them after copying them to
2002-05-31 15:18:33 +02:00
@# 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}/Daemon.png|' \
kdmrc > ${WRKDIR}/kdmrc.ad; \
${CP} -f ${WRKDIR}/kdmrc.ad kdmrc
.endif
2002-10-02 04:11:19 +02:00
.include "../../databases/openldap/buildlink2.mk"
.include "../../fonts/fontconfig/buildlink2.mk"
2002-10-02 04:11:19 +02:00
.include "../../graphics/freetype2/buildlink2.mk"
Update kdebase to 3.1.3. Changes: * kate: Make saving of remote files during shutdown work. * kcontrol/colors: Don't reset widget selection dropdown when selecting a different theme * kcontrol/filetypes: Fixed removing of mimetypes specified by a .kdelnk file * kcontrol/input: fix application of large & white cursors * kcontrol/services: don't show kxmlrpcd, kalarmd and kwrited if they're not installed * kdesud: support empty passwords * kdm: Fix i18n support for the GuiStyle and ColorScheme combos * kdm: don't reset local Xserver if termination is requsted * keditbookmarks: Various bufixes * kio_sftp: Support OpenSSH 3.6+ * kio_sftp: Support older sftp protocol revisions * kio_smb: Huge update for samba 3.0. * kicker: Improve icon scaling in service menus * kicker: "Terminal Sessions" special button supports sessions with dots in filename * kicker: "Terminal Sessions" special button with same sort order as the one in Konsole. * kicker: Fix mimetype resolution in the quickbrowser * kicker: Fixes for stuck tooltips * kicker: Do not create local directories for .desktop files used in service buttons if no needed * kicker: Fix apply button not working for quickstart menu entries settings * kicker: Fix hide button preference effects reversed * kicker:Various fixes for recent apps history * kicker/minipager: don't show redundant tooltips when the page already shows names * konsole: Added Ctrl+Shift+N as alternate default shortcut for "New Session". * konsole: Fixed fixed-width with proportional-font drawing routine. * konsole: Fixed problems with mouse and paste support and detached windows. * konsole: Let new color schemes take effect once kcmkonsole tells to do so. * konsole: Wheel mouse fixes for Mode_Mouse1000. * konqueror: Flicker fixes inside the iconview * konqueror: Fix for inter-process copy-past with the listview * konqueror: Make sure the tab close button is properly enabled when a 2nd tab is first open through context menu entries * konqueror: Made Ctrl+Enter for new tab in URL combo working again. * konqueror: Various sidebar fixes * konqueror: make sure that the location label truly disappears when disabled * konqueror: konqueror warning for repeated POSTs * konqueror: Konqueror crash when dragging image from about:konqueror * konqueror: Improve tracking of listviewitems so that we don't crash when they get deleted somewhat unexpectedly * konqueror: Don't crash when updating toolbars without a part load * konqueror: Properly handle 'stop' when still listing the directory in the info list view * konqueror: Efficiency fix: make sure only one konqueror instance saves the history when it changes * konqueror: Don't use deleted KFileItems. * Don't crash when doing a copy w/o a currentItem * konqueror: Stop activity when the user tries hard to enter a URL * konqueror: Properly calculate column indices for the meta info listview * konqueror: Hide the find part on a second click on its toolbar button * konqueror: Handle _top/_blank, and so on, case-insensitively * libkonq: make sure KFileTip does not hold on to stale file items * libkonq: precaution: make sure that no preview jobs hold on to icon view's items when it's cleared * libkonq: fixes to cut-and-paste * libkonq: network-friendlier paste button state polling * kwin: Fix deactivation of window when loosing focus * kwin: New windows are drawn above open menus * kwin: Some non-resizable windows can still be resized * kwin: Fixes for click raise * kwin: If a window is hover-unshaded, then it's not shaded for the outside world * kwin: Keramik decoration: Properly detect XShape on Solaris * nsplugins: Fix relative URLs.
2003-07-30 15:34:58 +02:00
.include "../../meta-pkgs/kde3/buildlink2.mk"
2002-10-02 04:11:19 +02:00
.include "../../x11/qt3-tools/buildlink2.mk"
.include "../../x11/kdelibs3/buildlink2.mk"
2002-05-31 15:18:33 +02:00
.include "../../mk/bsd.pkg.mk"