# HG changeset patch # User Aleksej Bobylev # Date 1446481470 -7200 # Node ID 1c8303b6f511106b3310d865d1fbf5d0618704a0 # Parent bb3ad5d937fc90cf2c6052217bec3220a2c81132 Up tint2(0.12.2) -- sorry, I don't know how to handle arm arch diff -r bb3ad5d937fc -r 1c8303b6f511 tint2/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tint2/description.txt Mon Nov 02 18:24:30 2015 +0200 @@ -0,0 +1,23 @@ +tint2 is a simple panel/taskbar made for modern X window managers. It was +specifically made for Openbox but it should also work with other window managers +(GNOME, KDE, XFCE etc.). It is based on ttm . + +Features +-------- + + * Panel with taskbar, system tray, clock and launcher icons; + * Easy to customize: color/transparency on fonts, icons, borders and + backgrounds; + * Pager like capability: move tasks between workspaces (virtual desktops), + switch between workspaces; + * Multi-monitor capability: create one panel per monitor, showing only the + tasks from the current monitor; + * Customizable mouse events. + +Goals +----- + + * Be unintrusive and light (in terms of memory, CPU and aesthetic); + * Follow the freedesktop.org specifications; + * Make certain workflows, such as multi-desktop and multi-monitor, easy + to use. diff -r bb3ad5d937fc -r 1c8303b6f511 tint2/receipt --- a/tint2/receipt Mon Nov 02 12:40:01 2015 +0100 +++ b/tint2/receipt Mon Nov 02 18:24:30 2015 +0200 @@ -1,42 +1,42 @@ # SliTaz package receipt. PACKAGE="tint2" -VERSION="0.11" +VERSION="0.12.2" CATEGORY="misc" -SHORT_DESC="taskbar and panel" +SHORT_DESC="Lightweight panel/taskbar for Linux" MAINTAINER="jozee@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.bz2" LICENSE="GPL2" -WEB_SITE="http://tint2.googlecode.com/files/" -WGET_URL="$WEB_SITE/$TARBALL" +WEB_SITE="https://gitlab.com/o9000/tint2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$WEB_SITE/repository/archive.tar.gz?ref=$VERSION" +BRANCH="$VERSION" CONFIG_FILES="/etc/xdg/tint2/tint2rc" TAGS="desktop panel taskbar" -HOST_ARCH="i486 arm" +#HOST_ARCH="i486 arm" -DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype" -BUILD_DEPENDS="cairo-dev pango-dev glib-dev imlib2-dev xorg-libXinerama-dev \ -xcb-util-dev freetype-dev" - -# Handle cross compilation -case "$ARCH" in - i?86) BUILD_DEPENDS="$BUILD_DEPENDS pygtk-dev cmake pkg-config" ;; - arm*) ARCH_ARGS="-DENABLE_TINT2CONF=OFF" ;; -esac +DEPENDS="gtk+ imlib2 librsvg startup-notification" +BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \ +librsvg-dev" # Rules to configure and make the package. compile_rules() { - mkdir build && cd build - cmake \ + cp -af $stuff/get_version.sh $src + export VERSION + + mkdir build && cd build && + cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ $ARCH_ARGS .. && - make && make install + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/etc $fs - cp -a $install/usr/bin $fs/usr + cp -a $install/* $fs + # Use custom configured theme instead + cp -f $stuff/tint2rc $fs/etc/xdg/tint2/tint2rc + + rm -r $fs/usr/share/doc $fs/usr/share/locale $fs/usr/share/man } diff -r bb3ad5d937fc -r 1c8303b6f511 tint2/stuff/get_version.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tint2/stuff/get_version.sh Mon Nov 02 18:24:30 2015 +0200 @@ -0,0 +1,4 @@ +#!/bin/sh + +echo '#define VERSION_STRING "'$VERSION'"' > version.h +echo $VERSION diff -r bb3ad5d937fc -r 1c8303b6f511 tint2/stuff/tint2rc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tint2/stuff/tint2rc Mon Nov 02 18:24:30 2015 +0200 @@ -0,0 +1,172 @@ +#---- Generated by tint2conf 6ddd ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Backgrounds +# Background 1 +rounded = 2 +border_width = 0 +background_color = #000000 46 +border_color = #000000 0 + +# Background 2 +rounded = 2 +border_width = 0 +background_color = #000000 89 +border_color = #000000 0 + +# Background 3 +rounded = 3 +border_width = 0 +background_color = #555555 29 +border_color = #000000 27 + +# Background 4 +rounded = 5 +border_width = 1 +background_color = #aa4400 100 +border_color = #aa7733 100 + +# Background 5 +rounded = 2 +border_width = 1 +background_color = #ffffaa 100 +border_color = #999999 100 + +# Background 6 +rounded = 2 +border_width = 0 +background_color = #000000 51 +border_color = #000000 100 + +#------------------------------------- +# Panel +panel_items = LTSBC +panel_size = 100% 24 +panel_margin = 0 0 +panel_padding = 1 1 1 +panel_background_id = 6 +wm_menu = 1 +panel_dock = 0 +panel_position = bottom center horizontal +panel_layer = normal +panel_monitor = all +autohide = 0 +autohide_show_timeout = 0 +autohide_hide_timeout = 0.5 +autohide_height = 2 +strut_policy = follow_size +panel_window_name = tint2 +disable_transparency = 0 +font_shadow = 1 + +#------------------------------------- +# Taskbar +taskbar_mode = single_desktop +taskbar_padding = 0 0 1 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 1 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 0 +taskbar_name_padding = 2 2 +taskbar_name_background_id = 1 +taskbar_name_active_background_id = 2 +taskbar_name_font = Sans 8 +taskbar_name_font_color = #dddddd 100 +taskbar_name_active_font_color = #dddddd 100 +taskbar_distribute_size = 1 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 1 +task_icon = 1 +task_centered = 0 +urgent_nb_of_blink = 100000 +task_maximum_size = 140 35 +task_padding = 2 3 2 +task_font = sans 8 +task_tooltip = 1 +task_font_color = #eeeeee 100 +task_icon_asb = 100 0 0 +task_urgent_icon_asb = 100 30 30 +task_iconified_icon_asb = 90 -30 -30 +task_background_id = 1 +task_active_background_id = 2 +task_urgent_background_id = 4 +mouse_left = toggle_iconify +mouse_middle = toggle +mouse_right = maximize_restore +mouse_scroll_up = prev_task +mouse_scroll_down = next_task + +#------------------------------------- +# System tray (notification area) +systray_padding = 1 1 2 +systray_background_id = 1 +systray_sort = ascending +systray_icon_size = 22 +systray_icon_asb = 100 0 0 +systray_monitor = 1 + +#------------------------------------- +# Launcher +launcher_padding = 1 1 2 +launcher_background_id = 2 +launcher_icon_size = 22 +launcher_icon_asb = 100 0 0 +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = /usr/share/applications/tint2conf.desktop +launcher_item_app = /usr/share/applications/slitaz-browser.desktop +launcher_item_app = /usr/share/applications/slitaz-editor.desktop +launcher_item_app = /usr/share/applications/slitaz-terminal.desktop +launcher_item_app = /usr/share/applications/slitaz-logout.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M +time2_format = %a %d %b +time1_font = sans bold 8 +time1_timezone = +time2_timezone = +time2_font = sans 7 +clock_font_color = #eeeeee 100 +clock_padding = 1 0 +clock_background_id = 1 +clock_tooltip = %c +clock_tooltip_timezone = +clock_lclick_command = yad --calendar --mouse --undecorated +clock_rclick_command = +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_low_status = 10 +battery_low_cmd = tazbox notify "Warning: battery low" "dialog-warning" +bat1_font = sans 8 +bat2_font = sans 6 +battery_font_color = #eeeeee 100 +battery_padding = 1 0 +battery_background_id = 1 +battery_hide = 101 +battery_lclick_command = +battery_rclick_command = +battery_mclick_command = +battery_uwheel_command = +battery_dwheel_command = + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 2 2 +tooltip_background_id = 5 +tooltip_font_color = #222222 100 +tooltip_font = sans 9 +