Docky

The Fedora project, due to being frightened by a certain fruit company, applied a “no-zoom” patch to the project Docky.

https://launchpad.net/docky

I recompiled from the Fedora sources and removed that patch. I used the program Mock to rebuild the official RPM package from their SRPM. Then I modified the docky.spec file. Then I recompiled the RPM and installed.

Here is the SRPM and RPM files along with the commands I used.

$ mock --rebuild ~/Downloads/docky-2.2.0-6.fc23.src.rpm

$ sudo cp -R /var/lib/mock/fedora-23-x86_64/root/builddir/build ~/rpmbuild

$ sudo chown -R username:usergroup ~/rpmbuild

At this point I modified ~/rpmbuild/SPEC/docky.spec

I bumped this to make sure that when my RPM is installed it would update any previously installed Docky package.

docky.spec (line 11)
Release:        7%{?dist}

Commented out reference to nozoom patch.

docky.spec (line 18)
#Patch0:         docky-nozoom.patch

Commented out reference to nozoom patch.

docky.spec (line 61)
#%patch0 -p1

Once that was done, I generated a new SRPM file and made a safe copy of it.

$ mock --buildsrpm --spec ~/rpmbuild/SPECS/docky.spec --sources ~/rpmbuild/SOURCES

$ cp /var/lib/mock/fedora-23-x86_64/root/builddir/build/SRPMS/docky-2.2.0-7.fc23.src.rpm ~/rpmbuild/docky-2.2.0-7.fc23.src.rpm

Next I rebuilt the RPM using my safe copy of the SRPM and made a safe copy of it.

$ mock --rebuild ~/rpmbuild/docky-2.2.0-7.fc23.src.rpm

$ cp /var/lib/mock/fedora-23-x86_64/result/docky-2.2.0-7.fc23.x86_64.rpm ~/rpmbuild/docky-2.2.0-7.fc23.x86_64.rpm

Then I installed it.

$ sudo dnf install ~/rpmbuild/docky-2.2.0-7.fc23.x86_64.rpm

Zooming is now enabled!

 
docky.txt · Last modified: 2016/05/23 13:03 by nexxuz
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki Win up to $200.00 in Bitcoin per hour! - FreeBitco.in 88x31-1
Drupal Garland Theme for Dokuwiki