Gtk2 dependency to gdkpixbuf2

Hello everyone,

I’ve raised the issue some days ago but I haven’t received response
:frowning: in short, gtk2 has not gdkpixbuf2 listed as a dependency. I believe
it
should have - even the smallest possible sample fails if gdkpixbuf2 is
not
installed.
I’ve prepared a patch (included here) that includes the dependency in
the
rakefile (it’s ONE line of code, but still - I’ve done my homework).
Please let me know - there is maybe a good reason that I don’t know
about for
which gdkpixbuf2 shouldn’t be included.

Thanks in advance!

Andrea D.


2010/10/10 Andrea D. [email protected]:

Thanks in advance!

Andrea D.
http://github.com/bolthar/freightrain
http://usingimho.wordpress.com

Hi.
Just to say that according to README gtk does depend on gdkpixbuf2!


Vincent C.

Hi,

In [email protected]
“[ruby-gnome2-devel-en] gtk2 dependency to gdkpixbuf2” on Sun, 10 Oct
2010 11:21:02 +0200,
Andrea D. [email protected] wrote:

I’ve raised the issue some days ago but I haven’t received response
:frowning: in short, gtk2 has not gdkpixbuf2 listed as a dependency. I believe it
should have - even the smallest possible sample fails if gdkpixbuf2 is not
installed.

Where did you summit the issue? I can’t find the issue on SF.net

I’ve prepared a patch (included here) that includes the dependency in the
rakefile (it’s ONE line of code, but still - I’ve done my homework).
Please let me know - there is maybe a good reason that I don’t know about for
which gdkpixbuf2 shouldn’t be included.

Ruby/GdkPixbuf2 shouldn’t dependes on Ruby/GTK2. Ruby/GTK2
depends on Ruby/GdkPixbuf2 is correct.

Could you write a patch to move gdkcairo.h related codes in
rbgdk-pixbuf.c to Ruby/GTK2?

Thanks,

kou

Hi,

I didn’t submit the issue to the bug tracker - just here on the
mailing list: I wasn’t sure it was an issue to begin with.
Ruby/GdkPixbuf2 does not depend on Ruby/GTK2. The problem is that
Ruby/GTK2
does depend on Ruby/GdkPixbuf2 but, on the gem manifest, the dependency
isn’t
listed and so the Ruby/GdkPixbuf2 gem does not get installed as it
should when
installing the Ruby/GTK2 gem.

The little patch I submitted (included in my last message here) was a
fix for
the gtk2 rakefile - it just added the gdkpixbuf2 dependency.

Could you write a patch to move gdkcairo.h related codes in
rbgdk-pixbuf.c to Ruby/GTK2?

I’ve taken a look at rbgdk-pixbuf.c and I believe that this is the
section
you’re talking about:

#if RBGDK_PIXBUF_CHECK_VERSION(2,8,0) && defined(HAVE_RB_CAIRO_H)

include <gdk/gdkcairo.h>

include <rb_cairo.h>

define CAIRO_AVAILABLE 1

#else

define CAIRO_AVAILABLE 0

#endif

problem is, I have absolutely no idea where to move it. I’ve tried
rbgtk.h in
gtk2/ext with no luck. Any pointer would be appreciated - I’d like to
know
more about the project and be able to help but I lack the necessary
knowledge.

Andrea

Hi,

In [email protected]
“Re: [ruby-gnome2-devel-en] gtk2 dependency to gdkpixbuf2” on Thu, 14
Oct 2010 13:21:45 +0200,
Andrea D. [email protected] wrote:

#else

define CAIRO_AVAILABLE 0

#endif

and #ifdef CAIRO_AVAIABLE … #endif sections.

problem is, I have absolutely no idea where to move it. I’ve tried rbgtk.h in
gtk2/ext with no luck. Any pointer would be appreciated - I’d like to know
more about the project and be able to help but I lack the necessary knowledge.

gtk2/ext/gtk2/rbgdkcairo.c is the location.

I’m looking for your contribution!

Thanks,

kou

Hi,

enclosed to this mail you’ll find the patch. I tested everything on my
machine and it builds/installs fine, also my examples and the examples
in
gdk_pixbuf2 run fine. I really hope I didn’t break anything…

Hope this will help!

Andrea

Hi,

In [email protected]
“Re: [ruby-gnome2-devel-en] gtk2 dependency to gdkpixbuf2” on Thu, 14
Oct 2010 17:42:46 +0200,
Andrea D. [email protected] wrote:

enclosed to this mail you’ll find the patch. I tested everything on my
machine and it builds/installs fine, also my examples and the examples in
gdk_pixbuf2 run fine. I really hope I didn’t break anything…

Thanks!
I’ve applied your patch with some fixes. Please confirm it!

Thanks,

kou

Hi Kouhei,

I’ve updated from trunk and built/reinstalled the gems and everything
works on my machine.

Thanks for your work!

Andrea

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs