Commit 42accb8b authored by Thiago H. S. Picharski's avatar Thiago H. S. Picharski

Merge remote branch 'le-icon-theme/master'

Signed-off-by: 's avatarThiago H. S. Picharski <thsp08@c3sl.ufpr.br>
parents 68ef4861 037494dd
#!/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-icon-theme
Priority: important
Section: main
Version:
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Architecture: i386
Description: Linux Educacional icon theme for KDE4
This icon theme package is based on FrugalThemeForKDE4.3_10
It can be downloaded at: http://frugalware-art.org/content/show.php/Frugal+KDE+Icon+Theme?content=112026
Depends: frugal-theme-kde4, icomity-theme
#!/bin/bash
#
# Copyright (C) 2004-2011 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-icon-theme
#
# le-icon-theme 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.
# Paths
ICONPATH=/usr/share/icons
OXYGENPATH=${ICONPATH}/oxygen
KDSICONPATH=/usr/share/kubuntu-default-settings/kde4-profile/default/share/icons
LEICONPATH=${KDSICONPATH}/le-icons
LEORICONPATH=${LEICONPATH}/orig
FBASE=${ICONPATH}/FrugalThemeForKDE4_3.10
CBASE=${ICONPATH}/iComity
AUDEFAULT=${OXYGENPATH}/48x48/status/audio-volume
DDEFAULT=${OXYGENPATH}/64x64/devices
DNDEFAULT=${OXYGENPATH}/128x128/apps
# Folders list
FOLDERS="128x128 16x16 22x22 24x24 32x32 48x48 56x56 64x64 72x72 96x96"
CFOLDERS="128x128 16x16 22x22 24x24 32x32 48x48"
# Image magick is installed?
IMFLAG=$(dpkg -l imagemagick 2> /dev/null | grep -q '^ii')
# Create icon folders and link to Frugal icons
for i in $FOLDERS; do
mkdir -p ${LEICONPATH}/$i
TYPES=$(ls $FBASE/$i)
for j in $TYPES; do
mkdir -p ${LEICONPATH}/$i/$j
FICONS=$(ls $FBASE/$i/$j)
for k in $FICONS; do
ln -sf $FBASE/$i/$j/$k ${LEICONPATH}/$i/$j/$k
done
done
done
# Link to some of iComity icons
DIC="accessories-dictionary.png"
LOAD="gnome-fs-loading-icon.png"
GAMES="applications-games.png"
GAMESN="applications-games-card.png"
EDUC="applications-education.png"
for i in $CFOLDERS; do
ln -sf ${CBASE}/$i/apps/${DIC} \
${LEICONPATH}/$i/categories/applications-education-portuguese.png
ln -sf ${CBASE}/$i/status/${LOAD} \
${LEICONPATH}/$i/categories/applications-education-physics.png
ln -sf ${CBASE}/$i/categories/${GAMES} ${LEICONPATH}/$i/categories/${GAMESN}
ln -sf ${CBASE}/$i/categories/${EDUC} ${LEICONPATH}/$i/categories/${EDUC}
done
# Link to oxygen audio-volume-* icons
ATYPES="low.png medium.png high.png muted.png"
for i in $FOLDERS; do
for j in $ATYPES; do
ln -sf ${AUDEFAULT}-$j ${LEICONPATH}/$i/status/audio-volume-$j
done
done
# Copy le-icons to all folders
EDUBARM="edubar.png"
EXTRAS="extras.png"
DESKTOP="user-desktop.png"
FFICON="firefox.png"
INTERNET="applications-internet.png"
HELP="help-browser.png"
MUAN="muan.png"
ROCS="rocs.png"
STARTKDE="start-here-kde.png"
START="start-here.png"
TERMINAL="utilities-terminal.png"
TRASH="user-trash.png"
EMPTY="trash-empty.png"
FULL="user-trash-full.png"
FULL2="trash-full.png"
UBI="ubiquity.png"
ANTHEM="anthem.png"
GEO="applications-education-geography.png"
if $IMFLAG; then
for i in $FOLDERS; do
apppath=${LEICONPATH}/$i/apps
catpath=${LEICONPATH}/$i/categories
plcpath=${LEICONPATH}/$i/places
sttpath=${LEICONPATH}/$i/status
actpath=${LEICONPATH}/$i/actions
convert -resize $i ${LEORICONPATH}/${FFICON} ${apppath}/$FFICON
convert -resize $i ${LEORICONPATH}/${HELP} ${apppath}/${HELP}
convert -resize $i ${LEORICONPATH}/${MUAN} ${apppath}/${MUAN}
convert -resize $i ${LEORICONPATH}/${ROCS} ${apppath}/${ROCS}
convert -resize $i ${LEORICONPATH}/${UBI} ${apppath}/${UBI}
convert -resize $i ${LEORICONPATH}/${TERMINAL} ${apppath}/${TERMINAL}
convert -resize $i ${LEORICONPATH}/${EDUBARM} ${catpath}/${EDUBARM}
convert -resize $i ${LEORICONPATH}/${EXTRAS} ${catpath}/${EXTRAS}
convert -resize $i ${LEORICONPATH}/${FFICON} ${catpath}/${INTERNET}
convert -resize $i ${LEORICONPATH}/${ANTHEM} ${catpath}/${ANTHEM}
convert -resize $i ${LEORICONPATH}/${GEO} ${catpath}/${GEO}
convert -resize $i ${LEORICONPATH}/${DESKTOP} ${plcpath}/${DESKTOP}
convert -resize $i ${LEORICONPATH}/${STARTKDE} ${plcpath}/${STARTKDE}
convert -resize $i ${LEORICONPATH}/${STARTKDE} ${plcpath}/${START}
convert -resize $i ${LEORICONPATH}/${TRASH} ${plcpath}/${TRASH}
convert -resize $i ${LEORICONPATH}/${FULL} ${sttpath}/${FULL}
convert -resize $i ${LEORICONPATH}/${TRASH} ${actpath}/${EMPTY}
convert -resize $i ${LEORICONPATH}/${FULL} ${actpath}/${FULL2}
done
else
for i in $FOLDERS; do
ln -sf ${LEORICONPATH}/$FFICON ${LEICONPATH}/$i/apps/$FFICON
ln -sf ${LEORICONPATH}/$HELP ${LEICONPATH}/$i/apps/$HELP
ln -sf ${LEORICONPATH}/$MUAN ${LEICONPATH}/$i/apps/$MUAN
ln -sf ${LEORICONPATH}/$ROCS ${LEICONPATH}/$i/apps/$ROCS
ln -sf ${LEORICONPATH}/$UBI ${LEICONPATH}/$i/apps/$UBI
ln -sf ${LEORICONPATH}/$TERMINAL ${LEICONPATH}/$i/apps/$TERMINAL
ln -sf ${LEORICONPATH}/$EDUBARM ${LEICONPATH}/$i/categories/$EDUBARM
ln -sf ${LEORICONPATH}/$EXTRAS ${LEICONPATH}/$i/categories/$EXTRAS
ln -sf ${LEORICONPATH}/$FFICON ${LEICONPATH}/$i/categories/$INTERNET
ln -sf ${LEORICONPATH}/$ANTHEM ${LEICONPATH}/$i/categories/$ANTHEM
ln -sf ${LEORICONPATH}/$GEO ${LEICONPATH}/$i/categories/$GEO
ln -sf ${LEORICONPATH}/$DESKTOP ${LEICONPATH}/$i/places/$DESKTOP
ln -sf ${LEORICONPATH}/$STARTKDE ${LEICONPATH}/$i/places/$STARTKDE
ln -sf ${LEORICONPATH}/$STARTKDE ${LEICONPATH}/$i/places/$START
ln -sf ${LEORICONPATH}/$TRASH ${LEICONPATH}/$i/places/$TRASH
ln -sf ${LEORICONPATH}/$FULL ${LEICONPATH}/$i/status/$FULL
ln -sf ${LEORICONPATH}/$TRASH ${LEICONPATH}/$i/actions/$EMPTY
ln -sf ${LEORICONPATH}/$FULL ${LEICONPATH}/$i/actions/$FULL2
done
fi
# Copy oxygen devices icons to all folders
DICONS="
audio-card.png
audio-headset.png
audio-input-line.png
audio-input-microphone.png
battery.png
camera-photo.png
camera-web.png
computer-laptop.png
computer.png
cpu.png
drive-harddisk.png
drive-optical.png
drive-removable-media.png
drive-removable-media-usb-pendrive.png
drive-removable-media-usb.png
input-gaming.png
input-keyboard.png
input-mouse.png
input-tablet.png
media-flash-memory-stick.png
media-flash.png
media-flash-sd-mmc.png
media-flash-smart-media.png
media-floppy.png
media-optical-audio.png
media-optical-blu-ray.png
media-optical-dvd.png
media-optical-dvd-video.png
media-optical-mixed-cd.png
media-optical.png
media-optical-recordable.png
media-optical-video.png
media-tape.png
modem.png
multimedia-player-apple-ipod.png
multimedia-player.png
network-wired-activated.png
network-wired.png
network-wireless-0.png
network-wireless-100.png
network-wireless-25.png
network-wireless-50.png
network-wireless-75.png
network-wireless-connected-00.png
network-wireless-connected-100.png
network-wireless-connected-25.png
network-wireless-connected-50.png
network-wireless-connected-75.png
network-wireless-disconnected.png
network-wireless.png
pda.png
phone-openmoko-freerunner.png
phone.png
printer.png
scanner.png
video-display.png
video-projector.png
video-television.png"
for i in $FOLDERS; do
for j in $DICONS; do
ln -sf $DDEFAULT/$j ${LEICONPATH}/$i/devices/$j
done
done
# Link Edubar icons
EDUBARI=$(ls ${LEICONPATH}/orig/edubar)
EDUIPATH=${LEORICONPATH}/edubar
for i in $FOLDERS; do
apppath=${LEICONPATH}/$i/apps
for j in $EDUBARI; do
if $IMFLAG; then
convert -resize $i ${EDUIPATH}/$j ${apppath}/$j
else
ln -sf ${EDUIPATH}/$j ${apppath}//$j
fi
done
done
# Link oxygen device-notifier
DEVNOT="device-notifier.png"
for i in $FOLDERS; do
apppath=${LEICONPATH}/$i/apps
if $IMFLAG; then
convert -resize $i ${DNDEFAULT}/${DEVNOT} ${apppath}/${DEVNOT}
else
ln -sf ${DNDEFAULT}/${DEVNOT} ${apppath}/${DEVNOT}
fi
done
# Link network-wired
NET="network-wired.png"
ln -sf ${LEORICONPATH}/$NET ${LEICONPATH}/22x22/devices/$NET
# Link inode-directory icon as dolphin icon
DOLPHIN="system-file-manager.png"
IDIR="inode-directory.png"
for i in $FOLDERS; do
ln -sf $FBASE/$i/mimetypes/$IDIR ${LEICONPATH}/$i/apps/$DOLPHIN
done
#!/bin/bash
#
# Copyright (C) 2004-2011 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-icon-theme
#
# le-icon-theme 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.
KDSICONPATH=/usr/share/kubuntu-default-settings/kde4-profile/default/share/icons
LEICONPATH=${KDSICONPATH}/le-icons
# Folders list
FOLDERS="128x128 16x16 22x22 24x24 32x32 48x48 56x56 64x64 72x72 96x96"
# Remove le-icons
for i in $FOLDERS
do
rm -rf ${LEICONPATH}/$i
done
C3SL - Centro de Computacao Cientifica e Software Livre
Adriano da Luz
Bruno Cesar Ribas
Carlos Carvalho
Cleide Luzia Bonfim Possamai
Danilo Kiyoshi Simizu Yorinori
Diego Giovane Pasqualin
Eduardo Todt
Erik Alexandre Pucci
Felipe Cys Laskoski
Guilherme Zasyeki Machado
Josiney de Souza
Juliana Bueno
Klismann Smoger Mottin
Laura Sanchez Garcia
Luis Carlos Erpen de Bona
Marcela Saragioto
Marcos Castilho
Pedro Eugenio Rocha
Renan Franca De Miranda
Ricardo Tavares De Oliveira
Rubens Massayuki Suguimoto
Thiago Henrique Dos Santos Picharski
Tiago Rodrigo Kepe
Victor Tarabola Cortiano
Vinicius Kwiecien Ruoso
This diff is collapsed.
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