freebsd-ports/net-im/ekiga/Makefile
Koop Mast af3811313c The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2.
Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up.

This commit removes the old GNOME 2 desktop, bindings and some ports that
can't be compiled. A few ports where updated to more recent versions to
allow them to compile with this update.

Apart from updating ports to newer versions

GDM is more integrated with gnome-shell now, and handles several things for
the GNOME desktop such as screen locking. If you want to use GNOME 3 via
startx, you will have to add your own lock screen/screensaver. For example xscreensaver
can be used for sessions started without GDM.

Shell Extensions can be installed via https://extensions.gnome.org/ , we have
ported a few that can't be installed via this way.
The old gnome-utils and gnome-games ports where split up into single ports
and where converted to meta-ports.
gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but
if you use startx you need to do this yourself.

Upgrade instructions:

Delete the old and conflicting packages:
# pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \
    guile gcalctool gnome-media libgnomekbd
# pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \
    evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center

For package users the following lines will be enough:
# pkg upgrade
# pkg install gnome3

For ports users should do the following:
# portmaster -a
# portmaster x11/gnome3

We are currently aware of two issues. The first issue is a bug in the
file monitoring code in the glib20 port. This bug causes glib programs
to crash when files in a monitored directory are added or removed.
Upstream is aware of the problem, but since the problem is quite complex
there is no solution yet. This problem isn't restricted to BSD.

The second issue is that on certain video cards totem will display a
purple/pink overlay on the video. It not clear yet where the issues
comes from.

Major thanks goes to Gustau Perez for being a driving force behind getting
GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs.

This update was also made possible by:
	Joe Maloney
	Kris Moore
	Beeblebrox
	Ryan Lortie
	Antoine Jacoutot
	and everyone I missed
2014-11-19 11:49:04 +00:00

169 lines
4.2 KiB
Makefile

# Created by: Charlie & <root@ws.ipfw.ru>
# $FreeBSD$
# $MCom: ports/trunk/net-im/ekiga/Makefile 19954 2014-10-15 10:03:57Z kwm $
PORTNAME= ekiga
PORTVERSION= 4.0.1
PORTREVISION= 8
CATEGORIES= net-im
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= VoIP and video conferencing application
BUILD_DEPENDS= v4l_compat>=0:${PORTSDIR}/multimedia/v4l_compat \
gnome-icon-theme>=3.0.0:${PORTSDIR}/misc/gnome-icon-theme
LIB_DEPENDS= libboost_signals.so:${PORTSDIR}/devel/boost-libs \
libopal.so:${PORTSDIR}/net/opal \
libv4l2.so:${PORTSDIR}/multimedia/libv4l
RUN_DEPENDS= gnome-icon-theme>=3.0.0:${PORTSDIR}/misc/gnome-icon-theme
GNU_CONFIGURE= yes
USES= gettext gmake libtool pathfix perl5 pkgconfig \
tar:xz
USE_XORG= xv
USE_GNOME= gtk20 intlhack libxml2
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -I${LOCALBASE}/lib
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= LDAP NOTIFY EVOLUTION GCONF DBUS AVAHI GNOMEHELP
OPTIONS_DEFAULT=NOTIFY DBUS GCONF AVAHI
EVOLUTION_DESC= Evolution data server support
GNOMEHELP_DESC= Build Ekiga help files
#OPTIONS_GROUP= EXP
#OPTIONS_GROUP_EXP= KDE KAB GSTREAMER XCAP LOUDMOUTH
EXP_DESC= Experimental features
KDE_DESC= KDE 4 support
KAB_DESC= KAddressBook support (implies KDE option)
GSTREAMER_DESC= Gstreamer support
XCAP_DESC= Remote contact storage via HTTP in xml format
LOUDMOUTH_DESC= XMPP (jabber) support
# Note that h.323 support is enabled when opal is build with it.
.include <bsd.port.options.mk>
PLIST_SUB+= VERSION=${PORTVERSION}
.if ${PORT_OPTIONS:MKDE} || ${PORT_OPTIONS:MKAB}
USE_KDE4= kdehier kdelibs
USE_QT4= corelib
CONFIGURE_ARGS+=--enable-kde
#CONFIGURE_ENV+=KDE_CFLAGS="-I${KDE4_PREFIX}/include -I${QT_INCDIR} \
# -I${LOCALBASE}/include" KDE_LIBS="-L${KDE4_PREFIX}/lib"
CPPFLAGS+= -I${KDE4_PREFIX}/include
LDFLAGS+= -L${KDE4_PREFIX}/lib
.else
CONFIGURE_ARGS+=--disable-kde
.endif
.if ${PORT_OPTIONS:MKAB}
CONFIGURE_ARGS+=--enable-kab
USE_KDE4+= pimlibs
.else
CONFIGURE_ARGS+=--disable-kab
.endif
.if ${PORT_OPTIONS:MGSTREAMER}
CONFIGURE_ARGS+=--enable-gstreamer
USE_GSTREAMER= yes
.else
CONFIGURE_ARGS+=--disable-gstreamer
.endif
.if ${PORT_OPTIONS:MXCAP}
CONFIGURE_ARGS+=--enable-xcap
LIB_DEPENDS+= libsoup-2.4.so:${PORTSDIR}/devel/libsoup
.else
CONFIGURE_ARGS+=--disable-xcap
.endif
.if ${PORT_OPTIONS:MLOUDMOUTH}
CONFIGURE_ARGS+=--enable-loudmouth
LIB_DEPENDS+= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth
.else
CONFIGURE_ARGS+=--disable-loudmouth
.endif
.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP= yes
LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
CONFIGURE_ARGS+=--enable-ldap --with-ldap-dir="${LOCALBASE}" --with-libsasl2-dir="${LOCALBASE}"
PLIST_SUB+= LDAP=""
WITH_PLUGINS= 1
.else
CONFIGURE_ARGS+=--disable-ldap
PLIST_SUB+= LDAP="@comment "
.endif
.if defined(WITH_PLUGINS)
PLIST_SUB+= PLUGINS=""
.else
PLIST_SUB+= PLUGINS="@comment "
.endif
.if ${PORT_OPTIONS:MNOTIFY}
LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=--enable-notify
PLIST_SUB+= NOTIFY=""
WITH_PLUGINS= 1
.else
CONFIGURE_ARGS+=--disable-notify
PLIST_SUB+= NOTIFY="@comment "
.endif
.if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS+= libdbus-1.so:${PORTSDIR}/devel/dbus
CONFIGURE_ARGS+=--enable-dbus --enable-dbus-service
PLIST_SUB+= DBUS=""
.else
CONFIGURE_ARGS+=--disable-dbus --disable-dbus-service
PLIST_SUB+= DBUS="@comment "
.endif
.if ${PORT_OPTIONS:MGCONF}
USE_GNOME+= gconf2
CONFIGURE_ARGS+=--enable-gconf
GCONF_SCHEMAS= ekiga.schemas
PLIST_SUB+= GCONF="@comment "
.else
CONFIGURE_ARGS+=--disable-gconf
PLIST_SUB+= GCONF=""
.endif
.if ${PORT_OPTIONS:MEVOLUTION}
USE_GNOME+= evolutiondataserver3
LIB_DEPENDS+= libgcr-3.so:${PORTSDIR}/security/gcr
CONFIGURE_ARGS+=--enable-eds
PLIST_SUB+= EVOLUTION=""
WITH_PLUGINS= 1
.else
CONFIGURE_ARGS+=--disable-eds
PLIST_SUB+= EVOLUTION="@comment "
.endif
.if ${PORT_OPTIONS:MAVAHI}
CONFIGURE_ARGS+=--enable-avahi
LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app
PLIST_SUB+= AVAHI=""
WITH_PLUGINS= 1
.else
CONFIGURE_ARGS+=--disable-avahi
PLIST_SUB+= AVAHI="@comment "
.endif
.if ${PORT_OPTIONS:MGNOMEHELP}
INSTALLS_OMF= yes
PLIST_SUB+= GNOMEHELP=""
USE_GNOME+= gnomedocutils
.else
CONFIGURE_ARGS+=--disable-gdu
PLIST_SUB+= GNOMEHELP="@comment "
.endif
.include <bsd.port.mk>