Thu, 13 Jun 2013 14:00:34 +0300
Minor tweak to drawing rectangle selection (don't draw it if it was to be an additive pick)
158
499286fcbf37
Compile the icon resources to a QRC file, so that they are embedded in the application
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
1 | #!/bin/bash |
499286fcbf37
Compile the icon resources to a QRC file, so that they are embedded in the application
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
2 | |
499286fcbf37
Compile the icon resources to a QRC file, so that they are embedded in the application
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
3 | QRCFILE=ldforge.qrc |
241
cffab8e109f6
Added LICENSE.icons to help clarity on the licensing of the icons
Santeri Piippo <crimsondusk64@gmail.com>
parents:
206
diff
changeset
|
4 | FILES=$(echo ./icons/*.* LICENSE LICENSE.icons) |
174
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
5 | |
158
499286fcbf37
Compile the icon resources to a QRC file, so that they are embedded in the application
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
6 | printf "" > $QRCFILE |
499286fcbf37
Compile the icon resources to a QRC file, so that they are embedded in the application
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
7 | |
499286fcbf37
Compile the icon resources to a QRC file, so that they are embedded in the application
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
8 | printf "<!DOCTYPE RCC>\n<RCC version=\"1.0\">\n<qresource>\n" >> $QRCFILE |
499286fcbf37
Compile the icon resources to a QRC file, so that they are embedded in the application
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
9 | |
174
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
10 | # Make sure that whatever goes to QRC is added to the repo. |
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
11 | # I keep forgetting to do this myself. |
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
12 | for line in $(hg status $FILES |grep "?"); do |
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
13 | if [ "$line" != "?" ]; then |
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
14 | echo "hg add $line" |
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
15 | hg add $line; |
206
c069e7b5f5f3
Added icons for Isecalc and coordinate replacer
Santeri Piippo <crimsondusk64@gmail.com>
parents:
191
diff
changeset
|
16 | |
c069e7b5f5f3
Added icons for Isecalc and coordinate replacer
Santeri Piippo <crimsondusk64@gmail.com>
parents:
191
diff
changeset
|
17 | echo "pngout $line" |
c069e7b5f5f3
Added icons for Isecalc and coordinate replacer
Santeri Piippo <crimsondusk64@gmail.com>
parents:
191
diff
changeset
|
18 | pngout $line |
174
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
19 | fi |
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
20 | done |
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
21 | |
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
22 | for f in $FILES; do |
963697b36118
Added rectifier interface
Santeri Piippo <crimsondusk64@gmail.com>
parents:
158
diff
changeset
|
23 | printf "\t<file>$f</file>\n" >> $QRCFILE |
158
499286fcbf37
Compile the icon resources to a QRC file, so that they are embedded in the application
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
24 | done |
499286fcbf37
Compile the icon resources to a QRC file, so that they are embedded in the application
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
25 | |
191
9bb6a17305ad
Readded BFC red-green view, although determining inversion isn't always correct and it cannot handle CW-certified files...
Santeri Piippo <crimsondusk64@gmail.com>
parents:
174
diff
changeset
|
26 | printf "</qresource>\n</RCC>\n" >> $QRCFILE |