From: Jakub Bogusz Date: Mon, 12 Jun 2023 16:39:48 +0000 (+0200) Subject: - updated to 4.15.4; devel part is gone (no longer installed) X-Git-Tag: auto/th/a2ps-4.15.4-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fa2ps.git;a=commitdiff_plain;h=938b2c3a24c665cb1d60b83d7a6081bf963d34aa - updated to 4.15.4; devel part is gone (no longer installed) --- diff --git a/a2ps-atan2.patch b/a2ps-atan2.patch deleted file mode 100644 index 1fbd46e..0000000 --- a/a2ps-atan2.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a2ps-4.14.orig/lib/Makefile.in 2008-11-02 03:28:37.000000000 +0100 -+++ a2ps-4.14/lib/Makefile.in 2008-11-04 15:46:34.000000000 +0100 -@@ -322,7 +322,7 @@ - # Use a struct, handle duplicates, produce ANSI-C - GPERFFLAGS = -t -D -L ANSI-C - BUILT_SOURCES = parseppd.c parseppd.h liba2ps.h confg.c --liba2ps_la_LIBADD = @LTALLOCA@ @LTLIBOBJS@ -+liba2ps_la_LIBADD = -lm @LTALLOCA@ @LTLIBOBJS@ - liba2ps_la_LDFLAGS = -version-info @LIBVERSION@ - liba2psheaders = encoding.h media.h jobs.h output.h \ - routines.h psgen.h prolog.h faces.h confg.h useropt.h \ diff --git a/a2ps-autoenc.patch b/a2ps-autoenc.patch index 674501a..3b5241b 100644 --- a/a2ps-autoenc.patch +++ b/a2ps-autoenc.patch @@ -1,40 +1,38 @@ ---- a2ps-4.13.rh/src/main.c Fri Feb 23 17:39:02 2001 -+++ a2ps-4.13.euc/src/main.c Fri Feb 23 23:07:40 2001 -@@ -31,6 +31,8 @@ - /* */ - /************************************************************************/ - #include +--- a2ps-4.15.4/src/main.c.orig 2023-06-11 20:01:18.534593494 +0200 ++++ a2ps-4.15.4/src/main.c 2023-06-11 20:02:16.417613248 +0200 +@@ -25,6 +25,7 @@ + #include + + #include +#include -+#include + #include #include "a2ps.h" - #include "argmatch.h" -@@ -925,6 +927,7 @@ +@@ -917,6 +918,7 @@ int main (int argc, char *argv[]) { int argn; + char *locale; - /* Architecture specific initialization. */ - #ifdef __EMX__ -@@ -947,6 +950,9 @@ + /* Name under which this program was called. */ + program_name = base_name (argv[0]); +@@ -928,6 +930,8 @@ main (int argc, char *argv[]) setlocale (LC_CTYPE, ""); setlocale (LC_PAPER, ""); + locale = setlocale (LC_ALL, ""); -+ /* fprintf(stderr, "locale : %s\n", locale); */ + bindtextdomain (PACKAGE, LOCALEDIR); + bindtextdomain (PACKAGE "-gnulib", LOCALEDIR); textdomain (PACKAGE); - -@@ -1013,6 +1019,10 @@ - yet read sheets. */ +@@ -988,6 +992,10 @@ main (int argc, char *argv[]) sheets_map = sheets_map_new (); style_sheets = new_style_sheets (); -+ + + /* Process special case: Japanese Document */ + if ((locale != NULL) && ! strncmp (locale, "ja", 2) ) + job->requested_encoding_name = xstrdup ("euc-jp"); - ++ /* Process the command line options. */ argn = a2ps_handle_options (job, argc, argv); + switch (behavior) { diff --git a/a2ps-conf.patch b/a2ps-conf.patch index 6ff3ac3..0407f1d 100644 --- a/a2ps-conf.patch +++ b/a2ps-conf.patch @@ -1,7 +1,7 @@ ---- a2ps-4.13/configure.orig Wed Mar 8 18:43:57 2000 -+++ a2ps-4.13/configure Wed Jun 27 14:58:26 2001 -@@ -8447,14 +8447,9 @@ - echo "configure:8448: checking for PostScript fonts path" 1>&5 +--- a2ps-4.15.4/configure.ac.orig 2023-06-11 19:54:15.800216976 +0200 ++++ a2ps-4.15.4/configure.ac 2023-06-11 19:54:18.423536097 +0200 +@@ -152,20 +152,9 @@ AM_CONDITIONAL(EXTENSIONS, test x$enable + AC_MSG_CHECKING(for PostScript fonts path) # Try to find some PostScript fonts. # Find out if ghostscript is installed -ac_psfont_path= @@ -12,9 +12,14 @@ - ac_psfont_path="$ac_psfont_path:$ac_dir"; - fi -done -+# for ac_dir in /usr/local/ghostscript/fonts \ -+# /usr/local/share/ghostscript/fonts; -+ac_psfont_path="/usr/share/fonts/Type1:/usr/share/fonts/Type1/afm:/usr/share/fonts/default/Type1:/usr/share/fonts/default/ghostscript:/usr/share/fonts/afms/adobe:/usr/share/fonts/ISO8859-2/Type1/afm" - if test -n "$ac_psfont_path"; then - PSFONT_PATH=`echo "$ac_psfont_path" | sed -e 's/^://'` - fi +-dnl # Remove the leading `:' +-if test -n "$ac_psfont_path"; then +- PSFONT_PATH=`echo "$ac_psfont_path" | sed -e 's/^://'` +-fi ++PSFONT_PATH="/usr/share/fonts/Type1:/usr/share/fonts/Type1/afm:/usr/share/fonts/default/Type1:/usr/share/fonts/default/ghostscript:/usr/share/fonts/afms/adobe:/usr/share/fonts/ISO8859-2/Type1/afm" + AC_SUBST(PSFONT_PATH) +-AC_MSG_RESULT([$ac_psfont_path]) ++AC_MSG_RESULT([$PSFONT_PATH]) + + ## ---------------------------------------------------------- ## + ## Write a first sketch of a2ps.cfg. The user should check. ## diff --git a/a2ps-etc.patch b/a2ps-etc.patch index 0af364c..e9d1f4f 100644 --- a/a2ps-etc.patch +++ b/a2ps-etc.patch @@ -1,15 +1,13 @@ ---- a2ps-4.13/etc/Makefile.in.etc Wed Feb 9 09:32:55 2000 -+++ a2ps-4.13/etc/Makefile.in Thu Apr 27 22:45:03 2000 -@@ -297,7 +297,9 @@ +--- a2ps-4.15.4/etc/Makefile.am.orig 2022-08-05 15:15:08.000000000 +0200 ++++ a2ps-4.15.4/etc/Makefile.am 2023-06-11 19:43:05.997178943 +0200 +@@ -55,7 +55,7 @@ DISTCLEANFILES = a2ps.cfg README # Building the correct a2ps.cfg a2ps.cfg: a2ps_cfg Makefile - sed "s!@libpath@!$(libpath)!" a2ps_cfg > a2ps.cfg -+ sed -e "s!@libpath@!$(libpath)!" \ -+ -e "s!@apppath@!$(PSFONT_PATH)!" \ -+ a2ps_cfg > a2ps.cfg ++ sed -e "s!@libpath@!$(libpath)!" -e "s!@apppath@!$(PSFONT_PATH)!" a2ps_cfg > a2ps.cfg - # Building a time stamp to know the version. + # Building a timestamp to know the version. README: README.in Makefile --- a2ps-4.13/etc/a2ps_cfg.in.etc Tue Feb 8 03:24:03 2000 +++ a2ps-4.13/etc/a2ps_cfg.in Thu Apr 27 20:49:04 2000 diff --git a/a2ps-flex.patch b/a2ps-flex.patch deleted file mode 100644 index c79a8ae..0000000 --- a/a2ps-flex.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Naur a2ps-4.14.orig/lib/Makefile.in a2ps-4.14/lib/Makefile.in ---- a2ps-4.14.orig/lib/Makefile.in 2008-11-02 03:28:37.000000000 +0100 -+++ a2ps-4.14/lib/Makefile.in 2008-11-02 03:21:01.000000000 +0100 -@@ -198,7 +198,7 @@ - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ - INTLLIBS = @INTLLIBS@ - LDFLAGS = @LDFLAGS@ --LEX = @LEX@ -+LEX = @LEX@ -CFe - LEXLIB = @LEXLIB@ - LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ - LIBICONV = @LIBICONV@ -diff -Naur a2ps-4.14.orig/Makefile.in a2ps-4.14/Makefile.in ---- a2ps-4.14.orig/Makefile.in 2008-11-02 03:28:37.000000000 +0100 -+++ a2ps-4.14/Makefile.in 2008-11-02 03:25:17.000000000 +0100 -@@ -161,7 +161,7 @@ - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ - INTLLIBS = @INTLLIBS@ - LDFLAGS = @LDFLAGS@ --LEX = @LEX@ -+LEX = @LEX@ -CFe - LEXLIB = @LEXLIB@ - LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ - LIBICONV = @LIBICONV@ -diff -Naur a2ps-4.14.orig/src/Makefile.in a2ps-4.14/src/Makefile.in ---- a2ps-4.14.orig/src/Makefile.in 2008-11-02 03:28:37.000000000 +0100 -+++ a2ps-4.14/src/Makefile.in 2008-11-02 03:22:15.000000000 +0100 -@@ -174,7 +174,7 @@ - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ - INTLLIBS = @INTLLIBS@ - LDFLAGS = @LDFLAGS@ --LEX = @LEX@ -+LEX = @LEX@ -CFe - LEXLIB = @LEXLIB@ - LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ - LIBICONV = @LIBICONV@ diff --git a/a2ps-glibcpaper.patch b/a2ps-glibcpaper.patch index fdbe196..87b4085 100644 --- a/a2ps-glibcpaper.patch +++ b/a2ps-glibcpaper.patch @@ -1,25 +1,25 @@ ---- a2ps-4.13/lib/jobs.c.glibcpaper Sat Jan 15 18:15:07 2000 -+++ a2ps-4.13/lib/jobs.c Tue Feb 20 18:44:48 2001 -@@ -138,6 +138,7 @@ +--- a2ps-4.15.4/liba2ps/jobs.c.orig 2023-06-11 19:59:27.481861785 +0200 ++++ a2ps-4.15.4/liba2ps/jobs.c 2023-06-11 19:59:52.208394496 +0200 +@@ -119,6 +119,7 @@ a2ps_job_new (void) + setlocale (LC_TIME, ""); setlocale (LC_MESSAGES, ""); - #endif setlocale (LC_CTYPE, ""); + setlocale (LC_PAPER, ""); bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); ---- a2ps-4.13/lib/options.c.glibcpaper Tue Aug 31 13:42:41 1999 -+++ a2ps-4.13/lib/options.c Tue Feb 20 18:44:48 2001 -@@ -54,6 +54,8 @@ - #include "argv.h" - #include "quotearg.h" - #include "filalign.h" + bindtextdomain (PACKAGE "-gnulib", LOCALEDIR); +--- a2ps-4.15.4/liba2ps/options.c.orig 2023-04-12 20:50:51.000000000 +0200 ++++ a2ps-4.15.4/liba2ps/options.c 2023-06-11 20:00:19.368247359 +0200 +@@ -23,6 +23,8 @@ + /* */ + /************************************************************************/ + #include +#include +#include - #define MAN_LINES 66 /* no lines for a man */ - extern char *program_name; -@@ -281,7 +283,8 @@ + #include "a2ps.h" + #include "routines.h" +@@ -267,7 +269,8 @@ a2ps_handle_options (a2ps_job * job, int struct opt_optarg *opt_optarg_head = NULL; struct opt_optarg *opt_optarg = NULL; int res; @@ -29,7 +29,7 @@ /* Reset optind so that getopt is reinitialized. */ optind = 0; -@@ -545,7 +548,14 @@ +@@ -515,7 +518,14 @@ a2ps_handle_options (a2ps_job * job, int break; case 'M': /* select a medium */ @@ -45,13 +45,13 @@ break; case 'n': /* n copies */ ---- a2ps-4.13/src/main.c.glibcpaper Wed Jan 26 19:29:15 2000 -+++ a2ps-4.13/src/main.c Tue Feb 20 18:45:18 2001 -@@ -945,6 +945,7 @@ +--- a2ps-4.15.4/src/main.c.orig 2023-06-11 20:00:41.568127092 +0200 ++++ a2ps-4.15.4/src/main.c 2023-06-11 20:01:05.021333368 +0200 +@@ -926,6 +926,7 @@ main (int argc, char *argv[]) + setlocale (LC_TIME, ""); setlocale (LC_MESSAGES, ""); - #endif setlocale (LC_CTYPE, ""); + setlocale (LC_PAPER, ""); bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); + bindtextdomain (PACKAGE "-gnulib", LOCALEDIR); diff --git a/a2ps-i18n.patch b/a2ps-i18n.patch index 4dc53ef..c4ee1b5 100644 --- a/a2ps-i18n.patch +++ b/a2ps-i18n.patch @@ -1,27 +1,25 @@ -diff -urN a2ps-4.13.orig/lib/jobs.c a2ps-4.13/lib/jobs.c ---- a2ps-4.13.orig/lib/jobs.c Sat Jun 23 16:00:37 2001 -+++ a2ps-4.13/lib/jobs.c Sat Jun 23 16:45:39 2001 -@@ -139,6 +139,10 @@ - #endif +--- a2ps-4.15.4/liba2ps/jobs.c.orig 2023-06-11 20:24:17.030458874 +0200 ++++ a2ps-4.15.4/liba2ps/jobs.c 2023-06-11 20:25:12.540158152 +0200 +@@ -120,6 +120,10 @@ a2ps_job_new (void) + setlocale (LC_MESSAGES, ""); setlocale (LC_CTYPE, ""); setlocale (LC_PAPER, ""); + /* Make sure dot will be used to separate fractional part of numbers. -+ * In some other locales (polish, for example) comma is used, but this ++ * In some other locales (Polish, for example) comma is used, but this + * is violation of PostScript. */ + setlocale(LC_NUMERIC, "C"); bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); -diff -urN a2ps-4.13.orig/lib/output.c a2ps-4.13/lib/output.c ---- a2ps-4.13.orig/lib/output.c Tue Aug 31 19:42:41 1999 -+++ a2ps-4.13/lib/output.c Sat Jun 23 16:45:11 2001 + bindtextdomain (PACKAGE "-gnulib", LOCALEDIR); +--- a2ps-4.15.4.orig/liba2ps/output.c Tue Aug 31 19:42:41 1999 ++++ a2ps-4.15.4/liba2ps/output.c Sat Jun 23 16:45:11 2001 @@ -619,9 +619,17 @@ { /* Open the destination */ a2ps_open_output_stream (job); + + /* Make sure dot will be used to separate fractional part of numbers. -+ * In some other locales (polish, for example) comma is used, but this ++ * In some other locales (Polish, for example) comma is used, but this + * is violation of PostScript. */ + setlocale(LC_NUMERIC, "C"); diff --git a/a2ps-info.patch b/a2ps-info.patch index ce03d63..31efe73 100644 --- a/a2ps-info.patch +++ b/a2ps-info.patch @@ -1,25 +1,9 @@ -diff -Nru a2ps-4.12h/doc/a2ps.texi a2ps-4.12h.new/doc/a2ps.texi ---- a2ps-4.12h/doc/a2ps.texi Sat Dec 18 11:13:33 1999 -+++ a2ps-4.12h.new/doc/a2ps.texi Sat Dec 18 11:12:41 1999 -@@ -22,12 +22,12 @@ - @c `a2ps'. Avoid those quotes. - @iftex - @macro pack --@code{@value{PACKAGE}}@c -+@code{@value{PACKAGE}} - @end macro - @end iftex - @ifnottex - @macro pack --@value{PACKAGE}@c -+@value{PACKAGE} +--- a2ps-4.15.4/doc/a2ps.texi.orig 2023-06-11 19:15:01.649637170 +0200 ++++ a2ps-4.15.4/doc/a2ps.texi 2023-06-11 19:31:07.204406311 +0200 +@@ -44,14 +44,14 @@ @end macro @end ifnottex -@@ -59,16 +59,16 @@ - @TeX{}Script - @end macro - -@dircategory Printing Tools +@dircategory Printing Tools: @direntry @@ -27,27 +11,22 @@ diff -Nru a2ps-4.12h/doc/a2ps.texi a2ps-4.12h.new/doc/a2ps.texi -* PreScript: (a2ps) PreScript. Input language for a2ps -* card: (a2ps) card. Print Reference Cards -* fixps: (a2ps) fixps. Fixing Some Ill Designed PostScript Files --* fixnt: (a2ps) fixnt. Fixing Microsoft NT PostScript Files -* pdiff: (a2ps) pdiff. Produce Pretty Comparison of Files --* psmandup: (a2ps) psmandup. Printing Duplex on Simplex Printers --* psset: (a2ps) psset. Inserting calls to setpagedevice +-* lp2: (a2ps) lp2. Printing Duplex on Simplex Printers +* a2ps: (a2ps). PostScript Generating Utility ++* PreScript: (a2ps)PreScript. Input language for a2ps +* card: (a2ps)card. Print Reference Cards +* fixps: (a2ps)fixps. Fixing Some Ill Designed PostScript Files -+* fixnt: (a2ps)fixnt. Fixing Microsoft NT PostScript Files +* pdiff: (a2ps)pdiff. Produce Pretty Comparison of Files -+* psmandup: (a2ps)psmandup. Printing Duplex on Simplex Printers -+* PreScript: (a2ps)PreScript. Input language for a2ps -+* psset: (a2ps)psset. Inserting calls to setpagedevice ++* lp2: (a2ps)lp2. Printing Duplex on Simplex Printers @end direntry @ifinfo -diff -Nru a2ps-4.12h/ogonkify/doc/ogonkify.texi a2ps-4.12h.new/ogonkify/doc/ogonkify.texi ---- a2ps-4.12h/ogonkify/doc/ogonkify.texi Sat Dec 18 11:13:33 1999 -+++ a2ps-4.12h.new/ogonkify/doc/ogonkify.texi Sat Dec 18 11:14:20 1999 +--- a2ps-4.15.4/ogonkify/doc/ogonkify.texi.orig 2023-06-11 19:32:06.390752338 +0200 ++++ a2ps-4.15.4/ogonkify/doc/ogonkify.texi 2023-06-11 19:33:05.387099394 +0200 @@ -7,9 +7,9 @@ - @c Time-stamp: <99/05/14 04:30:20 jec> + @c Time-stamp: <2022-08-05 12:22:24 rrt> -@dircategory Printing Tools +@dircategory Printing Tools: diff --git a/a2ps-locale-names.patch b/a2ps-locale-names.patch deleted file mode 100644 index 0888865..0000000 --- a/a2ps-locale-names.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a2ps-4.13/configure.orig 2004-05-17 23:00:17.729586000 +0200 -+++ a2ps-4.13/configure 2004-05-17 23:01:55.255760712 +0200 -@@ -900,7 +900,7 @@ - EOF - - # Available translations --ALL_LINGUAS="ca cs da de es fr it ja ko nl no pl pt ru sl sv tr" -+ALL_LINGUAS="ca cs da de es fr it ja ko nl nb pl pt ru sl sv tr" - - ## --------------------- ## - ## Checks for programs. ## diff --git a/a2ps-pl.po-update.patch b/a2ps-pl.po-update.patch deleted file mode 100644 index 8db714f..0000000 --- a/a2ps-pl.po-update.patch +++ /dev/null @@ -1,1083 +0,0 @@ ---- a2ps-4.14/po/pl.po.orig 2007-12-29 04:28:56.000000000 +0100 -+++ a2ps-4.14/po/pl.po 2008-11-06 17:13:13.141547894 +0100 -@@ -1,13 +1,14 @@ - # Polskie komunikaty dla a2ps - # Copyright (C) 1997, 1998 by Juliusz Chroboczek -+# Jakub Bogusz , 2003-2008 - msgid "" - msgstr "" --"Project-Id-Version: a2ps 4.10\n" -+"Project-Id-Version: a2ps 4.14\n" - "Report-Msgid-Bugs-To: \n" - "POT-Creation-Date: 2007-12-29 11:28+0800\n" --"PO-Revision-Date: 1998-10-26 22:02+01:00\n" --"Last-Translator: Juliusz Chroboczek \n" --"Language-Team: Polish \n" -+"PO-Revision-Date: 2008-11-06 17:04+0100\n" -+"Last-Translator: Jakub Bogusz \n" -+"Language-Team: Polish \n" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=iso-8859-2\n" - "Content-Transfer-Encoding: 8bit\n" -@@ -26,12 +27,12 @@ - #: lib/xbackupfile.c:276 lib/xbackupfile.c:284 - #, c-format - msgid "cannot create file `%s'" --msgstr "nie mog³em utworzyæ pliku `%s'" -+msgstr "nie mo¿na utworzyæ pliku `%s'" - - #: src/delegate.c:269 src/select.c:193 lib/routines.c:190 lib/routines.c:196 - #, c-format - msgid "cannot open a pipe on `%s'" --msgstr "nie mog³em otworzyæ potoku na `%s'" -+msgstr "nie mo¿na otworzyæ potoku na `%s'" - - #: src/delegate.c:389 - #, c-format -@@ -51,12 +52,12 @@ - #: confg.gperf:355 lib/routines.c:154 - #, c-format - msgid "cannot open file `%s'" --msgstr "nie mog³em otworzyæ pliku `%s'" -+msgstr "nie mo¿na otworzyæ pliku `%s'" - - #: src/generate.c:101 lib/xbackupfile.c:224 - #, c-format - msgid "cannot get informations on file `%s'" --msgstr "nie mog³em przeczytaæ informacji o pliku `%s'" -+msgstr "nie mo¿na przeczytaæ informacji o pliku `%s'" - - #: src/generate.c:168 - #, c-format -@@ -90,12 +91,12 @@ - - #: src/generate.c:226 - msgid "[1 line wrapped]\n" --msgstr "" -+msgstr "[1 linia zawiniêta]\n" - - #: src/generate.c:229 --#, fuzzy, c-format -+#, c-format - msgid "[%d lines wrapped]\n" --msgstr "%d linii na stronê" -+msgstr "[%d linii zawiniêtych]\n" - - #: src/generate.c:242 - msgid "[No output produced]\n" -@@ -104,7 +105,7 @@ - #: src/generate.c:314 - #, c-format - msgid "%s, delegated to %s" --msgstr "%s zadelegowane do %s" -+msgstr "%s wydelegowane do %s" - - #: src/generate.c:322 - #, c-format -@@ -130,9 +131,9 @@ - msgstr "koniec linii w ci±gu znaków" - - #: lexssh.l:415 src/sheets-map.l:153 src/sheets-map.l:192 --#, fuzzy, c-format -+#, c-format - msgid "end of line inside a %s" --msgstr "koniec linii w wyra¿eniu regularnym" -+msgstr "koniec linii wewn±trz %s" - - #: src/main.c:203 - #, c-format -@@ -300,11 +301,11 @@ - msgstr "" - " styl = %s\n" - " symbole graficzne = %s\n" --" strip level = %d\n" -+" usuwanie komentarzy = %d\n" - - #: src/main.c:462 - msgid "never make backups" --msgstr "nie rób kopii zapasowych" -+msgstr "bez kopii zapasowych" - - #: src/main.c:466 - msgid "simple backups of every file" -@@ -352,8 +353,8 @@ - " sides per sheet = %s\n" - " page device definitions = " - msgstr "" --" magic number = %s\n" --" Opis drukarki (PPD) = %s\n" -+" znacznik magiczny = %s\n" -+" opis drukarki (PPD) = %s\n" - " domy¶lny PPD = %s\n" - " format numeracji stron = %s\n" - " liczba kopii = %d\n" -@@ -375,19 +376,18 @@ - msgstr "Stan wewnêtrzny:\n" - - #: src/main.c:528 --#, fuzzy, c-format -+#, c-format - msgid "" - " verbosity level = %d\n" - " file command = %s\n" - " library path = \n" - msgstr "" --" poziom `verbosity' = %d\n" --" komenda `file' = %s\n" --" pliki tymczasowe = %s\n" -+" poziom gadatliwo¶ci = %d\n" -+" polecenie `file' = %s\n" - " ¶cie¿ka do biblioteki = \n" - - #: src/main.c:653 --#, fuzzy, c-format -+#, c-format - msgid "" - "Usage: %s [OPTION]... [FILE]...\n" - "\n" -@@ -398,20 +398,20 @@ - "Long options marked with * require a yes/no argument, corresponding\n" - "short options stand for `yes'.\n" - msgstr "" --"Usage: %s [OPCJE]... PLIKI...\n" --" lub: %s [OPCJE]...\n" --"Drukuje PLIKI lub standartowe wej¶cie.\n" --"Obowi±zkowe argumenty do d³ugich opcji s± te¿ obowi±zkowe przy krótkich " --"opcjach.\n" -+"Sk³adnia: %s [OPCJE]... PLIKI...\n" -+"\n" -+"Konwertuje PLIKI lub standartowe wej¶cie do PostScriptu. Domy¶lnie wynik\n" -+"jest wysy³any do drukarki. Plik wynikowy mo¿na okre¶liæ opcj± -o.\n" -+"\n" -+"Obowi±zkowe argumenty dla d³ugich opcji s± obowi±zkowe tak¿e przy krótkich\n" - "D³ugie opcje zaznaczone * wymagaj± argumentu typu tak/nie; odpowiednie\n" - "krótkie opcje znacz± `tak'.\n" - - #: src/main.c:668 - msgid "Tasks:\n" --msgstr "" -+msgstr "Zadania:\n" - - #: src/main.c:669 --#, fuzzy - msgid "" - " --version display version\n" - " --help display this help\n" -@@ -419,29 +419,28 @@ - " --which report the full path of library files named FILES\n" - " --glob report the full path of library files matching FILES\n" - " --list=defaults display default settings and parameters\n" --" --list=TOPIC detailed list on TOPIC (delegations, encodings, " --"features,\n" --" variables, media, ppd, printers, prologues, style-" --"sheets,\n" -+" --list=TOPIC detailed list on TOPIC (delegations, encodings, features,\n" -+" variables, media, ppd, printers, prologues, style-sheets,\n" - " user-options)\n" - msgstr "" --" -V, --version poka¿ wersjê\n" --" --help poka¿ tê pomoc\n" --" --guess pokazuj domy¶lne typy PLIKÓW\n" --" --list=TEMAT opisz dany TEMAT\n" --"\n" --"TEMAT mo¿e byæ dowolnym skrótem jednego z:\n" --" * `defaults': domy¶lnie ustawione parametry\n" --" * `features': krótka lista znanych mediów, systemów kodowania, styli itp.\n" --" * `delegations', `encodings', `variables', `media',\n" --" `ppd', `printers', `prologues', `style-sheets', `user-options': \n" --" dok³adna lista.\n" -+" --version wy¶wietlenie informacji o wersji\n" -+" --help wy¶wietlenie tej pomocy\n" -+" --guess pokazanie rozpoznanych typów PLIKÓW\n" -+" --which pokazanie pe³nej ¶cie¿ki plików bibliotek o nazwach PLIKI\n" -+" --glob pokazanie pe³nej ¶cie¿ki plików bibliotek pasuj±cych do \n" -+" PLIKÓW\n" -+" --list=defaults wy¶wietlenie domy¶lnych ustawieñ i parametrów\n" -+" --list=TEMAT szczegó³owa pomoc na dany TEMAT (delegations, encodings,\n" -+" features, variables, media, ppd, printers, prologues,\n" -+" style-sheets, user-options)\n" - - #: src/main.c:680 - msgid "" - "After having performed the task, exit successfully. Detailed lists may\n" - "provide additional help on specific features.\n" - msgstr "" -+"Po wykonaniu zadania koñczy dzia³anie z sukcesem. Wiêcej informacji na dany\n" -+"TEMAT mo¿na uzyskaæ poprzez --list=TEMAT\n" - - #: src/main.c:688 - msgid "Global:\n" -@@ -455,14 +454,15 @@ - " --debug enable debugging features\n" - " -D, --define=KEY[:VALUE] unset variable KEY or set to VALUE\n" - msgstr "" --" -q, --quiet, --silent nic nie mów\n" --" -v, --verbose[=STOPIEÑ] mów co robisz, w danym STOPNIU\n" --" -=, --user-option=OPCJA u¿yj skrótu u¿ytkownika OPCJA\n" --" --debug w³±cz `debugging'\n" --" -D, --define=KLUCZ[:WARTO¦Æ] ustaw makro KLUCZ na podan± WARTO¦Æ\n" -+" -q, --quiet, --silent tryb cichy\n" -+" -v, --verbose[=STOPIEÑ] gadatliwo¶æ [w danym STOPNIU]\n" -+" -=, --user-option=OPCJA u¿ycie zdefiniowanego przez u¿ytkownika skrótu\n" -+" OPCJI\n" -+" --debug tryb diagnostyczny\n" -+" -D, --define=KLUCZ[:WARTO¦Æ] skasowanie makra KLUCZ lub ustawienie na podan±\n" -+" WARTO¦Æ\n" - - #: src/main.c:698 --#, fuzzy - msgid "" - " -M, --medium=NAME use output medium NAME\n" - " -r, --landscape print in landscape mode\n" -@@ -470,36 +470,37 @@ - " --columns=NUM number of columns per sheet\n" - " --rows=NUM number of rows per sheet\n" - " --major=DIRECTION first fill (DIRECTION=) rows, or columns\n" --" -1, -2, ..., -9 predefined font sizes and layouts for 1.. 9 " --"virtuals\n" -+" -1, -2, ..., -9 predefined font sizes and layouts for 1.. 9 virtuals\n" - " -A, --file-align=MODE align separate files according to MODE (fill, rank\n" - " page, sheet, or a number)\n" - " -j, --borders* print borders around columns\n" - " --margin[=NUM] define an interior margin of size NUM\n" - msgstr "" --" -M, --medium=NAZWA u¿yj medium NAZWA\n" --" -r, --landscape papier poziomy\n" --" -R, --portrait papier pionowy\n" --" --columns=ILE liczba kolumn na stronê (ILE > 0)\n" --" --rows=ILE liczba wierszy na stronê (ILE > 0)\n" --" --major=KIERUNEK wype³niaj najpierw wiersze (rows) lub\n" --" kolumny (columns)\n" --" -1, -2, ..., -9 predefiniowane rozmieszczenia dla 1...9 stron " --"wirtualnych\n" --" -A, --file-align=TRYB sposób rozmieszczenia plików (fill, rank\n" --" page, sheet albo liczba)\n" --" -j, --borders* drukuj ramki wokó³ kolumn\n" --" --margin[=ROZMIAR] wewnêtrzny margines danego ROZMIARU\n" -+" -M, --medium=NAZWA u¿ycie medium NAZWA\n" -+" -r, --landscape papier poziomy\n" -+" -R, --portrait papier pionowy\n" -+" --columns=ILE liczba kolumn na stronê\n" -+" --rows=ILE liczba wierszy na stronê\n" -+" --major=KIERUNEK wype³nianie najpierw wierszy (rows) lub kolumn\n" -+" (columns)\n" -+" -1, -2, ..., -9 predefiniowane rozmiary fontów i rozmieszczenie dla\n" -+" 1...9 stron wirtualnych\n" -+" -A, --file-align=TRYB sposób rozmieszczenia plików (fill, rank, page, sheet\n" -+" albo liczba)\n" -+" -j, --borders* drukowanie ramki wokó³ kolumn\n" -+" --margin[=ROZMIAR] wewnêtrzny margines danego ROZMIARU\n" - - #: src/main.c:711 - msgid "" --"The options -1.. -9 affect several primitive parameters to set up " --"predefined\n" -+"The options -1.. -9 affect several primitive parameters to set up predefined\n" - "layouts with 80 columns. Therefore the order matters: `-R -f40 -2' is\n" --"equivalent to `-2'. To modify the layout, use `-2Rf40', or compose " --"primitive\n" -+"equivalent to `-2'. To modify the layout, use `-2Rf40', or compose primitive\n" - "options (`--columns', `--font-size' etc.).\n" - msgstr "" -+"Opcje -1 ... -9 zmieniaj± ró¿ne proste parametry ustawiaj±c na predefiniowane\n" -+"rozmieszczenia z 80 kolumnami. Tak wiêc kolejno¶æ ma znaczenie: `-R -f40 -2'\n" -+"jest równoznaczne z `-2'. Aby zmieniæ rozmieszczenie, nale¿y u¿yæ `2Rf40' lub\n" -+"po³±czyæ proste opcje (`--columns', `--font-size' itp.).\n" - - #: src/main.c:719 - msgid "" -@@ -507,28 +508,28 @@ - " -C alias for --line-numbers=5\n" - " -f, --font-size=SIZE use font SIZE (float) for the body text\n" - " -L, --lines-per-page=NUM scale the font to print NUM lines per virtual\n" --" -l, --chars-per-line=NUM scale the font to print NUM columns per " --"virtual\n" -+" -l, --chars-per-line=NUM scale the font to print NUM columns per virtual\n" - " -m, --catman process FILE as a man page (same as -L66)\n" - " -T, --tabsize=NUM set tabulator size to NUM\n" - " --non-printable-format=FMT specify how non-printable chars are printed\n" - msgstr "" --" --line-numbers=ILE drukuj numer linii co ILE linii\n" -+" --line-numbers=ILE drukowanie numerów linii co ILE linii\n" - " -C to samo co --line-numbers=5\n" --" -f, --fontsize=ROZMIAR u¿yj czcionki danego ROZMIARU do tekstu\n" -+" -f, --fontsize=ROZMIAR u¿ycie czcionki danego ROZMIARU do tekstu\n" - " -L, --lines-per-page=ILE liczba linii na stronê wirtualn±\n" - " -l, --chars-per-page=ILE liczba kolumn na stronê wirtualn±\n" --" -m, --catman potraktuj plik jako stronê manuala (to samo co -" --"L66)\n" --" -T, --tabsize=ILE ustaw rozmiar tabulacji na ILE znaków\n" --" --non-printable-format=FMT ustaw sposób drukowania niedrukowalnych znaków\n" -+" -m, --catman traktowanie pliku jako stronê manuala (to samo co\n" -+" -L66)\n" -+" -T, --tabsize=ILE ustawienie rozmiaru tabulacji na ILE znaków\n" -+" --non-printable-format=FMT ustawienie sposobu drukowania znaków\n" -+" niedrukowalnych\n" - - #: src/main.c:730 - msgid "Headings:\n" - msgstr "Nag³ówki:\n" - - #: src/main.c:732 --#, fuzzy, no-c-format -+#, no-c-format - msgid "" - " -B, --no-header no page headers at all\n" - " -b, --header[=TEXT] set page header\n" -@@ -540,19 +541,19 @@ - " --footer[=TEXT]\n" - " --right-footer[=TEXT]\n" - msgstr "" --" -B, --no-header bez nag³ówków\n" --" -b, --header[=TEKST] ustaw nag³ówek ka¿dej strony\n" --" -u, --underlay[=TEKST] wydrukuj TEKST jako t³o ka¿dej strony\n" --" --center-title[=TEKST] ustaw tytu³ strony\n" --" --left-title[=TEKST] ustaw lewy oraz prawy tytu³ strony\n" -+" -B, --no-header bez nag³ówków stron\n" -+" -b, --header[=TEKST] ustawianie nag³ówka ka¿dej strony\n" -+" -u, --underlay[=TEKST] drukowanie TEKSTU jako t³a ka¿dej strony\n" -+" --center-title[=TEKST] ustawienie tytu³u strony\n" -+" --left-title[=TEKST] ustawienie lewego oraz prawego tytu³u strony\n" - " --right-title[=TEKST]\n" --" --left-footer[=TEKST] ustaw stopkê\n" --" --footer[=TEKST] TEKST mo¿e u¿ywaæ dyrektyw $ i %\n" -+" --left-footer[=TEKST] ustawienie stopek na TEKST\n" -+" --footer[=TEKST]\n" - " --right-footer[=TEKST]\n" - - #: src/main.c:743 - msgid "The TEXTs may use special escapes.\n" --msgstr "" -+msgstr "TEKSTY mog± korzystaæ z sekwencji specjalnych.\n" - - #: src/main.c:748 - msgid "" -@@ -568,23 +569,25 @@ - " --toc[=TEXT] generate a table of content\n" - msgstr "" - " -a, --pages[=ZAKRES] lista stron do drukowania\n" --" -c, --truncate-lines* przycinaj d³ugie linie\n" --" -i, --interpret* interpretuj znaki tab, bs i ff\n" -+" -c, --truncate-lines* przycinanie d³ugich linii\n" -+" -i, --interpret* interpretowanie znaków tab, bs i ff\n" - " --end-of-line=TYP znak koñca linii (TYP: r, n, nr, rn, any)\n" --" -X, --encoding=NAZWA u¿yj systemu kodowania wej¶ciowego NAZWA\n" --" -t, --title=NAZWA ustaw nazwê zadania\n" --" --stdin=NAZWA ustaw nazwê wej¶cia standartowego\n" --" --print-anyway* drukuj równie¿ pliki binarne\n" --" -Z, --delegate* deleguj pliki innym aplikacjom\n" --" --toc[=TEKST] wygeneruj spis tre¶ci\n" -+" -X, --encoding=NAZWA u¿ycie systemu kodowania wej¶ciowego NAZWA\n" -+" -t, --title=NAZWA ustawienie nazwy zadania\n" -+" --stdin=NAZWA ustawienie nazwy wej¶cia standartowego\n" -+" --print-anyway* drukowanie tak¿e plików binarnych\n" -+" -Z, --delegate* delegowanie plików do innych aplikacji\n" -+" --toc[=TEKST] generowanie spisu tre¶ci\n" - - #: src/main.c:760 - msgid "" - "When delegations are enabled, a2ps may use other applications to handle the\n" --"processing of files that should not be printed as raw information, e.g., " --"HTML\n" -+"processing of files that should not be printed as raw information, e.g., HTML\n" - "PostScript, PDF etc.\n" - msgstr "" -+"Przy w³±czonych delegacjach a2ps mo¿e u¿ywaæ innej aplikacji do przetwarzania\n" -+"plików, które nie powinny byæ drukowane jako surowa informacja, np. HTML,\n" -+"PostScript, PDF itp.\n" - - #: src/main.c:767 - msgid "" -@@ -594,14 +597,13 @@ - " -g alias for --highlight-level=heavy\n" - " --strip-level=NUM level of comments stripping\n" - msgstr "" --" -E, --pretty-print[=JÊZYK] drukuj z dekoracj± (u¿yj stylu JÊZYK)\n" --" --highlight-level=POZIOM ustaw POZIOM dekoracji\n" -+" -E, --pretty-print[=JÊZYK] drukowanie z dekoracj± (u¿ycie stylu JÊZYK)\n" -+" --highlight-level=POZIOM ustawienie POZIOMU dekoracji\n" - " POZIOM jest jednym z none, normal lub heavy\n" - " -g to samo co --highlight-level=heavy\n" - " --strip-level=ILE poziom eliminacji komentarzy\n" - - #: src/main.c:776 --#, fuzzy - msgid "" - " -o, --output=FILE leave output to file FILE. If FILE is `-',\n" - " leave output to stdout.\n" -@@ -611,12 +613,13 @@ - " -d send output to the default printer\n" - " (this is the default behavior)\n" - msgstr "" --" -o, --output=PLIK drukuj do pliku PLIK. Je¶li PLIK jest `-',\n" --" drukuj na standardowege wyj¶cie.\n" --" --version-control=WORD nastaw kontrolê wersji\n" --" --suffix=SUFFIX nastaw rozszerzenie plików zapasowych\n" --" -P, --printer=NAZWA drukuj na drukarce NAZWA\n" --" -d drukuj na domy¶lnej drukarce\n" -+" -o, --output=PLIK drukowanie do pliku PLIK. Je¶li PLIK jest `-',\n" -+" drukowanie na standardowe wyj¶cie.\n" -+" --version-control=METODA wymuszenie kontroli wersji\n" -+" --suffix=SUFFIX wymuszenie rozszerzenia plików zapasowych\n" -+" -P, --printer=NAZWA drukowanie na drukarce NAZWA\n" -+" -d drukowanie na domy¶lnej drukarce\n" -+" (zachowanie domy¶lne)\n" - - #: src/main.c:787 - msgid "" -@@ -630,20 +633,21 @@ - " -k, --page-prefeed enable page prefeed\n" - " -K, --no-page-prefeed disable page prefeed\n" - msgstr "" --" --prologue=PLIK u¿yj PLIK.pro jako prologu PostScript\n" --" --ppd[=KLUCZ] wybór PPD: automatyczna lub KLUCZ\n" --" -n, --copies=ILE drukuj ILE kopii ka¿dej strony\n" --" -s, --sides=ILE liczba stron papieru (recto/recto-verso)\n" --" -S, --setpagedevice=K[:V] prze¶lij definicjê `pagedevice'\n" --" --statusdict=K[:[:]V] prze¶lij definicjê w `statusdict'\n" --" -k, --page-prefeed w³±cz `page prefeed'\n" --" -K, --no-page-prefeed wy³±cz `page prefeed'\n" -+" --prologue=PLIK u¿ycie PLIK.pro jako prologu PostScriptu\n" -+" --ppd[=KLUCZ] wybór PPD: automatyczny lub KLUCZ\n" -+" -n, --copies=ILE drukowanie ILU kopii ka¿dej strony\n" -+" -s, --sides=ILE liczba trybu duplex (`1' lub `simplex'\n" -+" (jednostronnie), `2' lub `duplex' (dwustronnie),\n" -+" `tumble')\n" -+" -S, --setpagedevice=K[:V] przekazanie definicji `pagedevice' na wyj¶cie\n" -+" --statusdict=K[:[:]V] przekazanie definicji `statusdict' na wyj¶cie\n" -+" -k, --page-prefeed w³±czenie `page prefeed'\n" -+" -K, --no-page-prefeed wy³±czenie `page prefeed'\n" - - #: src/main.c:801 - msgid "" - "By default a2ps is tuned to do what you want to, so trust it. To pretty\n" --"print the content of the `src' directory and a table of content, and send " --"the\n" -+"print the content of the `src' directory and a table of content, and send the\n" - "result to the printer `lw',\n" - "\n" - " $ a2ps -P lw --toc src/*\n" -@@ -660,30 +664,44 @@ - "\n" - " $ a2ps -=book paper.dvi.gz -d\n" - msgstr "" -+"Domy¶lnie a2ps jest dostrojony do tego, co chcemy zrobiæ, wystarczy mu zaufaæ.\n" -+"Aby ³adnie wydrukowaæ zawarto¶æ katalogu `src' i spis tre¶ci oraz wys³aæ wynik\n" -+"na drukarkê `lw', wystarczy:\n" -+"\n" -+" $ a2ps -P lw --toc src/*\n" -+"\n" -+"Aby przetworzyæ pliki `sample.ps' i `sample.html' oraz wy¶wietliæ wynik:\n" -+"\n" -+" $ a2ps -P display sample.ps sample.html\n" -+"\n" -+"Aby przetworzyæ mailbox po 4:\n" -+"\n" -+" $ a2ps -=mail -4 mailbox\n" -+"\n" -+"Aby wydrukowaæ jako broszurê na domy¶lnej drukarce obs³uguj±cej Duplex:\n" -+"\n" -+" $ a2ps -=book paper.dvi.gz -d\n" - - #: src/main.c:822 --#, fuzzy - msgid "" - "News, updates and documentation: visit http://www.gnu.org/software/a2ps/.\n" - msgstr "" --"Nowo¶ci, nowe wersje i dokumentacja s± dostêpne na http://www.inf.enst.fr/" --"~demaille/a2ps/\n" -+"Nowo¶ci, nowe wersje i dokumentacja s± dostêpne pod adresem\n" -+"http://www.gnu.org/software/a2ps/.\n" - - #: src/main.c:824 --#, fuzzy - msgid "Report bugs to .\n" --msgstr "Informacje o b³êdach i uwagi nale¿y kierowaæ do \n" -+msgstr "Informacje o b³êdach nale¿y kierowaæ do \n" - - #: src/main.c:942 --#, fuzzy - msgid "" - "Copyright (c) 1988-1993 Miguel Santana\n" - "Copyright (c) 1995-2000 Akim Demaille, Miguel Santana\n" - "Copyright (c) 2007- Akim Demaille, Miguel Santana and Masayuki Hatta" - msgstr "" --"\n" --"Copyright (c) 1988, 89, 90, 91, 92, 93 Miguel Santana\n" --"Copyright (c) 1995, 96, 97, 98, 99 Akim Demaille, Miguel Santana\n" -+"Copyright (c) 1988-1993 Miguel Santana\n" -+"Copyright (c) 1995-2000 Akim Demaille, Miguel Santana\n" -+"Copyright (c) 2007- Akim Demaille, Miguel Santana and Masayuki Hatta" - - #: src/main.c:1173 - msgid "Table of Content" -@@ -692,21 +710,21 @@ - #: src/parsessh.y:236 - #, c-format - msgid "cannot process `%s' which requires a2ps version %s" --msgstr "nie mogê przetworzyæ `%s' które wymaga a2ps w wersji %s" -+msgstr "nie mo¿na przetworzyæ `%s' wymagaj±cego a2ps w wersji %s" - - #: src/sheets-map.l:111 --#, fuzzy, c-format -+#, c-format - msgid "unexpected character `%c'" --msgstr "nieznana opcja `%c' (%d)" -+msgstr "nieoczekiwany znak `%c'" - - #: src/sheets-map.l:211 lexppd.l:211 - msgid "too many includes" --msgstr "" -+msgstr "za du¿o do³±czeñ" - - #: src/sheets-map.l:296 src/sheets-map.l:303 --#, fuzzy, c-format -+#, c-format - msgid "no key defined for `%s'" --msgstr "nie mogê znale¼æ pliku `%s'" -+msgstr "nie zdefiniowano klucza dla `%s'" - - #: src/select.c:122 src/ssheet.c:866 fonts.l:838 fonts.l:840 fonts.l:842 - #: lib/pathwalk.c:328 lib/pathwalk.c:414 -@@ -721,7 +739,7 @@ - #: src/ssheet.c:295 - #, c-format - msgid "cannot compile regular expression `%s': %s" --msgstr "nie mog³em skompilowaæ wyra¿enie regularnego `%s': %s" -+msgstr "nie mo¿na skompilowaæ wyra¿enia regularnego `%s': %s" - - #: src/ssheet.c:974 src/ssheet.c:995 - msgid "Known Style Sheets" -@@ -730,7 +748,7 @@ - #: src/ssheet.c:1461 - #, c-format - msgid "cannot find style sheet `%s': using plain style" --msgstr "nie mog³em znale¼æ stylu `%s': u¿yto stylu prostego" -+msgstr "nie mo¿na znale¼æ stylu `%s': u¿yto stylu prostego" - - #: src/sshread.c:453 - #, c-format -@@ -739,20 +757,21 @@ - - #: src/version-etc.c:38 - msgid "Copyright (C) 1999 Free Software Foundation, Inc." --msgstr "" -+msgstr "Copyright (C) 1999 Free Software Foundation, Inc." - - #: src/version-etc.c:60 --#, fuzzy, c-format -+#, c-format - msgid "Written by %s.\n" --msgstr "Wydrukowa³ %s" -+msgstr "Autorzy: %s.\n" - - #: src/version-etc.c:66 - msgid "" - "This is free software; see the source for copying conditions. There is NO\n" - "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" - msgstr "" --"Ten program jest wolny (`Free'); warunki kopiowania s± w ¼ród³ach.\n" --"Program udostêpniony bez ¯ADNEJ gwarancji.\n" -+"To oprogramowanie jest darmowe; warunki kopiowania s± opisane w ¼ród³ach.\n" -+"Autorzy nie daj± ¯ADNYCH gwarancji, w tym równie¿ gwarancji MO¯LIWO¦CI\n" -+"SPRZEDA¯Y lub PRZYDATNO¦CI DO KONKRETNYCH ZASTOSOWAÑ.\n" - - #: src/versions.c:133 - #, c-format -@@ -785,7 +804,7 @@ - - #: lib/closeout.c:71 lib/closeout.c:73 - msgid "write error" --msgstr "" -+msgstr "b³±d zapisu" - - #: confg.gperf:157 lib/encoding.c:638 - #, c-format -@@ -813,7 +832,7 @@ - #: confg.gperf:321 - #, c-format - msgid "obsolete `%s' entry. Ignored" --msgstr "linia `%s' przestarza³a. Zignorowana" -+msgstr "linia `%s' przestarza³a. Zignorowana" - - #: lib/encoding.c:1114 lib/encoding.c:1135 - msgid "Known Encodings" -@@ -850,11 +869,11 @@ - - #: lib/madir.c:59 - msgid "rows first" --msgstr "wiersze najpierw" -+msgstr "najpierw wiersze" - - #: lib/madir.c:62 - msgid "columns first" --msgstr "kolumny najpierw" -+msgstr "najpierw kolumny" - - #: lib/media.c:173 - #, c-format -@@ -896,7 +915,7 @@ - - #: lib/metaseq.c:308 lib/metaseq.c:327 - msgid "cannot get current working directory" --msgstr "nie mog³em otrzymaæ katalogu bie¿±cego" -+msgstr "nie mo¿na uzyskaæ katalogu bie¿±cego" - - #: lib/metaseq.c:341 lib/metaseq.c:534 lib/metaseq.c:563 lib/metaseq.c:652 - #: lib/metaseq.c:954 lib/metaseq.c:987 -@@ -951,7 +970,7 @@ - #: lib/options.c:302 - #, c-format - msgid "Try `%s --help' for more information.\n" --msgstr "Spróbuj `%s --help' ¿eby otrzymaæ wiêcej informacji\n" -+msgstr "Polecenie `%s --help' pozwoli uzyskaæ wiêcej informacji\n" - - #: lib/output.c:466 - #, c-format -@@ -985,9 +1004,9 @@ - msgstr "niedozwolony przedzia³ `%s'" - - #: lib/printers.c:396 lib/printers.c:413 --#, fuzzy, c-format -+#, c-format - msgid "no command for the `%s' (%s%s)" --msgstr "brak domy¶lnej komendy dla nieznanej drukarki `%s'" -+msgstr "brak polecenia dla `%s' (%s%s)" - - #: lib/printers.c:429 - msgid "sent to the standard output" -@@ -1027,11 +1046,11 @@ - - #: lib/quotearg.c:200 - msgid "`" --msgstr "" -+msgstr "`" - - #: lib/quotearg.c:203 - msgid "'" --msgstr "" -+msgstr "'" - - #: lib/userdata.c:129 - msgid "user" -@@ -1057,7 +1076,7 @@ - #: lib/xbackupfile.c:240 lib/xbackupfile.c:252 - #, c-format - msgid "cannot rename file `%s' as `%s'" --msgstr "nie mog³em przemianowaæ pliku `%s' na `%s'" -+msgstr "nie mo¿na przemianowaæ pliku `%s' na `%s'" - - #: lib/xbackupfile.c:255 - #, c-format -@@ -1065,14 +1084,14 @@ - msgstr "odtworzony plik `%s'" - - #: lib/argmatch.c:159 --#, fuzzy, c-format -+#, c-format - msgid "invalid argument %s for `%s'" --msgstr "niepoprawny argument `%s' dla opcji `%s'" -+msgstr "niepoprawny argument %s dla opcji `%s'" - - #: lib/argmatch.c:160 --#, fuzzy, c-format -+#, c-format - msgid "ambiguous argument %s for `%s'" --msgstr "dwuznaczny argument `%s' dla opcji `%s'" -+msgstr "niejednoznaczny argument %s dla opcji `%s'" - - #: lib/argmatch.c:178 - #, c-format -@@ -1086,7 +1105,7 @@ - #: lib/getopt.c:675 - #, c-format - msgid "%s: option `%s' is ambiguous\n" --msgstr "%s: opcja `%s' jest dwuznaczna\n" -+msgstr "%s: opcja `%s' jest niejednoznaczna\n" - - #: lib/getopt.c:700 - #, c-format -@@ -1131,382 +1150,9 @@ - #: lib/getopt.c:862 - #, c-format - msgid "%s: option `-W %s' is ambiguous\n" --msgstr "%s: opcja: `-W %s' jest dwuznaczna\n" -+msgstr "%s: opcja: `-W %s' jest niejednoznaczna\n" - - #: lib/getopt.c:880 - #, c-format - msgid "%s: option `-W %s' doesn't allow an argument\n" - msgstr "%s: opcja `-W %s' nie mo¿e mieæ argumentu\n" -- --#, fuzzy --#~ msgid "end of line in a %s" --#~ msgstr "koniec linii w wyra¿eniu regularnym" -- --#~ msgid "end-of-line in regular expression" --#~ msgstr "koniec linii w wyra¿eniu regularnym" -- --#, fuzzy --#~ msgid "" --#~ "Copyright (c) 1988, 89, 90, 91, 92, 93 Miguel Santana\n" --#~ "Copyright (c) 1995, 96, 97, 98, 99 Akim Demaille, Miguel Santana" --#~ msgstr "" --#~ "\n" --#~ "Copyright (c) 1988, 89, 90, 91, 92, 93 Miguel Santana\n" --#~ "Copyright (c) 1995, 96, 97, 98, 99 Akim Demaille, Miguel Santana\n" -- --#~ msgid "Tasks (exit successfully):\n" --#~ msgstr "Zadañ (wynik pomy¶lny):\n" -- --#~ msgid "" --#~ "This program is free software; you can redistribute it and/or modify\n" --#~ "it under the terms of the GNU General Public License as published by\n" --#~ "the Free Software Foundation; either version 3, or (at your option)\n" --#~ "any later version.\n" --#~ "\n" --#~ "This program is distributed in the hope that it will be useful,\n" --#~ "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" --#~ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" --#~ "GNU General Public License for more details.\n" --#~ "\n" --#~ "You should have received a copy of the GNU General Public License\n" --#~ "along with this program; if not, write to the Free Software Foundation,\n" --#~ "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n" --#~ msgstr "" --#~ "Ten program jest darmowy; mo¿esz rozprowadzaæ go i/lub modyfikowaæ " --#~ "zachowuj±c\n" --#~ "warunki Powszechnej Licencji Publicznej GNU (General Public Licence),\n" --#~ "opublikowanej przez Free Software Foundation, w wersji 2 lub wy¿szej.\n" --#~ "\n" --#~ "program ten jest rozprowadzany w nadziei, ¿e bêdzie przydatny,\n" --#~ "ale BEZ ¯ADNEJ GWARANCJI, nawet bez domy¶lnej gwarancji SPRZEDAWALNO¦CI\n" --#~ "lub PRZYDATNO¦CI DO KONKRETNYCH ZASTOSOWAÑ. Szczegó³y znajdziesz\n" --#~ "w Powszechnej Licencji Publicznej GNU.\n" --#~ "\n" --#~ "Powiniene¶ otrzymaæ kopiê Powszechnej Licencji Publicznej GNU wraz\n" --#~ "z tym programem. Je¶li nie, napisz do Free Software Foundation,\n" --#~ "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n" -- --#~ msgid "" --#~ "Written by and .\n" --#~ msgstr "" --#~ "Autorstwa oraz \n" -- --#~ msgid "no default command for option `-d'" --#~ msgstr "brak domy¶lnej komendy dla opcji `-d'" -- --#~ msgid "pipe in %s\n" --#~ msgstr "potok w %s\n" -- --#~ msgid "save in %s\n" --#~ msgstr "zapisuj w %s\n" -- --#, fuzzy --#~ msgid "%s: invalid argument `%s' for `%s'\n" --#~ msgstr "niepoprawny argument `%s' dla opcji `%s'" -- --#, fuzzy --#~ msgid "invalid interval: %s" --#~ msgstr "niedozwolony przedzia³ ca³kowity `%s'" -- --#~ msgid "illegal integer interval: %s" --#~ msgstr "niedozwolony przedzia³ ca³kowity `%s'" -- --#, fuzzy --#~ msgid "cannot find file %s" --#~ msgstr "nie mog³em znale¼æ pliku `%s'" -- --#, fuzzy --#~ msgid "unrecognized font `%s'" --#~ msgstr "nieznana czcionka `%s'" -- --#, fuzzy --#~ msgid "unrecognized face `%s'" --#~ msgstr "nieznany styl czcionki `%s'" -- --#, fuzzy --#~ msgid "missing argument for %s" --#~ msgstr "brakuj±cy argument dla dyrektywy `%s'" -- --#, fuzzy --#~ msgid "invalid variable identifier %s" --#~ msgstr "niepoprawny identyfikator makra `%s'" -- --#, fuzzy --#~ msgid "cannot create file %s" --#~ msgstr "nie mog³em utworzyæ pliku wyj¶ciowego `%s'" -- --#, fuzzy --#~ msgid "cannot open a pipe on %s" --#~ msgstr "nie mog³em otworzyæ rury na `%s'" -- --#, fuzzy --#~ msgid "cannot open file %s" --#~ msgstr "nie mog³em otwo¿yæ pliku `%s'" -- --#, fuzzy --#~ msgid "cannot open configuration file %s" --#~ msgstr "nie mog³em otworzyæ pliku konfiguracyjnego `%s'" -- --#~ msgid "encoding %s unknown" --#~ msgstr "nieznane kodowanie %s" -- --#~ msgid " library path = \n" --#~ msgstr " ¶cie¿ka do bibliotek = \n" -- --#~ msgid "user option `%s' not defined" --#~ msgstr "niezdefiniowana opcja u¿ytkownika `%s'" -- --#, fuzzy --#~ msgid "illegal option: %s" --#~ msgstr "niedozwolona opcja `%s'" -- --#~ msgid "illegal option: `%s'" --#~ msgstr "niedozwolona opcja `%s'" -- --#~ msgid "" --#~ "syntax error in option string `%s':\n" --#~ "missing end of quotation: %c" --#~ msgstr "" --#~ "b³±d sk³adniowy w opcji `%s':\n" --#~ "brak koñca cudzys³owa: %c" -- --#, fuzzy --#~ msgid "cannot backup and create file `%s'" --#~ msgstr "nie mog³em utworzyæ pliku wyj¶ciowego `%s'" -- --#~ msgid "wrong value for option %s: `%s'" --#~ msgstr "z³a warto¶c opcji %s: `%s'" -- --#~ msgid "Valid arguments are integers between %d and %d\n" --#~ msgstr "Poprawnymi argumentami s± liczby ca³kowite w przedziale %d-%d\n" -- --#~ msgid "Valid arguments are integers greater than %d\n" --#~ msgstr "Poprawnymi argumentami s± liczby ca³kowite powy¿ej %d\n" -- --#~ msgid "Valid arguments are lengths between %gpt and %gpt\n" --#~ msgstr "Poprawnymi argumentami s± d³ugosci pomiêdzy %gpt a %gpt\n" -- --#~ msgid "cannot find configuration file `%s'" --#~ msgstr "nie mog³em znale¼æ pliku konfiguracyjnego `%s'" -- --#~ msgid "Dynamic array `%s':\n" --#~ msgstr "Tabela dynamiczna `%s':\n" -- --#~ msgid "\tload: %d/%d (%2.1f%%)\n" --#~ msgstr "\tload: %d/%d (%2.1f%%)\n" -- --#~ msgid "Dynamic string:\n" --#~ msgstr "Dynamiczny ci±g znaków:\n" -- --#~ msgid "steady" --#~ msgstr "sta³y" -- --#~ msgid "linear" --#~ msgstr "liniowy" -- --#~ msgid "geometrical" --#~ msgstr "geometryczny" -- --#~ msgid "\tgrowth: %s, increment: %d\n" --#~ msgstr "\twzrost: %s, inkrementacja: %d\n" -- --#~ msgid "can't allocate %ld bytes for hash table: memory exhausted" --#~ msgstr "" --#~ "nie mo¿na zarezerwowaæ %ld znaków na tablicê rozproszon±: pamiêæ " --#~ "wyczerpana" -- --#~ msgid "Load=%ld/%ld=%.0f%%, " --#~ msgstr "Load=%ld/%ld=%.0f%%, " -- --#~ msgid "Rehash=%d, " --#~ msgstr "Rehash=%d, " -- --#~ msgid "Collisions=%ld/%ld=%.0f%%" --#~ msgstr "Kolizje=%ld/%ld=%.0f%%" -- --#~ msgid "Document title" --#~ msgstr "tytu³ dokumentu" -- --#~ msgid "Page label" --#~ msgstr "Numer strony" -- --#~ msgid "Valid arguments are floats greater than %.1f\n" --#~ msgstr "Poprawnymi argumentami s± liczby powy¿ej %.1f\n" -- --#~ msgid "free" --#~ msgstr "wolne" -- --#~ msgid " %-10s = save in %s\n" --#~ msgstr " %-10s = zachowaj w %s\n" -- --#~ msgid "water mark" --#~ msgstr "t³o" -- --#~ msgid "right header" --#~ msgstr "prawy nag³ówek" -- --#~ msgid "center footer" --#~ msgstr "stopka centralna" -- --#~ msgid "right footer" --#~ msgstr "prawa stopka" -- --#~ msgid "left footer" --#~ msgstr "lewa stopka" -- --#~ msgid "center title" --#~ msgstr "tytu³ centralny" -- --#~ msgid "right title" --#~ msgstr "prawy tytu³" -- --#~ msgid "left title" --#~ msgstr "lewy tytu³" -- --#~ msgid "General information on %s:\n" --#~ msgstr "Informacja generalna o %s:\n" -- --#~ msgid "" --#~ " version = %s\n" --#~ " verbosity level = %d\n" --#~ " library path = \n" --#~ msgstr "" --#~ "Informacja generalna o %s:\n" --#~ " wersja = %s\n" --#~ " stopieñ `verbosity' = %d\n" --#~ " ¶cie¿ka do bibliotek = \n" -- --#~ msgid "found following options (argc=%d):\n" --#~ msgstr "by³y nastêpuj±ce opcje (argc=%d):\n" -- --#~ msgid "failure\n" --#~ msgstr "niepowodzenie\n" -- --#~ msgid "Walk through path\n" --#~ msgstr "Eksploracja ¶cie¿ki\n" -- --#~ msgid "Unkown Printer" --#~ msgstr "Nieznana drukarka" -- --#~ msgid "[%s (%s): 1 sheet]\n" --#~ msgstr "[%s (%s): 1 strona]\n" -- --#~ msgid "[%s (%s): %d sheets]\n" --#~ msgstr "[%s (%s): %d stron na %d kartkach]\n" -- --#~ msgid "%s: no closing `%s' for %s escape" --#~ msgstr "%s: brak zamykaj±cego `%s' do dyrektywy %s" -- --#~ msgid "%s: too long variable name for %s escape" --#~ msgstr "%s: nazwa zmiennej za d³uga w dyrektywie %s" -- --#~ msgid "file_lookup(%s%c%s%s) = " --#~ msgstr "file_lookup(): (%s%c%s%s)" -- --#~ msgid "suffix_lookup(): %s%c*.%s\n" --#~ msgstr "suffix_lookup(): %s%c*.%s\n" -- --#~ msgid "" --#~ " -P, --printer=NAME send output to printer NAME\n" --#~ " -d send output to the default printer\n" --#~ " -s, --sides=NUM number of sheet sides (recto/recto-verso)\n" --#~ msgstr "" --#~ " -P, --printer=NAME drukuj na drukarce NAME\n" --#~ " -d drukuj na drukarce domy¶lnej\n" --#~ " -s --sides=NUM ustaw ilo¶æ stron papieru (recto/recto-" --#~ "verso)\n" -- --#~ msgid "In the style %s, the keyword `%s' uses upper chars" --#~ msgstr "W stylu %s s³owo kluczowe `%s' u¿ywa wielkich liter" -- --#~ msgid "In the style %s, the sequence `%s-%s' uses upper chars" --#~ msgstr "W stylu %s ci±g `%s-%s' u¿ywa wielkich liter" -- --#~ msgid "in style %s, keyword `%s' is defined twice" --#~ msgstr "W stylu %s s³owo kluczowe `%s' jest zdefiniowane dwa razy" -- --#~ msgid "in style %s, operator `%s' is defined twice" --#~ msgstr "W stylu %s s³owo kluczowe `%s' jest zdefiniowane dwa razy" -- --#~ msgid "can't get current working directory" --#~ msgstr "nie mog³em otrzymaæ katalogu domy¶lnego" -- --#~ msgid "expansion of %s user string (`%s') is `%s'\n" --#~ msgstr "rozwiniêcie ci±gu u¿ytkownika %s (\"%s\") jest \"%s\"\n" -- --#~ msgid "cannot open `%s'" --#~ msgstr "nie mog³em otwo¿yæ pliku \"%s\"" -- --#~ msgid "error opening `%s'" --#~ msgstr "b³±d przy otwieraniu pliku '%s' " -- --#~ msgid "error getting file `%s' modification time" --#~ msgstr "b³±d przy otrzymywaniu czasu ostatniej zmiany pliku \"%s\"" -- --#~ msgid "cannot find file \"%s%s\"" --#~ msgstr "nie mog³em znale¼æ pliku \"%s%s\"" -- --#~ msgid "couldn't find system's configuration file `%s%c%s'" --#~ msgstr "nie mog³em otworzyæ systemowego pliku konfiguracyjnego `%s%c%s'" -- --#, fuzzy --#~ msgid "unable to fork" --#~ msgstr "nie mog³em otworzyæ rury" -- --#~ msgid "error starting `/bin/sh -c %s'" --#~ msgstr "b³±d przy startowaniu `/bin/sh -c %s'" -- --#~ msgid "[Total: %d page on " --#~ msgstr "[Wszystkich: %d strona na " -- --#~ msgid "sheet" --#~ msgstr "strona" -- --#~ msgid "space" --#~ msgstr "odstêp" -- --#~ msgid "caret" --#~ msgstr "daszek" -- --#~ msgid "Known Media\n" --#~ msgstr "Znane media\n" -- --#~ msgid "Known languages (%d)" --#~ msgstr "Znane jêzyki (%d)" -- --#~ msgid "" --#~ " In %s:\n" --#~ "\t" --#~ msgstr "" --#~ " W %s:\n" --#~ "\t" -- --#~ msgid "rows" --#~ msgstr "linii" -- --#~ msgid "columns" --#~ msgstr "kolumn" -- --#~ msgid "path_walk() on path %s\n" --#~ msgstr "path_walk() na ¶cie¿ce %s\n" -- --#~ msgid "In the style %s, the symbol '%s' uses upper chars" --#~ msgstr "W stylu %s symbol `%s' u¿ywa wielkich liter" -- --#~ msgid "in style %s, symbol `%s' is defined twice" --#~ msgstr "W stylu %s symbol `%s' jest zdefiniowane dwa razy" -- --#~ msgid "in style %s, regular symbol `%s' is defined twice" --#~ msgstr "W stylu %s symbol zyk³y `%s' jest zdefiniowane dwa razy" -- --#~ msgid "in style %s, special symbol `%s' is defined twice" --#~ msgstr "W stylu %s symbol specjalny `%s' jest zdefiniowane dwa razy" -- --#~ msgid "not enough \\verb delimiters (%s) to print %s" --#~ msgstr "za ma³o znaków ograniczaj±cych \\verb (%s) przy drukowaniu %s" -- --#~ msgid "couldn't find prolog \"%s\"" --#~ msgstr "nie mog³em znale¼æ prologu \"%s\"" -- --#~ msgid "unknown" --#~ msgstr "nieznane" diff --git a/a2ps-security.patch b/a2ps-security.patch deleted file mode 100644 index f32e1f3..0000000 --- a/a2ps-security.patch +++ /dev/null @@ -1,65 +0,0 @@ ---- a2ps-4.13/lib/routines.c~ 1999-10-16 06:46:37.000000000 +0200 -+++ a2ps-4.13/lib/routines.c 2003-08-21 09:58:57.361425544 +0200 -@@ -242,3 +242,50 @@ - /* Don't complain if you can't unlink. Who cares of a tmp file? */ - unlink (filename); - } -+ -+/* -+ * Securely generate a temp file, and make sure it gets -+ * deleted upon exit. -+ */ -+static char ** tempfiles = NULL; -+static unsigned ntempfiles = 0; -+ -+static void -+cleanup_tempfiles() -+{ -+ while (ntempfiles--) -+ unlink(tempfiles[ntempfiles]); -+} -+ -+char * -+safe_tempnam(const char *pfx) -+{ -+ char *dirname, *filename; -+ int fd; -+ -+ if (!(dirname = getenv("TMPDIR"))) -+ dirname = "/tmp"; -+ -+ tempfiles = (char **) realloc(tempfiles, -+ (ntempfiles+1) * sizeof(char *)); -+ if (tempfiles == NULL) -+ return NULL; -+ -+ filename = malloc(strlen(dirname) + strlen(pfx) + sizeof("/XXXXXX")); -+ if (!filename) -+ return NULL; -+ -+ sprintf(filename, "%s/%sXXXXXX", dirname, pfx); -+ -+ if ((fd = mkstemp(filename)) < 0) { -+ free(filename); -+ return NULL; -+ } -+ close(fd); -+ -+ if (ntempfiles == 0) -+ atexit(cleanup_tempfiles); -+ tempfiles[ntempfiles++] = filename; -+ -+ return filename; -+} ---- a2ps-4.13/lib/routines.h~ 1999-10-18 22:24:41.000000000 +0200 -+++ a2ps-4.13/lib/routines.h 2003-08-21 09:55:11.500761584 +0200 -@@ -255,7 +255,7 @@ - /* If _STR_ is not defined, give it a tempname in _TMPDIR_ */ - #define tempname_ensure(Str) \ - do { \ -- (Str) = (Str) ? (Str) : tempnam (NULL, "a2_"); \ -+ (Str) = (Str) ? (Str) : safe_tempnam("a2_"); \ - } while (0) -- -+char * safe_tempnam(const char *); - #endif diff --git a/a2ps-texinfo.patch b/a2ps-texinfo.patch deleted file mode 100644 index 1b6747c..0000000 --- a/a2ps-texinfo.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a2ps-4.14/doc/a2ps.texi.orig 2020-09-03 06:28:29.283053809 +0200 -+++ a2ps-4.14/doc/a2ps.texi 2020-09-03 06:43:07.508296055 +0200 -@@ -1,5 +1,6 @@ - \input texinfo @c -*- texinfo -*- - @c %**start of header -+@documentencoding UTF-8 - @setfilename a2ps.info - @settitle General Purpose PostScript Generating Utility - @c @setchapternewpage odd diff --git a/a2ps.spec b/a2ps.spec index fe75889..9098ec5 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -3,38 +3,46 @@ Summary(ja.UTF-8): テキスト→PostScript フィルタ Summary(pl.UTF-8): Filtr text/plain do Postscriptu Summary(zh_CN.UTF-8): 纯文本到Postscript转换器 Name: a2ps -Version: 4.14 -Release: 3 +Version: 4.15.4 +Release: 1 License: GPL v3+ Group: Applications/Text Source0: https://ftp.gnu.org/gnu/a2ps/%{name}-%{version}.tar.gz -# Source0-md5: 781ac3d9b213fa3e1ed0d79f986dc8c7 +# Source0-md5: 9fc7e8b04379b78d3be21c1b6b212c73 Source1: ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz # Source1-md5: fee1456d0e6e94af4fc5b5a1bb9687b7 Source2: ogonkify.1.pl Patch0: %{name}-info.patch -Patch1: %{name}-security.patch Patch2: %{name}-etc.patch -Patch3: %{name}-flex.patch Patch4: %{name}-conf.patch Patch5: %{name}-glibcpaper.patch Patch6: %{name}-autoenc.patch Patch7: %{name}-i18n.patch Patch8: %{name}-ogonkify-xfig-fix.patch -Patch9: %{name}-pl.po-update.patch -Patch10: %{name}-locale-names.patch -Patch11: %{name}-atan2.patch -Patch12: format-security.patch -Patch13: %{name}-texinfo.patch URL: http://www.gnu.org/software/a2ps/ -BuildRequires: automake +BuildRequires: autoconf >= 2.71 +BuildRequires: automake >= 1:1.15 +BuildRequires: bison BuildRequires: flex -BuildRequires: gettext-tools +BuildRequires: gc-devel >= 7.2 +BuildRequires: gettext-tools >= 0.20.2 BuildRequires: gperf +BuildRequires: help2man BuildRequires: libpaper-devel +BuildRequires: libtool >= 2:2 +BuildRequires: pkgconfig BuildRequires: texinfo Requires(post,postun): /sbin/ldconfig -Requires: psutils +Requires: psutils >= 1.17 +Suggests: ImageMagick +Suggests: ghostscript +# grog +Suggests: groff-perl +Suggests: gzip +Suggests: html2ps +Suggests: texlive-dvips +Obsoletes: a2ps-devel < 4.15 +Obsoletes: a2ps-static < 4.15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sysconfdir /etc/a2ps @@ -57,57 +65,41 @@ wszystko drukować (DVI, PostScript) przy użyciu tego samego polecenia. Zawiera program ,,ogonkify'' poprawiający błędnie zakodowany PostScript zawierający polskie znaki. -%package devel -Summary: Header files for a2ps library -Summary(pl.UTF-8): Pliki nagłówkowe biblioteki a2ps -Group: Development/Libraries +%package -n emacs-a2ps +Summary: Emacs support for a2ps +Summary(pl.UTF-8): Wsparcie do pracy z a2ps w Emacsie +Group: Applications/Editors Requires: %{name} = %{version}-%{release} +Requires: emacs-common -%description devel -Header files for a2ps library. +%description -n emacs-a2ps +Emacs a2ps mode and printing hook. -%description devel -l pl.UTF-8 -Pliki nagłówkowe biblioteki a2ps. - -%package static -Summary: a2ps static library -Summary(pl.UTF-8): Biblioteka statyczna a2ps -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} - -%description static -a2ps static library. - -%description static -l pl.UTF-8 -Biblioteka statyczna a2ps. +%description -n emacs-a2ps -l pl.UTF-8 +Tryb a2ps oraz obsługa drukowania przez a2ps dla Emacsa. %prep %setup -q -a1 %patch0 -p1 -%patch1 -p1 %patch2 -p1 -%patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p0 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%{__mv} po/{no,nb}.po +%{__sed} -i -e '1s,/usr/bin/env sh,/bin/sh,' contrib/{card,fixps,lp2,pdiff}.in %build -cp -f /usr/share/automake/config.* auxdir +%{__libtoolize} +%{__aclocal} -I m4 +%{__autoconf} +%{__autoheader} +%{__automake} %configure \ - --with-gnu-gettext \ - --with-medium=_glibc \ --with-encoding=latin1 \ - --enable-shared \ - --enable-kanji + --with-lispdir=%{_datadir}/emacs/site-lisp + %{__make} %install @@ -115,30 +107,27 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/a2ps/{afm,fonts} \ $RPM_BUILD_ROOT%{_mandir}/pl/man1 -%{__perl} -pi -e 's/^lispdir = $/lispdir = \$(prefix)\/lib\/emacs\/site-lisp/g' contrib/emacs/Makefile - %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install i18n-fonts-0.1/afm/*.afm $RPM_BUILD_ROOT%{_datadir}/a2ps/afm install i18n-fonts-0.1/fonts/*.pfb $RPM_BUILD_ROOT%{_datadir}/a2ps/fonts -install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1 +cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1 # it doesn't belong here (part of glibc in PLD case) %{__rm} $RPM_BUILD_ROOT%{_infodir}/regex.info -%find_lang %{name} +# a2ps and a2ps-gnulib domains +%find_lang %{name} --all-name %clean rm -rf $RPM_BUILD_ROOT %post [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 -/sbin/ldconfig %postun [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 -/sbin/ldconfig %files -f %{name}.lang %defattr(644,root,root,755) @@ -147,25 +136,20 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/a2ps.cfg %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/a2ps-site.cfg %attr(755,root,root) %{_bindir}/a2ps +%attr(755,root,root) %{_bindir}/a2ps-lpr-wrapper %attr(755,root,root) %{_bindir}/card %attr(755,root,root) %{_bindir}/composeglyphs -%attr(755,root,root) %{_bindir}/fixnt %attr(755,root,root) %{_bindir}/fixps +%attr(755,root,root) %{_bindir}/lp2 %attr(755,root,root) %{_bindir}/ogonkify %attr(755,root,root) %{_bindir}/pdiff -%attr(755,root,root) %{_bindir}/psmandup -%attr(755,root,root) %{_bindir}/psset -%attr(755,root,root) %{_bindir}/texi2dvi4a2ps -%attr(755,root,root) %{_libdir}/liba2ps.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/liba2ps.so.1 %{_mandir}/man1/a2ps.1* +%{_mandir}/man1/a2ps-lpr-wrapper.1* %{_mandir}/man1/card.1* %{_mandir}/man1/fixps.1* +%{_mandir}/man1/lp2.1* %{_mandir}/man1/ogonkify.1* %{_mandir}/man1/pdiff.1* -%{_mandir}/man1/psmandup.1* -%{_mandir}/man1/psset.1* -%{_mandir}/man1/texi2dvi4a2ps.1* %lang(pl) %{_mandir}/pl/man1/ogonkify.1* %{_infodir}/a2ps.info* %{_infodir}/ogonkify.info* @@ -188,12 +172,7 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/ogonkify/afm %{_datadir}/ogonkify/fonts -%files devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/liba2ps.so -%{_libdir}/liba2ps.la -%{_includedir}/liba2ps.h - -%files static +%files -n emacs-a2ps %defattr(644,root,root,755) -%{_libdir}/liba2ps.a +%{_datadir}/emacs/site-lisp/a2ps.el +%{_datadir}/emacs/site-lisp/a2ps-print.el diff --git a/format-security.patch b/format-security.patch deleted file mode 100644 index 3f8b4a6..0000000 --- a/format-security.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- a2ps-4.14/lib/output.c~ 2015-04-01 22:07:29.000000000 +0200 -+++ a2ps-4.14/lib/output.c 2015-04-01 22:08:53.825344087 +0200 -@@ -525,7 +525,7 @@ - expand_user_string (job, FIRST_FILE (job), - (const uchar *) "Expand: requirement", - (const uchar *) token)); -- output (dest, expansion); -+ output (dest, "%s", expansion); - continue; - } - ---- a2ps-4.14/lib/psgen.c~ 2007-12-29 02:58:22.000000000 +0100 -+++ a2ps-4.14/lib/psgen.c 2015-04-01 22:09:36.668677711 +0200 -@@ -232,7 +232,7 @@ - default: - *buf = '\0'; - ps_escape_char (job, cp[i], buf); -- output (jdiv, (char *) buf); -+ output (jdiv, "%s", (char *) buf); - break; - } - } ---- a2ps-4.14/lib/parseppd.y~ 2007-12-29 02:58:21.000000000 +0100 -+++ a2ps-4.14/lib/parseppd.y 2015-04-01 22:12:11.502012094 +0200 -@@ -154,7 +154,7 @@ - void - yyerror (const char *msg) - { -- error_at_line (1, 0, ppdfilename, ppdlineno, msg); -+ error_at_line (1, 0, ppdfilename, ppdlineno, "%s", msg); - } - - /* ---- a2ps-4.14/src/parsessh.y~ 2007-12-29 02:58:35.000000000 +0100 -+++ a2ps-4.14/src/parsessh.y 2015-04-01 22:12:50.782012360 +0200 -@@ -740,7 +740,7 @@ - void - yyerror (const char *msg) - { -- error_at_line (1, 0, sshfilename, sshlineno, msg); -+ error_at_line (1, 0, sshfilename, sshlineno, "%s", msg); - } - - /*