OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [net/] [vnc_server/] [current/] [cdl/] [vnc-server.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      vnc-server.cdl
4
#
5
#      VNC Server configuration data
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
#==========================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):    Chris Garry 
43
# Contributors:
44
# Date:         2003-08-22
45
# Purpose:
46
# Description:  eCos VNC Server configuration data
47
#
48
#####DESCRIPTIONEND####
49
#
50
#========================================================================*/
51
 
52
 
53
cdl_package CYGPKG_VNC_SERVER {
54
    display       "VNC Server"
55
    doc           doc/vnc-server.html
56
    include_dir   .
57
    requires      (CYGNUM_VNC_SERVER_PIXEL_SELECTED <= 1)
58
    requires      CYGPKG_IO
59
    requires      (CYGPKG_NET || CYGPKG_NET_LWIP)
60
    description   "VNC Server."
61
    compile vnc-server.c
62
    compile -library=libextras.a init.cxx
63
 
64
    cdl_option CYGNUM_VNC_SERVER_PORT {
65
        display "VNC server port number"
66
        flavor   data
67
        default_value 5900
68
        description "Port VNC server will listen on for client connection.
69
                     This defaults to the standard port 5900, but may
70
                     be changed to any other port number if required."
71
    }
72
 
73
    cdl_option CYGDAT_VNC_DESKTOP_NAME {
74
        display "VNC Desktop Name"
75
        flavor   data
76
        default_value { "\"eCos Desktop\"" }
77
        description "This is the string that will be sent to the client
78
                     in the ServerInitialisation message as the desktop
79
                     name."
80
    }
81
 
82
    cdl_option CYGNUM_VNC_SERVER_DELAY {
83
        display "VNC server startup delay"
84
        flavor data
85
        default_value 0
86
        description "This defines the number of system clock ticks that the VNC
87
                     server will wait before initializing itself and spawning any
88
                     extra server threads. This is to give the application a chance
89
                     to initialize properly without any interference from the VNC
90
                     server."
91
    }
92
 
93
    cdl_option CYGNUM_VNC_SERVER_PRIORITY {
94
        display "VNC server thread priority"
95
        flavor data
96
        default_value { CYGNUM_KERNEL_SCHED_PRIORITIES-2 }
97
        legal_values 0 to CYGNUM_KERNEL_SCHED_PRIORITIES
98
        description "This sets the priority of the VNC server threads.
99
                     The default priority is 1 above the lowest priority."
100
    }
101
 
102
    cdl_component CYGPKG_VNC_SERVER_ENCODING_OPTIONS {
103
        display "Encoding options"
104
        flavor  none
105
    no_define
106
 
107
        cdl_component CYGNUM_VNC_SERVER_USE_CORRE_ENCODING {
108
            display     "Use CoRRE encoding"
109
            flavor bool
110
            default_value 1
111
            description "This option causes the VNC server to use
112
            CoRRE encoding on the display data it sends to the client
113
            (vncviewer program). If an encoded data packet works out
114
            larger than the RAW data packet, then that packet is sent
115
            as raw data anyway.  If this option is not selected, or
116
            the client does not support CoRRE encoding, then the display
117
            data is sent as raw data."
118
 
119
            cdl_option CYGNUM_VNC_SERVER_CORRE_ENCODING_HACK {
120
                display     "Work-around CoRRE bug in vncviewer"
121
                flavor bool
122
                default_value 1
123
                description "Some versions of the vncviewer program have
124
                a bug where they don't display the background colour when
125
                CoRRE encoding is used.  This option adds a workaround to
126
                this bug to the VNC server.  Note, this problem is not seen
127
                with the TightVNC viewer."
128
            }
129
        }
130
    }
131
 
132
 
133
    cdl_component CYGPKG_VNC_SERVER_DISPLAY_OPTIONS {
134
        display "Display options"
135
        flavor  none
136
        no_define
137
 
138
        cdl_option CYGNUM_VNC_SERVER_FRAME_WIDTH {
139
        display "Frame width in pixels"
140
            flavor   data
141
            default_value 640
142
            description "This sets the width of the VNC server frame buffer."
143
        }
144
 
145
        cdl_option CYGNUM_VNC_SERVER_FRAME_HEIGHT {
146
            display "Frame heigth in pixels"
147
            flavor   data
148
            default_value 480
149
            description "This sets the height of the VNC server frame buffer."
150
        }
151
 
152
        cdl_option CYGNUM_VNC_SERVER_TILE_SIZE {
153
            display "Display tile size"
154
            flavor   data
155
            default_value 32
156
            legal_values  1 to 255
157
            description "This sets the size of the tile for the VNC server.  The VNC
158
            frame is split into tiles and frame updates to the client are always
159
            multiples of whole tiles.  Note that these tiles are not the same as the
160
            tiles used with Hextile encoding."
161
        }
162
 
163
        cdl_interface CYGNUM_VNC_SERVER_PIXEL_SELECTED {
164
            display     "Pixel format support"
165
        }
166
 
167
        cdl_option CYGNUM_VNC_SERVER_PIXEL_RGB332 {
168
            display     "RGB332 pixel format (8-bit)"
169
            flavor bool
170
            default_value 0
171
            implements CYGNUM_VNC_SERVER_PIXEL_SELECTED
172
            description "This selects 8-bit, RGB332 pixel format."
173
        }
174
 
175
        cdl_option CYGNUM_VNC_SERVER_PIXEL_BGR233 {
176
            display     "BGR233 pixel format (8-bit)"
177
            flavor bool
178
            default_value 1
179
            implements CYGNUM_VNC_SERVER_PIXEL_SELECTED
180
            description "This selects 8-bit, BGR233 pixel format."
181
        }
182
 
183
        cdl_option CYGNUM_VNC_SERVER_PIXEL_RGB555 {
184
            display     "RGB555 pixel format (16-bit)"
185
            flavor bool
186
            default_value 0
187
            implements CYGNUM_VNC_SERVER_PIXEL_SELECTED
188
            description "This selects 16-bit, RGB555 pixel format."
189
        }
190
 
191
        cdl_option CYGNUM_VNC_SERVER_PIXEL_RGB565 {
192
            display     "RGB565 pixel format (16-bit)"
193
            flavor bool
194
            default_value 0
195
            implements CYGNUM_VNC_SERVER_PIXEL_SELECTED
196
            description "This selects 16-bit, RGB565 pixel format."
197
        }
198
 
199
        cdl_option CYGNUM_VNC_SERVER_PIXEL_TRUECOLOR0888 {
200
            display     "True Color pixel format (32-bit)"
201
            flavor bool
202
            default_value 0
203
            implements CYGNUM_VNC_SERVER_PIXEL_SELECTED
204
            description "This selects 32-bit, TRUECOLOR0888 pixel format."
205
        }
206
 
207
        cdl_option CYGNUM_VNC_SERVER_INCLUDE_VNC_PRINTF {
208
            display "Include VncPrintf() function"
209
            flavor        bool
210
            default_value 1
211
            requires      !CYGPKG_MICROWINDOWS
212
            description "If this option is selected, the VNC server will include
213
            the VncPrintf function for writing text to the VNC server frame buffer.
214
            This function is not available if the MicroWindows package is also
215
            included."
216
#            compile -library=libextras.a fonts/winFreeSystem14x16.c
217
            compile                           \
218
                fonts/helvB10.c               \
219
                fonts/helvB12.c               \
220
                fonts/helvR10.c               \
221
                fonts/rom8x16.c               \
222
                fonts/rom8x8.c                \
223
                fonts/symbol.c                \
224
                fonts/winFreeSansSerif11x13.c \
225
                fonts/winFreeSystem14x16.c    \
226
                fonts/X5x7.c                  \
227
                fonts/X6x13.c
228
 
229
 
230
        }
231
 
232
    }
233
 
234
    cdl_component CYGPKG_VNC_SERVER_BUILD_MOUSE_DRIVER {
235
        display "Build VNC mouse driver"
236
        flavor        bool
237
        default_value 1
238
        requires      CYGPKG_IO_FILEIO
239
        description "If this option is selected, the VNC mouse driver will be built.
240
                     If not selected, all mouse data from the VNC client will be
241
                     quietly ignored."
242
        compile -library=libextras.a vnc_mouse.c
243
 
244
 
245
        cdl_option CYGNUM_VNC_SERVER_MOUSE_EVENTS {
246
            display "Number of mouse events for VNC server mouse driver to buffer."
247
            flavor   data
248
            default_value 64
249
            description "This option specifies how many mouse events the
250
            mouse driver can hold before it overflows."
251
        }
252
 
253
        cdl_option CYGDAT_VNC_SERVER_MOUSE_NAME {
254
            display       "Device name for the VNC server mouse driver"
255
            flavor        data
256
            default_value {"\"/dev/vnc_mouse\""}
257
            description   "This option sets the device name for the VNC server mouse."
258
        }
259
    }
260
 
261
    cdl_component CYGPKG_VNC_SERVER_BUILD_KEYBOARD_DRIVER {
262
        display "Build VNC keyboard driver"
263
        flavor        bool
264
        default_value 1
265
        requires      CYGPKG_IO_FILEIO
266
        description "If this option is selected, the VNC keyboard driver will be
267
                     built. If not selected, all keyboard data from the VNC client
268
                     will be quietly ignored."
269
        compile -library=libextras.a vnc_kbd.c
270
 
271
        cdl_option CYGNUM_VNC_SERVER_KEYBOARD_EVENTS {
272
            display "Number of keyboard events for VNC server keyboard driver to buffer."
273
            flavor   data
274
            default_value 64
275
            description "This option specifies how many keystroke events the
276
            keyboard driver can hold before it overflows."
277
        }
278
 
279
        cdl_option CYGDAT_VNC_SERVER_KEYBOARD_NAME {
280
            display       "Device name for the VNC server keyboard driver"
281
            flavor        data
282
            default_value {"\"/dev/vnc_kbd\""}
283
            description   "This option sets the device name for the VNC server keyboard."
284
        }
285
    }
286
 
287
    cdl_option CYGPKG_VNC_SERVER_TESTS {
288
        display "VNC server tests"
289
        flavor  data
290
        no_define
291
        calculated { "tests/vnc-test" }
292
        description   "
293
         This option specifies the set of tests
294
         for the VNC server package."
295
    }
296
}
297
 
298
# EOF vnc-server.cdl

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.