~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to admin/update_iconsets.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-04-14 18:57:30 UTC
  • mfrom: (2.1.9 hardy)
  • Revision ID: james.westby@ubuntu.com-20080414185730-528re3zp0m2hdlhi
Tags: 0.11-8
* added CONFIG -= link_prl to .pro files and removed dependencies
  which are made unnecessary by this change
* Fix segfault when closing last chat tab with qt4.4
  (This is from upstream svn, rev. 1101) (Closes: Bug#476122)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
SOURCE_DIR=../../iconsets
4
 
TARGET_DIR=../iconsets
5
 
 
6
 
ROSTER_DEFAULT='crystal-roster'
7
 
ROSTER_EXTRAS='
8
 
        crystal-aim crystal-icq crystal-msn crystal-service crystal-yahoo 
9
 
        crystal-gadu crystal-sms crystal-roster
10
 
        '
11
 
 
12
 
SYSTEM_DEFAULT='crystal-system'
13
 
SYSTEM_EXTRAS=''
14
 
 
15
 
################################################################################
16
 
 
17
 
if test ! -d $SOURCE_DIR; then
18
 
        echo "Cannot find source dir $SOURCE_DIR"
19
 
        exit
20
 
fi
21
 
 
22
 
if test ! -d $TARGET_DIR; then
23
 
        echo "Cannot find target dir $TARGET_DIR"
24
 
        exit
25
 
fi
26
 
 
27
 
################################################################################
28
 
 
29
 
# Roster iconsets
30
 
echo '*** Updating Roster iconsets ***'
31
 
#cp -R $SOURCE_DIR/roster/$ROSTER_DEFAULT/* $TARGET_DIR/roster/default
32
 
rm -f $TARGET_DIR/roster/default/Makefile
33
 
for i in $ROSTER_EXTRAS; do
34
 
        make -C $SOURCE_DIR/roster $i.jisp
35
 
        cp $SOURCE_DIR/roster/$i.jisp $TARGET_DIR/roster
36
 
done
37
 
 
38
 
################################################################################
39
 
 
40
 
# System iconsets
41
 
echo '*** Updating System iconsets ***'
42
 
#cp -R $SOURCE_DIR/system/$SYSTEM_DEFAULT/* $TARGET_DIR/system/default
43
 
rm -f $TARGET_DIR/system/default/Makefile
44
 
for i in $SYSTEM_EXTRAS; do
45
 
        make -C $SOURCE_DIR/system $i.jisp
46
 
        cp $SOURCE_DIR/system/$i.jisp $TARGET_DIR/system
47
 
done