Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 664 → Rev 665

/video-contact-sheet/branches/1.13.2-pre.3+early_color/dist/AUTHORS
1,4 → 1,4
Copyright 2007-2014 Toni Corvera
Copyright 2007-2016 Toni Corvera
 
Patches by Eris Belew (2014):
- Fixes for PKGBUILD for newer Arch systems
/video-contact-sheet/branches/1.13.2-pre.3+early_color/dist/CHANGELOG
4,6 → 4,7
* OTHER: (BUGFIX in prereleases)
Fixed error when processing files with quotes in the file name
[#226]
* OTHER: Allow disabling coloured output altogether. [#311]
 
1.13.1 (2014-02-26):
* BUGFIX: Fixed uncommon bug with unwrapped grep string [#217]
/video-contact-sheet/branches/1.13.2-pre.3+early_color/dist/vcs
5,7 → 5,7
# vcs
# Video Contact Sheet *NIX: Generates contact sheets (previews) of videos
#
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Toni Corvera
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016 Toni Corvera
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
31,8 → 31,11
 
declare -r VERSION="1.13.2"
declare -r RELEASE=0
declare -ri PRERELEASE=3
declare -ri PRERELEASE=4 # This version is retrofitted, it was never actually made public
[ "$RELEASE" -eq 1 ] || declare -r SUBVERSION="-pre.${PRERELEASE}"
# NOTE: This pre-release is a quick modification, it just adds a way of disabling
# coloured output altogether, by setting TERM to a monochrome terminal type.
# e.g. $ env TERM=vt100 vcs -Wc
 
set -e
 
1819,7 → 1822,7
# Is tput available?
if type -pf tput >/dev/null ; then
# Is it able to set colours?
if tput bold && tput setaf 0 && tput sgr0 ; then
if tput bold && [[ "-1" != "$(tput colors)" ]] && tput setaf 0 && tput sgr0; then
PREFIX_ERR=$(tput bold; tput setaf 1)
PREFIX_WARN=$(tput bold; tput setaf 3)
PREFIX_INF=$(tput bold; tput setaf 2)
1826,6 → 1829,9
PREFIX_DBG=$(tput bold; tput setaf 4)
SUFFIX_FBACK=$(tput sgr0)
HAS_COLORS="yes"
else
HAS_COLORS="no"
set_feedback_prefixes
fi >/dev/null
fi
 
4276,7 → 4282,7
# Prints the program identification to stderr
show_vcs_info() { # Won't be printed in quiet modes
# Don't colourise this
infplain "Video Contact Sheet *NIX v${VERSION}${SUBVERSION}, (c) 2007-2014 Toni Corvera"
infplain "Video Contact Sheet *NIX v${VERSION}${SUBVERSION}, (c) 2007-2016 Toni Corvera"
}
 
# Prints the list of options to stdout