summaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-01 06:00:17 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-01 06:00:17 +0800
commit2e4d2e942a99fbc51adebabc4cd543a91491ba37 (patch)
tree5fb7c33c9eb700d394e22ec7c7faf4258b91ea3b /x11-wm
parent2d95636f2e1c4896bca367221f0b972b5903e72a (diff)
downloadmarcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.gz
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.bz2
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.lz
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.xz
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.zst
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.zip
Clean up after 2.32 got committed. Only gdm 2.32 isn't committed because of
focus issues. And it doesn't seem it getting any traction upstream. Next stop GNOME 3.0. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14916 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/compiz/Makefile173
-rw-r--r--x11-wm/compiz/distinfo3
-rwxr-xr-xx11-wm/compiz/files/compiz-manager.in407
-rw-r--r--x11-wm/compiz/files/patch-gtk_window-decorator_gtk-window-decorator.c61
-rw-r--r--x11-wm/compiz/files/patch-plugins_fuse.c11
-rw-r--r--x11-wm/compiz/files/patch-plugins_png.c29
-rw-r--r--x11-wm/compiz/pkg-descr8
-rw-r--r--x11-wm/compiz/pkg-message10
-rw-r--r--x11-wm/compiz/pkg-plist217
-rw-r--r--x11-wm/metacity/Makefile43
-rw-r--r--x11-wm/metacity/distinfo3
-rw-r--r--x11-wm/metacity/files/patch-bugzilla_588119139
-rw-r--r--x11-wm/metacity/files/patch-configure11
-rw-r--r--x11-wm/metacity/files/patch-src_core_delete.c10
-rw-r--r--x11-wm/metacity/files/patch-src_core_main.c14
-rw-r--r--x11-wm/metacity/pkg-descr4
-rw-r--r--x11-wm/metacity/pkg-plist288
-rw-r--r--x11-wm/mutter/Makefile46
-rw-r--r--x11-wm/mutter/distinfo3
-rw-r--r--x11-wm/mutter/files/patch-src_core_main.c14
-rw-r--r--x11-wm/mutter/pkg-descr7
-rw-r--r--x11-wm/mutter/pkg-plist183
22 files changed, 0 insertions, 1684 deletions
diff --git a/x11-wm/compiz/Makefile b/x11-wm/compiz/Makefile
deleted file mode 100644
index d5ff2d2ae..000000000
--- a/x11-wm/compiz/Makefile
+++ /dev/null
@@ -1,173 +0,0 @@
-# New ports collection makefile for: compiz
-# Date created: Dec 20 2006
-# Whom: Florent Thoumie <flz@FreeBSD.org>
-#
-# $FreeBSD: ports/x11-wm/compiz/Makefile,v 1.26 2010/05/31 02:01:51 ade Exp $
-#
-
-PORTNAME= compiz
-PORTVERSION= 0.8.4
-PORTREVISION= 5
-CATEGORIES= x11-wm
-MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/
-
-MAINTAINER= rnoland@FreeBSD.org
-COMMENT= Compiz Composite/Window Manager
-
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
- gtop-2.0.7:${PORTSDIR}/devel/libgtop \
- startup-notification-1.0:${PORTSDIR}/x11/startup-notification
-
-XORG_CAT= app
-GNU_CONFIGURE= yes
-USE_BZIP2= yes
-#USE_TGZ= yes
-USE_GMAKE= yes
-USE_GETTEXT= yes
-USE_GL= glu
-USE_GNOME= gnomehack gconf2 libxslt
-USE_XORG= xcomposite xfixes xdamage xrandr xrender ice sm xinerama glproto
-USE_LDCONFIG= yes
-USE_AUTOTOOLS= libtool:22
-
-GCONF_SCHEMAS= gwd.schemas \
- compiz-annotate.schemas \
- compiz-blur.schemas \
- compiz-clone.schemas \
- compiz-commands.schemas \
- compiz-core.schemas \
- compiz-cube.schemas \
- compiz-dbus.schemas \
- compiz-decoration.schemas \
- compiz-fade.schemas \
- compiz-fs.schemas \
- compiz-gconf.schemas \
- compiz-glib.schemas \
- compiz-gnomecompat.schemas \
- compiz-ini.schemas \
- compiz-inotify.schemas \
- compiz-kconfig.schemas \
- compiz-minimize.schemas \
- compiz-move.schemas \
- compiz-obs.schemas \
- compiz-place.schemas \
- compiz-png.schemas \
- compiz-regex.schemas \
- compiz-resize.schemas \
- compiz-rotate.schemas \
- compiz-scale.schemas \
- compiz-screenshot.schemas \
- compiz-svg.schemas \
- compiz-switcher.schemas \
- compiz-video.schemas \
- compiz-water.schemas \
- compiz-wobbly.schemas \
- compiz-zoom.schemas
-
-CONFIGURE_ARGS= --disable-kde4
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-
-OPTIONS= RSVG "Enable librsvg2 support" on \
- GTK "Enable gtk2 support" on \
- METACITY "Enable Metacity support" on \
- GNOME "Enable Gnome support" on \
- DBUS "Enable DBUS support" on \
- FUSEFS "Enable fusefs support" off \
- KDE "Enable KDE support" off
-
-SUB_FILES= compiz-manager
-DESKTOP_ENTRIES= "Compiz Manager" \
- "A wrapper script for starting compiz" \
- "" \
- "compiz-manager" \
- "Application;Core;" \
- false
-
-post-patch:
- @${REINPLACE_CMD} -e 's|libpng|libpng14|' -e 's|gnome-desktop-2.0|gnome-desktop-2.0 gconf-2.0|g' \
- ${WRKSRC}/configure
-
-post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/compiz-manager ${PREFIX}/bin/compiz-manager
-.include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_RSVG)
-CONFIGURE_ARGS+= --enable-librsvg
-USE_GNOME+= librsvg2
-PLIST_SUB+= RSVG=""
-.else
-CONFIGURE_ARGS+= --disable-librsvg
-PLIST_SUB+= RSVG="@comment "
-.endif
-
-.if !defined(WITHOUT_GTK)
-CONFIGURE_ARGS+= --enable-gtk
-USE_GNOME+= glib20 libwnck
-PLIST_SUB+= GTK=""
-.else
-CONFIGURE_ARGS+= --disable-gtk
-PLIST_SUB+= GTK="@comment "
-.endif
-
-.if !defined(WITHOUT_METACITY) && !defined(WITHOUT_GNOME) && !defined(WITHOUT_GTK)
-CONFIGURE_ARGS+= --enable-metacity
-USE_GNOME+= metacity
-.else
-CONFIGURE_ARGS+= --disable-metacity
-.endif
-
-.if !defined(WITHOUT_GNOME) && !defined(WITHOUT_GTK)
-CONFIGURE_ARGS+= --enable-gnome \
- --enable-gnome-keybindings
-USE_GNOME+= gnomecontrolcenter2
-WINDOWSETTINGSDATADIR= \
- `pkg-config --variable=prefix gnome-window-settings-2.0`
-WINDOWSETTINGSLIBDIR= \
- `pkg-config --variable=libdir gnome-window-settings-2.0`
-PLIST_SUB+= GNOME="" \
- WINDOWSETTINGSDATADIR="${WINDOWSETTINGSDATADIR}" \
- WINDOWSETTINGSLIBDIR="${WINDOWSETTINGSLIBDIR}"
-.else
-CONFIGURE_ARGS+= --disable-gnome \
- --disable-gnome-keybindings
-PLIST_SUB+= GNOME="@comment "
-.endif
-
-.if !defined(WITHOUT_DBUS)
-CONFIGURE_ARGS+= --enable-dbus
-BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus
-RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus
-.if !defined(WITHOUT_GTK) && !defined(WITHOUT_GNOME)
-CONFIGURE_ARGS+= --enable-dbus-glib
-BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
-RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
-.endif
-PLIST_SUB+= DBUS=""
-.else
-CONFIGURE_ARGS+= --disable-dbus --disable-dbus-glib
-PLIST_SUB+= DBUS="@comment "
-.endif
-
-.if defined(WITH_FUSEFS)
-CONFIGURE_ARGS+= --enable-fuse
-BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fuse.pc:${PORTSDIR}/sysutils/fusefs-libs
-RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fuse.pc:${PORTSDIR}/sysutils/fusefs-libs
-PLIST_SUB+= FUSEFS=""
-.else
-CONFIGURE_ARGS+= --disable-fuse
-PLIST_SUB+= FUSEFS="@comment "
-.endif
-
-.if defined(WITH_KDE)
-USE_KDEBASE_VER= 3
-CONFIGURE_ARGS+= --enable-kde
-PLIST_SUB+= KDE=""
-# allow bsd.kde.mk to be included after bsd.port.mk
-.include "${PORTSDIR}/Mk/bsd.kde.mk"
-.else
-CONFIGURE_ARGS+= --disable-kde
-PLIST_SUB+= KDE="@comment "
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/x11-wm/compiz/distinfo b/x11-wm/compiz/distinfo
deleted file mode 100644
index 1c961e449..000000000
--- a/x11-wm/compiz/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (xorg/app/compiz-0.8.4.tar.bz2) = 03fa78ce0c464f3a413b2a3b74f09559
-SHA256 (xorg/app/compiz-0.8.4.tar.bz2) = b02bf0d2ad3ddf5dbf82ff3eb3174f3f9336bde1c5dffd44cfc007fb7e2fe924
-SIZE (xorg/app/compiz-0.8.4.tar.bz2) = 1131583
diff --git a/x11-wm/compiz/files/compiz-manager.in b/x11-wm/compiz/files/compiz-manager.in
deleted file mode 100755
index adfd309d3..000000000
--- a/x11-wm/compiz/files/compiz-manager.in
+++ /dev/null
@@ -1,407 +0,0 @@
-#!/bin/sh
-# Compiz Manager wrapper script
-#
-# Copyright (c) 2007 Kristian Lyngstøl <kristian@bohemians.org>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#
-#
-# Contributions by: Treviño (3v1n0) <trevi55@gmail.com>, Ubuntu Packages
-#
-# Much of this code is based on Beryl code, also licensed under the GPL.
-# This script will detect what options we need to pass to compiz to get it
-# started, and start a default plugin and possibly window decorator.
-#
-
-
-COMPIZ_BIN_PATH="%%LOCALBASE%%/bin/" # For window decorators and compiz
-PLUGIN_PATH="%%LOCALBASE%%/lib/compiz/"
-GLXINFO="%%LOCALBASE%%/bin/glxinfo"
-KWIN="%%LOCALBASE%%/bin/kwin"
-METACITY="%%LOCALBASE%%/bin/metacity"
-XFWM="%%LOCALBASE%%/bin/xfwm"
-COMPIZ_NAME="compiz" # Final name for compiz (compiz.real)
-
-# For Xgl LD_PRELOAD
-LIBGL_NVIDIA="/usr/lib/nvidia/libGL.so.1.2.xlibmesa"
-LIBGL_FGLRX="/usr/lib/fglrx/libGL.so.1.2.xlibmesa"
-
-# Minimum amount of memory (in kilo bytes) that nVidia cards need
-# to be allowed to start
-# Set to 262144 to require 256MB
-NVIDIA_MEMORY="65536" # 64MB
-NVIDIA_SETTINGS="nvidia-settings" # Assume it's in the path by default
-
-# For detecting what driver is in use, the + is for one or more /'s
-XORG_DRIVER_PATH="%%LOCALBASE%%/lib/xorg/modules/drivers/+"
-FALLBACKWM="xterm"
-if [ x"$KDE_FULL_SESSION" = x"true" ]; then
- FALLBACKWM="${KWIN}";
-elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then
- FALLBACKWM="${METACITY}"
-elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then
- FALLBACKWM="${XFWM}"
-fi
-
-FALLBACKWM_OPTIONS="--replace $@"
-
-# Driver whitelist
-WHITELIST="nvidia intel ati radeon i810"
-
-# blacklist based on the pci ids
-# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
-T=" 1002:5954 1002:5854 1002:5955" # ati rs480
-T="$T 1002:4153" # ATI Rv350
-T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
-BLACKLIST_PCIIDS="$T"
-unset T
-
-COMPIZ_OPTIONS="--ignore-desktop-hints --replace"
-COMPIZ_PLUGINS=""
-ENV=""
-
-# Use emerald by default if it exist
-USE_EMERALD="yes"
-
-# No indirect by default
-INDIRECT="no"
-
-# Default X.org log if xset q doesn't reveal it
-XORG_DEFAULT_LOG="/var/log/Xorg.0.log"
-
-# Set to yes to enable verbose
-VERBOSE="yes"
-
-# Echos the arguments if verbose
-verbose()
-{
- if [ "x$VERBOSE" = "xyes" ]; then
- printf "$*"
- fi
-}
-
-# abort script and run fallback windowmanager
-abort_with_fallback_wm()
-{
- if [ "x$SKIP_CHECKS" = "xyes" ]; then
- verbose "SKIP_CHECKS is yes, so continuing despite problems.\n"
- return 0;
- fi
-
- if [ "x$CM_DRY" = "xyes" ]; then
- verbose "Dry run failed: Problems detected with 3D support.'n"
- exit 1;
- fi
-
- verbose "aborting and using fallback: $FALLBACKWM \n"
-
- if [ -x $FALLBACKWM ]; then
- exec $FALLBACKWM $FALLBACKWM_OPTIONS
- else
- printf "no $FALLBACKWM found, exiting\n"
- exit 1
- fi
-}
-
-# Check for non power of two texture support
-check_npot_texture()
-{
- verbose "Checking for non power of two support: "
- if glxinfo 2> /dev/null | egrep -q '(GL_ARB_texture_non_power_of_two|GL_NV_texture_rectangle|GL_EXT_texture_rectangle|GL_ARB_texture_rectangle)' ; then
- verbose "present. \n";
- return 0;
- else
- verbose "Not present. \n"
- return 1;
- fi
-
-}
-
-# Check for presence of FBConfig
-check_fbconfig()
-{
- verbose "Checking for FBConfig: "
- if [ "$INDIRECT" = "yes" ]; then
- $GLXINFO -i | grep -q GLX.*fbconfig
- FB=$?
- else
- $GLXINFO | grep -q GLX.*fbconfig
- FB=$?
- fi
-
- if [ $FB = "0" ]; then
- unset FB
- verbose "present. \n"
- return 0;
- else
- unset FB
- verbose "not present. \n"
- return 1;
- fi
-}
-
-
-# Check for TFP
-check_tfp()
-{
- verbose "Checking for texture_from_pixmap: "
- if [ $($GLXINFO 2>/dev/null | grep -c GLX_EXT_texture_from_pixmap) -gt 2 ] ; then
- verbose "present. \n"
- return 0;
- else
- verbose "not present. \n"
- if [ "$INDIRECT" = "yes" ]; then
- unset LIBGL_ALWAYS_INDIRECT
- INDIRECT="no"
- return 1;
- else
- verbose "Trying again with indirect rendering:\n";
- INDIRECT="yes"
- export LIBGL_ALWAYS_INDIRECT=1
- check_tfp;
- return $?
- fi
- fi
-}
-
-# Check wether the composite extension is present
-check_composite()
-{
- verbose "Checking for Composite extension: "
- if xdpyinfo -queryExtensions | grep -q Composite ; then
- verbose "present. \n";
- return 0;
- else
- verbose "not present. \n";
- return 1;
- fi
-}
-
-# Detects if Xgl is running
-check_xgl()
-{
- verbose "Checking for Xgl: "
- if xvinfo | grep -q Xgl ; then
- verbose "present. \n"
- return 0;
- else
- verbose "not present. \n"
- return 1;
- fi
-}
-
-# Check if the nVidia card has enough video ram to make sense
-check_nvidia_memory()
-{
- MEM=$(${NVIDIA_SETTINGS} -q VideoRam | egrep Attribute\ \'VideoRam\'\ .*: | cut -d: -f3 | sed 's/[^0-9]//g')
- if [ $MEM -lt $NVIDIA_MEMORY ]; then
- verbose "Less than ${NVIDIA_MEMORY}kb of memory and nVidia";
- return 1;
- fi
- return 0;
-}
-
-# Check for existence if NV-GLX
-check_nvidia()
-{
- if [ ! -z $NVIDIA_INTERNAL_TEST ]; then
- return $NVIDIA_INTERNAL_TEST;
- fi
- verbose "Checking for nVidia: "
- if xdpyinfo | grep -q NV-GLX ; then
- verbose "present. \n"
- NVIDIA_INTERNAL_TEST=0
- return 0;
- else
- verbose "not present. \n"
- NVIDIA_INTERNAL_TEST=1
- return 1;
- fi
-}
-
-# Check if the max texture size is large enough compared to the resolution
-check_texture_size()
-{
- TEXTURE_LIMIT=$(glxinfo -l | grep GL_MAX_TEXTURE_SIZE | sed 's/.*=[^0-9]//g')
- RESOLUTION=$(xdpyinfo | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//')
- VRES=$(echo $RESOLUTION | sed 's/.*x//')
- HRES=$(echo $RESOLUTION | sed 's/x.*//')
- verbose "Comparing resolution ($RESOLUTION) to maximum 3D texture size ($TEXTURE_LIMIT): ";
- if [ $VRES -gt $TEXTURE_LIMIT ] || [ $HRES -gt $TEXTURE_LIMIT ]; then
- verbose "Failed.\n"
- return 1;
- fi
- verbose "Passed.\n"
- return 0
-}
-
-# check driver whitelist
-running_under_whitelisted_driver()
-{
- LOG=$(xset q|grep "Log file"|awk '{print $3}')
- if [ "$LOG" = "" ]; then
- verbose "xset q doesn't reveal the location of the log file. Using fallback $XORG_DEFAULT_LOG \n"
- LOG=$XORG_DEFAULT_LOG;
- fi
- if [ -z "$LOG" ];then
- verbose "AIEEEEH, no Log file found \n"
- verbose "$(xset q) \n"
- return 0
- fi
- for DRV in ${WHITELIST}; do
- if egrep -q "Loading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG &&
- ! egrep -q "Unloading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG;
- then
- return 0
- fi
- done
- verbose "No whitelisted driver found\n"
- return 1
-}
-
-# check pciid blacklist
-have_blacklisted_pciid()
-{
-# OUTPUT=$(lspci -n)
-# for ID in ${BLACKLIST_PCIIDS}; do
-# if echo "$OUTPUT" | egrep -q "$ID"; then
-# verbose "Blacklisted PCIID '$ID' found \n"
-# return 0
-# fi
-# done
-# OUTPUT=$(lspci -vn | grep -i VGA)
-# verbose "Detected PCI ID for VGA: $OUTPUT\n"
- return 1
-}
-
-build_env()
-{
- if check_nvidia; then
- ENV="__GL_YIELD=NOTHING "
- fi
- if [ "$INDIRECT" = "yes" ]; then
- ENV="$ENV LIBGL_ALWAYS_INDIRECT=1 "
- fi
- if check_xgl; then
- if [ -f ${LIBGL_NVIDIA} ]; then
- ENV="$ENV LD_PRELOAD=${LIBGL_NVIDIA}"
- verbose "Enabling Xgl with nVidia drivers...\n"
- fi
- if [ -f ${LIBGL_FGLRX} ]; then
- ENV="$ENV LD_PRELOAD=${LIBGL_FGLRX}"
- verbose "Enabling Xgl with fglrx ATi drivers...\n"
- fi
- fi
-
- ENV="$ENV FROM_WRAPPER=yes"
-
- if [ -n "$ENV" ]; then
- export $ENV
- fi
-}
-
-build_args()
-{
- if [ "x$INDIRECT" = "xyes" ]; then
- COMPIZ_OPTIONS="$COMPIZ_OPTIONS --indirect-rendering "
- fi
- if [ ! -z "$DESKTOP_AUTOSTART_ID" ]; then
- COMPIZ_OPTIONS="$COMPIZ_OPTIONS --sm-client-id $DESKTOP_AUTOSTART_ID"
- fi
- if check_nvidia; then
- if [ "x$INDIRECT" != "xyes" ]; then
- COMPIZ_OPTIONS="$COMPIZ_OPTIONS --loose-binding"
- fi
- fi
-}
-
-####################
-# Execution begins here.
-
-# Read configuration from XDG paths
-if [ -z "$XDG_CONFIG_DIRS" ]; then
- test -f %%LOCALBASE%%/etc/xdg/compiz/compiz-manager && . %%LOCALBASE%%/etc/xdg/compiz/compiz-manager
-else
- test -f $XDG_CONFIG_DIRS/compiz/compiz-manager && . $XDG_CONFIG_DIRS/compiz/compiz-manager
-fi
-
-if [ -z "$XDG_CONFIG_HOME" ]; then
- test -f $HOME/.config/compiz/compiz-manager && . $HOME/.config/compiz/compiz-manager
-else
- test -f $XDG_CONFIG_HOME/compiz/compiz-manager && . $XDG_CONFIG_HOME/compiz/compiz-manager
-fi
-
-# Don't use compiz when running the failsafe session
-if [ "x$GNOME_DESKTOP_SESSION_ID" = "xFailsafe" ]; then
- abort_with_fallback_wm
-fi
-
-if [ "x$LIBGL_ALWAYS_INDIRECT" = "x1" ]; then
- INDIRECT="yes";
-fi
-
-# if we run under Xgl, we can skip some tests here
-if ! check_xgl; then
- # if vesa or vga are in use, do not even try glxinfo (LP#119341)
- if ! running_under_whitelisted_driver || have_blacklisted_pciid; then
- abort_with_fallback_wm
- fi
- # check if we have the required bits to run compiz and if not,
- # fallback
- if ! check_tfp || ! check_npot_texture || ! check_composite || ! check_texture_size; then
- abort_with_fallback_wm
- fi
-
- if check_nvidia && ! check_nvidia_memory; then
- abort_with_fallback_wm
- fi
-
- if ! check_fbconfig; then
- abort_with_fallback_wm
- fi
-fi
-
-# load the ccp plugin if present and fallback to plain gconf if not
-if [ -f ${PLUGIN_PATH}libccp.so ]; then
- COMPIZ_PLUGINS="$COMPIZ_PLUGINS ccp"
-elif [ -f ${PLUGIN_PATH}libgconf.so ]; then
- COMPIZ_PLUGINS="$COMPIZ_PLUGINS glib gconf"
-fi
-
-# get environment
-build_env
-build_args
-
-if [ "x$CM_DRY" = "xyes" ]; then
- verbose "Dry run finished: everything should work with regards to Compiz and 3D.\n"
- verbose "Execute: ${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS \n"
- exit 0;
-fi
-# start the gtk-window-decorator if present
-if [ -x ${COMPIZ_BIN_PATH}emerald ] && [ "$USE_EMERALD" = "yes" ]; then
- verbose "Starting emerald\n"
- ${COMPIZ_BIN_PATH}emerald --replace &
-elif [ -x ${COMPIZ_BIN_PATH}gtk-window-decorator ] && [ -n "$GNOME_DESKTOP_SESSION_ID" ]; then
- verbose "Starting gtk-window-decorator\n"
- ${COMPIZ_BIN_PATH}gtk-window-decorator --replace &
-elif [ -x ${COMPIZ_BIN_PATH}kde-window-decorator ] && [ -n "$KDE_FULL_SESSION" ]; then
- verbose "Starting kde-window-decorator\n"
- ${COMPIZ_BIN_PATH}kde-window-decorator --replace &
- FALLBACKWM="${KWIN}"
-fi
-
-${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS
-
diff --git a/x11-wm/compiz/files/patch-gtk_window-decorator_gtk-window-decorator.c b/x11-wm/compiz/files/patch-gtk_window-decorator_gtk-window-decorator.c
deleted file mode 100644
index 1c853c4e2..000000000
--- a/x11-wm/compiz/files/patch-gtk_window-decorator_gtk-window-decorator.c
+++ /dev/null
@@ -1,61 +0,0 @@
---- gtk/window-decorator/gtk-window-decorator.c.orig 2009-08-15 09:24:40.000000000 +0200
-+++ gtk/window-decorator/gtk-window-decorator.c 2010-10-29 12:56:37.000000000 +0200
-@@ -2671,7 +2671,7 @@ get_window_prop (Window xwindow,
- gdk_error_trap_push ();
-
- type = None;
-- result = XGetWindowProperty (gdk_display,
-+ result = XGetWindowProperty (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
- xwindow,
- atom,
- 0, G_MAXLONG,
-@@ -4233,7 +4233,7 @@ show_tooltip (const char *text)
- static void
- hide_tooltip (void)
- {
-- if (GTK_WIDGET_VISIBLE (tip_window))
-+ if (gtk_widget_get_visible (tip_window))
- g_get_current_time (&tooltip_last_popdown);
-
- gtk_widget_hide (tip_window);
-@@ -4966,7 +4966,7 @@ force_quit_dialog_realize (GtkWidget *di
- WnckWindow *win = data;
-
- gdk_error_trap_push ();
-- XSetTransientForHint (gdk_display,
-+ XSetTransientForHint (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
- GDK_WINDOW_XID (dialog->window),
- wnck_window_get_xid (win));
- gdk_display_sync (gdk_display_get_default ());
-@@ -4982,11 +4982,11 @@ get_client_machine (Window xwindow)
- int format, result;
- char *retval;
-
-- atom = XInternAtom (gdk_display, "WM_CLIENT_MACHINE", FALSE);
-+ atom = XInternAtom (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), "WM_CLIENT_MACHINE", FALSE);
-
- gdk_error_trap_push ();
-
-- result = XGetWindowProperty (gdk_display,
-+ result = XGetWindowProperty (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
- xwindow, atom,
- 0, G_MAXLONG,
- FALSE, XA_STRING, &type, &format, &nitems,
-@@ -5038,7 +5038,7 @@ kill_window (WnckWindow *win)
- }
-
- gdk_error_trap_push ();
-- XKillClient (gdk_display, wnck_window_get_xid (win));
-+ XKillClient (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), wnck_window_get_xid (win));
- gdk_display_sync (gdk_display_get_default ());
- gdk_error_trap_pop ();
- }
-@@ -5623,7 +5623,7 @@ static int
- update_shadow (void)
- {
- decor_shadow_options_t opt;
-- Display *xdisplay = gdk_display;
-+ Display *xdisplay = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
- GdkDisplay *display = gdk_display_get_default ();
- GdkScreen *screen = gdk_display_get_default_screen (display);
-
diff --git a/x11-wm/compiz/files/patch-plugins_fuse.c b/x11-wm/compiz/files/patch-plugins_fuse.c
deleted file mode 100644
index 48a0a68b9..000000000
--- a/x11-wm/compiz/files/patch-plugins_fuse.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugins/fuse.c.orig Mon Apr 2 14:15:28 2007
-+++ plugins/fuse.c Mon May 7 20:07:09 2007
-@@ -28,6 +28,8 @@
- #include <errno.h>
- #include <poll.h>
- #include <signal.h>
-+#include <sys/types.h>
-+#include <sys/param.h>
- #include <sys/mount.h>
- #include <fuse.h>
- #include <fuse_lowlevel.h>
diff --git a/x11-wm/compiz/files/patch-plugins_png.c b/x11-wm/compiz/files/patch-plugins_png.c
deleted file mode 100644
index f06a746f7..000000000
--- a/x11-wm/compiz/files/patch-plugins_png.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- plugins/png.c.orig 2009-09-01 07:38:22.000000000 +0200
-+++ plugins/png.c 2010-04-03 22:08:10.000000000 +0200
-@@ -102,7 +102,7 @@
-
- /* expand gray bit depth if needed */
- if (color_type == PNG_COLOR_TYPE_GRAY && depth < 8)
-- png_set_gray_1_2_4_to_8 (png);
-+ png_set_expand_gray_1_2_4_to_8 (png);
-
- /* transform transparency to alpha */
- if (png_get_valid(png, info, PNG_INFO_tRNS))
-@@ -167,7 +167,7 @@
- Bool status;
-
- sig_bytes = fread (png_sig, 1, PNG_SIG_SIZE, file);
-- if (png_check_sig (png_sig, sig_bytes) == 0)
-+ if (!png_sig_cmp (png_sig, 0, sig_bytes) == 0)
- return FALSE;
-
- png = png_create_read_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
-@@ -218,7 +218,7 @@
- Bool status;
-
- memcpy (png_sig, buffer, PNG_SIG_SIZE);
-- if (png_check_sig (png_sig, PNG_SIG_SIZE) == 0)
-+ if (!png_sig_cmp (png_sig, 0, PNG_SIG_SIZE) == 0)
- return FALSE;
-
- png = png_create_read_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
diff --git a/x11-wm/compiz/pkg-descr b/x11-wm/compiz/pkg-descr
deleted file mode 100644
index d654cfa1b..000000000
--- a/x11-wm/compiz/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Compiz is an OpenGL compositing manager that use GLX_EXT_texture_from_pixmap
-for binding redirected top-level windows to texture objects. It has a flexible
-plug-in system and it is designed to run well on most graphics hardware.
-
-WWW: http://www.go-compiz.org/
-
-- Florent Thoumie
-flz@FreeBSD.org
diff --git a/x11-wm/compiz/pkg-message b/x11-wm/compiz/pkg-message
deleted file mode 100644
index fb8bce937..000000000
--- a/x11-wm/compiz/pkg-message
+++ /dev/null
@@ -1,10 +0,0 @@
-This port has installed compiz-manager which is a wrapper to start
-compiz.
-
-If you are using gnome, you can use the configuration editor to set the
-value of:
-
-desktop->gnome->session->required_components->windowmanager = compiz-manager
-
-This will enable compiz as your default window manager.
-
diff --git a/x11-wm/compiz/pkg-plist b/x11-wm/compiz/pkg-plist
deleted file mode 100644
index 2eb89c435..000000000
--- a/x11-wm/compiz/pkg-plist
+++ /dev/null
@@ -1,217 +0,0 @@
-@comment $FreeBSD: ports/x11-wm/compiz/pkg-plist,v 1.7 2009/11/28 20:06:27 marcus Exp $
-bin/compiz
-bin/compiz-manager
-%%GTK%%bin/gtk-window-decorator
-%%KDE%%bin/kde-window-decorator
-include/compiz/compiz.h
-include/compiz/compiz-common.h
-include/compiz/compiz-core.h
-include/compiz/compiz-cube.h
-include/compiz/compiz-plugin.h
-include/compiz/compiz-scale.h
-include/compiz/decoration.h
-lib/compiz/libannotate.a
-lib/compiz/libannotate.la
-lib/compiz/libannotate.so
-lib/compiz/libblur.a
-lib/compiz/libblur.la
-lib/compiz/libblur.so
-lib/compiz/libclone.a
-lib/compiz/libclone.la
-lib/compiz/libclone.so
-lib/compiz/libcommands.a
-lib/compiz/libcommands.la
-lib/compiz/libcommands.so
-lib/compiz/libcube.a
-lib/compiz/libcube.la
-lib/compiz/libcube.so
-%%DBUS%%lib/compiz/libdbus.a
-%%DBUS%%lib/compiz/libdbus.la
-%%DBUS%%lib/compiz/libdbus.so
-lib/compiz/libdecoration.a
-lib/compiz/libdecoration.la
-lib/compiz/libdecoration.so
-lib/compiz/libfade.a
-lib/compiz/libfade.la
-lib/compiz/libfade.so
-%%FUSEFS%%lib/compiz/libfs.a
-%%FUSEFS%%lib/compiz/libfs.la
-%%FUSEFS%%lib/compiz/libfs.so
-lib/compiz/libgconf.a
-lib/compiz/libgconf.la
-lib/compiz/libgconf.so
-lib/compiz/libglib.a
-lib/compiz/libglib.la
-lib/compiz/libglib.so
-lib/compiz/libgnomecompat.a
-lib/compiz/libgnomecompat.la
-lib/compiz/libgnomecompat.so
-lib/compiz/libini.a
-lib/compiz/libini.la
-lib/compiz/libini.so
-lib/compiz/libminimize.a
-lib/compiz/libminimize.la
-lib/compiz/libminimize.so
-lib/compiz/libmove.a
-lib/compiz/libmove.la
-lib/compiz/libmove.so
-lib/compiz/libobs.a
-lib/compiz/libobs.la
-lib/compiz/libobs.so
-lib/compiz/libplace.a
-lib/compiz/libplace.la
-lib/compiz/libplace.so
-lib/compiz/libpng.a
-lib/compiz/libpng.la
-lib/compiz/libpng.so
-lib/compiz/libregex.a
-lib/compiz/libregex.la
-lib/compiz/libregex.so
-lib/compiz/libresize.a
-lib/compiz/libresize.la
-lib/compiz/libresize.so
-lib/compiz/librotate.a
-lib/compiz/librotate.la
-lib/compiz/librotate.so
-lib/compiz/libscale.a
-lib/compiz/libscale.la
-lib/compiz/libscale.so
-lib/compiz/libscreenshot.a
-lib/compiz/libscreenshot.la
-lib/compiz/libscreenshot.so
-%%RSVG%%lib/compiz/libsvg.a
-%%RSVG%%lib/compiz/libsvg.la
-%%RSVG%%lib/compiz/libsvg.so
-lib/compiz/libswitcher.a
-lib/compiz/libswitcher.la
-lib/compiz/libswitcher.so
-lib/compiz/libvideo.a
-lib/compiz/libvideo.la
-lib/compiz/libvideo.so
-lib/compiz/libwater.a
-lib/compiz/libwater.la
-lib/compiz/libwater.so
-lib/compiz/libwobbly.a
-lib/compiz/libwobbly.la
-lib/compiz/libwobbly.so
-lib/compiz/libzoom.a
-lib/compiz/libzoom.la
-lib/compiz/libzoom.so
-lib/libdecoration.a
-lib/libdecoration.la
-lib/libdecoration.so
-lib/libdecoration.so.0
-libdata/pkgconfig/compiz-cube.pc
-libdata/pkgconfig/compiz-gconf.pc
-libdata/pkgconfig/compiz-scale.pc
-libdata/pkgconfig/compiz.pc
-libdata/pkgconfig/libdecoration.pc
-%%DATADIR%%/annotate.xml
-%%DATADIR%%/blur.xml
-%%DATADIR%%/clone.xml
-%%DATADIR%%/commands.xml
-%%DATADIR%%/core.xml
-%%DATADIR%%/cube.xml
-%%DATADIR%%/dbus.xml
-%%DATADIR%%/decoration.xml
-%%DATADIR%%/fade.xml
-%%DATADIR%%/freedesktop.png
-%%DATADIR%%/fs.xml
-%%DATADIR%%/gconf.xml
-%%DATADIR%%/glib.xml
-%%DATADIR%%/gnomecompat.xml
-%%DATADIR%%/icon.png
-%%DATADIR%%/ini.xml
-%%DATADIR%%/inotify.xml
-%%DATADIR%%/kconfig.xml
-%%DATADIR%%/minimize.xml
-%%DATADIR%%/move.xml
-%%DATADIR%%/obs.xml
-%%DATADIR%%/place.xml
-%%DATADIR%%/png.xml
-%%DATADIR%%/regex.xml
-%%DATADIR%%/resize.xml
-%%DATADIR%%/rotate.xml
-%%DATADIR%%/scale.xml
-%%DATADIR%%/schemas.xslt
-%%DATADIR%%/screenshot.xml
-%%DATADIR%%/svg.xml
-%%DATADIR%%/switcher.xml
-%%DATADIR%%/video.xml
-%%DATADIR%%/water.xml
-%%DATADIR%%/wobbly.xml
-%%DATADIR%%/zoom.xml
-%%GNOME%%@cwd %%WINDOWSETTINGSDATADIR%%
-%%GNOME%%share/gnome/wm-properties/compiz-wm.desktop
-%%GNOME%%share/gnome-control-center/keybindings/50-compiz-desktop-key.xml
-%%GNOME%%share/gnome-control-center/keybindings/50-compiz-key.xml
-%%GNOME%%@cwd %%WINDOWSETTINGSLIBDIR%%
-%%GNOME%%window-manager-settings/libcompiz.a
-%%GNOME%%window-manager-settings/libcompiz.la
-%%GNOME%%window-manager-settings/libcompiz.so
-%%GNOME%%@cwd
-share/applications/compiz.desktop
-share/locale/af/LC_MESSAGES/compiz.mo
-share/locale/ar/LC_MESSAGES/compiz.mo
-share/locale/bg/LC_MESSAGES/compiz.mo
-share/locale/bn/LC_MESSAGES/compiz.mo
-share/locale/bn_IN/LC_MESSAGES/compiz.mo
-share/locale/bs/LC_MESSAGES/compiz.mo
-share/locale/ca/LC_MESSAGES/compiz.mo
-share/locale/cs/LC_MESSAGES/compiz.mo
-share/locale/cy/LC_MESSAGES/compiz.mo
-share/locale/da/LC_MESSAGES/compiz.mo
-share/locale/de/LC_MESSAGES/compiz.mo
-share/locale/el/LC_MESSAGES/compiz.mo
-share/locale/en_GB/LC_MESSAGES/compiz.mo
-share/locale/en_US/LC_MESSAGES/compiz.mo
-share/locale/es/LC_MESSAGES/compiz.mo
-share/locale/et/LC_MESSAGES/compiz.mo
-share/locale/eu/LC_MESSAGES/compiz.mo
-share/locale/fi/LC_MESSAGES/compiz.mo
-share/locale/fr/LC_MESSAGES/compiz.mo
-share/locale/gl/LC_MESSAGES/compiz.mo
-share/locale/gu/LC_MESSAGES/compiz.mo
-share/locale/he/LC_MESSAGES/compiz.mo
-share/locale/hi/LC_MESSAGES/compiz.mo
-share/locale/hr/LC_MESSAGES/compiz.mo
-share/locale/hu/LC_MESSAGES/compiz.mo
-share/locale/id/LC_MESSAGES/compiz.mo
-share/locale/it/LC_MESSAGES/compiz.mo
-share/locale/ja/LC_MESSAGES/compiz.mo
-share/locale/ka/LC_MESSAGES/compiz.mo
-share/locale/km/LC_MESSAGES/compiz.mo
-share/locale/ko/LC_MESSAGES/compiz.mo
-share/locale/lo/LC_MESSAGES/compiz.mo
-share/locale/lt/LC_MESSAGES/compiz.mo
-share/locale/mk/LC_MESSAGES/compiz.mo
-share/locale/mr/LC_MESSAGES/compiz.mo
-share/locale/nb/LC_MESSAGES/compiz.mo
-share/locale/nl/LC_MESSAGES/compiz.mo
-share/locale/or/LC_MESSAGES/compiz.mo
-share/locale/pa/LC_MESSAGES/compiz.mo
-share/locale/pl/LC_MESSAGES/compiz.mo
-share/locale/pt/LC_MESSAGES/compiz.mo
-share/locale/pt_BR/LC_MESSAGES/compiz.mo
-share/locale/ro/LC_MESSAGES/compiz.mo
-share/locale/ru/LC_MESSAGES/compiz.mo
-share/locale/sk/LC_MESSAGES/compiz.mo
-share/locale/sl/LC_MESSAGES/compiz.mo
-share/locale/sr/LC_MESSAGES/compiz.mo
-share/locale/sv/LC_MESSAGES/compiz.mo
-share/locale/ta/LC_MESSAGES/compiz.mo
-share/locale/tr/LC_MESSAGES/compiz.mo
-share/locale/uk/LC_MESSAGES/compiz.mo
-share/locale/vi/LC_MESSAGES/compiz.mo
-share/locale/xh/LC_MESSAGES/compiz.mo
-share/locale/zh_CN/LC_MESSAGES/compiz.mo
-share/locale/zh_TW/LC_MESSAGES/compiz.mo
-share/locale/zu/LC_MESSAGES/compiz.mo
-@dirrmtry share/applications
-@dirrmtry share/locale/en_US/LC_MESSAGES
-@dirrmtry share/locale/en_US
-@dirrmtry share/locale/lo/LC_MESSAGES
-@dirrmtry share/locale/lo
-@dirrm %%DATADIR%%
-@dirrm lib/compiz
-@dirrm include/compiz
diff --git a/x11-wm/metacity/Makefile b/x11-wm/metacity/Makefile
deleted file mode 100644
index 6027f9e74..000000000
--- a/x11-wm/metacity/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-# New ports collection makefile for: metacity
-# Date created: 21 May 2002
-# Whom: Garrett Rooney <rooneg@electricjellyfish.net>
-#
-# $FreeBSD$
-# $MCom: ports/x11-wm/metacity/Makefile,v 1.157 2010/09/21 17:44:30 kwm Exp $
-#
-
-PORTNAME= metacity
-PORTVERSION= 2.30.3
-CATEGORIES= x11-wm
-MASTER_SITES= GNOME
-DIST_SUBDIR= gnome2
-
-MAINTAINER= gnome@FreeBSD.org
-COMMENT= A window manager for the adult in you
-
-BUILD_DEPENDS= zenity:${PORTSDIR}/x11/zenity
-LIB_DEPENDS= startup-notification-1.0:${PORTSDIR}/x11/startup-notification \
- canberra-gtk.0:${PORTSDIR}/audio/libcanberra
-RUN_DEPENDS= zenity:${PORTSDIR}/x11/zenity
-
-USE_BZIP2= yes
-USE_XORG= x11 xcomposite xdamage
-USE_GETTEXT= yes
-USE_GMAKE= yes
-USE_AUTOTOOLS= libtool:22
-USE_GNOME= gnomeprefix intlhack gnomehack gconf2 ltverhack gtk20
-USE_LDCONFIG= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"
-
-GCONF_SCHEMAS= metacity.schemas
-
-MAN1= metacity-message.1 metacity-theme-viewer.1 \
- metacity-window-demo.1 metacity.1
-
-post-patch:
- @${REINPLACE_CMD} -e 's|-Werror||g' \
- ${WRKSRC}/configure
-
-.include <bsd.port.mk>
diff --git a/x11-wm/metacity/distinfo b/x11-wm/metacity/distinfo
deleted file mode 100644
index 849e225ec..000000000
--- a/x11-wm/metacity/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (gnome2/metacity-2.30.3.tar.bz2) = 553784f376d96b902e19ff437cd5b339
-SHA256 (gnome2/metacity-2.30.3.tar.bz2) = 08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd
-SIZE (gnome2/metacity-2.30.3.tar.bz2) = 2358537
diff --git a/x11-wm/metacity/files/patch-bugzilla_588119 b/x11-wm/metacity/files/patch-bugzilla_588119
deleted file mode 100644
index 823c111ab..000000000
--- a/x11-wm/metacity/files/patch-bugzilla_588119
+++ /dev/null
@@ -1,139 +0,0 @@
-From a3de65d5d1861f755ced7cad291fbbd4f1b8ef51 Mon Sep 17 00:00:00 2001
-From: Owen W. Taylor <otaylor@fishsoup.net>
-Date: Sat, 22 Aug 2009 15:00:57 -0400
-Subject: [PATCH] Should set RestartStyleHint to RestartIfRunning when replaced
-
-This reverts most of commit abbd057eb967e6ab462ffe305f41b2b04d417b25;
-
- - It's fine to call meta_session_shutdown() after the display
- is closed, since it's talking over the ICE connection
- - We should not call warn_about_lame_clients_and_finish_interact()
- unless we are interacting with the window manager in a session
- save.
-
-However, the part of abbd057 that fixed accessing freed memory was
-fixing a real problem; this patches does the same thing in a simpler
-way by fixing an obvious type in meta_display_close() where it was
-NULL'ing out the local variable 'display' rather than the global
-variable 'the_display' and adding keeping the check in meta_finalize()
-that was added in abbd057.
-
-The order of calling meta_session_shutdown() and
-calling meta_display_close() is reverted back to the old order to
-make it clear that it's OK if the display way already closed previously.
-
-http://bugzilla.gnome.org/show_bug.cgi?id=588119
----
- src/core/display-private.h | 2 +-
- src/core/display.c | 16 ++++------------
- src/core/main.c | 5 ++---
- src/core/session.c | 8 --------
- 4 files changed, 7 insertions(+), 24 deletions(-)
-
-diff --git a/src/core/display-private.h b/src/core/display-private.h
-index 19287f3..9c8ebc6 100644
---- src/core/display-private.h
-+++ src/core/display-private.h
-@@ -329,7 +329,7 @@ MetaScreen* meta_display_screen_for_xwindow (MetaDisplay *display,
- void meta_display_grab (MetaDisplay *display);
- void meta_display_ungrab (MetaDisplay *display);
-
--void meta_display_unmanage_screen (MetaDisplay **display,
-+void meta_display_unmanage_screen (MetaDisplay *display,
- MetaScreen *screen,
- guint32 timestamp);
-
-diff --git a/src/core/display.c b/src/core/display.c
-index 55c374a..8e35a35 100644
---- src/core/display.c
-+++ src/core/display.c
-@@ -926,7 +926,7 @@ meta_display_close (MetaDisplay *display,
- meta_compositor_destroy (display->compositor);
-
- g_free (display);
-- display = NULL;
-+ the_display = NULL;
-
- meta_quit (META_EXIT_SUCCESS);
- }
-@@ -4762,13 +4762,10 @@ process_selection_clear (MetaDisplay *display,
- meta_verbose ("Got selection clear for screen %d on display %s\n",
- screen->number, display->name);
-
-- meta_display_unmanage_screen (&display,
-+ meta_display_unmanage_screen (display,
- screen,
- event->xselectionclear.time);
-
-- if (!display)
-- the_display = NULL;
--
- /* display and screen may both be invalid memory... */
-
- return;
-@@ -4790,12 +4787,10 @@ process_selection_clear (MetaDisplay *display,
- }
-
- void
--meta_display_unmanage_screen (MetaDisplay **displayp,
-+meta_display_unmanage_screen (MetaDisplay *display,
- MetaScreen *screen,
- guint32 timestamp)
- {
-- MetaDisplay *display = *displayp;
--
- meta_verbose ("Unmanaging screen %d on display %s\n",
- screen->number, display->name);
-
-@@ -4805,10 +4800,7 @@ meta_display_unmanage_screen (MetaDisplay **displayp,
- display->screens = g_slist_remove (display->screens, screen);
-
- if (display->screens == NULL)
-- {
-- meta_display_close (display, timestamp);
-- *displayp = NULL;
-- }
-+ meta_display_close (display, timestamp);
- }
-
- void
-diff --git a/src/core/main.c b/src/core/main.c
-index a36a396..44d317e 100644
---- src/core/main.c
-+++ src/core/main.c
-@@ -361,12 +361,11 @@ static void
- meta_finalize (void)
- {
- MetaDisplay *display = meta_get_display();
--
-- meta_session_shutdown ();
--
- if (display)
- meta_display_close (display,
- CurrentTime); /* I doubt correct timestamps matter here */
-+
-+ meta_session_shutdown ();
- }
-
- static void
-diff --git a/src/core/session.c b/src/core/session.c
-index 7e3b389..0d69350 100644
---- src/core/session.c
-+++ src/core/session.c
-@@ -376,14 +376,6 @@ meta_session_shutdown (void)
- SmProp *props[1];
- char hint = SmRestartIfRunning;
-
-- if (!meta_get_display ())
-- {
-- meta_verbose ("Cannot close session because there is no display");
-- return;
-- }
--
-- warn_about_lame_clients_and_finish_interact (FALSE);
--
- if (session_connection == NULL)
- return;
-
---
-1.6.4
diff --git a/x11-wm/metacity/files/patch-configure b/x11-wm/metacity/files/patch-configure
deleted file mode 100644
index 223d0af9e..000000000
--- a/x11-wm/metacity/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig 2010-04-01 13:44:38.000000000 +0200
-+++ configure 2010-04-01 13:45:49.000000000 +0200
-@@ -24238,7 +24238,7 @@
- "
-
- METACITY_MINOR_VERSION=30
--if test $(( $(echo $METACITY_MINOR_VERSION) %2)) == "1"; then
-+if test $(( $(echo $METACITY_MINOR_VERSION) %2)) = "1"; then
- stable_version=$(( ($METACITY_MINOR_VERSION / 2) * 2))
- echo "This is the UNSTABLE branch of metacity"
- echo -n "Use 2.$stable_version.x for stable "
diff --git a/x11-wm/metacity/files/patch-src_core_delete.c b/x11-wm/metacity/files/patch-src_core_delete.c
deleted file mode 100644
index c72b0f60a..000000000
--- a/x11-wm/metacity/files/patch-src_core_delete.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/core/delete.c.orig 2010-01-30 18:56:27.000000000 -0500
-+++ src/core/delete.c 2010-01-30 18:56:53.000000000 -0500
-@@ -32,6 +32,7 @@
- #include "workspace.h"
-
- #include <sys/types.h>
-+#include <sys/wait.h>
- #include <signal.h>
- #include <unistd.h>
- #include <errno.h>
diff --git a/x11-wm/metacity/files/patch-src_core_main.c b/x11-wm/metacity/files/patch-src_core_main.c
deleted file mode 100644
index 2d5171e5d..000000000
--- a/x11-wm/metacity/files/patch-src_core_main.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/core/main.c.orig 2010-01-21 11:09:25.000000000 -0500
-+++ src/core/main.c 2010-01-30 18:53:17.000000000 -0500
-@@ -58,7 +58,11 @@
-
- #include <stdlib.h>
- #include <sys/types.h>
-+#ifdef __linux__
- #include <wait.h>
-+#else
-+#include <sys/wait.h>
-+#endif
- #include <stdio.h>
- #include <string.h>
- #include <signal.h>
diff --git a/x11-wm/metacity/pkg-descr b/x11-wm/metacity/pkg-descr
deleted file mode 100644
index fb1cb52b9..000000000
--- a/x11-wm/metacity/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Metacity is a low-frills Window Manager, and is the default
-Window Manager of the GNOME 2 desktop. It provides most of
-the features expected of a Window Manager, but leaves everything
-it can up to other components of the GNOME environment.
diff --git a/x11-wm/metacity/pkg-plist b/x11-wm/metacity/pkg-plist
deleted file mode 100644
index 9c9b5015e..000000000
--- a/x11-wm/metacity/pkg-plist
+++ /dev/null
@@ -1,288 +0,0 @@
-bin/metacity
-bin/metacity-message
-bin/metacity-theme-viewer
-bin/metacity-window-demo
-include/metacity-1/metacity-private/boxes.h
-include/metacity-1/metacity-private/common.h
-include/metacity-1/metacity-private/gradient.h
-include/metacity-1/metacity-private/preview-widget.h
-include/metacity-1/metacity-private/theme-parser.h
-include/metacity-1/metacity-private/theme.h
-include/metacity-1/metacity-private/util.h
-lib/libmetacity-private.a
-lib/libmetacity-private.la
-lib/libmetacity-private.so
-lib/libmetacity-private.so.0
-libdata/pkgconfig/libmetacity-private.pc
-share/applications/metacity.desktop
-share/gnome-control-center/keybindings/50-metacity-desktop-key.xml
-share/gnome-control-center/keybindings/50-metacity-key.xml
-share/gnome/help/creating-metacity-themes/C/creating-metacity-themes.xml
-share/gnome/wm-properties/metacity-wm.desktop
-share/locale/am/LC_MESSAGES/metacity.mo
-share/locale/ar/LC_MESSAGES/metacity.mo
-share/locale/as/LC_MESSAGES/metacity.mo
-share/locale/ast/LC_MESSAGES/metacity.mo
-share/locale/az/LC_MESSAGES/metacity.mo
-share/locale/be/LC_MESSAGES/metacity.mo
-share/locale/be@latin/LC_MESSAGES/metacity.mo
-share/locale/bg/LC_MESSAGES/metacity.mo
-share/locale/bn/LC_MESSAGES/metacity.mo
-share/locale/bn_IN/LC_MESSAGES/metacity.mo
-share/locale/br/LC_MESSAGES/metacity.mo
-share/locale/bs/LC_MESSAGES/metacity.mo
-share/locale/ca/LC_MESSAGES/metacity.mo
-share/locale/ca@valencia/LC_MESSAGES/metacity.mo
-share/locale/crh/LC_MESSAGES/metacity.mo
-share/locale/cs/LC_MESSAGES/metacity.mo
-share/locale/cy/LC_MESSAGES/metacity.mo
-share/locale/da/LC_MESSAGES/metacity.mo
-share/locale/de/LC_MESSAGES/metacity.mo
-share/locale/dz/LC_MESSAGES/metacity.mo
-share/locale/el/LC_MESSAGES/metacity.mo
-share/locale/en@shaw/LC_MESSAGES/metacity.mo
-share/locale/en_CA/LC_MESSAGES/metacity.mo
-share/locale/en_GB/LC_MESSAGES/metacity.mo
-share/locale/eo/LC_MESSAGES/metacity.mo
-share/locale/es/LC_MESSAGES/metacity.mo
-share/locale/et/LC_MESSAGES/metacity.mo
-share/locale/eu/LC_MESSAGES/metacity.mo
-share/locale/fa/LC_MESSAGES/metacity.mo
-share/locale/fi/LC_MESSAGES/metacity.mo
-share/locale/fr/LC_MESSAGES/metacity.mo
-share/locale/ga/LC_MESSAGES/metacity.mo
-share/locale/gl/LC_MESSAGES/metacity.mo
-share/locale/gu/LC_MESSAGES/metacity.mo
-share/locale/ha/LC_MESSAGES/metacity.mo
-share/locale/he/LC_MESSAGES/metacity.mo
-share/locale/hi/LC_MESSAGES/metacity.mo
-share/locale/hr/LC_MESSAGES/metacity.mo
-share/locale/hu/LC_MESSAGES/metacity.mo
-share/locale/hy/LC_MESSAGES/metacity.mo
-share/locale/id/LC_MESSAGES/metacity.mo
-share/locale/ig/LC_MESSAGES/metacity.mo
-share/locale/is/LC_MESSAGES/metacity.mo
-share/locale/it/LC_MESSAGES/metacity.mo
-share/locale/ja/LC_MESSAGES/metacity.mo
-share/locale/ka/LC_MESSAGES/metacity.mo
-share/locale/kn/LC_MESSAGES/metacity.mo
-share/locale/ko/LC_MESSAGES/metacity.mo
-share/locale/ku/LC_MESSAGES/metacity.mo
-share/locale/la/LC_MESSAGES/metacity.mo
-share/locale/lt/LC_MESSAGES/metacity.mo
-share/locale/lv/LC_MESSAGES/metacity.mo
-share/locale/mai/LC_MESSAGES/metacity.mo
-share/locale/mg/LC_MESSAGES/metacity.mo
-share/locale/mk/LC_MESSAGES/metacity.mo
-share/locale/ml/LC_MESSAGES/metacity.mo
-share/locale/mn/LC_MESSAGES/metacity.mo
-share/locale/mr/LC_MESSAGES/metacity.mo
-share/locale/ms/LC_MESSAGES/metacity.mo
-share/locale/nb/LC_MESSAGES/metacity.mo
-share/locale/nds/LC_MESSAGES/metacity.mo
-share/locale/ne/LC_MESSAGES/metacity.mo
-share/locale/nl/LC_MESSAGES/metacity.mo
-share/locale/nn/LC_MESSAGES/metacity.mo
-share/locale/oc/LC_MESSAGES/metacity.mo
-share/locale/or/LC_MESSAGES/metacity.mo
-share/locale/pa/LC_MESSAGES/metacity.mo
-share/locale/pl/LC_MESSAGES/metacity.mo
-share/locale/pt/LC_MESSAGES/metacity.mo
-share/locale/pt_BR/LC_MESSAGES/metacity.mo
-share/locale/ro/LC_MESSAGES/metacity.mo
-share/locale/ru/LC_MESSAGES/metacity.mo
-share/locale/rw/LC_MESSAGES/metacity.mo
-share/locale/si/LC_MESSAGES/metacity.mo
-share/locale/sk/LC_MESSAGES/metacity.mo
-share/locale/sl/LC_MESSAGES/metacity.mo
-share/locale/sq/LC_MESSAGES/metacity.mo
-share/locale/sr/LC_MESSAGES/metacity.mo
-share/locale/sr@latin/LC_MESSAGES/metacity.mo
-share/locale/sv/LC_MESSAGES/metacity.mo
-share/locale/ta/LC_MESSAGES/metacity.mo
-share/locale/te/LC_MESSAGES/metacity.mo
-share/locale/th/LC_MESSAGES/metacity.mo
-share/locale/tk/LC_MESSAGES/metacity.mo
-share/locale/tr/LC_MESSAGES/metacity.mo
-share/locale/uk/LC_MESSAGES/metacity.mo
-share/locale/vi/LC_MESSAGES/metacity.mo
-share/locale/wa/LC_MESSAGES/metacity.mo
-share/locale/xh/LC_MESSAGES/metacity.mo
-share/locale/yo/LC_MESSAGES/metacity.mo
-share/locale/zh_CN/LC_MESSAGES/metacity.mo
-share/locale/zh_HK/LC_MESSAGES/metacity.mo
-share/locale/zh_TW/LC_MESSAGES/metacity.mo
-%%DATADIR%%/icons/metacity-window-demo.png
-share/themes/AgingGorilla/metacity-1/active-button.png
-share/themes/AgingGorilla/metacity-1/active-close-button.png
-share/themes/AgingGorilla/metacity-1/active-close-menu-icon.png
-share/themes/AgingGorilla/metacity-1/active-maximize-button.png
-share/themes/AgingGorilla/metacity-1/active-maximize-menu-icon.png
-share/themes/AgingGorilla/metacity-1/active-menu-button.png
-share/themes/AgingGorilla/metacity-1/active-minimize-button.png
-share/themes/AgingGorilla/metacity-1/active-minimize-menu-icon.png
-share/themes/AgingGorilla/metacity-1/inactive-close-button.png
-share/themes/AgingGorilla/metacity-1/inactive-maximize-button.png
-share/themes/AgingGorilla/metacity-1/inactive-menu-button.png
-share/themes/AgingGorilla/metacity-1/inactive-minimize-button.png
-share/themes/AgingGorilla/metacity-1/metacity-theme-1.xml
-share/themes/Atlanta/metacity-1/metacity-theme-1.xml
-share/themes/Bright/metacity-1/metacity-theme-1.xml
-share/themes/Bright/metacity-1/metacity-theme-2.xml
-share/themes/Crux/metacity-1/active-above-button.png
-share/themes/Crux/metacity-1/active-border-top-left-border.png
-share/themes/Crux/metacity-1/active-border-top-right-border.png
-share/themes/Crux/metacity-1/active-bottom-left-border.png
-share/themes/Crux/metacity-1/active-bottom-left-corner.png
-share/themes/Crux/metacity-1/active-bottom-mid-left-border.png
-share/themes/Crux/metacity-1/active-bottom-mid-right-border.png
-share/themes/Crux/metacity-1/active-bottom-right-border.png
-share/themes/Crux/metacity-1/active-bottom-right-corner.png
-share/themes/Crux/metacity-1/active-button-prelight.png
-share/themes/Crux/metacity-1/active-button-pressed.png
-share/themes/Crux/metacity-1/active-button.png
-share/themes/Crux/metacity-1/active-close-button.png
-share/themes/Crux/metacity-1/active-left-border.png
-share/themes/Crux/metacity-1/active-left-top-border-shaded.png
-share/themes/Crux/metacity-1/active-left-top-border.png
-share/themes/Crux/metacity-1/active-maximize-button.png
-share/themes/Crux/metacity-1/active-menu-button-prelight.png
-share/themes/Crux/metacity-1/active-menu-button-pressed.png
-share/themes/Crux/metacity-1/active-menu-button.png
-share/themes/Crux/metacity-1/active-minimize-button.png
-share/themes/Crux/metacity-1/active-restore-button.png
-share/themes/Crux/metacity-1/active-right-border.png
-share/themes/Crux/metacity-1/active-right-top-border-shaded.png
-share/themes/Crux/metacity-1/active-right-top-border.png
-share/themes/Crux/metacity-1/active-shade-button.png
-share/themes/Crux/metacity-1/active-stick-button.png
-share/themes/Crux/metacity-1/active-top-center-left.png
-share/themes/Crux/metacity-1/active-top-center-mid-left.png
-share/themes/Crux/metacity-1/active-top-center-mid-right.png
-share/themes/Crux/metacity-1/active-top-center-right.png
-share/themes/Crux/metacity-1/active-top-left-border.png
-share/themes/Crux/metacity-1/active-top-left-corner.png
-share/themes/Crux/metacity-1/active-top-mid-left-border.png
-share/themes/Crux/metacity-1/active-top-mid-right-border.png
-share/themes/Crux/metacity-1/active-top-right-border.png
-share/themes/Crux/metacity-1/active-top-right-corner.png
-share/themes/Crux/metacity-1/active-unabove-button.png
-share/themes/Crux/metacity-1/active-unshade-button.png
-share/themes/Crux/metacity-1/active-unstick-button.png
-share/themes/Crux/metacity-1/inactive-above-button.png
-share/themes/Crux/metacity-1/inactive-border-top-left-border.png
-share/themes/Crux/metacity-1/inactive-border-top-right-border.png
-share/themes/Crux/metacity-1/inactive-bottom-left-border.png
-share/themes/Crux/metacity-1/inactive-bottom-left-corner.png
-share/themes/Crux/metacity-1/inactive-bottom-mid-border.png
-share/themes/Crux/metacity-1/inactive-bottom-right-border.png
-share/themes/Crux/metacity-1/inactive-bottom-right-corner.png
-share/themes/Crux/metacity-1/inactive-button-prelight.png
-share/themes/Crux/metacity-1/inactive-button-pressed.png
-share/themes/Crux/metacity-1/inactive-button.png
-share/themes/Crux/metacity-1/inactive-close-button.png
-share/themes/Crux/metacity-1/inactive-left-border.png
-share/themes/Crux/metacity-1/inactive-left-top-border-shaded.png
-share/themes/Crux/metacity-1/inactive-left-top-border.png
-share/themes/Crux/metacity-1/inactive-maximize-button.png
-share/themes/Crux/metacity-1/inactive-menu-button-prelight.png
-share/themes/Crux/metacity-1/inactive-menu-button-pressed.png
-share/themes/Crux/metacity-1/inactive-menu-button.png
-share/themes/Crux/metacity-1/inactive-minimize-button.png
-share/themes/Crux/metacity-1/inactive-restore-button.png
-share/themes/Crux/metacity-1/inactive-right-border.png
-share/themes/Crux/metacity-1/inactive-right-top-border-shaded.png
-share/themes/Crux/metacity-1/inactive-right-top-border.png
-share/themes/Crux/metacity-1/inactive-shade-button.png
-share/themes/Crux/metacity-1/inactive-stick-button.png
-share/themes/Crux/metacity-1/inactive-top-center-left.png
-share/themes/Crux/metacity-1/inactive-top-center-mid.png
-share/themes/Crux/metacity-1/inactive-top-center-right.png
-share/themes/Crux/metacity-1/inactive-top-left-border.png
-share/themes/Crux/metacity-1/inactive-top-left-corner.png
-share/themes/Crux/metacity-1/inactive-top-mid-border.png
-share/themes/Crux/metacity-1/inactive-top-right-border.png
-share/themes/Crux/metacity-1/inactive-top-right-corner.png
-share/themes/Crux/metacity-1/inactive-unabove-button.png
-share/themes/Crux/metacity-1/inactive-unshade-button.png
-share/themes/Crux/metacity-1/inactive-unstick-button.png
-share/themes/Crux/metacity-1/metacity-theme-1.xml
-share/themes/Crux/metacity-1/metacity-theme-2.xml
-share/themes/Esco/metacity-1/metacity-theme-1.xml
-share/themes/Metabox/metacity-1/metacity-theme-1.xml
-share/themes/Simple/metacity-1/close.png
-share/themes/Simple/metacity-1/maximize.png
-share/themes/Simple/metacity-1/maximized.png
-share/themes/Simple/metacity-1/metacity-theme-1.xml
-share/themes/Simple/metacity-1/minimize.png
-@dirrm share/themes/Simple/metacity-1
-@dirrmtry share/themes/Simple
-@dirrm share/themes/Metabox/metacity-1
-@dirrmtry share/themes/Metabox
-@dirrm share/themes/Esco/metacity-1
-@dirrmtry share/themes/Esco
-@dirrm share/themes/Crux/metacity-1
-@dirrmtry share/themes/Crux
-@dirrm share/themes/Bright/metacity-1
-@dirrmtry share/themes/Bright
-@dirrm share/themes/Atlanta/metacity-1
-@dirrmtry share/themes/Atlanta
-@dirrm share/themes/AgingGorilla/metacity-1
-@dirrmtry share/themes/AgingGorilla
-@dirrm %%DATADIR%%/icons
-@dirrm %%DATADIR%%
-@dirrm share/gnome/help/creating-metacity-themes/C
-@dirrm share/gnome/help/creating-metacity-themes
-@dirrm include/metacity-1/metacity-private
-@dirrm include/metacity-1
-@dirrmtry share/applications
-@dirrmtry share/locale/zh_HK/LC_MESSAGES
-@dirrmtry share/locale/zh_HK
-@dirrmtry share/locale/yo/LC_MESSAGES
-@dirrmtry share/locale/yo
-@dirrmtry share/locale/xh/LC_MESSAGES
-@dirrmtry share/locale/xh
-@dirrmtry share/locale/te/LC_MESSAGES
-@dirrmtry share/locale/te
-@dirrmtry share/locale/sr@latin/LC_MESSAGES
-@dirrmtry share/locale/sr@latin
-@dirrmtry share/locale/si/LC_MESSAGES
-@dirrmtry share/locale/si
-@dirrmtry share/locale/rw/LC_MESSAGES
-@dirrmtry share/locale/rw
-@dirrmtry share/locale/oc/LC_MESSAGES
-@dirrmtry share/locale/oc
-@dirrmtry share/locale/nds/LC_MESSAGES
-@dirrmtry share/locale/nds
-@dirrmtry share/locale/mr/LC_MESSAGES
-@dirrmtry share/locale/mr
-@dirrmtry share/locale/mg/LC_MESSAGES
-@dirrmtry share/locale/mg
-@dirrmtry share/locale/mai/LC_MESSAGES
-@dirrmtry share/locale/mai
-@dirrmtry share/locale/la/LC_MESSAGES
-@dirrmtry share/locale/la
-@dirrmtry share/locale/ku/LC_MESSAGES
-@dirrmtry share/locale/ku
-@dirrmtry share/locale/ig/LC_MESSAGES
-@dirrmtry share/locale/ig
-@dirrmtry share/locale/hy/LC_MESSAGES
-@dirrmtry share/locale/hy
-@dirrmtry share/locale/ha/LC_MESSAGES
-@dirrmtry share/locale/ha
-@dirrmtry share/locale/en@shaw/LC_MESSAGES
-@dirrmtry share/locale/en@shaw
-@dirrmtry share/locale/dz/LC_MESSAGES
-@dirrmtry share/locale/dz
-@dirrmtry share/locale/crh/LC_MESSAGES
-@dirrmtry share/locale/crh
-@dirrmtry share/locale/ca@valencia/LC_MESSAGES
-@dirrmtry share/locale/ca@valencia
-@dirrmtry share/locale/bn_IN/LC_MESSAGES
-@dirrmtry share/locale/bn_IN
-@dirrmtry share/locale/be@latin/LC_MESSAGES
-@dirrmtry share/locale/be@latin
-@dirrmtry share/locale/ast/LC_MESSAGES
-@dirrmtry share/locale/ast
-@dirrmtry share/locale/as/LC_MESSAGES
-@dirrmtry share/locale/as
diff --git a/x11-wm/mutter/Makefile b/x11-wm/mutter/Makefile
deleted file mode 100644
index 86bef84a5..000000000
--- a/x11-wm/mutter/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# New ports collection makefile for: mutter
-# Date created: 14 Aug 2009
-# Whom: Pawel Worach <pawel.worach@gmail.com>
-#
-# $FreeBSD$
-# $MCom: ports/x11-wm/mutter/Makefile,v 1.13 2010/06/06 21:34:36 kwm Exp $
-#
-
-PORTNAME= mutter
-PORTVERSION= 2.31.2
-PORTREVISION= 1
-CATEGORIES= x11-wm
-MASTER_SITES= GNOME
-DIST_SUBDIR= gnome2
-
-MAINTAINER= gnome@FreeBSD.org
-COMMENT= Window and compositing manager based on Clutter
-
-BUILD_DEPENDS= zenity:${PORTSDIR}/x11/zenity
-LIB_DEPENDS= startup-notification-1.0:${PORTSDIR}/x11/startup-notification \
- clutter-glx-1.0:${PORTSDIR}/graphics/clutter \
- canberra-gtk.0:${PORTSDIR}/audio/libcanberra
-RUN_DEPENDS= zenity:${PORTSDIR}/x11/zenity
-
-USE_BZIP2= yes
-USE_XORG= x11 xext xrandr xcomposite xcursor xinerama ice sm
-USE_GETTEXT= yes
-USE_GMAKE= yes
-USE_AUTOTOOLS= libtool:22
-USE_GNOME= gnomeprefix gnomehack intlhack gtk20 gconf2 ltverhack
-USE_LDCONFIG= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-
-GCONF_SCHEMAS= mutter.schemas
-
-MAN1= mutter-message.1 mutter-theme-viewer.1 \
- mutter-window-demo.1 mutter.1
-
-.include <bsd.port.pre.mk>
-
-post-patch:
- @${REINPLACE_CMD} -e 's|-Werror||g' \
- ${WRKSRC}/configure
-
-.include <bsd.port.post.mk>
diff --git a/x11-wm/mutter/distinfo b/x11-wm/mutter/distinfo
deleted file mode 100644
index 59abe4bfe..000000000
--- a/x11-wm/mutter/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (gnome2/mutter-2.31.2.tar.bz2) = c2ca30b2f5af0e53d512062ba081806c
-SHA256 (gnome2/mutter-2.31.2.tar.bz2) = 7267018c2eb28213748810de7e1ccf6d4f059e8ab593ec335234588d0037578c
-SIZE (gnome2/mutter-2.31.2.tar.bz2) = 1983139
diff --git a/x11-wm/mutter/files/patch-src_core_main.c b/x11-wm/mutter/files/patch-src_core_main.c
deleted file mode 100644
index a248e943a..000000000
--- a/x11-wm/mutter/files/patch-src_core_main.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/core/main.c.orig 2010-02-12 12:17:38.000000000 -0500
-+++ src/core/main.c 2010-02-19 01:22:45.000000000 -0500
-@@ -59,7 +59,11 @@
-
- #include <stdlib.h>
- #include <sys/types.h>
-+#ifdef __linux__
- #include <wait.h>
-+#else
-+#include <sys/wait.h>
-+#endif
- #include <stdio.h>
- #include <string.h>
- #include <signal.h>
diff --git a/x11-wm/mutter/pkg-descr b/x11-wm/mutter/pkg-descr
deleted file mode 100644
index 54c14b743..000000000
--- a/x11-wm/mutter/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-mutter is a minimal X window manager aimed at nontechnical users and is
-designed to integrate well with the GNOME desktop. mutter lacks some
-features that may be expected by traditional UNIX or other technical
-users; these users may want to investigate other available window man-
-agers for use with GNOME or standalone.
-
-WWW: -
diff --git a/x11-wm/mutter/pkg-plist b/x11-wm/mutter/pkg-plist
deleted file mode 100644
index 417dc282f..000000000
--- a/x11-wm/mutter/pkg-plist
+++ /dev/null
@@ -1,183 +0,0 @@
-bin/mutter
-bin/mutter-message
-bin/mutter-theme-viewer
-bin/mutter-window-demo
-include/mutter/mutter-private/atomnames.h
-include/mutter/mutter-private/boxes.h
-include/mutter/mutter-private/common.h
-include/mutter/mutter-private/compositor-mutter.h
-include/mutter/mutter-private/compositor.h
-include/mutter/mutter-private/display.h
-include/mutter/mutter-private/errors.h
-include/mutter/mutter-private/gradient.h
-include/mutter/mutter-private/group.h
-include/mutter/mutter-private/keybindings.h
-include/mutter/mutter-private/main.h
-include/mutter/mutter-private/mutter-plugin.h
-include/mutter/mutter-private/mutter-window.h
-include/mutter/mutter-private/prefs.h
-include/mutter/mutter-private/preview-widget.h
-include/mutter/mutter-private/screen.h
-include/mutter/mutter-private/theme-parser.h
-include/mutter/mutter-private/theme.h
-include/mutter/mutter-private/types.h
-include/mutter/mutter-private/util.h
-include/mutter/mutter-private/window.h
-include/mutter/mutter-private/workspace.h
-lib/libmutter-private.a
-lib/libmutter-private.la
-lib/libmutter-private.so
-lib/libmutter-private.so.0
-lib/mutter/Meta-2.31.gir
-lib/mutter/Meta-2.31.typelib
-lib/mutter/plugins/default.so
-libdata/pkgconfig/libmutter-private.pc
-libdata/pkgconfig/mutter-plugins.pc
-share/applications/mutter.desktop
-share/gnome/wm-properties/mutter-wm.desktop
-share/locale/am/LC_MESSAGES/mutter.mo
-share/locale/ar/LC_MESSAGES/mutter.mo
-share/locale/as/LC_MESSAGES/mutter.mo
-share/locale/ast/LC_MESSAGES/mutter.mo
-share/locale/az/LC_MESSAGES/mutter.mo
-share/locale/be/LC_MESSAGES/mutter.mo
-share/locale/be@latin/LC_MESSAGES/mutter.mo
-share/locale/bg/LC_MESSAGES/mutter.mo
-share/locale/bn/LC_MESSAGES/mutter.mo
-share/locale/bn_IN/LC_MESSAGES/mutter.mo
-share/locale/br/LC_MESSAGES/mutter.mo
-share/locale/bs/LC_MESSAGES/mutter.mo
-share/locale/ca/LC_MESSAGES/mutter.mo
-share/locale/ca@valencia/LC_MESSAGES/mutter.mo
-share/locale/cs/LC_MESSAGES/mutter.mo
-share/locale/cy/LC_MESSAGES/mutter.mo
-share/locale/da/LC_MESSAGES/mutter.mo
-share/locale/de/LC_MESSAGES/mutter.mo
-share/locale/dz/LC_MESSAGES/mutter.mo
-share/locale/el/LC_MESSAGES/mutter.mo
-share/locale/en_CA/LC_MESSAGES/mutter.mo
-share/locale/en_GB/LC_MESSAGES/mutter.mo
-share/locale/es/LC_MESSAGES/mutter.mo
-share/locale/et/LC_MESSAGES/mutter.mo
-share/locale/eu/LC_MESSAGES/mutter.mo
-share/locale/fa/LC_MESSAGES/mutter.mo
-share/locale/fi/LC_MESSAGES/mutter.mo
-share/locale/fr/LC_MESSAGES/mutter.mo
-share/locale/ga/LC_MESSAGES/mutter.mo
-share/locale/gl/LC_MESSAGES/mutter.mo
-share/locale/gu/LC_MESSAGES/mutter.mo
-share/locale/ha/LC_MESSAGES/mutter.mo
-share/locale/he/LC_MESSAGES/mutter.mo
-share/locale/hi/LC_MESSAGES/mutter.mo
-share/locale/hr/LC_MESSAGES/mutter.mo
-share/locale/hu/LC_MESSAGES/mutter.mo
-share/locale/hy/LC_MESSAGES/mutter.mo
-share/locale/id/LC_MESSAGES/mutter.mo
-share/locale/ig/LC_MESSAGES/mutter.mo
-share/locale/is/LC_MESSAGES/mutter.mo
-share/locale/it/LC_MESSAGES/mutter.mo
-share/locale/ja/LC_MESSAGES/mutter.mo
-share/locale/ka/LC_MESSAGES/mutter.mo
-share/locale/kn/LC_MESSAGES/mutter.mo
-share/locale/ko/LC_MESSAGES/mutter.mo
-share/locale/ku/LC_MESSAGES/mutter.mo
-share/locale/la/LC_MESSAGES/mutter.mo
-share/locale/lt/LC_MESSAGES/mutter.mo
-share/locale/lv/LC_MESSAGES/mutter.mo
-share/locale/mai/LC_MESSAGES/mutter.mo
-share/locale/mg/LC_MESSAGES/mutter.mo
-share/locale/mk/LC_MESSAGES/mutter.mo
-share/locale/ml/LC_MESSAGES/mutter.mo
-share/locale/mn/LC_MESSAGES/mutter.mo
-share/locale/mr/LC_MESSAGES/mutter.mo
-share/locale/ms/LC_MESSAGES/mutter.mo
-share/locale/nb/LC_MESSAGES/mutter.mo
-share/locale/nds/LC_MESSAGES/mutter.mo
-share/locale/ne/LC_MESSAGES/mutter.mo
-share/locale/nl/LC_MESSAGES/mutter.mo
-share/locale/nn/LC_MESSAGES/mutter.mo
-share/locale/oc/LC_MESSAGES/mutter.mo
-share/locale/or/LC_MESSAGES/mutter.mo
-share/locale/pa/LC_MESSAGES/mutter.mo
-share/locale/pl/LC_MESSAGES/mutter.mo
-share/locale/pt/LC_MESSAGES/mutter.mo
-share/locale/pt_BR/LC_MESSAGES/mutter.mo
-share/locale/ro/LC_MESSAGES/mutter.mo
-share/locale/ru/LC_MESSAGES/mutter.mo
-share/locale/rw/LC_MESSAGES/mutter.mo
-share/locale/si/LC_MESSAGES/mutter.mo
-share/locale/sk/LC_MESSAGES/mutter.mo
-share/locale/sl/LC_MESSAGES/mutter.mo
-share/locale/sq/LC_MESSAGES/mutter.mo
-share/locale/sr/LC_MESSAGES/mutter.mo
-share/locale/sr@latin/LC_MESSAGES/mutter.mo
-share/locale/sv/LC_MESSAGES/mutter.mo
-share/locale/ta/LC_MESSAGES/mutter.mo
-share/locale/te/LC_MESSAGES/mutter.mo
-share/locale/th/LC_MESSAGES/mutter.mo
-share/locale/tk/LC_MESSAGES/mutter.mo
-share/locale/tr/LC_MESSAGES/mutter.mo
-share/locale/uk/LC_MESSAGES/mutter.mo
-share/locale/vi/LC_MESSAGES/mutter.mo
-share/locale/wa/LC_MESSAGES/mutter.mo
-share/locale/xh/LC_MESSAGES/mutter.mo
-share/locale/yo/LC_MESSAGES/mutter.mo
-share/locale/zh_CN/LC_MESSAGES/mutter.mo
-share/locale/zh_HK/LC_MESSAGES/mutter.mo
-share/locale/zh_TW/LC_MESSAGES/mutter.mo
-%%DATADIR%%/icons/mutter-window-demo.png
-@dirrm %%DATADIR%%/icons
-@dirrm %%DATADIR%%
-@dirrmtry lib/girepository-1.0
-@dirrm lib/mutter/plugins
-@dirrm lib/mutter
-@dirrm include/mutter/mutter-private
-@dirrm include/mutter
-@dirrmtry share/applications
-@dirrmtry share/gir-1.0
-@dirrmtry share/locale/zh_HK/LC_MESSAGES
-@dirrmtry share/locale/zh_HK
-@dirrmtry share/locale/yo/LC_MESSAGES
-@dirrmtry share/locale/yo
-@dirrmtry share/locale/xh/LC_MESSAGES
-@dirrmtry share/locale/xh
-@dirrmtry share/locale/te/LC_MESSAGES
-@dirrmtry share/locale/te
-@dirrmtry share/locale/sr@latin/LC_MESSAGES
-@dirrmtry share/locale/sr@latin
-@dirrmtry share/locale/si/LC_MESSAGES
-@dirrmtry share/locale/si
-@dirrmtry share/locale/rw/LC_MESSAGES
-@dirrmtry share/locale/rw
-@dirrmtry share/locale/oc/LC_MESSAGES
-@dirrmtry share/locale/oc
-@dirrmtry share/locale/nds/LC_MESSAGES
-@dirrmtry share/locale/nds
-@dirrmtry share/locale/mr/LC_MESSAGES
-@dirrmtry share/locale/mr
-@dirrmtry share/locale/mg/LC_MESSAGES
-@dirrmtry share/locale/mg
-@dirrmtry share/locale/mai/LC_MESSAGES
-@dirrmtry share/locale/mai
-@dirrmtry share/locale/la/LC_MESSAGES
-@dirrmtry share/locale/la
-@dirrmtry share/locale/ku/LC_MESSAGES
-@dirrmtry share/locale/ku
-@dirrmtry share/locale/ig/LC_MESSAGES
-@dirrmtry share/locale/ig
-@dirrmtry share/locale/hy/LC_MESSAGES
-@dirrmtry share/locale/hy
-@dirrmtry share/locale/ha/LC_MESSAGES
-@dirrmtry share/locale/ha
-@dirrmtry share/locale/dz/LC_MESSAGES
-@dirrmtry share/locale/dz
-@dirrmtry share/locale/ca@valencia/LC_MESSAGES
-@dirrmtry share/locale/ca@valencia
-@dirrmtry share/locale/bn_IN/LC_MESSAGES
-@dirrmtry share/locale/bn_IN
-@dirrmtry share/locale/be@latin/LC_MESSAGES
-@dirrmtry share/locale/be@latin
-@dirrmtry share/locale/ast/LC_MESSAGES
-@dirrmtry share/locale/ast
-@dirrmtry share/locale/as/LC_MESSAGES
-@dirrmtry share/locale/as