aboutsummaryrefslogtreecommitdiffstats
path: root/make/lstjars.sh
blob: 24bfa39e279f2e1ec9fbbc47da0dc8fd563bc995 (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
#! /bin/sh

cd ../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

mv jogl.all.lst jogl.all.lst.nope

echo duplicates
echo
sort *.lst | uniq -d

cat *.lst | sort > jogl.allparts.lst
mv jogl.all.lst.nope jogl.all.lst

echo jogl.all bs jogl.allparts delta
echo
diff -Nur jogl.allparts.lst jogl.all.lst

echo JOGL ES1 NEWT CORE
du -ksc jogl.core.jar jogl.egl.jar jogl.gles1.jar newt.jar
echo

echo JOGL ES2 NEWT CORE
du -ksc jogl.core.jar jogl.egl.jar jogl.gles2.jar newt.jar
echo

echo JOGL GL2 OSWIN CORE no AWT
du -ksc jogl.core.jar jogl.oswin.jar jogl.gl2.jar newt.jar
echo

echo JOGL GL2 OSWIN with AWT
du -ksc jogl.core.jar jogl.oswin.jar jogl.gl2.jar jogl.awt.jar 
echo

echo JOGL EVERYTHING
du -ksc jogl.all.jar
echo