Bug 7391

Summary: possible missing file (jpegint.h)
Product: Sisyphus Reporter: Alex Murygin <alex.murugin>
Component: libjpegAssignee: Sergey Bolshakov <sbolshakov>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: ldv, sbolshakov
Version: unstable   
Hardware: all   
OS: Linux   

Description Alex Murygin 2005-07-18 22:41:56 MSD
во время сборки новой версии feh вылазят следующие ошибки.
---
In file included from transupp.c:42:
/usr/include/jpeglib.h:1096:65: jpegint.h: No such file or directory
---

egrep jpegint.h /usr/include/jpeglib.h
#ifndef JPEG_INTERNALS          /* will be defined in jpegint.h */
 * Applications using the library should not include jpegint.h, but may wish
#include "jpegint.h"            /* fetch private declarations */
 
в jpegsrc.v6b.tar.bz2 в корне находится jpegint.h, после копирования его в
/usr/include/ все замечательно собирается.

Возможно про jpegint.h было забыто в install-headers?
Или это ошибка разработчика feh?
Спасибо.
Comment 1 Dmitry V. Levin 2005-07-23 00:20:33 MSD
В jpeglib.h написано:
/*
 * The JPEG library modules define JPEG_INTERNALS before including this file.
 * The internal structure declarations are read only when that is true.
 * Applications using the library should not include jpegint.h, but may wish
 * to include jerror.h.
 */

#ifdef JPEG_INTERNALS
#include "jpegint.h"            /* fetch private declarations */
#include "jerror.h"             /* fetch error codes too */
#endif

Таким образом, поскольку "Applications using the library should not include
jpegint.h", а feh - это и есть приложение, то непонятно, зачем ему этот файл.
Comment 2 Alex Murygin 2006-07-14 14:59:01 MSD
feh исправился и больше не требует чего ему не надо :)