Updated: jbigkit-1.2-3

Charles S. Wilson cwilson@ece.gatech.edu
Mon Oct 30 09:10:00 GMT 2000

The jbigkit package has been updated to version 1.0.8-2.  JBIG is a
lossless, bilevel image compression format with better compression than
TIFF-LZW (for bilevel images), and is patent-unencumbered. It is an
'official' standard image format -- ITU-T Recommendation T.82. (The JBIG
group is a sister organization to the more familiar JPEG group; see
http://www.jbig.org/ ) 


- dll is now called 'cygjbig1.dll' to avoid naming conflicts dlls from
other platforms. If you have an application that depends on libjbig.dll,
you must either recompile so that the app depends on cygjbig1.dll, or
take special steps to preserve libjbig.dll (see below).  Hopefully this
short-term inconvenience will reduce long-term difficulties.

- see this thread: "DLL naming flamefest"
http://www.cygwin.com/ml/cygwin/2000-10/msg01275.html for a detailed
discussion of the arguments for/against this renaming, and concerning
dll versioning.


To update your installation, click on the "Install Cygwin now" link on
the http://sources.redhat.com/cygwin web page.  This downloads setup.exe
to your system.

Since setup will uninstall the old version, if you want to preserve
/usr/bin/libjbig.dll, do:
   'cp /usr/bin/libjbig.dll /usr/bin/libjbig.dll.bak'
BEFORE continuing.  AFTER running setup.exe, do:
   'cp /usr/bin/libjbig.dll.bak /usr/bin/libjbig.dll'
(yes, I know this is obvious; I just wanted to emphasize that there is
no automated way of doing it)

Run setup and answer all of the questions.  PLEASE, PLEASE, PLEASE
choose a mirror site for your download.  The 'sources.redhat.com' site
is badly overloaded.  The mirrors below have the latest version of this

ftp://ftp.sunsite.utk.edu/pub/cygwin/ (US)
ftp://ftp.ntua.gr/pub/pc/cygwin/ (Greece)

The setup.exe program will figure out what needs to be updated on your
system and should install the less package automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at:  cygwin@sources.redhat.com .  I would appreciate if you
would use this mailing list rather than emailing me directly. This
includes ideas and comments about the setup utility or Cygwin general.

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.


If you want to unsubscribe to the cygwin-announce mailing list, look at
the "List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there.  It will be in the format:



o Building the package from source requires gcc-2.95.2-2 and
binutils-20000722-1 or later

o Includes two utilities for converting back-and-forth between jbig and
the uncompressed pbm format. The binary package includes dynamically
linked versions of these utilities, although the build process will make
both dynamically and statically linked versions.  

o Abides by the cygwin package system standard:
  - import-lib   /usr/lib/libjbig.dll.a
  - static-lib   /usr/lib/libjbig.a
  - stripped dll /usr/bin/cygjbig1.dll (**)
  - cygwin-specific docs in /usr/doc/Cygwin/jbigkit-1.2.README
  - generic docs in /usr/doc/jbigkit-1.2/*

(**) versioned dlls are the default; only extremely stable libraries
(like zlib) have unversioned dlls.

o A cygwin-specific README and PATCH are stored in the source archive,
under <top>/CYGWIN-PATCHES/* (although that patch has already been
applied to the archive itself). The cygwin-specific README is also
installed by the binary distribution as described above.

o If you are building a package that depends on jbigkit, and you wish to
link *statically*, define -DJBIG_STATIC to get the 'correct' #define's
in jbig.h when compiling the .o files in your package. Also, use 'gcc
-static' when linking your package.

o No special -Ddefine options or link options are needed when building a
package that depends on jbigkit and you want to link dynamically

Charles Wilson
jbigkit volunteer maintainer for cygwin

More information about the Cygwin-announce mailing list