Import metacity-2.34.0.

Metacity is a simple window manager that integrates nicely with GNOME.

(note that it is exactly the same as the one under x11/gnome except it
depends on x11/gnome/themes-standard (i.e. gtk+3) because the default
theme is different in GNOME3 -- eventually when upstream fix gtk+3
support in metacity this can go back in the main hierarchy and we'll add
a gtk+3 FLAVOR)
This commit is contained in:
ajacoutot 2011-05-19 13:50:17 +00:00
parent 8e7b304365
commit 888558de21
7 changed files with 367 additions and 0 deletions

View File

@ -0,0 +1,62 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/19 13:50:17 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= lightweight window manager
GNOME_PROJECT= metacity
GNOME_VERSION= 2.34.0
REVISION= 3
SHARED_LIBS += metacity-private 1.0 # .0.0
CATEGORIES= x11
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo
WANTLIB += execinfo expat fontconfig freetype
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 kvm ltdl m ogg
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread pthread-stubs vorbis vorbisfile xcb xcb-atom
WANTLIB += xcb-aux xcb-event xcb-render z GL Xxf86vm drm xcb-shm
WANTLIB += startup-notification-1 canberra-gtk canberra gtop-2.0
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
LIB_DEPENDS= devel/startup-notification \
audio/libcanberra,-gtk \
devel/libgtop2
BUILD_DEPENDS= ${RUN_DEPENDS} \
x11/gnome/doc-utils
RUN_DEPENDS= x11/gnome/zenity
# defaults to the "Adwaita" theme
RUN_DEPENDS += x11/gnome/themes-standard
SEPARATE_BUILD= concurrent
DESKTOP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= metacity
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-gtk=2.0
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
USE_GROFF = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/metacity
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/metacity/
${INSTALL_DATA} ${WRKSRC}/doc/theme-format.txt ${PREFIX}/share/doc/metacity/
${INSTALL_DATA} ${WRKSRC}/doc/metacity-theme.dtd ${PREFIX}/share/doc/metacity/
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (gnome/metacity-2.34.0.tar.bz2) = gpGri6QDT4mIlfOIiDd9dA==
RMD160 (gnome/metacity-2.34.0.tar.bz2) = 6TBy2SFXnLLFp6BILPG6YVD/GFk=
SHA1 (gnome/metacity-2.34.0.tar.bz2) = slrdLB+wwFurs0G9YxwYD9gucDk=
SHA256 (gnome/metacity-2.34.0.tar.bz2) = 4xa+/3ZljJjiHd9OfquhLNdhs1AC3DhwFEHbZ0Cm1pg=
SIZE (gnome/metacity-2.34.0.tar.bz2) = 2382473

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_core_delete_c,v 1.1.1.1 2011/05/19 13:50:18 ajacoutot Exp $
--- src/core/delete.c.orig Tue Jan 26 09:36:19 2010
+++ src/core/delete.c Tue Jan 26 09:36:32 2010
@@ -32,6 +32,7 @@
#include "workspace.h"
#include <sys/types.h>
+#include <sys/wait.h>
#include <signal.h>
#include <unistd.h>
#include <errno.h>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_core_main_c,v 1.1.1.1 2011/05/19 13:50:18 ajacoutot Exp $
--- src/core/main.c.orig Tue Sep 8 22:55:35 2009
+++ src/core/main.c Fri Nov 6 00:26:21 2009
@@ -58,7 +58,7 @@
#include <stdlib.h>
#include <sys/types.h>
-#include <wait.h>
+#include <sys/wait.h>
#include <stdio.h>
#include <string.h>
#include <signal.h>

View File

@ -0,0 +1 @@
Metacity is a simple window manager that integrates nicely with GNOME.

View File

@ -0,0 +1,10 @@
To enable the compositor manager of metacity, issue the following
command:
gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool \
true
To disable it:
gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool \
false

View File

@ -0,0 +1,266 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/19 13:50:18 ajacoutot Exp $
@bin bin/metacity
@bin bin/metacity-message
@bin bin/metacity-theme-viewer
@bin bin/metacity-window-demo
include/metacity-1/
include/metacity-1/metacity-private/
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 lib/libmetacity-private.so.${LIBmetacity-private_VERSION}
lib/pkgconfig/libmetacity-private.pc
@man man/man1/metacity-message.1
@man man/man1/metacity-theme-viewer.1
@man man/man1/metacity-window-demo.1
@man man/man1/metacity.1
share/applications/metacity.desktop
share/doc/metacity/
share/doc/metacity/README
share/doc/metacity/metacity-theme.dtd
share/doc/metacity/theme-format.txt
share/gnome-control-center/
share/gnome-control-center/keybindings/
share/gnome-control-center/keybindings/50-metacity-launchers.xml
share/gnome-control-center/keybindings/50-metacity-navigation.xml
share/gnome-control-center/keybindings/50-metacity-screenshot.xml
share/gnome-control-center/keybindings/50-metacity-system.xml
share/gnome-control-center/keybindings/50-metacity-windows.xml
share/gnome/help/creating-metacity-themes/
share/gnome/help/creating-metacity-themes/C/
share/gnome/help/creating-metacity-themes/C/creating-metacity-themes.xml
share/gnome/help/creating-metacity-themes/de/
share/gnome/help/creating-metacity-themes/de/creating-metacity-themes.xml
share/gnome/wm-properties/
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/
share/locale/ha/LC_MESSAGES/
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/
share/locale/ig/LC_MESSAGES/
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/ug/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/
share/locale/yo/LC_MESSAGES/
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
share/metacity/
share/metacity/icons/
share/metacity/icons/metacity-window-demo.png
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
${SCHEMAS_INSTDIR}/
${SCHEMAS_INSTDIR}/metacity.schemas
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
share/themes/AgingGorilla/
share/themes/AgingGorilla/metacity-1/
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/
share/themes/Atlanta/metacity-1/
share/themes/Atlanta/metacity-1/metacity-theme-1.xml
share/themes/Bright/
share/themes/Bright/metacity-1/
share/themes/Bright/metacity-1/metacity-theme-1.xml
share/themes/Bright/metacity-1/metacity-theme-2.xml
share/themes/Crux/
share/themes/Crux/metacity-1/
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/
share/themes/Esco/metacity-1/
share/themes/Esco/metacity-1/metacity-theme-1.xml
share/themes/Metabox/
share/themes/Metabox/metacity-1/
share/themes/Metabox/metacity-1/metacity-theme-1.xml
share/themes/Simple/
share/themes/Simple/metacity-1/
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
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database