Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334551 - New package: media-gfx/tif22pnm which can be used by eg. media-gfx/sam2p
Summary: New package: media-gfx/tif22pnm which can be used by eg. media-gfx/sam2p
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 11:57 UTC by Sven
Modified: 2012-03-02 18:06 UTC (History)
0 users

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


Attachments
tif22pnm-0.13.ebuild (tif22pnm-0.13.ebuild,529 bytes, text/plain)
2012-03-02 08:24 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven 2010-08-26 11:57:53 UTC
Hi,

during configure, there are complaints about missing dependencies:
tif22pnm and lzw_codec.

Furthermore, when sam2p is used to convert a png file, it complains about missing png22pnm.

Please install them along with sam2p or add them as dependencies.


Reproducible: Always

Steps to Reproduce:
Comment 1 Sven 2010-08-26 11:58:44 UTC
Forgot to mention, that I tested this with sam2p 0.47.
Comment 2 Timur 2010-09-06 07:21:26 UTC
I can confirm this bug.
And it looks like png22pnm not in portage.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-03-02 08:24:37 UTC
Created attachment 303951 [details]
tif22pnm-0.13.ebuild

This will need patch for...

http://code.google.com/p/sam2p/issues/detail?id=7

...as files/tif22pnm-0.13-libpng15.patch

I posted "half-baked" patch to the upstream ticket.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-03-02 17:48:13 UTC
Comment on attachment 303951 [details]
tif22pnm-0.13.ebuild

=media-gfx/tif22pnm-0.14 in portage
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-03-02 17:52:54 UTC
since tif22pnm is now in portage, I don't think changes to sam2p ebuild are necessary, as it doesn't include other drop-in runtime deps either...

also sam2p has internal lzw support which is enabled by default. not sure what this lzw_codec you are referring is from... but it certainly isn't necessary for sam2p right now.

then this is now solved:

# emerge tif22pnm
Comment 6 Sven 2012-03-02 18:06:38 UTC
Here's the output of sam2p's configure:

~/test/sam2p-0.49.1 $ ./configure 
checking for --enable-debug... assert
checking for --enable-lzw... yes
checking for --enable-zip... yes
checking for --enable-fax... yes
checking for --enable-gif... no
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -fsigned-char... yes
checking whether g++ accepts -fno-rtti -fno-exceptions... yes
checking whether g++ accepts -ansi -pedantic -Wall -W... yes
checking whether g++ accepts -felide-constructors -Wstrict-prototypes -Wpointer-arith -Wcast-align -Winline -Wcast-qual -Wmissing-prototypes... no
checking for ignored -W -Wall -Wnested-externs -Wbad-function-cast -Wmissing-declarations... yes
checking whether g++ accepts -Wnested-externs -Wbad-function-cast -Wmissing-declarations... (cached) no
checking whether gcc can link C++ code... no
checking for cjpeg... /usr/bin/cjpeg
checking for djpeg... /usr/bin/djpeg
checking for tif22pnm... no
configure: WARNING: tif22pnm would provide increased functionality to this program:
configure: WARNING: tif22pnm is required for loading TIFF files
checking for tifftopnm... /usr/bin/tifftopnm
checking for pngtopnm... /usr/bin/pngtopnm
checking for gs... /usr/bin/gs
checking for lzw_codec... no
configure: WARNING: lzw_codec would provide increased functionality to this program:
configure: WARNING: lzw_codec might become recommended for /Compression/LZW


I'm not sure, what that increased functionality is and where lzw_codec can be downloaded.