1edce3322SmrglibXpm - X Pixmap (XPM) image file format library
2edce3322Smrg-------------------------------------------------
3edce3322Smrg
4edce3322SmrgAll questions regarding this software should be directed at the
5edce3322SmrgXorg mailing list:
6edce3322Smrg
7edce3322Smrg  https://lists.x.org/mailman/listinfo/xorg
8edce3322Smrg
919569120SmrgThe primary development code repository can be found at:
10edce3322Smrg
11edce3322Smrg  https://gitlab.freedesktop.org/xorg/lib/libXpm
12edce3322Smrg
13edce3322SmrgPlease submit bug reports and requests to merge patches there.
14edce3322Smrg
15edce3322SmrgFor patch submission instructions, see:
16edce3322Smrg
17edce3322Smrg  https://www.x.org/wiki/Development/Documentation/SubmittingPatches
18edce3322Smrg
191c235774Smrg------------------------------------------------------------------------------
201c235774Smrg
211c235774SmrglibXpm supports two optional features to handle compressed pixmap files.
221c235774Smrg
231c235774Smrg--enable-open-zfile makes libXpm recognize file names ending in .Z and .gz
241c235774Smrgand open a pipe to the appropriate command to compress the file when writing
251c235774Smrgand uncompress the file when reading. This is enabled by default on platforms
261c235774Smrgother than MinGW and can be disabled by passing the --disable-open-zfile flag
271c235774Smrgto the configure script.
281c235774Smrg
291c235774Smrg--enable-stat-zfile make libXpm search for a file name with .Z or .gz added
301c235774Smrgif it can't find the file it was asked to open.  It relies on the
311c235774Smrg--enable-open-zfile feature to open the file, and is enabled by default
321c235774Smrgwhen --enable-open-zfile is enabled, and can be disabled by passing the
331c235774Smrg--disable-stat-zfile flag to the configure script.
341c235774Smrg
351c235774SmrgAll of these commands will be executed with whatever userid & privileges the
361c235774Smrgfunction is called with, relying on the caller to ensure the correct euid,
371c235774Smrgegid, etc. are set before calling.
381c235774Smrg
391c235774SmrgTo reduce risk, the paths to these commands are now set at configure time to
401c235774Smrgthe first version found in the PATH used to run configure, and do not depend
411c235774Smrgon the PATH environment variable set at runtime.
421c235774Smrg
431c235774SmrgTo specify paths to be used for these commands instead of searching $PATH, pass
441c235774Smrgthe XPM_PATH_COMPRESS, XPM_PATH_UNCOMPRESS, and XPM_PATH_GZIP
451c235774Smrgvariables to the configure command.
46