1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/x11-wm/muffin/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

50 lines
1.8 KiB
Makefile

# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
# $MCom: ports/trunk/x11-wm/muffin/Makefile 20031 2014-11-02 21:47:55Z kwm $
PORTNAME= muffin
PORTVERSION= 2.2.6
PORTREVISION= 1
CATEGORIES= x11-wm gnome
MASTER_SITES= http://github.com/linuxmint/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Compositing window manager forked from Mutter for use with Cinnamon
BUILD_DEPENDS= zenity>=3.0.0:${PORTSDIR}/x11/zenity \
gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
gsettings-desktop-schemas>=3.4.0:${PORTSDIR}/devel/gsettings-desktop-schemas
LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
libclutter-glx-1.0.so:${PORTSDIR}/graphics/clutter \
libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \
libcinnamon-desktop.so:${PORTSDIR}/x11/cinnamon-desktop
RUN_DEPENDS= zenity>=3.0.0:${PORTSDIR}/x11/zenity
USES= autoreconf:build execinfo gettext libtool gmake \
pathfix pkgconfig python:2
USE_GNOME= gconf2 gnomedocutils gnomeprefix gtk30 \
intlhack introspection:build
USE_XORG= x11 xext xrandr xcomposite xcursor xinerama ice sm
USE_LDCONFIG= yes
USE_CSTD= gnu89
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -Wno-error=unused-function
CFLAGS+= -I${LOCALBASE}/include -Wno-error=unused-function
LDFLAGS+= -L${LOCALBASE}/lib
PATHFIX_MAKEFILEIN= Makefile.am
CONFIGURE_ENV= LIBS="-lexecinfo"
CONFIGURE_ARGS= --enable-compile-warnings=maximum
MAKE_ARGS= V=1
GLIB_SCHEMAS= org.cinnamon.muffin.gschema.xml
INSTALL_TARGET= install-strip
pre-configure:
@cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} autogen.sh
post-patch:
@${REINPLACE_CMD} -e 's|REQUIRED_AUTOMAKE_VERSION=1.10|REQUIRED_AUTOMAKE_VERSION=1.14|g' \
${WRKSRC}/autogen.sh
.include <bsd.port.mk>