Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
Metacity is not a meta-City as in an urban center, but rather Meta-ness as in
the state of being meta. i.e. metacity : meta as opacity : opaque. Also
it may have something to do with the Meta key on UNIX keyboards.
- Boring window manager for the adult in you. Many window managers are like
Marshmallow Froot Loops; Metacity is like Cheerios.
- Uses GTK+ 2.0 for drawing window frames. This means colors, fonts, etc.
come from GTK+ theme.
- Has a simple theme system and a couple of extra themes come with it.
Change themes via gconf-editor or gconftool:
gconftool-2 --type=string --set /apps/metacity/general/theme Crux
- Change number of workspaces via gconf-editor or gconftool:
gconftool-2 --type=int --set /apps/metacity/general/num_workspaces 5
Can also change workspaces from GNOME 2 pager.
- Change focus mode:
gconftool-2 --type=string --set /apps/metacity/general/focus_mode mouse
+63
View File
@@ -0,0 +1,63 @@
# $NetBSD: Makefile,v 1.109 2013/06/06 12:53:49 wiz Exp $
#
DISTNAME= metacity-2.34.1
PKGREVISION= 13
CATEGORIES= wm x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/metacity/2.34/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/softwaremap/projects/Metacity/
COMMENT= GNOME-compliant window manager
USE_PKGLOCALEDIR= YES
USE_TOOLS+= gmake intltool msgfmt pkg-config
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE= src/libmetacity-private.pc.in
GCONF_SCHEMAS= metacity.schemas
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} != "native"
.include "../../x11/libXinerama/buildlink3.mk"
.elif !exists(${X11BASE}/lib/libXinerama.so)
CONFIGURE_ARGS+= --disable-xinerama
.endif
.if ${X11_TYPE} != "modular" && !exists(${X11BASE}/lib/libXdamage.so)
CONFIGURE_ARGS+= --disable-compositor
.endif
CFLAGS.SunOS+= -std=c99 -D__EXTENSIONS__
.if ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+= rm:-ansi
.endif
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.0
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0
BUILDLINK_API_DEPENDS.startup-notification+= startup-notification>=0.7
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../audio/libcanberra/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXcomposite/buildlink3.mk"
.include "../../x11/libXcursor/buildlink3.mk"
.include "../../x11/libXdamage/buildlink3.mk"
.include "../../x11/libXrender/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
DEPENDS+= zenity-[0-9]*:../../x11/zenity
.include "../../mk/bsd.pkg.mk"
+225
View File
@@ -0,0 +1,225 @@
@comment $NetBSD: PLIST,v 1.34 2011/07/13 20:06:15 drochner Exp $
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.la
lib/pkgconfig/libmetacity-private.pc
man/man1/metacity-message.1
man/man1/metacity-theme-viewer.1
man/man1/metacity-window-demo.1
man/man1/metacity.1
share/applications/metacity.desktop
share/gconf/schemas/metacity.schemas
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/C/creating-metacity-themes.xml
share/gnome/help/creating-metacity-themes/de/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/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/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/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
+20
View File
@@ -0,0 +1,20 @@
# $NetBSD: buildlink3.mk,v 1.38 2013/06/06 12:53:49 wiz Exp $
BUILDLINK_TREE+= metacity
.if !defined(METACITY_BUILDLINK3_MK)
METACITY_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.metacity+= metacity>=2.8.5
BUILDLINK_ABI_DEPENDS.metacity+= metacity>=2.34.1nb13
BUILDLINK_PKGSRCDIR.metacity?= ../../wm/metacity
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../x11/libXcomposite/buildlink3.mk"
.include "../../x11/libXdamage/buildlink3.mk"
.endif # METACITY_BUILDLINK3_MK
BUILDLINK_TREE+= -metacity
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.44 2011/07/13 20:06:15 drochner Exp $
SHA1 (metacity-2.34.1.tar.bz2) = 2b691c4a2c98be0b53deed2274b901880d3d6c84
RMD160 (metacity-2.34.1.tar.bz2) = 965fcef1affb2308e54d99990909194780291b52
Size (metacity-2.34.1.tar.bz2) = 2411563 bytes
SHA1 (patch-aa) = e57853437a8485399f302553a4a4289e607d3780
SHA1 (patch-ac) = bfdb91948f619a7021a6d1d7d0ff4b7995c8e91d
+57
View File
@@ -0,0 +1,57 @@
$NetBSD: patch-aa,v 1.5 2008/12/24 18:49:55 jmcneill Exp $
--- src/compositor/compositor-xrender.c.orig 2008-12-24 13:43:30.000000000 -0500
+++ src/compositor/compositor-xrender.c 2008-12-24 13:46:14.000000000 -0500
@@ -288,6 +288,7 @@ make_gaussian_map (double r)
return c;
}
+#ifdef HAVE_COMPOSITE_EXTENSIONS
static void
dump_xserver_region (const char *location,
MetaDisplay *display,
@@ -321,6 +322,7 @@ dump_xserver_region (const char *locat
else
fprintf (stderr, "%s (XSR): null\n", location);
}
+#endif
/*
* A picture will help
@@ -1052,7 +1054,7 @@ get_window_picture (MetaCompWindow *cw)
meta_error_trap_push (display);
-#ifdef HAVE_NAME_WINDOW_PIXMAP
+#if defined(HAVE_NAME_WINDOW_PIXMAP) && defined(HAVE_COMPOSITE_EXTENSIONS)
if (have_name_window_pixmap (display))
{
if (cw->back_pixmap == None)
@@ -1219,7 +1221,7 @@ paint_windows (MetaScreen *screen,
{
int x, y, wid, hei;
-#ifdef HAVE_NAME_WINDOW_PIXMAP
+#if defined(HAVE_NAME_WINDOW_PIXMAP) && defined(HAVE_COMPOSITE_EXTENSIONS)
if (have_name_window_pixmap (display))
{
x = cw->attrs.x;
@@ -1361,7 +1363,9 @@ paint_all (MetaScreen *screen,
{
Picture overlay;
+#ifdef HAVE_COMPOSITE_EXTENSIONS
dump_xserver_region ("paint_all", display, region);
+#endif
/* Make a random colour overlay */
overlay = solid_picture (display, screen, TRUE, 1, /* 0.3, alpha */
@@ -2481,7 +2485,7 @@ show_overlay_window (MetaScreen *screen,
MetaDisplay *display = meta_screen_get_display (screen);
Display *xdisplay = meta_display_get_xdisplay (display);
-#ifdef HAVE_COW
+#if defined(HAVE_COW) && defined(HAVE_COMPOSITE_EXTENSIONS)
if (have_cow (display))
{
XserverRegion region;
+12
View File
@@ -0,0 +1,12 @@
$NetBSD: patch-ac,v 1.1 2010/02/11 18:19:13 drochner Exp $
--- src/core/delete.c.orig 2010-01-26 11:11:27.000000000 +0000
+++ src/core/delete.c
@@ -38,6 +38,7 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
+#include <sys/wait.h>
static void meta_window_present_delete_dialog (MetaWindow *window,
guint32 timestamp);