No ffmpeg2theora binary in jaunty package

Bug #315356 reported by Philip Wyett
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ffmpeg2theora (Ubuntu)
Fix Released
Medium
Lionel Le Folgoc

Bug Description

Binary package hint: ffmpeg2theora

No binary in package.

philip@wyett-pearl:~$ sudo apt-get install ffmpeg2theora
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  ffmpeg2theora
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3674B of archives.
After this operation, 45.1kB of additional disk space will be used.
Selecting previously deselected package ffmpeg2theora.
(Reading database ... 104040 files and directories currently installed.)
Unpacking ffmpeg2theora (from .../ffmpeg2theora_0.23-0ubuntu1_i386.deb) ...
Setting up ffmpeg2theora (0.23-0ubuntu1) ...
philip@wyett-pearl:~$

philip@wyett-pearl:~$ ff
ffmpeg ffplay ffserver
philip@wyett-pearl:~$

philip@wyett-pearl:~$ dpkg -L ffmpeg2theora
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ffmpeg2theora
/usr/share/doc/ffmpeg2theora/README
/usr/share/doc/ffmpeg2theora/TODO
/usr/share/doc/ffmpeg2theora/AUTHORS
/usr/share/doc/ffmpeg2theora/copyright
/usr/share/doc/ffmpeg2theora/changelog.Debian.gz
philip@wyett-pearl:~$

Revision history for this message
Jouni Mettala (jouni-mettala) wrote :

Thank you for reporting this bug. I can reproduce it.

Changed in ffmpeg2theora:
status: New → Confirmed
Revision history for this message
Carl Karsten (carlfk) wrote :

How I build a working .deb:

#!/bin/bash
# updeb.sh
# updates a deb. well, makes a deb from current source.
# based on https://help.ubuntu.com/community/UpdatingADeb

set -xe
# -----------------
PACKAGE=ffmpeg2theora
# OLDVER=ffmpeg2theora-0.21
OLDVER=ffmpeg2theora-0.23
NEWVER=$PACKAGE-trunk
sudo apt-get --assume-yes install autoconf automake libtool
# -----------------
if [ ! -d $PACKAGE ]; then
  mkdir $PACKAGE
fi
cd $PACKAGE

# needed to get source, compile and build debs
sudo apt-get --assume-yes --force-yes install build-essential fakeroot subversion cvs dpkg-dev devscripts scons

# get the $PACKAGE deps and source from apt repository
# (and debian/ dir needed to build the .deb)
sudo apt-get --assume-yes --force-yes build-dep $PACKAGE
# sudo aptitude -s -f build-dep $PACKAGE
apt-get source $PACKAGE
find ./ -type d -name "$PACKAGE*"
# exit

# -----------------
if [ ! -d $NEWVER ]; then
  svn co http://svn.xiph.org/trunk/ffmpeg2theora $NEWVER
fi
cd $NEWVER/
svn up
# autoreconf -i
cd ..
# -----------------
cp -a $OLDVER/debian $NEWVER/

cd $NEWVER/

# -----------------
rm debian/patches/*
sed -i "/^\tscons install/s/^.*$/\tscons install \$\(PREFIX\)/" Makefile
sed -i "/autotools/s/autotools/makefile/" debian/rules
echo "DEB_MAKE_INSTALL_TARGET := install PREFIX=prefix=\$\(DEB_DESTDIR\)usr" \
# echo "DEB_MAKE_INSTALL_TARGET := install PREFIX=\$(DEB_DESTDIR)usr" \
 >> debian/rules

# -----------------

# bump the version number
# if this is not done, the new deb will be the same version as the current, so won't install. ($0 is the name of this script)
debchange --nmu $0

# build the .deb
dpkg-buildpackage -rfakeroot -uc -b

# install the deb.
# using this command, on your own :)
echo sudo gdebi $PACKAGE*.deb

carl@dv67:~/vga2usb/src$ dpkg -c ffmpeg2theora/ffmpeg2theora_0.23-0ubuntu1.1_amd64.deb
drwxr-xr-x root/root 0 2009-01-24 13:46 ./
drwxr-xr-x root/root 0 2009-01-24 13:46 ./usr/
drwxr-xr-x root/root 0 2009-01-24 13:46 ./usr/share/
drwxr-xr-x root/root 0 2009-01-24 13:46 ./usr/share/doc/
drwxr-xr-x root/root 0 2009-01-24 13:46 ./usr/share/doc/ffmpeg2theora/
-rw-r--r-- root/root 1279 2009-01-24 13:46 ./usr/share/doc/ffmpeg2theora/copyright
-rw-r--r-- root/root 22 2009-01-24 13:46 ./usr/share/doc/ffmpeg2theora/AUTHORS
-rw-r--r-- root/root 1229 2009-01-24 13:46 ./usr/share/doc/ffmpeg2theora/changelog.Debian.gz
-rw-r--r-- root/root 620 2009-01-24 13:46 ./usr/share/doc/ffmpeg2theora/README
-rw-r--r-- root/root 93 2009-01-24 13:46 ./usr/share/doc/ffmpeg2theora/TODO

Kjell Braden (afflux)
Changed in ffmpeg2theora:
assignee: nobody → afflux
status: Confirmed → In Progress
Revision history for this message
Kjell Braden (afflux) wrote :

This debdiff adds a clean rule to clean up some leftovers scons creates (for some reason they are even created in the clean rule, thus preventing to debuild -S) and adds a rule to use scons for installing, because the Makefile is broken (it doesn't support passing DESTDIR and/or PREFIX).

Changed in ffmpeg2theora:
assignee: afflux → nobody
importance: Undecided → Medium
status: In Progress → Triaged
Revision history for this message
A. Bram Neijt (bneijt) wrote :

Anybody having trouble with this:
If you need the command-line, try the linux binary from the ffmpeg homepage: http://v2v.cc/~j/ffmpeg2theora/download.html
Otherwise, try OggConvert which is in the repositories (universe/sound)

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Thanks for your work. There is still an issue with your debdiff though:
drwxr-xr-x root/root 0 2009-01-27 15:07 ./usr/
drwxr-xr-x root/root 0 2009-01-27 15:07 ./usr/man/
drwxr-xr-x root/root 0 2009-01-27 15:07 ./usr/man/man1/
-rw-r--r-- root/root 2950 2009-01-27 15:07 ./usr/man/man1/ffmpeg2theora.1.gz

This should be /usr/share/man (you probably need to explicitly pass a --mandir option to scons).

Revision history for this message
Kjell Braden (afflux) wrote :
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

This one looks fine, thanks for your work. I'll upload as soon as upload.ubuntu.com is back online.

Changed in ffmpeg2theora:
assignee: nobody → mrpouit
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ffmpeg2theora - 0.23-0ubuntu2

---------------
ffmpeg2theora (0.23-0ubuntu2) jaunty; urgency=low

  * debian/rules
    - use scons instead of make to install the files (LP: #315356)
    - improve the clean rule to wipe scons' leftovers

 -- Kjell Braden <email address hidden> Sat, 24 Jan 2009 21:07:07 +0100

Changed in ffmpeg2theora:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.