This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Updated: jpeg-6b-3

The jpeg package has been updated to version 6b-3.  The jpeg package
contains the Idependent JPEG Group's libjpeg library and various utility
programs for manipulating jpeg files and images.

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

- see this thread: "DLL naming flamefest" 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 web page.  This downloads setup.exe
to your system.

Since setup will uninstall the old version, if you want to preserve
/usr/bin/libjpeg.dll, do:
   'cp /usr/bin/libjpeg.dll /usr/bin/libjpeg.dll.bak'
BEFORE continuing.  AFTER running setup.exe, do:
   'cp /usr/bin/libjpeg.dll.bak /usr/bin/libjpeg.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 '' site
is badly overloaded.  The mirrors below have the latest version of this
package: (US)
(Germany) (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: .  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 The semi-official 'lossless jpeg' patch is included in this build, and
is distributed as part of the source archive (see below). The lossless
jpeg patch is NOT related to the not-yet-ratified JPEG2000
specification. JPEG2000 is NOT supported by this package.

o Includes several utilities for manipulating jpeg files. 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/libjpeg.dll.a
  - static-lib   /usr/lib/libjpeg.a
  - stripped dll /usr/bin/cygjpeg6b.dll (**)
  - cygwin-specific docs in /usr/doc/Cygwin/jpeg-6b.README
  - generic docs in /usr/doc/jpeg-6b/*

(**) versioned dlls are the default; only extremely stable libraries
(like zlib) have unversioned dlls.  We use '6b' and not '6' because jpeg
changes its interface even between minor release (e.g. 6a was ABI
incompatible with 6b)

o A cygwin-specific README and PATCH are stored in the source archive,
under <top>/CYGWIN-PATCHES/*. The original ljpeg-6b.tar.gz (lossless
jpeg patch) is also stored under <top>/CYGWIN-PATCHES/*. Both patches
have 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 libjpeg, and you wish to
link *statically*, define -DJPEG_STATIC to get the 'correct' #define's
in jpeg.h (& friends) 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 libjpeg and you want to link dynamically

Charles Wilson
jpeg volunteer maintainer for cygwin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]