/usr/bin/edje_recc is in libedje-bin 1.8.6-2.5+b2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | #!/bin/sh
set -e
usage () {
echo "Usage:"
echo " edje_recc [OPTIONS] input_file.edj"
echo ""
echo "Where OPTIONS is one or more of:"
echo ""
echo "-v Verbose output"
echo "-no-lossy Do NOT allow images to be lossy"
echo "-no-comp Do NOT allow images to be lossless compression"
echo "-no-raw Do NOT allow images to be zero compression"
echo "-min-quality VAL Do NOT allow lossy images with quality < VAL (0-100)"
echo "-max-quality VAL Do NOT allow lossy images with quality > VAL (0-100)"
exit -1
}
if [ $# -lt 1 ]; then
usage
fi
OPT=""
if [ $# -ge 1 ]; then
for I in $@; do
case "$I" in
-h)
usage
;;
-help)
usage
;;
--help)
usage
;;
*.edj)
IN=$I
;;
*)
OPT=$OPT" "$I
;;
esac
done
fi
if [ -z "$IN" ]; then
echo "ERROR: NO input file.edj provided!"
echo ""
usage;
fi
F=`basename $IN`
B=`basename $F .edj`
T="./...edje_tmp"
rm -rf $T
mkdir -p $T
cp $IN $T
cd $T
edje_decc $F
cd $B
./build.sh $OPT
cd ../..
mv $T/$B/$F $IN
rm -rf $T
|