+ -
当前位置:首页 → 问答吧 → 一个compiz 0.8.6的源

一个compiz 0.8.6的源

时间:2010-04-05

来源:互联网

[compiz-0.8.6]
Server=http://csslayer-aur-repo.googlecode.com/files/

不多说
此源内没有的装官方版本即可,kde用户,gnome相关没有都make过

等官方compiz心急的可以试试,只有x86包

作者: hurricanek   发布时间: 2010-04-05

额。。。我刚编译完了。。。

compiz-bcop不需要重新编译吧,libcompizconfig,emerald需要。

如果编译emerald,在gtk 2.20下需要补丁。

代码:
diff -uNr a/src/main.c b/src/main.c
--- a/src/main.c        2009-10-14 08:56:23.000000000 +0800
+++ b/src/main.c        2010-04-04 23:04:11.381397231 +0800
@@ -3757,7 +3757,7 @@
 
 static void hide_tooltip(void)
 {
- if (GTK_WIDGET_VISIBLE(tip_window))
+ if (gtk_widget_get_visible(tip_window))
 g_get_current_time(&tooltip_last_popdown);
 
 gtk_widget_hide(tip_window);
diff -urN emerald-0.8.4/libengine/themer.c emerald-0.8.4.new/libengine/themer.c
--- emerald-0.8.4/libengine/themer.c    2009-10-13 20:56:23.000000000 -0400
+++ emerald-0.8.4.new/libengine/themer.c        2010-03-10 01:20:03.046827674 -0500
@@ -461,7 +461,7 @@
 }
 gdouble get_float(SettingItem * item)
 {
- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
+ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
 return gtk_spin_button_get_value((GtkSpinButton *)item->widget);
 }
 else {
@@ -647,7 +647,7 @@
 }
 void set_float(SettingItem * item, gdouble f)
 {
- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
+ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
 gtk_spin_button_set_value((GtkSpinButton *)item->widget, f);
 } 
 else {

作者: jarryson   发布时间: 2010-04-05

引用:
作者: jarryson
额。。。我刚编译完了。。。

compiz-bcop不需要重新编译吧,libcompizconfig,emerald需要。

如果编译emerald,在gtk 2.20下需要补丁。

代码:
diff -uNr a/src/main.c b/src/main.c
--- a/src/main.c 2009-10-14 08:56:23.000000000 +0800
+++ b/src/main.c 2010-04-04 23:04:11.381397231 +0800
@@ -3757,7 +3757,7 @@
 
 static void hide_tooltip(void)
 {
- if (GTK_WIDGET_VISIBLE(tip_window))
+ if (gtk_widget_get_visible(tip_window))
 g_get_current_time(&tooltip_last_popdown);
 
 gtk_widget_hide(tip_window);
diff -urN emerald-0.8.4/libengine/themer.c emerald-0.8.4.new/libengine/themer.c
--- emerald-0.8.4/libengine/themer.c 2009-10-13 20:56:23.000000000 -0400
+++ emerald-0.8.4.new/libengine/themer.c 2010-03-10 01:20:03.046827674 -0500
@@ -461,7 +461,7 @@
 }
 gdouble get_float(SettingItem * item)
 {
- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
+ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
 return gtk_spin_button_get_value((GtkSpinButton *)item->widget);
 }
 else {
@@ -647,7 +647,7 @@
 }
 void set_float(SettingItem * item, gdouble f)
 {
- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
+ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
 gtk_spin_button_set_value((GtkSpinButton *)item->widget, f);
 } 
 else {
多谢补丁。。

作者: zhuqin_83   发布时间: 2010-04-05

有什么让人翘首的特性么?

作者: athurg   发布时间: 2010-04-06

主要是解决了0.8.4的时候一个焦点问题,关闭当前窗口后,焦点不会恢复到之前一个窗口。

作者: jarryson   发布时间: 2010-04-06

emerald-theme-manager依然崩溃。

作者: zhuqin_83   发布时间: 2010-04-06

只是更换主题的时候崩溃。。不知道如何解决,因为们没有新版的emerald出来

补丁只是让其编译通过

作者: jarryson   发布时间: 2010-04-06

这个源添加后更新还是没有compiz 0.8.6

作者: gegfried   发布时间: 2010-05-15