1999-08-31 04:51:23 +02:00
|
|
|
# $FreeBSD$
|
1997-11-01 15:28:21 +01:00
|
|
|
|
2011-10-17 02:03:42 +02:00
|
|
|
PORTNAME= kde-workspace
|
2014-02-18 15:23:03 +01:00
|
|
|
PORTVERSION= ${KDE4_WORKSPACE_VERSION}
|
2014-11-17 22:00:49 +01:00
|
|
|
PORTREVISION= 1
|
2003-01-28 19:36:58 +01:00
|
|
|
CATEGORIES= x11 kde
|
2014-02-18 15:23:03 +01:00
|
|
|
MASTER_SITES= KDE/${KDE4_BRANCH}/${KDE4_VERSION}/src
|
2013-03-27 12:55:25 +01:00
|
|
|
DIST_SUBDIR= KDE/${PORTVERSION}
|
1997-11-01 15:28:21 +01:00
|
|
|
|
2003-01-28 19:36:58 +01:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2013-03-27 12:55:25 +01:00
|
|
|
COMMENT= KDE Plasma Desktop
|
1998-09-30 04:07:28 +02:00
|
|
|
|
2013-12-12 15:15:03 +01:00
|
|
|
LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus \
|
|
|
|
libck-connector.so:${PORTSDIR}/sysutils/consolekit \
|
|
|
|
libpci.so:${PORTSDIR}/devel/libpci \
|
|
|
|
libhal.so:${PORTSDIR}/sysutils/hal \
|
|
|
|
libqalculate.so:${PORTSDIR}/math/libqalculate \
|
|
|
|
libprison.so:${PORTSDIR}/graphics/prison \
|
|
|
|
libboost_thread.so:${PORTSDIR}/devel/boost-libs \
|
|
|
|
libdbusmenu-qt.so:${PORTSDIR}/devel/libdbusmenu-qt \
|
|
|
|
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
|
|
|
|
libfreetype.so:${PORTSDIR}/print/freetype2 \
|
2014-12-25 20:04:25 +01:00
|
|
|
libpng.so:${PORTSDIR}/graphics/png \
|
2013-12-12 15:15:03 +01:00
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
|
|
libxcb-render-util.so:${PORTSDIR}/x11/xcb-util-renderutil \
|
2014-02-18 15:23:03 +01:00
|
|
|
libxcb-image.so:${PORTSDIR}/x11/xcb-util-image \
|
|
|
|
libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms
|
2012-05-25 04:15:20 +02:00
|
|
|
BUILD_DEPENDS= xrdb:${PORTSDIR}/x11/xrdb
|
2008-08-09 18:52:28 +02:00
|
|
|
RUN_DEPENDS= ${KDE4_PREFIX}/env/xdg-env.sh:${PORTSDIR}/misc/kde4-xdg-env \
|
|
|
|
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \
|
|
|
|
xprop:${PORTSDIR}/x11/xprop \
|
|
|
|
xsetroot:${PORTSDIR}/x11/xsetroot \
|
|
|
|
xmessage:${PORTSDIR}/x11/xmessage \
|
|
|
|
xrdb:${PORTSDIR}/x11/xrdb \
|
|
|
|
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
2009-04-16 07:05:56 +02:00
|
|
|
xset:${PORTSDIR}/x11/xset \
|
2011-03-25 11:33:51 +01:00
|
|
|
setxkbmap:${PORTSDIR}/x11/setxkbmap \
|
|
|
|
${KDE4_PREFIX}/bin/ksysguardd:${PORTSDIR}/sysutils/ksysguardd \
|
|
|
|
${KDE4_PREFIX}/lib/kde4/libexec/polkit-kde-authentication-agent-1:${PORTSDIR}/sysutils/polkit-kde \
|
2013-02-03 21:10:37 +01:00
|
|
|
${KDE4_PREFIX}/lib/kde4/libexec/polkitkde1helper:${PORTSDIR}/sysutils/kcm-polkit-kde \
|
|
|
|
${LOCALBASE}/etc/pam.d/kde:${PORTSDIR}/security/pam_kde \
|
|
|
|
${KDE4_PREFIX}/share/apps/ksplash/Themes/Default/Theme.rc:${PORTSDIR}/x11-themes/kde4-base-artwork
|
2011-10-17 02:03:42 +02:00
|
|
|
|
2012-05-25 04:15:20 +02:00
|
|
|
USE_GL= glu
|
2011-10-17 02:03:42 +02:00
|
|
|
USE_GNOME= glib20
|
2014-10-19 17:57:27 +02:00
|
|
|
USE_KDE4= kactivities kdelibs kdeprefix nepomuk-core oxygen \
|
|
|
|
pimlibs akonadi automoc4 ontologies qimageblitz soprano strigi
|
2014-04-03 11:49:10 +02:00
|
|
|
USES= cmake:outsource compiler:c++11-lib gettext gmake iconv \
|
|
|
|
pkgconfig tar:xz
|
2013-03-27 12:55:25 +01:00
|
|
|
USE_QT4= corelib dbus declarative designer_build gui network \
|
|
|
|
opengl phonon qtestlib script sql webkit xml \
|
2011-10-17 02:03:42 +02:00
|
|
|
moc_build qmake_build rcc_build uic_build
|
|
|
|
USE_XORG= kbproto x11 xau xcomposite xcursor xdamage xdmcp xfixes \
|
|
|
|
xft xi xinerama xkbfile xrandr xrender xres xscrnsaver xtst
|
2013-03-22 15:18:02 +01:00
|
|
|
USE_LDCONFIG= yes
|
2009-08-10 13:47:36 +02:00
|
|
|
|
2013-02-03 21:10:37 +01:00
|
|
|
CMAKE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
|
2011-10-17 02:03:42 +02:00
|
|
|
-DBUILD_python:BOOL=OFF \
|
|
|
|
-DBUILD_ruby:BOOL=OFF \
|
The KDE FreeBSD team is proud to announce the release of KDE 4.2.0
for FreeBSD. The official KDE 4.2.0 (Codename: "The Answer") release
notes can be found at:
http://kde.org/announcements/4.2/index.php.
New supported languages include Arabic, Icelandic, Basque,
Hebrew, Romanian, Tajik and several Indian languages (Bengali India,
Gujarati, Kannada, Maithili, Marathi) indicating a rise in popularity in
this part of Asia.
New ports for KDE 4.2.0:
arabic/kde4-l10n Arabic
hebrew/kde4-l10n Hebrew
misc/kde4-l10n-bn_IN Bengali (India)
misc/kde4-l10n-eu Basque
misc/kde4-l10n-gu Gujarati
misc/kde4-l10n-is Icelandic
misc/kde4-l10n-kn Kannada
misc/kde4-l10n-mai Maithili
misc/kde4-l10n-mr Marathi
misc/kde4-l10n-ro Romanian
misc/kde4-l10n-tg Tajik
math/eigen2 Lightweight library for vector and matrix math
graphics/kipi-plugins-kde4 KDE4 kipi graphics plugins
sysutils/policykit-kde PolicyKit manager for KDE
Unfortunately FreeBSD 6.4 support is dropped.
We'd like to say thanks for feedback and help to:
Matt Tosto, Kris Moore, stickibit, David Johnson, Markus Brueffer,
David Naylor, Thomas Schlesinger, Warren Liddell, Thomas Abthorpe,
Diego Depaoli, Mats Andreassen, portmgr for exp-run and repocopies.
2009-02-08 21:23:45 +01:00
|
|
|
-DWITH_Xmms:BOOL=OFF \
|
2014-02-18 15:23:03 +01:00
|
|
|
-DWITH_UDev:BOOL=OFF
|
2006-12-19 22:19:54 +01:00
|
|
|
|
2013-02-03 21:10:37 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
USE_RC_SUBR= kdm4
|
|
|
|
|
|
|
|
USERS= kdm
|
|
|
|
GROUPS= kdm
|
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
OPTIONS_DEFINE= GLES GPS KACTIVITY UPOWER WALLPAPERS
|
2013-02-03 21:10:37 +01:00
|
|
|
OPTIONS_GROUP= PHONON PLASMA
|
|
|
|
OPTIONS_GROUP_PHONON= GSTREAMER VLC
|
|
|
|
OPTIONS_GROUP_PLASMA= PYTHON RUBY
|
2014-02-18 15:23:03 +01:00
|
|
|
OPTIONS_DEFAULT= GLES GPS GSTREAMER KACTIVITY UPOWER WALLPAPERS
|
|
|
|
OPTIONS_SUB= yes # GPS GLES
|
|
|
|
|
|
|
|
GLES_DESC= OpenGL ES 2.0 support in kwin and kinfocenter
|
|
|
|
GLES_USE= GL=egl,glesv2
|
2014-02-20 13:02:29 +01:00
|
|
|
GLES_CMAKE_OFF= -DWITH_OpenGLES=off
|
2013-02-03 21:10:37 +01:00
|
|
|
|
|
|
|
GPS_DESC= GPS geolocation via gpsd
|
2014-02-18 15:23:03 +01:00
|
|
|
GPS_LIB_DEPENDS= libgps.so:${PORTSDIR}/astro/gpsd
|
|
|
|
GPS_CMAKE_ON= -DWITH_libgps:BOOL=ON
|
|
|
|
GPS_CMAKE_OFF= -DWITH_libgps:BOOL=OFF
|
|
|
|
|
2013-02-03 21:10:37 +01:00
|
|
|
GSTREAMER_DESC= Multimedia via Phonon-GStreamer
|
2014-02-18 15:23:03 +01:00
|
|
|
GSTREAMER_USE= GSTREAMER=core
|
|
|
|
GSTREAMER_USE= QT4=phonon-gst_run
|
2010-05-11 16:21:05 +02:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
KACTIVITY_DESC= Activity Manager daemon
|
|
|
|
KACTIVITY_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kactivitymanagerd:${PORTSDIR}/x11/kactivitymanagerd
|
2011-10-17 02:03:42 +02:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
PYTHON_DESC= Python plasmoids support
|
|
|
|
PYTHON_RUN_DEPENDS= ${KDE4_PREFIX}/share/apps/plasma_scriptengine_python/plasma_importer.py:${PORTSDIR}/x11/plasma-scriptengine-python
|
2011-10-17 02:03:42 +02:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
RUBY_DESC= Ruby plasmoids support
|
|
|
|
RUBY_RUN_DEPENDS= ${KDE4_PREFIX}/share/apps/plasma_scriptengine_ruby/applet.rb:${PORTSDIR}/x11/plasma-scriptengine-ruby
|
2013-05-18 22:34:41 +02:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
UPOWER_DESC= Power management via UPower
|
|
|
|
UPOWER_RUN_DEPENDS= ${LOCALBASE}/libexec/upowerd:${PORTSDIR}/sysutils/upower
|
2010-05-11 16:21:05 +02:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
VLC_DESC= Multimedia via Phonon-VLC
|
|
|
|
VLC_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/plugins/phonon_backend/phonon_vlc.so:${PORTSDIR}/multimedia/phonon-vlc
|
2011-11-14 03:59:40 +01:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
WALLPAPERS_DESC= Install official KDE wallpapers
|
|
|
|
WALLPAPERS_RUN_DEPENDS= ${KDE4_PREFIX}/share/wallpapers/Horos/metadata.desktop:${PORTSDIR}/x11-themes/kde4-wallpapers \
|
|
|
|
${KDE4_PREFIX}/share/wallpapers/stripes-freebsd-blue/metadata.desktop:${PORTSDIR}/x11-themes/kde4-wallpapers-freebsd
|
2013-02-03 21:10:37 +01:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2011-10-17 02:03:42 +02:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
.if !exists(/usr/lib/libutempter.so)
|
|
|
|
LIB_DEPENDS+= libutempter.so:${PORTSDIR}/sysutils/libutempter
|
2009-12-06 21:51:35 +01:00
|
|
|
.endif
|
|
|
|
|
2009-08-04 23:14:07 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
|
2009-08-10 13:47:36 +02:00
|
|
|
${PATCH_WRKSRC}/startkde.cmake \
|
|
|
|
${PATCH_WRKSRC}/kcontrol/kfontinst/lib/KfiConstants.h \
|
|
|
|
${PATCH_WRKSRC}/kcontrol/kfontinst/kio/KioFonts.cpp \
|
2010-09-02 23:06:27 +02:00
|
|
|
${PATCH_WRKSRC}/kcontrol/keyboard/x11_helper.cpp \
|
2010-06-25 09:33:50 +02:00
|
|
|
${PATCH_WRKSRC}/kdm/backend/client.c \
|
2010-09-02 23:06:27 +02:00
|
|
|
${PATCH_WRKSRC}/kdm/kfrontend/genkdmconf.c \
|
|
|
|
${PATCH_WRKSRC}/CMakeLists.txt
|
2009-08-04 23:14:07 +02:00
|
|
|
|
2005-02-06 13:38:43 +01:00
|
|
|
pre-configure:
|
2011-03-25 11:33:51 +01:00
|
|
|
${REINPLACE_CMD} -e '/ksysguardd/ d' \
|
|
|
|
${PATCH_WRKSRC}/ksysguard/CMakeLists.txt \
|
|
|
|
${PATCH_WRKSRC}/ksysguard/example/CMakeLists.txt
|
2011-10-17 02:03:42 +02:00
|
|
|
${REINPLACE_CMD} -e '/PolicyKit/ d' \
|
|
|
|
${PATCH_WRKSRC}/doc/CMakeLists.txt
|
Update to KDE 2.2:
* All patches except sysutils/kdeadmin/files/patch-rpmMessages.c:
- Either obsoleted or merged into KDE.
* All pkg-plists:
- Huge diffs are due to mass conversion from static HTML pages
to XML/XSL versions.
* audio/kdemultimedia2:
- aRts + Noatun, etc. now work and play MP3s et al properly,
using the mpg123 aRtsplugin. Remove mpeglib[,_artsplug]
from compile.
* converters/kdesupport2:
- Obsolete. No longer used in this version of KDE.
* deskutils/kdepim:
- Use autoconf and account for brokenness in the configure
script by replacing invocations of INSTALL under libical
with the proper incantations.
- Per David O'Brien's request, move libimap to libkimap;
this was performed by Rik Hemsley <rikkus@kde.org>.
* devel/kdesdk:
- New module with some helpful tools. One in particular that
seems demanded is ``kbabel'', which, as I've been told, is
a translator's wet dream.
- Workaround dumb problem in kbabel's libgettext (which I could
not figure out how to remove) by replacing its error() with
errc(). KBabel seems to run fine with this patch.
* devel/kdevelop:
- Fix lame check for libkdeui.so.* by replacing it with just
a check for libkdeui.so. It's been/being removed from
kdevelop after 2.2.
* editors/koffice:
- Fix kivio compile errors by substituting in PTHREAD_LIBS
in the correct place. Compensate for kivio's dependency
on pthreads by changing kivio to use LD_PRELOAD=/usr/lib/libc_r.so
in kivio.desktop.
* games/kdegames2:
- Some new games.
* graphics/kdegraphics2:
- Fix link errors in libkscan and kamera where they
require gettext (ie: add -lintl).
- Fix compile error in kamera.cpp which is dependent on a
correctly done gphoto2.. of course, this will only help
people who've manually installed gphoto2 themselves.
* net/kdenetwork2:
- Mimelib was moved here (reason for removal of kdesupport2).
* misc/kdeaddons:
- New module to FreeBSD ports; some simple addons for KDE2.
Suggested by Lauri Watts <lauri@kde.org>.
* misc/kdeutils2:
- Added a couple manpages.
* x11-clocks/kdetoys2:
- Some new apps.
* sysutils/kdeadmin:
- Remove kuser from compile because it has some problems. ;\
* x11/kdelibs2:
- Add libFAM dependency to help people who run FAM; FAM
increases the overall desktop responsiveness.
Submitted by Lauri Watts <lauri@kde.org>.
- Add CUPS dependency to bring in KDE's new print system.
- Add bzip2/libxml2 dependencies to support the new help kioslave.
- Disable installation of libltdl stuff to prevent conflicts
with other stuff. Submitted by wjv.
- Add pkg-req script to avoid conflicts with kdelibs11; add
to Makefile too. Submitted by benno.
- Be sure to remove the pth header conflicts stuff from the
arts/mcop_mt section.
- Fix problem with configure trying to find -lfam in the
wrong place.
- Remove kspell and api subdirs from doc; we don't need them,
and there are problems trying to build/install them.
Submitted by Lauri Watts <lauri@kde.org>.
* x11/kdebase2:
- Solve link permissions problem by changing the modes on
files installed by kdesktop/init/Templates to 644.
Submitted by Jim Durham <durham@w2xo.pgh.pa.us>.
* x11/kde2:
- Bump version; no other changes.
Special thanks to Lauri Watts <lauri@kde.org> for helping me test
packages generated by these changes on a virgin system. I believe
that this is the best-tested update I've ever done for KDE, and it
really shines this time around.
I just noticed there are a couple other PRs in the PR db that need
to be addressed. I will take care of those by tomorrow. Sorry...
PR: 22735, 28549
Blanket approval by: demon (kdesdk, kdevelop)
2001-08-15 14:43:08 +02:00
|
|
|
|
2001-09-03 19:48:23 +02:00
|
|
|
post-install:
|
2014-02-18 15:23:03 +01:00
|
|
|
${LN} -sf ${PREFIX}/bin/startkde ${STAGEDIR}${PREFIX}/bin/startkde4
|
2013-02-03 21:10:37 +01:00
|
|
|
.if ! ${PORT_OPTIONS:MGSTREAMER}
|
|
|
|
@${CAT} ${FILESDIR}/pkg-message.gstreamer >> ${PKGMESSAGE}
|
2011-10-31 18:20:09 +01:00
|
|
|
.endif
|
|
|
|
@${HEAD} -1 ${PKGMESSAGE} >> ${PKGMESSAGE}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2008-08-09 18:52:28 +02:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
.include <bsd.port.mk>
|