From 25350f371cd8c150f349860a0d5a76d0a208199a Mon Sep 17 00:00:00 2001 From: M.Dinslage Date: Sat, 30 Jul 2016 06:39:48 +0700 Subject: desktop/emerald: Updated for version 0.8.12.4. Signed-off-by: Willy Sudiarto Raharjo --- desktop/emerald/README | 30 ++++++++++++++---------- desktop/emerald/README.Slackware | 46 +++++++++++++++++++++++++++++++++++++ desktop/emerald/emerald.SlackBuild | 47 +++++++++++++++++++++++--------------- desktop/emerald/emerald.info | 8 +++---- 4 files changed, 97 insertions(+), 34 deletions(-) create mode 100644 desktop/emerald/README.Slackware (limited to 'desktop/emerald') diff --git a/desktop/emerald/README b/desktop/emerald/README index 974dc7cb0e..96427bd26a 100644 --- a/desktop/emerald/README +++ b/desktop/emerald/README @@ -2,16 +2,22 @@ The Emerald Window Decorator is a custom window decorator shipped with Compiz Fusion that allows for theming and full composite window decorations with the use of engines. +PLEASE read the README.Slackware file BEFORE you install any of the +compiz packages. The install order is listed below but there are +some important notes you need to be aware of before you install/use +compiz. + For correct installation, build in this order: - 1. compiz-bcop - 2. protobuf (optional but recommended) - 3. libcompizconfig - 4. compizconfig-python - 5. compizconfig-backend-kconfig4 (optional) - 6. ccsm - 7. compiz-plugins-main - 8. compiz-plugins-extra (optional) - 9. compiz-plugins-unsupported (optional) -10. emerald (optional) -11. emerald-themes (optional) -12. fusion-icon (optional) + 1. compiz (not available at SBo, see the README.Slackware file) + 2. compiz-bcop + 3. protobuf (optional but recommended) + 4. libcompizconfig + 5. compiz (optional, see the README.Slackware file) + 6. compizconfig-python + 7. ccsm + 8. compiz-plugins-main + 9. compiz-plugins-extra (optional) +10. compiz-plugins-experimental (optional) +11. emerald (optional) +12. emerald-themes (optional) +13. fusion-icon (optional) diff --git a/desktop/emerald/README.Slackware b/desktop/emerald/README.Slackware new file mode 100644 index 0000000000..d44e53ef41 --- /dev/null +++ b/desktop/emerald/README.Slackware @@ -0,0 +1,46 @@ +1) Slackware still ships the old 0.8.8 release of compiz that was + released back in 2011. The project has recently been picked up + and is being actively maintained by the compiz-reloaded team. + You can still use the 0.8.8 version of the compiz that ships + with Slackware with the companion packages since there has not been + any ABI changes to the code. But there is a good chance you will run + into stabilty issues if you do, so it is HIGHLY recommended you use + the version of compiz that matches the companion packages. Because + you will be replacing a stock Slackware package the SlackBuild is + not hosted at www.slackbuilds.org. You can download the SlackBuild + from the link below. + + https://dl.dropboxusercontent.com/u/85079539/compiz-0.8.12.3-SlackBuild.tar.gz + + This SlackBuild is based off the 14.2 stock Slackware SlackBuild so you + shouldn't run into any problems. If you do use this version of compiz you + will need to blacklist compiz in your /etc/slackpkg/blacklist file to keep + slackpkg from reverting the package back to 0.8.8 + +2) Compiz now has basic support for the MATE desktop. You will have to install + MATE before you install compiz for support. The MATE slackware project + website is located here https://mateslackbuilds.github.io/ + +3) The compizconfig-backend-kconfig4 package has been removed from the + project so if you are upgrading from a previous version you will want + to remove this package. Also compiz-plugins-unsupported has now been + renamed to compiz-plugins-experimental so you will need to remove + compiz-plugins-unsupported before you upgrade to the newest packages. + +4) The install order has compiz listed twice. libcompizconfig depends + on compiz, but compiz has some extra window decorator related features + that depend on libcompizconfig. So if you want these extra features you + will have to recompile compiz again AFTER you build and install + libcompizconfig. This is not required it is just an option if you want + to do it. + +5) After you install compiz and the companion packages you will need to + launch CCSM and enable "Move", "Resize Window", and "Window Decorations" + before you start compiz. This way you can manage your windows. After + you enable those three options you can start compiz and customize to + your liking. + + + + + diff --git a/desktop/emerald/emerald.SlackBuild b/desktop/emerald/emerald.SlackBuild index f21aa60a86..adfa41a15c 100644 --- a/desktop/emerald/emerald.SlackBuild +++ b/desktop/emerald/emerald.SlackBuild @@ -2,10 +2,28 @@ # Slackware build script for emerald -# Written by M.Dinslage (daedra1980@gmail.com) +# Copyright 2016 Matt Dinslage, Springfield, MO +# All rights reserved. +# +# 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=emerald -VERSION=${VERSION:-0.8.10} +VERSION=${VERSION:-0.8.12.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -24,16 +42,16 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" - SLKLDFLAGS=""; LIBDIRSUFFIX="" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - SLKLDFLAGS=""; LIBDIRSUFFIX="" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - SLKLDFLAGS=""; LIBDIRSUFFIX="" + LIBDIRSUFFIX="" fi set -e @@ -41,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM -tar xvf $CWD/$PRGNAM.tar.gz -cd $PRGNAM +rm -rf $PRGNAM-$VERSION +tar -xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -51,16 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -./autogen.sh - -# Fix hardcoded checks for pango and cairo -if [ "$ARCH" = "x86_64" ]; then - sed -i 's,/lib/pkgconfig,/lib64/pkgconfig,g' configure -fi - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -LDFLAGS="$SLKLDFLAGS -ldl -lm" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -68,6 +78,7 @@ LDFLAGS="$SLKLDFLAGS -ldl -lm" \ --localstatedir=/var \ --mandir=/usr/man \ --enable-static=no \ + --with-gtk=2.0 \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux @@ -81,7 +92,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/desktop/emerald/emerald.info b/desktop/emerald/emerald.info index ca6c0fac0d..160c594af4 100644 --- a/desktop/emerald/emerald.info +++ b/desktop/emerald/emerald.info @@ -1,8 +1,8 @@ PRGNAM="emerald" -VERSION="0.8.10" -HOMEPAGE="http://www.compiz.org" -DOWNLOAD="http://www.northfield.ws/projects/compiz/releases/0.8.10/emerald.tar.gz" -MD5SUM="17910144838e1d306703c0b34bf807ac" +VERSION="0.8.12.4" +HOMEPAGE="https://github.com/raveit65/emerald" +DOWNLOAD="https://github.com/compiz-reloaded/emerald/releases/download/v0.8.12.4/emerald-0.8.12.4.tar.xz" +MD5SUM="8c4250a764fc419ed56785342891d3fc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ccsm" -- cgit v1.2.3