Re: Distro patch to libtool on Debian Wheezy/Ubuntu Oneiric breaks compile of rrdtool (Was: Re: [rrd-developers] Compile failure due to libwrap on Ubuntu 11.10)

2012-01-10 Thread Alex Bennee
On 5 January 2012 16:52, Kurt Roeckx  wrote:
> On Tue, Dec 20, 2011 at 05:33:51PM +, Alex Bennee wrote:
>> On 20 December 2011 15:46, Tobias Oetiker  wrote:
>> > Hi Alex,
>> >
>> > Yesterday Alex Bennee wrote:
>> >
>> >> On 19 December 2011 17:00, Tobias Oetiker  wrote:
>> >> > Alex,
>> >> >
>> >> > your system seems to be using a different version of  libtool ...

>> > libtool gets created by libtoolize as far as I know ...
>>
>> OK after much bisecting I've narrowed it down to a patch in libtool
>> 2.4 added by Debian in
>> libtool 2.4-1 The result moves the processing of dependancy_libs
>> in libtool which breaks the passing of the flags in the subtle and
>> maddening way discussed.
>
> Can you point me to that discussion?

Apologies for the delay, I've only just got back into work following
the birth of my daughter. GMane has split the discussion but you can
see it here:

http://thread.gmane.org/gmane.comp.db.rrdtool.devel/4132
http://thread.gmane.org/gmane.comp.db.rrdtool.devel/4155

>
>> I've attached the libtool patch for reference.

>
> The patch prevents reading the dependancy_libs for cases it
> shouldn't read it, and so avoids unneeded linking to libraries.

Well in this case dependancy_libs should have -lwrap in them but it
get squashed. However it could be that RRDTool's autoconf magic is
incorrect in the way is specifies libwrap:

http://oss.oetiker.ch/rrdtool-trac/browser/trunk/program/configure.ac?rev=2247#L105

> My guess would be that you expect to be able to save linker flags
> in dependancy_libs, but I can't think of a good reason why you
> would want to do that.

Isn't this all driven by autotools? The only slight weirdness is
rrdcached uses a different .la file (librrd_th):

http://oss.oetiker.ch/rrdtool-trac/browser/trunk/program/src/Makefile.am?rev=2247#L116

But I thought the .la files where set up by autotools so should Do The
Right Thing (tm). However it's entirely possible the automagic is
being set-up wrong. Any advice gratefully received. I'm kinda lost
digging through the rabbit hole that is the autogenerated scripts and
makefiles which is why I went to the source.

-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Ability to set correct DPI in 12.04 (still forced to 96?)

2012-01-10 Thread Ryan Hayle
It seems that there is no longer a way to set the correct DPI for a
particular screen.  I'm testing 12.04 on a MacBook with a 110 DPI
screen.  This is correctly detected by Xorg (107x103 detected by
nvidia driver in Xorg log file), however xdpyinfo shows the resolution
is still set to 96 DPI.  I don't even know what layer of
Xorg/GNOME/Unity is causing this problem, so I'm not sure where to
file a proper bug report anymore.  It seems like a rather serious
issue to fix before 12.04 is released for 5 years!

There is already a wishlist bug to add this to the Displays control
panel: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/8357

It should presented in such a way that users understand that this is a
physical characteristic of their display that must be correct and
should never be changed.  I guess GNOME 3 also text-scaling-factor
setting which is useful, but should not be confused with the physical
DPI characteristic.  Unfortunately it seems this is not quite the same
as a UI-scaling property which would resize UI elements as well, which
is what we really need.  Thoughts?  What am I missing here?  My main
laptop has as 147 screen, and I would never want a lower resolution
screen again, so I really hope to see this issue finally fixed!

--
Ryan

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ability to set correct DPI in 12.04 (still forced to 96?)

2012-01-10 Thread Rodney Dawes
This is an upstream change to remove all the "advanced" font settings
from the control panel. You can still set most all of them within
dconf-editor directly though.


On Tue, 2012-01-10 at 10:38 -0300, Ryan Hayle wrote:
> It seems that there is no longer a way to set the correct DPI for a
> particular screen.  I'm testing 12.04 on a MacBook with a 110 DPI
> screen.  This is correctly detected by Xorg (107x103 detected by
> nvidia driver in Xorg log file), however xdpyinfo shows the resolution
> is still set to 96 DPI.  I don't even know what layer of
> Xorg/GNOME/Unity is causing this problem, so I'm not sure where to
> file a proper bug report anymore.  It seems like a rather serious
> issue to fix before 12.04 is released for 5 years!
> 
> There is already a wishlist bug to add this to the Displays control
> panel: 
> https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/8357
> 
> It should presented in such a way that users understand that this is a
> physical characteristic of their display that must be correct and
> should never be changed.  I guess GNOME 3 also text-scaling-factor
> setting which is useful, but should not be confused with the physical
> DPI characteristic.  Unfortunately it seems this is not quite the same
> as a UI-scaling property which would resize UI elements as well, which
> is what we really need.  Thoughts?  What am I missing here?  My main
> laptop has as 147 screen, and I would never want a lower resolution
> screen again, so I really hope to see this issue finally fixed!
> 
> --
> Ryan
> 



signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ability to set correct DPI in 12.04 (still forced to 96?)

2012-01-10 Thread Marius Gedminas
On Tue, Jan 10, 2012 at 10:38:48AM -0300, Ryan Hayle wrote:
> It seems that there is no longer a way to set the correct DPI for a
> particular screen
...
> It seems like a rather serious
> issue to fix before 12.04 is released for 5 years!
...
> There is already a wishlist bug to add this to the Displays control
> panel: 
> https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/8357
> 
> It should presented in such a way that users understand that this is a
> physical characteristic of their display that must be correct and
> should never be changed.  I guess GNOME 3 also text-scaling-factor
> setting which is useful, but should not be confused with the physical
> DPI characteristic.  Unfortunately it seems this is not quite the same
> as a UI-scaling property which would resize UI elements as well, which
> is what we really need.  Thoughts?  What am I missing here? 

http://blogs.gnome.org/danni/2011/12/15/more-on-dpi/
http://www.fooishbar.org/blog/tech/x/dpi-2011-12-07-04-35.html
http://lists.fedoraproject.org/pipermail/devel/2011-October/157671.html
http://lists.fedoraproject.org/pipermail/devel/2011-October/157760.html

Marius Gedminas
-- 
Cheap, Fast, Good -- pick two.


signature.asc
Description: Digital signature
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss