Gentoo Archives: gentoo-embedded

From: Marc Blumentritt <marc.blumentritt@×××××.de>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] reducing size of X
Date: Tue, 27 Nov 2007 18:49:05
Message-Id: fihoml$c02$1@ger.gmane.org
1 Hi,
2
3 I have to use X for my application (vdr), but X (and dependencies) take
4 a lot of space, which I want to reduce. Most of it can be found under
5 /usr/share:
6
7 (build) hive mediamachine # du --max-depth=1 -h devroot/usr/share/
8 132K devroot/usr/share/eselect
9 24K devroot/usr/share/busybox
10 8.0K devroot/usr/share/xsessions
11 12K devroot/usr/share/my_layout
12 356K devroot/usr/share/ntp
13 4.0K devroot/usr/share/man
14 8.0K devroot/usr/share/hwdata
15 20K devroot/usr/share/et
16 24K devroot/usr/share/baselayout
17 28K devroot/usr/share/aclocal
18 12K devroot/usr/share/ss
19 16K devroot/usr/share/xorg
20 4.0K devroot/usr/share/info
21 4.0K devroot/usr/share/doc
22 752K devroot/usr/share/fluxbox
23 12M devroot/usr/share/fonts
24 1.6M devroot/usr/share/misc
25 5.4M devroot/usr/share/X11
26 20M devroot/usr/share/
27 (build) hive mediamachine # du --max-depth=1 -h devroot/usr/share/X11/
28 12K devroot/usr/share/X11/app-defaults
29 3.0M devroot/usr/share/X11/xkb
30 2.3M devroot/usr/share/X11/locale
31 5.4M devroot/usr/share/X11/
32
33 The big apples are /usr/share/fonts, /usr/share/X11/xkb, and
34 /usr/share/X11/locale. These dirs contain this:
35
36 (build) hive mediamachine # ls devroot/usr/share/fonts/
37 100dpi 75dpi Type1 cyrillic encodings misc ttf-bitstream-vera
38 (build) hive mediamachine # ls devroot/usr/share/X11/xkb/
39 compat geometry keycodes.dir rules symbols
40 types.dir
41 compat.dir geometry.dir keymap semantics symbols.dir xkbcomp
42 compiled keycodes keymap.dir semantics.dir types
43 (build) hive mediamachine # ls devroot/usr/share/X11/locale/
44 C iso8859-11 iso8859-9e locale.alias vi_VN.tcvn
45 armscii-8 iso8859-13 ja locale.dir vi_VN.viscii
46 compose.dir iso8859-14 ja.JIS microsoft-cp1251 zh_CN
47 el_GR.UTF-8 iso8859-15 ja.S90 microsoft-cp1255 zh_CN.UTF-8
48 en_US.UTF-8 iso8859-2 ja.SJIS microsoft-cp1256 zh_CN.gb18030
49 georgian-academy iso8859-3 ja.U90 mulelao-1 zh_CN.gbk
50 georgian-ps iso8859-4 ja_JP.UTF-8 nokhchi-1 zh_HK.UTF-8
51 ibm-cp1133 iso8859-5 ko pt_BR.UTF-8 zh_HK.big5
52 iscii-dev iso8859-6 ko_KR.UTF-8 tatar-cyr zh_HK.big5hkscs
53 isiri-3342 iso8859-7 koi8-c th_TH zh_TW
54 iso8859-1 iso8859-8 koi8-r th_TH.UTF-8 zh_TW.UTF-8
55 iso8859-10 iso8859-9 koi8-u tscii-0 zh_TW.big5
56
57
58 Now I'm wondering, if I really need all this stuff. At the moment I plan
59 to run an English system, perhaps adding German, both unicode. I do not
60 need fancy X fonts for vdr. Do you have any suggestions, what I can
61 delete and what I should keep?
62
63 Regards,
64 Marc
65
66 --
67 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] reducing size of X Arkadi Shishlov <arkadi@××××××.lv>