nanogui: Re: Multiple famebuffer - nanoX build


Previous by date: 17 Nov 2000 07:24:35 -0000 Limitation on small memory system, CCYau
Next by date: 17 Nov 2000 07:24:35 -0000 Re: Multiple famebuffer, Marc Nijdam
Previous in thread:
Next in thread:

Subject: Re: Multiple famebuffer - nanoX build
From: Jaswinder Singh ####@####.####
Date: 17 Nov 2000 07:24:35 -0000
Message-Id: <20001117072710.3928.qmail@web4003.mail.yahoo.com>

Dear Alex Holden and others,

--- Alex Holden ####@####.#### wrote:
> On Wed, 15 Nov 2000, Jaswinder Singh wrote:
> > I am using HP690 , please give me some tips how
> you use framebuffer . 
> 
> Please supply more information about the manner in
> which it fails to work.
>

I am facing lot of problem , i start from the scratch
from one by one .

1. First of all i am not able to build nano-X with :-
LINK_APP_INTO_SERVER     = Y

I am attaching my files .

2.What is the use of digits.cl , letters.cl , logfont
, nanogui.ppm , punc.cl .

Is these files are neccary to run nano-X ?

I am asking this question because i am having very
limited space in RAMDISK , so i want to put only
neccesary files , can you tell me small set of files
to run some particular demo.

Thanks,
 
Thank you very much for help.

Happy Hacking !!

Jaswinder.

> -- 
> ------- Alex Holden -------
> http://www.linuxhacker.org/
>  http://www.robogeeks.org/



__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

####################################################################
# Microwindows and Nano-X configuration file
#
# This package can be configured to run on Linux (MIPS, ARM, POWERPC or x86)
# UNIX, ELKS, DJGPP, or RTEMS.
# On Linux, we've got drivers for Linux 2.x framebuffers, X11, or,
# svgalib for VGA hardware.
# In addition, a gpm or direct serial mouse driver can be configured.
# On ELKS, the bios screen driver and serial mouse driver are always used.
#
# Either Microwindows and/or Nano-X can be built.
# Microwindows and Nano-X have several demos.
#
# For MSDOS makes, see mcmwin.mak and mcnanox.mak
####################################################################

####################################################################
#
# build target platform
#
# Valid ARCH values are:
#
# LINUX-NATIVE
# LINUX-ARM
# LINUX-MIPS
# LINUX-POWERPC
# LINUX-SH
# FREEBSD-X86
# SOLARIS
# RTEMS
# DJGPP
# ELKS
#
# note: ELKS can't build client/server nano-X, nor widget lib
#
####################################################################
ARCH                     = LINUX-SH
ARMTOOLSPREFIX           = arm-linux-
MIPSTOOLSPREFIX          = mipsel-linux-
POWERPCTOOLSPREFIX       = powerpc-linux-
SHTOOLSPREFIX            = sh-linux-gnu-
RTEMSTOOLSPREFIX         = i386-rtemself-

####################################################################
#
# Compiling options
#
####################################################################
OPTIMIZE                 = Y
DEBUG                    = N
VERBOSE                  = N

####################################################################
#
# Libraries to build: microwin, nano-X, nanowidget, object frameworks
#
####################################################################
MICROWIN                 = N
NANOX                    = Y
SHAREDLIBS               = N
NWIDGET                  = Y
OBJFRAMEWORK             = N


####################################################################
#
# Demos to build
#
####################################################################
MICROWINDEMO             = N
NANOXDEMO                = Y

####################################################################
#
# Applications to build
#
####################################################################
NANOWM                   = Y

####################################################################
#
# The pixeltype of the native hardware or underlying graphics library.
# This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
# If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
# It also enables GdArea/GrArea for this particular pixel packing format.
#
# define MWPF_PALETTE       /* pixel is packed 8 bits 1, 4 or 8 pal index*/
# define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
# define MWPF_TRUECOLOR888  /* pixel is packed 24 bits 8/8/8 truecolor*/
# define MWPF_TRUECOLOR565  /* pixel is packed 16 bits 5/6/5 truecolor*/
# define MWPF_TRUECOLOR332  /* pixel is packed 8 bits 3/3/2 truecolor*/
#
####################################################################
SCREEN_PIXTYPE           = MWPF_TRUECOLOR0888

####################################################################
#
# NanoX: Put Y to the following line to link the nano-X application
# with the server.  This is required for ELKS, if no network is present,
# or for speed or debugging.  This affects the nano-X server only.
#
####################################################################
LINK_APP_INTO_SERVER     = Y

####################################################################
#
# File I/O support
# Supporting either below drags in libc stdio, which may not be wanted
#
####################################################################
HAVE_FILEIO              = Y

####################################################################
# BMP, GIF reading support
####################################################################
HAVE_BMP_SUPPORT         = Y
HAVE_GIF_SUPPORT         = Y
HAVE_XPM_SUPPORT         = Y

####################################################################
# JPEG support through libjpeg, see README.txt in contrib/jpeg
####################################################################
HAVE_JPEG_SUPPORT        = N
INCJPEG                  = .
LIBJPEG                  = /usr/lib/libjpeg.a

####################################################################
# T1 adobe type1 font support thru t1lib
####################################################################
HAVE_T1LIB_SUPPORT       = N
INCT1LIB                 = /usr/include
LIBT1LIB                 = /usr/lib/libt1.a

####################################################################
# TrueType font support thru FreeType
####################################################################
HAVE_FREETYPE_SUPPORT    = N
INCFTLIB                 = /usr/include
LIBFTLIB                 = /usr/lib/libttf.so
FREETYPE_FONT_DIR        = "/usr/local/microwin/fonts"

####################################################################
# Shared memory support for Nano-X client/server protocol speedup
####################################################################
HAVE_SHAREDMEM_SUPPORT   = N

####################################################################
# Chinese Han Zi Ku font support
####################################################################
HAVE_HZK_SUPPORT         = N
HZK_FONT_DIR             = "fonts/chinese"

####################################################################
# Chinese BIG5 compiled in font support (big5font.c)
####################################################################
HAVE_BIG5_SUPPORT        = N

####################################################################
# Chinese GB2312 compiled in font support (gb2312font.c)
####################################################################
HAVE_GB2312_SUPPORT      = N

####################################################################
# Generate screen driver interface only with no fonts or clipping
####################################################################
NOFONTSORCLIPPING        = N

####################################################################
#
# Window move algorithms for Microwindows
# Change for tradeoff between cpu speed and looks
# ERASEMOVE repaints only backgrounds while window dragging, quicker.
# Otherwise an XOR redraw is used for window moves only after button up,
# quickest (should set for ELKS)
# UPDATEREGIONS paints in update clipping region only for better look and feel
#
####################################################################
ERASEMOVE                = Y
UPDATEREGIONS            = Y

####################################################################
#
# Use MS fonts (default no)
#
####################################################################
HAVEMSFONTS              = N

####################################################################
#
# Link with Gray Palette (valid only for 4bpp modes)
#
####################################################################
GRAYPALETTE              = N

####################################################################
#
# If the platform is running UNIX, Linux or RTEMS...
#
####################################################################
ifneq ($(ARCH), ELKS)

# X Window screen, mouse and kbd drivers
X11                      = N

ifeq ($(X11), Y)
# predefined model or select screen width, height, depth(palette mode only)
SCREEN_E15               = N
SCREEN_WIDTH             = 640
SCREEN_HEIGHT            = 480
SCREEN_DEPTH             = 4

else

# framebuffer screen driver (linear and/or vga 4 planes)
# set VTSWITCH to include virtual terminal switch code
# set PORTRAIT_MODE to L or R for left or right orientation
# set FBREVERSE to reverse bit orders in 1,2,4 bpp
# set FBVGA=N for all systems without VGA hardware (for MIPS must=N)
FRAMEBUFFER              = Y
FBVGA                    = N
VTSWITCH                 = Y
PORTRAIT_MODE            = N
FBREVERSE                = N

# svgalib screen driver
VGALIB                   = N

# direct VGA hardware access screen driver
HWVGA                    = N

####################################################################
# Mouse or touch screen driver
# TPMOUSE for Linux-VR and Embedded Planet
# TPHELIO for VTech Helio
# ADSMOUSE for ADS Graphics Client
# IPAQMOUSE for Compaq iPAQ
# HARRIERMOUSE for NEC Harrier
# PSIONMOUSE for the Psion 5
####################################################################
GPMMOUSE                 = Y
SERMOUSE                 = N
TPMOUSE                  = N
TPHELIO                  = N
ADSMOUSE                 = N
IPAQMOUSE                = N
HARRIERMOUSE             = N
PSIONMOUSE               = N
NOMOUSE                  = N

# keyboard or null kbd driver
TTYKBD                   = Y
PIPEKBD                  = N
NOKBD                    = N

endif

####################################################################
# Screen driver specific configuration
# SA1100_LCD_LTLEND 4bpp driver with arm SA1100 LCD controller
# INVERT4BPP 4bpp inverted pixel driver for VTech Helio
####################################################################
SA1100_LCD_LTLEND        = N
INVERT4BPP               = N

####################################################################
#
# If the platform is a RTEMS box ....
#
####################################################################
ifeq ($(ARCH), RTEMS)

# Location & BSP information of the RTEMS build
RTEMS_BUILD              = /tools/build-i386-elf-rtems
RTEMS_BSP                = pc386
LINK_APP_INTO_SERVER     = Y

endif

endif

####################################################################
#
# If the platform is an ELKS box ...
#
####################################################################
ifeq ($(ARCH), ELKS)

# Higher speed asm driver, c driver of hercules screen driver
ASMVGADRIVER             = Y
CVGADRIVER               = N
HERCDRIVER               = N
DBGDRIVER                = N

# Mouse support
SERMOUSE                 = Y

endif

Updating dependencies in /home/jaswinder/microwin/src/drivers ...
Compiling fblin8.c ...
Compiling fblin16.c ...
Compiling fblin24.c ...
Compiling fblin32.c ...
Compiling genmem.c ...
Compiling fb.c ...
Compiling fblin1.c ...
Compiling fblin2.c ...
Compiling genfont.c ...
Compiling scr_fb.c ...
Compiling fblin4.c ...
Compiling vtswitch.c ...
Compiling mou_gpm.c ...
Compiling kbd_tty.c ...
Creating library /home/jaswinder/microwin/src/lib/libmwdrivers.a ...
Updating dependencies in /home/jaswinder/microwin/src/engine ...
Compiling devopen.c ...
Compiling devdraw.c ...
Compiling devfont.c ...
Compiling devmouse.c ...
Compiling devkbd.c ...
Compiling devclip.c ...
Compiling devrgn.c ...
Compiling devpal1.c ...
Compiling devpal2.c ...
Compiling devimage.c ...
Compiling devlist.c ...
Compiling selfont.c ...
Compiling error.c ...
Compiling devrgn2.c ...
Compiling devarc.c ...
Compiling devpal8.c ...
Compiling devpal4.c ...
Creating library /home/jaswinder/microwin/src/lib/libmwengine.a ...
Updating dependencies in /home/jaswinder/microwin/src/fonts ...
Compiling helvB10.c ...
Compiling helvB12.c ...
Compiling helvR10.c ...
Compiling symbol.c ...
Compiling rom8x16.c ...
Compiling rom8x8.c ...
Compiling winFreeSansSerif11x13.c ...
Compiling winFreeSystem14x16.c ...
Compiling X5x7.c ...
Compiling X6x13.c ...
Creating library /home/jaswinder/microwin/src/lib/libmwfonts.a ...
Creating library /home/jaswinder/microwin/src/lib/libmwobjects.a ...
Updating dependencies in /home/jaswinder/microwin/src/nanox ...
Compiling srvmain.c ...
Compiling srvfunc.c ...
Compiling srvutil.c ...
Compiling srvevent.c ...
Compiling srvclip.c ...
Compiling nxdraw.c ...
Compiling nxutil.c ...
Creating library /home/jaswinder/microwin/src/lib/libnano-X.a ...
Updating dependencies in /home/jaswinder/microwin/src/nwidget ...
Compiling nclass.c ...
Compiling nwidget.c ...
Compiling nbutton.c ...
Compiling ntoggle.c ...
Compiling nradio.c ...
Compiling nslider.c ...
Compiling ntextfield.c ...
Compiling nrender.c ...
Compiling nlistview.c ...
Creating library /home/jaswinder/microwin/src/lib/libnwidget.a ...
Updating dependencies in /home/jaswinder/microwin/src/demos/nanowm ...
Compiling nanowm.c ...
Compiling events.c ...
Compiling wlist.c ...
Compiling clients.c ...
Compiling actions.c ...
Updating dependencies in /home/jaswinder/microwin/src/demos/nanox ...
Compiling demo.c ...
Compiling move.c ...
Compiling landmine.c ...
Compiling world.c ...
Compiling nxclock.c ...
Compiling nxterm.c ...
Compiling nxlsclients.c ...
Compiling nxev.c ...
Compiling npanel.c ...
Compiling nterm.c ...
Compiling demo2.c ...
Compiling demo3.c ...
Compiling demo5.c ...
Compiling demo6.c ...
Compiling t1demo.c ...
Compiling ftdemo.c ...
Compiling logfont.c ...
Compiling slider.c ...
Updating dependencies in /home/jaswinder/microwin/src/demos/nwidget ...
Compiling ntest.c ...
Updating dependencies in /home/jaswinder/microwin/src/demos/nxkbd ...
Compiling nxkbd.c ...
Compiling srvconn.c ...
Compiling keynorm.c ...
Compiling keyctrl.c ...
Compiling keyshft.c ...
Compiling keynum.c ...
Updating dependencies in /home/jaswinder/microwin/src/demos/nxscribble ...
Compiling nxscribble.c ...
Compiling scribwidget.c ...
Compiling hre_api.c ...
Compiling li_recognizer.c ...
Compiling bitvector.c ...
Compiling matrix.c ...
Compiling sc.c ...
Compiling util.c ...
Updating dependencies in /home/jaswinder/microwin/src/demos/vnc/libvncauth ...
Compiling d3des.c ...
Compiling vncauth.c ...
Creating library /home/jaswinder/microwin/src/lib/libvncauth.a ...
Updating dependencies in /home/jaswinder/microwin/src/demos/vnc/vncviewer ...
Compiling args.c ...
Compiling rfbproto.c ...
Compiling sockets.c ...
Compiling vncviewer.c ...
Compiling nanox.c ...
s

ls -l bin
total 4540
-rwxrwxr-x   1 root     root       169919 Nov 17 07:32 demo
-rwxrwxr-x   1 root     root       166420 Nov 17 07:32 demo2
-rwxrwxr-x   1 root     root       166576 Nov 17 07:32 demo3
-rwxrwxr-x   1 root     root       169770 Nov 17 07:32 demo5
-rwxrwxr-x   1 root     root       167458 Nov 17 07:32 demo6
-rw-r--r--   1 root     root        41147 Nov 17 07:32 digits.cl
-rwxrwxr-x   1 root     root       167758 Nov 17 07:32 ftdemo
-rwxrwxr-x   1 root     root       175650 Nov 17 07:32 landmine
-rw-r--r--   1 root     root       128168 Nov 17 07:32 letters.cl
-rwxrwxr-x   1 root     root       167064 Nov 17 07:32 logfont
-rwxrwxr-x   1 root     root       166678 Nov 17 07:32 move
-rw-r--r--   1 root     root        95630 Nov 17 07:32 nanogui.ppm
-rwxrwxr-x   1 root     root       173150 Nov 17 07:32 nanowm
-rwxrwxr-x   1 root     root       169544 Nov 17 07:32 npanel
-rwxrwxr-x   1 root     root       169080 Nov 17 07:32 nterm
-rwxrwxr-x   1 root     root       179339 Nov 17 07:32 ntest
-rwxrwxr-x   1 root     root       171125 Nov 17 07:32 nxclock
-rwxrwxr-x   1 root     root       168657 Nov 17 07:32 nxev
-rwxrwxr-x   1 root     root       174111 Nov 17 07:32 nxkbd
-rwxrwxr-x   1 root     root       169409 Nov 17 07:32 nxlsclients
-rwxrwxr-x   1 root     root       216527 Nov 17 07:32 nxscribble
-rwxrwxr-x   1 root     root       178031 Nov 17 07:32 nxterm
-rw-r--r--   1 root     root        70368 Nov 17 07:32 punc.cl
-rwxrwxr-x   1 root     root       168838 Nov 17 07:32 slider
-rwxrwxr-x   1 root     root       166778 Nov 17 07:32 t1demo
-rwxrwxr-x   1 root     root       196619 Nov 17 07:33 vnc
-rwxrwxr-x   1 root     root       171026 Nov 17 07:32 world
-rw-r--r--   1 root     root       156828 Nov 17 07:32 world.map

---

ls -l lib
total 284
-rw-rw-r--   1 root     root        54088 Nov 17 07:31 libmwdrivers.a
-rw-rw-r--   1 root     root        67822 Nov 17 07:32 libmwengine.a
-rw-rw-r--   1 root     root        50888 Nov 17 07:32 libmwfonts.a
-rw-rw-r--   1 root     root            8 Nov 17 07:32 libmwobjects.a
-rw-rw-r--   1 root     root        51432 Nov 17 07:32 libnano-X.a
-rw-rw-r--   1 root     root        25912 Nov 17 07:32 libnwidget.a
-rw-rw-r--   1 root     root         7662 Nov 17 07:32 libvncauth.a

Previous by date: 17 Nov 2000 07:24:35 -0000 Limitation on small memory system, CCYau
Next by date: 17 Nov 2000 07:24:35 -0000 Re: Multiple famebuffer, Marc Nijdam
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.