blob: e3834729a32eb5db90b7d9bc2d74a737a398557a [file] [log] [blame]
DRC2c0ea902010-04-16 07:33:41 +00001*******************************************************************************
DRC667df922011-06-23 10:11:22 +00002** Building TigerVNC
DRC2c0ea902010-04-16 07:33:41 +00003*******************************************************************************
4
5
DRC667df922011-06-23 10:11:22 +00006================================
7Build Requirements (All Systems)
8================================
DRC2c0ea902010-04-16 07:33:41 +00009
DRC667df922011-06-23 10:11:22 +000010-- CMake (http://www.cmake.org) v2.8 or later
11
Pierre Ossman56610fb2015-01-27 16:28:15 +010012-- FLTK 1.3.3 or later
Peter Åstrand956a6362012-08-09 07:33:08 +000013
DRC69854b42011-05-13 09:31:24 +000014-- If building TLS support:
Pierre Ossmanec3dfe62014-10-17 10:36:58 +020015 * GnuTLS
Brian P. Hinz34d2b4d2014-11-14 00:25:12 -050016 * See "Building TLS Support" below.
DRC69854b42011-05-13 09:31:24 +000017
DRCce355e32011-06-24 04:58:01 +000018-- If building native language support (NLS):
19 * Gnu gettext 0.14.4 or later
20 * See "Building Native Language Support" below.
21
Pierre Ossman3e4281b2014-10-17 10:40:07 +020022-- libjpeg-turbo
23 * "Normal" libjpegv6 is also supported, although it is not
24 recommended as it is much slower.
DRC667df922011-06-23 10:11:22 +000025
26
27=========================
28Build Requirements (Unix)
29=========================
30
31-- Non-Mac platforms:
32 * X11 development kit
33
DRC2c0ea902010-04-16 07:33:41 +000034-- If building Xvnc:
DRC667df922011-06-23 10:11:22 +000035 * autoconf 2.57 or later
36 * automake 1.7 or later
37 * libtool 1.4 or later
38 * OpenSSL v0.9.7 or later
DRC2c0ea902010-04-16 07:33:41 +000039 * Python v2.3 or later
40 * zlib v1.2 or later
DRC2c0ea902010-04-16 07:33:41 +000041
DRC69854b42011-05-13 09:31:24 +000042 * pkgconfig 0.20 or later
43 If you are using an older RPM-based system which does not meet this
44 minimum requirement (such as Red Hat Enterprise Linux 4), then you can
45 build pkgconfig 0.20 from the Fedora 5 source RPM:
46 http://archive.fedoraproject.org/pub/archive/fedora/linux/core/5/source/SRPMS/pkgconfig-0.20-2.2.1.src.rpm
47
DRC69854b42011-05-13 09:31:24 +000048 * gettext 0.14.4 or later
49 If you are using an older RPM-based system which does not meet this
50 minimum requirement (such as Red Hat Enterprise Linux 4), then you can
51 build gettext 0.14.5 from the Fedora 5 source RPM:
52 http://archive.fedoraproject.org/pub/archive/fedora/linux/core/5/source/SRPMS/gettext-0.14.5-3.src.rpm
53 NOTE: gcj and libgcj are required when building the above source RPM.
DRC2b0b1942011-02-09 03:10:44 +000054
DRC2c0ea902010-04-16 07:33:41 +000055
DRC667df922011-06-23 10:11:22 +000056============================
57Build Requirements (Windows)
58============================
DRC180c0162010-10-27 07:20:27 +000059
DRCccc09692011-11-08 06:57:58 +000060-- MinGW or MinGW-w64
DRC180c0162010-10-27 07:20:27 +000061
DRC180c0162010-10-27 07:20:27 +000062-- Inno Setup (needed to build the TigerVNC installer)
63 Inno Setup can be downloaded from http://www.jrsoftware.org/isinfo.php.
64 You also need the Inno Setup Preprocessor, which is available in the
65 Inno Setup QuickStart Pack.
66
67 Add the directory containing iscc.exe (for instance,
68 C:\Program Files\Inno Setup 5) to the system or user PATH environment
69 variable prior to building TigerVNC.
70
DRC667df922011-06-23 10:11:22 +000071
DRC15b6e052011-10-06 01:20:52 +000072=========================
73Build Requirements (Java)
74=========================
75
76-- Sun/Oracle JDK v5 or later or OpenJDK
77
78-- See "Building Java Support" below.
79
80
DRC180c0162010-10-27 07:20:27 +000081==================
82Out-of-Tree Builds
83==================
84
85Binary objects, libraries, and executables are generated in the same directory
86from which cmake was executed (the "binary directory"), and this directory need
87not necessarily be the same as the TigerVNC source directory. You can create
88multiple independent binary directories, in which different versions of
89TigerVNC can be built from the same source tree using different compilers or
90settings. In the sections below, {build_directory} refers to the binary
91directory, whereas {source_directory} refers to the TigerVNC source directory.
92For in-tree builds, these directories are the same.
93
94
95=================
96Building TigerVNC
97=================
98
99
DRC62f3a662011-08-24 00:03:31 +0000100Building the TigerVNC Viewer on Unix/Mac Systems
101------------------------------------------------
DRC667df922011-06-23 10:11:22 +0000102
103The following procedure will build the TigerVNC Viewer on Linux and Unix
104systems. On 64-bit systems, this will build a 64-bit version of TigerVNC. See
105"Build Recipes" for specific build instructions for building a 32-bit version
106of TigerVNC on 64-bit systems.
107
108 cd {build_directory}
DRC240a5ff2011-07-06 07:28:30 +0000109 cmake -G "Unix Makefiles" [additional CMake flags] {source_directory}
DRC667df922011-06-23 10:11:22 +0000110 make
111
DRC62f3a662011-08-24 00:03:31 +0000112
113Building the TigerVNC Server on Modern Unix/Linux Systems
114---------------------------------------------------------
115
DRC667df922011-06-23 10:11:22 +0000116Building the TigerVNC Server (Xvnc) is a bit trickier. On newer systems
117containing Xorg 7.4 or later (such as Fedora), Xvnc is typically built to use
118the X11 shared libraries provided with the system. The procedure for this is
DRC62f3a662011-08-24 00:03:31 +0000119system-specific, since it requires specifying such things as font directories,
120but the general outline is as follows (this procedure assumes that the viewer
121has already been built, per above.)
122
123 > cd {build_directory}
124
125 If performing an out-of-tree build:
126 > mkdir unix
127 > cp -R {source_directory}/unix/xserver unix/
128
129 > cp -R {xorg_source}/* unix/xserver/
130 (NOTE: {xorg_source} is the directory containing the Xorg source for the
131 machine on which you are building TigerVNC. The most recent versions of
132 Red Hat/CentOS/Fedora, for instance, provide an RPM called
133 "xorg-x11-server-source", which installs the Xorg source under
134 /usr/share/xorg-x11-server-source.)
135
136 > cd unix/xserver/
137 > patch -p1 < {source_directory}/unix/xserver{version}.patch
138 (where {version} matches the X server version you are building, such as
139 "17" for version 1.7.x.)
140 > autoreconf -fiv
141
Peter Åstrand01b24332011-10-31 08:14:40 +0000142 > ./configure --with-pic --without-dtrace --disable-static --disable-dri \
DRC62f3a662011-08-24 00:03:31 +0000143 --disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \
144 --disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \
145 --disable-config-dbus --disable-config-hal --disable-config-udev \
146 --disable-dri2 --enable-install-libxf86config --enable-glx \
147 --with-default-font-path="catalogue:/etc/X11/fontpath.d,built-ins" \
148 --with-fontdir=/usr/share/X11/fonts \
149 --with-xkb-path=/usr/share/X11/xkb \
150 --with-xkb-output=/var/lib/xkb \
DRC0bb7e132011-08-24 00:26:54 +0000151 --with-xkb-bin-directory=/usr/bin \
DRC62f3a662011-08-24 00:03:31 +0000152 --with-serverconfig-path=/usr/lib[64]/xorg \
153 --with-dri-driver-path=/usr/lib[64]/dri \
154 {additional configure options}
155 (NOTE: This is merely an example that works with Red Hat Enterprise/CentOS
156 6 and recent Fedora releases. You should customize it for your particular
157 system. In particular, it will be necessary to customize the font, XKB,
158 and DRI directories.)
159
160 > make TIGERVNC_SRCDIR={source_directory}
161
162
163Building the TigerVNC Server on Legacy Unix/Linux Systems
164---------------------------------------------------------
DRC667df922011-06-23 10:11:22 +0000165
166Those using systems with older versions of Xorg must build a "legacy-friendly"
167version of the TigerVNC Server. This is accomplished by downloading and
168building the more recent Xorg modules in a local directory and then building
169Xvnc such that it links against the local build of these libraries, not the X11
170libraries installed on the system. The "build-xorg" script in the TigerVNC
171source distribution (located under unix/) automates this process.
172
173The following procedure will build both the TigerVNC Viewer and a
174"legacy-friendly" version of the TigerVNC Server:
175
176 cd {build_directory}
177 sh {source_directory}/unix/build-xorg init
178 sh {source_directory}/unix/build-xorg build [additional CMake flags]
179
180build-xorg generates a version of Xvnc that has no external dependencies on the
181X11 shared libraries or any other distribution-specific shared libraries. This
182version of Xvnc should be transportable across multiple O/S distributions.
183build-xorg should work on Red Hat Enterprise 4, its contemporaries, and later
184systems. It probably will not work on older systems. It has not been tested
185on non-Linux systems (yet).
186
187build-xorg can also be used to rebuild just the TigerVNC Server and Viewer,
188once the X11 modules and other dependencies have been built for the first time.
189This is convenient for testing changes that just apply to the TigerVNC source
190code. To accomplish this, run:
191
192 sh {source_directory}/unix/build-xorg rebuild [additional make flags]
193
194For instance,
195
196 sh {source_directory}/unix/build-xorg rebuild clean
197
198will clean both the Xvnc and vncviewer builds without destroying any of the
199build configuration or module dependencies.
200
201
DRCe4e604f2011-10-01 17:54:36 +0000202Building the Windows TigerVNC Viewer with MinGW
203-----------------------------------------------
DRC180c0162010-10-27 07:20:27 +0000204
DRCccc09692011-11-08 06:57:58 +0000205If building the Windows version of TigerVNC on a Windows build system, use
206the following procedure.
207
DRC180c0162010-10-27 07:20:27 +0000208 cd {build_directory}
DRC240a5ff2011-07-06 07:28:30 +0000209 cmake -G "MSYS Makefiles" [additional CMake flags] {source_directory}
DRC180c0162010-10-27 07:20:27 +0000210 make
211
DRCccc09692011-11-08 06:57:58 +0000212If cross-compiling on a Unix/Linux system, then see the "Build Recipes" section
213below.
DRC180c0162010-10-27 07:20:27 +0000214
215
216Debug Build
217-----------
218
DRCccc09692011-11-08 06:57:58 +0000219Add "-DCMAKE_BUILD_TYPE=Debug" to the CMake command line.
DRC180c0162010-10-27 07:20:27 +0000220
221
Pierre Ossmanf95272d2014-10-17 13:59:35 +0200222Portable (semi-static) Build
223----------------------------
DRC8290dd62011-02-10 22:54:36 +0000224
Pierre Ossmanf95272d2014-10-17 13:59:35 +0200225TigerVNC can under favourble circumstances be built in a way that allows
226the resulting binaries to run on any system without having to also install
227all the dynamic libraries it depends on. Enable this mode by adding:
DRC8290dd62011-02-10 22:54:36 +0000228
DRCe4e604f2011-10-01 17:54:36 +0000229 -DBUILD_STATIC=1
DRC8290dd62011-02-10 22:54:36 +0000230
Adam Tkacf586b842011-04-27 11:20:18 +0000231to the CMake command line.
DRC8290dd62011-02-10 22:54:36 +0000232
Pierre Ossmanf95272d2014-10-17 13:59:35 +0200233Note that the method used to achieve this is very fragile and it may be
234necessary to tweak cmake/StaticBuild.cmake to make things work on your
235specific system.
236
DRC8290dd62011-02-10 22:54:36 +0000237
DRC15b6e052011-10-06 01:20:52 +0000238=====================
239Building Java Support
240=====================
241
242TigerVNC includes a Java version of the TigerVNC Viewer, which can be used on
243any platform that has a Java Runtime Environment (JRE) installed. The Java
244viewer works similarly to the native viewer, but with lower performance.
245
246To build the Java TigerVNC Viewer, add
247
248 -DBUILD_JAVA=1
249
250to the CMake or build-xorg command line. The build system will attempt to find
251an installed Java Development Kit (JDK) and determine the appropriate paths for
252the Java compiler (javac) and the JAR creation utility (jar). You can override
253these paths by setting the Java_JAVAC_EXECUTABLE and Java_JAR_EXECUTABLE CMake
254variables. You can also override the default flags that are passed to javac
255by setting the JAVACFLAGS CMake variable. The build system will look for
256keytool and jarsigner in the same directory as Java_JAR_EXECUTABLE. These
257tools are needed to sign the JAR file, which is necessary to enable certain
258functionality (such as clipboard transfers) when the Java viewer is used as an
259applet.
260
261If the Java viewer is built along with the Windows TigerVNC Server (WinVNC),
262then the build system will embed the Java viewer into WinVNC4.exe so that it
263will automatically be served up using WinVNC's built-in HTTP server.
264Similarly, if the Java viewer is built along with the Unix TigerVNC Server
265(Xvnc), then the build system will include the Java viewer in the server
266tarball.
267
Brian Hinzf88b3ad2013-12-02 02:53:10 +0000268By default, a self-signed certificate will be generated and used to sign the
269jar file. By specifying the following command line arguments to the CMake
270command line, an alternate certificate may be used for signing.
271
272 -DJAVA_KEYSTORE=${keystore_location_or_url}
273 -DJAVA_KEYSTORE_TYPE=${keystore_type} (Default: "jks")
274 -DJAVA_KEY_ALIAS=${keytore_key_alias}
275 -DJAVA_STOREPASS=${keystore_password}
276 -DJAVA_KEYPASS=${keystore_entry_password}
277 -DJAVA_TSA_URL=${url_of_timestamping_authority}
278
279The values of the JAVA_STOREPASS and JAVA_KEYPASS arguments may optionally be
280read from file or environment variables by prefixing the value with ":env "
281or ":file " (see the jarsigner documentation for more info):
282
283 export StorePass=tigervnc
284 export KeyPass=tigervnc
285 cmake \
286 ...
287 -DJAVA_STOREPASS=":env StorePass"
288 -DJAVA_KEYPASS=":env KeyPass"
289
DRC15b6e052011-10-06 01:20:52 +0000290
DRC240a5ff2011-07-06 07:28:30 +0000291======================================
Brian P. Hinz34d2b4d2014-11-14 00:25:12 -0500292Building TLS Support
293======================================
294
295TLS requires GnuTLS, which is supplied with most Linux distributions and
296with MinGW for Windows and can be built from source on OS X and other
297Unix variants. However, GnuTLS versions > 2.12.x && < 3.3.x should be
298avoided because of potential incompatibilities during initial handshaking.
299
300You can override the GNUTLS_LIBRARY and GNUTLS_INCLUDE_DIR CMake variables
301to specify the locations of libgnutls and any dependencies. For instance,
302adding
303
304 -DGNUTLS_INCLUDE_DIR=/usr/local/include \
Brian P. Hinz94433e82014-11-18 07:39:35 -0500305 -DGNUTLS_LIBRARY=/usr/local/lib/libgnutls.a
Brian P. Hinz34d2b4d2014-11-14 00:25:12 -0500306
307to the CMake command line would link TigerVNC against a static version of
308libgnutls located under /usr/local.
309
310
311======================================
DRCce355e32011-06-24 04:58:01 +0000312Building Native Language Support (NLS)
313======================================
314
DRCccc09692011-11-08 06:57:58 +0000315NLS requires gettext, which is supplied with most Linux distributions and
316with MinGW for Windows and which can easily be built from source on OS X and
317other Unix variants.
DRCce355e32011-06-24 04:58:01 +0000318
319You can override the ICONV_LIBRARIES and LIBINTL_LIBRARY CMake variables to
320specify the locations of libiconv and libintl, respectively. For instance,
321adding
322
323 -DLIBINTL_LIBRARY=/opt/gettext/lib/libintl.a
324
325to the CMake command line would link TigerVNC against a static version of
326libintl located under /opt/gettext. Adding
327
328 -DICONV_INCLUDE_DIR=/mingw/include \
329 -DICONV_LIBRARIES=/mingw/lib/libiconv.a \
330 -DGETTEXT_INCLUDE_DIR=/mingw/include \
331 -DLIBINTL_LIBRARY=/mingw/lib/libintl.a
332
333to the CMake command line would link TigerVNC against the static versions of
334libiconv and libintl included in the MinGW Developer Toolkit.
335
336
DRC180c0162010-10-27 07:20:27 +0000337===================
338Installing TigerVNC
339===================
340
341You can use the build system to install TigerVNC into a directory of your
DRC667df922011-06-23 10:11:22 +0000342choosing. To do this, add:
DRC180c0162010-10-27 07:20:27 +0000343
344 -DCMAKE_INSTALL_PREFIX={install_directory}
345
DRCccc09692011-11-08 06:57:58 +0000346to the CMake command line. Then, you can run 'make install' to build and
347install it.
DRC180c0162010-10-27 07:20:27 +0000348
349If you don't specify CMAKE_INSTALL_PREFIX, then the default is
DRC667df922011-06-23 10:11:22 +0000350c:\Program Files\TigerVNC on Windows and /usr/local on Unix.
DRC180c0162010-10-27 07:20:27 +0000351
352
DRC667df922011-06-23 10:11:22 +0000353=========================
354Creating Release Packages
355=========================
356
357The following commands can be used to create various types of release packages:
358
359
360Unix
361----
362
DRC667df922011-06-23 10:11:22 +0000363make tarball
364
365 Create a binary tarball containing the TigerVNC Viewer
366
367make servertarball
368
369 Create a binary tarball containing both the TigerVNC Server and Viewer
370
371make dmg
372
DRCaab38302011-06-25 20:24:02 +0000373 Create Macintosh disk image file that contains an application bundle of the
374 TigerVNC Viewer
DRC667df922011-06-23 10:11:22 +0000375
DRCaab38302011-06-25 20:24:02 +0000376make udmg
DRC667df922011-06-23 10:11:22 +0000377
378 On 64-bit OS X systems, this creates a version of the Macintosh package and
379 disk image which contains universal i386/x86-64 binaries. You should first
380 configure a 32-bit out-of-tree build of TigerVNC, then configure a 64-bit
381 out-of-tree build, then run 'make udmg' from the 64-bit build directory. The
382 build system will look for the 32-bit build under {source_directory}/osxx86
DRCaab38302011-06-25 20:24:02 +0000383 by default, but you can override this by setting the OSX_X86_BUILD CMake
384 variable to the directory containing your configured 32-bit build. Either
385 the 64-bit or 32-bit build can be configured to be backward compatible by
386 using the instructions in the "Build Recipes" section.
DRC667df922011-06-23 10:11:22 +0000387
388
389Windows
390-------
391
DRCccc09692011-11-08 06:57:58 +0000392make installer
DRC667df922011-06-23 10:11:22 +0000393
DRCccc09692011-11-08 06:57:58 +0000394 Create a Windows installer using Inno Setup. The installer package
395 (TigerVNC[64].exe) will be located under {build_directory}.
DRC667df922011-06-23 10:11:22 +0000396
397
398=============
399Build Recipes
400=============
401
402
40332-bit Build on 64-bit Linux/Unix (including OS X)
404--------------------------------------------------
405
DRCdc4f3542011-08-24 00:30:49 +0000406Set the following environment variables before building TigerVNC.
DRC667df922011-06-23 10:11:22 +0000407
408 CFLAGS='-O3 -m32'
409 CXXFLAGS='-O3 -m32'
410 LDFLAGS=-m32
411
DRCdc4f3542011-08-24 00:30:49 +0000412If you are building the TigerVNC Server on a modern Unix/Linux system, then
413you will also need to pass the appropriate --host argument when configuring the
414X server source (for instance, --host=i686-pc-linux-gnu).
415
DRC667df922011-06-23 10:11:22 +0000416
41764-bit Backward-Compatible Build on 64-bit OS X
418-----------------------------------------------
419
420Add
421
422 -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk \
423 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.5
424
425to the CMake command line. The OS X 10.5 SDK must be installed.
426
427
42832-bit Backward-Compatible Build on 64-bit OS X
429-----------------------------------------------
430
431Set the following environment variables:
432
433 CC=gcc-4.0
434 CXX=g++-4.0
435 CFLAGS='-O3 -m32'
436 CXXFLAGS='-O3 -m32'
437 LDFLAGS=-m32
438
439and add
440
441 -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.4u.sdk \
442 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.4
443
444to the CMake command line. The OS X 10.4 SDK must be installed.
DRC180c0162010-10-27 07:20:27 +0000445
446
44764-bit MinGW Build on Cygwin
448----------------------------
449
450 cd {build_directory}
451 CC=/usr/bin/x86_64-w64-mingw32-gcc CXX=/usr/bin/x86_64-w64-mingw32-g++ \
452 RC=/usr/bin/x86_64-w64-mingw32-windres \
453 cmake -G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=Windows \
454 -DCMAKE_AR=/usr/bin/x86_64-w64-mingw32-ar \
455 -DCMAKE_RANLIB=/usr/bin/x86_64-w64-mingw32-ranlib {source_directory}
456 make
457
458This produces a 64-bit build of TigerVNC that does not depend on cygwin1.dll or
459other Cygwin DLL's. The mingw64-x86_64-gcc-core and mingw64-x86_64-gcc-g++
460packages (and their dependencies) must be installed.
461
462
46332-bit MinGW Build on Cygwin
464----------------------------
465
466 cd {build_directory}
467 CC=/usr/bin/i686-w64-mingw32-gcc CXX=/usr/bin/i686-w64-mingw32-g++ \
468 RC=/usr/bin/i686-w64-mingw32-windres \
469 cmake -G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=Windows \
470 -DDCMAKE_AR=/usr/bin/i686-w64-mingw32-ar \
471 -DCMAKE_RANLIB=/usr/bin/i686-w64-mingw32-ranlib {source_directory}
472 make
473
474This produces a 32-bit build of TigerVNC that does not depend on cygwin1.dll or
475other Cygwin DLL's. The mingw64-i686-gcc-core and mingw64-i686-gcc-g++
476packages (and their dependencies) must be installed.
477
478
479MinGW-w64 Build on Windows
480--------------------------
481
482This produces a 64-bit build of TigerVNC using the "native" MinGW-w64 toolchain
483(which is faster than the Cygwin version):
484
485 cd {build_directory}
486 CC={mingw-w64_binary_path}/x86_64-w64-mingw32-gcc \
487 CXX={mingw-w64_binary_path}/x86_64-w64-mingw32-g++ \
488 RC={mingw-w64_binary_path}/x86_64-w64-mingw32-windres \
489 cmake -G "MSYS Makefiles" \
490 -DCMAKE_AR={mingw-w64_binary_path}/x86_64-w64-mingw32-ar \
491 -DCMAKE_RANLIB={mingw-w64_binary_path}/x86_64-w64-mingw32-ranlib \
492 {source_directory}
493 make
494
495
496MinGW Build on Linux
497--------------------
498
499 cd {build_directory}
500 CC={mingw_binary_path}/i386-mingw32-gcc \
501 CXX={mingw_binary_path}/i386-mingw32-g++ \
502 RC={mingw_binary_path}/i386-mingw32-windres \
503 cmake -G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=Windows \
504 -DCMAKE_AR={mingw_binary_path}/i386-mingw32-ar \
505 -DCMAKE_RANLIB={mingw_binary_path}/i386-mingw32-ranlib \
506 {source_directory}
507 make
Brian Hinz1ff04d12013-11-28 16:26:08 +0000508
509
510===============================
511Distribution-Specific Packaging
512===============================
513
514
515RPM Packages for RHEL / CentOS
516------------------------------
517
518The RPM spec files and patches used to create the nightly builds
519and releases can be found in the "contrib/rpm/el{5,6}" directories
520of the TigerVNC subversion trunk. All external source tarballs
521must be fetched manually and placed into the 'SOURCES' directory
522under the rpmbuild root. Additonally, the following macros need
523to be defined:
524
525 EL6:
526 %debug_package %{nil}
527
528 EL5:
529 %dist .el5
530 %_smp_mflags -j3
531 %debug_package %{nil}
532 %__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
533
534
535Debian packages for Ubuntu 12.04LTS
536-----------------------------------
537The debian folder used to create the nightly builds and releases
538can be found in the "contrib/deb/ubuntu-precise" directory of the
539TigerVNC subversion trunk.