Totem w/ xine engine

by default, fedora uses totem built against gstreamer. I dont' like gstreamer all that much, and it doesn't seem to work so well on my x86-64 bit systems.

So, here is how to build totem against xine.

  1. first, download the required source files
  2. first we need to satisfy some dependencies:
    • perl-XML-Parser is needed by totem-2.16.5-1www.x86_64
    • iso-codes-devel is needed by totem-2.16.5-1www.x86_64
    • nautilus-devel is needed by totem-2.16.5-1www.x86_64

  3. Now we need to copy the SPEC files into place, and then build the packages:

    # cd /usr/src/redhat/
    # cp ~/totem.spec SPEC/
    # cp ~/totem-0.99.19-feature-help-removal.patch SOURCE/
    # cp ~/totem-2.16.5.tar.bz2 SOURCE/
    # cd SPEC/
    # rpmbuild -bb totem.spec 


  4. The above should create some packages:

    # pwd
    /usr/src/redhat/RPMS/x86_64
     
    # ls -1
    totem-2.16.5-1www.x86_64.rpm
    totem-debuginfo-2.16.5-1www.x86_64.rpm
    totem-devel-2.16.5-1www.x86_64.rpm
    totem-mozplugin-2.16.5-1www.x86_64.rpm


  5. Now, if there were no errors, we can remove the old totem packages, and install the new:

    (this removes the packages without checking dependencies)
    # rpm -e totem-2.16.5-1.fc6.x86_64 totem-2.16.5-1.fc6.i386 totem-mozplugin-2.16.5-1.fc6 --nodeps
     
    (this installs the new packages)
    # rpm -i totem-2.16.5-1www.x86_64.rpm totem-devel-2.16.5-1www.x86_64.rpm totem-mozplugin-2.16.5-1www.x86_64.rpm



1) this goes in /usr/src/redhat/SPECS
2) this goes in /usr/src/redhat/SOURCES
3) this also goes in /usr/src/redhat/SOURCES