INSTALL 2.06 KB
Newer Older
Urs Fleisch's avatar
Urs Fleisch committed
1
2
* TO INSTALL
** Requirements
3
4

Qt, optional KDE, id3lib, TagLib, libogg, libvorbis, libvorbisfile, libFLAC++,
Urs Fleisch's avatar
Urs Fleisch committed
5
libFLAC, libtunepimp, mp4v2.
6

Urs Fleisch's avatar
Urs Fleisch committed
7
** Linux
Urs Fleisch's avatar
Urs Fleisch committed
8

9
10
11
12
13
14
15
16
17
18
19
*** Compile for KDE 4

cmake .
make
make install

If KDE 4 is installed in its own tree (e.g. on Kubuntu before 8.10),
set the prefix with the -D option, e.g.
cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ .

*** Compile for KDE 3
Urs Fleisch's avatar
Urs Fleisch committed
20

21
# if configure does not exist: make -f Makefile.cvs
Urs Fleisch's avatar
Urs Fleisch committed
22

23
24
25
./configure
# for SuSE use option --prefix=/opt/kde3
# for Debian use option --prefix=/usr
Urs Fleisch's avatar
Urs Fleisch committed
26
27
28
make
make install

29
The install directory can be assigned to DESTDIR
Urs Fleisch's avatar
Urs Fleisch committed
30

31
*** Compile for Qt 4 (no KDE)
Urs Fleisch's avatar
Urs Fleisch committed
32

33
cd kid3-qt
Urs Fleisch's avatar
Urs Fleisch committed
34

35
# if configure does not exist: autoconf
Urs Fleisch's avatar
Urs Fleisch committed
36

37
./configure --with-qmake=qmake-qt4
38
39
make
make install
Urs Fleisch's avatar
Urs Fleisch committed
40

41
The install directory can be assigned to INSTALL_ROOT
Urs Fleisch's avatar
Urs Fleisch committed
42

43
*** Compile for Qt 3
44

45
cd kid3-qt
46
./configure --with-qmake=qmake-qt3
47
make
48
make install
49

50
*** Create Debian Packages
Urs Fleisch's avatar
Urs Fleisch committed
51

52
Make sure that you have installed all packages listed in deb/control,
Urs Fleisch's avatar
Urs Fleisch committed
53
54
section Build-Depends.

55
./build-deb.sh
Urs Fleisch's avatar
Urs Fleisch committed
56
57
58

*** Create RPM Package

59
Copy kid3.spec into the SPEC directory
Urs Fleisch's avatar
Urs Fleisch committed
60
61
and the tar.gz archive into the SOURCES directory.

62
63
rpmbuild -ba kid3.spec

Urs Fleisch's avatar
Urs Fleisch committed
64

Urs Fleisch's avatar
Urs Fleisch committed
65
66
67
68
** Windows

 - Install Qt/Windows Open Source Edition, MinGW and MSYS
 - Compile and install the libraries with MinGW and MSYS: id3lib, libvorbis,
69
   libogg, FLAC, TagLib using the script buildlibs.sh
Urs Fleisch's avatar
Urs Fleisch committed
70
71
72
73
74
75
 - Install xsltproc and an XSL stylesheet to transform Docbook to HTML
   (http://sourceforge.net/projects/docbook)
 - Point environment variables to the installed programs:
   * %MSYSDIR%\bin\perl
   * %XSLTPROCDIR%\xsltproc
   * %DOCBOOKDIR%\html\docbook.xsl
76
77
 - start win32/buildkid3.bat to build, then createpkg.bat to create a
   ZIP-file
78

79
80
81
82
83
84
85
86
87
88
89

** Mac OS X

 - Install Qt libraries for Mac and XCode
 - Compile and install the libraries id3lib, libvorbis,
   libogg, FLAC, TagLib using the script buildlibs.sh
 - Install xsltproc and an XSL stylesheet to transform Docbook to HTML
   (http://sourceforge.net/projects/docbook) in
   $HOME/docbook-xsl-1.72.0/html/docbook.xsl
 - start macosx/buildkid3.sh to build, then createpkg.sh to create a
   dmg image