Make compiz work out of the box: o Install schemas for compiz core and plugins, not just gwd o Patch compiz-core schema to load a sane set of plugins by default o Patch compiz-decorator schema to workaround a bug in the xf86-video-intel driver related to drop shadows. o Enable gnome PKG_OPTION by default. o Bump pkg revision.diff -r1.17 -r1.18 pkgsrc/wm/compiz/Makefile
(jmcneill)
@@ -1,40 +1,83 @@ | @@ -1,40 +1,83 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2008/04/23 22:48:35 xtraeme Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2008/05/12 01:57:37 jmcneill Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= compiz-0.6.2 | 4 | DISTNAME= compiz-0.6.2 | |
5 | #PKGREVISION= 8 | 5 | PKGREVISION= 1 | |
6 | CATEGORIES= wm x11 | 6 | CATEGORIES= wm x11 | |
7 | MASTER_SITES= http://xorg.freedesktop.org/releases/individual/app/ | 7 | MASTER_SITES= http://xorg.freedesktop.org/releases/individual/app/ | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://compiz.org/ | 10 | HOMEPAGE= http://compiz.org/ | |
11 | COMMENT= Compositing window manager | 11 | COMMENT= Compositing window manager | |
12 | 12 | |||
13 | GNU_CONFIGURE= yes | 13 | GNU_CONFIGURE= yes | |
14 | USE_TOOLS+= intltool pkg-config msgfmt | 14 | USE_TOOLS+= intltool pkg-config msgfmt | |
15 | USE_PKGLOCALEDIR= yes | 15 | USE_PKGLOCALEDIR= yes | |
16 | USE_LANGUAGES= c c++ | 16 | USE_LANGUAGES= c c++ | |
17 | USE_LIBTOOL= yes | 17 | USE_LIBTOOL= yes | |
18 | 18 | |||
19 | COMPIZ_GCONF_SCHEMAS+= compiz-annotate.schemas | |||
20 | COMPIZ_GCONF_SCHEMAS+= compiz-blur.schemas | |||
21 | COMPIZ_GCONF_SCHEMAS+= compiz-clone.schemas | |||
22 | COMPIZ_GCONF_SCHEMAS+= compiz-core.schemas | |||
23 | COMPIZ_GCONF_SCHEMAS+= compiz-cube.schemas | |||
24 | COMPIZ_GCONF_SCHEMAS+= compiz-dbus.schemas | |||
25 | COMPIZ_GCONF_SCHEMAS+= compiz-decoration.schemas | |||
26 | COMPIZ_GCONF_SCHEMAS+= compiz-fade.schemas | |||
27 | COMPIZ_GCONF_SCHEMAS+= compiz-fs.schemas | |||
28 | COMPIZ_GCONF_SCHEMAS+= compiz-gconf.schemas | |||
29 | COMPIZ_GCONF_SCHEMAS+= compiz-glib.schemas | |||
30 | COMPIZ_GCONF_SCHEMAS+= compiz-ini.schemas | |||
31 | COMPIZ_GCONF_SCHEMAS+= compiz-inotify.schemas | |||
32 | COMPIZ_GCONF_SCHEMAS+= compiz-minimize.schemas | |||
33 | COMPIZ_GCONF_SCHEMAS+= compiz-move.schemas | |||
34 | COMPIZ_GCONF_SCHEMAS+= compiz-place.schemas | |||
35 | COMPIZ_GCONF_SCHEMAS+= compiz-plane.schemas | |||
36 | COMPIZ_GCONF_SCHEMAS+= compiz-png.schemas | |||
37 | COMPIZ_GCONF_SCHEMAS+= compiz-regex.schemas | |||
38 | COMPIZ_GCONF_SCHEMAS+= compiz-resize.schemas | |||
39 | COMPIZ_GCONF_SCHEMAS+= compiz-rotate.schemas | |||
40 | COMPIZ_GCONF_SCHEMAS+= compiz-scale.schemas | |||
41 | COMPIZ_GCONF_SCHEMAS+= compiz-screenshot.schemas | |||
42 | COMPIZ_GCONF_SCHEMAS+= compiz-svg.schemas | |||
43 | COMPIZ_GCONF_SCHEMAS+= compiz-switcher.schemas | |||
44 | COMPIZ_GCONF_SCHEMAS+= compiz-video.schemas | |||
45 | COMPIZ_GCONF_SCHEMAS+= compiz-water.schemas | |||
46 | COMPIZ_GCONF_SCHEMAS+= compiz-wobbly.schemas | |||
47 | COMPIZ_GCONF_SCHEMAS+= compiz-zoom.schemas | |||
48 | ||||
19 | GCONF_SCHEMAS+= gwd.schemas | 49 | GCONF_SCHEMAS+= gwd.schemas | |
50 | GCONF_SCHEMAS+= ${COMPIZ_GCONF_SCHEMAS} | |||
51 | ||||
20 | PKGCONFIG_OVERRIDE+= compiz.pc.in | 52 | PKGCONFIG_OVERRIDE+= compiz.pc.in | |
21 | PKGCONFIG_OVERRIDE+= libdecoration/libdecoration.pc.in | 53 | PKGCONFIG_OVERRIDE+= libdecoration/libdecoration.pc.in | |
22 | 54 | |||
23 | CONFIGURE_ARGS+= --disable-inotify | 55 | CONFIGURE_ARGS+= --disable-inotify | |
24 | 56 | |||
25 | PKG_SUPPORTED_OPTIONS= gnome kde | 57 | PKG_SUPPORTED_OPTIONS= gnome kde | |
58 | PKG_SUGGESTED_OPTIONS= gnome | |||
26 | PKG_OPTIONS_VAR= PKG_OPTIONS.compiz | 59 | PKG_OPTIONS_VAR= PKG_OPTIONS.compiz | |
27 | 60 | |||
61 | SUBST_CLASSES+= paths | |||
62 | SUBST_FILES.paths= metadata/compiz-decoration.schemas | |||
63 | SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g' | |||
64 | SUBST_STAGE.paths= post-patch | |||
65 | ||||
66 | post-install: | |||
67 | .for schema in ${COMPIZ_GCONF_SCHEMAS} | |||
68 | ${INSTALL_DATA} ${WRKSRC}/metadata/${schema} ${PREFIX}/share/gconf/schemas | |||
69 | .endfor | |||
70 | ||||
28 | .include "../../mk/bsd.options.mk" | 71 | .include "../../mk/bsd.options.mk" | |
29 | 72 | |||
30 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} | 73 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} | |
31 | 74 | |||
32 | # this is as much as needed for the basic window decorator | 75 | # this is as much as needed for the basic window decorator | |
33 | .include "../../graphics/cairo/buildlink3.mk" | 76 | .include "../../graphics/cairo/buildlink3.mk" | |
34 | .include "../../x11/gtk2/buildlink3.mk" | 77 | .include "../../x11/gtk2/buildlink3.mk" | |
35 | .include "../../devel/libwnck/buildlink3.mk" | 78 | .include "../../devel/libwnck/buildlink3.mk" | |
36 | 79 | |||
37 | .if !empty(PKG_OPTIONS:Mgnome) | 80 | .if !empty(PKG_OPTIONS:Mgnome) | |
38 | CONFIGURE_ARGS+= --enable-librsvg | 81 | CONFIGURE_ARGS+= --enable-librsvg | |
39 | PLIST.gnome= yes | 82 | PLIST.gnome= yes | |
40 | .include "../../x11/gnome-control-center/buildlink3.mk" | 83 | .include "../../x11/gnome-control-center/buildlink3.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2008/04/23 22:48:35 xtraeme Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2008/05/12 01:57:37 jmcneill Exp $ | |
2 | bin/compiz | 2 | bin/compiz | |
3 | bin/gtk-window-decorator | 3 | bin/gtk-window-decorator | |
4 | include/compiz/compiz.h | 4 | include/compiz/compiz.h | |
5 | include/compiz/cube.h | 5 | include/compiz/cube.h | |
6 | include/compiz/decoration.h | 6 | include/compiz/decoration.h | |
7 | include/compiz/scale.h | 7 | include/compiz/scale.h | |
8 | lib/compiz/libannotate.la | 8 | lib/compiz/libannotate.la | |
9 | lib/compiz/libblur.la | 9 | lib/compiz/libblur.la | |
10 | lib/compiz/libclone.la | 10 | lib/compiz/libclone.la | |
11 | lib/compiz/libcube.la | 11 | lib/compiz/libcube.la | |
12 | lib/compiz/libdbus.la | 12 | lib/compiz/libdbus.la | |
13 | lib/compiz/libdecoration.la | 13 | lib/compiz/libdecoration.la | |
14 | lib/compiz/libfade.la | 14 | lib/compiz/libfade.la | |
@@ -27,27 +27,27 @@ lib/compiz/libscale.la | @@ -27,27 +27,27 @@ lib/compiz/libscale.la | |||
27 | lib/compiz/libscreenshot.la | 27 | lib/compiz/libscreenshot.la | |
28 | ${PLIST.gnome}lib/compiz/libsvg.la | 28 | ${PLIST.gnome}lib/compiz/libsvg.la | |
29 | lib/compiz/libswitcher.la | 29 | lib/compiz/libswitcher.la | |
30 | lib/compiz/libvideo.la | 30 | lib/compiz/libvideo.la | |
31 | lib/compiz/libwater.la | 31 | lib/compiz/libwater.la | |
32 | lib/compiz/libwobbly.la | 32 | lib/compiz/libwobbly.la | |
33 | lib/compiz/libzoom.la | 33 | lib/compiz/libzoom.la | |
34 | lib/libdecoration.la | 34 | lib/libdecoration.la | |
35 | lib/pkgconfig/compiz-cube.pc | 35 | lib/pkgconfig/compiz-cube.pc | |
36 | lib/pkgconfig/compiz-gconf.pc | 36 | lib/pkgconfig/compiz-gconf.pc | |
37 | lib/pkgconfig/compiz-scale.pc | 37 | lib/pkgconfig/compiz-scale.pc | |
38 | lib/pkgconfig/compiz.pc | 38 | lib/pkgconfig/compiz.pc | |
39 | lib/pkgconfig/libdecoration.pc | 39 | lib/pkgconfig/libdecoration.pc | |
40 | ${PLIST.gnome}window-manager-settings/libcompiz.la | 40 | ${PLIST.gnome}lib/window-manager-settings/libcompiz.la | |
41 | share/compiz/annotate.xml | 41 | share/compiz/annotate.xml | |
42 | share/compiz/blur.xml | 42 | share/compiz/blur.xml | |
43 | share/compiz/clone.xml | 43 | share/compiz/clone.xml | |
44 | share/compiz/core.xml | 44 | share/compiz/core.xml | |
45 | share/compiz/cube.xml | 45 | share/compiz/cube.xml | |
46 | share/compiz/dbus.xml | 46 | share/compiz/dbus.xml | |
47 | share/compiz/decoration.xml | 47 | share/compiz/decoration.xml | |
48 | share/compiz/fade.xml | 48 | share/compiz/fade.xml | |
49 | share/compiz/freedesktop.png | 49 | share/compiz/freedesktop.png | |
50 | share/compiz/fs.xml | 50 | share/compiz/fs.xml | |
51 | share/compiz/gconf.xml | 51 | share/compiz/gconf.xml | |
52 | share/compiz/glib.xml | 52 | share/compiz/glib.xml | |
53 | share/compiz/icon.png | 53 | share/compiz/icon.png | |
@@ -60,26 +60,55 @@ share/compiz/plane.xml | @@ -60,26 +60,55 @@ share/compiz/plane.xml | |||
60 | share/compiz/png.xml | 60 | share/compiz/png.xml | |
61 | share/compiz/regex.xml | 61 | share/compiz/regex.xml | |
62 | share/compiz/resize.xml | 62 | share/compiz/resize.xml | |
63 | share/compiz/rotate.xml | 63 | share/compiz/rotate.xml | |
64 | share/compiz/scale.xml | 64 | share/compiz/scale.xml | |
65 | share/compiz/schemas.xslt | 65 | share/compiz/schemas.xslt | |
66 | share/compiz/screenshot.xml | 66 | share/compiz/screenshot.xml | |
67 | share/compiz/svg.xml | 67 | share/compiz/svg.xml | |
68 | share/compiz/switcher.xml | 68 | share/compiz/switcher.xml | |
69 | share/compiz/video.xml | 69 | share/compiz/video.xml | |
70 | share/compiz/water.xml | 70 | share/compiz/water.xml | |
71 | share/compiz/wobbly.xml | 71 | share/compiz/wobbly.xml | |
72 | share/compiz/zoom.xml | 72 | share/compiz/zoom.xml | |
73 | share/gconf/schemas/compiz-annotate.schemas | |||
74 | share/gconf/schemas/compiz-blur.schemas | |||
75 | share/gconf/schemas/compiz-clone.schemas | |||
76 | share/gconf/schemas/compiz-core.schemas | |||
77 | share/gconf/schemas/compiz-cube.schemas | |||
78 | share/gconf/schemas/compiz-dbus.schemas | |||
79 | share/gconf/schemas/compiz-decoration.schemas | |||
80 | share/gconf/schemas/compiz-fade.schemas | |||
81 | share/gconf/schemas/compiz-fs.schemas | |||
82 | share/gconf/schemas/compiz-gconf.schemas | |||
83 | share/gconf/schemas/compiz-glib.schemas | |||
84 | share/gconf/schemas/compiz-ini.schemas | |||
85 | share/gconf/schemas/compiz-inotify.schemas | |||
86 | share/gconf/schemas/compiz-minimize.schemas | |||
87 | share/gconf/schemas/compiz-move.schemas | |||
88 | share/gconf/schemas/compiz-place.schemas | |||
89 | share/gconf/schemas/compiz-plane.schemas | |||
90 | share/gconf/schemas/compiz-png.schemas | |||
91 | share/gconf/schemas/compiz-regex.schemas | |||
92 | share/gconf/schemas/compiz-resize.schemas | |||
93 | share/gconf/schemas/compiz-rotate.schemas | |||
94 | share/gconf/schemas/compiz-scale.schemas | |||
95 | share/gconf/schemas/compiz-screenshot.schemas | |||
96 | share/gconf/schemas/compiz-svg.schemas | |||
97 | share/gconf/schemas/compiz-switcher.schemas | |||
98 | share/gconf/schemas/compiz-video.schemas | |||
99 | share/gconf/schemas/compiz-water.schemas | |||
100 | share/gconf/schemas/compiz-wobbly.schemas | |||
101 | share/gconf/schemas/compiz-zoom.schemas | |||
73 | share/gconf/schemas/gwd.schemas | 102 | share/gconf/schemas/gwd.schemas | |
74 | ${PLIST.gnome}share/gnome-control-center/keybindings/50-compiz-desktop-key.xml | 103 | ${PLIST.gnome}share/gnome-control-center/keybindings/50-compiz-desktop-key.xml | |
75 | ${PLIST.gnome}share/gnome-control-center/keybindings/50-compiz-key.xml | 104 | ${PLIST.gnome}share/gnome-control-center/keybindings/50-compiz-key.xml | |
76 | ${PLIST.gnome}share/gnome/wm-properties/compiz.desktop | 105 | ${PLIST.gnome}share/gnome/wm-properties/compiz.desktop | |
77 | share/locale/af/LC_MESSAGES/compiz.mo | 106 | share/locale/af/LC_MESSAGES/compiz.mo | |
78 | share/locale/ar/LC_MESSAGES/compiz.mo | 107 | share/locale/ar/LC_MESSAGES/compiz.mo | |
79 | share/locale/bg/LC_MESSAGES/compiz.mo | 108 | share/locale/bg/LC_MESSAGES/compiz.mo | |
80 | share/locale/bn/LC_MESSAGES/compiz.mo | 109 | share/locale/bn/LC_MESSAGES/compiz.mo | |
81 | share/locale/bs/LC_MESSAGES/compiz.mo | 110 | share/locale/bs/LC_MESSAGES/compiz.mo | |
82 | share/locale/ca/LC_MESSAGES/compiz.mo | 111 | share/locale/ca/LC_MESSAGES/compiz.mo | |
83 | share/locale/cs/LC_MESSAGES/compiz.mo | 112 | share/locale/cs/LC_MESSAGES/compiz.mo | |
84 | share/locale/cy/LC_MESSAGES/compiz.mo | 113 | share/locale/cy/LC_MESSAGES/compiz.mo | |
85 | share/locale/da/LC_MESSAGES/compiz.mo | 114 | share/locale/da/LC_MESSAGES/compiz.mo |
@@ -1,5 +1,7 @@ | @@ -1,5 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2008/04/23 18:17:25 xtraeme Exp $ | 1 | $NetBSD: distinfo,v 1.6 2008/05/12 01:57:37 jmcneill Exp $ | |
2 | 2 | |||
3 | SHA1 (compiz-0.6.2.tar.gz) = ab5ecad856049a12a803fe6c94c3e55cdfcb5f68 | 3 | SHA1 (compiz-0.6.2.tar.gz) = ab5ecad856049a12a803fe6c94c3e55cdfcb5f68 | |
4 | RMD160 (compiz-0.6.2.tar.gz) = 6cc235570c3ac15573050b27198648045a85a804 | 4 | RMD160 (compiz-0.6.2.tar.gz) = 6cc235570c3ac15573050b27198648045a85a804 | |
5 | Size (compiz-0.6.2.tar.gz) = 1784471 bytes | 5 | Size (compiz-0.6.2.tar.gz) = 1784471 bytes | |
6 | SHA1 (patch-aa) = 1b6ab48fd459bc2fa4173f8f1d4936aa0d5c00be | |||
7 | SHA1 (patch-ab) = 273430fa119b4c904287115be1f5273868073899 |
$NetBSD: patch-aa,v 1.3 2008/05/12 01:57:37 jmcneill Exp $
--- metadata/compiz-core.schemas.orig 2008-05-11 20:43:31.000000000 -0400
+++ metadata/compiz-core.schemas 2008-05-11 20:44:03.000000000 -0400
@@ -7,7 +7,7 @@
<owner>compiz</owner>
<type>list</type>
<list_type>string</list_type>
- <default>[]</default>
+ <default>[gconf,decoration,wobbly,fade,minimize,switcher,move,resize,place,rotate,zoom,scale]</default>
<locale name="C">
<short>Active Plugins</short>
<long>List of currently active plugins</long>
$NetBSD: patch-ab,v 1.3 2008/05/12 01:57:37 jmcneill Exp $
--- metadata/compiz-decoration.schemas.orig 2007-10-01 13:43:31.000000000 -0400
+++ metadata/compiz-decoration.schemas 2008-05-11 21:38:39.000000000 -0400
@@ -6,7 +6,7 @@
<applyto>/apps/compiz/plugins/decoration/allscreens/options/shadow_radius</applyto>
<owner>compiz</owner>
<type>float</type>
- <default>8.0</default>
+ <default>9.0</default>
<locale name="C">
<short>Shadow Radius</short>
<long>Drop shadow radius (0.1 - 18.0)</long>
@@ -337,7 +337,7 @@
<applyto>/apps/compiz/plugins/decoration/allscreens/options/command</applyto>
<owner>compiz</owner>
<type>string</type>
- <default/>
+ <default>@PREFIX@/bin/gtk-window-decorator</default>
<locale name="C">
<short>Command</short>
<long>Decorator command line that is executed if no decorator is already running</long>