freebsd-ports/net-im/empathy/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

85 lines
3.5 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/net-im/empathy/Makefile 20021 2014-10-24 17:45:27Z gusi $
PORTNAME= empathy
PORTVERSION= 3.12.7
CATEGORIES= net-im gnome
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME IM client based around telepathy
BUILD_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \
ca_root_nss>=0:${PORTSDIR}/security/ca_root_nss \
gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \
geoclue>=0:${PORTSDIR}/net/geoclue \
itstool:${PORTSDIR}/textproc/itstool \
mc-tool:${PORTSDIR}/net-im/telepathy-mission-control
LIB_DEPENDS= libenchant.so:${PORTSDIR}/textproc/enchant \
libgeocode-glib.so:${PORTSDIR}/net/geocode-glib \
libgoa-1.0.so:${PORTSDIR}/net/gnome-online-accounts \
libpulse.so:${PORTSDIR}/audio/pulseaudio \
libtelepathy.so:${PORTSDIR}/net-im/libtelepathy \
libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib \
libtelepathy-farstream.so:${PORTSDIR}/net-im/telepathy-farstream \
libtelepathy-logger.so:${PORTSDIR}/net-im/telepathy-logger \
libfolks-telepathy.so:${PORTSDIR}/net-im/folks \
libnotify.so:${PORTSDIR}/devel/libnotify \
libgcr-3.so:${PORTSDIR}/security/gcr \
libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \
libclutter-gst-2.0.so:${PORTSDIR}/multimedia/clutter-gst \
libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \
libsoup-2.4.so:${PORTSDIR}/devel/libsoup
RUN_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \
ca_root_nss>=0:${PORTSDIR}/security/ca_root_nss \
gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \
geoclue>=0:${PORTSDIR}/net/geoclue \
mc-tool:${PORTSDIR}/net-im/telepathy-mission-control
USES= gettext gmake libtool pathfix pkgconfig python tar:xz
USE_GNOME= evolutiondataserver3 gnomeprefix intlhack
USE_GSTREAMER1= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
MAKE_JOBS_UNSAFE= YES
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-Werror \
--enable-goa \
--enable-gst-1.0=yes \
--enable-location=yes
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.Empathy.gschema.xml \
org.gnome.telepathy-account-widgets.gschema.xml
OPTIONS_SUB= yes
OPTIONS_DEFINE= JABBER MSN IRC SALUT HAZE MAP CHEESE
OPTIONS_DEFAULT=JABBER MSN IRC SALUT MAP
JABBER_DESC= Enable jabber (XMPP) client support
MSN_DESC= Enable MSN client support
IRC_DESC= Enable IRC client support
SALUT_DESC= Enable link-local (serverless) XMPP support
HAZE_DESC= Enable libpurple protocol integration
MAP_DESC= Enable graphical map support
CHEESE_DESC= Enable cheese camera support
JABBER_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-gabble:${PORTSDIR}/net-im/telepathy-gabble
MSN_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-butterfly:${PORTSDIR}/net-im/telepathy-butterfly
IRC_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-idle:${PORTSDIR}/net-im/telepathy-idle
SALUT_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-salut
HAZE_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-haze:${PORTSDIR}/net-im/telepathy-haze
MAP_USE= GL=gl
MAP_LIB_DEPENDS= libchamplain-0.12.so:${PORTSDIR}/graphics/libchamplain
MAP_CONFIGURE_ENABLE= map
CHEESE_BUILD_DEPENDS= cheese>=0:${PORTSDIR}/multimedia/cheese
CHEESE_RUN_DEPENDS= cheese>=0:${PORTSDIR}/multimedia/cheese
CHEESE_CONFIGURE_WITH= cheese
post-patch:
@${REINPLACE_CMD} -e 's|clutter-gst-1.0|clutter-gst-2.0|g ;\
s|MISSION_CONTROL_PLUGINS_DIR=`pkg-config -|MISSION_CONTROL_PLUGINS_DIR=$${libdir}/`pkg-config -|g' \
${WRKSRC}/configure
.include <bsd.port.mk>