bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #61046] sps files do not open automatically by PSPP


From: Friedrich Beckmann
Subject: PSPP-BUG: [bug #61046] sps files do not open automatically by PSPP
Date: Thu, 6 Jan 2022 20:15:15 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15

Update of bug #61046 (project pspp):

                  Status:                    None => Cannot Reproduce       

    _______________________________________________________

Follow-up Comment #2:

I just installed pspp 1.4.1 on debian 11 via apt and it works. If you install
via the packet manager, then the mime database and the desktop files are
automagically updated. So if I install via apt, then I can do


root@debian:/usr/share/applications# xdg-mime query filetype
/usr/share/pspp/examples/grid.sps 
application/x-spss-sps
root@debian:/usr/share/applications# xdg-mime query filetype
/usr/share/pspp/examples/hotel.sav 
application/x-spss-sav


The sps and spv file mime types for pspp are defined here


/usr/share/mime/packages/pspp.xml


while for sav and por they are already defined in the freedesktop xdg mime
type database.

https://cgit.freedesktop.org/xdg/shared-mime-info/tree/data/freedesktop.org.xml.in#n1401

The desktop file which is the link between the mime type and the application
should be here:


/usr/share/applications/org.fsf.pspp.desktop


I guess if you install via "make install", then you need to update the mime
database manually. You also cannot use a different prefix during configure,
because then the xml and desktop files are not installed in the correct
locations.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61046>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]