blob: 8ad2bced07cd0e65ac013865d56f21af78ad4335
| 1 | #!/bin/sh |
| 2 | |
| 3 | # |
| 4 | # A script that symlinks source files from monolithic to modular |
| 5 | # |
| 6 | # Author: Soren Sandmann (sandmann@redhat.com) |
| 7 | # |
| 8 | |
| 9 | # |
| 10 | # Things we would like to do |
| 11 | # |
| 12 | # - Check that all the relevant files exist |
| 13 | # - AUTHORS, autogen.sh, configure.ac, ... |
| 14 | # - Check that we have actually linked everything |
| 15 | # - if a file doesn't need to be linked, then it needs |
| 16 | # to be listed as "not-linked" |
| 17 | # - Compute diffs between all the files (shouldn't be necessary) |
| 18 | # - possibly check that files are listet in Makefile.am's |
| 19 | # - Clean target directory of irrelevant files |
| 20 | # |
| 21 | |
| 22 | check_destinations () { |
| 23 | # don't do anything - we are relying on the side |
| 24 | # effect of dst_dir |
| 25 | true |
| 26 | } |
| 27 | |
| 28 | check_exist() { |
| 29 | # Check whether $1 exists |
| 30 | |
| 31 | if [ ! -e $1 ] ; then |
| 32 | error "$1 not found" |
| 33 | fi |
| 34 | |
| 35 | if [ -d $1 ] ; then |
| 36 | error "$1 is a directory" |
| 37 | fi |
| 38 | |
| 39 | } |
| 40 | |
| 41 | delete_existing() { |
| 42 | # Delete $2 |
| 43 | |
| 44 | rm -f $2 |
| 45 | } |
| 46 | |
| 47 | link_files() { |
| 48 | # Link $1 to $2 |
| 49 | |
| 50 | if [ ! -e $2 ] ; then |
| 51 | ln -s $1 $2 |
| 52 | fi |
| 53 | } |
| 54 | |
| 55 | run_symlink() { |
| 56 | run check_destinations "Creating destination directories" |
| 57 | run check_exist "Checking that the source files exist" |
| 58 | run delete_existing "Deleting existing files" |
| 59 | run link_files "Linking files" |
| 60 | } |
| 61 | |
| 62 | |
| 63 | ######### |
| 64 | # |
| 65 | # The proto module |
| 66 | # |
| 67 | ######### |
| 68 | |
| 69 | # Core protocol |
| 70 | |
| 71 | symlink_proto_core() { |
| 72 | src_dir include |
| 73 | dst_dir proto/X11 |
| 74 | |
| 75 | action ap_keysym.h # not used anywhere |
| 76 | action DECkeysym.h |
| 77 | action HPkeysym.h # not used anywhere |
| 78 | action keysymdef.h |
| 79 | action keysym.h |
| 80 | action Sunkeysym.h |
| 81 | action Xalloca.h |
| 82 | action Xarch.h |
| 83 | action Xatom.h |
| 84 | action Xdefs.h |
| 85 | action XF86keysym.h # only used in server |
| 86 | # action Xfuncproto.h this file is configurable in the modular tree |
| 87 | action Xfuncs.h |
| 88 | action X.h |
| 89 | action Xmd.h |
| 90 | action Xosdefs.h |
| 91 | action Xos.h |
| 92 | action Xos_r.h |
| 93 | action Xpoll.h.in |
| 94 | action Xproto.h |
| 95 | action Xprotostr.h |
| 96 | action Xthreads.h # not used in server |
| 97 | action Xw32defs.h |
| 98 | action XWDFile.h |
| 99 | action Xwindows.h |
| 100 | action Xwinsock.h |
| 101 | } |
| 102 | |
| 103 | # Extension protocols |
| 104 | |
| 105 | symlink_proto_applewm() { |
| 106 | src_dir lib/apple |
| 107 | dst_dir proto/AppleWM |
| 108 | |
| 109 | action applewm.h |
| 110 | action applewmstr.h |
| 111 | } |
| 112 | |
| 113 | symlink_proto_bigreq() { |
| 114 | src_dir include/extensions |
| 115 | dst_dir proto/BigReqs |
| 116 | |
| 117 | action bigreqstr.h |
| 118 | } |
| 119 | |
| 120 | symlink_proto_composite() { |
| 121 | src_dir include/extensions |
| 122 | dst_dir proto/Composite |
| 123 | |
| 124 | action composite.h |
| 125 | action compositeproto.h |
| 126 | } |
| 127 | |
| 128 | symlink_proto_damage() { |
| 129 | src_dir include/extensions |
| 130 | dst_dir proto/Damage |
| 131 | |
| 132 | action damageproto.h |
| 133 | action damagewire.h |
| 134 | } |
| 135 | |
| 136 | symlink_proto_dmx() { |
| 137 | src_dir include/extensions |
| 138 | dst_dir proto/DMX |
| 139 | |
| 140 | action dmxext.h |
| 141 | action dmxproto.h |
| 142 | } |
| 143 | |
| 144 | symlink_proto_evie() { |
| 145 | src_dir include/extensions |
| 146 | dst_dir proto/EvIE |
| 147 | |
| 148 | action Xeviestr.h |
| 149 | } |
| 150 | |
| 151 | symlink_proto_fixes() { |
| 152 | src_dir include/extensions |
| 153 | dst_dir proto/Fixes |
| 154 | |
| 155 | action xfixesproto.h |
| 156 | action xfixeswire.h |
| 157 | } |
| 158 | |
| 159 | symlink_proto_fontcache() { |
| 160 | src_dir include/extensions |
| 161 | dst_dir proto/Fontcache |
| 162 | |
| 163 | action fontcache.h |
| 164 | action fontcacheP.h |
| 165 | action fontcachstr.h |
| 166 | } |
| 167 | |
| 168 | symlink_proto_input() { |
| 169 | src_dir include/extensions |
| 170 | dst_dir proto/Input |
| 171 | |
| 172 | action XI.h |
| 173 | action XInput.h |
| 174 | action XIproto.h |
| 175 | } |
| 176 | |
| 177 | symlink_proto_kb() { |
| 178 | src_dir include/extensions |
| 179 | dst_dir proto/KB |
| 180 | |
| 181 | action XKBgeom.h |
| 182 | action XKB.h |
| 183 | action XKBproto.h |
| 184 | action XKBsrv.h |
| 185 | action XKBstr.h |
| 186 | } |
| 187 | |
| 188 | symlink_proto_xinerama() { |
| 189 | src_dir include/extensions |
| 190 | dst_dir proto/Xinerama |
| 191 | |
| 192 | action panoramiXext.h |
| 193 | action panoramiXproto.h |
| 194 | action Xinerama.h # not used in server |
| 195 | } |
| 196 | |
| 197 | symlink_proto_pm() { |
| 198 | src_dir programs/proxymngr |
| 199 | dst_dir proto/PM |
| 200 | |
| 201 | action PM.h |
| 202 | action PMproto.h |
| 203 | } |
| 204 | |
| 205 | symlink_proto_print() { |
| 206 | src_dir include/extensions |
| 207 | dst_dir proto/Print |
| 208 | |
| 209 | action Print.h |
| 210 | action Printstr.h |
| 211 | } |
| 212 | |
| 213 | symlink_proto_randr() { |
| 214 | src_dir include/extensions |
| 215 | dst_dir proto/Randr |
| 216 | |
| 217 | action randr.h |
| 218 | action randrproto.h |
| 219 | } |
| 220 | |
| 221 | symlink_proto_record() { |
| 222 | src_dir include/extensions |
| 223 | dst_dir proto/Record |
| 224 | |
| 225 | action record.h |
| 226 | action recordstr.h |
| 227 | } |
| 228 | |
| 229 | symlink_proto_render() { |
| 230 | src_dir include/extensions |
| 231 | dst_dir proto/Render |
| 232 | |
| 233 | action render.h |
| 234 | action renderproto.h |
| 235 | } |
| 236 | |
| 237 | symlink_proto_resource() { |
| 238 | src_dir include/extensions |
| 239 | dst_dir proto/Resource |
| 240 | |
| 241 | action XResproto.h |
| 242 | } |
| 243 | |
| 244 | symlink_proto_saver() { |
| 245 | src_dir include/extensions |
| 246 | dst_dir proto/ScrnSaver |
| 247 | |
| 248 | action saver.h |
| 249 | action saverproto.h |
| 250 | action scrnsaver.h # not used in server |
| 251 | } |
| 252 | |
| 253 | symlink_proto_trap() { |
| 254 | src_dir include/extensions |
| 255 | dst_dir proto/Trap |
| 256 | |
| 257 | action xtrapbits.h |
| 258 | action xtrapddmi.h # only used in server |
| 259 | action xtrapdi.h |
| 260 | action xtrapemacros.h # not used in server |
| 261 | action xtraplib.h # not used in server |
| 262 | action xtraplibp.h # not used in server |
| 263 | action xtrapproto.h # only used in server |
| 264 | } |
| 265 | |
| 266 | symlink_proto_video() { |
| 267 | src_dir include/extensions |
| 268 | dst_dir proto/Video |
| 269 | |
| 270 | action vldXvMC.h # not used in server |
| 271 | action Xv.h |
| 272 | action Xvproto.h |
| 273 | action XvMC.h |
| 274 | action XvMCproto.h |
| 275 | } |
| 276 | |
| 277 | symlink_proto_windowswm() { |
| 278 | src_dir lib/windows |
| 279 | dst_dir proto/WindowsWM |
| 280 | |
| 281 | action windowswm.h |
| 282 | action windowswmstr.h |
| 283 | } |
| 284 | |
| 285 | symlink_proto_xcmisc() { |
| 286 | src_dir include/extensions |
| 287 | dst_dir proto/XCMisc |
| 288 | |
| 289 | action xcmiscstr.h |
| 290 | } |
| 291 | |
| 292 | # should these be exploded into individual extension components? |
| 293 | symlink_proto_xext() { |
| 294 | src_dir include/extensions |
| 295 | dst_dir proto/XExt |
| 296 | |
| 297 | action dpms.h |
| 298 | action dpmsstr.h |
| 299 | action extutil.h |
| 300 | action lbxbuf.h # not used in server |
| 301 | action lbxbufstr.h # not used in server |
| 302 | action lbxdeltastr.h |
| 303 | action lbximage.h |
| 304 | action lbxopts.h |
| 305 | action lbxstr.h |
| 306 | action lbxzlib.h |
| 307 | action MITMisc.h |
| 308 | action mitmiscstr.h |
| 309 | action multibuf.h |
| 310 | action multibufst.h |
| 311 | action security.h |
| 312 | action securstr.h |
| 313 | action shape.h |
| 314 | action shapestr.h |
| 315 | action shmstr.h |
| 316 | action sync.h |
| 317 | action syncstr.h |
| 318 | action Xag.h |
| 319 | action Xagsrv.h # only used in server |
| 320 | action Xagstr.h |
| 321 | action Xcup.h |
| 322 | action Xcupstr.h |
| 323 | action Xdbe.h # not used in server |
| 324 | action Xdbeproto.h |
| 325 | action XEVI.h |
| 326 | action XEVIstr.h |
| 327 | action Xext.h |
| 328 | action XLbx.h |
| 329 | action XShm.h |
| 330 | action xtestext1.h |
| 331 | action XTest.h |
| 332 | action xteststr.h |
| 333 | } |
| 334 | |
| 335 | symlink_proto_xf86bigfont() { |
| 336 | src_dir include/extensions |
| 337 | dst_dir proto/XF86BigFont |
| 338 | |
| 339 | action xf86bigfont.h |
| 340 | action xf86bigfstr.h |
| 341 | } |
| 342 | |
| 343 | symlink_proto_xf86dga() { |
| 344 | src_dir include/extensions |
| 345 | dst_dir proto/XF86DGA |
| 346 | |
| 347 | action xf86dga1.h |
| 348 | action xf86dga1str.h |
| 349 | action xf86dga.h |
| 350 | action xf86dgastr.h |
| 351 | } |
| 352 | |
| 353 | symlink_proto_xf86dri() { |
| 354 | src_dir extras/Mesa/src/glx/x11 |
| 355 | dst_dir proto/XF86DRI |
| 356 | |
| 357 | action xf86dri.h |
| 358 | action xf86dristr.h |
| 359 | |
| 360 | src_dir extras/Mesa/include/GL/internal |
| 361 | |
| 362 | action dri_interface.h |
| 363 | } |
| 364 | |
| 365 | symlink_proto_xf86misc() { |
| 366 | src_dir include/extensions |
| 367 | dst_dir proto/XF86Misc |
| 368 | |
| 369 | action xf86misc.h |
| 370 | action xf86mscstr.h |
| 371 | } |
| 372 | |
| 373 | symlink_proto_xf86rush() { |
| 374 | src_dir include/extensions |
| 375 | dst_dir proto/XF86Rush |
| 376 | |
| 377 | action xf86rush.h |
| 378 | action xf86rushstr.h |
| 379 | } |
| 380 | |
| 381 | symlink_proto_xf86vidmode() { |
| 382 | src_dir include/extensions |
| 383 | dst_dir proto/XF86VidMode |
| 384 | |
| 385 | action xf86vmode.h |
| 386 | action xf86vmstr.h |
| 387 | } |
| 388 | |
| 389 | symlink_proto_fonts() { |
| 390 | src_dir include/fonts |
| 391 | dst_dir proto/Fonts |
| 392 | |
| 393 | action font.h |
| 394 | action fontproto.h |
| 395 | action fontstruct.h |
| 396 | action FS.h # not used in server |
| 397 | action fsmasks.h |
| 398 | action FSproto.h # not used in server |
| 399 | } |
| 400 | |
| 401 | symlink_proto_gl() { |
| 402 | src_dir include/GL |
| 403 | dst_dir proto/GL |
| 404 | |
| 405 | action glxint.h |
| 406 | action glxmd.h |
| 407 | action glxproto.h |
| 408 | action glxtokens.h |
| 409 | |
| 410 | src_dir extras/Mesa/include/GL/internal |
| 411 | |
| 412 | action glcore.h |
| 413 | } |
| 414 | |
| 415 | symlink_proto() { |
| 416 | # Core protocol |
| 417 | symlink_proto_core |
| 418 | |
| 419 | # Extension protocols |
| 420 | symlink_proto_applewm |
| 421 | symlink_proto_bigreq |
| 422 | symlink_proto_composite |
| 423 | symlink_proto_damage |
| 424 | symlink_proto_dmx |
| 425 | symlink_proto_evie |
| 426 | symlink_proto_fixes |
| 427 | symlink_proto_fontcache |
| 428 | symlink_proto_input |
| 429 | symlink_proto_kb |
| 430 | symlink_proto_pm |
| 431 | symlink_proto_print |
| 432 | symlink_proto_randr |
| 433 | symlink_proto_record |
| 434 | symlink_proto_render |
| 435 | symlink_proto_resource |
| 436 | symlink_proto_saver |
| 437 | symlink_proto_trap |
| 438 | symlink_proto_video |
| 439 | symlink_proto_windowswm |
| 440 | symlink_proto_xcmisc |
| 441 | symlink_proto_xext |
| 442 | symlink_proto_xf86bigfont |
| 443 | symlink_proto_xf86dga |
| 444 | symlink_proto_xf86dri |
| 445 | symlink_proto_xf86misc |
| 446 | symlink_proto_xf86rush |
| 447 | symlink_proto_xf86vidmode |
| 448 | symlink_proto_xinerama |
| 449 | |
| 450 | # Font protocols |
| 451 | symlink_proto_fonts |
| 452 | |
| 453 | # GL protocols |
| 454 | symlink_proto_gl |
| 455 | } |
| 456 | |
| 457 | ######### |
| 458 | # |
| 459 | # The lib module |
| 460 | # |
| 461 | ######### |
| 462 | |
| 463 | symlink_lib_applewm() { |
| 464 | src_dir lib/apple |
| 465 | dst_dir lib/AppleWM/src |
| 466 | |
| 467 | action applewm.c |
| 468 | |
| 469 | dst_dir lib/AppleWM/man |
| 470 | |
| 471 | action AppleWM.man AppleWM.3 |
| 472 | } |
| 473 | |
| 474 | symlink_lib_dmx() { |
| 475 | src_dir lib/dmx |
| 476 | dst_dir lib/dmx/src |
| 477 | |
| 478 | action dmx.c |
| 479 | |
| 480 | src_dir doc/man/DMX |
| 481 | dst_dir lib/dmx/man |
| 482 | |
| 483 | action DMXAddInput.man |
| 484 | action DMXAddScreen.man |
| 485 | action DMXChangeDesktopAttributes.man |
| 486 | action DMXChangeScreensAttributes.man |
| 487 | action DMXForceWindowCreation.man |
| 488 | action DMXGetDesktopAttributes.man |
| 489 | action DMXGetInputAttributes.man |
| 490 | action DMXGetInputCount.man |
| 491 | action DMXGetScreenAttributes.man |
| 492 | action DMXGetScreenCount.man |
| 493 | action DMXGetWindowAttributes.man |
| 494 | action DMX.man |
| 495 | action DMXQueryExtension.man |
| 496 | action DMXQueryVersion.man |
| 497 | action DMXRemoveInput.man |
| 498 | action DMXRemoveScreen.man |
| 499 | action DMXSync.man |
| 500 | } |
| 501 | |
| 502 | symlink_lib_composite() { |
| 503 | src_dir lib/Xcomposite |
| 504 | dst_dir lib/Xcomposite |
| 505 | |
| 506 | dst_dir lib/Xcomposite/include/X11/extensions |
| 507 | |
| 508 | action Xcomposite.h |
| 509 | |
| 510 | dst_dir lib/Xcomposite/src |
| 511 | |
| 512 | action xcompositeint.h |
| 513 | action Xcomposite.c |
| 514 | } |
| 515 | |
| 516 | symlink_lib_damage() { |
| 517 | src_dir lib/Xdamage |
| 518 | dst_dir lib/Xdamage |
| 519 | |
| 520 | dst_dir lib/Xdamage/include/X11/extensions |
| 521 | |
| 522 | action Xdamage.h |
| 523 | |
| 524 | dst_dir lib/Xdamage/src |
| 525 | |
| 526 | action xdamageint.h |
| 527 | action Xdamage.c |
| 528 | } |
| 529 | |
| 530 | symlink_lib_evie() { |
| 531 | src_dir include/extensions |
| 532 | dst_dir lib/Xevie/include/X11/extensions |
| 533 | |
| 534 | action Xevie.h |
| 535 | |
| 536 | src_dir lib/Xevie |
| 537 | dst_dir lib/Xevie |
| 538 | |
| 539 | action AUTHORS |
| 540 | action xevie.pc.in |
| 541 | |
| 542 | dst_dir lib/Xevie/src |
| 543 | |
| 544 | action Xevie.c |
| 545 | |
| 546 | dst_dir lib/Xevie/man |
| 547 | |
| 548 | action Xevie.man |
| 549 | } |
| 550 | |
| 551 | symlink_lib_fixes() { |
| 552 | src_dir lib/Xfixes |
| 553 | dst_dir lib/Xfixes |
| 554 | |
| 555 | dst_dir lib/Xfixes/src |
| 556 | |
| 557 | action Cursor.c |
| 558 | action Region.c |
| 559 | action SaveSet.c |
| 560 | action Selection.c |
| 561 | action Xfixes.c |
| 562 | action Xfixesint.h |
| 563 | |
| 564 | dst_dir lib/Xfixes/include/X11/extensions |
| 565 | |
| 566 | action Xfixes.h |
| 567 | |
| 568 | dst_dir lib/Xfixes/man |
| 569 | |
| 570 | action Xfixes.man |
| 571 | } |
| 572 | |
| 573 | symlink_lib_xau() { |
| 574 | src_dir lib/Xau |
| 575 | dst_dir lib/Xau |
| 576 | |
| 577 | action README |
| 578 | |
| 579 | action AuDispose.c |
| 580 | action AuFileName.c |
| 581 | action AuGetAddr.c |
| 582 | action AuGetBest.c |
| 583 | action AuLock.c |
| 584 | action AuRead.c |
| 585 | action Autest.c |
| 586 | action AuUnlock.c |
| 587 | action AuWrite.c |
| 588 | action k5encode.c |
| 589 | |
| 590 | dst_dir lib/Xau/include/X11 |
| 591 | |
| 592 | action Xauth.h |
| 593 | |
| 594 | src_dir doc/man/Xau |
| 595 | dst_dir lib/Xau |
| 596 | |
| 597 | action Xau.man |
| 598 | } |
| 599 | |
| 600 | symlink_lib_xtrans() { |
| 601 | src_dir lib/xtrans |
| 602 | dst_dir lib/xtrans |
| 603 | |
| 604 | action transport.c |
| 605 | action Xtrans.c |
| 606 | action Xtransdnet.c |
| 607 | action Xtrans.h |
| 608 | action Xtransint.h |
| 609 | action Xtranslcl.c |
| 610 | action Xtransos2.c |
| 611 | action Xtranssock.c |
| 612 | action Xtranstli.c |
| 613 | action Xtransutil.c |
| 614 | } |
| 615 | |
| 616 | symlink_lib_xdmcp() { |
| 617 | src_dir lib/Xdmcp |
| 618 | dst_dir lib/Xdmcp |
| 619 | |
| 620 | action Wrap.h |
| 621 | |
| 622 | action A8Eq.c |
| 623 | action AA16.c |
| 624 | action AA32.c |
| 625 | action AA8.c |
| 626 | action Alloc.c |
| 627 | action AofA8.c |
| 628 | action CA8.c |
| 629 | action CmpKey.c |
| 630 | action DA16.c |
| 631 | action DA32.c |
| 632 | action DA8.c |
| 633 | action DAofA8.c |
| 634 | action DecKey.c |
| 635 | action Fill.c |
| 636 | action Flush.c |
| 637 | action GenKey.c |
| 638 | action IncKey.c |
| 639 | action RA16.c |
| 640 | action RA32.c |
| 641 | action RA8.c |
| 642 | action RaA16.c |
| 643 | action RaA32.c |
| 644 | action RaA8.c |
| 645 | action RaAoA8.c |
| 646 | action RAofA8.c |
| 647 | action RC16.c |
| 648 | action RC32.c |
| 649 | action RC8.c |
| 650 | action RHead.c |
| 651 | action RR.c |
| 652 | action Unwrap.c |
| 653 | action WA16.c |
| 654 | action WA32.c |
| 655 | action WA8.c |
| 656 | action WAofA8.c |
| 657 | action WC16.c |
| 658 | action WC32.c |
| 659 | action WC8.c |
| 660 | action Whead.c |
| 661 | action Wrap.c |
| 662 | action Wraphelp.c |
| 663 | |
| 664 | action Wraphelp.README.crypto |
| 665 | |
| 666 | dst_dir lib/Xdmcp/include/X11 |
| 667 | |
| 668 | action Xdmcp.h |
| 669 | } |
| 670 | |
| 671 | symlink_lib_xext() { |
| 672 | src_dir lib/Xext |
| 673 | dst_dir lib/Xext/src |
| 674 | |
| 675 | action DPMS.c |
| 676 | action extutil.c |
| 677 | action globals.c |
| 678 | action MITMisc.c |
| 679 | action XAppgroup.c |
| 680 | action Xcup.c |
| 681 | action Xdbe.c |
| 682 | action XEVI.c |
| 683 | action XLbx.c |
| 684 | action XMultibuf.c |
| 685 | action XSecurity.c |
| 686 | action XShape.c |
| 687 | action XShm.c |
| 688 | action XSync.c |
| 689 | action XTestExt1.c |
| 690 | |
| 691 | src_dir doc/man/Xext |
| 692 | dst_dir lib/Xext/man |
| 693 | |
| 694 | action DPMSCapable.man |
| 695 | action DPMSDisable.man |
| 696 | action DPMSEnable.man |
| 697 | action DPMSForceLevel.man |
| 698 | action DPMSGetTimeouts.man |
| 699 | action DPMSGetVersion.man |
| 700 | action DPMSInfo.man |
| 701 | action DPMSQueryExtension.man |
| 702 | action DPMSSetTimeouts.man |
| 703 | action XcupGetReservedColormapEntries.man |
| 704 | action XcupQueryVersion.man |
| 705 | action XcupStoreColors.man |
| 706 | action Xevi.man |
| 707 | action Xmbuf.man |
| 708 | action XShape.man |
| 709 | |
| 710 | src_dir doc/man/Xext/dbe |
| 711 | |
| 712 | action DBE.man |
| 713 | action XdbeAllo.man XdbeAllocateBackBufferName.man |
| 714 | action XdbeBegi.man XdbeBeginIdiom.man |
| 715 | action XdbeEndI.man XdbeEndIdiom.man |
| 716 | action XdbeDeal.man XdbeDeallocateBackBufferName.man |
| 717 | action XdbeFree.man XdbeFreeVisualInfo.man |
| 718 | action XdbeQuer.man XdbeQueryExtension.man |
| 719 | action XdbeSwap.man XdbeSwapBuffers.man |
| 720 | action XdbeGetB.man XdbeGetBackBufferAttributes.man |
| 721 | action XdbeGetV.man XdbeGetVisualInfo.man |
| 722 | } |
| 723 | |
| 724 | symlink_lib_x11() { |
| 725 | src_dir lib/X11 |
| 726 | |
| 727 | # public .h files |
| 728 | dst_dir lib/X11/include/X11 |
| 729 | |
| 730 | action cursorfont.h |
| 731 | action Xregion.h |
| 732 | action Xcms.h |
| 733 | action XKBlib.h |
| 734 | action Xlib.h |
| 735 | action Xlibint.h |
| 736 | action Xlocale.h |
| 737 | action Xresource.h |
| 738 | action Xutil.h |
| 739 | action ImUtil.h |
| 740 | |
| 741 | dst_dir lib/X11/src |
| 742 | |
| 743 | # internal .h files |
| 744 | action Cmap.h |
| 745 | action Cr.h |
| 746 | action Key.h |
| 747 | action locking.h |
| 748 | action poly.h |
| 749 | action Xatomtype.h |
| 750 | action Xintatom.h |
| 751 | action Xintconn.h |
| 752 | action XomGeneric.h |
| 753 | action Xresinternal.h |
| 754 | action XrmI.h |
| 755 | |
| 756 | # Misc |
| 757 | |
| 758 | action XKeysymDB |
| 759 | action XErrorDB |
| 760 | |
| 761 | # source .c files |
| 762 | |
| 763 | action AllCells.c |
| 764 | action AllowEv.c |
| 765 | action AllPlanes.c |
| 766 | action AutoRep.c |
| 767 | action Backgnd.c |
| 768 | action BdrWidth.c |
| 769 | action Bell.c |
| 770 | action Border.c |
| 771 | action ChAccCon.c |
| 772 | action ChActPGb.c |
| 773 | action ChClMode.c |
| 774 | action ChCmap.c |
| 775 | action ChGC.c |
| 776 | action ChKeyCon.c |
| 777 | action ChkIfEv.c |
| 778 | action ChkMaskEv.c |
| 779 | action ChkTypEv.c |
| 780 | action ChkTypWEv.c |
| 781 | action ChkWinEv.c |
| 782 | action ChPntCon.c |
| 783 | action ChProp.c |
| 784 | action ChSaveSet.c |
| 785 | action ChWAttrs.c |
| 786 | action ChWindow.c |
| 787 | action CirWin.c |
| 788 | action CirWinDn.c |
| 789 | action CirWinUp.c |
| 790 | action ClDisplay.c |
| 791 | action ClearArea.c |
| 792 | action Clear.c |
| 793 | action ConfWind.c |
| 794 | action ConnDis.c |
| 795 | action Context.c |
| 796 | action ConvSel.c |
| 797 | action CopyArea.c |
| 798 | action CopyCmap.c |
| 799 | action CopyGC.c |
| 800 | action CopyPlane.c |
| 801 | action CrBFData.c |
| 802 | action CrCmap.c |
| 803 | action CrCursor.c |
| 804 | action CrGC.c |
| 805 | action CrGlCur.c |
| 806 | action CrPFBData.c |
| 807 | action CrPixmap.c |
| 808 | action CrWindow.c |
| 809 | action Cursor.c |
| 810 | action DefCursor.c |
| 811 | action DelProp.c |
| 812 | action Depths.c |
| 813 | action DestSubs.c |
| 814 | action DestWind.c |
| 815 | action DisName.c |
| 816 | action DrArc.c |
| 817 | action DrArcs.c |
| 818 | action DrLine.c |
| 819 | action DrLines.c |
| 820 | action DrPoint.c |
| 821 | action DrPoints.c |
| 822 | action DrRect.c |
| 823 | action DrRects.c |
| 824 | action DrSegs.c |
| 825 | action ErrDes.c |
| 826 | action ErrHndlr.c |
| 827 | action evtomask.c |
| 828 | action EvToWire.c |
| 829 | action FetchName.c |
| 830 | action FillArc.c |
| 831 | action FillArcs.c |
| 832 | action FillPoly.c |
| 833 | action FillRct.c |
| 834 | action FillRcts.c |
| 835 | action FilterEv.c |
| 836 | action Flush.c |
| 837 | action Font.c |
| 838 | action FontInfo.c |
| 839 | action FontNames.c |
| 840 | action FreeCmap.c |
| 841 | action FreeCols.c |
| 842 | action FreeCurs.c |
| 843 | action FreeEData.c |
| 844 | action FreeGC.c |
| 845 | action FreePix.c |
| 846 | action FSSaver.c |
| 847 | action FSWrap.c |
| 848 | action GCMisc.c |
| 849 | action Geom.c |
| 850 | action GetAtomNm.c |
| 851 | action GetColor.c |
| 852 | action GetDflt.c |
| 853 | action GetFPath.c |
| 854 | action GetFProp.c |
| 855 | action GetGCVals.c |
| 856 | action GetGeom.c |
| 857 | action GetHColor.c |
| 858 | action GetHints.c |
| 859 | action GetIFocus.c |
| 860 | action GetImage.c |
| 861 | action GetKCnt.c |
| 862 | action GetMoEv.c |
| 863 | action GetNrmHint.c |
| 864 | action GetPCnt.c |
| 865 | action GetPntMap.c |
| 866 | action GetProp.c |
| 867 | action GetRGBCMap.c |
| 868 | action GetSOwner.c |
| 869 | action GetSSaver.c |
| 870 | action GetStCmap.c |
| 871 | action GetTxtProp.c |
| 872 | action GetWAttrs.c |
| 873 | action GetWMCMapW.c |
| 874 | action GetWMProto.c |
| 875 | action globals.c |
| 876 | action GrButton.c |
| 877 | action GrKeybd.c |
| 878 | action GrKey.c |
| 879 | action GrPointer.c |
| 880 | action GrServer.c |
| 881 | action Host.c |
| 882 | action Iconify.c |
| 883 | action IfEvent.c |
| 884 | action imConv.c |
| 885 | action ImText16.c |
| 886 | action ImText.c |
| 887 | action ImUtil.c |
| 888 | action InitExt.c |
| 889 | action InsCmap.c |
| 890 | action IntAtom.c |
| 891 | action KeyBind.c |
| 892 | action KeysymStr.c |
| 893 | action KillCl.c |
| 894 | action LiHosts.c |
| 895 | action LiICmaps.c |
| 896 | action LiProps.c |
| 897 | action ListExt.c |
| 898 | action LoadFont.c |
| 899 | action LockDis.c |
| 900 | action locking.c |
| 901 | action LookupCol.c |
| 902 | action LowerWin.c |
| 903 | action Macros.c |
| 904 | action MapRaised.c |
| 905 | action MapSubs.c |
| 906 | action MapWindow.c |
| 907 | action MaskEvent.c |
| 908 | action Misc.c |
| 909 | action ModMap.c |
| 910 | action MoveWin.c |
| 911 | action NextEvent.c |
| 912 | action OCWrap.c |
| 913 | action OMWrap.c |
| 914 | action OpenDis.c |
| 915 | action os2Stubs.c |
| 916 | action ParseCmd.c |
| 917 | action ParseCol.c |
| 918 | action ParseGeom.c |
| 919 | action PeekEvent.c |
| 920 | action PeekIfEv.c |
| 921 | action Pending.c |
| 922 | action PixFormats.c |
| 923 | action PmapBgnd.c |
| 924 | action PmapBord.c |
| 925 | action PolyReg.c |
| 926 | action PolyTxt16.c |
| 927 | action PolyTxt.c |
| 928 | action PropAlloc.c |
| 929 | action PutBEvent.c |
| 930 | action PutImage.c |
| 931 | action Quarks.c |
| 932 | action QuBest.c |
| 933 | action QuColor.c |
| 934 | action QuColors.c |
| 935 | action QuCurShp.c |
| 936 | action QuExt.c |
| 937 | action QuKeybd.c |
| 938 | action QuPntr.c |
| 939 | action QuStipShp.c |
| 940 | action QuTextE16.c |
| 941 | action QuTextExt.c |
| 942 | action QuTileShp.c |
| 943 | action QuTree.c |
| 944 | action RaiseWin.c |
| 945 | action RdBitF.c |
| 946 | action RecolorC.c |
| 947 | action ReconfWin.c |
| 948 | action ReconfWM.c |
| 949 | action Region.c |
| 950 | action RegstFlt.c |
| 951 | action RepWindow.c |
| 952 | action RestackWs.c |
| 953 | action RotProp.c |
| 954 | action ScrResStr.c |
| 955 | action SelInput.c |
| 956 | action SendEvent.c |
| 957 | action SetBack.c |
| 958 | action SetClMask.c |
| 959 | action SetClOrig.c |
| 960 | action SetCRects.c |
| 961 | action SetDashes.c |
| 962 | action SetFont.c |
| 963 | action SetFore.c |
| 964 | action SetFPath.c |
| 965 | action SetFunc.c |
| 966 | action SetHints.c |
| 967 | action SetIFocus.c |
| 968 | action SetLocale.c |
| 969 | action SetLStyle.c |
| 970 | action SetNrmHint.c |
| 971 | action SetPMask.c |
| 972 | action SetPntMap.c |
| 973 | action SetRGBCMap.c |
| 974 | action SetSOwner.c |
| 975 | action SetSSaver.c |
| 976 | action SetState.c |
| 977 | action SetStCmap.c |
| 978 | action SetStip.c |
| 979 | action SetTile.c |
| 980 | action SetTSOrig.c |
| 981 | action SetTxtProp.c |
| 982 | action SetWMCMapW.c |
| 983 | action SetWMProto.c |
| 984 | action StBytes.c |
| 985 | action StColor.c |
| 986 | action StColors.c |
| 987 | action StName.c |
| 988 | action StNColor.c |
| 989 | action StrKeysym.c |
| 990 | action StrToText.c |
| 991 | action Sync.c |
| 992 | action Synchro.c |
| 993 | action Text16.c |
| 994 | action Text.c |
| 995 | action TextExt16.c |
| 996 | action TextExt.c |
| 997 | action TextToStr.c |
| 998 | action TrCoords.c |
| 999 | action udcInf.c |
| 1000 | action UIThrStubs.c |
| 1001 | action UndefCurs.c |
| 1002 | action UngrabBut.c |
| 1003 | action UngrabKbd.c |
| 1004 | action UngrabKey.c |
| 1005 | action UngrabPtr.c |
| 1006 | action UngrabSvr.c |
| 1007 | action UninsCmap.c |
| 1008 | action UnldFont.c |
| 1009 | action UnmapSubs.c |
| 1010 | action UnmapWin.c |
| 1011 | action VisUtil.c |
| 1012 | action WarpPtr.c |
| 1013 | action Window.c |
| 1014 | action WinEvent.c |
| 1015 | action Withdraw.c |
| 1016 | action WMGeom.c |
| 1017 | action WMProps.c |
| 1018 | action WrBitF.c |
| 1019 | action XlibAsync.c |
| 1020 | action XlibInt.c |
| 1021 | action Xrm.c |
| 1022 | |
| 1023 | # XCMS files |
| 1024 | dst_dir lib/X11/src/xcms |
| 1025 | |
| 1026 | action AddDIC.c |
| 1027 | action AddSF.c |
| 1028 | action CCC.c |
| 1029 | action cmsAllCol.c |
| 1030 | action cmsAllNCol.c |
| 1031 | action cmsCmap.c |
| 1032 | action cmsColNm.c |
| 1033 | action cmsGlobls.c |
| 1034 | action cmsInt.c |
| 1035 | action cmsLkCol.c |
| 1036 | action cmsMath.c |
| 1037 | action cmsProp.c |
| 1038 | action cmsTrig.c |
| 1039 | action CvCols.c |
| 1040 | action CvColW.c |
| 1041 | action Cv.h |
| 1042 | action HVC.c |
| 1043 | action HVCGcC.c |
| 1044 | action HVCGcV.c |
| 1045 | action HVCGcVC.c |
| 1046 | action HVCMnV.c |
| 1047 | action HVCMxC.c |
| 1048 | action HVCMxV.c |
| 1049 | action HVCMxVC.c |
| 1050 | action HVCMxVs.c |
| 1051 | action HVCWpAj.c |
| 1052 | action IdOfPr.c |
| 1053 | action Lab.c |
| 1054 | action LabGcC.c |
| 1055 | action LabGcL.c |
| 1056 | action LabGcLC.c |
| 1057 | action LabMnL.c |
| 1058 | action LabMxC.c |
| 1059 | action LabMxL.c |
| 1060 | action LabMxLC.c |
| 1061 | action LabWpAj.c |
| 1062 | action LRGB.c |
| 1063 | action Luv.c |
| 1064 | action LuvGcC.c |
| 1065 | action LuvGcL.c |
| 1066 | action LuvGcLC.c |
| 1067 | action LuvMnL.c |
| 1068 | action LuvMxC.c |
| 1069 | action LuvMxL.c |
| 1070 | action LuvMxLC.c |
| 1071 | action LuvWpAj.c |
| 1072 | action OfCCC.c |
| 1073 | action PrOfId.c |
| 1074 | action QBlack.c |
| 1075 | action QBlue.c |
| 1076 | action QGreen.c |
| 1077 | action QRed.c |
| 1078 | action QuCol.c |
| 1079 | action QuCols.c |
| 1080 | action QWhite.c |
| 1081 | action SetCCC.c |
| 1082 | action SetGetCols.c |
| 1083 | action StCol.c |
| 1084 | action StCols.c |
| 1085 | action UNDEFINED.c |
| 1086 | action uvY.c |
| 1087 | action Xcmsint.h |
| 1088 | action XRGB.c |
| 1089 | action xyY.c |
| 1090 | action XYZ.c |
| 1091 | action Xcms.txt |
| 1092 | |
| 1093 | # XKB files |
| 1094 | dst_dir lib/X11/src/xkb |
| 1095 | |
| 1096 | action XKBAlloc.c |
| 1097 | action XKBBell.c |
| 1098 | action XKBBind.c |
| 1099 | action XKB.c |
| 1100 | action XKBCompat.c |
| 1101 | action XKBCtrls.c |
| 1102 | action XKBCvt.c |
| 1103 | action XKBExtDev.c |
| 1104 | action XKBGAlloc.c |
| 1105 | action XKBGeom.c |
| 1106 | action XKBGetByName.c |
| 1107 | action XKBGetMap.c |
| 1108 | action XKBleds.c |
| 1109 | action XKBlibint.h |
| 1110 | action XKBList.c |
| 1111 | action XKBMAlloc.c |
| 1112 | action XKBMisc.c |
| 1113 | action XKBNames.c |
| 1114 | action XKBRdBuf.c |
| 1115 | action XKBSetGeom.c |
| 1116 | action XKBSetMap.c |
| 1117 | action XKBUse.c |
| 1118 | |
| 1119 | # Xlib I18n files |
| 1120 | |
| 1121 | dst_dir lib/X11/src/xlibi18n |
| 1122 |
