You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tigervnc.spec 54KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387
  1. %define _default_patch_fuzz 2
  2. %define tigervnc_src_dir %{_builddir}/%{name}-%{version}%{?snap:-%{snap}}
  3. %{!?_self_signed: %define _self_signed 1}
  4. %{!?_bootstrap: %define _bootstrap 1}
  5. #%global scl_name %{name}$(echo %version | sed -e 's/\\.//;s/\\..*//')
  6. %define scl_name %{name}16
  7. %if %{_bootstrap}
  8. %define xorg_buildroot $RPM_BUILD_ROOT/opt/%{name}/%{scl_name}
  9. %else
  10. %define xorg_buildroot /opt/%{name}/%{scl_name}
  11. %endif
  12. Name: tigervnc
  13. Version: @VERSION@
  14. Release: 3%{?snap:.%{snap}}%{?dist}
  15. Summary: A TigerVNC remote display system
  16. Group: User Interface/Desktops
  17. License: GPLv2+
  18. Packager: Brian P. Hinz <bphinz@users.sourceforge.net>
  19. URL: http://www.tigervnc.com
  20. Source0: %{name}-%{version}%{?snap:-%{snap}}.tar.bz2
  21. Source1: vncserver.service
  22. Source2: vncserver.sysconfig
  23. Source9: FindX11.cmake
  24. Source11: http://fltk.org/pub/fltk/1.3.3/fltk-1.3.3-source.tar.gz
  25. Source12: http://downloads.sourceforge.net/project/libjpeg-turbo/1.4.2/libjpeg-turbo-1.4.2.tar.gz
  26. Source13: http://downloads.sourceforge.net/project/libpng/libpng15/1.5.24/libpng-1.5.24.tar.bz2
  27. Source14: https://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.bz2
  28. Source15: http://ftp.gnu.org/gnu/libtasn1/libtasn1-4.7.tar.gz
  29. Source16: https://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz
  30. Source17: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.19.tar.xz
  31. Source100: http://www.x.org/releases/X11R7.7/src/everything/bigreqsproto-1.1.2.tar.bz2
  32. Source101: http://www.x.org/releases/X11R7.7/src/everything/compositeproto-0.4.2.tar.bz2
  33. Source102: http://www.x.org/releases/X11R7.7/src/everything/damageproto-1.2.1.tar.bz2
  34. Source103: http://www.x.org/releases/X11R7.7/src/everything/dmxproto-2.3.1.tar.bz2
  35. Source104: http://www.x.org/releases/X11R7.7/src/everything/dri2proto-2.6.tar.bz2
  36. Source105: http://www.x.org/releases/X11R7.7/src/everything/fixesproto-5.0.tar.bz2
  37. Source106: http://www.x.org/releases/X11R7.7/src/everything/font-util-1.3.0.tar.bz2
  38. Source107: http://www.x.org/releases/X11R7.7/src/everything/fontsproto-2.1.2.tar.bz2
  39. Source108: http://www.x.org/releases/X11R7.7/src/everything/glproto-1.4.15.tar.bz2
  40. Source109: http://www.x.org/releases/X11R7.7/src/everything/inputproto-2.2.tar.bz2
  41. Source110: http://www.x.org/releases/X11R7.7/src/everything/kbproto-1.0.6.tar.bz2
  42. Source111: http://www.x.org/releases/X11R7.7/src/everything/libICE-1.0.8.tar.bz2
  43. Source112: http://www.x.org/releases/X11R7.7/src/everything/libSM-1.2.1.tar.bz2
  44. Source113: http://www.x.org/releases/X11R7.7/src/everything/libX11-1.5.0.tar.bz2
  45. Source114: http://www.x.org/releases/X11R7.7/src/everything/libXScrnSaver-1.2.2.tar.bz2
  46. Source115: http://www.x.org/releases/X11R7.7/src/everything/libXau-1.0.7.tar.bz2
  47. Source116: http://www.x.org/releases/X11R7.7/src/everything/libXaw-1.0.11.tar.bz2
  48. Source117: http://www.x.org/releases/X11R7.7/src/everything/libXcomposite-0.4.3.tar.bz2
  49. Source118: http://www.x.org/releases/X11R7.7/src/everything/libXcursor-1.1.13.tar.bz2
  50. Source119: http://www.x.org/releases/X11R7.7/src/everything/libXdamage-1.1.3.tar.bz2
  51. Source120: http://www.x.org/releases/X11R7.7/src/everything/libXdmcp-1.1.1.tar.bz2
  52. Source121: http://www.x.org/releases/X11R7.7/src/everything/libXext-1.3.1.tar.bz2
  53. Source122: http://www.x.org/releases/X11R7.7/src/everything/libXfixes-5.0.tar.bz2
  54. Source123: http://www.x.org/releases/X11R7.7/src/everything/libXfont-1.4.5.tar.bz2
  55. Source124: http://www.x.org/releases/X11R7.7/src/everything/libXft-2.3.1.tar.bz2
  56. Source125: http://www.x.org/releases/X11R7.7/src/everything/libXi-1.6.1.tar.bz2
  57. Source126: http://www.x.org/releases/X11R7.7/src/everything/libXinerama-1.1.2.tar.bz2
  58. Source127: http://www.x.org/releases/X11R7.7/src/everything/libXmu-1.1.1.tar.bz2
  59. Source128: http://www.x.org/releases/X11R7.7/src/everything/libXpm-3.5.10.tar.bz2
  60. Source129: http://www.x.org/releases/X11R7.7/src/everything/libXrandr-1.3.2.tar.bz2
  61. Source130: http://www.x.org/releases/X11R7.7/src/everything/libXrender-0.9.7.tar.bz2
  62. Source131: http://www.x.org/releases/X11R7.7/src/everything/libXres-1.0.6.tar.bz2
  63. Source132: http://www.x.org/releases/X11R7.7/src/everything/libXt-1.1.3.tar.bz2
  64. Source133: http://www.x.org/releases/X11R7.7/src/everything/libXtst-1.2.1.tar.bz2
  65. Source134: http://www.x.org/releases/X11R7.7/src/everything/libXv-1.0.7.tar.bz2
  66. Source135: http://www.x.org/releases/X11R7.7/src/everything/libXvMC-1.0.7.tar.bz2
  67. Source136: http://www.x.org/releases/X11R7.7/src/everything/libXxf86dga-1.1.3.tar.bz2
  68. Source137: http://www.x.org/releases/X11R7.7/src/everything/libXxf86vm-1.1.2.tar.bz2
  69. Source138: http://www.x.org/releases/X11R7.7/src/everything/libfontenc-1.1.1.tar.bz2
  70. Source139: http://www.x.org/releases/X11R7.7/src/everything/libpciaccess-0.13.1.tar.bz2
  71. #Source140: http://www.x.org/releases/X11R7.7/src/everything/libpthread-stubs-0.3.tar.bz2
  72. # libpthread-stubs fails to compile, so we use the same method
  73. # as the el6 libxcb rpm. pthread-stubs.pc.in taken from el6 libxcb rpm
  74. Source140: pthread-stubs.pc.in
  75. Source141: http://www.x.org/releases/X11R7.7/src/everything/libxcb-1.8.1.tar.bz2
  76. Source142: http://www.x.org/releases/X11R7.7/src/everything/libxkbfile-1.0.8.tar.bz2
  77. Source143: http://www.x.org/releases/X11R7.7/src/everything/makedepend-1.0.4.tar.bz2
  78. Source144: http://www.x.org/releases/X11R7.7/src/everything/randrproto-1.3.2.tar.bz2
  79. Source145: http://www.x.org/releases/X11R7.7/src/everything/recordproto-1.14.2.tar.bz2
  80. Source146: http://www.x.org/releases/X11R7.7/src/everything/renderproto-0.11.1.tar.bz2
  81. Source147: http://www.x.org/releases/X11R7.7/src/everything/resourceproto-1.2.0.tar.bz2
  82. Source148: http://www.x.org/releases/X11R7.7/src/everything/scrnsaverproto-1.2.2.tar.bz2
  83. Source149: http://www.x.org/releases/X11R7.7/src/everything/util-macros-1.17.tar.bz2
  84. Source150: http://www.x.org/releases/X11R7.7/src/everything/videoproto-2.3.1.tar.bz2
  85. Source151: http://www.x.org/releases/X11R7.7/src/everything/xcb-proto-1.7.1.tar.bz2
  86. Source152: http://www.x.org/releases/X11R7.7/src/everything/xcmiscproto-1.2.2.tar.bz2
  87. Source153: http://www.x.org/releases/X11R7.7/src/everything/xextproto-7.2.1.tar.bz2
  88. Source154: http://www.x.org/releases/X11R7.7/src/everything/xf86bigfontproto-1.2.0.tar.bz2
  89. Source155: http://www.x.org/releases/X11R7.7/src/everything/xf86dgaproto-2.1.tar.bz2
  90. Source156: http://www.x.org/releases/X11R7.7/src/everything/xf86driproto-2.1.1.tar.bz2
  91. Source157: http://www.x.org/releases/X11R7.7/src/everything/xf86vidmodeproto-2.3.1.tar.bz2
  92. Source158: http://www.x.org/releases/X11R7.7/src/everything/xineramaproto-1.2.1.tar.bz2
  93. Source159: http://www.x.org/releases/X11R7.7/src/everything/xorg-server-1.12.2.tar.bz2
  94. Source160: http://www.x.org/releases/X11R7.7/src/everything/xproto-7.0.23.tar.bz2
  95. Source161: http://www.x.org/releases/X11R7.7/src/everything/xrandr-1.3.5.tar.bz2
  96. Source162: http://www.x.org/releases/X11R7.7/src/everything/xtrans-1.2.7.tar.bz2
  97. Source200: http://fontconfig.org/release/fontconfig-2.8.0.tar.gz
  98. Source201: http://download.savannah.gnu.org/releases/freetype/freetype-old/freetype-2.3.11.tar.bz2
  99. Source202: http://xorg.freedesktop.org/archive/individual/lib/pixman-0.32.4.tar.bz2
  100. Source203: http://dri.freedesktop.org/libdrm/libdrm-2.4.52.tar.bz2
  101. Source204: ftp://ftp.freedesktop.org/pub/mesa/older-versions/9.x/9.2.5/MesaLib-9.2.5.tar.bz2
  102. # NOTE:
  103. # libgcrypt from el5 is not new enough to satisfy newer Xorg requirements for --with-sha1,
  104. # which causes Xorg to link against libssl.so and introduce about 10 dynamic dependencies.
  105. # to prevent this, build a static libsha1 and link against that.
  106. # NOTE:
  107. Source205: https://github.com/dottedmag/libsha1/archive/0.3.tar.gz
  108. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  109. # xorg requires newer versions of automake, & autoconf than are available with el5. Use el6 versions.
  110. BuildRequires: automake >= 1.11, autoconf >= 2.60, libtool >= 1.4, gettext >= 0.14.4, gettext-devel >= 0.14.4, bison-devel, python26
  111. BuildRequires: pam-devel
  112. BuildRequires: cmake28
  113. BuildRequires: pkgconfig >= 0.20
  114. BuildRequires: gcc44, gcc44-c++
  115. BuildRequires: glibc-devel, libstdc++-devel, libpng-devel
  116. BuildRequires: expat-devel
  117. BuildRequires: git, gperf, intltool, libtalloc-devel
  118. BuildRequires: kernel-headers, libatomic_ops-devel
  119. BuildRequires: xz
  120. %if !%{_bootstrap}
  121. BuildRequires: %{name}-static-devel == %{version}
  122. BuildRequires: nasm >= 2.01
  123. %endif
  124. Requires(post): initscripts chkconfig coreutils
  125. Requires(postun):coreutils
  126. Requires: hicolor-icon-theme
  127. Requires: tigervnc-license
  128. Provides: vnc = 4.1.3-2, vnc-libs = 4.1.3-2
  129. Obsoletes: vnc < 4.1.3-2, vnc-libs < 4.1.3-2
  130. Provides: tightvnc = 1.5.0-0.15.20090204svn3586
  131. Obsoletes: tightvnc < 1.5.0-0.15.20090204svn3586
  132. # tigervnc patches
  133. Patch12: tigervnc14-static-build-fixes.patch
  134. Patch13: tigervnc14-Add-dridir-param.patch
  135. Patch14: tigervnc14-Add-xkbcompdir-param.patch
  136. # fltk patches
  137. Patch15: fltk-1.3.3-static-libs.patch
  138. # freetype patches
  139. Patch20: freetype-2.1.10-enable-ft2-bci.patch
  140. Patch21: freetype-2.3.0-enable-spr.patch
  141. # Enable otvalid and gxvalid modules
  142. Patch46: freetype-2.2.1-enable-valid.patch
  143. # Fix multilib conflicts
  144. Patch88: freetype-multilib.patch
  145. Patch89: freetype-2.3.11-CVE-2010-2498.patch
  146. Patch90: freetype-2.3.11-CVE-2010-2499.patch
  147. Patch91: freetype-2.3.11-CVE-2010-2500.patch
  148. Patch92: freetype-2.3.11-CVE-2010-2519.patch
  149. Patch93: freetype-2.3.11-CVE-2010-2520.patch
  150. Patch96: freetype-2.3.11-CVE-2010-1797.patch
  151. Patch97: freetype-2.3.11-CVE-2010-2805.patch
  152. Patch98: freetype-2.3.11-CVE-2010-2806.patch
  153. Patch99: freetype-2.3.11-CVE-2010-2808.patch
  154. Patch100: freetype-2.3.11-CVE-2010-3311.patch
  155. Patch101: freetype-2.3.11-CVE-2010-3855.patch
  156. Patch102: freetype-2.3.11-CVE-2011-0226.patch
  157. Patch103: freetype-2.3.11-CVE-2011-3256.patch
  158. Patch104: freetype-2.3.11-CVE-2011-3439.patch
  159. Patch105: freetype-2.3.11-CVE-2012-1126.patch
  160. Patch106: freetype-2.3.11-CVE-2012-1127.patch
  161. Patch107: freetype-2.3.11-CVE-2012-1130.patch
  162. Patch108: freetype-2.3.11-CVE-2012-1131.patch
  163. Patch109: freetype-2.3.11-CVE-2012-1132.patch
  164. Patch110: freetype-2.3.11-CVE-2012-1134.patch
  165. Patch111: freetype-2.3.11-CVE-2012-1136.patch
  166. Patch112: freetype-2.3.11-CVE-2012-1137.patch
  167. Patch113: freetype-2.3.11-CVE-2012-1139.patch
  168. Patch114: freetype-2.3.11-CVE-2012-1140.patch
  169. Patch115: freetype-2.3.11-CVE-2012-1141.patch
  170. Patch116: freetype-2.3.11-CVE-2012-1142.patch
  171. Patch117: freetype-2.3.11-CVE-2012-1143.patch
  172. Patch118: freetype-2.3.11-CVE-2012-1144.patch
  173. Patch119: freetype-2.3.11-bdf-overflow.patch
  174. Patch120: freetype-2.3.11-array-initialization.patch
  175. Patch121: freetype-2.3.11-CVE-2012-5669.patch
  176. # Patches for Xorg CVE-2014-12-09 taken from Debian:
  177. # https://release.debian.org/proposed-updates/stable_diffs/xorg-server_1.12.4-6+deb7u5.debdiff
  178. Patch10000: 16_CVE-2014-mult.diff
  179. Patch10001: 17_CVE-regressions.diff
  180. # http://www.x.org/wiki/Development/Security/Advisory-2015-02-10/
  181. Patch10002: CVE-2015-0255.diff
  182. # http://www.x.org/wiki/Development/Security/Advisory-2015-03-17/
  183. Patch10003: CVE-2015-1802.diff
  184. Patch10004: CVE-2015-1803.diff
  185. Patch10005: CVE-2015-1804.diff
  186. # http://lists.x.org/archives/xorg-announce/2015-April/002561.html
  187. Patch10006: CVE-2013-7439.diff
  188. %description
  189. Virtual Network Computing (VNC) is a remote display system which
  190. allows you to view a computing 'desktop' environment not only on the
  191. machine where it is running, but from anywhere on the Internet and
  192. from a wide variety of machine architectures. This package contains a
  193. client which will allow you to connect to other desktops running a VNC
  194. server.
  195. %package server
  196. Summary: A TigerVNC server
  197. Group: User Interface/X
  198. Provides: vnc-server = 4.1.3-2, vnc-libs = 4.1.3-2
  199. Obsoletes: vnc-server < 4.1.3-2, vnc-libs < 4.1.3-2
  200. Provides: tightvnc-server = 1.5.0-0.15.20090204svn3586
  201. Obsoletes: tightvnc-server < 1.5.0-0.15.20090204svn3586
  202. Requires: perl
  203. Requires: tigervnc-server-minimal
  204. Requires: xorg-x11-xauth
  205. %description server
  206. The VNC system allows you to access the same desktop from a wide
  207. variety of platforms. This package includes set of utilities
  208. which make usage of TigerVNC server more user friendly. It also
  209. contains x0vncserver program which can export your active
  210. X session.
  211. %package server-minimal
  212. Summary: A minimal installation of TigerVNC server
  213. Group: User Interface/X
  214. Requires(post): chkconfig
  215. Requires(preun):chkconfig
  216. Requires(preun):initscripts
  217. Requires(postun):initscripts
  218. Requires: xkeyboard-config, xorg-x11-xkb-utils
  219. Requires: keyutils-libs-devel
  220. Requires: tigervnc-license
  221. %description server-minimal
  222. The VNC system allows you to access the same desktop from a wide
  223. variety of platforms. This package contains minimal installation
  224. of TigerVNC server, allowing others to access the desktop on your
  225. machine.
  226. %package license
  227. Summary: License of TigerVNC suite
  228. Group: User Interface/X
  229. %if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 || 0%{?centos} >= 6
  230. BuildArch: noarch
  231. %endif
  232. %description license
  233. This package contains license of the TigerVNC suite
  234. %package icons
  235. Summary: Icons for TigerVNC viewer
  236. Group: User Interface/X
  237. %if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 || 0%{?centos} >= 6
  238. BuildArch: noarch
  239. %endif
  240. %description icons
  241. This package contains icons for TigerVNC viewer
  242. %if %{_bootstrap}
  243. %package static-devel
  244. Summary: Static development files necessary to build TigerVNC
  245. Group: Development/Libraries
  246. %description static-devel
  247. This package contains static development files necessary to build TigerVNC
  248. %endif
  249. %prep
  250. rm -rf $RPM_BUILD_ROOT
  251. rm -rf %{_builddir}/%{name}-%{version}%{?snap:-%{snap}}
  252. %setup -q -n %{name}-%{version}%{?snap:-%{snap}}
  253. # Search paths for X11 are hard coded into FindX11.cmake
  254. cp %SOURCE9 cmake/Modules/
  255. sed -i -e "s#@_includedir@#%{xorg_buildroot}%{_includedir}#" cmake/Modules/FindX11.cmake
  256. sed -i -e "s#@_libdir@#%{xorg_buildroot}%{_libdir}#" cmake/Modules/FindX11.cmake
  257. %patch12 -p1 -b .static-build-fixes
  258. %if %{_bootstrap}
  259. tar xzf %SOURCE11
  260. pushd fltk-*
  261. %patch15 -p1 -b .static-libs
  262. popd
  263. tar xzf %SOURCE12
  264. tar xjf %SOURCE13
  265. tar xjf %SOURCE14
  266. tar xzf %SOURCE15
  267. tar xzf %SOURCE16
  268. xzcat %SOURCE17 | tar xf -
  269. %endif
  270. mkdir xorg
  271. pushd xorg
  272. %if %{_bootstrap}
  273. tar xjf %SOURCE100
  274. tar xjf %SOURCE101
  275. tar xjf %SOURCE102
  276. tar xjf %SOURCE103
  277. tar xjf %SOURCE104
  278. tar xjf %SOURCE105
  279. tar xjf %SOURCE106
  280. tar xjf %SOURCE107
  281. tar xjf %SOURCE108
  282. tar xjf %SOURCE109
  283. tar xjf %SOURCE110
  284. tar xjf %SOURCE111
  285. tar xjf %SOURCE112
  286. tar xjf %SOURCE113
  287. pushd libX11-*
  288. %patch10006 -p1 -b .CVE-2013-7439
  289. popd
  290. tar xjf %SOURCE114
  291. tar xjf %SOURCE115
  292. tar xjf %SOURCE116
  293. tar xjf %SOURCE117
  294. tar xjf %SOURCE118
  295. tar xjf %SOURCE119
  296. tar xjf %SOURCE120
  297. tar xjf %SOURCE121
  298. tar xjf %SOURCE122
  299. tar xjf %SOURCE123
  300. pushd libXfont-*
  301. %patch10003 -p1 -b .CVE-2015-1802
  302. %patch10004 -p1 -b .CVE-2015-1803
  303. %patch10005 -p1 -b .CVE-2015-1804
  304. popd
  305. tar xjf %SOURCE124
  306. tar xjf %SOURCE125
  307. tar xjf %SOURCE126
  308. tar xjf %SOURCE127
  309. tar xjf %SOURCE128
  310. tar xjf %SOURCE129
  311. tar xjf %SOURCE130
  312. tar xjf %SOURCE131
  313. tar xjf %SOURCE132
  314. tar xjf %SOURCE133
  315. tar xjf %SOURCE134
  316. tar xjf %SOURCE135
  317. tar xjf %SOURCE136
  318. tar xjf %SOURCE137
  319. tar xjf %SOURCE138
  320. tar xjf %SOURCE139
  321. tar xjf %SOURCE141
  322. tar xjf %SOURCE142
  323. tar xjf %SOURCE143
  324. tar xjf %SOURCE144
  325. tar xjf %SOURCE145
  326. tar xjf %SOURCE146
  327. tar xjf %SOURCE147
  328. tar xjf %SOURCE148
  329. tar xjf %SOURCE149
  330. tar xjf %SOURCE150
  331. tar xjf %SOURCE151
  332. tar xjf %SOURCE152
  333. tar xjf %SOURCE153
  334. tar xjf %SOURCE154
  335. tar xjf %SOURCE155
  336. tar xjf %SOURCE156
  337. tar xjf %SOURCE157
  338. tar xjf %SOURCE158
  339. %endif
  340. tar xjf %SOURCE159
  341. %if %{_bootstrap}
  342. tar xjf %SOURCE160
  343. tar xjf %SOURCE161
  344. tar xjf %SOURCE162
  345. tar xzf %SOURCE200
  346. tar xjf %SOURCE201
  347. pushd freetype-*
  348. %patch46 -p1 -b .enable-valid
  349. %patch88 -p1 -b .multilib
  350. %patch89 -p1 -b .CVE-2010-2498
  351. %patch90 -p1 -b .CVE-2010-2499
  352. %patch91 -p1 -b .CVE-2010-2500
  353. %patch92 -p1 -b .CVE-2010-2519
  354. %patch93 -p1 -b .CVE-2010-2520
  355. %patch96 -p1 -b .CVE-2010-1797
  356. %patch97 -p1 -b .CVE-2010-2805
  357. %patch98 -p1 -b .CVE-2010-2806
  358. %patch99 -p1 -b .CVE-2010-2808
  359. %patch100 -p1 -b .CVE-2010-3311
  360. %patch101 -p1 -b .CVE-2010-3855
  361. %patch102 -p1 -b .CVE-2011-0226
  362. %patch103 -p1 -b .CVE-2011-3256
  363. %patch104 -p1 -b .CVE-2011-3439
  364. %patch105 -p1 -b .CVE-2012-1126
  365. %patch106 -p1 -b .CVE-2012-1127
  366. %patch107 -p1 -b .CVE-2012-1130
  367. %patch108 -p1 -b .CVE-2012-1131
  368. %patch109 -p1 -b .CVE-2012-1132
  369. %patch110 -p1 -b .CVE-2012-1134
  370. %patch111 -p1 -b .CVE-2012-1136
  371. %patch112 -p1 -b .CVE-2012-1137
  372. %patch113 -p1 -b .CVE-2012-1139
  373. %patch114 -p1 -b .CVE-2012-1140
  374. %patch115 -p1 -b .CVE-2012-1141
  375. %patch116 -p1 -b .CVE-2012-1142
  376. %patch117 -p1 -b .CVE-2012-1143
  377. %patch118 -p1 -b .CVE-2012-1144
  378. %patch119 -p1 -b .bdf-overflow
  379. %patch120 -p1 -b .array-initialization
  380. %patch121 -p1 -b .CVE-2012-5669
  381. popd
  382. tar xjf %SOURCE202
  383. tar xjf %SOURCE203
  384. tar xjf %SOURCE204
  385. %endif
  386. pushd xorg-server-1*
  387. %patch10000 -p1 -b .CVE-2014-mult
  388. %patch10001 -p1 -b .CVE-regressions
  389. %patch10002 -p1 -b .CVE-2015-0255
  390. for f in `find . -type f -perm -000`; do
  391. chmod +r "$f"
  392. done
  393. popd
  394. %if %{_bootstrap}
  395. tar xzf %SOURCE205
  396. %endif
  397. popd
  398. cp -a xorg/xorg-server-1*/* unix/xserver
  399. pushd unix/xserver
  400. for all in `find . -type f -perm -001`; do
  401. chmod -x "$all"
  402. done
  403. patch -p1 < %{_builddir}/%{name}-%{version}%{?snap:-%{snap}}/unix/xserver112.patch
  404. %patch13 -p1 -b .dridir
  405. %patch14 -p1 -b .xkbcompdir
  406. popd
  407. %build
  408. export CC=gcc44
  409. export CXX=g++44
  410. export CFLAGS="-g $RPM_OPT_FLAGS -fPIC"
  411. export CXXFLAGS="$CFLAGS -static-libgcc"
  412. export PYTHON=python26
  413. %if %{_bootstrap}
  414. mkdir -p %{xorg_buildroot}%{_libdir}
  415. pushd %{xorg_buildroot}%{_libdir}
  416. ln -s `g++44 -print-file-name=libz.a` .
  417. ln -s `g++44 -print-file-name=libgcc.a` .
  418. ln -s `g++44 -print-file-name=libexpat.a` .
  419. ln -s `g++44 -print-file-name=libcrypto.a` .
  420. popd
  421. echo "*** Building libjpeg-turbo ***"
  422. pushd libjpeg-turbo-*
  423. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} --disable-nls --enable-static --disable-shared
  424. make %{?_smp_mflags} DESTDIR=%{xorg_buildroot} install
  425. popd
  426. echo "*** Building Xorg ***"
  427. pushd xorg
  428. echo "*** Building libsha1 ***"
  429. pushd libsha1-*
  430. autoreconf -fiv
  431. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} --disable-nls --enable-static --disable-shared
  432. make %{?_smp_mflags} DESTDIR=%{xorg_buildroot} install
  433. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  434. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  435. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  436. popd
  437. popd
  438. %endif
  439. export CFLAGS="$RPM_OPT_FLAGS -fPIC -I%{xorg_buildroot}%{_includedir}"
  440. export CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I%{xorg_buildroot}%{_includedir} -static-libgcc"
  441. export CPPFLAGS=$CXXFLAGS
  442. export LDFLAGS="-L%{xorg_buildroot}%{_libdir} -L%{xorg_buildroot}%{_libdir}/tigervnc $LDFLAGS"
  443. export ACLOCAL="aclocal -I %{xorg_buildroot}%{_datadir}/aclocal"
  444. export PKG_CONFIG_PATH="%{xorg_buildroot}%{_libdir}/pkgconfig:%{xorg_buildroot}%{_libdir}/tigervnc/pkgconfig:%{xorg_buildroot}%{_datadir}/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig"
  445. %if %{_bootstrap}
  446. echo "*** Building gmp ***"
  447. pushd gmp-*
  448. %ifarch x86_64 s390x ia64 ppc64 alpha sparc64
  449. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ABI=64 ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared --enable-cxx
  450. %else
  451. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ABI=32 ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared --enable-cxx
  452. %endif
  453. make %{?_smp_mflags} DESTDIR=%{xorg_buildroot} install
  454. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  455. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  456. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  457. popd
  458. echo "*** Building libtasn1 ***"
  459. pushd libtasn1-*
  460. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared
  461. make %{?_smp_mflags} DESTDIR=%{xorg_buildroot} install
  462. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  463. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  464. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  465. popd
  466. echo "*** Building nettle ***"
  467. pushd nettle-*
  468. autoreconf -fiv
  469. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared --disable-openssl
  470. make %{?_smp_mflags} DESTDIR=%{xorg_buildroot} install
  471. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  472. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  473. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  474. popd
  475. echo "*** Building gnutls ***"
  476. pushd gnutls-*
  477. LDFLAGS="-L%{xorg_buildroot}%{_libdir} -lgmp $LDFLAGS -static" PKG_CONFIG="pkg-config --static" ./configure \
  478. --host=%{_host} \
  479. --build=%{_build} \
  480. --prefix=%{_prefix} \
  481. --libdir=%{_libdir} \
  482. --enable-static \
  483. --disable-shared \
  484. --without-p11-kit \
  485. --disable-guile \
  486. --disable-srp-authentication \
  487. --disable-libdane \
  488. --disable-doc \
  489. --enable-local-libopts \
  490. --without-tpm \
  491. --disable-dependency-tracking \
  492. --disable-silent-rules \
  493. --disable-heartbeat-support
  494. make %{?_smp_mflags} DESTDIR=%{xorg_buildroot} install
  495. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  496. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  497. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  498. popd
  499. pushd xorg
  500. echo "*** Building freetype ***"
  501. pushd freetype-*
  502. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared
  503. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' builds/unix/libtool
  504. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' builds/unix/libtool
  505. make DESTDIR=%{xorg_buildroot} install
  506. # FIXME: fontconfig bails out if we delete the libtool archives
  507. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -exec sed -i -e "s|libdir='%{_libdir}'|libdir='%{xorg_buildroot}%{_libdir}'|" {} \;
  508. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  509. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  510. # fix multilib issues
  511. %ifarch x86_64 s390x ia64 ppc64 alpha sparc64
  512. %define wordsize 64
  513. %else
  514. %define wordsize 32
  515. %endif
  516. mv %{xorg_buildroot}%{_includedir}/freetype2/freetype/config/ftconfig.h \
  517. %{xorg_buildroot}%{_includedir}/freetype2/freetype/config/ftconfig-%{wordsize}.h
  518. cat >%{xorg_buildroot}%{_includedir}/freetype2/freetype/config/ftconfig.h <<EOF
  519. #ifndef __FTCONFIG_H__MULTILIB
  520. #define __FTCONFIG_H__MULTILIB
  521. #include <bits/wordsize.h>
  522. #if __WORDSIZE == 32
  523. # include "ftconfig-32.h"
  524. #elif __WORDSIZE == 64
  525. # include "ftconfig-64.h"
  526. #else
  527. # error "unexpected value for __WORDSIZE macro"
  528. #endif
  529. #endif
  530. EOF
  531. popd
  532. echo "*** Building fontconfig ***"
  533. pushd fontconfig-*
  534. autoreconf -fiv
  535. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" HASDOCBOOK=no ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared --with-confdir=%{_sysconfdir}/fonts --with-cache-dir=%{_localstatedir}/cache/fontconfig --with-default-fonts=%{_datadir}/fonts --with-add-fonts="%{_datadir}/X11/fonts/Type1,%{_datadir}/X11/fonts/OTF,%{_datadir}/X11/fonts/TTF,%{_datadir}/X11/fonts/misc,%{_datadir}/X11/fonts/100dpi,%{_datadir}/X11/fonts/75dpi,%{_prefix}/local/share/fonts,~/.fonts"
  536. make %{?_smp_mflags}
  537. make DESTDIR=%{xorg_buildroot} install
  538. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  539. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  540. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  541. popd
  542. pushd util-macros-*
  543. echo "Building macros"
  544. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared
  545. make DESTDIR=%{xorg_buildroot} install
  546. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  547. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  548. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  549. popd
  550. modules="\
  551. bigreqsproto \
  552. compositeproto \
  553. damageproto \
  554. dri2proto \
  555. fixesproto \
  556. fontsproto \
  557. glproto \
  558. inputproto \
  559. kbproto \
  560. randrproto \
  561. recordproto \
  562. renderproto \
  563. resourceproto \
  564. scrnsaverproto \
  565. videoproto \
  566. xcb-proto \
  567. xproto \
  568. xcmiscproto \
  569. xextproto \
  570. xf86bigfontproto \
  571. xf86dgaproto \
  572. xf86driproto \
  573. xf86vidmodeproto \
  574. xineramaproto \
  575. makedepend \
  576. xtrans \
  577. libXau \
  578. libXdmcp \
  579. libxcb \
  580. libX11 \
  581. libXext \
  582. libfontenc \
  583. libICE \
  584. libSM \
  585. libXt \
  586. libXmu \
  587. libXpm \
  588. libXaw \
  589. libXfixes \
  590. libXcomposite \
  591. libXrender \
  592. libXdamage \
  593. libXcursor \
  594. libXfont \
  595. libXft \
  596. libXi \
  597. libXinerama \
  598. libxkbfile \
  599. libXrandr \
  600. libXres \
  601. libXScrnSaver \
  602. libXtst \
  603. libXv \
  604. libXxf86dga \
  605. libXxf86vm \
  606. libpciaccess \
  607. pixman \
  608. libdrm \
  609. font-util"
  610. for module in ${modules}; do
  611. extraoptions=""
  612. pushd ${module}-*
  613. echo ======================
  614. echo configuring ${module}
  615. echo ======================
  616. %ifarch i386 i686 x86_64
  617. if [ "${module}" = "libdrm" ]; then
  618. autoreconf -fiv
  619. extraoptions="${extraoptions} --enable-udev --disable-libkms --disable-manpages --disable-intel --disable-radeon --disable-nouveau --disable-vmwgfx"
  620. fi
  621. %endif
  622. if [ "${module}" = "libXdmcp" ]; then
  623. autoreconf -fiv
  624. fi
  625. if [ "${module}" = "libXcursor" ]; then
  626. autoreconf -fiv
  627. fi
  628. if [ "${module}" = "libfontenc" ]; then
  629. autoconf
  630. fi
  631. if [ "${module}" = "libXi" ]; then
  632. autoreconf -fiv
  633. fi
  634. if [ "${module}" = "libXaw" ]; then
  635. extraoptions="${extraoptions} --disable-xaw8 --disable-xaw6"
  636. fi
  637. if [ "${module}" = "libxcb" ]; then
  638. sed -i 's/pthread-stubs //' configure.ac
  639. autoreconf -fiv
  640. fi
  641. if [ "${module}" = "libX11" ]; then
  642. autoreconf -fiv
  643. extraoptions="${extraoptions} --disable-specs"
  644. fi
  645. if [ "${module}" = "libSM" ]; then
  646. extraoptions="${extraoptions} --without-libuuid"
  647. fi
  648. if [ "${module}" = "pixman" ]; then
  649. extraoptions="${extraoptions} --disable-gtk --disable-openmp"
  650. aclocal -I %{xorg_buildroot}%{_datadir}/aclocal
  651. autoconf
  652. autoreconf -fiv
  653. fi
  654. if [ "${module}" = "libXfont" ]; then
  655. extraoptions="${extraoptions} --with-freetype-config=%{xorg_buildroot}%{_bindir}/freetype-config"
  656. fi
  657. if [ "${module}" = "libXScrnSaver" ]; then
  658. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} ${extraoptions} --enable-static --disable-shared --with-pic
  659. elif [ "${module}" = "libxkbfile" ]; then
  660. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} ${extraoptions} --enable-static --disable-shared --with-pic
  661. elif [ "${module}" = "pixman" ]; then
  662. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} ${extraoptions} --enable-static --disable-shared --with-pic
  663. elif [ "${module}" = "libXt" ]; then
  664. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} ${extraoptions} --enable-static --disable-shared --with-pic --with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S"
  665. elif [ "${module}" = "libX11" ]; then
  666. LDFLAGS="$LDFLAGS -lpthread" PKG_CONFIG="pkg-config --static" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} ${extraoptions} --disable-static --enable-shared --with-pic
  667. elif [ "${module}" = "libXtst" ]; then
  668. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} ${extraoptions} --enable-static --disable-shared --with-pic
  669. elif [ "${module}" = "libXpm" ]; then
  670. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} ${extraoptions} --enable-static --disable-shared --with-pic
  671. else
  672. LDFLAGS="$LDFLAGS -static" PKG_CONFIG="pkg-config --static" ./configure --host=%{_host} --build=%{_build} --prefix=%{_prefix} --libdir=%{_libdir} ${extraoptions} --enable-static --disable-shared --with-pic
  673. fi
  674. echo ======================
  675. echo building ${module}
  676. echo ======================
  677. make DESTDIR=%{xorg_buildroot}
  678. if [ "${module}" = "libX11" ]; then
  679. make DESTDIR=%{xorg_buildroot} INSTALL="install -p" install
  680. else
  681. make DESTDIR=%{xorg_buildroot} install
  682. fi
  683. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  684. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  685. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  686. if [ "${module}" = "libxcb" ]; then
  687. sed 's,@libdir@,%{xorg_buildroot}%{_libdir},;s,@prefix@,%{xorg_buildroot}%{_prefix},;s,@exec_prefix@,%{xorg_buildroot}%{_exec_prefix},' %{SOURCE140} > %{xorg_buildroot}%{_libdir}/pkgconfig/pthread-stubs.pc
  688. sed -i -e 's/^\(Libs.private:.*\)$/\1 -L${libdir} -lXdmcp -lXau/' %{xorg_buildroot}%{_libdir}/pkgconfig/xcb.pc
  689. elif [ "${module}" = "libX11" ]; then
  690. sed -i -e 's/^\(Libs:.*\)$/\1 -ldl/' %{xorg_buildroot}%{_libdir}/pkgconfig/x11.pc
  691. sed -i -e 's/^\(Libs.private:.*\)$/\1 -L${libdir} -lxcb/' %{xorg_buildroot}%{_libdir}/pkgconfig/x11.pc
  692. elif [ "${module}" = "libSM" ]; then
  693. echo 'Libs.private: -L${libdir} -lICE' >> %{xorg_buildroot}%{_libdir}/pkgconfig/sm.pc
  694. fi
  695. popd
  696. done
  697. %else
  698. pushd xorg
  699. %endif
  700. %if %{_bootstrap}
  701. # build mesa
  702. echo "*** Building Mesa ***"
  703. pushd Mesa-*
  704. export PYTHON2=python26
  705. %ifarch %{ix86}
  706. sed -i -e 's/-std=c99/-std=gnu99/g' configure.ac
  707. %endif
  708. autoreconf -fiv
  709. %ifarch %{ix86}
  710. # i do not have words for how much the assembly dispatch code infuriates me
  711. %define common_flags --disable-selinux --enable-pic --disable-asm
  712. %else
  713. %define common_flags --disable-selinux --enable-pic
  714. %endif
  715. # link libGL statically against any xorg libraries built above
  716. LDFLAGS="$LDFLAGS -Wl,-Bstatic -lxcb -lXdmcp -lXau -lXext -lXxf86vm -ldrm -Wl,-Bdynamic -lX11 -lpthread -Wl,-rpath,"'\$$'"ORIGIN/../..%{_libdir}/tigervnc:%{_libdir}/tigervnc:%{_libdir}" \
  717. PKG_CONFIG="pkg-config --static" ./configure %{common_flags} \
  718. --host=%{_host} \
  719. --build=%{_build} \
  720. --prefix=%{_prefix} \
  721. --libdir=%{_libdir}/tigervnc \
  722. --disable-osmesa \
  723. --disable-shared-glapi \
  724. --disable-egl \
  725. --disable-gbm \
  726. --enable-glx \
  727. --disable-glx-tls \
  728. --disable-opencl \
  729. --disable-xvmc \
  730. --with-dri-driverdir=%{_libdir}/tigervnc/dri \
  731. --disable-gallium-egl \
  732. --with-gallium-drivers="" \
  733. --with-dri-drivers=swrast
  734. make DESTDIR=%{xorg_buildroot}
  735. make install DESTDIR=%{xorg_buildroot}
  736. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  737. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
  738. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
  739. popd
  740. %endif
  741. popd
  742. %if %{_bootstrap}
  743. echo "*** Building libpng ***"
  744. pushd libpng-*
  745. CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" ./configure \
  746. --host=%{_host} \
  747. --build=%{_build} \
  748. --prefix=%{_prefix} \
  749. --libdir=%{_libdir} \
  750. --disable-shared \
  751. --enable-static
  752. make %{?_smp_mflags}
  753. make DESTDIR=%{xorg_buildroot} install
  754. popd
  755. echo "*** Building fltk ***"
  756. pushd fltk-*
  757. %endif
  758. export CMAKE_PREFIX_PATH="%{xorg_buildroot}%{_prefix}:%{_prefix}"
  759. export CMAKE_EXE_LINKER_FLAGS=$LDFLAGS
  760. export PKG_CONFIG="pkg-config --static"
  761. %if %{_bootstrap}
  762. ./configure \
  763. --host=%{_host} \
  764. --build=%{_build} \
  765. --prefix=%{_prefix} \
  766. --libdir=%{_libdir} \
  767. --enable-x11 \
  768. --enable-gl \
  769. --disable-shared \
  770. --enable-localjpeg \
  771. --enable-localzlib \
  772. --disable-localpng \
  773. --enable-xinerama \
  774. --enable-xft \
  775. --enable-xdbe \
  776. --enable-xfixes \
  777. --enable-xcursor \
  778. --with-x
  779. make %{?_smp_mflags}
  780. make DESTDIR=%{xorg_buildroot} install
  781. popd
  782. %endif
  783. echo "*** Building VNC ***"
  784. export CFLAGS="$CFLAGS -fPIC"
  785. export CXXFLAGS=`echo $CXXFLAGS | sed -e 's/ -c //g'`
  786. %{cmake28} -G"Unix Makefiles" \
  787. -DFLTK_FLUID_EXECUTABLE=%{xorg_buildroot}%{_bindir}/fluid \
  788. -DFLTK_LIBRARY_DIR=%{xorg_buildroot}%{_libdir} \
  789. -DFLTK_INCLUDE_DIR=%{xorg_buildroot}%{_includedir} \
  790. -DBUILD_STATIC=1 \
  791. -DCMAKE_BUILD_TYPE=Release \
  792. -DUSE_INCLUDED_ZLIB=0 \
  793. -DZLIB_INCLUDE_DIR=%{_includedir} \
  794. -DZLIB_LIBRARY=%{_libdir}/libz.a \
  795. -DCMAKE_INSTALL_PREFIX=%{_prefix}
  796. make %{?_smp_mflags}
  797. pushd unix/xserver
  798. export PIXMANINCDIR=%{xorg_buildroot}%{_includedir}/pixman-1
  799. sed -i -e 's/^\(\s*WAYLAND_SCANNER_RULES.*\)/dnl\1/' configure.ac
  800. autoreconf -fiv
  801. chmod +x ./configure
  802. # create a relocatable Xvnc so that we can bundle the custom libGL & swrast w/o overwriting existing libs
  803. GL_LIBS='-Wl,-Bdynamic -lGL' LDFLAGS="$LDFLAGS -Wl,-rpath,"'\$$'"ORIGIN/../..%{_libdir}/tigervnc:%{_libdir}/tigervnc:%{_libdir}" \
  804. %configure \
  805. --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_datadir}/man \
  806. --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} \
  807. --with-vendor-name="The TigerVNC Project" --with-vendor-name-short="TigerVNC" \
  808. --with-vendor-web="http://www.tigervnc.org" \
  809. --disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
  810. --disable-xwin --disable-xephyr --disable-kdrive --disable-wayland \
  811. --with-pic --enable-static --disable-shared --enable-xinerama \
  812. --with-default-xkb-rules=base \
  813. --with-default-font-path="catalogue:%{_sysconfdir}/X11/fontpath.d,%{_datadir}/X11/fonts/misc,%{_datadir}/X11/fonts/OTF,%{_datadir}/X11/fonts/TTF,%{_datadir}/X11/fonts/Type1,%{_datadir}/X11/fonts/100dpi,%{_datadir}/X11/fonts/75dpi,built-ins" \
  814. --with-serverconfig-path=%{_libdir}/xorg \
  815. --with-fontrootdir=%{_datadir}/X11/fonts \
  816. --with-xkb-output=%{_localstatedir}/lib/xkb \
  817. --enable-install-libxf86config \
  818. --enable-glx --disable-glx-tls --disable-dri --enable-dri2 --disable-dri3 \
  819. --disable-present \
  820. --disable-config-dbus \
  821. --disable-config-hal \
  822. --disable-config-udev \
  823. --without-dtrace \
  824. --disable-unit-tests \
  825. --disable-docs \
  826. --disable-devel-docs \
  827. --disable-selective-werror \
  828. --with-sha1=libsha1
  829. make TIGERVNC_SRCDIR=%{tigervnc_src_dir} %{?_smp_mflags}
  830. popd
  831. # Build icons
  832. pushd media
  833. make
  834. popd
  835. %install
  836. make install DESTDIR=$RPM_BUILD_ROOT
  837. pushd unix/xserver/hw/vnc
  838. make install DESTDIR=$RPM_BUILD_ROOT
  839. popd
  840. mkdir -p $RPM_BUILD_ROOT%{_libdir}/tigervnc/dri
  841. install -m644 -p %{xorg_buildroot}%{_libdir}/tigervnc/dri/swrast_dri.so $RPM_BUILD_ROOT%{_libdir}/tigervnc/dri
  842. for f in `find %{xorg_buildroot}%{_libdir}/tigervnc -name "lib*" -print` ; do
  843. cp -a $f $RPM_BUILD_ROOT%{_libdir}/tigervnc
  844. done
  845. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
  846. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
  847. install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/vncserver
  848. install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vncservers
  849. %find_lang %{name} %{name}.lang
  850. %if %{_bootstrap}
  851. find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -delete
  852. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{xorg_buildroot}%{_libdir}|libdir=/opt/%{name}/%{scl_name}%{_libdir}|" {} \;
  853. find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{xorg_buildroot}%{_prefix}|prefix=/opt/%{name}/%{scl_name}%{_prefix}|" {} \;
  854. %endif
  855. # remove unwanted files
  856. rm -rf $RPM_BUILD_ROOT%{_libdir}/tigervnc/pkgconfig
  857. rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
  858. rm -rf $RPM_BUILD_ROOT%{_libdir}/xorg
  859. rm -rf $RPM_BUILD_ROOT%{_includedir}
  860. rm -f $RPM_BUILD_ROOT%{_libdir}/tigervnc/*.la
  861. rm -f $RPM_BUILD_ROOT%{_libdir}/tigervnc/dri/*.la
  862. %clean
  863. rm -rf $RPM_BUILD_ROOT
  864. %post
  865. touch -c %{_datadir}/icons/hicolor
  866. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  867. %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  868. fi
  869. %postun
  870. touch -c %{_datadir}/icons/hicolor
  871. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  872. %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  873. fi
  874. %post server
  875. /sbin/chkconfig --add vncserver
  876. %preun server
  877. if [ $1 -eq 0 ]; then
  878. /sbin/service vncserver stop &>/dev/null || :
  879. /sbin/chkconfig --del vncserver
  880. fi
  881. %postun server
  882. /sbin/service vncserver condrestart &>/dev/null || :
  883. %files -f %{name}.lang
  884. %defattr(-,root,root,-)
  885. %doc README.rst
  886. %{_bindir}/vncviewer
  887. %{_datadir}/applications/*
  888. %{_mandir}/man1/vncviewer.1*
  889. %files server
  890. %defattr(-,root,root,-)
  891. %config(noreplace) %{_sysconfdir}/sysconfig/vncservers
  892. %config(noreplace) %{_sysconfdir}/init.d/vncserver
  893. %{_bindir}/x0vncserver
  894. %{_bindir}/vncserver
  895. %{_mandir}/man1/vncserver.1*
  896. %{_mandir}/man1/x0vncserver.1*
  897. %files server-minimal
  898. %defattr(-,root,root,-)
  899. %{_bindir}/vncconfig
  900. %{_bindir}/vncpasswd
  901. %{_bindir}/Xvnc
  902. %{_mandir}/man1/Xvnc.1*
  903. %{_mandir}/man1/vncpasswd.1*
  904. %{_mandir}/man1/vncconfig.1*
  905. %{_libdir}/*
  906. %files license
  907. %defattr(-,root,root,-)
  908. %doc LICENCE.TXT
  909. %files icons
  910. %defattr(-,root,root,-)
  911. %{_datadir}/icons/hicolor/*/apps/*
  912. %if %{_bootstrap}
  913. %files static-devel
  914. %defattr(-,root,root,-)
  915. /opt/%{name}/%{scl_name}%{_sysconfdir}/*
  916. /opt/%{name}/%{scl_name}%{_bindir}/*
  917. /opt/%{name}/%{scl_name}%{_datadir}/*
  918. /opt/%{name}/%{scl_name}%{_includedir}/*
  919. /opt/%{name}/%{scl_name}%{_libdir}/*
  920. %ifarch x86_64 s390x ia64 ppc64 alpha sparc64
  921. /opt/%{name}/%{scl_name}%{_prefix}/lib/python2.6/*
  922. %endif
  923. %endif
  924. %changelog
  925. * Fri Dec 11 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.6.80-3
  926. - Configure with --host and --build to avoid build host-specific compiler opts
  927. * Fri Nov 27 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.6.80-2
  928. - Split static pre-reqs into separate package
  929. * Thu Nov 26 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.6.80-1
  930. - Version bump for 1.6 release
  931. - Update libjpeg-turbo, gnutls, libtasn1, libpng to latest upstream versions.
  932. * Sun Sep 12 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.5.80-8
  933. - Build Xvnc with link path relative to $ORIGIN and apply dridir patch
  934. to make it portable.
  935. * Sun Aug 09 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.5.80-7
  936. - Patch Xorg sources with latest relevant CVE patches.
  937. - Update libjpeg-turbo, gnutls, libtasn1 to latest upstream versions.
  938. * Sat Mar 14 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.4.80-6
  939. - Build static libraries to meet new minimum requirements
  940. * Sat Mar 07 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.4.80-5
  941. - Don't disable xinerama extension
  942. * Thu Feb 19 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.4.80-4
  943. - Bumped fltk to 1.3.3, no longer requires patching
  944. * Mon Jan 19 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.4.0-3
  945. - Added default font paths to Xvnc and fontconfig
  946. - Added vendor strings to Xvnc
  947. - Specified xfile-search-path when configuring libXt the same way el6 does
  948. * Wed Dec 24 2014 Brian P. Hinz <bphinz@users.sourceforge.net> 1.4.80-1.20141119git59c5a55c
  949. - Rebuilt against Xorg 7.7 with CVE-2104-12-09 patches from debian.
  950. - Bumped versions of Mesa, Freetype, fontconfig, etc.
  951. - Link against our own version of libGL to improve portability.
  952. - Added static libsha1 to avoid linking against libssl.so.
  953. * Wed Nov 19 2014 Brian P. Hinz <bphinz@users.sourceforge.net> 1.3.80-18.20141119git59c5a55c
  954. - Removed server module sub-package
  955. * Thu Nov 28 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.3.80-17.20131128svn5139
  956. - Bumped version to 1.3.80
  957. - Cleaned up linter warnings
  958. * Thu Jul 05 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.3.0
  959. - Upstream 1.3.0 release
  960. - Conditional-ized %snap for release
  961. * Fri Jun 14 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.90-14.20130531svn5120
  962. - Update libjpeg-turbo to 1.3.0
  963. * Fri May 24 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.90-14.20130524svn5114
  964. - Improve spec file portability
  965. * Fri May 17 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.90-13.20130425svn5087
  966. - Improve portability with more static linking
  967. * Thu Apr 04 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.80-12.20130330svn5066
  968. - Added conditional -march arg to libdrm-intel to allow building on i386
  969. - Fixed version to reflect upstream pre-release versioning
  970. * Sat Mar 30 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-11.20130330svn5066
  971. - Updated to TigerVNC svn 5066
  972. - Updated fltk to 1.3.2 and updated fltk patches per BUILDING.txt
  973. - Fixed vncserver init script & config file which had been overwritten by
  974. systemd versions.
  975. * Wed Nov 28 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-7.20120915svn4999
  976. - Changed BuildRequires to cmake28
  977. - Set PIXMANINCDIR when building Xvnc
  978. * Tue Sep 18 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-6.20120915svn4999
  979. - Applied icon support patch
  980. * Sat Sep 15 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-5.20120915svn4999
  981. - Update to TigerVNC svn r4999 snapshot
  982. - Build a static libjpeg-turbo to remove the external dependency
  983. - Applied Cendio's Fltk patches, except for the icon patch which I cannot get to build
  984. without creating undefined reference errors during linking
  985. * Thu Jul 19 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-4.20120719svn4941
  986. - Update to TigerVNC svn r4941 snapshot
  987. - Removed border-hook.patch since it's been committed
  988. * Wed Jul 18 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-3.20120715svn4937
  989. - Update to TigerVNC svn r4937 snapshot
  990. - Applied border-hook.patch from devel list to fix bug #3415308
  991. - Use build order recommended by cgit.freedesktop.org/xorg/util/modular/tree/build.sh
  992. - Removed tigervnc11-rh692048.patch as it seems to break support for VeNCrypt
  993. * Sun Jul 15 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-1.20120715svn4935
  994. - Adapted spec file for building static linked binary on RHEL5 from F16
  995. spec file and DRC's build-xorg script included in src tarball.
  996. - Update to TigerVNC svn r4935 snapshot
  997. - Need to use inkscape on RHEL5 because convert is broken
  998. * Tue Nov 22 2011 Adam Tkac <atkac redhat com> - 1.1.0-3
  999. - don't build X.Org devel docs (#755782)
  1000. - applet: BR generic java-devel instead of java-gcj-devel (#755783)
  1001. - use runuser to start Xvnc in systemd service file (#754259)
  1002. - don't attepmt to restart Xvnc session during update/erase (#753216)
  1003. * Fri Nov 11 2011 Adam Tkac <atkac redhat com> - 1.1.0-2
  1004. - libvnc.so: don't use unexported GetMaster function (#744881)
  1005. - remove nasm buildreq
  1006. * Mon Sep 12 2011 Adam Tkac <atkac redhat com> - 1.1.0-1
  1007. - update to 1.1.0
  1008. - update the xorg11 patch
  1009. - patches merged
  1010. - tigervnc11-glx.patch
  1011. - tigervnc11-CVE-2011-1775.patch
  1012. - 0001-Use-memmove-instead-of-memcpy-in-fbblt.c-when-memory.patch
  1013. * Thu Jul 28 2011 Adam Tkac <atkac redhat com> - 1.0.90-6
  1014. - add systemd service file and remove legacy SysV initscript (#717227)
  1015. * Tue May 12 2011 Adam Tkac <atkac redhat com> - 1.0.90-5
  1016. - make Xvnc buildable against X.Org 1.11
  1017. * Tue May 10 2011 Adam Tkac <atkac redhat com> - 1.0.90-4
  1018. - viewer can send password without proper validation of X.509 certs
  1019. (CVE-2011-1775)
  1020. * Wed Apr 13 2011 Adam Tkac <atkac redhat com> - 1.0.90-3
  1021. - fix wrong usage of memcpy which caused screen artifacts (#652590)
  1022. - don't point to inaccessible link in sysconfig/vncservers (#644975)
  1023. * Fri Apr 08 2011 Adam Tkac <atkac redhat com> - 1.0.90-2
  1024. - improve compatibility with vinagre client (#692048)
  1025. * Tue Mar 22 2011 Adam Tkac <atkac redhat com> - 1.0.90-1
  1026. - update to 1.0.90
  1027. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.90-0.32.20110117svn4237
  1028. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  1029. * Mon Jan 17 2011 Adam Tkac <atkac redhat com> 1.0.90-0.31.20110117svn4237
  1030. - fix libvnc.so module loading
  1031. * Mon Jan 17 2011 Adam Tkac <atkac redhat com> 1.0.90-0.30.20110117svn4237
  1032. - update to r4237
  1033. - patches merged
  1034. - tigervnc11-optionsdialog.patch
  1035. - tigervnc11-rh607866.patch
  1036. * Fri Jan 14 2011 Adam Tkac <atkac redhat com> 1.0.90-0.29.20101208svn4225
  1037. - improve patch for keyboard issues
  1038. * Fri Jan 14 2011 Adam Tkac <atkac redhat com> 1.0.90-0.28.20101208svn4225
  1039. - attempt to fix various keyboard-related issues (key repeating etc)
  1040. * Fri Jan 07 2011 Adam Tkac <atkac redhat com> 1.0.90-0.27.20101208svn4225
  1041. - render "Ok" and "Cancel" buttons in the options dialog correctly
  1042. * Wed Dec 15 2010 Jan Görig <jgorig redhat com> 1.0.90-0.26.20101208svn4225
  1043. - added vncserver lock file (#662784)
  1044. * Fri Dec 10 2010 Adam Tkac <atkac redhat com> 1.0.90-0.25.20101208svn4225
  1045. - update to r4225
  1046. - patches merged
  1047. - tigervnc11-rh611677.patch
  1048. - tigervnc11-rh633931.patch
  1049. - tigervnc11-xorg1.10.patch
  1050. - enable VeNCrypt and PAM support
  1051. * Mon Dec 06 2010 Adam Tkac <atkac redhat com> 1.0.90-0.24.20100813svn4123
  1052. - rebuild against xserver 1.10.X
  1053. - 0001-Return-Success-from-generate_modkeymap-when-max_keys.patch merged
  1054. * Wed Sep 29 2010 jkeating - 1.0.90-0.23.20100813svn4123
  1055. - Rebuilt for gcc bug 634757
  1056. * Tue Sep 21 2010 Adam Tkac <atkac redhat com> 1.0.90-0.22.20100420svn4030
  1057. - drop xorg-x11-fonts-misc dependency (#636170)
  1058. * Tue Sep 21 2010 Adam Tkac <atkac redhat com> 1.0.90-0.21.20100420svn4030
  1059. - improve patch for #633645 (fix tcsh incompatibilities)
  1060. * Thu Sep 16 2010 Adam Tkac <atkac redhat com> 1.0.90-0.20.20100813svn4123
  1061. - press fake modifiers correctly (#633931)
  1062. - supress unneeded debug information emitted from initscript (#633645)
  1063. * Wed Aug 25 2010 Adam Tkac <atkac redhat com> 1.0.90-0.19.20100813svn4123
  1064. - separate Xvnc, vncpasswd and vncconfig to -server-minimal subpkg (#626946)
  1065. - move license to separate subpkg and Requires it from main subpkgs
  1066. - Xvnc: handle situations when no modifiers exist well (#611677)
  1067. * Fri Aug 13 2010 Adam Tkac <atkac redhat com> 1.0.90-0.18.20100813svn4123
  1068. - update to r4123 (#617973)
  1069. - add perl requires to -server subpkg (#619791)
  1070. * Thu Jul 22 2010 Adam Tkac <atkac redhat com> 1.0.90-0.17.20100721svn4113
  1071. - update to r4113
  1072. - patches merged
  1073. - tigervnc11-rh586406.patch
  1074. - tigervnc11-libvnc.patch
  1075. - tigervnc11-rh597172.patch
  1076. - tigervnc11-rh600070.patch
  1077. - tigervnc11-options.patch
  1078. - don't own %%{_datadir}/icons directory (#614301)
  1079. - minor improvements in the .desktop file (#616340)
  1080. - bundled libjpeg configure requires nasm; is executed even if system-wide
  1081. libjpeg is used
  1082. * Fri Jul 02 2010 Adam Tkac <atkac redhat com> 1.0.90-0.16.20100420svn4030
  1083. - build against system-wide libjpeg-turbo (#494458)
  1084. - build no longer requires nasm
  1085. * Mon Jun 28 2010 Adam Tkac <atkac redhat com> 1.0.90-0.15.20100420svn4030
  1086. - vncserver: accept <+optname> option when specified as the first one
  1087. * Thu Jun 24 2010 Adam Tkac <atkac redhat com> 1.0.90-0.14.20100420svn4030
  1088. - fix memory leak in Xvnc input code (#597172)
  1089. - don't crash when receive negative encoding (#600070)
  1090. - explicitly disable udev configuration support
  1091. - add gettext-autopoint to BR
  1092. * Mon Jun 14 2010 Adam Tkac <atkac redhat com> 1.0.90-0.13.20100420svn4030
  1093. - update URL about SSH tunneling in the sysconfig file (#601996)
  1094. * Fri Jun 11 2010 Adam Tkac <atkac redhat com> 1.0.90-0.12.20100420svn4030
  1095. - use newer gettext
  1096. - autopoint now uses git instead of cvs, adjust BuildRequires appropriately
  1097. * Thu May 13 2010 Adam Tkac <atkac redhat com> 1.0.90-0.11.20100420svn4030
  1098. - link libvnc.so "now" to catch "undefined symbol" errors during Xorg startup
  1099. - use always XkbConvertCase instead of XConvertCase (#580159, #586406)
  1100. - don't link libvnc.so against libXi.la, libdix.la and libxkb.la; use symbols
  1101. from Xorg instead
  1102. * Thu May 13 2010 Adam Tkac <atkac redhat com> 1.0.90-0.10.20100420svn4030
  1103. - update to r4030 snapshot
  1104. - patches merged to upstream
  1105. - tigervnc11-rh522369.patch
  1106. - tigervnc11-rh551262.patch
  1107. - tigervnc11-r4002.patch
  1108. - tigervnc11-r4014.patch
  1109. * Thu Apr 08 2010 Adam Tkac <atkac redhat com> 1.0.90-0.9.20100219svn3993
  1110. - add server-applet subpackage which contains Java vncviewer applet
  1111. - fix Java applet; it didn't work when run from web browser
  1112. - add xorg-x11-xkb-utils to server Requires
  1113. * Fri Mar 12 2010 Adam Tkac <atkac redhat com> 1.0.90-0.8.20100219svn3993
  1114. - add French translation to vncviewer.desktop (thanks to Alain Portal)
  1115. * Thu Mar 04 2010 Adam Tkac <atkac redhat com> 1.0.90-0.7.20100219svn3993
  1116. - don't crash during pixel format change (#522369, #551262)
  1117. * Mon Mar 01 2010 Adam Tkac <atkac redhat com> 1.0.90-0.6.20100219svn3993
  1118. - add mesa-dri-drivers and xkeyboard-config to -server Requires
  1119. - update to r3993 1.0.90 snapshot
  1120. - tigervnc11-noexecstack.patch merged
  1121. - tigervnc11-xorg18.patch merged
  1122. - xserver18.patch is no longer needed
  1123. * Wed Jan 27 2010 Jan Gorig <jgorig redhat com> 1.0.90-0.5.20091221svn3929
  1124. - initscript LSB compliance fixes (#523974)
  1125. * Fri Jan 22 2010 Adam Tkac <atkac redhat com> 1.0.90-0.4.20091221svn3929
  1126. - mark stack as non-executable in jpeg ASM code
  1127. - add xorg-x11-xauth to Requires
  1128. - add support for X.Org 1.8
  1129. - drop shave sources, they are no longer needed
  1130. * Thu Jan 21 2010 Adam Tkac <atkac redhat com> 1.0.90-0.3.20091221svn3929
  1131. - drop tigervnc-xorg25909.patch, it has been merged to X.Org upstream
  1132. * Thu Jan 07 2010 Adam Tkac <atkac redhat com> 1.0.90-0.2.20091221svn3929
  1133. - add patch for upstream X.Org issue #25909
  1134. - add libXdmcp-devel to build requires to build Xvnc with XDMCP support (#552322)
  1135. * Mon Dec 21 2009 Adam Tkac <atkac redhat com> 1.0.90-0.1.20091221svn3929
  1136. - update to 1.0.90 snapshot
  1137. - patches merged
  1138. - tigervnc10-compat.patch
  1139. - tigervnc10-rh510185.patch
  1140. - tigervnc10-rh524340.patch
  1141. - tigervnc10-rh516274.patch
  1142. * Mon Oct 26 2009 Adam Tkac <atkac redhat com> 1.0.0-3
  1143. - create Xvnc keyboard mapping before first keypress (#516274)
  1144. * Thu Oct 08 2009 Adam Tkac <atkac redhat com> 1.0.0-2
  1145. - update underlying X source to 1.6.4-0.3.fc11
  1146. - remove bogus '-nohttpd' parameter from /etc/sysconfig/vncservers (#525629)
  1147. - initscript LSB compliance fixes (#523974)
  1148. - improve -LowColorSwitch documentation and handling (#510185)
  1149. - honor dotWhenNoCursor option (and it's changes) every time (#524340)
  1150. * Fri Aug 28 2009 Adam Tkac <atkac redhat com> 1.0.0-1
  1151. - update to 1.0.0
  1152. - tigervnc10-rh495457.patch merged to upstream
  1153. * Mon Aug 24 2009 Karsten Hopp <karsten@redhat.com> 0.0.91-0.17
  1154. - fix ifnarch s390x for server-module
  1155. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.0.91-0.16
  1156. - rebuilt with new openssl
  1157. * Tue Aug 04 2009 Adam Tkac <atkac redhat com> 0.0.91-0.15
  1158. - make Xvnc compilable
  1159. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.91-0.14.1
  1160. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  1161. * Mon Jul 13 2009 Adam Tkac <atkac redhat com> 0.0.91-0.13.1
  1162. - don't write warning when initscript is called with condrestart param (#508367)
  1163. * Tue Jun 23 2009 Adam Tkac <atkac redhat com> 0.0.91-0.13
  1164. - temporary use F11 Xserver base to make Xvnc compilable
  1165. - BuildRequires: libXi-devel
  1166. - don't ship tigervnc-server-module on s390/s390x
  1167. * Mon Jun 22 2009 Adam Tkac <atkac redhat com> 0.0.91-0.12
  1168. - fix local rendering of cursor (#495457)
  1169. * Thu Jun 18 2009 Adam Tkac <atkac redhat com> 0.0.91-0.11
  1170. - update to 0.0.91 (1.0.0 RC1)
  1171. - patches merged
  1172. - tigervnc10-rh499401.patch
  1173. - tigervnc10-rh497592.patch
  1174. - tigervnc10-rh501832.patch
  1175. - after discusion in upstream drop tigervnc-bounds.patch
  1176. - configure flags cleanup
  1177. * Thu May 21 2009 Adam Tkac <atkac redhat com> 0.0.90-0.10
  1178. - rebuild against 1.6.1.901 X server (#497835)
  1179. - disable i18n, vncviewer is not UTF-8 compatible (#501832)
  1180. * Mon May 18 2009 Adam Tkac <atkac redhat com> 0.0.90-0.9
  1181. - fix vncpasswd crash on long passwords (#499401)
  1182. - start session dbus daemon correctly (#497592)
  1183. * Mon May 11 2009 Adam Tkac <atkac redhat com> 0.0.90-0.8.1
  1184. - remove merged tigervnc-manminor.patch
  1185. * Tue May 05 2009 Adam Tkac <atkac redhat com> 0.0.90-0.8
  1186. - update to 0.0.90
  1187. * Thu Apr 30 2009 Adam Tkac <atkac redhat com> 0.0.90-0.7.20090427svn3789
  1188. - server package now requires xorg-x11-fonts-misc (#498184)
  1189. * Mon Apr 27 2009 Adam Tkac <atkac redhat com> 0.0.90-0.6.20090427svn3789
  1190. - update to r3789
  1191. - tigervnc-rh494801.patch merged
  1192. - tigervnc-newfbsize.patch is no longer needed
  1193. - fix problems when vncviewer and Xvnc run on different endianess (#496653)
  1194. - UltraVNC and TightVNC clients work fine again (#496786)
  1195. * Wed Apr 08 2009 Adam Tkac <atkac redhat com> 0.0.90-0.5.20090403svn3751
  1196. - workaround broken fontpath handling in vncserver script (#494801)
  1197. * Fri Apr 03 2009 Adam Tkac <atkac redhat com> 0.0.90-0.4.20090403svn3751
  1198. - update to r3751
  1199. - patches merged
  1200. - tigervnc-xclients.patch
  1201. - tigervnc-clipboard.patch
  1202. - tigervnc-rh212985.patch
  1203. - basic RandR support in Xvnc (resize of the desktop)
  1204. - use built-in libjpeg (SSE2/MMX accelerated encoding on x86 platform)
  1205. - use Tight encoding by default
  1206. - use TigerVNC icons
  1207. * Tue Mar 03 2009 Adam Tkac <atkac redhat com> 0.0.90-0.3.20090303svn3631
  1208. - update to r3631
  1209. * Tue Mar 03 2009 Adam Tkac <atkac redhat com> 0.0.90-0.2.20090302svn3621
  1210. - package review related fixes
  1211. * Mon Mar 02 2009 Adam Tkac <atkac redhat com> 0.0.90-0.1.20090302svn3621
  1212. - initial package, r3621