summaryrefslogtreecommitdiff
path: root/wm/gnome-compiz-manager
diff options
context:
space:
mode:
authordrochner <drochner>2007-04-17 21:44:41 +0000
committerdrochner <drochner>2007-04-17 21:44:41 +0000
commit88c4fadeba83ea35f8f2c554a97fa5ed351ce1ac (patch)
treedb783be1f831bb77706e1ba47f41c66ed9b567bb /wm/gnome-compiz-manager
parent21dfbee72f21646b433bed79910c8fa7fe702acb (diff)
downloadpkgsrc-88c4fadeba83ea35f8f2c554a97fa5ed351ce1ac.tar.gz
import gnome-compiz-manager-0.10.4, a utility to configure compiz
properties and to switch between metacity and compiz window managers
Diffstat (limited to 'wm/gnome-compiz-manager')
-rw-r--r--wm/gnome-compiz-manager/DESCR5
-rw-r--r--wm/gnome-compiz-manager/Makefile29
-rw-r--r--wm/gnome-compiz-manager/PLIST72
-rw-r--r--wm/gnome-compiz-manager/distinfo6
-rw-r--r--wm/gnome-compiz-manager/patches/patch-aa34
5 files changed, 146 insertions, 0 deletions
diff --git a/wm/gnome-compiz-manager/DESCR b/wm/gnome-compiz-manager/DESCR
new file mode 100644
index 00000000000..f115a2bd0d3
--- /dev/null
+++ b/wm/gnome-compiz-manager/DESCR
@@ -0,0 +1,5 @@
+Gnome Compiz Manager is small utility, which manage GL Desktop configuration
+on XGL/AiGLX. It's composed of two applications:
+=> compiz-tray-icon: it lets you load or unload the GL Desktop
+=> gnome-compiz-preferences: it lets you configure the plugins and options
+ related to your GL Desktop in a simple way
diff --git a/wm/gnome-compiz-manager/Makefile b/wm/gnome-compiz-manager/Makefile
new file mode 100644
index 00000000000..d7f0d24e2c8
--- /dev/null
+++ b/wm/gnome-compiz-manager/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/17 21:44:41 drochner Exp $
+#
+
+DISTNAME= gnome-compiz-manager-0.10.4
+CATEGORIES= wm
+MASTER_SITES= http://download.gna.org/gcm/gnome-compiz-manager/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://compiz.org/Gnome_Compiz_Manager
+COMMENT= Utility to manage GL Desktop configuration
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config intltool gmake
+USE_DIRS+= xdg-1.1
+
+GCONF2_SCHEMAS+= gnome-compiz-preferences.schemas
+PKGCONFIG_OVERRIDE+= gnome-compiz-manager.pc.in
+
+.include "../../devel/GConf2/schemas.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../devel/libwnck/buildlink3.mk"
+.include "../../devel/libgnome/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../graphics/librsvg2/buildlink3.mk"
+.include "../../x11/gnome-desktop/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wm/gnome-compiz-manager/PLIST b/wm/gnome-compiz-manager/PLIST
new file mode 100644
index 00000000000..35a00496b4d
--- /dev/null
+++ b/wm/gnome-compiz-manager/PLIST
@@ -0,0 +1,72 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/17 21:44:41 drochner Exp $
+bin/compiz-tray-icon
+bin/gnome-compiz-preferences
+include/gnome-compiz-manager/gcm-application.h
+include/gnome-compiz-manager/gcm-classic-desktop.h
+include/gnome-compiz-manager/gcm-entry-shortcut.h
+include/gnome-compiz-manager/gcm-gl-color.h
+include/gnome-compiz-manager/gcm-gl-desktop.h
+include/gnome-compiz-manager/gcm-gl-option-gconf.h
+include/gnome-compiz-manager/gcm-gl-option.h
+include/gnome-compiz-manager/gcm-gl-plugin.h
+include/gnome-compiz-manager/gcm-page.h
+include/gnome-compiz-manager/gcm-plugin.h
+include/gnome-compiz-manager/gcm-xorg-config-device.h
+include/gnome-compiz-manager/gcm-xorg-config-files.h
+include/gnome-compiz-manager/gcm-xorg-config-parser.h
+include/gnome-compiz-manager/gcm-xorg-config-section.h
+include/gnome-compiz-manager/gcm-xorg-config-symbol.h
+include/gnome-compiz-manager/gcm-xorg.h
+lib/gnome-compiz-manager/gcp-page-desktop.plugin
+lib/gnome-compiz-manager/gcp-page-utility.plugin
+lib/gnome-compiz-manager/gcp-page-windows.plugin
+lib/gnome-compiz-manager/gcp-page-workspaces.plugin
+lib/gnome-compiz-manager/libgcp_page_desktop.la
+lib/gnome-compiz-manager/libgcp_page_utility.la
+lib/gnome-compiz-manager/libgcp_page_windows.la
+lib/gnome-compiz-manager/libgcp_page_workspaces.la
+lib/libgnome-compiz-manager.la
+lib/pkgconfig/gnome-compiz-manager.pc
+man/man1/compiz-tray-icon.1
+man/man1/gnome-compiz-preferences.1
+share/applications/gnome-compiz-preferences.desktop
+share/doc/gnome-compiz-manager/AUTHORS
+share/doc/gnome-compiz-manager/COPYING
+share/doc/gnome-compiz-manager/COPYING.GPL
+share/doc/gnome-compiz-manager/COPYING.LGPL
+share/doc/gnome-compiz-manager/ChangeLog
+share/doc/gnome-compiz-manager/INSTALL
+share/doc/gnome-compiz-manager/NEWS
+share/doc/gnome-compiz-manager/README
+share/gconf/schemas/gnome-compiz-preferences.schemas
+share/gnome-compiz-manager/display.svg
+share/gnome-compiz-manager/glade/desktop.png
+share/gnome-compiz-manager/glade/display.svg
+share/gnome-compiz-manager/glade/gcp-page-desktop.glade
+share/gnome-compiz-manager/glade/gcp-page-utility.glade
+share/gnome-compiz-manager/glade/gcp-page-windows.glade
+share/gnome-compiz-manager/glade/gcp-page-workspaces.glade
+share/gnome-compiz-manager/glade/gnome-compiz-preferences.glade
+share/gnome-compiz-manager/glade/logo.png
+share/gnome-compiz-manager/glade/logo24.png
+share/gnome-compiz-manager/glade/mouse.svg
+share/gnome-compiz-manager/gnome-compiz-manager.png
+share/gnome-compiz-manager/left-button-mouse.svg
+share/gnome-compiz-manager/left-button.svg
+share/gnome-compiz-manager/logo.png
+share/gnome-compiz-manager/logo24.png
+share/gnome-compiz-manager/logooff24.png
+share/gnome-compiz-manager/metacity24.png
+share/gnome-compiz-manager/middle-button-mouse.svg
+share/gnome-compiz-manager/middle-button.svg
+share/gnome-compiz-manager/mouse.svg
+share/gnome-compiz-manager/right-button-mouse.svg
+share/gnome-compiz-manager/right-button.svg
+share/locale/fr/LC_MESSAGES/gnome-compiz-manager.mo
+@dirrm share/gnome-compiz-manager/glade
+@dirrm share/gnome-compiz-manager
+@comment in GConf2: @dirrm share/gconf/schemas
+@dirrm share/doc/gnome-compiz-manager
+@comment in xdg-dirs: @dirrm share/applications
+@dirrm lib/gnome-compiz-manager
+@dirrm include/gnome-compiz-manager
diff --git a/wm/gnome-compiz-manager/distinfo b/wm/gnome-compiz-manager/distinfo
new file mode 100644
index 00000000000..a656e569426
--- /dev/null
+++ b/wm/gnome-compiz-manager/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/17 21:44:41 drochner Exp $
+
+SHA1 (gnome-compiz-manager-0.10.4.tar.gz) = 5b4e7877ad69020a287bec1c49d19e2fcb792d35
+RMD160 (gnome-compiz-manager-0.10.4.tar.gz) = 47722e1dffd72d4c023457e3b31937afd4f15632
+Size (gnome-compiz-manager-0.10.4.tar.gz) = 614741 bytes
+SHA1 (patch-aa) = 02acb4dc02c470771ed479a439b4a3a55e933969
diff --git a/wm/gnome-compiz-manager/patches/patch-aa b/wm/gnome-compiz-manager/patches/patch-aa
new file mode 100644
index 00000000000..e9b15e6db67
--- /dev/null
+++ b/wm/gnome-compiz-manager/patches/patch-aa
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/04/17 21:44:41 drochner Exp $
+
+--- libgnome-compiz-manager/gcm-application.c.orig 2007-02-27 01:01:01.000000000 +0100
++++ libgnome-compiz-manager/gcm-application.c
+@@ -652,6 +652,21 @@ gcm_application_get_pid (GCMApplication
+ {
+ #line 248 "gcm-application.gob"
+
++#ifdef __NetBSD__
++ char *cmd[] = { "/usr/bin/pgrep", 0, 0 };
++ char pgreparg[100]; /* XXX whatever */
++ char *out;
++ int res;
++
++ selfp->pid = 0;
++
++ snprintf(pgreparg, sizeof(pgreparg), "^%s$",
++ g_path_get_basename(selfp->real_name));
++ cmd[1] = pgreparg;
++ res = g_spawn_sync(0, cmd, 0, 0, 0, 0, &out, 0, 0, 0);
++ if (res)
++ selfp->pid = atoi(out);
++#else
+ GDir * procdir;
+ gchar * item;
+
+@@ -699,6 +714,7 @@ gcm_application_get_pid (GCMApplication
+ g_free(itemdir);
+ }
+ g_dir_close(procdir);
++#endif /* NetBSD */
+
+ return selfp->pid;
+ }}