From Amarok Wiki
在编译 Amarok 之前,你的系统需要安装一些依赖包。大部分依赖包只是给 Amarok 添加其他特征时才需要。当然也有一些包是安装 Amarok 所必需的。首先,让我们来看看这些必需要的包。以下以基于 RPM 的分发包为例,来安装你自己动手编译 Amarok 所需要安装的各个包的开发文件。requires several packages installed on your system in order for it to compile. Many of these packages are only needed for adding special features to Amarok. There are also packages that must be installed in order to get Amarok to work at all. First we will discuss the packages that are absolutely required. As always is the case with RPM based distros, you must also install the development versions of these packages if you plan to compile Amarok yourself.
Contents |
强制依赖
KDElibs 3.3
- 你必须已经安装了 KDElibs 3.3 或更高版本。KDElibs 是所有 KDE 程序的根本,它提供给所有 KDE 程序所有的基本功能。这是我们获取所有漂亮东西的源泉,例如做为内容浏览器的 khtml 组件。
- 如果你不是 KDE 用户,或许这个 wiki 内容对你更有用: KDElibs without aRts
Ruby 1.8
- Ruby 1.8 or higher is a necessary component to facilitate Amarok's scripting capabilities. From the Ruby homepage: "Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, extensible, and portable.". For those reasons, Ruby has been chosen as the preferred scripting language for Amarok. (Though a handful of other scripting languages are supported, including Python and bash)
- For more information on writing scripts, please refer to our Script-Writing HowTo.
TagLib 1.4
- TagLib is also absolutely required. TagLib is the basis for all of Amarok's tag handling. We've decided on TagLib 1.4 because of it's functionality, and stability. TagLib is used in many multimedia applications, and has proved to be an excellent interface for tag reading and writing.
Qt-x11 3.3.8
- Qt x11 library is required to compile from source. Qt sets the standard for high-performance, cross-platform application development. It includes a C++ class library and tools for cross-platform development and internationalization.
Please note! You must also install at least one multimedia-backend! See the following section.
Multimedia Backends
If the following are present, Amarok will build the accompanying audio-engine. Remember, Amarok requires at least one audio-engine in order to be built and function.
Please note! If you install one of these backends after installing Amarok, the relevant audio-engine will not become accessible in Amarok! You must rebuild from source after installing the relevant backend.
xine-lib 1.1.2
- The xine-engine is also a top choice audio-solution for Amarok. xine is a stable and mature audio-backend that features low CPU usage and support for any audio-format you can name. We recommend using the xine-engine with whatever the latest Xine is.
Helix
Helix is the backend often included with RealPlayer. Includes mp3 support, and is stable.
Database Backends
Attention: You need one of these backends. SQLite is the default one and is shipped with Amarok automatically.
SQLite
This is the default database-backend shipped with Amarok. It uses a single file for storing the database: ~/.kde/share/apps/amarok/collection.db
MySQL
If you have a lot of tracks in your collection, switching to MySQL can speedup Amarok. For more information look at the MySQL HowTo.
PostgreSQL
Another available backend. Some people say it's faster than MySQL.
For more information look at the PostgreSQL HowTo.
Optional Packages
These packages, if present, will give Amarok extra functionality.
Please note! If you install one of these packages after installing Amarok, the relevant functionality will not appear in Amarok! You must rebuild from source after installing the optional package.
KDEbase 3.3
- KDEbase is used for the new Amarok side bar for the Konqueror browser. The sidebar provides you with an interface to control Amarok, and a Context Browser view right inside your browser. Handy if using Amarok while surfing the web.
K3B 0.11
- Amarok allows you to burn both audio and data CDs if K3B is installed. K3B is highly recommended, it makes burning CDs as easy as selecting tracks, right-clicking and selecting the burn option in the context-menu.
libtunepimp 0.4 | libtunepimp-0.5
- libtunepimp provides MusicBrainz support for Amarok. MusicBrainz allows you to do web lookups for track meta-data. This is a very helpful feature if your tracks are missing tags.
- Since 1.4.2 libtunepimp-0.5 can be used.
KDEmultimedia 3.3
- KDEmultimedia provides the audiocd:/ protocol that Amarok uses for ripping audio CDs.
Libvisual 0.4, Libvisual plugins, and SDL 1.2
- Libvisual gives Amarok eye-pleasing visualizations.
OpenGL accelerated X-Server
- If your X-Server has OpenGL support for your video card, then you can use the 3D analyzers in the player window.
libmp4v2
- provides MP4/AAC tag reading & writing
- mpeg4ip 1.5 is recommended, faad2 is less reliable
- please note that that binaries built against libmp4v2 can't be distributed due to licensing issues
Media devices
Amarok supports several kinds of mobile media devices. For some of them special libraries are needed.
- Apple iPod (since Amarok 1.4.0): libgpod 0.3.2 or newer, 1.4.5 requires 0.4.2 or newer
- iRiver iFP (since Amarok 1.4.0): libifp 1.0.0.2
- Microsoft Media Transfer Protocol (MTP) (since Amarok 1.4.2): libmtp 0.0.10 or newer, with Amarok 1.4.5 libmtp-0.0.15 or greater is needed
- Creative Nomad JukeBox and Dell DJ digital audio players (since Amarok 1.4.1): libnjb 2.2.4 (older versions may work)
- Rio Karma (since Amarok 1.4.4): libkarma 0.0.5 and omfs 0.6.1
Support for iTunes like music sharing (DAAP) is also implemented as a media device:
- DAAP (since Amarok 1.4.2): KDE 3.4 or higher