/[pkg-kde]/scripts/create-icons
ViewVC logotype

Contents of /scripts/create-icons

Parent Directory Parent Directory | Revision Log Revision Log


Revision 833 - (show annotations) (download)
Fri Mar 18 14:54:46 2005 UTC (8 years, 2 months ago) by dato-guest
File size: 605 byte(s)
Set svn:keywords = Id.
1 #!/bin/sh -e
2
3 # $Id$
4 # (C) 2005, Adeodato Simó <asp16@alu.ua.es>
5 # GPL'ed code follows.
6
7 # Script to create icons for menu files. How it works: call it from the
8 # top-level directory (i.e., debian/ exists). It will find all lines in
9 # .menu files starting with '# Icon', placing the resulting file under
10 # debian/icons.
11 #
12 # Icon 32x32 konqueror/pics/cr32-app-konqueror.png konqueror.xpm
13
14 dh_testdir
15
16 find debian -name '*.menu' -print0 | xargs -r0 grep -Eh '^# Icon ' |
17
18 while read foo bar SIZE FROM TO; do
19 echo "Creating $TO from $FROM..."
20 convert -resize $SIZE "$FROM" "debian/icons/$TO"
21 done

Properties

Name Value
svn:executable *
svn:keywords Id

  ViewVC Help
Powered by ViewVC 1.1.5