Browse Source

xap/awesome: Upgraded to awesome-3.4.10.

slackware-14.2
Damien Goutte-Gattat 10 years ago
parent
commit
6f45903b9a
  1. 1
      xap/awesome/awesome-3.4.10.tar.bz2.sha1
  2. 20
      xap/awesome/awesome-3.4.9-cmake.patch
  3. 1
      xap/awesome/awesome-3.4.9.tar.bz2.sha1
  4. 10
      xap/awesome/awesome.SlackBuild
  5. 2
      xap/awesome/doinst.sh

1
xap/awesome/awesome-3.4.10.tar.bz2.sha1

@ -0,0 +1 @@
f3fb824623197aa70708c28ea3aa0c0665617016 awesome-3.4.10.tar.bz2

20
xap/awesome/awesome-3.4.9-cmake.patch

@ -1,20 +0,0 @@
diff -up awesome-3.4.9/CMakeLists.txt.orig awesome-3.4.9/CMakeLists.txt
--- awesome-3.4.9/CMakeLists.txt.orig 2011-01-17 12:38:13.000000000 +0100
+++ awesome-3.4.9/CMakeLists.txt 2011-02-21 16:13:02.000000000 +0100
@@ -274,14 +274,15 @@ endif()
# {{{ Theme icons
file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png)
-set(ALL_ICONS ${icon_sources})
foreach(icon ${icon_sources})
# Copy all icons to the build dir to simplify the following code.
# Source paths are interpreted relative to ${SOURCE_DIR}, target paths
# relative to ${BUILD_DIR}.
get_filename_component(icon_path ${icon} PATH)
+ get_filename_component(icon_name ${icon} NAME)
file(COPY ${icon} DESTINATION ${icon_path})
+ set(ALL_ICONS ${ALL_ICONS} "${icon_path}/${icon_name}")
endforeach()
macro(a_icon_convert match replacement input)

1
xap/awesome/awesome-3.4.9.tar.bz2.sha1

@ -1 +0,0 @@
8fba4bf2e272c21cf9d7f5f2269932a967fa733c awesome-3.4.9.tar.bz2

10
xap/awesome/awesome.SlackBuild

@ -33,13 +33,13 @@
# Source package infos
NAMESRC=${NAMESRC:-awesome}
VERSION=${VERSION:-3.4.9}
VERSION=${VERSION:-3.4.10}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://awesome.naquadah.org/download/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-awesome}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -75,9 +75,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Latest CMake fails to build awesome properly, see
# <https://awesome.naquadah.org/bugs/index.php?do=details&task_id=869>.
patch -p 1 < $CWD/awesome-3.4.9-cmake.patch
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
@ -95,6 +92,9 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
# Protect configuration file
mv $PKG/etc/xdg/awesome/rc.lua $PKG/etc/xdg/awesome/rc.lua.new
# Install docs forgotten by make install
install -m 644 ../PATCHES ../STYLE $PKG/usr/doc/$NAME
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh

2
xap/awesome/doinst.sh

@ -10,4 +10,4 @@ config()
fi
}
config /etc/xdg/awesome/rc.lua.new
config etc/xdg/awesome/rc.lua.new

Loading…
Cancel
Save