sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Eric Sandall (1dd9ed83c3e4a71989b94f502d3287eb4eedd7ec)
- From: Eric Sandall <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (1dd9ed83c3e4a71989b94f502d3287eb4eedd7ec)
- Date: Fri, 4 Apr 2008 14:28:58 -0500
GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:
ChangeLog | 4 +
kde4-look/FUNCTIONS | 53
+++++++++++++++++++
kde4-look/KDE_CONFIGURE | 2
kde4-look/KDE_DEPENDS | 49 +++++++++++++++++
kde4-look/plasmoid-coremoid/CONFIGURE | 1
kde4-look/plasmoid-coremoid/DEPENDS | 1
kde4-look/plasmoid-coremoid/DETAILS | 17 ++++++
kde4-look/plasmoid-coremoid/HISTORY | 3 +
kde4-look/plasmoid-coremoid/coremoid-0.3.tar.bz2.sig |binary
9 files changed, 130 insertions(+)
New commits:
commit 1dd9ed83c3e4a71989b94f502d3287eb4eedd7ec
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
plasmoid-coremoid: Added a KDE4 CPUFreq governor plasmoid
commit 54ff5cfc496393b1d6e0c2e9cabe859a1f279ead
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
kde4-look: Added a plasmoid section for KDE4
diff --git a/ChangeLog b/ChangeLog
index 255cc2f..fa92a68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-04 Eric Sandall <sandalle AT sourcemage.org>
+ * kde4-look: Added a kde4-look section
+ * kde4-look/plasmoid-coremoid: Added CPUFreq governor plasmoid
+
2008-04-04 Vlad Glagolev <stealth AT sourcemage.org>
* python-pypi/python-mpd: new spell, Python MPD client library
diff --git a/kde4-look/FUNCTIONS b/kde4-look/FUNCTIONS
new file mode 100755
index 0000000..80904c2
--- /dev/null
+++ b/kde4-look/FUNCTIONS
@@ -0,0 +1,53 @@
+prepare_environment() {
+ QTDIR="${QTDIR:-$INSTALL_ROOT/usr}" &&
+ PATH="$QTDIR/bin/qt4:$PATH" &&
+
+ persistent_add KDE4DIR &&
+ KDE4DIR="$INSTALL_ROOT/opt" &&
+
+ PATH="$KDE4DIR/bin:$PATH" &&
+ LD_LIBRARY_PATH="$KDE4DIR/lib:$LD_LIBRARY_PATH" &&
+ QT_PLUGIN_PATH="$KDE4DIR/lib/kde4/plugins"
+}
+
+default_build() {
+ prepare_environment &&
+
+ cd $SOURCE_DIRECTORY &&
+ mkdir -p build &&
+ cd build &&
+ cmake -DCMAKE_INSTALL_PREFIX="$KDE4DIR" \
+ -DCMAKE_BUILD_TYPE=$KDE_DEBUG_OPTION \
+ ../ &&
+ make
+}
+
+# kde4 also needs a special default_install,
+# to maintain some environment variables
+default_install() {
+ prepare_environment &&
+
+ cd $SOURCE_DIRECTORY/build &&
+ make install
+}
+
+
+# we need a default_final, default_post_remove
+# so that the mime and desktop databases get updated
+update_databases() {
+
+ source /etc/profile.d/strigi.sh
+ update-mime-database /opt/share/mime/
+ if [[ -e /opt/share/desktop-directories ]]; then
+ update-desktop-database /opt/share/desktop-directories
+ fi
+}
+
+default_final() {
+ update_databases
+}
+
+
+default_post_remove() {
+ update_databases
+}
diff --git a/kde4-look/KDE_CONFIGURE b/kde4-look/KDE_CONFIGURE
new file mode 100755
index 0000000..daee392
--- /dev/null
+++ b/kde4-look/KDE_CONFIGURE
@@ -0,0 +1,2 @@
+config_query_option KDE_DEBUG_OPTION 'Enable debug code?' n \
+ '' 'Release'
diff --git a/kde4-look/KDE_DEPENDS b/kde4-look/KDE_DEPENDS
new file mode 100755
index 0000000..008e12c
--- /dev/null
+++ b/kde4-look/KDE_DEPENDS
@@ -0,0 +1,49 @@
+source $GRIMOIRE/FUNCTIONS &&
+depends g++ &&
+depends cmake &&
+case $SPELL in
+ kdelibs4) depends -sub "DBUS SSL OPENGL QT3" qt4 &&
+ if check_if_xorg_modular_libs qt4 ; then
+ depends iceauth &&
+ depends libice &&
+ depends libsm &&
+ depends libxtst &&
+ depends libxext
+ fi &&
+ depends desktop-file-utils &&
+ depends dbus &&
+ depends hal &&
+ depends pkgconfig &&
+ depends openssl &&
+ depends strigi &&
+ sub_depends strigi QT4 &&
+ depends shared-mime-info &&
+ depends perl &&
+ depends libpng &&
+ depends libxml2 &&
+ depends libxslt &&
+ depends LIBGIF
+ ;;
+
+ kdepimlibs4) depends kdelibs4 &&
+ depends gpgme &&
+ depends libgpg-error &&
+ depends boost
+ ;;
+
+ kdebase4-runtime)
+ depends kdelibs4
+ ;;
+
+ kdebase-workspace4)
+ depends kdebase4-runtime &&
+ depends X11-SERVER
+ ;;
+
+ plasma) depends kdebase-workspace4
+ ;;
+
+ *) depends kdebase4-runtime &&
+ optional_depends kdebase-workspace4 '' '' 'kde desktop'
+ ;;
+esac
diff --git a/kde4-look/plasmoid-coremoid/CONFIGURE
b/kde4-look/plasmoid-coremoid/CONFIGURE
new file mode 100755
index 0000000..3e2e1ef
--- /dev/null
+++ b/kde4-look/plasmoid-coremoid/CONFIGURE
@@ -0,0 +1 @@
+source $SECTION_DIRECTORY/KDE_CONFIGURE
diff --git a/kde4-look/plasmoid-coremoid/DEPENDS
b/kde4-look/plasmoid-coremoid/DEPENDS
new file mode 100755
index 0000000..b4b4f02
--- /dev/null
+++ b/kde4-look/plasmoid-coremoid/DEPENDS
@@ -0,0 +1 @@
+source $SECTION_DIRECTORY/KDE_DEPENDS
diff --git a/kde4-look/plasmoid-coremoid/DETAILS
b/kde4-look/plasmoid-coremoid/DETAILS
new file mode 100755
index 0000000..559e0f8
--- /dev/null
+++ b/kde4-look/plasmoid-coremoid/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=plasmoid-coremoid
+ VERSION=0.3
+ SOURCE=${SPELL/plasmoid-/}-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL/plasmoid-/}-$VERSION
+ SOURCE_URL[0]=http://www.hirnfrei.org/~joerg/coremoid/$SOURCE
+ SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"
+ LICENSE[0]=GPL
+ WEB_SITE=http://kde-look.org/content/show.php/CoreMoid?content=72789
+ KEYWORDS="kde4"
+ ENTERED=20080404
+ SHORT="CPUFreq governor plasmoid"
+cat << EOF
+A simple but usefull plasmoid to set cpufreq governor, display the usage and
on
+dynamic governors it display the current clock rate. The applet use DBus to
+interact with the cpufreq subsystem. This version only runs on multi core/cpu
+systems.
+EOF
diff --git a/kde4-look/plasmoid-coremoid/HISTORY
b/kde4-look/plasmoid-coremoid/HISTORY
new file mode 100644
index 0000000..7a2febf
--- /dev/null
+++ b/kde4-look/plasmoid-coremoid/HISTORY
@@ -0,0 +1,3 @@
+2008-04-04 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS, DEPENDS: Created
+
diff --git a/kde4-look/plasmoid-coremoid/coremoid-0.3.tar.bz2.sig
b/kde4-look/plasmoid-coremoid/coremoid-0.3.tar.bz2.sig
new file mode 100644
index 0000000..d41dee4
Binary files /dev/null and
b/kde4-look/plasmoid-coremoid/coremoid-0.3.tar.bz2.sig differ
- [SM-Commit] GIT changes to master grimoire by Eric Sandall (1dd9ed83c3e4a71989b94f502d3287eb4eedd7ec), Eric Sandall, 04/04/2008
Archive powered by MHonArc 2.6.24.