I386-mingw32-libunicows version 1.1.1 - How to Download and Install on Mac OS X
Saturday the 21st of November, 2009

    i386-mingw32-libunicows  most recent diff


    version 1.1.1

      View the most recent changes for the i386-mingw32-libunicows port at: i386-mingw32-libunicows.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for i386-mingw32-libunicows.
      The raw portfile for i386-mingw32-libunicows 1.1.1 is located here:
      http://i386-mingw32-libunicows.darwinports.com/dports/cross/i386-mingw32-libunicows/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/i386-mingw32-libunicows


      The i386-mingw32-libunicows Portfile 50980 2009-05-14 19:41:55Z and.damore macports.org $

      PortSystem 1.0

      Name: i386-mingw32-libunicows
      Version: 1.1.1
      Category: cross devel
      Platform: darwin
      Maintainers: afb openmaintainer
      Description: makes writing Unicode-enabled applications for Win 9x a bit easier
      Long Description: Traditionally, win32 Unicode API was only available on Windows NT or 2000. If you wanted to take advantage of Unicode in your application and support Windows 95/98 at the same time, your only option was to deploy two executables, one for NT and one for 9X. Fortunately, this changed in 2001 when MS (finally!) released MSLU runtime that allows Unicode applications to run under Windows 9X. Less fortunately, this solution requires that you use a special statically linked import library that decides at runtime whether to load symbols from system libraries like kernel32.dll or user32.dll (in case of Windows NT) or from unicows.dll (which provides Unicode emulation layer under 9X). This import library is only available for Microsoft Visual C++ and is only part of the new Platform SDK, which is rather huge package. libunicows contains independent implementation of the import library. For a free runtime DLL, take a look at http://opencow.sourceforge.net/

      Homepage: http://libunicows.sourceforge.net/
      Master Sites: sourceforge:libunicows
      distfiles libunicows-${version}-src.tar.gz
      #libunicows-${version}-mingw32.zip # (binary)

      Checksums: libunicows-${version}-src.tar.gz md5 e321b0fd4d0a50fcc83fd66dbed67ce1 libunicows-${version}-src.tar.gz sha1 7ad79f37e6c7c645cc002507af9bf22a5b8389c6 libunicows-${version}-src.tar.gz rmd160 0ce07693aceaa1c9b9d333666b8154c408331499
      depends_build port:nasm port:i386-mingw32-gcc port:i386-mingw32-binutils

      set worksrcdir libunicows-${version}/src
      post-extract {
      reinplace "s/= gcc/= i386-mingw32-gcc/" ${worksrcpath}/makefile.mingw32
      reinplace "s/= ld/= i386-mingw32-ld/" ${worksrcpath}/makefile.mingw32
      reinplace "s/= ranlib/= i386-mingw32-ranlib/" ${worksrcpath}/makefile.mingw32
      reinplace "s/= ar/= i386-mingw32-ar/" ${worksrcpath}/makefile.mingw32
      reinplace "s/= strip/= i386-mingw32-strip/" ${worksrcpath}/makefile.mingw32
      }

      configure {}
      post-configure {
      xinstall -d ${worksrcpath}/build/mingw32
      xinstall -d ${worksrcpath}/../lib/mingw32
      }

      build.cmd make -f makefile.mingw32

      destroot {}
      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/i386-mingw32/lib
      xinstall -m 644 ${workpath}/libunicows-${version}/lib/mingw32/libunicows.a ${destroot}${prefix}/i386-mingw32/lib

      xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 ${workpath}/libunicows-${version}/docs/license.txt ${workpath}/libunicows-${version}/docs/readme.txt ${destroot}${prefix}/share/doc/${name}
      }

      # ${prefix}/i386-mingw32 is outside mtree
      destroot.violate_mtree yes


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/i386-mingw32-libunicows
      % sudo port install i386-mingw32-libunicows
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching i386-mingw32-libunicows
      ---> Verifying checksum for i386-mingw32-libunicows
      ---> Extracting i386-mingw32-libunicows
      ---> Configuring i386-mingw32-libunicows
      ---> Building i386-mingw32-libunicows with target all
      ---> Staging i386-mingw32-libunicows into destroot
      ---> Installing i386-mingw32-libunicows
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using i386-mingw32-libunicows with these commands:
      %  man i386-mingw32-libunicows
      % apropos i386-mingw32-libunicows
      % which i386-mingw32-libunicows
      % locate i386-mingw32-libunicows

     Where to find more information:

    Darwin Ports



    Lightbox this page.