Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287923 - media-libs/jpeg-7 does not install jpegint.h
Summary: media-libs/jpeg-7 does not install jpegint.h
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 16:40 UTC by Plopmaster
Modified: 2009-10-06 22:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Plopmaster 2009-10-06 16:40:23 UTC
When compiling photomolo jpegint.h seems to be lacking.
It's supposes to be there because it's included by jpeglib.h, and I found it in the jpeg-7 tarball
So I presume jpegint.h is not installed by the ebuild.

Reproducible: Always
Comment 1 Rafał Mużyło 2009-10-06 17:12:19 UTC
You may consider this a duplicate (in a way) of bug 282765.
Short of it - NOTABUG.
Comment 2 Rafał Mużyło 2009-10-06 17:14:08 UTC
And if that photomolo is in the tree (doesn't seem that way),
it will be probably treated as an upstream bug.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-10-06 22:35:26 UTC
jpeglib.h:

<quote>
* Applications using the library should not include jpegint.h, but may wish
* to include jerror.h.
</quote>

It might get included by jpeglib.h if the external program sets #define JPEG_INTERNALS, this is wrong...

Instead it should include jerror.h by itself if required.

Closing.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-10-06 22:54:28 UTC
Found photomolo from Freshmeat, with this patch it will build without jpegint.h.

--- photomolo-1.3.orig/exifiron.c       2008-12-29 13:20:42.000000000 +0200
+++ photomolo-1.3/exifiron.c    2009-10-07 01:51:50.000000000 +0300
@@ -78,11 +78,6 @@

 #define EXIFIRON_VERSION "exifiron 1.3"

-/* Although this file really should not have access to the library internals,
- * it is helpful to let it call jround_up () and jcopy_block_row ().
- */
-#define JPEG_INTERNALS
-
 #include "jpeglib.h"
 #include "jerror.h"