From a6fa576dedcdbe7564bf365e26ef193ce2989c81 Mon Sep 17 00:00:00 2001 From: "M.Dinslage" Date: Sun, 25 Jul 2021 20:23:01 -0500 Subject: libraries/compizconfig-python: Updated for version 0.8.18. Signed-off-by: Robby Workman --- libraries/compizconfig-python/README | 29 ++++++-------- libraries/compizconfig-python/README.Slackware | 46 ---------------------- .../compizconfig-python.SlackBuild | 8 +++- .../compizconfig-python/compizconfig-python.info | 8 ++-- 4 files changed, 21 insertions(+), 70 deletions(-) delete mode 100644 libraries/compizconfig-python/README.Slackware (limited to 'libraries/compizconfig-python') diff --git a/libraries/compizconfig-python/README b/libraries/compizconfig-python/README index 365b071e3f..662d585fb1 100644 --- a/libraries/compizconfig-python/README +++ b/libraries/compizconfig-python/README @@ -1,21 +1,14 @@ Python bindings for the compizconfig library. -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 (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) +compiz-bcop +protobuf3 (optional but recommended) +libcompizconfig +compizconfig-python +ccsm +compiz-plugins-main +compiz-plugins-extra (optional) +compiz-plugins-experimental (optional) +emerald (optional) +emerald-themes (optional) +fusion-icon (optional) diff --git a/libraries/compizconfig-python/README.Slackware b/libraries/compizconfig-python/README.Slackware deleted file mode 100644 index cb4f9f8c01..0000000000 --- a/libraries/compizconfig-python/README.Slackware +++ /dev/null @@ -1,46 +0,0 @@ -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://www.dropbox.com/s/t08cb1u00he4cyo/compiz-0.8.14-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/libraries/compizconfig-python/compizconfig-python.SlackBuild b/libraries/compizconfig-python/compizconfig-python.SlackBuild index 2a89640161..f8f7f7ad33 100644 --- a/libraries/compizconfig-python/compizconfig-python.SlackBuild +++ b/libraries/compizconfig-python/compizconfig-python.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for compizconfig-python -# Copyright 2016 Matt Dinslage, Springfield, MO +# Copyright 2021 Matt Dinslage, Springfield, MO # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=compizconfig-python -VERSION=${VERSION:-0.8.14} +VERSION=${VERSION:-0.8.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,7 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +PYTHON=python3 \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -93,6 +94,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# Don't ship .la files: +find $PKG -type f -iname '*.la' -exec rm -rf {} \; + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/libraries/compizconfig-python/compizconfig-python.info b/libraries/compizconfig-python/compizconfig-python.info index a2903e2e27..949b7d931f 100644 --- a/libraries/compizconfig-python/compizconfig-python.info +++ b/libraries/compizconfig-python/compizconfig-python.info @@ -1,8 +1,8 @@ PRGNAM="compizconfig-python" -VERSION="0.8.14" -HOMEPAGE="https://github.com/raveit65/compizconfig-python" -DOWNLOAD="https://github.com/compiz-reloaded/compizconfig-python/releases/download/v0.8.14/compizconfig-python-0.8.14.tar.xz" -MD5SUM="27ed8f37c0b5db6c9b32fa94c829ba72" +VERSION="0.8.18" +HOMEPAGE="https://github.com/compiz-reloaded/compizconfig-python" +DOWNLOAD="http://www.northfield.ws/projects/compiz/releases/0.8.18/compizconfig-python-0.8.18.tar.xz" +MD5SUM="3a1681e098c784c52a08daafaa626b14" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libcompizconfig" -- cgit v1.2.3-65-gdbad