tinyx-config.patch 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. --- xc/config/cf/host.def~ 2005-04-02 14:51:31.000000000 -0700
  2. +++ xc/config/cf/host.def 2005-04-26 01:22:00.000000000 -0600
  3. @@ -0,0 +1,36 @@
  4. +#define KDriveXServer YES
  5. +#define TinyXServer YES
  6. +#define XfbdevServer YES
  7. +#define CrossCompiling YES
  8. +#define ProjectRoot /usr/X11R6
  9. +#define NothingOutsideProjectRoot YES
  10. +
  11. +#define HasFreetype2 NO
  12. +#define HasFontconfig NO
  13. +#define HasLibpng YES
  14. +#define HasZlib YES
  15. +
  16. +#define HasExpat NO
  17. +#define XprtServer NO
  18. +#define BuildXprintClients NO
  19. +#define TouchScreen NO
  20. +#define HasTsLib NO
  21. +#define BuildDocs NO
  22. +#define BuildXF86DRI NO
  23. +#define BuildGlxExt NO
  24. +#define BuildOSMesaLib NO
  25. +#define BuildLBX NO
  26. +#define BuildLowMem NO
  27. +#define BuildIPv6 NO
  28. +
  29. +/*
  30. +#define XF86CardDrivers mga glint nv tga s3virge sis rendition \
  31. + neomagic i740 tdfx savage \
  32. + cirrus vmware tseng trident chips apm \
  33. + GlideDriver fbdev i128 \
  34. + ati AgpGartDrivers DevelDrivers ark \
  35. + cyrix siliconmotion vesa vga \
  36. + XF86OSCardDrivers XF86ExtraCardDrivers
  37. +*/
  38. +
  39. +#define XInputDrivers mouse keyboard
  40. --- xc/config/cf/cross.def.orig 2001-03-29 19:15:17.000000000 -0700
  41. +++ xc/config/cf/cross.def 2005-05-12 16:09:23.000000000 -0600
  42. @@ -5,34 +5,56 @@
  43. * compiler images. It will have to be edited to reflect these
  44. * given your local configuration.
  45. */
  46. +
  47. +#undef Arm32Architecture
  48. #undef i386Architecture
  49. +#undef Arm32Architecture
  50. +#undef Arm32Architecture
  51. +
  52. +#if defined(__arm__)
  53. #define Arm32Architecture
  54. +#endif
  55. +#if defined(__i386__)
  56. +#defined i386Architecture
  57. +#endif
  58. +#if defined(__mc68000__)
  59. +#define Mc68020Architecture
  60. +#endif
  61. +#if defined(__mips__)
  62. +#define MipsArchitecture
  63. +#endif
  64. +#if defined(__powerpc__)
  65. +#define PpcArchitecture
  66. +#endif
  67. #undef OptimizedCDebugFlags
  68. -#define OptimizedCDebugFlags -O2
  69. -#define ServerCDebugFlags -O2
  70. +#define OptimizedCDebugFlags -Os
  71. +#define ServerCDebugFlags -Os
  72. #undef StandardDefines
  73. -#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \
  74. - -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
  75. -#undef CcCmd
  76. -#define StdIncDir /skiff/local/arm-linux/include
  77. -#define PreIncDir
  78. +#define StandardDefines -Dlinux -D__REPLACE_ARCH__ -D_POSIX_SOURCE \
  79. + -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
  80. +#define StdIncDir REPLACE_STAGING_DIR/include
  81. +#define PreIncDir
  82. #undef PostIncDir
  83. -#define PostIncDir /skiff/local/lib/gcc-lib/arm-linux/2.95.2/include
  84. -#define CcCmd /skiff/local/bin/arm-linux-gcc
  85. +#define PostIncDir REPLACE_STAGING_DIR/lib/gcc-lib/REPLACE_ARCH-linux-uclibc/3.3.3/include
  86. +#undef CcCmd
  87. +#define CcCmd REPLACE_STAGING_DIR/bin/REPLACE_ARCH-linux-gcc
  88. +#undef HasCplusplus
  89. +#define HasCplusplus NO
  90. #undef CplusplusCmd
  91. -#define HasCplusplus YES
  92. -#define CplusplusCmd /skiff/local/bin/arm-linux-g++
  93. +#define CplusplusCmd NO
  94. #define DoRanlibCmd YES
  95. -#define RanlibCmd /skiff/local/bin/arm-linux-ranlib
  96. +#define RanlibCmd REPLACE_STAGING_DIR/bin/REPLACE_ARCH-linux-ranlib
  97. #undef ExtraLoadFlags
  98. #define ExtraLoadFlags
  99. #define FbNoPixelAddrCode
  100. #undef TermcapLibrary
  101. -#define TermcapLibrary -ltermcap
  102. +#define TermcapLibrary -lncurses
  103. #undef LdPostLib
  104. -#define LdPostLib -L/skiff/local/arm-linux/lib
  105. +#define LdPostLib -LREPLACE_STAGING_DIR/REPLACE_ARCH-linux-uclibc/lib
  106. +#undef LdCmd
  107. +#define LdCmd REPLACE_STAGING_DIR/bin/REPLACE_ARCH-linux-ld
  108. #undef ExtensionOSDefines
  109. #define ExtensionOSDefines