[Kde-bindings] kdebindings and ruby-1.9
rmelton at ball.com
Fri Feb 5 18:51:30 UTC 2010
Won't work on Windows. Windows filenames are case-preserving but case-insensitive, so FindRuby.cmake and FindRUBY.cmake can't exist together in the same directory.
From: Alexander Neundorf [mailto:neundorf at kde.org]
Sent: Friday, February 05, 2010 11:45 AM
To: kde-buildsystem at kde.org
Cc: kde-bindings at kde.org
Subject: Re: [Kde-bindings] kdebindings and ruby-1.9
On Thursday 04 February 2010, Alexander Neundorf wrote:
> On Wednesday 03 February 2010, Yury G. Kudryashov wrote:
> > В сообщении от Среда 03 февраля 2010 21:41:01 автор Alexander Neundorf
> > написал:
> > > On Wednesday 03 February 2010, Yury G. Kudryashov wrote:
> > > > Hi!
> > > >
> > > > There are a few problems with kdebindings-4.3.98 and ruby-1.9p376.
> > > >
> > > > (a) ruby installs config.h into
> > > > /usr/include/ruby-1.9/x86_64-linux/ruby/config.h and includes it from
> > > > /usr/include/ruby-1.9/ruby/ruby.h, so
> > > > CONFIG["rubyhdrdir"]/CONFIG["arch"] must be also added to search
> > > > path.
> > > >
> > > > (b) The following header files do not exist:
> > > > env.h
> > > > rubysig.h (moved to ruby/backwards/rubysig.h)
> > > > node.h
> > > > version.h
> > > > st.h (moved to ruby/backwards/st.h)
> > >
> > > Yes.
> > > Does it work with the FindRuby.cmake shipping with cmake 2.8.0 ?
> > > Then we can simply sync the files (while keeping source compatibility
> > > on our side)
> > FindRuby from cmake-2.8.0 finds ruby-1.9 correctly so merging will solve
> > (a). I don't sure that the merge can be done in 100% compatible way
> > because RUBY_INCLUDE_PATH now contains two directories instead of one.
> Ok, I'll have a look in the next days.
Ok, I had a quick look.
We have a FindRUBY.cmake, CMake has a FindRuby.cmake (note the difference in
the upper/camel casing).
This mean, we could just add a copy of FindRuby.cmake to
kdelibs/cmake/modules/ and there would be no problem, only users
of "FindRuby.cmake" would get the new one.
Are there problems on Windows if we do this. having two files which differ
only in the casing in one directory ?
Kde-bindings mailing list
Kde-bindings at kde.org
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
More information about the Kde-bindings