Commit e68e4860 by Ruben Rodriguez

Added 5.0 branch, updated FVR

parent dac1cadb

Too many changes to show.

To preserve performance only 740 of 740+ files are displayed.

#APT::Install-Recommends "false";
APT::Install-Suggests "false";
# This is a ugly hack to assign system wide aliases without changing a bit in
# the bash package.
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
alias ll='ls -lh'
alias la='ls -A'
alias l='ls -CF'
alias dir='ls --color=auto --format=vertical'
alias vdir='ls --color=auto --format=long'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias rm='rm -i'
[ -f /usr/bin/vim ] && alias vi='vim' || alias vi='vim.tiny'
[ -f /usr/bin/vim ] || alias vim='vim.tiny'
[ -d /rofs ] && alias su='sudo su'
#!/bin/bash -e
source /usr/lib/grub/grub-mkconfig_lib
# this allows desktop-base to override our settings
if test -e ${f} ; then
source ${f}
if test -f /usr/share/backgrounds/trisquel-grub-custom.png ; then
cat << EOF
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
# check for usable backgrounds
if [ "$GRUB_TERMINAL_OUTPUT" = "gfxterm" ] ; then
for i in /boot/grub/`basename ${WALLPAPER}` ${WALLPAPER} ; do
if is_path_readable_by_grub $i ; then
case ${bg} in
*.png) reader=png ;;
*.tga) reader=tga ;;
*.jpg|*.jpeg) reader=jpeg ;;
if test -e /boot/grub/${reader}.mod ; then
echo "Found background image: `basename ${bg}`" >&2
# set the background if possible
if ${use_bg} ; then
prepare_grub_to_access_device `${grub_probe} --target=device ${bg}`
cat << EOF
insmod ${reader}
if background_image `make_system_path_relative_to_its_root ${bg}` ; then
set color_normal=${COLOR_NORMAL}
set color_highlight=${COLOR_HIGHLIGHT}
# otherwise, set a monochromatic theme
if ${use_bg} ; then
set_mono_theme | sed -e "s/^/ /g"
echo "fi"
options b43 qos=0
options b43 nohwcrypt=1
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
### Created by Brad Sims 25/06/2004
### (Modified for Trisquel by Ruben Rodriguez and Santiago Rodriguez)
### I got tired of .screenrc's on the internet being so
### poorly commented... So being a good GNUbie I took matters
### into my own hands; and wrote this dotfile.
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
## Explanation of hardstatus line ##
# Ignore the ' marks if you use these examples for yourself
# Note that if you want to use the color brown under konsole
# You actually use bright yellow (%{Y}).
# Note the embeded space after the colon, I feel
# it just looks nicer with a blank between the
# text and console edge:
# '%{=b}%{G} Screen(s): '
# This prints the window listing in blue:
# '%{b}%w'
# This right-aligns what follows:
# '%='
# This displays the time (hours and minutes) in 12hr format
# and adds an AM/PM flag, in bold green:
# '%{G}%C%A'
# This displays the day of the week:
# '%D'
#This displays the date in Mon/day/year format:
# and again I embeded a space to give me one space
# between the text and console edge:
# '%M/%d/%Y '
# The resulting command give you a status line that
# looks like this:
# | Screen(s): 0* bash 5:30PM Fri, Jun/25/2004 |
# (The pipes indicate the edges of the xterm/console).
# Green text, time, and date; windows in blue:
hardstatus alwayslastline "%{=b}%{G}%{b}%w %=%{kG}%C%A %d/%M/%Y "
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
## Some general options ##
# Enable scroll back
termcapinfo xterm|xterms|xs|rxvt ti@:te@
# Turn off start message:
startup_message off
# Set messages timeout to three seconds:
msgwait 3
# Enlarge buffer
defscrollback 4096
#Disable beep
vbell off
bell " %n %t !"
#Nethack style messages
nethack on
caption splitonly "%2n %t"
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
## Keybindings ##
# bind F7 to detach screen session from this terminal
# bind F8 to kill current screen window.
# bind F9 to create a new screen
# bind F10 to rename current screen window
# bind F11 to move to previous window
# bind F12 to move to next window
bindkey -k k1 select 0
bindkey -k k2 select 1
bindkey -k k3 select 2
bindkey -k k4 select 3
bindkey -k k5 select 4
bindkey -k k6 select 5
bindkey -k k7 copy
bindkey -k k8 paste .
bindkey -k k9 screen
#bindkey -k k8 kill
#bindkey -k k9 screen
#bindkey -k k; title
#bindkey -k F1 prev
#bindkey -k F2 next
#unbind s
bind s
syntax on
set noautoindent
set background=dark
"set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
"set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
"set incsearch " Incremental search
""set autowrite " Automatically save before commands like :next and :make
"set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes) in terminals
partman-auto/text/home_scheme ::
500 5000 10000 ext4
method{ format }
format{ }
use_filesystem{ }
filesystem{ ext4 }
mountpoint{ / }
options/relatime{ relatime } .
96 512 300% linux-swap
$lvmok{ }
method{ swap }
format{ } .
100 10000 -1 xfs
$lvmok{ }
method{ format }
format{ }
use_filesystem{ }
filesystem{ xfs }
mountpoint{ /home }
options/relatime{ relatime } .
DESCRIPTION="Configuring Xorg server for VESA safe mode"
echo "$PREREQ"
case $1 in
# get pre-requisites
exit 0
. /scripts/casper-functions
grep video=vesa /proc/cmdline || exit
log_begin_msg "$DESCRIPTION"
cp /root/etc/X11/xorg.conf.vesa /root/etc/X11/xorg.conf
# Copyright © 210 Ruben Rodriguez <>
# Copyright © 2009 Raphaël Hertzog <>
# Copyright © 2008 Ian Jackson <>, Colin Watson
# <>, James Westby <>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
package Dpkg::Vendor::Trisquel;
use strict;
use warnings;
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
use base 'Dpkg::Vendor::Debian';
=head1 NAME
Dpkg::Vendor::Trisquel - Trisquel vendor object
This vendor object customize the behaviour of dpkg-source
to check that Maintainers have been modified if necessary.
sub run_hook {
my ($self, $hook, @params) = @_;
if ($hook eq "before-source-build") {
my $src = shift @params;
my $fields = $src->{'fields'};
# check that Maintainer/XSBC-Original-Maintainer comply to
if (defined($fields->{'Version'}) and defined($fields->{'Maintainer'}) and
$fields->{'Version'} =~ /trisquel/) {
if ($fields->{'Maintainer'} !~ /trisquel/i) {
if (defined ($ENV{'DEBEMAIL'}) and $ENV{'DEBEMAIL'} =~ /\@trisquel\.info/) {
error(_g('Version number suggests Trisquel changes, but Maintainer: does not have Trisquel address'));
} else {
warning(_g('Version number suggests Trisquel changes, but Maintainer: does not have Trisquel address'));
unless ($fields->{'Original-Maintainer'}) {
warning(_g('Version number suggests Trisquel changes, but there is no XSBC-Original-Maintainer field'));
} elsif ($hook eq "before-changes-creation") {
my $fields = shift @params;
# Add Launchpad-Bugs-Fixed field
my $bugs = find_launchpad_closes($fields->{"Changes"} || ""