install routines do not create menu entry and mime types

Bug #184307 reported by Matthias Niess
8
Affects Status Importance Assigned to Milestone
qtiplot (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: qtiplot

When installing Qtiplot there should be a .desktop file so that you can start it from the menu. Also a MIME type should be added, so that .qti files are automatically opened with Qtiplot.

Revision history for this message
wvengen (wvengen) wrote :

I confirm this one:
  $ file foo.qti
  spincoat_thickness.qti: UTF-8 Unicode text
and opening a .qti-file in nautilus brings up a web browser. The start of a .qti-file seems to be:
  $ head -n 2 foo.qti
  QtiPlot 0.9.2 project file
  <scripting-lang> muParser
so a match on "QtiPlot x.x.x project file\x0a" should be ok I guess, preferably in cooperation with upstream of course.

Revision history for this message
Thomas Kluyver (takluyver) wrote :

In KDE, we get a menu entry (under education->science, and education->maths), but still no mime types.

Changed in qtiplot:
status: New → Confirmed
Revision history for this message
Matthias Niess (mniess) wrote :

With Hardy there is a menu entry for Gnome now, too. Should we close this bug and create a seperate one for the MIME-Types?

Revision history for this message
Thomas Kluyver (takluyver) wrote :

Hmmm. Strictly it should have been two bugs in the first place.

I think it would be ideal if someone could rename it, but I don't know who has the power.

Revision history for this message
Dmitry Maruschenko (yojick) wrote :

To add new mimetype, create ~/.local/share/mime/packages/Override.xml like this:

<?xml version="1.0"?>
  <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/x-qtiplot">
    <glob pattern="*.qti"/>
     <magic priority="50"><match type="string" offset="0" value="QtiPlot"/></magic>
     <comment>QtiPlot Project file</comment>
     <comment xml:lang="ru_RU">Файл проекта QtiPlot</comment>
  </mime-type>
</mime-info>

and then run update-mime-database.

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

This bug was fixed in the package qtiplot - 0.9.8.4-1

---------------
qtiplot (0.9.8.4-1) unstable; urgency=low

  * moved debian/build.conf into debian/patches/03_build_conf.patch
    to track changes to build.conf between releases. Updated
    debian/rules accordingly.
  * New upstream release. (Closes: #599450)
  * Refreshed patches.
  * debian/control B-D on libalglib-dev, libtamuanova-dev,
    libqtexengine-dev
  * debian/rules allows for parallel builds
  * Byte compile python modules with dh_python2, removed debian/*.post{rm,inst}
    dropped dependency on depricated python-central (Closes: #587669)
  * Added shared-mime-info xml data in debian/qtiplot.sharedmimeinfo
    (LP: #184307)
  * 04_qwtplot3d_static.patch added to build a modified static
    library of qwt3dplot
  * 05_link_gl2ps.patch added to use Debian gl2ps library.
  * Policy 3.9.2, no changes
 -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 09 May 2011 11:55:05 +0000

Changed in qtiplot (Ubuntu):
status: Confirmed → 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.