LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kwin-update-blacklist-11.4.diff of Package kdebase4-workspace (Project openSUSE:11.4)

Subject: add intel 945GM to blacklist for blur
Patch-upstream: no
commit 42f4b204607e1e604af8241c2fa7e84b2d4725c6
Author: Will Stephenson <wstephenson@kde.org>
Date:   Fri Feb 18 08:55:12 2011 +0100

    Add blacklist updater for Blur on Intel 945GM on openSUSE 11.4

Index: kdebase-workspace-4.6.0/kwin/data/CMakeLists.txt
===================================================================
--- kdebase-workspace-4.6.0.orig/kwin/data/CMakeLists.txt	2011-01-19 23:05:20.000000000 +0100
+++ kdebase-workspace-4.6.0/kwin/data/CMakeLists.txt	2011-02-26 19:00:17.413355775 +0100
@@ -38,5 +38,5 @@ install( TARGETS kwin_update_tabbox_sett
 install( FILES fsp_workarounds_1.kwinrules  DESTINATION  ${DATA_INSTALL_DIR}/kwin/default_rules )
 install( FILES pop.wav  DESTINATION  ${SOUND_INSTALL_DIR} )
 install( FILES kwin.upd kwinsticky.upd kwiniconify.upd kwin3_plugin.upd kwin_focus1.upd kwinupdatewindowsettings.upd kwin_focus2.upd kwin_fsp_workarounds_1.upd kwin_on_off.upd kwin_window_shortcuts.upd kwin_update_tabbox_settings.upd kwin_blacklist.upd DESTINATION  ${KCONF_UPDATE_INSTALL_DIR} )
-install( PROGRAMS pluginlibFix.pl kwin3_plugin.pl kwin_focus1.sh kwin_focus2.sh on-off_to_true-false.sh  kwin_window_shortcuts.sh kwin_blacklist.sh DESTINATION  ${KCONF_UPDATE_INSTALL_DIR} )
+install( PROGRAMS pluginlibFix.pl kwin3_plugin.pl kwin_focus1.sh kwin_focus2.sh on-off_to_true-false.sh  kwin_window_shortcuts.sh kwin_blacklist.sh kwin_blacklist-opensuse-11.4.pl DESTINATION  ${KCONF_UPDATE_INSTALL_DIR} )
 
Index: kdebase-workspace-4.6.0/kwin/data/kwin_blacklist-opensuse-11.4.pl
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ kdebase-workspace-4.6.0/kwin/data/kwin_blacklist-opensuse-11.4.pl	2011-02-26 19:02:28.778969843 +0100
@@ -0,0 +1,17 @@
+#! /usr/bin/perl
+
+use strict;
+
+my $out = "Mesa DRI Intel(R) 945GM GEM 20100330 DEVELOPMENT x86/MMX/SSE2:-:1.4 Mesa 7.10";
+while (<>)
+{
+    chomp;
+    if ($_ =~ m/^Intel=[ \t]*([^\n]+)$/)
+    {
+        $out = "$out,$1";
+    }
+}
+
+print("[Blacklist][Blur]\n");
+print("Intel=$out\n");
+
Index: kdebase-workspace-4.6.0/kwin/data/kwin_blacklist.upd
===================================================================
--- kdebase-workspace-4.6.0.orig/kwin/data/kwin_blacklist.upd	2011-01-19 23:05:20.000000000 +0100
+++ kdebase-workspace-4.6.0/kwin/data/kwin_blacklist.upd	2011-02-26 19:12:34.456575142 +0100
@@ -1,3 +1,9 @@
 Id=Blacklist-4.5
 File=kwinrc
 Script=kwin_blacklist.sh,sh
+Id=Blacklist-openSUSE-114
+Group=[Blacklist][Blur]
+Options=overwrite
+File=kwinrc
+Script=kwin_blacklist-opensuse-11.4.pl
+