well, continue…
1. we have xflock4 already, but no xscreensaver ready.
I fetched xscreensaver here:
http://koji.fedoraproject.org/koji/buildinfo?buildID=536981
xscreensaver-5.29-1.fc20.src.rpm
it has dependency on package: libgle
currently libgle-devel and xorg-x11-reutils are not available in repo.
need to compile manually(maybe they will be ready when you read this post.)
fetch following src.rpm and compile
1 2 |
#libgle-3.1.0-9.fc20.src.rpm #xorg-x11-resutils-7.5-8.fc20.src.rpm |
then:
1 2 3 4 5 6 7 |
# yum-builddep xscreensaver-5.29-1.fc20.src.rpm ... ... --> Already installed : desktop-backgrounds-basic-20.0.0-1.el7.centos.noarch --> Already installed : mesa-libGL-devel-9.2.5-5.20131218.el7.x86_64 --> Already installed : mesa-libGLU-devel-9.0.0-4.el7.x86_64 Error: No Package found for fedora-release |
well, Im using centos, if I have to compile the rpm, I need to modify spec.
1 |
# rpm2cpio xscreensaver-5.29-1.fc20.src.rpm |cpio -i xscreensaver.spec |
modify spec:
1 2 3 4 5 6 7 8 9 |
[root@t430z workspace]# diff xscreensaver.spec xscreensaver.spec.old 23c23 < %define default_text %{_sysconfdir}/centos-release --- > %define default_text %{_sysconfdir}/fedora-release 134c134 < BuildRequires: centos-release --- > BuildRequires: fedora-release |
re-run builddep:
1 2 |
# yum-builddep xscreensaver.spec # rpmbuild --rebuild xscreensaver-5.29-1.fc20.src.rpm |
finish the installation:
1 2 3 |
[root@t430z x86_64]# pwd /root/rpmbuild/RPMS/x86_64 [root@t430z x86_64]# yum localinstall xscreensaver* |