Comment 24 for bug 8023

Revision history for this message
Amos Brocco (mriya3) wrote :

You can rebuild the gnome-cups-manager / libgnomecups packages by doing:

sudo apt-get build-dep libgnomecups
sudo apt-get build-dep gnome-cups-manager
apt-get source libgnomecups
apt-get source gnome-cups-manager

the sources for the two packages (and the build dependencies) will be downloaded and extracted in corresponding directories. Now...

1) For gnome-cups-manager, copy the patch file in debian/patches directory and then, from the source base directory (ex. gnome-cups-manager-0.31) issue:

dpkg-buildpackage -rfakeroot -uc -b

after compilation, you'll find the .deb package in the parent directory

2) For libgnomecups, copy the patch file in the base directory of the source (ex. libgnomecups-0.2.2), then cd into that directory and use

patch -p1 < nameofthepatch.patch

to apply the patch (supposing that you saved the patch as nameofthepatch.patch). Now you can build the package with

dpkg-buildpackage -rfakeroot -uc -b

Finally you can install both packages with: sudo dpkg -i packagename
Beware that the version number will be unchanged and the update-manager will advertise both packages as upgradable.