wok-next rev 16697
Add: lgi; awesome: fix receipt.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 23 18:46:34 2014 +0300 (2014-05-23) |
parents | 4a1d91f55e37 |
children | ef46152045ad |
files | awesome/receipt awesome/stuff/0001-Normalize-icon-path-names-fixes-869.patch lgi/receipt |
line diff
1.1 --- a/awesome/receipt Fri May 23 12:33:39 2014 +0300 1.2 +++ b/awesome/receipt Fri May 23 18:46:34 2014 +0300 1.3 @@ -3,30 +3,29 @@ 1.4 PACKAGE="awesome" 1.5 VERSION="3.5.1" 1.6 CATEGORY="x-window" 1.7 -SHORT_DESC="awesome is a highly configurable, next generation framework window manager for X." 1.8 +SHORT_DESC="Highly configurable framework window manager" 1.9 MAINTAINER="mallory@sweetpeople.org" 1.10 LICENSE="GPL2" 1.11 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.12 -WEB_SITE="http://awesome.naquadah.org" 1.13 -WGET_URL="$WEB_SITE/download/$TARBALL" 1.14 +WEB_SITE="http://awesome.naquadah.org/" 1.15 +WGET_URL="${WEB_SITE}download/$TARBALL" 1.16 TAGS="window-manager wm" 1.17 1.18 -DEPENDS="xorg-libX11 libxcb xcb-util xcb-util-keysyms xcb-util-image xcb-util-wm \ 1.19 -lua pango cairo imlib2 dbus libev libxdg-basedir startup-notification \ 1.20 -freetype fontconfig libpng libxdg-basedir" 1.21 -BUILD_DEPENDS="cmake xorg-libX11-dev libxcb-dev xcb-util-dev xcb-util-keysyms-dev \ 1.22 -xcb-util-image-dev xcb-util-wm-dev lua-dev pango-dev cairo-dev imlib2-dev \ 1.23 -dbus-dev libev-dev gperf cairo libxdg-basedir-dev startup-notification-dev \ 1.24 -imagemagick pkg-config freetype-dev fontconfig-dev libpng-dev libxdg-basedir-dev \ 1.25 -openexr libltdl gdk-pixbuf-dev" 1.26 +DEPENDS="cairo dbus gdk-pixbuf libxdg-basedir lgi lua startup-notification \ 1.27 +xcb-util-image xcb-util-keysyms xcb-util-wm xorg-libXcursor" 1.28 +BUILD_DEPENDS="cmake xorg-libX11-dev libxcb-dev xcb-util-dev \ 1.29 +xcb-util-keysyms-dev xcb-util-image-dev xcb-util-wm-dev lua-dev pango-dev \ 1.30 +cairo-dev imlib2-dev dbus-dev libev-dev gperf cairo libxdg-basedir-dev \ 1.31 +startup-notification-dev imagemagick pkg-config freetype-dev fontconfig-dev \ 1.32 +libpng-dev libxdg-basedir-dev openexr libltdl gdk-pixbuf-dev \ 1.33 +xorg-libXcursor-dev lgi" 1.34 1.35 # Rules to configure and make the package. 1.36 compile_rules() 1.37 { 1.38 - cd $src 1.39 export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl" 1.40 - export AWESOME_IGNORE_LGI=1 1.41 - make CMAKE_ARGS=" -DPREFIX=/usr -DXDG_CONFIG_DIR=/etc/xdg \ 1.42 + make CMAKE_ARGS=" -DCMAKE_INSTALL_PREFIX:PATH=/usr \ 1.43 + -DXDG_CONFIG_DIR=/etc/xdg \ 1.44 -DCMAKE_BUILD_TYPE=RELEASE" && 1.45 make install 1.46 } 1.47 @@ -34,11 +33,16 @@ 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 genpkg_rules() 1.50 { 1.51 - mkdir -p $fs/etc 1.52 - cp -a $install/etc $fs/ 1.53 - mkdir -p $fs/usr 1.54 - cp -a $install/usr/local/bin $fs/usr 1.55 - cp -a $install/usr/local/share $fs/usr 1.56 + cp -a $install/* $fs 1.57 + 1.58 + # move lua scripts to lua directory 1.59 + mkdir -p $fs/usr/share/lua 1.60 + mv $fs/usr/share/awesome/lib $fs/usr/share/lua/5.2 1.61 + 1.62 + # add pango typelibs 1.63 + # (not need to install pango-dev with full stack of dev packages) 1.64 + mkdir -p $fs/usr/lib 1.65 + cp -a $WOK/pango/install/usr/lib/girepository-1.0 $fs/usr/lib 1.66 } 1.67 1.68 post_install() 1.69 @@ -59,4 +63,3 @@ 1.70 sed -i s/,$PACKAGE// $1/etc/slim.conf 1.71 fi 1.72 } 1.73 -
2.1 --- a/awesome/stuff/0001-Normalize-icon-path-names-fixes-869.patch Fri May 23 12:33:39 2014 +0300 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,40 +0,0 @@ 2.4 -From 1aedd853fcaeeafadd24512f84e6e269f5db0b4e Mon Sep 17 00:00:00 2001 2.5 -From: Thomas Moschny <thomas.moschny@gmx.de> 2.6 -Date: Mon, 21 Feb 2011 17:58:04 +0100 2.7 -Subject: [PATCH] Normalize icon path names (fixes #869). 2.8 - 2.9 -The elements in ${icon_sources}, as returned by file(GLOB ...) contain 2.10 -double slashes, could be a bug in cmake. This causes building with 2.11 -cmake 2.8.4 to fail, due to dependency problems lateron. 2.12 - 2.13 -This patch works around the issue by normalizing all path names in 2.14 -${icon_sources} while appending them to ${ALL_ICONS}, thereby removing 2.15 -the double slashes. 2.16 ---- 2.17 - CMakeLists.txt | 3 ++- 2.18 - 1 files changed, 2 insertions(+), 1 deletions(-) 2.19 - 2.20 -diff --git a/CMakeLists.txt b/CMakeLists.txt 2.21 -index 64be9b9..472bec2 100644 2.22 ---- a/CMakeLists.txt 2.23 -+++ b/CMakeLists.txt 2.24 -@@ -244,14 +244,15 @@ endif() 2.25 - 2.26 - # {{{ Theme icons 2.27 - file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png) 2.28 --set(ALL_ICONS ${icon_sources}) 2.29 - 2.30 - foreach(icon ${icon_sources}) 2.31 - # Copy all icons to the build dir to simplify the following code. 2.32 - # Source paths are interpreted relative to ${SOURCE_DIR}, target paths 2.33 - # relative to ${BUILD_DIR}. 2.34 - get_filename_component(icon_path ${icon} PATH) 2.35 -+ get_filename_component(icon_name ${icon} NAME) 2.36 - file(COPY ${icon} DESTINATION ${icon_path}) 2.37 -+ set(ALL_ICONS ${ALL_ICONS} "${icon_path}/${icon_name}") 2.38 - endforeach() 2.39 - 2.40 - macro(a_icon_convert match replacement input) 2.41 --- 2.42 -1.7.3.4 2.43 -
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/lgi/receipt Fri May 23 18:46:34 2014 +0300 3.3 @@ -0,0 +1,32 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="lgi" 3.7 +VERSION="0.7.2" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="Dynamic Lua binding to GObject libraries using GObject-Introspection" 3.10 +MAINTAINER="al.bobylev@gmail.com" 3.11 +LICENSE="MIT" 3.12 +WEB_SITE="https://github.com/pavouk/lgi" 3.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.14 +WGET_URL="https://github.com/pavouk/lgi/archive/$VERSION.tar.gz" 3.15 + 3.16 +DEPENDS="glib gobject-introspection lua" 3.17 +BUILD_DEPENDS="gobject-introspection-dev lua-dev wget" 3.18 +# add "cairo-dev gtk+-dev" for `make check` 3.19 + 3.20 +# Rules to configure and make the package. 3.21 +compile_rules() 3.22 +{ 3.23 + # fix paths 3.24 + sed -i 's|/usr/local|/usr|g;s|5.1|5.2|g;s|51|52|g' \ 3.25 + $src/lgi/Makefile $src/lgi/core.lua $src/lgi/core.c 3.26 + # `make check` after `make` produces error 3.27 + make && 3.28 + make PREFIX=/usr DESTDIR=$install install 3.29 +} 3.30 + 3.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.32 +genpkg_rules() 3.33 +{ 3.34 + cp -a $install/* $fs 3.35 +}