Difference between revisions of "A2ps"
From CBLFS
Jump to navigationJump to search(7 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://ftp.gnu.org/gnu/a2ps/a2ps- | + | | http://ftp.gnu.org/gnu/a2ps/a2ps-{{A2ps-Version}}.tar.gz |
|- | |- | ||
!Download Font: | !Download Font: | ||
− | | ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts- | + | | ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-{{A2ps-i18n-Fonts-Version}}.tar.gz |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Package-Introduction|a2ps is a filter utilized mainly in the background and primarily by printing scripts to convert almost every input format into PostScript output. The application's name expands appropriately to "all to PostScript".|http://www.gnu.org/software/a2ps/}} | ||
== Dependencies == | == Dependencies == | ||
=== Optional === | === Optional === | ||
+ | * [[X Window System]] | ||
+ | * [[PSUtils]] | ||
+ | * [[TeTeX]] | ||
+ | * [[Ghostscript]] | ||
+ | * [[libpaper]] | ||
+ | * [[Ghostview]] | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 18: | Line 26: | ||
Compile the package: | Compile the package: | ||
+ | cp /usr/share/libtool/config.sub auxdir && | ||
+ | cp /usr/share/libtool/config.guess auxdir && | ||
sed -i "s|emacs||" contrib/Makefile.in && | sed -i "s|emacs||" contrib/Makefile.in && | ||
sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh && | sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh && | ||
sed -i "s|/usr/local/share|/usr/share|" configure && | sed -i "s|/usr/local/share|/usr/share|" configure && | ||
sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c && | sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c && | ||
− | ./configure --prefix=/usr --sysconfdir=/etc/a2ps --localstatedir=/var \ | + | ./configure --prefix=/usr \ |
− | + | --sysconfdir=/etc/a2ps --localstatedir=/var \ | |
+ | --enable-shared --with-medium=letter && | ||
make | make | ||
− | Install the package | + | Install the package: |
make install | make install | ||
− | Install the | + | Install the fonts: |
cp -v fonts/* /usr/share/a2ps/fonts && | cp -v fonts/* /usr/share/a2ps/fonts && | ||
Line 44: | Line 55: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc | + | cp /usr/share/libtool/config.sub auxdir && |
− | + | cp /usr/share/libtool/config.guess auxdir && | |
− | + | sed -i "s|emacs||" contrib/Makefile.in && | |
+ | sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh && | ||
+ | sed -i "s|/usr/local/share|/usr/share|" configure && | ||
+ | sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c && | ||
+ | CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | ||
+ | --enable-shared --with-medium=letter \ | ||
+ | --sysconfdir=/etc/a2ps --localstatedir=/var \ | ||
+ | --build=${CLFS_TARGET32} && | ||
make | make | ||
− | Install the package | + | Install the package: |
make install | make install | ||
Line 60: | Line 78: | ||
Compile the package: | Compile the package: | ||
− | + | cp /usr/share/libtool/config.sub auxdir && | |
− | cp /usr/share/libtool/config.sub | + | cp /usr/share/libtool/config.guess auxdir && |
− | cp /usr/share/libtool/config.guess | ||
sed -i "s|emacs||" contrib/Makefile.in && | sed -i "s|emacs||" contrib/Makefile.in && | ||
sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh && | sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh && | ||
sed -i "s|/usr/local/share|/usr/share|" configure && | sed -i "s|/usr/local/share|/usr/share|" configure && | ||
− | sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c | + | sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c && |
− | ./configure --prefix=/usr \ | + | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ |
− | + | --enable-shared --with-medium=letter \ | |
− | + | --sysconfdir=/etc/a2ps --localstatedir=/var \ | |
+ | --libdir=/usr/lib64 && | ||
make | make | ||
− | Install the package | + | Install the package: |
make install | make install | ||
− | Install the | + | Install the fonts: |
cp -v fonts/* /usr/share/a2ps/fonts && | cp -v fonts/* /usr/share/a2ps/fonts && | ||
Line 83: | Line 101: | ||
./make_fonts_map.sh && | ./make_fonts_map.sh && | ||
mv fonts.map.new fonts.map | mv fonts.map.new fonts.map | ||
+ | |||
+ | [[Category:PostScript]] |
Latest revision as of 17:59, 5 July 2008
Download Source: | http://ftp.gnu.org/gnu/a2ps/a2ps-4.13b.tar.gz |
---|---|
Download Font: | ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz |
Contents
Introduction to A2ps
a2ps is a filter utilized mainly in the background and primarily by printing scripts to convert almost every input format into PostScript output. The application's name expands appropriately to "all to PostScript".
Project Homepage: http://www.gnu.org/software/a2ps/
Dependencies
Optional
Non-Multilib
Compile the package:
cp /usr/share/libtool/config.sub auxdir && cp /usr/share/libtool/config.guess auxdir && sed -i "s|emacs||" contrib/Makefile.in && sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh && sed -i "s|/usr/local/share|/usr/share|" configure && sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c && ./configure --prefix=/usr \ --sysconfdir=/etc/a2ps --localstatedir=/var \ --enable-shared --with-medium=letter && make
Install the package:
make install
Install the fonts:
cp -v fonts/* /usr/share/a2ps/fonts && cp -v afm/* /usr/share/a2ps/afm && cd /usr/share/a2ps/afm && ./make_fonts_map.sh && mv fonts.map.new fonts.map
Multilib
32Bit
Compile the package:
cp /usr/share/libtool/config.sub auxdir && cp /usr/share/libtool/config.guess auxdir && sed -i "s|emacs||" contrib/Makefile.in && sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh && sed -i "s|/usr/local/share|/usr/share|" configure && sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c && CC="gcc ${BUILD32}" ./configure --prefix=/usr \ --enable-shared --with-medium=letter \ --sysconfdir=/etc/a2ps --localstatedir=/var \ --build=${CLFS_TARGET32} && make
Install the package:
make install
N32
TO DO!
64Bit
Compile the package:
cp /usr/share/libtool/config.sub auxdir && cp /usr/share/libtool/config.guess auxdir && sed -i "s|emacs||" contrib/Makefile.in && sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh && sed -i "s|/usr/local/share|/usr/share|" configure && sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c && CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --enable-shared --with-medium=letter \ --sysconfdir=/etc/a2ps --localstatedir=/var \ --libdir=/usr/lib64 && make
Install the package:
make install
Install the fonts:
cp -v fonts/* /usr/share/a2ps/fonts && cp -v afm/* /usr/share/a2ps/afm && cd /usr/share/a2ps/afm && ./make_fonts_map.sh && mv fonts.map.new fonts.map