FS#64628 - The path of Icon path incorrect in Jupyter Qtconsole

Attached to Project: Arch Linux
Opened by Evan Greenup (evgrup) - Sunday, 24 November 2019, 00:22 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 05 December 2019, 10:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The icon path of /usr/share/applications/jupyter-qtconsole.desktop
currently is `Icon=/usr/lib/python3.7/site-packages/qtconsole/resources/icon/JupyterConsole`
But it should be `Icon=/usr/lib/python3.7/site-packages/qtconsole/resources/icon/JupyterConsole.svg`

It seems that there is bugs in PKGBUILD of python-qtconsole

```
package_python-qtconsole() {
cd "$srcdir/qtconsole-$pkgver"
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

cd examples
#  FS#47046  fix .desktop icon
#  FS#57556  fix .desktop icon again
sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.8/site-packages/qtconsole/resources/icon/JupyterConsole|' \
jupyter-qtconsole.desktop
install -Dm644 jupyter-qtconsole.desktop \
"$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
}
```

It should be

```
package_python-qtconsole() {
cd "$srcdir/qtconsole-$pkgver"
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

cd examples
#  FS#47046  fix .desktop icon
#  FS#57556  fix .desktop icon again
sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.8/site-packages/qtconsole/resources/icon/JupyterConsole.svg|' \
jupyter-qtconsole.desktop
install -Dm644 jupyter-qtconsole.desktop \
"$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
}
```


Additional info:
* package version(s) 4.5.5-3
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 05 December 2019, 10:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-qtconsole 4.6.0-1

Loading...