".ardour" project files are not recognized by GNOME (no file type association)

Bug #148585 reported by oss_test_launchpad
8
Affects Status Importance Assigned to Milestone
ardour (Debian)
Fix Released
Unknown
ardour (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When I try to open an Ardour 2.0 i686 project file (test.ardour), Nautilus 2.20.0 does not know what to do with it. Right hand mouse button context menue offers to open it with Firefox or the text editor but not with Ardour.

This is a severe bug since Ardour's own file opening capabilities are limited.

Related branches

Revision history for this message
oss_test_launchpad (oss-test-launchpad) wrote :

Tested on a Gutsy 32-bit system with all updates.

Revision history for this message
Sven Herzberg (herzi) wrote :

This is a bug in ardour (if at all). It should provide a file to register it's own filetypes in the mime database.

http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#id2447399

Changed in ardour:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
oss_test_launchpad (oss-test-launchpad) wrote :

Can you tell them about this bug? My own technical know how is too limited to tell them exactly what the problem is (e.g. I do not know what a mime database is).

Revision history for this message
Eric Hedekar (stochastic) wrote :

Here is a debdiff to fix this issue in Karmic's Ardour version. Should be easily backported to other Ardour versions as well. Infact I'm willing to do that leg work if someone describes the formal process to me (do I need to upload a debdiff for each version?).

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your work there, the change doesn't seem ubuntu specific could you open a bug about that with the change on the debian bts too?

Revision history for this message
Eric Hedekar (stochastic) wrote :

Sebastien, the debian bug tracker doesn't want to load in my browser, it just keeps timing out - is that project even active anymore I thought every debian user switched to Ubuntu years ago... (sorry for the sarcasm). I'll try to get around to filling a bug there eventually, but frankly I develop for Ubuntu and I haven't yet bothered to learn the administrative process for Debian. Can I suggest an upgrade to Launchpad that would allow bugs to be either marked as Ubuntu-specific or non-Ubuntu-specific so that duplicate bugs don't need to be filed in debian, they can just check the non-Ubuntu-specific side of things on Launchpad?

Does this patch's upload to Karmic depend on me filing a duplicate bug in debian's system and attaching a duplicate patch there?

Revision history for this message
Michael Bienia (geser) wrote :

I tried to build the package in my karmic pbuilder and it failed to build:
[...]
touch debian/stamp-patched
/usr/bin/make -f debian/rules update-config
make[1]: Entering directory `/tmp/buildd/ardour-2.8'
if test -e /usr/share/misc/config.guess ; then \
  for i in ./tools/config.guess ./libs/sigc++2/config.guess ./libs/libsndfile/config.guess ./libs/glibmm2/scripts/config.guess ; do \
   if ! test -e $i.cdbs-orig ; then \
    mv $i $i.cdbs-orig ; \
    cp --remove-destination /usr/share/misc/config.guess $i ; \
   fi ; \
  done ; \
 fi
if test -e /usr/share/misc/config.sub ; then \
  for i in ./libs/sigc++2/config.sub ./libs/libsndfile/config.sub ./libs/glibmm2/scripts/config.sub ; do \
   if ! test -e $i.cdbs-orig ; then \
    mv $i $i.cdbs-orig ; \
    cp --remove-destination /usr/share/misc/config.sub $i ; \
   fi ; \
  done ; \
 fi
make[1]: Leaving directory `/tmp/buildd/ardour-2.8'
if test -e /usr/share/misc/config.guess ; then \
  for i in ./tools/config.guess ./libs/sigc++2/config.guess ./libs/libsndfile/config.guess ./libs/glibmm2/scripts/config.guess ; do \
   if ! test -e $i.cdbs-orig ; then \
    mv $i $i.cdbs-orig ; \
    cp --remove-destination /usr/share/misc/config.guess $i ; \
   fi ; \
  done ; \
 fi
if test -e /usr/share/misc/config.sub ; then \
  for i in ./libs/sigc++2/config.sub ./libs/libsndfile/config.sub ./libs/glibmm2/scripts/config.sub ; do \
   if ! test -e $i.cdbs-orig ; then \
    mv $i $i.cdbs-orig ; \
    cp --remove-destination /usr/share/misc/config.sub $i ; \
   fi ; \
  done ; \
 fi
touch debian/stamp-autotools-files
chmod a+x /tmp/buildd/ardour-2.8/./configure
chmod: cannot access `/tmp/buildd/ardour-2.8/./configure': No such file or directory
make: *** [config.status] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Revision history for this message
Eric Hedekar (stochastic) wrote :

Updated debdiff removes the
include /usr/share/cdbs/1/class/gnome.mk
line that was killing the build, and should no longer be needed in Karmic anyway.

This patch hasn't been fully tested yet due to Bug #412634

Revision history for this message
Eric Hedekar (stochastic) wrote :

Attached is a working patched Ardour 2.8.2-0ubuntu1.diff.gz
This fixes both this bug and Bug #412634 (the upstream version compiles with gcc4.4)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ardour - 1:2.8.2-0ubuntu1

---------------
ardour (1:2.8.2-0ubuntu1) karmic; urgency=low

  [ Eric Hedekar ]
  * Added mimetype handles for .ardour files (LP: #148585)
  * Upgraded to new upstream version (LP: #412634)

  [ Luke Yelavich ]
  * Added mimetype handles to i686 and altivec optimized builds as well

 -- Eric Hedekar <email address hidden> Tue, 21 Jul 2009 01:34:13 -0700

Changed in ardour (Ubuntu):
status: Confirmed → Fix Released
Changed in ardour (Debian):
status: Unknown → Fix Committed
Changed in ardour (Debian):
status: Fix Committed → 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.