#1389 closed bug (Fixed)
"setup.py install" puts icons and .desktop file into wrong place under Ubuntu 10.10
Reported by: | Zarbis | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 2.0.0 |
Component: | Packaging | Version: | |
Keywords: | Cc: | deluge@martinspacek.mm.st |
Description
After making "python setup.py build && sudo python setup.py install" deluge has no icon and entry in applications menu. All icon and .desktop files are placed to /usr/local/lib/python2.6/dist-packages/deluge-1.3.900_dev-py2.6-linux-x86_64.egg/share/ which seems to be wrong.
Change History (14)
comment:1 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
I was following deluge's development since around r3300 and now you tell me that i either should stop or change distro to continue? And to add custom translations i now should manually replace files that are under control of package manager?
comment:3 by , 14 years ago
I agree, I was going to re-open this once I got home, which now I am. git-bisect to the rescue me thinks, see if this was something recently introduced.
Zarbis, are you using master or 1.3-stable?
comment:4 by , 14 years ago
I've noticed this as well. I just tried building from master today (2010-12-12) in amd64 Ubuntu maverick 10.10. Missing icon in Applications menu, and "sys-tray" status icon was showing up as missing as well.
My /usr/local/lib/python2.6/dist-packages/deluge-1.3.900_dev-py2.6-linux-x86_64.egg/share has this in it:
applications/ icons/ man/ pixmaps/
Copying (merging) these with nautilus into /usr/share did the trick for me.
comment:5 by , 14 years ago
Cc: | added |
---|
comment:6 by , 14 years ago
Component: | other → packaging |
---|---|
Priority: | major → trivial |
Type: | defect → bug |
comment:7 by , 14 years ago
Milestone: | Future → 1.3.x |
---|
comment:9 by , 13 years ago
Milestone: | 1.3.x → 1.4.0 |
---|---|
Version: | 1.3.0_dev → git master |
comment:10 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
This has to do with Ubuntu's default installation path so you need to add an argument to the install command:
python setup.py install --install-layout=deb
More info: https://lists.ubuntu.com/archives/ubuntu-devel/2009-February/027439.html
I will add update wiki with this detail.
comment:11 by , 13 years ago
Milestone: | 1.4.0 → 1.3.x |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
Version: | git master |
Reopening as my previous comment doesn't actually do what I thought.
Turns out that install is putting those files into the package and not as expected in the system dirs. This originated after removing the custom install class from setup.py.
The workaround for now is to run the following after install:
sudo python setup.py install_data
comment:12 by , 10 years ago
Milestone: | 1.3.x → Future |
---|
comment:13 by , 9 years ago
Milestone: | Future → 2.0 |
---|---|
Resolution: | → Fixed |
Status: | reopened → closed |
Fixed in develop: [0466c7144c18c7a1bee]
Building from source is not designed for specific distros, that is what the Deluge Ubuntu PPA is for.