Invalid version of pango for 0.90.6 and later on new build

Greetings. I’m not sure if this is a bug, or something in my
environment. I tried to start as clean as possible.

Before I describe my troubleshooting, it seems like “ruby extconf.rb”
for pango is creating a BAD rbpangoversion.h file

I tried a few versions, and it seemed to break between 0.90.5 and 0.90.6

The generated rbpangoversion.h file contains the following under 0.90.6


#define PANGO_MAJOR_VERSION (2)
#define PANGO_MINOR_VERSION (0)
#define PANGO_MICRO_VERSION (0)
#define PANGO_TAG_VERSION (b7)

Under 0.90.5 it creates

#define PANGO_MAJOR_VERSION (1)
#define PANGO_MINOR_VERSION (28)
#define PANGO_MICRO_VERSION (1)

On this test machine. I indeed have

pango-1.28.1-4.fc14.i686
pango-devel-1.28.1-4.fc14.i686

I’ve seen it do this on other machines too.

Where the heck is it getting PANGO_MAJOR_VERSION == 2 from?

This is from a fairly clean install using the latest
ruby-1.9.2-p180.tar.gz and pkg-config-1.0.8.gem for my ruby distro

This electronic communication and any attachments may contain
confidential and proprietary
information of DigitalGlobe, Inc. If you are not the intended recipient,
or an agent or employee
responsible for delivering this communication to the intended recipient,
or if you have received
this communication in error, please do not print, copy, retransmit,
disseminate or
otherwise use the information. Please indicate to the sender that you
have received this
communication in error, and delete the copy you received. DigitalGlobe
reserves the
right to monitor any electronic communication sent or received by its
employees, agents
or representatives.

Ahh. I think I found the reason why.

This comes from
ruby-gnome2-all-0.90.8/glib2/lib/mkmf-gnome2.rb

This is used for the library which doesn’t support version info.

def make_version_header(app_name, pkgname, dir = “src”)
version = PKGConfig.modversion(pkgname).split(/./)
version = “2.0b7”.split(/./)
(0…2).each do |v|

What’s that 2.0b7 doing there?

It looks like this was introduced between mkmkf-gnome2.rb -r3967 -r4007

2011/3/16 Grant S. [email protected]:

Hi.

What’s that 2.0b7 doing there?

I guess it was written for testing purpose.
I have deleted it from svn repo.

Thanks for your report.

on new build

#define PANGO_MINOR_VERSION (28)

information of DigitalGlobe, Inc. If you are not the intended recipient, or
employees, agents
ruby-gnome2-devel-en mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en


Vincent C.

Hi,

I’m sorry for my late response because my mail domain’s mail
server is still down by the earhquake in Japan…

In A[email protected]domain.invalid
“Re: [ruby-gnome2-devel-en] invalid version of pango for 0.90.6
andlater on new build” on Wed, 16 Mar 2011 18:18:42 +0100,
Vincent C. [email protected] wrote:

What’s that 2.0b7 doing there?

I guess it was written for testing purpose.
I have deleted it from svn repo.

Yes. It’s my fault.
Thanks for fixing it!

Thanks for your report.

And thanks for reporting too!


kou

In the next coming months I hope to help out alot more. I just
“inhertited” a nice chunk of Ruby/GTK code. Something I will be stuck
with for awhile. I am more used to dealing with kernel’s and hardware
directly. this GUI stuff… hmm… human interaction? :>

But I love Ruby. And Gnome is basically the default GUI evironment on
computers these days. So I might as well get and learn it.


From: Kouhei S. [mailto:[email protected]]
Sent: Thu 3/17/2011 6:12 AM
To: [email protected]
Subject: Re: [ruby-gnome2-devel-en] invalid version of pango for 0.90.6
andlater on new build

What’s that 2.0b7 doing there?

I guess it was written for testing purpose.
I have deleted it from svn repo.

Yes. It’s my fault.
Thanks for fixing it!

Thanks for your report.

And thanks for reporting too!

This electronic communication and any attachments may contain
confidential and proprietary
information of DigitalGlobe, Inc. If you are not the intended recipient,
or an agent or employee
responsible for delivering this communication to the intended recipient,
or if you have received
this communication in error, please do not print, copy, retransmit,
disseminate or
otherwise use the information. Please indicate to the sender that you
have received this
communication in error, and delete the copy you received. DigitalGlobe
reserves the
right to monitor any electronic communication sent or received by its
employees, agents
or representatives.

Good to hear your there and ok. It was funny, at work(I am in US) I
overheard two different “cube units” talking about “I hope Matz is ok”
and also “what about the other guys that do…xyz”

Oh yes, and I was also wondering… is the power for
http://ruby-gnome2.sourceforge.jp/
Going to be stable?

Anyways, take care. Keep clear.

I had a dream last night that Sir Elton John was leading a party of
nuclear surviors through some canyon. That is a good sign right? … hmm

Sorry this has nothign to do with gnome2-devel. I just thought a little
shinny light would be good.


From: Kouhei S. [mailto:[email protected]]
Sent: Thu 3/17/2011 6:12 AM
To: [email protected]
Subject: Re: [ruby-gnome2-devel-en] invalid version of pango for 0.90.6
andlater on new build

Hi,

I’m sorry for my late response because my mail domain’s mail
server is still down by the earhquake in Japan…

This electronic communication and any attachments may contain
confidential and proprietary
information of DigitalGlobe, Inc. If you are not the intended recipient,
or an agent or employee
responsible for delivering this communication to the intended recipient,
or if you have received
this communication in error, please do not print, copy, retransmit,
disseminate or
otherwise use the information. Please indicate to the sender that you
have received this
communication in error, and delete the copy you received. DigitalGlobe
reserves the
right to monitor any electronic communication sent or received by its
employees, agents
or representatives.

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