[Bug 1958713] [NEW] libsigrok: MIME type and icons are not installed

Launchpad Bug Tracker 1958713 at bugs.launchpad.net
Tue Jan 25 12:25:52 UTC 2022


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

Hello,

libsigrok installs the following files, but they don't end up in the deb
files:

/usr/share/icons/hicolor/48x48/mimetypes/libsigrok.png
/usr/share/icons/hicolor/scalable/mimetypes/libsigrok.svg
/usr/share/mime/packages/vnd.sigrok.session.xml

As a result *.sr files are not associated with PulseView as they should.
It'd be great to add those files to the deb creation rules and update mime database in the post install script:

update-mime-database /usr/share/mime

I tested the following release:
Ubuntu Impish 21.10
libsigrok4-0.5.2-3build1:amd64

Also I confirmed that sigrok-0.5.2 has those files:

git clone git://sigrok.org/libsigrok
cd libsigrok
git checkout libsigrok-0.5.2
./autogen.sh
./configure.sh --prefix=/usr
DESTDIR=$PWD/install make -j5 install
find ./install/usr/share -type f

Output of the last command is:

./install/usr/share/icons/hicolor/48x48/mimetypes/libsigrok.png
./install/usr/share/icons/hicolor/scalable/mimetypes/libsigrok.svg
./install/usr/share/mime/packages/vnd.sigrok.session.xml


Best regards,
Maksim

** Affects: libsigrok (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch
-- 
libsigrok: MIME type and icons are not installed
https://bugs.launchpad.net/bugs/1958713
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list