Metacity without edge resistance - Help!

Grant Defayette gdefayette at gmail.com
Wed Jul 4 05:10:52 BST 2007


On Sun, 2007-07-01 at 11:49 +0200, Andrea Martelli wrote:
> Hi,
> I'm an Ubuntu Feisty user and I'm trying to create a .deb package from
> Metacity 2.18.2-0ubuntu1.1 source, with the file src/edge-resistance.c
> modified in order to have no edge resistance:
> 
> const int PIXEL_DISTANCE_THRESHOLD_TOWARDS_WINDOW    = 0;
>   const int PIXEL_DISTANCE_THRESHOLD_AWAYFROM_WINDOW   =  0;
>   const int PIXEL_DISTANCE_THRESHOLD_TOWARDS_XINERAMA  = 0;
>   const int PIXEL_DISTANCE_THRESHOLD_AWAYFROM_XINERAMA =  0;
>   const int PIXEL_DISTANCE_THRESHOLD_TOWARDS_SCREEN    = 0;
>   const int PIXEL_DISTANCE_THRESHOLD_AWAYFROM_SCREEN   =  0;
>   const int TIMEOUT_RESISTANCE_LENGTH_MS_WINDOW   =   0;
>   const int TIMEOUT_RESISTANCE_LENGTH_MS_XINERAMA =   0;
>   const int TIMEOUT_RESISTANCE_LENGTH_MS_SCREEN   =   0;
> 
> I used the debian patch found on
> https://launchpad.net/ubuntu/+source/metacity/1:2.18.2-0ubuntu1.1, but
> once generated the package with checkinstall, I'm unable to install it
> because of this error:
> 
> overwriting of `/usr/lib/libgconf2-4/2/libgconfbackend-xml.so', which
> belongs also to package libgconf2-4
> 
> Can you help me to obtain a working metacity package with no
> edge-resistance, please?
> 
> Thanks a lot,
> Andrew

Andrew

Part of your problem is that you seem to be trying to use checkinstall
with a debsrc. While this can usually be done, if the package is already
in deb format and ready for use with debbuild or dpkg-buildpackage you
would be better off using one of those. Unless you are going to make
sure to clean up the mess that checkinstall will make of the resulting
deb so that your dpkg and apt will handle it properly you should try
using the  "dpkg-buildpackage -us -uc -b" command to build changes
unsigned sources into binary a deb for your arch. 

It really is none of my business what you do with your software, but
can't you turn off edge resistance in a config file and/or a gui config?





More information about the ubuntu-desktop mailing list