@ShadowKyogre
Problem still persists.
Using python2 setup.py build instead python solves the problem
Search Criteria
Package Details: fusion-icon 1:0.2.4-1
Git Clone URL: | https://aur.archlinux.org/fusion-icon.git (read-only, click to copy) |
---|---|
Package Base: | fusion-icon |
Description: | Simple tray icon for Compiz 0.8 |
Upstream URL: | http://www.compiz.org/ |
Licenses: | GPL |
Conflicts: | fusion-icon0.9 |
Submitter: | Barthalion |
Maintainer: | ShadowKyogre (isseigx) |
Last Packager: | ShadowKyogre |
Votes: | 52 |
Popularity: | 0.012420 |
First Submitted: | 2013-07-11 10:41 (UTC) |
Last Updated: | 2019-01-13 16:18 (UTC) |
Dependencies (7)
- compizconfig-pythonAUR (compizconfig-python-gitAUR, compiz-easy-patchAUR, compizAUR, compiz-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- mesa-demos
- xorg-xvinfo
- libappindicator-gtk3 (libappindicator-bzrAUR) (optional) – For the GTK+ Interface
- python-gobject (python-gobject-gitAUR) (optional) – For the GTK+ Interface
- python-pyqt5 (python-pyqt5-webkitAUR, python-pyqt5-sip4AUR, python-pyqt5-pre-releaseAUR) (optional) – For the Qt Interface
Required by (0)
Sources (1)
imran27 commented on 2017-04-25 06:31 (UTC) (edited on 2017-04-25 06:33 (UTC) by imran27)
ShadowKyogre commented on 2017-04-24 21:59 (UTC)
@microdou, imran27: I've updated the PKGBUILD to call the setup.py file directly. It works for both Compiz 0.9.x and Compiz 0.8.x since all the Makefile is doing is calling the setup.py file.
I'll do this for the -git PKGBUILD too.
microdou commented on 2017-04-24 21:18 (UTC)
@ShadowKyogre: I got the same problem as @imran27 with Compiz 0.9 and Fusion-icon 0.2.3.
Following modification to PKGBUILD solved my problem. (I don't know if it will work with Compiz 0.8)
Change the prepare() and package() portions to:
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --root="$pkgdir" --optimize=1
}
ShadowKyogre commented on 2017-04-24 16:59 (UTC)
@imran27: Had a look at the Compiz 0.9 packages in the AUR. It looks like that they use python2, while the Compiz 0.8 packages use python3 primarily.
How would you suggest fixing this?
imran27 commented on 2017-04-24 12:34 (UTC)
With compiz 0.9.13.1-1, when I launch fusion-icon, I get this error
Traceback (most recent call last):
File "/usr/bin/fusion-icon", line 59, in <module>
from FusionIcon.interface import choose_interface
File "/usr/lib/python3.6/site-packages/FusionIcon/interface.py", line 22, in <module>
from FusionIcon.util import env
File "/usr/lib/python3.6/site-packages/FusionIcon/util.py", line 22, in <module>
import os, compizconfig, time
ModuleNotFoundError: No module named 'compizconfig'
ShadowKyogre commented on 2016-04-04 15:50 (UTC)
@balwierz: Install libappindicator-gtk3 also as mentioned in the optional depedendencies. There's currently no way to group optional depdendencies atm into what they're needed for except for description.
balwierz commented on 2016-04-04 13:32 (UTC)
@ShadowKyogre: Thank you! The qt interface works great now.
However, I still have problems (of a different kind) with the gtk interface. It fails in the line: gi.require_version('AppIndicator3', '0.1')
in /usr/lib/python2.7/site-packages/FusionIcon/interface_gtk/main.py
I do have PyGObject installed:
extra/python2-gobject2 2.28.6-12 [installed]
But cannot find an AUR package for python bindings of AppIndicator (there is Perl one only). Any suggestions?
ShadowKyogre commented on 2016-04-01 22:26 (UTC)
@balwierz, @Terrowin: Found out the cause of it. The make install command wasn't autobuilding the main.py files for each of the interfaces.
ShadowKyogre commented on 2016-04-01 22:21 (UTC)
@balwierz, @Terrowin: Let me check what's on in the source code. I'll get back to both of you ASAP.
Pinned Comments
aquilarubra commented on 2019-12-20 07:21 (UTC)
For those having issues launching fusion-icon because of a wrong library, libcompizconfig must be recompiled and everything will work.