[Rule-list] Re: [Rule-list] TinyX and RULE
Michael Fratoni
mfratoni at tuxfan.homeip.net
Mon Nov 18 14:56:57 EET 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 18 November 2002 04:41 am, Marco Fioretti wrote:
> I haven't managed to try the 19 MB slinky iso yet because the
> laptop waiting for it has some 200/300 MB of stuff that I cannot
> risk to loose and most move somewhere else first (i.e make to
> work the only PCMCIA card I have). Once I make it, your kdrive
> will be the first thing I'll try.
> Miscellanea:
>
> 1) When I was looking for "windows callable by shell scripts" some days
> ago, I subscribed to the Xpert list to have tips (they gave Xdialog
> and conmem, look at the new RULE sw database). In the same days
> however, started a "ways to reduce the size of X" thread which gives
> also info on kdrive. Have a look at:
> http://www.xfree86.org/pipermail/xpert/2002-November/thread.html
>
> if you didn't find it already.
I hadn't found that, thanks for the link. One thing that is missing in
almost all of the info I found a copy of the config file that people used
to build kdrive. I'm not subscribed to that list, perhaps you could ask
those that have built kdrive to post their host.def config files and pass
any replies along?
It is non trivial to get the options needed right.
Here are the steps I used to build kdrive.
I installed the XFree86.src.rpm from the Red Hat 8.0 release to avoid
downloading the source. Then I unziped and extracted the tar archive.
cd [path/to/archive/]xc/config/cf/
created a 'host.def' file containing:
#define KDriveXServer YES
#define TinyXServer YES
#define XvesaServer YES
#define ProjectRoot /usr/X11R6
#define BuildLBX YES
#define BuildDBE YES
#define KdriveServerExtraDefines -DPIXPRIV
#define BuildRandR YES
#define BuildXInputLib YES
#define Freetype2Dir $(TOP)/extras/freetype2
#define Freetype2LibDir $(TOP)/exports/lib
#define BuildXTrueType YES
#define BuildScreenSaverExt YES
#define BuildScreenSaverLibrary YES
#define SharedLibXss YES
#define ServerXdmcpDefines
#define XfbdevServer YES
cd ../../
make World
cp programs/Xserver/Xfbdev [to the target system]/usr/X11r6/bin/
As already mentioned, the target system already had the full stock glibc
and XFree86 packages installed.
The defines above could probably use some work, but did allow me to build
the servers. I came up with them from the suggestions on several
different sites.
The only thing I've used so far is the server binaries. I plan to build it
all again, linking against uClibc, then I'll make an rpm package for both
Xfree86 and uClibc, and test it on a slinky install.
> 3) (for the summary above) please post, here or privately, top outputs.
[root at conundrum root]# top - n 1 -b > top.out
[root at conundrum root]# less top.out
7:25am up 9:00, 3 users, load average: 0.00, 0.02, 0.00
40 processes: 38 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 1.1% user, 0.4% system, 0.0% nice, 98.4% idle
Mem: 37740K av, 27364K used, 10376K free, 0K shrd, 4836K buff
Swap: 193528K av, 8752K used, 184776K free 12288K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
1257 root 15 0 912 912 736 R 9.0 2.4 0:00 top
1 root 15 0 128 96 96 S 0.0 0.2 0:07 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:00 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
5 root 15 0 0 0 0 SW 0.0 0.0 0:03 kswapd
6 root 15 0 0 0 0 SW 0.0 0.0 0:00 bdflush
7 root 15 0 0 0 0 SW 0.0 0.0 0:00 kupdated
8 root 25 0 0 0 0 SW 0.0 0.0 0:00 mdrecoveryd
12 root 15 0 0 0 0 SW 0.0 0.0 0:02 kjournald
103 root 15 0 0 0 0 SW 0.0 0.0 0:00 kjournald
227 root 15 0 188 32 32 S 0.0 0.0 0:00 cardmgr
360 root 15 0 220 172 172 S 0.0 0.4 0:00 syslogd
365 root 15 0 164 112 112 S 0.0 0.2 0:00 klogd
374 rpc 15 0 104 32 32 S 0.0 0.0 0:00 portmap
407 root 15 0 80 32 32 S 0.0 0.0 0:00 apmd
419 root 25 0 416 200 200 S 0.0 0.5 0:16 sshd
433 root 15 0 156 32 32 S 0.0 0.0 0:00 xinetd
452 root 15 0 836 368 304 S 0.0 0.9 0:00 sendmail
462 smmsp 15 0 664 288 256 S 0.0 0.7 0:00 sendmail
472 root 15 0 188 156 156 S 0.0 0.4 0:00 gpm
481 root 15 0 220 184 164 S 0.0 0.4 0:00 crond
512 xfs 15 0 2324 80 80 S 0.0 0.2 0:00 xfs
528 root 18 0 260 32 32 S 0.0 0.0 0:01 login
529 root 15 0 80 32 32 S 0.0 0.0 0:00 mingetty
530 root 15 0 80 32 32 S 0.0 0.0 0:00 mingetty
531 root 16 0 80 32 32 S 0.0 0.0 0:00 mingetty
532 root 15 0 80 32 32 S 0.0 0.0 0:00 mingetty
533 root 15 0 80 32 32 S 0.0 0.0 0:00 mingetty
536 mfratoni 15 0 732 556 556 S 0.0 1.4 0:00 bash
639 root 16 0 964 844 768 S 0.0 2.2 0:00 bash
695 root 15 0 6744 3844 1308 S 0.0 10.1 2:05 X
697 mfratoni 15 0 3004 2332 1732 S 0.0 6.1 1:08 fluxbox
711 mfratoni 15 0 636 488 464 S 0.0 1.2 0:00 ssh-agent
716 mfratoni 15 0 2048 1716 1436 S 0.0 4.5 0:02 xterm
718 mfratoni 15 0 1328 1040 1020 S 0.0 2.7 0:00 bash
822 root 16 0 784 612 612 S 0.0 1.6 0:00 su
825 root 15 0 1340 1036 1036 S 0.0 2.7 0:00 bash
- --
- -Michael
pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE92OOZn/07WoAb/SsRAvPPAJ4+tY2MZF8R2fUiqZ82THHmqcwSmgCgoPel
e/B7CQ6vnj91GhpRJV5kAJI=
=yc+k
-----END PGP SIGNATURE-----
_______________________________________________
Rule Project HOME PAGE: http://www.rule-project.org/rule/
Original Rule Development Site http://savannah.gnu.org/projects/rule/
Original RULE mailing list: Rule-list at nongnu.org, hosted at http://mail.nongnu.org/mailman/listinfo/rule-list
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here