Re: 0.98.5

Michiel Broek <[email protected]> Thu, 14 Feb 2013 16:02:25 +0100
Newsgroups gmane.comp.audio.jamin.devel
Message-ID <[email protected]>
On 02/14/2013 03:46 PM, Patrick Shirkey wrote:
> On Thu, February 14, 2013 11:28 pm, Michiel Broek wrote:
>> On 02/14/2013 07:53 AM, Patrick Shirkey wrote:
>>> Hi,
>>>
>>> I just pushed some updates for the GtkMeter class. The Vertical meters
>>> are
>>> in place and the horizontal levels but I still need to fix the gain
>>> meters
>>> cos they go in the opposite direction. I haven't added the fastmeter
>>> logic
>>> yet so these ones draw the complete widget on every refresh which is a
>>> bit
>>> expensive.
>>>
>>> I plan to add the cairo drawing code from ardour and scenic so we can
>>> have
>>> a selection of meters. I have used the cairo code I wrote for jackeq for
>>> the tests as I know it better than the other two.
>> Patrick,
>>
>> is it possible to do all drawing with cairo and drop clutter? This
>> clutter thing needs so many extra packages to add to my Slackware system
>> that I decided to not compile this version.
>>
> It's possible but nowhere near as interesting ;-)
>
>> That is the main reason why I hate gtk stuff, the dependency hell for
>> adding some libraries.
>>
> It's probably because I am using the very latest clutter which is only
> available in the experimental repos for most distros at the moment.

That is possible. I tried the latest and oldest possible clutter, but 
for dependencies that didn't matter much. There are several dependencies 
that cannot be solved because standard libraries that come with the 
distributions (Slackware 14.0 only a few months old) are already way too 
old. I don't like to upgrade these because it ends in rebuilding almost 
all graphic libraries. That's the gtk/gnome hell.

Slackware doesn't ship with gnome and it is a choice that I absolutely 
don't mind. Still there is enough gtk stuff present to compile almost 
all applications. Anyway, an application should not depend too much on 
specific libraries and absolutely not on a specific desktop. I can see 
that you need something to draw, pango/cairo is present very well in 
most distro's.



>
> If you are using a newer gnome desktop you should have clutter installed
> already.
>
> what does the following give you:
>
>         pkg-config --modversion clutter-1.0
mbroek@seaport:~$ pkg-config --modversion clutter-1.0
Package clutter-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `clutter-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'clutter-1.0' found
mbroek@seaport:~$

This is the result of trying to build clutter:

configure: error: Package requirements (cogl-1.0 >= 1.9.6 cairo-gobject 
 >= 1.10 atk >= 2.5.3 pangocairo >= 1.30 cogl-pango-1.0 json-glib-1.0 >= 
0.12.0 gdk-3.0 x11 xext xfixes >= 3 xdamage xcomposite >= 0.4 xi) were 
not met:

No package 'cogl-1.0' found
Requested 'atk >= 2.5.3' but version of Atk is 2.4.0
No package 'cogl-pango-1.0' found
No package 'json-glib-1.0' found


Then, looking at some of these packages, more dependencies follow.


> What I can do is lower the version number and make it compile time
> optional...
>
> That way it gives you a chance to catch up to me without missing out on
> the latest updates ;-)

I guess this is the way it is now.

gtx, Michiel.


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb