For those having issues launching fusion-icon because of a wrong library, libcompizconfig must be recompiled and everything will work.
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: | |
Conflicts: | |
Submitter: | Barthalion |
Maintainer: | ShadowKyogre (isseigx) |
Last Packager: | ShadowKyogre |
Votes: | 51 |
Popularity: | 0.000002 |
First Submitted: | 2013-07-11 10:41 |
Last Updated: | 2019-01-13 16:18 |
Dependencies (7)
- compizconfig-python (compizconfig-python-git, compiz-git, compiz)
- hicolor-icon-theme (hicolor-icon-theme-git)
- mesa-demos (mesa-demos-git)
- xorg-xvinfo
- libappindicator-gtk3 (libappindicator-gtk3-ubuntu, libappindicator-bzr) (optional) – For the GTK+ Interface
- python-gobject (python-gobject-git) (optional) – For the GTK+ Interface
- python-pyqt5 (optional) – For the Qt Interface
Required by (0)
Sources (1)
aquilarubra commented on 2019-12-20 07:21
ShadowKyogre commented on 2019-08-22 18:48
Hey everyone.
Requesting for comaintainers on this package since there's been several circumstances that happened that make it hard to maintain all the packages I normally attend to.
See
https://lists.archlinux.org/pipermail/aur-general/2019-August/035332.html
for more information.
If you're interested in co-maintaining, don't forget to leave a comment (or email me, or toot me on Mastodon).
raulicci commented on 2017-07-09 01:34
I have the follow error:
fusion-icon -i qt
* Detected Session: xfce
* Searching for installed applications...
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 428, in <module>
decorators = CompizDecorators(_installed)
File "/usr/lib/python3.6/site-packages/FusionIcon/util.py", line 247, in __init__
self.default = self.keys()[0]
TypeError: 'dict_keys' object does not support indexing
microdou commented on 2017-04-26 15:08
@spsf64 @ShadowKyogre
The following script does the trick for me. If compiz 0.9 is installed, it uses "python2" for build() and package(). Otherwise, use "python" instead.
I'm not familiar with all functions of PKGBUILD, so there can be better way to do it.
------
build() {
COMPIZ_INFO=$(pacman -Q compiz)
COMPIZ_NAME_VERSION=${COMPIZ_INFO:0:10}
if [ "$COMPIZ_NAME_VERSION" == "compiz 0.9" ]; then
PYTHON="python2"
else
PYTHON="python"
fi
cd "${srcdir}/${pkgname}-${pkgver}"
$PYTHON setup.py build
}
package() {
COMPIZ_INFO=$(pacman -Q compiz)
COMPIZ_NAME_VERSION=${COMPIZ_INFO:0:10}
if [ "$COMPIZ_NAME_VERSION" == "compiz 0.9" ]; then
PYTHON="python2"
else
PYTHON="python"
fi
cd "${srcdir}/${pkgname}-${pkgver}"
$PYTHON setup.py install --root="$pkgdir" --optimize=1
}
------
spsf64 commented on 2017-04-25 17:42
@ShadowKyogre: working fine with 0.9 changing PKGBUILD as per instructions!
Is there any possibility to PKGBUILD check what version of compiz is installed and build automatically for 0.8 or 0.9?
TIA
ShadowKyogre commented on 2017-04-25 16:52
@imran27: I left some comments on the PKGBUILD mentioning what to do in the case of Compiz 0.9.x.
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fusion-icon#n31
imran27 commented on 2017-04-25 06:31
@ShadowKyogre
Problem still persists.
Using python2 setup.py build instead python solves the problem
ShadowKyogre commented on 2017-04-24 21:59
@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
@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
@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?
Pinned Comments
aquilarubra commented on 2019-12-20 07:21
For those having issues launching fusion-icon because of a wrong library, libcompizconfig must be recompiled and everything will work.