wok rev 18538
Up tint2(0.12.2) -- sorry, I don't know how to handle arm arch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 02 18:24:30 2015 +0200 (2015-11-02) |
parents | bb3ad5d937fc |
children | ef147b8cd509 |
files | tint2/description.txt tint2/receipt tint2/stuff/get_version.sh tint2/stuff/tint2rc |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tint2/description.txt Mon Nov 02 18:24:30 2015 +0200 1.3 @@ -0,0 +1,23 @@ 1.4 +tint2 is a simple panel/taskbar made for modern X window managers. It was 1.5 +specifically made for Openbox but it should also work with other window managers 1.6 +(GNOME, KDE, XFCE etc.). It is based on ttm <http://code.google.com/p/ttm/>. 1.7 + 1.8 +Features 1.9 +-------- 1.10 + 1.11 + * Panel with taskbar, system tray, clock and launcher icons; 1.12 + * Easy to customize: color/transparency on fonts, icons, borders and 1.13 + backgrounds; 1.14 + * Pager like capability: move tasks between workspaces (virtual desktops), 1.15 + switch between workspaces; 1.16 + * Multi-monitor capability: create one panel per monitor, showing only the 1.17 + tasks from the current monitor; 1.18 + * Customizable mouse events. 1.19 + 1.20 +Goals 1.21 +----- 1.22 + 1.23 + * Be unintrusive and light (in terms of memory, CPU and aesthetic); 1.24 + * Follow the freedesktop.org specifications; 1.25 + * Make certain workflows, such as multi-desktop and multi-monitor, easy 1.26 + to use.
2.1 --- a/tint2/receipt Mon Nov 02 12:40:01 2015 +0100 2.2 +++ b/tint2/receipt Mon Nov 02 18:24:30 2015 +0200 2.3 @@ -1,42 +1,42 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="tint2" 2.7 -VERSION="0.11" 2.8 +VERSION="0.12.2" 2.9 CATEGORY="misc" 2.10 -SHORT_DESC="taskbar and panel" 2.11 +SHORT_DESC="Lightweight panel/taskbar for Linux" 2.12 MAINTAINER="jozee@slitaz.org" 2.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 LICENSE="GPL2" 2.15 -WEB_SITE="http://tint2.googlecode.com/files/" 2.16 -WGET_URL="$WEB_SITE/$TARBALL" 2.17 +WEB_SITE="https://gitlab.com/o9000/tint2" 2.18 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.19 +WGET_URL="$WEB_SITE/repository/archive.tar.gz?ref=$VERSION" 2.20 +BRANCH="$VERSION" 2.21 CONFIG_FILES="/etc/xdg/tint2/tint2rc" 2.22 TAGS="desktop panel taskbar" 2.23 -HOST_ARCH="i486 arm" 2.24 +#HOST_ARCH="i486 arm" 2.25 2.26 -DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype" 2.27 -BUILD_DEPENDS="cairo-dev pango-dev glib-dev imlib2-dev xorg-libXinerama-dev \ 2.28 -xcb-util-dev freetype-dev" 2.29 - 2.30 -# Handle cross compilation 2.31 -case "$ARCH" in 2.32 - i?86) BUILD_DEPENDS="$BUILD_DEPENDS pygtk-dev cmake pkg-config" ;; 2.33 - arm*) ARCH_ARGS="-DENABLE_TINT2CONF=OFF" ;; 2.34 -esac 2.35 +DEPENDS="gtk+ imlib2 librsvg startup-notification" 2.36 +BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \ 2.37 +librsvg-dev" 2.38 2.39 # Rules to configure and make the package. 2.40 compile_rules() 2.41 { 2.42 - mkdir build && cd build 2.43 - cmake \ 2.44 + cp -af $stuff/get_version.sh $src 2.45 + export VERSION 2.46 + 2.47 + mkdir build && cd build && 2.48 + cmake \ 2.49 -DCMAKE_INSTALL_PREFIX=/usr \ 2.50 $ARCH_ARGS .. && 2.51 - make && make install 2.52 + make && make install 2.53 } 2.54 2.55 # Rules to gen a SliTaz package suitable for Tazpkg. 2.56 genpkg_rules() 2.57 { 2.58 - mkdir -p $fs/usr 2.59 - cp -a $install/etc $fs 2.60 - cp -a $install/usr/bin $fs/usr 2.61 + cp -a $install/* $fs 2.62 + # Use custom configured theme instead 2.63 + cp -f $stuff/tint2rc $fs/etc/xdg/tint2/tint2rc 2.64 + 2.65 + rm -r $fs/usr/share/doc $fs/usr/share/locale $fs/usr/share/man 2.66 }
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/tint2/stuff/get_version.sh Mon Nov 02 18:24:30 2015 +0200 3.3 @@ -0,0 +1,4 @@ 3.4 +#!/bin/sh 3.5 + 3.6 +echo '#define VERSION_STRING "'$VERSION'"' > version.h 3.7 +echo $VERSION
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/tint2/stuff/tint2rc Mon Nov 02 18:24:30 2015 +0200 4.3 @@ -0,0 +1,172 @@ 4.4 +#---- Generated by tint2conf 6ddd ---- 4.5 +# See https://gitlab.com/o9000/tint2/wikis/Configure for 4.6 +# full documentation of the configuration options. 4.7 +#------------------------------------- 4.8 +# Backgrounds 4.9 +# Background 1 4.10 +rounded = 2 4.11 +border_width = 0 4.12 +background_color = #000000 46 4.13 +border_color = #000000 0 4.14 + 4.15 +# Background 2 4.16 +rounded = 2 4.17 +border_width = 0 4.18 +background_color = #000000 89 4.19 +border_color = #000000 0 4.20 + 4.21 +# Background 3 4.22 +rounded = 3 4.23 +border_width = 0 4.24 +background_color = #555555 29 4.25 +border_color = #000000 27 4.26 + 4.27 +# Background 4 4.28 +rounded = 5 4.29 +border_width = 1 4.30 +background_color = #aa4400 100 4.31 +border_color = #aa7733 100 4.32 + 4.33 +# Background 5 4.34 +rounded = 2 4.35 +border_width = 1 4.36 +background_color = #ffffaa 100 4.37 +border_color = #999999 100 4.38 + 4.39 +# Background 6 4.40 +rounded = 2 4.41 +border_width = 0 4.42 +background_color = #000000 51 4.43 +border_color = #000000 100 4.44 + 4.45 +#------------------------------------- 4.46 +# Panel 4.47 +panel_items = LTSBC 4.48 +panel_size = 100% 24 4.49 +panel_margin = 0 0 4.50 +panel_padding = 1 1 1 4.51 +panel_background_id = 6 4.52 +wm_menu = 1 4.53 +panel_dock = 0 4.54 +panel_position = bottom center horizontal 4.55 +panel_layer = normal 4.56 +panel_monitor = all 4.57 +autohide = 0 4.58 +autohide_show_timeout = 0 4.59 +autohide_hide_timeout = 0.5 4.60 +autohide_height = 2 4.61 +strut_policy = follow_size 4.62 +panel_window_name = tint2 4.63 +disable_transparency = 0 4.64 +font_shadow = 1 4.65 + 4.66 +#------------------------------------- 4.67 +# Taskbar 4.68 +taskbar_mode = single_desktop 4.69 +taskbar_padding = 0 0 1 4.70 +taskbar_background_id = 0 4.71 +taskbar_active_background_id = 0 4.72 +taskbar_name = 1 4.73 +taskbar_hide_inactive_tasks = 0 4.74 +taskbar_hide_different_monitor = 0 4.75 +taskbar_name_padding = 2 2 4.76 +taskbar_name_background_id = 1 4.77 +taskbar_name_active_background_id = 2 4.78 +taskbar_name_font = Sans 8 4.79 +taskbar_name_font_color = #dddddd 100 4.80 +taskbar_name_active_font_color = #dddddd 100 4.81 +taskbar_distribute_size = 1 4.82 +taskbar_sort_order = none 4.83 +task_align = left 4.84 + 4.85 +#------------------------------------- 4.86 +# Task 4.87 +task_text = 1 4.88 +task_icon = 1 4.89 +task_centered = 0 4.90 +urgent_nb_of_blink = 100000 4.91 +task_maximum_size = 140 35 4.92 +task_padding = 2 3 2 4.93 +task_font = sans 8 4.94 +task_tooltip = 1 4.95 +task_font_color = #eeeeee 100 4.96 +task_icon_asb = 100 0 0 4.97 +task_urgent_icon_asb = 100 30 30 4.98 +task_iconified_icon_asb = 90 -30 -30 4.99 +task_background_id = 1 4.100 +task_active_background_id = 2 4.101 +task_urgent_background_id = 4 4.102 +mouse_left = toggle_iconify 4.103 +mouse_middle = toggle 4.104 +mouse_right = maximize_restore 4.105 +mouse_scroll_up = prev_task 4.106 +mouse_scroll_down = next_task 4.107 + 4.108 +#------------------------------------- 4.109 +# System tray (notification area) 4.110 +systray_padding = 1 1 2 4.111 +systray_background_id = 1 4.112 +systray_sort = ascending 4.113 +systray_icon_size = 22 4.114 +systray_icon_asb = 100 0 0 4.115 +systray_monitor = 1 4.116 + 4.117 +#------------------------------------- 4.118 +# Launcher 4.119 +launcher_padding = 1 1 2 4.120 +launcher_background_id = 2 4.121 +launcher_icon_size = 22 4.122 +launcher_icon_asb = 100 0 0 4.123 +launcher_icon_theme_override = 0 4.124 +startup_notifications = 1 4.125 +launcher_tooltip = 1 4.126 +launcher_item_app = /usr/share/applications/tint2conf.desktop 4.127 +launcher_item_app = /usr/share/applications/slitaz-browser.desktop 4.128 +launcher_item_app = /usr/share/applications/slitaz-editor.desktop 4.129 +launcher_item_app = /usr/share/applications/slitaz-terminal.desktop 4.130 +launcher_item_app = /usr/share/applications/slitaz-logout.desktop 4.131 + 4.132 +#------------------------------------- 4.133 +# Clock 4.134 +time1_format = %H:%M 4.135 +time2_format = %a %d %b 4.136 +time1_font = sans bold 8 4.137 +time1_timezone = 4.138 +time2_timezone = 4.139 +time2_font = sans 7 4.140 +clock_font_color = #eeeeee 100 4.141 +clock_padding = 1 0 4.142 +clock_background_id = 1 4.143 +clock_tooltip = %c 4.144 +clock_tooltip_timezone = 4.145 +clock_lclick_command = yad --calendar --mouse --undecorated 4.146 +clock_rclick_command = 4.147 +clock_mclick_command = 4.148 +clock_uwheel_command = 4.149 +clock_dwheel_command = 4.150 + 4.151 +#------------------------------------- 4.152 +# Battery 4.153 +battery_low_status = 10 4.154 +battery_low_cmd = tazbox notify "Warning: battery low" "dialog-warning" 4.155 +bat1_font = sans 8 4.156 +bat2_font = sans 6 4.157 +battery_font_color = #eeeeee 100 4.158 +battery_padding = 1 0 4.159 +battery_background_id = 1 4.160 +battery_hide = 101 4.161 +battery_lclick_command = 4.162 +battery_rclick_command = 4.163 +battery_mclick_command = 4.164 +battery_uwheel_command = 4.165 +battery_dwheel_command = 4.166 + 4.167 +#------------------------------------- 4.168 +# Tooltip 4.169 +tooltip_show_timeout = 0.5 4.170 +tooltip_hide_timeout = 0.1 4.171 +tooltip_padding = 2 2 4.172 +tooltip_background_id = 5 4.173 +tooltip_font_color = #222222 100 4.174 +tooltip_font = sans 9 4.175 +