个人工具

UbuntuHelp:KdenliveSVN

来自Ubuntu中文

跳转至: 导航, 搜索

How to install the new version of Kdenlive from svn on Ubuntu 8.04, Ubuntu 8.10, Kubuntu 8.04 and Kubuntu 8.10. The new version of Kdenlive (0.7) is developed for KDE4 and not for KDE3.

How to install

1. Add the Kdenlive repository to your sources.list

$ echo deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu hardy main | sudo tee -a /etc/apt/sources.list

NOTE: If you are running Ubuntu 8.10 Intrepid you will need to enable backports at this point. Failing to do this results in build errors right at the end. Returning backports to however you had it set (on/off) afterwards is recommended. Please skip to Step 2 if you are running Kubuntu 8.04, Kubuntu 8.10 or Ubuntu 8.04.

  1. as the superuser, edit the file /etc/apt/sources.list
  2. uncomment the two lines related to backports (the file is well documented)
  3. update your sources with the following command: sudo apt-get update

After installing Kdenlive simply recomment the two lines in the file /etc/apt/sources.list and re-run the update command.

2. Get a load of extra packages

This whole block of packages should be pasted into your terminal window as a single line.

$ sudo apt-get install gettext kommander gawk x11proto-core-dev libxau-dev libxdmcp-dev x11proto-xext-dev libxext-dev libxi-dev x11proto-input-dev x11proto-kb-dev xtrans-dev libpthread-stubs0 libpthread-stubs0-dev libxcb1-dev libxcb-xlib0-dev libx11-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libice-dev libsm-dev x11proto-render-dev libxfixes-dev libxcursor-dev libexpat1-dev zlib1g-dev libfreetype6-dev pkg-config libfontconfig1-dev libxft-dev x11proto-xinerama-dev libxinerama-dev libxmu-headers x11proto-randr-dev libxrandr-dev libxt-dev x11proto-record-dev libxtst-dev cmake cvs libstdc++6-4.3-dev g++-4.3 g++ libxmu-dev liblcms1-dev libjpeg62-dev libmng-dev libpng12-dev xlibmesa-gl-dev libglu1-xorg-dev libaudio-dev libssl-dev libkadm55 comerr-dev libkrb5-dev libpq-dev libglib2.0-dev libsqlite0 libsqlite0-dev libqt4-dev libsoprano-dev automoc libphonon-dev libasound2-dev libgpg-error-dev libgcrypt11-dev libtasn1-3-dev libgnutls-dev libcups2-dev libdbus-1-dev libkeyutils-dev libstreams-dev libstreamanalyzer-dev libxml2-dev libxml2-utils libxslt1-dev libgif-dev libavahi-common-dev libbz2-dev libenchant-dev libattr1-dev libacl1-dev libjasper-dev libilmbase-dev libopenexr-dev libpcrecpp0 libpcre3-dev libtiffxx0c2 libtiff4-dev hspell xsltproc kdesdk-scripts kdelibs5-dev libslang2-dev libncurses5-dev libaa1-dev libapr1 libaprutil1 libartsc0-dev libaudiofile-dev libcucul-dev libcaca-dev libdirectfb-extra libsysfs-dev libdirectfb-dev libesd0-dev libneon27-gnutls libqt4-opengl-dev libsdl1.2-dev libsvn1 subversion libglib1.2ldbl libgtk1.2-common libgtk1.2 libavc1394-0 libiec61883-0 libfreebob0 libjack0 libsndfile1 jackd ladspa-sdk libavutil49 libgsm1 libavcodec51 libdv4 libfaad0 libjack-dev libmad0 libmad0-dev libogg-dev libpopt-dev libqt4-gui libswscale0 libquicktime1 libsamplerate0-dev libvorbis-dev qjackctl dvgrab libdv-bin libdv4-dev libfaac0 libfaac-dev libfaad-dev libmp3lame0 libmp3lame-dev libtheora-dev

3. Make a new directory

$ mkdir kdenlive

4. Move into the new directory

$ cd kdenlive

5. Download the script

$ wget http://www.kde-apps.org/CONTENT/content-files/85826-kdenlive_builder_wizard.kmdr.bz2

6. Extract, rename and make executable the script

$ bunzip2 85826-kdenlive_builder_wizard.kmdr.bz2 && mv 85826-kdenlive_builder_wizard.kmdr kdenlive_builder_wizard.kmdr && chmod +x kdenlive_builder_wizard.kmdr

7. Sort out a path

$ export PATH=$PATH:/usr/lib/kde4/bin

8. Run the install script

$ kmdr-executor kdenlive_builder_wizard.kmdr
  1. Follow the on-screen instructions.
  2. When the installation has finished, exit from the dialogue window by pressing the "Cancel" button.

9. Running Kdenlive

Kdenlive can now be run by completing the following steps:

  1. Navigate to the directory you created in Step 3.
  2. Open the directory "bin."
  3. Double click on the icon, "kdenlive_start."

Add Kdenlive to your Applications menu

  1. In file browser (Nautilus / Dolphin) navigate to the /kdenlive directory which you created in step 3.
  2. Click "kdenlive_start" and you are in business.
  3. In Kubuntu, right click the "K button" and choose "Menu Editor" to add a menu item for Kdenlive_Start.
  4. In Ubuntu navigate to System, Preferences, Main Menu. Create a "New Item."

The Kdenlive installation script was written by Mads Dydensborg and offical documentation is here: http://www.kde-apps.org/content/show.php/Kdenlive+Builder+Wizard?content=85826