Difference between revisions of "Netpbm"
From CBLFS
Jump to navigationJump to search (creation) |
(vanity) |
||
Line 64: | Line 64: | ||
== Multilib == | == Multilib == | ||
− | === 32Bit === (The following needs to be refined... specifically the INTTYPES_H var) | + | === 32Bit === |
+ | |||
+ | (The following needs to be refined... specifically the INTTYPES_H var) | ||
Compile the package: | Compile the package: | ||
Line 89: | Line 91: | ||
./installnetpbm | ./installnetpbm | ||
− | === 64Bit === (The following needs to be refined... specifically the INTTYPES_H var) | + | === 64Bit === |
+ | |||
+ | (The following needs to be refined... specifically the INTTYPES_H var) | ||
Compile the package: | Compile the package: | ||
Line 114: | Line 118: | ||
./installnetpbm | ./installnetpbm | ||
− | == Configuring == | + | == Configuring == |
+ | (The following needs to be refined...) | ||
− | == Contents == (The following needs to be refined...) | + | == Contents == |
+ | |||
+ | (The following needs to be refined...) | ||
{| style="text-align: left;" | {| style="text-align: left;" | ||
Line 132: | Line 139: | ||
|} | |} | ||
− | === Short Descriptions === (The following needs to be refined...) | + | === Short Descriptions === |
+ | |||
+ | (The following needs to be refined...) | ||
{| style="text-align: left;" | {| style="text-align: left;" |
Revision as of 17:23, 7 June 2007
Download Source: | http://prdownloads.sourceforge.net/sourceforge/netpbm/netpbm-10.26.42.tgz |
---|
Contents
Introduction to Netpbm
Netpbm is a toolkit comprised of over 220 tools for manipulating graphics, including conversion of images between a variety of different formats.
Project Homepage: http://netpbm.sourceforge.net/
Dependencies
This package is highly modulular; the dependencies vary. There are newer versions of netpbm available; this is the considered the stable version
Required
- libjpeg
- svgalib (version 1.9.25+) ...enjoy the build...
- pkg-config
Recommended
Optional
Configuration Information
make --keep-going: Usefull if the build fails on an unecessary tool. |
Non-Multilib
Compile the package:
cp Makefile.config{.in,} && sed -i 's@TIFFLIB \= NONE@TIFFLIB \= libtiff\.so@g' Makefile.config && sed -i 's@TIFFHDR_DIR \=@TIFFHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@JPEGLIB \= NONE@JPEGLIB \= libjpeg\.so@g' Makefile.config && sed -i 's@JPEGHDR_DIR \=@JPEGHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@PNGLIB \= NONE@PNGLIB \= libpng\.so@g' Makefile.config && sed -i 's@PNGHDR_DIR \=@PNGHDR_DIR \= \`pkg\-config \-\-variable\=includedir libpng\`@g' Makefile.config && sed -i 's@ZLIB \= NONE@ZLIB \= libz\.so@g' Makefile.config && sed -i 's@ZHDR_DIR \=@ZHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@LINUXSVGALIB \= NONE@LINUXSVGALIB \= libvga\.so @g' Makefile.config && sed -i 's@LINUXSVGAHDR_DIR \=@LINUXSVGAHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@OMIT_NETWORK \=@OMIT_NETWORK \= Y@g' Makefile.config && sed -i 's@STATICLIB_TOO \= y@STATICLIB_TOO \= n@g' Makefile.config && sed -i 's@NETPBM_DOCURL \= http\://netpbm\.sourceforge\.net/doc/@NETPBM_DOCURL \= file:/usr/share/doc/netpbm/@g' Makefile.config && make && make package
Install the package:
./installnetpbm
Multilib
32Bit
(The following needs to be refined... specifically the INTTYPES_H var)
Compile the package:
cp Makefile.config{.in,} && sed -i 's@TIFFLIB \= NONE@TIFFLIB \= libtiff\.so@g' Makefile.config && sed -i 's@TIFFHDR_DIR \=@TIFFHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@JPEGLIB \= NONE@JPEGLIB \= libjpeg\.so@g' Makefile.config && sed -i 's@JPEGHDR_DIR \=@JPEGHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@PNGLIB \= NONE@PNGLIB \= libpng\.so@g' Makefile.config && sed -i 's@PNGHDR_DIR \=@PNGHDR_DIR \= \`pkg\-config \-\-variable\=includedir libpng\`@g' Makefile.config && sed -i 's@ZLIB \= NONE@ZLIB \= libz\.so@g' Makefile.config && sed -i 's@ZHDR_DIR \=@ZHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@LINUXSVGALIB \= NONE@LINUXSVGALIB \= libvga\.so @g' Makefile.config && sed -i 's@LINUXSVGAHDR_DIR \=@LINUXSVGAHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@OMIT_NETWORK \=@OMIT_NETWORK \= Y@g' Makefile.config && sed -i 's@STATICLIB_TOO \= y@STATICLIB_TOO \= n@g' Makefile.config && sed -i 's@NETPBM_DOCURL \= http\://netpbm\.sourceforge\.net/doc/@NETPBM_DOCURL \= file:/usr/share/doc/netpbm/@g' Makefile.config && make && make package
Install the package:
./installnetpbm
64Bit
(The following needs to be refined... specifically the INTTYPES_H var)
Compile the package:
cp Makefile.config{.in,} && sed -i 's@TIFFLIB \= NONE@TIFFLIB \= libtiff\.so@g' Makefile.config && sed -i 's@TIFFHDR_DIR \=@TIFFHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@JPEGLIB \= NONE@JPEGLIB \= libjpeg\.so@g' Makefile.config && sed -i 's@JPEGHDR_DIR \=@JPEGHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@PNGLIB \= NONE@PNGLIB \= libpng\.so@g' Makefile.config && sed -i 's@PNGHDR_DIR \=@PNGHDR_DIR \= \`pkg\-config \-\-variable\=includedir libpng\`@g' Makefile.config && sed -i 's@ZLIB \= NONE@ZLIB \= libz\.so@g' Makefile.config && sed -i 's@ZHDR_DIR \=@ZHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@LINUXSVGALIB \= NONE@LINUXSVGALIB \= libvga\.so @g' Makefile.config && sed -i 's@LINUXSVGAHDR_DIR \=@LINUXSVGAHDR_DIR \= /usr/include@g' Makefile.config && sed -i 's@OMIT_NETWORK \=@OMIT_NETWORK \= Y@g' Makefile.config && sed -i 's@STATICLIB_TOO \= y@STATICLIB_TOO \= n@g' Makefile.config && sed -i 's@NETPBM_DOCURL \= http\://netpbm\.sourceforge\.net/doc/@NETPBM_DOCURL \= file:/usr/share/doc/netpbm/@g' Makefile.config && make && make package
Install the package:
./installnetpbm
Configuring
(The following needs to be refined...)
Contents
(The following needs to be refined...)
Installed Directories: | /path/to/dir |
---|---|
Installed Programs: | Program 1, Program 2 |
Installed Libraries: | library1.{a,so}, library2.{a,so} |
Short Descriptions
(The following needs to be refined...)
Program 1 | is a program that converts pennies to dollars. |
---|---|
Program 2 | is a program that converts dollars to pennies. |
library1.{so,a} | is a library that contains functions necessary to convert from dollars to pennies and vice versa. |