From 712c81ecee4385ad00be97ee13ac20d923858bfd Mon Sep 17 00:00:00 2001 From: Christopher Reimer Date: Sun, 12 Sep 2010 11:29:41 -0500 Subject: [PATCH] desktop/kde44-oxygen-molecule: Added (KDE4-Oxygen GTK-Theme) Signed-off-by: Robby Workman --- desktop/kde44-oxygen-molecule/README | 4 + .../kde44-oxygen-molecule/README.SLACKWARE | 22 ++++++ .../kde44-oxygen-molecule.SlackBuild | 76 +++++++++++++++++++ .../kde44-oxygen-molecule.info | 10 +++ desktop/kde44-oxygen-molecule/slack-desc | 19 +++++ 5 files changed, 131 insertions(+) create mode 100644 desktop/kde44-oxygen-molecule/README create mode 100644 desktop/kde44-oxygen-molecule/README.SLACKWARE create mode 100644 desktop/kde44-oxygen-molecule/kde44-oxygen-molecule.SlackBuild create mode 100644 desktop/kde44-oxygen-molecule/kde44-oxygen-molecule.info create mode 100644 desktop/kde44-oxygen-molecule/slack-desc diff --git a/desktop/kde44-oxygen-molecule/README b/desktop/kde44-oxygen-molecule/README new file mode 100644 index 0000000000..5524b7cf7a --- /dev/null +++ b/desktop/kde44-oxygen-molecule/README @@ -0,0 +1,4 @@ +kde44-oxygen-molecule is a GTK-Theme. +It's designed to fit GTK-Apps better into the KDE/QT environment. + +See README.SLACKWARE for post-install setup information. diff --git a/desktop/kde44-oxygen-molecule/README.SLACKWARE b/desktop/kde44-oxygen-molecule/README.SLACKWARE new file mode 100644 index 0000000000..e06c55f7de --- /dev/null +++ b/desktop/kde44-oxygen-molecule/README.SLACKWARE @@ -0,0 +1,22 @@ +README.SLACKWARE for kde44-oxygen-molecule + +To use this theme you need to change some settings after installation. + +1. Remove gtk-qt-engine or gtk-kde4 +2. Go into KDE's system settings windows: + Appearance -> Colors and choose Oxygen-Molecule_3.0 +3. Select the Options Tab and uncheck "Apply colors to non-KDE4 applications" +4. Create a .gtkrc-2.0 file in your home directory +5. Copy this into the .gtkrc-2.0: + + include "/usr/share/themes/kde44-oxygen-molecule/gtk-2.0/gtkrc" + + style "user-font" + { + } + widget_class "*" style "user-font" + gtk-theme-name="kde44-oxygen-molecule" + gtk-font-name="Sans Serif 9" + +6. See the pdf / odt files in /usr/doc/kde44-oxygen-molecule-* for more info. + diff --git a/desktop/kde44-oxygen-molecule/kde44-oxygen-molecule.SlackBuild b/desktop/kde44-oxygen-molecule/kde44-oxygen-molecule.SlackBuild new file mode 100644 index 0000000000..40a6acdbeb --- /dev/null +++ b/desktop/kde44-oxygen-molecule/kde44-oxygen-molecule.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh + +# Slackware build script for kde44-oxygen-molecule + +# Written by Christopher Reimer (reimer.christopher@freenet.de) + +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=kde44-oxygen-molecule +VERSION=${VERSION:-3.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCPKG=103741-Oxygen-Molecule_"$VERSION"_theme + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM +mkdir $PRGNAM +cd $PRGNAM +tar -xvf $CWD/$SRCPKG.tar.gz +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# GTK-Theme +mkdir -p $PKG/usr/share/themes +tar xvf $PRGNAM.tar.gz -C $PKG/usr/share/themes +chown -R root:root $PKG/usr/share/themes + +# Mini-Script +mkdir -p $PKG/usr/bin +cp -a flatmolecule $PKG/usr/bin + +# KDE-Color-File +mkdir -p $PKG/usr/share/apps/color-schemes +cp -a Oxygen-Molecule_3.0.colors $PKG/usr/share/apps/color-schemes/ + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING *.pdf *.odt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/kde44-oxygen-molecule/kde44-oxygen-molecule.info b/desktop/kde44-oxygen-molecule/kde44-oxygen-molecule.info new file mode 100644 index 0000000000..74246c237e --- /dev/null +++ b/desktop/kde44-oxygen-molecule/kde44-oxygen-molecule.info @@ -0,0 +1,10 @@ +PRGNAM="kde44-oxygen-molecule" +VERSION="3.2" +HOMEPAGE="http://kde-look.org/content/show.php?content=103741" +DOWNLOAD="http://kde-look.org/CONTENT/content-files/103741-Oxygen-Molecule_3.2_theme.tar.gz" +MD5SUM="90e852de1ab202fa0dafb038b829846d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Christopher Reimer" +EMAIL="reimer.christopher@freenet.de" +APPROVED="rworkman" diff --git a/desktop/kde44-oxygen-molecule/slack-desc b/desktop/kde44-oxygen-molecule/slack-desc new file mode 100644 index 0000000000..0ddd30757f --- /dev/null +++ b/desktop/kde44-oxygen-molecule/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +kde44-oxygen-molecule: kde44-oxygen-molecule (KDE4-Oxygen GTK-Theme) +kde44-oxygen-molecule: +kde44-oxygen-molecule: Oxygen-Molecule is a theme for GTK+ applications to provide a +kde44-oxygen-molecule: uniform look when used under the KDE 4.4 desktop environment. +kde44-oxygen-molecule: +kde44-oxygen-molecule: Website: http://kde-look.org/content/show.php?content=103741 +kde44-oxygen-molecule: +kde44-oxygen-molecule: +kde44-oxygen-molecule: +kde44-oxygen-molecule: +kde44-oxygen-molecule: