blob: 4d9a33f5992b9e94069662ecbe51f6d0c57527b9 (
plain)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
#! /bin/sh
THISDIR=$(pwd)
function report() {
#ls -1 -s --block-size=1024 $*
#ls -1 -s --block-size=1024 $* | awk ' BEGIN { sum=0 ; } { sum=sum+$1; } END { printf("%d Total\n", sum); }'
du -ksc $*
}
cd $THISDIR/../build/obj
mkdir -p tmp
cd tmp
rm -f *.so *.so.gz
cp ../*.so .
for i in *.so ; do
gzip $i
done
echo Native Libraries
report *.gz
echo
cd $THISDIR/../build
rm -f *.lst
for i in *.jar ; do
fname=$i
bname=$(basename $fname .jar)
echo list $fname to $bname.lst
jar tf $fname | grep class | sort > $bname.lst
done
mkdir -p nope
mv jogl.all.lst nope/
mv jogl.gl2es12.*.lst jogl.gl2.*.lst nope/
echo duplicates - w/o gl2es12.* gl2.*
echo
sort *.lst | uniq -d
mv nope/* .
mv jogl.all.lst nope/
cat *.lst | sort -u > jogl.allparts.lst
mv nope/* .
echo jogl.all bs jogl.allparts delta
echo
diff -Nur jogl.allparts.lst jogl.all.lst
OSS=x11
echo JOGL ES1 NEWT CORE
report jogl.core.jar jogl.egl.jar jogl.gles1.jar newt.jar obj/tmp/libjogl_es1.so.gz obj/tmp/libnewt.so.gz
echo
echo JOGL ES2 NEWT CORE
report jogl.core.jar jogl.egl.jar jogl.gles2.jar newt.jar obj/tmp/libjogl_es2.so.gz obj/tmp/libnewt.so.gz
echo
echo JOGL ES2 NEWT CORE FIXED
report jogl.core.jar jogl.egl.jar jogl.gles2.jar jogl.fixed.jar newt.jar obj/tmp/libjogl_es2.so.gz obj/tmp/libnewt.so.gz
echo
echo JOGL GL2ES12 NEWT
report jogl.core.jar jogl.gl2es12.$OSS.jar newt.jar obj/tmp/libjogl_gl2es12.so.gz obj/tmp/libnewt.so.gz
echo
echo JOGL GL2 NEWT
report jogl.core.jar jogl.gl2.$OSS.jar newt.jar obj/tmp/libjogl_gl2.so.gz obj/tmp/libnewt.so.gz
echo
echo JOGL GL2 AWT
report jogl.core.jar jogl.gl2.$OSS.jar jogl.awt.jar obj/tmp/libjogl_gl2.so.gz obj/tmp/libjogl_awt.so.gz
echo
echo JOGL GLU
report jogl.glu.*jar
echo
echo JOGL EVERYTHING
report jogl.all.jar
echo
|