wok-6.x rev 16169
ARM: add tint2 and wbar2 for a nice OpenBox desktop
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 30 00:47:31 2014 +0100 (2014-03-30) |
parents | 68f00cd672fd |
children | 0da0825d8092 |
files | openbox/receipt tint2/receipt wbar2/receipt wbar2/stuff/wbar-arm.cfg |
line diff
1.1 --- a/openbox/receipt Sat Mar 29 23:45:46 2014 +0100 1.2 +++ b/openbox/receipt Sun Mar 30 00:47:31 2014 +0100 1.3 @@ -12,7 +12,7 @@ 1.4 TAGS="window-manager wm" 1.5 HOST_ARCH="i486 arm" 1.6 1.7 -SUGGESTED="obconf spacefm pcmanfm hsetroot conky" 1.8 +SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky" 1.9 DEPENDS="pango glib xorg-libX11 fontconfig freetype xorg-libXrandr \ 1.10 xorg-libXft xorg-libXinerama xorg-libXcursor libxml2 slitaz-configs" 1.11 BUILD_DEPENDS=" pango-dev glib-dev xorg-libXft-dev util-linux-uuid-dev \ 1.12 @@ -21,6 +21,7 @@ 1.13 # Handle slitaz arch: /etc/slitaz/slitaz.conf 1.14 case "$SLITAZ_ARCH" in 1.15 i?86) DEPENDS="$DEPENDS startup-notification" ;; 1.16 + arm*) DEPENDS="$DEPENDS hsetroot tint2" ;; 1.17 esac 1.18 1.19 # Handle cross compilation
2.1 --- a/tint2/receipt Sat Mar 29 23:45:46 2014 +0100 2.2 +++ b/tint2/receipt Sun Mar 30 00:47:31 2014 +0100 2.3 @@ -11,19 +11,26 @@ 2.4 WGET_URL="$WEB_SITE/$TARBALL" 2.5 CONFIG_FILES="/etc/xdg/tint2/tint2rc" 2.6 TAGS="desktop panel taskbar" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype" 2.10 -BUILD_DEPENDS="pygtk-dev cmake pkg-config imlib2-dev xcb-util-dev" 2.11 +BUILD_DEPENDS="cairo-dev pango-dev glib-dev imlib2-dev xorg-libXinerama-dev \ 2.12 +xcb-util-dev freetype-dev" 2.13 + 2.14 +# Handle cross compilation 2.15 +case "$ARCH" in 2.16 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS pygtk-dev cmake pkg-config" ;; 2.17 + arm*) ARCH_ARGS="-DENABLE_TINT2CONF=OFF" ;; 2.18 +esac 2.19 2.20 # Rules to configure and make the package. 2.21 compile_rules() 2.22 { 2.23 - cd $src 2.24 - [ -d build ] || mkdir build 2.25 - cd build 2.26 - cmake -DCMAKE_INSTALL_PREFIX=/usr ../ && 2.27 - make && 2.28 - make DESTDIR=$DESTDIR install 2.29 + mkdir build && cd build 2.30 + cmake \ 2.31 + -DCMAKE_INSTALL_PREFIX=/usr \ 2.32 + $ARCH_ARGS .. && 2.33 + make && make install 2.34 } 2.35 2.36 # Rules to gen a SliTaz package suitable for Tazpkg.
3.1 --- a/wbar2/receipt Sat Mar 29 23:45:46 2014 +0100 3.2 +++ b/wbar2/receipt Sun Mar 30 00:47:31 2014 +0100 3.3 @@ -12,16 +12,24 @@ 3.4 WGET_URL="http://wbar.googlecode.com/files/$TARBALL" 3.5 CONFIG_FILES="/etc/default/wbar/wbar.cfg" 3.6 TAGS="desktop launchbar" 3.7 +HOST_ARCH="i486 arm" 3.8 3.9 -DEPENDS="ttf-dejavu imlib2 libglade gtk+" 3.10 -BUILD_DEPENDS="intltool imlib2-dev libglade-dev" 3.11 +DEPENDS="ttf-dejavu imlib2 gtk+ libglade" 3.12 +BUILD_DEPENDS="imlib2-dev" 3.13 + 3.14 +# Handle cross compilation 3.15 +case "$ARCH" in 3.16 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS gtk+-dev libglade-dev intltool" ;; 3.17 + arm*) ARCH_ARGS="--disable-wbar-config" ;; 3.18 +esac 3.19 3.20 # Rules to configure and make the package. 3.21 compile_rules() 3.22 { 3.23 - cd $src 3.24 - ./configure --exec-prefix=/usr \ 3.25 - --sysconfdir=/etc && 3.26 + ./configure \ 3.27 + --exec-prefix=/usr \ 3.28 + --sysconfdir=/etc \ 3.29 + $CONFIGURE_ARGS ${ARCH_ARGS} && 3.30 make && make install 3.31 } 3.32 3.33 @@ -29,12 +37,13 @@ 3.34 genpkg_rules() 3.35 { 3.36 mkdir -p $fs/usr/share $fs/usr/share/applications 3.37 - 3.38 cp -a $install/usr/bin $fs/usr 3.39 - cp -a $install/etc $fs/ 3.40 - cp -a $stuff/wbar.cfg $fs/etc/wbar.d 3.41 + cp -a $install/etc $fs 3.42 cp -a $install/usr/share/pixmaps $fs/usr/share 3.43 cp -a $install/usr/share/wbar $fs/usr/share 3.44 - 3.45 mv $fs/etc/wbar.d/wbar.desktop $fs/usr/share/applications 3.46 + case "$ARCH" in 3.47 + i?86) cp -a $stuff/wbar.cfg $fs/etc/wbar.d ;; 3.48 + arm*) cp -a $stuff/wbar-arm.cfg $fs/etc/wbar.d/wbar.cfg ;; 3.49 + esac 3.50 }
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/wbar2/stuff/wbar-arm.cfg Sun Mar 30 00:47:31 2014 +0100 4.3 @@ -0,0 +1,23 @@ 4.4 +adzi: /usr/share/pixmaps/wbar/dock.png 4.5 +c: wbar --bpress --above-desk --pos top --isize 32 --idist 12 --nanim 3 --zoomf 1.8 --jumpf 1.00 --balfa 0 --falfa 100 --nofont 4.6 +t: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold/10 4.7 + 4.8 +i: /usr/share/pixmaps/slitaz-icon.png 4.9 +c: terminal -e 'slitaz-config' 4.10 +t: SliTaz Config 4.11 + 4.12 +i: /usr/share/pixmaps/links.xpm 4.13 +c: links -g /usr/share/webhome/index.html 4.14 +t: Web Browser 4.15 + 4.16 +i: /usr/share/pixmaps/xterm.png 4.17 +c: xterm 4.18 +t: Terminal Emulator 4.19 + 4.20 +i: /usr/share/pixmaps/file-manager.png 4.21 +c: PathFinder 4.22 +t: Files Manager 4.23 + 4.24 +i: /usr/share/pixmaps/adie.png 4.25 +c: adie 4.26 +t: Text Editor