Commit c72e2720 authored by Luis Guzmán's avatar Luis Guzmán
Browse files

Merge branch 'aramo_trisquel_pkgs' into 'master'

Initial release for aramo

See merge request !65
parents cf3a8dfa 11bd39ad
ACTIVITY (VERSION) aramo; urgency=low
* VERSION release
-- Ruben Rodriguez <ruben@trisquel.info> DATE
Source: ACTIVITY
Section: games
Priority: optional
Maintainer: Ruben Rodriguez <ruben@trisquel.info>
Build-Depends: debhelper (>= 7)
Standards-Version: 3.9.2
Package: ACTIVITY
Architecture: all
Description: ACTIVITY
An activity for the Sugar learning environment.
This package was debianized by Ruben Rodriguez <ruben@trisquel.info>
It was downloaded from http://activities.sugarlabs.org
Copyright The autors
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
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
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, see <http://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
#!/usr/bin/make -f
%:
dh $@
sh update_bundles.sh
rm tmp -rf
ls bundles/|grep '.xo'|xargs -i sh package-activity.sh {}
#!/bin/bash
set -e
build(){
ACTIVITY=sugar-activity-$(echo $1 |sed 's/-.*//; s/\(.*\)/\L\1/; s/_/-/;')
VERSION=$(echo $1 |sed 's/.*-//; s/\.xo//')
DATE=$(LANG=en date '+%a, %d %b %Y %T +0000')
echo $ACTIVITY
mkdir -p tmp/$ACTIVITY/usr/share/sugar/activities
unzip bundles/$1 -d tmp/$ACTIVITY/usr/share/sugar/activities/
cp debian -a tmp/$ACTIVITY
sed -i "s/ACTIVITY/$ACTIVITY/" -i tmp/$ACTIVITY/debian/*
sed -i "s/VERSION/$VERSION/" -i tmp/$ACTIVITY/debian/*
sed -i "s/DATE/$DATE/" -i tmp/$ACTIVITY/debian/*
mkdir -p tmp/$ACTIVITY/usr/share/locale
cp tmp/$ACTIVITY/usr/share/sugar/activities/*/locale/* tmp/$ACTIVITY/usr/share/locale/ -a || true
rm -rf tmp/$ACTIVITY/usr/share/locale/*/activity.linfo
cd tmp/$ACTIVITY
dpkg-buildpackage -us -uc
cd ../..
}
if [ 1$1 = 1 ]; then
for BUNDLE in $(ls -1 bundles |grep xo$); do
build $BUNDLE
done
else
build $1
fi
set -e
rm -rf bundles
mkdir bundles
for repo in browse-activity calculate-activity chat imageviewer-activity jukebox-activity log-activity Pippy read-activity terminal-activity turtleart-activity write-activity activity-abacus AnalyzeJournal clock-activity colordeducto deducto develop-activity flip flipsticks fractionbounce gcompris-wrapper-activity sugarchess iknowmyabcs iq-activity implode-activity jumble-activity lettermatch locosugar maze-activity Measure moon-activity music-keyboard-activity napier nutrition paint-activity periodic-table poll-activity portfolio-activity pukllanapac recall record-activity reflection speak stopwatch story typing-turtle-activity wordcloud words-activity irc-activity memorize-activity
do
git clone https://github.com/sugarlabs/$repo.git bundles/$repo
sed -rie 's|\r\n|\n|' bundles/$repo/activity/activity.info
activity=$(grep "^name *=" bundles/$repo/activity/activity.info| sed 's/.*=//;s/ //g')
version=$(grep "^activity_version *=" bundles/$repo/activity/activity.info| sed 's/.*=//;s/ //g')
rm bundles/$repo/.git* -rf
#mv bundles/$repo bundles/$activity
mv bundles/$repo bundles/$activity.activity
(cd bundles ; zip -r ${activity}-${version}.xo $activity.activity)
done
#APT::Install-Recommends "false";
APT::Install-Suggests "false";
#!/bin/bash
# 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 -alF'
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'
[ -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'
fi
#!/bin/bash -e
source /usr/lib/grub/grub-mkconfig_lib
# this allows desktop-base to override our settings
f=/usr/share/desktop-base/grub_background.sh
if test -e ${f} ; then
source ${f}
else
WALLPAPER="/usr/share/backgrounds/trisquel-grub.png"
if test -f /usr/share/backgrounds/trisquel-grub-custom.png ; then
WALLPAPER="/usr/share/backgrounds/trisquel-grub-custom.png"
fi
COLOR_NORMAL="white/black"
COLOR_HIGHLIGHT="yellow/white"
fi
set_mono_theme()
{
cat << EOF
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
EOF
}
# check for usable backgrounds
use_bg=false
if [ "$GRUB_TERMINAL_OUTPUT" = "gfxterm" ] ; then
for i in /boot/grub/`basename ${WALLPAPER}` ${WALLPAPER} ; do
if is_path_readable_by_grub $i ; then
bg=$i
case ${bg} in
*.png) reader=png ;;
*.tga) reader=tga ;;
*.jpg|*.jpeg) reader=jpeg ;;
esac
if test -e /boot/grub/${reader}.mod ; then
echo "Found background image: `basename ${bg}`" >&2
use_bg=true
break
fi
fi
done
fi
# 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}
else
EOF
fi
# otherwise, set a monochromatic theme
if ${use_bg} ; then
set_mono_theme | sed -e "s/^/ /g"
echo "fi"
else
set_mono_theme
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
[Resolve]
LLMNR=resolve
MulticastDNS=resolve
Cache=yes
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 15000 xfs
method{ format }
format{ }
use_filesystem{ }
filesystem{ xfs }
mountpoint{ / }
options/relatime{ relatime } .
$lvmok{ } lv_name{ root }
in_vg { crypt }
500 1000 2000 ext4
method{ format }
format{ }
use_filesystem{ }
filesystem{ ext4 }
mountpoint{ /boot }
options/relatime{ relatime } .
96 512 300% linux-swap
$lvmok{ } lv_name{ swap }
in_vg { crypt }
method{ swap }
format{ } .
100 10000 -1 xfs
$lvmok{ } lv_name{ home }
in_vg { crypt }
method{ format }
format{ }
use_filesystem{ }
filesystem{ xfs }
mountpoint{ /home }
options/relatime{ relatime } .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment