David R. Morrison wrote:
[]
>> On 8/25/06, Robert Stroud <[EMAIL PROTECTED]> wrote:
>>> Alexander,
>>>
>>> Clytie apparently needs gettext-0.15 but fink and darwin ports only
>>> have gettext-0.14 for some reason. 

During off-list exchanges with Clytie, I have made Fink packages for 
gettext version 0.15. I have put these now into my experimental cvs 
directory, so anyone brave enough can test them, but I am not suggesting 
any immediate upgrade for official Fink.

There are 3 files

gettext-tools.info
libgettext8-shlibs.info
libgettext8-shlibs.patch (which in fact is identical to the old 
libgettext3-shlibs.patch)

These produce the 7 packages

  gettext-bin     0.15-0
  gettext-doc     0.15-0
  gettext-tools   0.15-1
  libgettext8-dev 0.15-0
  libgettext8-shlibs      0.15-0
  libgettextpo2-dev       0.15-1
  libgettextpo2-shlibs    0.15-1

>>> However, gettext-0.15 seems to
>>> build fine on my machine, so how hard would it be to upgrade the
>>> existing gettext package descriptor used by fink to version 0.15? 

The modifications were rather trivial, I had to fix only one problem: 
gettext-tools-0.15 does not build when "sed" is Apple's /usr/bin/sed 
(Apple's sed eats a TAB character from some crazy sed script in 
examples/configure that they are using to patch one of their own 
Makefiles). It builds OK with Fink's GNU sed, but the Fink sed packages 
depend on gettext-tools, so gettext-tools cannot build-depend on sed... 
In the end, I just patched their patch.

[]
> The big problem with this particular upgrade is that the major  
> version number of the library has apparently changed (or perhaps its  
> just the build system that changed, and the library has been  
> renumbered).
> 
> In the context of OS X, this means that any package which depends on  
> libgettext3-shlibs can't simply be updated, because the new library  
> file will have a different name (a name containing the number "8"  
> rather than the number "3").
> 
> Eventually, folks can expect to see a libgettext8-shlibs package, and  
> a gradual transition from libgettext3 to libgettext8.

Although the installation of the new packages I made does not stop Fink 
from working, I don't know if, for example, the new gettext-tools and 
gettext-bin (which supersede the old ones but are not swappable) will 
work correctly with libgettext3-shlibs and all the packages that are 
built with the old libgettext3-shlibs. Peaceful coexistence is possible, 
but not yet proven.

Also the new libgettextpo.0.dylib has a higher compatibility version, so 
anything built against the new dylib will not work with the old one, and 
therefore there may be problems going back to libgettextpo2-shlibs 
version 0.14. I don't think this merits a name change for 
libgettextpo2-shlibs, though, since the install_name remains the same.

-- 
Martin





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to