Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#47056 - [gnuradio] Please move gnuradio.desktop file to gnuradio-companion package
Attached to Project:
Community Packages
Opened by Alain Kalker (ackalker) - Friday, 13 November 2015, 16:01 GMT
Last edited by Kyle Keen (keenerd) - Friday, 29 January 2016, 22:22 GMT
Opened by Alain Kalker (ackalker) - Friday, 13 November 2015, 16:01 GMT
Last edited by Kyle Keen (keenerd) - Friday, 29 January 2016, 22:22 GMT
|
DetailsDescription:
Including the file /usr/share/applications/gnuradio.desktop in the gnuradio package suggests that it can be used in GUI mode without gnuradio-companion package installed, which isn't true, so please move it to gnuradio-companion package. Besides, please keep gnuradio-grc.desktop name as that is what upstream uses. Please also install the icons and update the MIME database (see grc/freedesktop/grc_setup_freedesktop.in) Finally, please add gnuradio-companion as optional dependency for the gnuradio package. Additional info: * package version(s) gnuradio 3.7.8.1-1 * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Kyle Keen (keenerd)
Friday, 29 January 2016, 22:22 GMT
Reason for closing: Won't implement
Additional comments about closing: Removes user choice.
Friday, 29 January 2016, 22:22 GMT
Reason for closing: Won't implement
Additional comments about closing: Removes user choice.
But Gnuradio companion can be used without the gnuradio-companion package. "gnuradio-companion" isn't even a real package. Not a bug.
> keep gnuradio-grc.desktop name
Fixed in the (pending) 3.7.9 update.
> install the icons
They already are. See /usr/share/gnuradio/grc/freedesktop/grc-icon-*
> update the MIME database
That already happens in the gnuradio.install
> add gnuradio-companion as optional dependency for the gnuradio
That would be backwards, and would imply that gnuradio-companion does not depend on gnuradio. Not a bug.
No it can't (1), and yes it is (2).
(1):
# pacman -Rsn gnuradio-companion
[...snip...]
$ gnuradio-companion
Traceback (most recent call last):
File "/usr/bin/gnuradio-companion", line 130, in <module>
main()
File "/usr/bin/gnuradio-companion", line 111, in main
from gnuradio.grc.python.Platform import Platform
File "/usr/lib/python2.7/site-packages/gnuradio/grc/python/Platform.py", line 25, in <module>
from .. base.Platform import Platform as _Platform
File "/usr/lib/python2.7/site-packages/gnuradio/grc/base/Platform.py", line 26, in <module>
from Block import Block as _Block
File "/usr/lib/python2.7/site-packages/gnuradio/grc/base/Block.py", line 26, in <module>
from Cheetah.Template import Template
ImportError: No module named Cheetah.Template
(2):
# pacman -S gnuradio-companion
resolving dependencies...
looking for conflicting packages...
Packages (11) pyqt4-common-4.11.4-4 python2-cheetah-2.4.4-6
python2-markdown-2.6.3-1 python2-opengl-3.1.0-2
python2-pyqt4-4.11.4-4 python2-pyqwt-5.2.0-2 qwt-6.1.2-3
qwt5-5.2.3-4 qwtplot3d-0.2.7-8 wxpython-3.0.2.0-2
gnuradio-companion-3.7.9-1
Most, if not all, of these dependencies are needed to make any practical use of gnuradio-companion, several are required for it to even run at all.
The gnuradio-companion package is a fake package that drags in pretty much every possible optdep. Not all of them are needed, particularly if you only need one of the several GUI toolkits. If you want a light weight GRC install, you can easily do that with the gnuradio package and the deps you require. If want something that "just works" (basically we can automatically drag in new deps as they are needed, without user intervention) then you install gnuradio-companion.
The fake gnuradio-companion package should not detract from the utility of the gnuradio package. And upstream makes no provision for splitting out the GRC components, so I'm not going to do that by hand.