[compiz] Error compiling KWD

2007-06-07 Thread Joel Calado
I'm trying to compile GIT KWD, but i believe I am missing something here...


[EMAIL PROTECTED]:~/compiz/compiz$ make
make  all-recursive
make[1]: Entering directory `/home/joel/compiz/compiz'
Making all in include
make[2]: Entering directory `/home/joel/compiz/compiz/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/joel/compiz/compiz/include'
Making all in src
make[2]: Entering directory `/home/joel/compiz/compiz/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/joel/compiz/compiz/src'
Making all in libdecoration
make[2]: Entering directory `/home/joel/compiz/compiz/libdecoration'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/joel/compiz/compiz/libdecoration'
Making all in plugins
make[2]: Entering directory `/home/joel/compiz/compiz/plugins'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/joel/compiz/compiz/plugins'
Making all in images
make[2]: Entering directory `/home/joel/compiz/compiz/images'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/joel/compiz/compiz/images'
Making all in gtk
make[2]: Entering directory `/home/joel/compiz/compiz/gtk'
Making all in window-decorator
make[3]: Entering directory `/home/joel/compiz/compiz/gtk/window-decorator'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/joel/compiz/compiz/gtk/window-decorator'
Making all in gnome
make[3]: Entering directory `/home/joel/compiz/compiz/gtk/gnome'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/joel/compiz/compiz/gtk/gnome'
make[3]: Entering directory `/home/joel/compiz/compiz/gtk'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/joel/compiz/compiz/gtk'
make[2]: Leaving directory `/home/joel/compiz/compiz/gtk'
Making all in kde
make[2]: Entering directory `/home/joel/compiz/compiz/kde'
Making all in window-decorator
make[3]: Entering directory `/home/joel/compiz/compiz/kde/window-decorator'
/bin/bash ../../libtool --tag=CXX   --mode=link g++  -g -O2   -o 
kde-window-decorator decorator.moc.o window.moc.o KWinInterface_skel.o main.o 
utils.o decorator.o window.o 
options.o ../../libdecoration/libdecoration.la -ldbus-1 -lXdamage -lXcomposite 
-lXfixes   -L/usr/lib -L/usr/lib -lkdecore -lkdecorations -ldbus-qt-1
g++ -g -O2 -o .libs/kde-window-decorator decorator.moc.o window.moc.o 
KWinInterface_skel.o main.o utils.o decorator.o window.o 
options.o  ../../libdecoration/.libs/libdecoration.so -ldbus-1 -lXdamage 
-lXcomposite -lXfixes -L/usr/lib /usr/lib/libkdecore.so 
/usr/lib/libkdecorations.so -ldbus-qt-1
decorator.o: In function `KWinInterface':
/home/joel/compiz/compiz/kde/window-decorator/KWinInterface.h:9: undefined 
reference to `VTT for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/KWinInterface.h:9: undefined 
reference to `VTT for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/KWinInterface.h:9: undefined 
reference to `VTT for KWD::Decorator'
decorator.o: In function `Decorator':
/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:195: undefined 
reference to `vtable for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:195: undefined 
reference to `vtable for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:195: undefined 
reference to `vtable for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:195: undefined 
reference to `vtable for KWD::Decorator'
decorator.o: In function `~KWinInterface':
/home/joel/compiz/compiz/kde/window-decorator/KWinInterface.h:9: undefined 
reference to `VTT for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/KWinInterface.h:9: undefined 
reference to `VTT for KWD::Decorator'
decorator.o: In function `Decorator':
/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:195: undefined 
reference to `vtable for KWD::Decorator'
decorator.o: In function `~Decorator':
/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:245: undefined 
reference to `vtable for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:245: undefined 
reference to `vtable for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:245: undefined 
reference to `vtable for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:245: undefined 
reference to `vtable for KWD::Decorator'
decorator.o:/home/joel/compiz/compiz/kde/window-decorator/decorator.cpp:245: 
more undefined references to `vtable for KWD::Decorator' follow
decorator.o: In function `~KWinInterface':
/home/joel/compiz/compiz/kde/window-decorator/KWinInterface.h:9: undefined 
reference to `VTT for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/KWinInterface.h:9: undefined 
reference to `VTT for KWD::Decorator'
/home/joel/compiz/compiz/kde/window-decorator/KWinInterface.h:9: undefined 
reference to `VTT for KWD::Decorator'

Re: [compiz] Scale Binding

2007-06-07 Thread Andres Blanco

isnt the default binding for scale ctrl + alt + up...? at least that's
mine...

On 6/7/07, Roi Cohen [EMAIL PROTECTED] wrote:


Hi,

Recently this commit was pushed to git, changing the default binding
for scale to alt + shift + up:

http://gitweb.freedesktop.org/?p=xorg/app/compiz.git;a=commit;h=77def1253419e1e0d3335f4c4790471b5130f087

I think this new binding is quite bad for many users who have multiple
layouts in their keyboard (like non-latin languages), as alt + shift
is commonly used for changing keyboard layouts. Could it be changed
again to something else? I unfortunately don't have any good
suggestion on top of my head right now, but maybe you have?

- Roi
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz





--
Andrés Blanco Morales
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Scale Binding

2007-06-07 Thread Danny Baumann
Hi,

 isnt the default binding for scale ctrl + alt + up...? at least that's
 mine...

That was the case before (until today morning CEST), but it was changed
because it conflicted with the plane and wall plugins.

Regards,

Danny

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] [PATCHES] Fixes for java apps and firefox in scale, switcher and wobbly

2007-06-07 Thread David Reveman
On Thu, 2007-06-07 at 01:17 +0200, Treviño wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 David Reveman ha scritto:
  On Wed, 2007-06-06 at 19:42 +0200, Treviño wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  I've made these patches that basically, make the java apps and firefox
  items well being recognized by some compiz plugins (scale, switcher
  and wobbly), I don't know if those can be considered workaround, but
  this helps in using your desktop tools.
 
  Basically java apps are seen as:
   * name=sun-awt-X11-XFramePeer (default windows = Normal)
   * name=sun-awt-X11-XDialogPeer (secondary - child - dialogs = Dialog)
   * name=sun-awt-X11-XWindowPeer (Menus, tooltip, OSD  co...)
 
  While firefox items as:
   * type=Normal  override_redirect=1
 
  These are all workarounds for apps that are not setting window hints
  correctly and I think most people agree that it's not a good idea to
  adjust our default option values for this. Feel free to add the
  workarounds to the compiz.org wiki, though.
 Yeah, I suspected they were workarounds, but I don't think that either
 java or firefox will release fixes soon, however you're right not
 including them upstream, but I think that's a good thing for
 distributiors waiting for official fixes, isn't it!?

Yes, this information is very useful for distributors.

-David

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Scale Binding

2007-06-07 Thread Andres Blanco

Why was the scale binding changed and not plane's and wall's then?
ctrl + alt + up is a very good binding for scale.

On 6/7/07, Danny Baumann [EMAIL PROTECTED] wrote:


Hi,

 isnt the default binding for scale ctrl + alt + up...? at least that's
 mine...

That was the case before (until today morning CEST), but it was changed
because it conflicted with the plane and wall plugins.

Regards,

Danny

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz





--
Andrés Blanco Morales
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Scale Binding

2007-06-07 Thread Danny Baumann
Hi,

 Why was the scale binding changed and not plane's and wall's then?
 ctrl + alt + up is a very good binding for scale.

What would be your suggestion for wall and plane then? cube uses Crtl
+Alt+Left/Right for viewport switching left/right, so in my opinion it
makes a lot of sense if wall and plane use the same bindings for
switching viewports. They just just the additional Ctrl+Alt+Up/Down for
switching viewports up and down which isn't possible in cube.

Changing wall's and plane's bindings would cause inconsistencies to
cube, which I think is bad.

Regards,

Danny

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Scale Binding

2007-06-07 Thread Andres Blanco

How about ctrl+ shift + arrows?

On 6/7/07, Danny Baumann [EMAIL PROTECTED] wrote:


Hi,

 Why was the scale binding changed and not plane's and wall's then?
 ctrl + alt + up is a very good binding for scale.

What would be your suggestion for wall and plane then? cube uses Crtl
+Alt+Left/Right for viewport switching left/right, so in my opinion it
makes a lot of sense if wall and plane use the same bindings for
switching viewports. They just just the additional Ctrl+Alt+Up/Down for
switching viewports up and down which isn't possible in cube.

Changing wall's and plane's bindings would cause inconsistencies to
cube, which I think is bad.

Regards,

Danny





--
Andrés Blanco Morales
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


[compiz] [PATCH] fixes for =libwnck-2.19.3

2007-06-07 Thread compnerd
Hi.

libwnck broke API with the 2.19.3 release.  This effects compiz as the
WNCK_WINDOW_MODAL_DIALOG is no longer supported by it.  The attached patch 
allows compiz to
build against the library.

Thanks.

-- 
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
--- configure.ac2007-06-07 10:33:17.0 -0500
+++ configure.ac2007-06-07 10:35:41.0 -0500
@@ -288,6 +288,8 @@
 
 PKG_CHECK_EXISTS(libwnck-1.0 = 2.18.1,
 [have_libwnck_2_18_1=yes], [have_libwnck_2_18_1=no])
+PKG_CHECK_EXISTS(libwnck-1.0 = 2.19.3,
+[have_libwnck_2_19_3=yes], [have_libwnck_2_19_3=no])
 
 if test x$use_metacity = xyes; then
   PKG_CHECK_MODULES(METACITY, libmetacity-private,
@@ -332,6 +334,10 @@
 AC_DEFINE(HAVE_LIBWNCK_2_18_1, 1,
  [Define to 1 if libwnck version = 2_18_1])
   fi
+  if test $have_libwnck_2_19_3 = yes; then
+AC_DEFINE(HAVE_LIBWNCK_2_19_3, 1,
+ [Define to 1 if libwnck version = 2_19_3])
+  fi
 fi
 
 AM_CONDITIONAL(USE_METACITY, test x$use_metacity = xyes)
--- gtk/window-decorator/gtk-window-decorator.c 2007-06-07 10:35:58.0 
-0500
+++ gtk/window-decorator/gtk-window-decorator.c 2007-06-07 10:36:27.0 
-0500
@@ -4490,7 +4490,9 @@
return;
 case WNCK_WINDOW_NORMAL:
 case WNCK_WINDOW_DIALOG:
+#ifndef HAVE_LIBWNCK_2_19_3
 case WNCK_WINDOW_MODAL_DIALOG:
+#endif
 case WNCK_WINDOW_TOOLBAR:
 case WNCK_WINDOW_MENU:
 case WNCK_WINDOW_UTILITY:
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Scale Binding

2007-06-07 Thread Travis Watkins
On 6/7/07, Andres Blanco [EMAIL PROTECTED] wrote:
 How about ctrl+ shift + arrows?


But other WMs use Ctrl-Alt-Up/Down/Left/Right too. Unneeded
inconsistency is bad.

-- 
Travis Watkins
http://www.realistanew.com
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz