-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathINSTALL
More file actions
59 lines (41 loc) · 2.45 KB
/
Copy pathINSTALL
File metadata and controls
59 lines (41 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
This is the INSTALL file for the 'rivendell-producer' package.
PREREQUISITES
-------------
To build the package from source, you will need the following packages
installed and properly configured:
Qt4 Toolkit, v4.6 or later (http://www.qt.io/).
Rivendell Web C API ('rivwebcapi'). Included with Rivendell 3.x.
BUILDING
--------
Once the prequisites are set up, building the software is mostly a matter of
doing:
./configure
make
make install [as 'root']
On RedHat-ish systems (RHEL, CentOS, Fedora, etc) you can also make an
RPM by doing:
make rpm
BUILDING WINDOWS BINARIES
-------------------------
The build system for rivendell-producer uses the MinGW (Minimalist GNU for
Windows) environment for building Windows binaries, available at
http://www.mingw.org/. It is also possible to build such binaries on CentOS 7
using the MinGW cross-compiler packages (available in EPEL). The follow command
will install the necessary packages:
yum install mingw32-pkg-config mingw32-headers mingw-binutils-generic mingw32-libtiff mingw32-qt mingw32-sqlite-static mingw32-qt-static mingw32-pixman mingw32-gettext mingw32-libogg mingw32-openssl mingw32-libmad mingw-filesystem-base mingw32-crt mingw32-zlib mingw32-libjpeg-turbo mingw32-expat mingw32-qt-qmake mingw32-binutils mingw32-gcc-c++ mingw32-dbus mingw32-sqlite mingw32-zlib-static mingw32-libtiff-static mingw32-libpng-static mingw32-libjpeg-turbo-static mingw32-bzip2 mingw32-fontconfig mingw32-win-iconv mingw32-termcap mingw32-glib2 mingw32-cairo-static mingw32-libsamplerate mingw32-libvorbis mingw32-libltdl mingw32-libssh2 mingw32-curl mingw32-filesystem mingw32-winpthreads mingw32-cpp mingw32-gcc mingw32-libpng mingw32-dbus-static mingw32-winpthreads-static mingw32-freetype mingw32-libffi mingw32-cairo mingw32-libsndfile mingw32-opus mingw32-libidn mingw32-nsis
The following
environmental variables need to be configured in the MinGW configuration on
CentOS 7:
Environmental Variables for Cross-compiling for Windows
-------------------------------------------------------
export MINGW32_SYS_ROOT=/usr/i686-w64-mingw32/sys-root/mingw
export PKG_CONFIG_PATH=$MINGW32_SYS_ROOT/lib/pkgconfig
export CC=i686-w64-mingw32-gcc
export CXX=i686-w64-mingw32-g++
export WINDRES=i686-w64-mingw32-windres
Then, build the windows binaries as follows:
./autogen.sh
./configure --prefix=$MINGW32_SYS_ROOT --host=i686-w64-mingw32
make
An NISI-based installation package can be built by doing:
make nsis-installer