xap/awesome: Updated for Slackware-13.37.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent 137f5fe908
commit 79dcb73ced
  1. 20
      xap/awesome/awesome-3.4.9-cmake.patch
  2. 13
      xap/awesome/awesome.SlackBuild

@ -0,0 +1,20 @@
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)

@ -25,7 +25,11 @@
# Latest awesome sourcecode is available at:
# <http://awesome.naquadah.org/>.
#
# Depends: l/cairo, l/libev, l/libxdg-basedir, d/lua
# Note: Awesome depends on the XCB backend of cairo, not built
# in the default l/cairo package; rebuild this package
# using Patrick's SlackBuild with --enable-xcb option.
#
# Depends: l/cairo, l/imlib2, l/libev, l/libxdg-basedir, d/lua
# Source package infos
NAMESRC=${NAMESRC:-awesome}
@ -35,8 +39,8 @@ WGET=${WGET:-http://awesome.naquadah.org/download/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-awesome}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i?86$/i486/;s/^arm.*/arm/')}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -71,6 +75,9 @@ 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 \

Loading…
Cancel
Save