Im running CentOS7 and EPEL repo, with XFCE desktop.
by design compiz packages may not be prepared for EL release. but if you’re planning to use EL7( like Redhat EL, centos, Oracle Linux 7). and would like to enable compiz/emerald. please continue reading…
all packages are based on those fc20 src.rpms
You can visit following link for all src.RPMs, and RPMs compiled, mentioned here:
http://pan.baidu.com/s/1o6OB8ro
As before we need to install compiz as following:
1 |
# sudo yum install -y compiz-xfce libcompizconfig emerald-themes-* ccsm compiz-plugin-main compiz-plugins-extra compiz-manager fusion-icon |
So we are going to check out following src RPMs: (and deps for compile)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Pyrex-0.9.9-7.fc20.src.rpm libcompizconfig-0.8.8-9.fc20.src.rpm compiz-bcop-0.8.8-7.fc20.src.rpm compiz-manager-0.6.0-19.fc20.src.rpm compizconfig-python-0.8.4-9.fc20.src.rpm compiz-plugins-extra-0.8.8-11.fc20.src.rpm compiz-plugins-main-0.8.8-10.fc20.src.rpm libmatewnck-1.6.1-2.fc20.src.rpm emerald-themes-0.5.2-10.fc20.src.rpm emerald-0.8.8-9.fc20.src.rpm fusion-icon-0.1-6.fc20.src.rpm python-sexy-0.1.9-18.fc20.src.rpm compiz-0.8.8-25.fc20.src.rpm ccsm-0.8.4-14.fc20.src.rpm mate-doc-utils-1.6.2-1.fc20.src.rpm mate-window-manager-1.6.2-7.fc20.src.rpm |
packages like mate* are just prepared for compiling, we only need compiz-xfce after compile, no compiz-mate required then
Issues hit:
1. when installing compiz*
Error: Package: 1:compiz-0.8.8-25.el7.centos.x86_64 (/compiz-0.8.8-25.el7.centos.x86_64)
Requires: emerald
You could try using –skip-broken to work around the problem
but emerald also has dependency when running yum-builddep on compiz-devel
[fix]:
compile compiz, compiz-xfce and compiz-devel first, install with “rpm –nodeps” option to force.
then build emerald package and install
2. when building fusion-icon:
1 2 3 4 5 |
[root@t430z workspace]# rpmbuild --rebuild fusion-icon-0.1-6.fc20.src.rpm ... ... error: parse error in expression error: /root/rpmbuild/SPECS/fusion-icon.spec:93: bad %if condition |
[fix]:
the condition is checking fedora version, but we are running EL, it’s safe to comment out the condition.
1 2 3 4 5 |
[suse@suse ~/Notes]$diff fusion-icon.spec.old fusion-icon.spec 93d92 < %if %{fedora} > 8 95d93 < %endif |
after the change: build from new spec, but not the src.rpm
1 |
# rpmbuild -bb fusion-icon.spec |
after all packages built and installed, run fusion-icon, working!
ok , if you need to install RPMs directly, (not like to build your own.) please check out the links above.
and cd RPMS/x86_64 or noarch, following *
means the version:
1 |
#yum localinstall -y compiz-xfce* libcompizconfig* emerald-themes-* ccsm* compiz-plugin-main* compiz-plugins-extra* compiz-manager* fusion-icon* |
if you r using EPEL and xfce, all deps should be solved directly, if not please just find the broken rpms in the link lists.
Then, after the installation, we can safely drop ALL mate related RPMs (they were just prepared to compile compiz* packages, while we only need compiz-xfce and compiz)
1 |
# rpm -qa| grep mate| xargs rpm -e |
finally, If you r using RHEL or OracleLinux, you may not hit following issue.
on CentOS, when you running compiz with cube, it may require access file
1 |
"/usr/share/pixmaps/redhat/shadowman-transparent.png" |
It’s safely to ignore, or you can copy from other box, cover the folder “/usr/share/pixmaps/redhat”
As I was using OracleLinux 6, so I package a zip here:
http://pan.baidu.com/s/1o6OB8ro#dir/path=%2FSITE%2FEL7%2Fmy_app
unzip and copy folder to the target.