Skip to content
Snippets Groups Projects
Commit 6129bbc6 authored by Klismann Smoger Mottin's avatar Klismann Smoger Mottin
Browse files

Initial Commit


This package installs the le-light applications and configures the
default settings on the system.

Signed-off-by: default avatarKlismann Smoger Mottin <ksm09@inf.ufpr.br>
Acked-by: default avatarAdriano da Luz <al08@c3sl.ufpr.br>
parent fec30f95
No related branches found
No related tags found
No related merge requests found
Showing
with 437 additions and 0 deletions
TODO 0 → 100755
VERSAO 0 → 100755
1.0.33
gerar.sh 0 → 100755
#!/bin/bash
# gerar.sh
# Copyright (c) 2006 by Bruno Ribas <ribas@ufpr.br>
DIRTMP=$(mktemp -d)
VERSAO=$(cat VERSAO)
#arrumar versao
#$1 tipo de incremento
MAJOR=$(echo $VERSAO| cut -d'.' -f1)
MINOR=$(echo $VERSAO| cut -d'.' -f2)
REVISION=$(echo $VERSAO| cut -d'.' -f3)
case $1 in
Minor)
((MINOR++))
REVISION=0
;;
Major)
((MAJOR++))
MINOR=0
REVISION=0
;;
help)
echo "Uso: $0 Major|Minor|Revision"
echo ' Major - Altera versao Major'
echo ' Minor - Altera versao Minor'
exit
;;
*)
((REVISION++))
;;
esac
VERSAO="${MAJOR}.${MINOR}.${REVISION}"
echo "$VERSAO" > VERSAO
#Compila a documentacao do pacote no diretorio doc/
#cd doc/
#hevea -text *.tex
#hevea -text *.tex
#cd ../
cp -r pacote $DIRTMP
#Copia a documentacao compilada para dentro do pacote.
#cp doc/*.txt $DIRTMP/pacote/usr/share/doc/prd-*
cd $DIRTMP
find . -name ".svn" -exec rm -rf {} \; &>/dev/null
sed -i -e "s/Version:/Version: $VERSAO/" pacote/DEBIAN/control
fakeroot dpkg -b pacote .
cd -
cp $DIRTMP/*deb .
rm -rf $DIRTMP
# vim:tabstop=4:shiftwidth=4:encoding=iso-8859-1
Package: le-light-base
Version:
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Architecture: i386
Section: main
Priority: important
Depends: kde-l10n-ptbr, kword, kspread, kpresenter, koffice-l10n-ptbr
Description: Base installation for Linux Educacional light version
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-light-base
#
# le-light-base 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, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
UNUSED_DESKTOP_FILES="/usr/share/applications/kde4"
rm -f $UNUSED_DESKTOP_FILES/kword.desktop
rm -f $UNUSED_DESKTOP_FILES/kspread.desktop
rm -f $UNUSED_DESKTOP_FILES/kpresenter.desktop
# Set le-setbiostime to run during boot
update-rc.d le-setbiostime defaults 90
# Set the locale to Brazilian Portuguese
locale-gen pt_BR.UTF-8
update-locale LANG=pt_BR.UTF-8
# Update grub
update-grub
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-light-base
#
# le-light-base 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, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# The KDE default configuration path
KDEDEFAULT="/usr/share/kubuntu-default-settings/kde4-profile/default"
APPMERGED="/etc/xdg/menus/applications-merged"
APPPATH="/usr/share/applications"
# The autostart path
AUTOSTART="/usr/share/autostart"
# Files to divert
DIVERTS="
/etc/default/ntpdate \
/etc/default/grub \
/etc/update-motd.d/00-header \
/etc/update-motd.d/10-help-text \
/usr/lib/update-notifier/update-motd-cpu-checker \
/etc/security/limits.conf \
/etc/issue \
/etc/issue.net \
/etc/legal \
/etc/lsb-release \
/usr/share/locale-langpack/pt_BR/LC_MESSAGES/\
plasma_applet_networkmanagement.mo \
$KDEDEFAULT/share/config/kwalletrc \
$KDEDEFAULT/share/config/nepomukserverrc \
$AUTOSTART/kbluetooth.desktop \
$AUTOSTART/klipper.desktop \
$AUTOSTART/krunner.desktop \
$APPMERGED/wine.menu \
$APPPATH/kde/kresources.desktop \
$APPPATH/kde/kmdr-editor.desktop \
$APPPATH/wine-browsedrive.desktop \
/usr/share/applnk/.hidden/kmdr-executor.desktop
"
if [[ "$1" != "upgrade" ]]; then
for file in $DIVERTS; do
rm -f ${file}
dpkg-divert --package le-light-base --remove --rename \
--divert ${file}{.real,}
done
fi
# Unset le-setbiostime to not run during boot
update-rc.d -f le-setbiostime remove
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-light-base
#
# le-light-base 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, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# The KDE default configuration path
KDEDEFAULT="/usr/share/kubuntu-default-settings/kde4-profile/default"
APPMERGED="/etc/xdg/menus/applications-merged"
APPPATH="/usr/share/applications"
# The autostart path
AUTOSTART="/usr/share/autostart"
# Files to divert
DIVERTS="
/etc/default/ntpdate \
/etc/default/grub \
/etc/update-motd.d/00-header \
/etc/update-motd.d/10-help-text \
/usr/lib/update-notifier/update-motd-cpu-checker \
/etc/security/limits.conf \
/etc/issue \
/etc/issue.net \
/etc/legal \
/etc/lsb-release \
/usr/share/locale-langpack/pt_BR/LC_MESSAGES/\
plasma_applet_networkmanagement.mo \
$KDEDEFAULT/share/config/kwalletrc \
$KDEDEFAULT/share/config/nepomukserverrc \
$AUTOSTART/kbluetooth.desktop \
$AUTOSTART/klipper.desktop \
$AUTOSTART/krunner.desktop \
$APPMERGED/wine.menu \
$APPPATH/kde/kresources.desktop \
$APPPATH/kde/kmdr-editor.desktop \
$APPPATH/wine-browsedrive.desktop \
/usr/share/applnk/.hidden/kmdr-executor.desktop
"
# Divert files
for file in $DIVERTS; do
dpkg-divert --package le-light-base --add --rename \
--divert ${file}{.real,}
done
if ! groupadd -fr freeze; then
abort "Error while creating the group freeze."
fi
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`echo $(lsb_release -i -s -r 2> /dev/null || echo Debian)`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# This file was replaced by le-base.
# Do not use /etc/ntp.conf (use this file instead)
NTPDATE_USE_NTP_CONF=no
# Set the NTP server
NTPSERVERS="ntp.pop-pr.rnp.br"
# Pass -b to avoid using incremental adjustments
NTPOPTIONS="-b"
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-base
#
# le-base 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, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# Just set the BIOS time
hwclock -u --systohc
Linux Educacional 4.0 \n \l
Linux Educacional 4.0
4.0
The programs included with the Linux Educacional system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Linux Educacional comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
DISTRIB_ID="Linux Educacional"
DISTRIB_RELEASE=4.0
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Linux Educacional 4.0"
# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#<domain> <type> <item> <value>
#
#Where:
#<domain> can be:
# - an user name
# - a group name, with @group syntax
# - the wildcard *, for default entry
# - the wildcard %, can be also used with %group syntax,
# for maxlogin limit
#
#<type> can have the two values:
# - "soft" for enforcing the soft limits
# - "hard" for enforcing hard limits
#
#<item> can be one of the following:
# - core - limits the core file size (KB)
# - data - max data size (KB)
# - fsize - maximum filesize (KB)
# - memlock - max locked-in-memory address space (KB)
# - nofile - max number of open files
# - rss - max resident set size (KB)
# - stack - max stack size (KB)
# - cpu - max CPU time (MIN)
# - nproc - max number of processes
# - as - address space limit (KB)
# - maxlogins - max number of logins for this user
# - maxsyslogins - max number of logins on the system
# - priority - the priority to run user process with
# - locks - max number of file locks the user can hold
# - sigpending - max number of pending signals
# - msgqueue - max memory used by POSIX message queues (bytes)
# - nice - max nice priority allowed to raise to values: [-20, 19]
# - rtprio - max realtime priority
# - chroot - change root to directory (Debian-specific)
#
#<domain> <type> <item> <value>
#
# Limits used by Linux Educacional
* hard nproc 128
* hard priority 5
# End of file
[General]
AutomountEnabled=true
AutomountOnLogin=true
AutomountOnPlugin=true
AutomountUnknownDevices=true
[$Version]
update_info=kded.upd:kde3.0
[Module-device_automounter]
autoload=true
[Module-dnssdwatcher]
autoload=true
[Module-khotkeys]
autoload=true
[Module-ktimezoned]
autoload=true
[Module-nepomuksearchmodule]
autoload=false
[Module-networkmanagement]
autoload=true
[Module-networkstatus]
autoload=true
[Module-networkwatcher]
autoload=true
[Module-powerdevil]
autoload=true
[Module-randrmonitor]
autoload=true
[Module-remotedirnotify]
autoload=true
[Module-solidautoeject]
autoload=true
[Module-statusnotifierwatcher]
autoload=true
[DirWatch]
PollInterval=60000
[Auto Allow]
kdewallet=kwalletmanager
[Auto Deny]
kdewallet=
[Wallet]
Close When Idle=false
Close on Screensaver=false
Default Wallet=kdewallet
Enabled=false
First Use=false
Idle Timeout=10
Launch Manager=false
Leave Manager Open=false
Leave Open=true
Prompt on Open=true
Use One Wallet=true
[Basic Settings]
Configured repositories=main
Soprano Backend=virtuosobackend
Start Nepomuk=false
[Service-nepomukstrigiservice]
autostart=false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment