Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=playground.git;a=commitdiff;h=c7f4f0b26412abc773c44d606867abbad24c0447
commit c7f4f0b26412abc773c44d606867abbad24c0447
Author: crazy <[EMAIL PROTECTED]>
Date: Thu Nov 22 01:43:19 2007 +0100
kdebase-workspace-3.96.1_739376-0playground1-i686
* New old package :)
diff --git a/source/kde4/kdebase-workspace/FrugalBuild
b/source/kde4/kdebase-workspace/FrugalBuild
new file mode 100644
index 0000000..6a360a9
--- /dev/null
+++ b/source/kde4/kdebase-workspace/FrugalBuild
@@ -0,0 +1,23 @@
+# Compiling Time: 8.74 SBU
+# Maintainer: crazy <[EMAIL PROTECTED]>
+
+pkgname=kdebase-workspace
+pkgver=3.96.1_739376
+pkgrel=0playground1
+pkgdesc="Basic programs for KDE4"
+depends=('kdelibs>=3.96.1_739423' 'libqtopengl' 'libxres' 'lmsensors'
'libxcomposite' \
+ 'libxklavier' 'libxscrnsaver' 'qimageblitz' 'libqtscript'
'libcaptury' 'libraw1394')
+groups=('kde4')
+archs=('i686')
+options=('nomirror')
+Finclude kde4
+source=(http://192.168.0.2/.KDE4/$pkgname-$pkgver.tar.bz2 \
+ build_with_no_debug.patch \
+ ksysguarddrc_use_config_install_dir.patch \
+ systemsettingsrc_use_config_install_dir.patch)
+sha1sums=('0a43c37c4333fb238bed7f6d285205dac02b103b' \
+ 'aae1b6ec6de1d7a00ad35727e7ebd1ed6246c255' \
+ 'c173303c33871f9fed4e33d16b323952a902d1aa' \
+ 'eed7fe30f80be191d4d63c6e2966d7276e961446')
+
+# optimization OK
diff --git a/source/kde4/kdebase-workspace/build_with_no_debug.patch
b/source/kde4/kdebase-workspace/build_with_no_debug.patch
new file mode 100644
index 0000000..7c129b2
--- /dev/null
+++ b/source/kde4/kdebase-workspace/build_with_no_debug.patch
@@ -0,0 +1,145 @@
+Index: workspace/kwin/composite.cpp
+===================================================================
+--- workspace/kwin/composite.cpp (Revision 737901)
++++ workspace/kwin/composite.cpp (Arbeitskopie)
+@@ -446,7 +446,9 @@
+ window_pix = None;
+ ungrabXServer();
+ if( window_pix == None )
++#ifndef NDEBUG
+ kDebug( 1212 ) << "Creating window pixmap failed: " << this;
++#endif
+ return window_pix;
+ #else
+ return None;
+Index: workspace/kwin/rules.cpp
+===================================================================
+--- workspace/kwin/rules.cpp (Revision 737901)
++++ workspace/kwin/rules.cpp (Arbeitskopie)
+@@ -880,7 +880,9 @@
+ if( (*it)->match( c ))
+ {
+ Rules* rule = *it;
++#ifndef NDEBUG
+ kDebug( 1212 ) << "Rule found:" << rule << ":" << c;
++#endif
+ if( rule->isTemporary())
+ it = rules.erase( it );
+ else
+Index: workspace/kwin/group.cpp
+===================================================================
+--- workspace/kwin/group.cpp (Revision 737901)
++++ workspace/kwin/group.cpp (Arbeitskopie)
+@@ -781,7 +781,9 @@
+ return None;
+ if( new_transient_for == window()) // pointing to self
+ { // also fix the property itself
++#ifndef NDEBUG
+ kWarning( 1216 ) << "Client " << this << " has WM_TRANSIENT_FOR
poiting to itself." ;
++#endif
+ new_property_value = new_transient_for = rootWindow();
+ }
+ // The transient_for window may be embedded in another application,
+@@ -806,8 +808,10 @@
+ {
+ if( new_transient_for != before_search )
+ {
++#ifndef NDEBUG
+ kDebug( 1212 ) << "Client " << this << " has WM_TRANSIENT_FOR
poiting to non-toplevel window "
+ << before_search << ", child of " << new_transient_for_client
<< ", adjusting." << endl;
++#endif
+ new_property_value = new_transient_for; // also fix the property
+ }
+ }
+@@ -826,7 +830,9 @@
+ loop_pos = pos->transient_for_id;
+ if( --count == 0 )
+ {
++#ifndef NDEBUG
+ kWarning( 1216 ) << "Client " << this << " caused
WM_TRANSIENT_FOR loop." ;
++#endif
+ new_transient_for = rootWindow();
+ }
+ }
+Index: workspace/kwin/activation.cpp
+===================================================================
+--- workspace/kwin/activation.cpp (Revision 737901)
++++ workspace/kwin/activation.cpp (Arbeitskopie)
+@@ -534,20 +534,26 @@
+ return true;
+ if( ac == NULL || ac->isDesktop())
+ {
++#ifndef NDEBUG
+ kDebug( 1212 ) << "Activation: No client active, allowing";
++#endif
+ return true; // no active client -> always allow
+ }
+ // TODO window urgency -> return true?
+ if( Client::belongToSameApplication( c, ac, true ))
+ {
++#ifndef NDEBUG
+ kDebug( 1212 ) << "Activation: Belongs to active application";
++#endif
+ return true;
+ }
+ if( level == 3 ) // high
+ return false;
+ if( time == -1U ) // no time known
+ {
++#ifndef NDEBUG
+ kDebug( 1212 ) << "Activation: No timestamp at all";
++#endif
+ if( level == 1 ) // low
+ return true;
+ // no timestamp at all, don't activate - because there's also
creation timestamp
+@@ -557,8 +563,10 @@
+ }
+ // level == 2 // normal
+ Time user_time = ac->userTime();
++#ifndef NDEBUG
+ kDebug( 1212 ) << "Activation, compared:" << c << ":" << time << ":" <<
user_time
+ << ":" << ( timestampCompare( time, user_time ) >= 0 ) << endl;
++#endif
+ return timestampCompare( time, user_time ) >= 0; // time >= user_time
+ }
+
+@@ -748,7 +756,9 @@
+ bool session ) const
+ {
+ Time time = info->userTime();
++#ifndef NDEBUG
+ kDebug( 1212 ) << "User timestamp, initial:" << time;
++#endif
+ // newer ASN timestamp always replaces user timestamp, unless user
timestamp is 0
+ // helps e.g. with konqy reusing
+ if( asn_data != NULL && time != 0 )
+@@ -765,7 +775,9 @@
+ time = asn_data->timestamp();
+ }
+ }
++#ifndef NDEBUG
+ kDebug( 1212 ) << "User timestamp, ASN:" << time;
++#endif
+ if( time == -1U )
+ { // The window doesn't have any timestamp.
+ // If it's the first window for its application
+@@ -797,7 +809,9 @@
+ // don't refuse if focus stealing prevention is turned off
+ if( !first_window && rules()->checkFSP(
options->focusStealingPreventionLevel ) > 0 )
+ {
++#ifndef NDEBUG
+ kDebug( 1212 ) << "User timestamp, already exists:" << 0;
++#endif
+ return 0; // refuse activation
+ }
+ }
+@@ -817,7 +831,9 @@
+ else
+ time = readUserCreationTime();
+ }
++#ifndef NDEBUG
+ kDebug( 1212 ) << "User timestamp, final:" << this << ":" << time;
++#endif
+ return time;
+ }
+
diff --git
a/source/kde4/kdebase-workspace/ksysguarddrc_use_config_install_dir.patch
b/source/kde4/kdebase-workspace/ksysguarddrc_use_config_install_dir.patch
new file mode 100644
index 0000000..799a6c7
--- /dev/null
+++ b/source/kde4/kdebase-workspace/ksysguarddrc_use_config_install_dir.patch
@@ -0,0 +1,21 @@
+Index: workspace/ksysguard/ksysguardd/CMakeLists.txt
+===================================================================
+--- workspace/ksysguard/ksysguardd/CMakeLists.txt (Revision 738900)
++++ workspace/ksysguard/ksysguardd/CMakeLists.txt (Arbeitskopie)
+@@ -4,7 +4,7 @@
+ # Laurent: Verify that we install it into (kdeprefix)/etc/ and not into /etc
+ # otherwise it's necessary to change it.
+ # into kde 3.x it was installed into /etc/
+-ADD_DEFINITIONS(
-DKSYSGUARDDRCFILE=\"\\"${SYSCONF_INSTALL_DIR}/ksysguarddrc\\"\" )
++ADD_DEFINITIONS(
-DKSYSGUARDDRCFILE=\"\\"${CONFIG_INSTALL_DIR}/ksysguarddrc\\"\" )
+
+ ADD_DEFINITIONS(-DOSTYPE_${CMAKE_SYSTEM_NAME})
+
+Index: workspace/ksysguard/example/CMakeLists.txt
+===================================================================
+--- workspace/ksysguard/example/CMakeLists.txt (Revision 738900)
++++ workspace/ksysguard/example/CMakeLists.txt (Arbeitskopie)
+@@ -1,2 +1,2 @@
+-install( FILES ksysguarddrc DESTINATION ${SYSCONF_INSTALL_DIR} )
++install( FILES ksysguarddrc DESTINATION ${CONFIG_INSTALL_DIR} )
+ install( FILES ksysguard.notifyrc DESTINATION ${DATA_INSTALL_DIR}/ksysguard )
diff --git
a/source/kde4/kdebase-workspace/systemsettingsrc_use_config_install_dir.patch
b/source/kde4/kdebase-workspace/systemsettingsrc_use_config_install_dir.patch
new file mode 100644
index 0000000..ca8dc5c
--- /dev/null
+++
b/source/kde4/kdebase-workspace/systemsettingsrc_use_config_install_dir.patch
@@ -0,0 +1,13 @@
+Index: workspace/systemsettings/CMakeLists.txt
+===================================================================
+--- workspace/systemsettings/CMakeLists.txt (Revision 738900)
++++ workspace/systemsettings/CMakeLists.txt (Arbeitskopie)
+@@ -26,7 +26,7 @@
+ ########### install files ###############
+
+ install( FILES systemsettings.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+-install( FILES systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR} )
++install( FILES systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR} )
+ install( FILES systemsettingsui.rc DESTINATION
${DATA_INSTALL_DIR}/systemsettings )
+
+ kde4_install_icons( ${ICON_INSTALL_DIR} )
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git