auto-import changelog data from a2ps-4.13b-19.src.rpm
Mon Feb 25 2002 Tim Waugh <twaugh@redhat.com> 4.13b-19 - Rebuild in new environment. Tue Jan 22 2002 Tim Waugh <twaugh@redhat.com> 4.13b-18 - Fix a2ps-4.13-conf.patch (bug #31360). - Add documentation about the default behaviour concerning LC_PAPER (bug #43829). Wed Jan 09 2002 Tim Powers <timp@redhat.com> 4.13b-17 - automated rebuild Wed Jan 09 2002 Tim Waugh <twaugh@redhat.com> - Fix build with newer compiler. - s/Copyright:/License:/. - Use C locale's decimal point style (bug #53715).
This commit is contained in:
parent
9ba50e7ead
commit
ce7e79bb2b
5 changed files with 157 additions and 3 deletions
|
|
@ -12,7 +12,7 @@
|
|||
+for ac_dir in /usr/share/fonts/default/Type1 \
|
||||
+ /usr/share/fonts/default/ghostscript \
|
||||
+ /usr/share/fonts/afms/adobe \
|
||||
+ /usr/share/fonts/ISO8859-2/Type1/afm ;
|
||||
+ /usr/X11R6/lib/X11/fonts/latin2/Type1/afm ;
|
||||
do
|
||||
if test "cd $ac_dir 2>/dev/null && echo *.afm"; then
|
||||
ac_psfont_path="$ac_psfont_path:$ac_dir";
|
||||
|
|
|
|||
|
|
@ -55,3 +55,32 @@
|
|||
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
--- a2ps-4.13/doc/a2ps.texi.glibcpaper Wed Jan 23 12:36:30 2002
|
||||
+++ a2ps-4.13/doc/a2ps.texi Wed Jan 23 12:40:08 2002
|
||||
@@ -1363,6 +1363,12 @@
|
||||
ask the library @code{libpaper} for the medium to use. This choice is
|
||||
valid only if @code{libpaper} was available when @pack{} was configured.
|
||||
See the man page of @code{paperconf} for more information.
|
||||
+
|
||||
+The special @var{medium} @samp{_glibc} (which, in this Red Hat Linux
|
||||
+version of @samp{a2ps}, is the default) means that you want the medium
|
||||
+to be determined by the locale category @samp{LC_PAPER}. Note that this
|
||||
+information is obtained from environment variables which may not be set
|
||||
+up in non-interactive environments (such as in a cron job).
|
||||
@end defvr
|
||||
|
||||
@defvr {Option} -r
|
||||
--- a2ps-4.13/man/a2ps.1.glibcpaper Wed Jan 23 12:42:36 2002
|
||||
+++ a2ps-4.13/man/a2ps.1 Wed Jan 23 12:45:05 2002
|
||||
@@ -60,6 +60,11 @@
|
||||
.TP
|
||||
\fB\-M\fR, \fB\-\-medium\fR=\fINAME\fR
|
||||
use output medium NAME
|
||||
+
|
||||
+The default behaviour is to use the locale category
|
||||
+\fBLC_PAPER\fR to determine the medium to use. Note that this
|
||||
+information is obtained from environment variables which may not be set
|
||||
+up in non-interactive environments (such as in a cron job).
|
||||
.TP
|
||||
\fB\-r\fR, \fB\-\-landscape\fR
|
||||
print in landscape mode
|
||||
|
|
|
|||
92
a2ps-4.13b-attr.patch
Normal file
92
a2ps-4.13b-attr.patch
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
--- a2ps-4.13/lib/fonts.c.attr Wed Jan 9 14:41:27 2002
|
||||
+++ a2ps-4.13/lib/fonts.c Wed Jan 9 14:42:01 2002
|
||||
@@ -2173,7 +2173,7 @@
|
||||
* in the encoding specific dictionary
|
||||
*/
|
||||
int
|
||||
-font_is_to_reencode (PARAM_UNUSED struct a2ps_job * job, const char * key)
|
||||
+font_is_to_reencode (struct a2ps_job * job PARAM_UNUSED, const char * key)
|
||||
{
|
||||
return !strequ (key, "Symbol");
|
||||
}
|
||||
--- a2ps-4.13/lib/lister.c.attr Wed Jan 9 14:41:30 2002
|
||||
+++ a2ps-4.13/lib/lister.c Wed Jan 9 14:42:28 2002
|
||||
@@ -333,7 +333,7 @@
|
||||
}
|
||||
|
||||
void
|
||||
-lister_fprint_vertical (struct lister * lister, PARAM_UNUSED FILE *unused,
|
||||
+lister_fprint_vertical (struct lister * lister, FILE *unused PARAM_UNUSED,
|
||||
void **items, size_t item_number,
|
||||
lister_width_t item_width_fn,
|
||||
lister_print_t item_print_fn)
|
||||
@@ -483,7 +483,7 @@
|
||||
/* FIXME: document */
|
||||
|
||||
void
|
||||
-lister_fprint_horizontal (struct lister * lister, PARAM_UNUSED FILE *unused,
|
||||
+lister_fprint_horizontal (struct lister * lister, FILE *unused PARAM_UNUSED,
|
||||
void **items, size_t item_number,
|
||||
lister_width_t item_width_fn,
|
||||
lister_print_t item_print_fn)
|
||||
@@ -577,7 +577,7 @@
|
||||
*/
|
||||
|
||||
void
|
||||
-lister_fprint_separated (struct lister * lister,PARAM_UNUSED FILE *unused,
|
||||
+lister_fprint_separated (struct lister * lister,FILE *unused PARAM_UNUSED,
|
||||
void **items, size_t item_number,
|
||||
lister_width_t item_width_fn,
|
||||
lister_print_t item_print_fn)
|
||||
--- a2ps-4.13/lib/media.c.attr Wed Jan 9 14:41:33 2002
|
||||
+++ a2ps-4.13/lib/media.c Wed Jan 9 14:42:35 2002
|
||||
@@ -190,7 +190,7 @@
|
||||
|
||||
/* Is libpaper used? */
|
||||
bool
|
||||
-a2ps_medium_libpaper_p (PARAM_UNUSED a2ps_job * job, const char * name)
|
||||
+a2ps_medium_libpaper_p (a2ps_job * job PARAM_UNUSED, const char * name)
|
||||
{
|
||||
return strequ (name, LIBPAPER_MEDIUM) ? true : false;
|
||||
}
|
||||
--- a2ps-4.13/lib/pathwalk.c.attr Wed Jan 9 14:41:38 2002
|
||||
+++ a2ps-4.13/lib/pathwalk.c Wed Jan 9 14:42:47 2002
|
||||
@@ -425,14 +425,14 @@
|
||||
/* Helping functions for pw_glob. */
|
||||
|
||||
static bool
|
||||
-pw_filter_fnmatch (PARAM_UNUSED const char * dir, const char *file,
|
||||
+pw_filter_fnmatch (const char * dir PARAM_UNUSED, const char *file,
|
||||
const char *pattern)
|
||||
{
|
||||
return !fnmatch (pattern, file, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
-pw_filter_da_append (PARAM_UNUSED const char * dir, const char *file,
|
||||
+pw_filter_da_append (const char * dir PARAM_UNUSED, const char *file,
|
||||
struct darray *da)
|
||||
{
|
||||
da_append (da, xstrdup (file));
|
||||
--- a2ps-4.13/lib/routines.c.attr Wed Jan 9 14:41:42 2002
|
||||
+++ a2ps-4.13/lib/routines.c Wed Jan 9 14:42:54 2002
|
||||
@@ -235,7 +235,7 @@
|
||||
* Unlink the file FILENAME.
|
||||
*/
|
||||
void
|
||||
-unlink2 (PARAM_UNUSED void * dummy, const char * filename)
|
||||
+unlink2 (void * dummy PARAM_UNUSED, const char * filename)
|
||||
{
|
||||
message (msg_tool | msg_file, (stderr, "Unlinking file `%s'\n", filename));
|
||||
|
||||
--- a2ps-4.13/lib/fonts.l.attr Wed Jan 9 14:58:38 2002
|
||||
+++ a2ps-4.13/lib/fonts.l Wed Jan 9 14:58:52 2002
|
||||
@@ -585,7 +585,7 @@
|
||||
* in the encoding specific dictionary
|
||||
*/
|
||||
int
|
||||
-font_is_to_reencode (PARAM_UNUSED struct a2ps_job * job, const char * key)
|
||||
+font_is_to_reencode (struct a2ps_job * job PARAM_UNUSED, const char * key)
|
||||
{
|
||||
return !strequ (key, "Symbol");
|
||||
}
|
||||
10
a2ps-4.13b-numeric.patch
Normal file
10
a2ps-4.13b-numeric.patch
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- a2ps-4.13/src/main.c.numeric Wed Jan 9 14:59:46 2002
|
||||
+++ a2ps-4.13/src/main.c Wed Jan 9 15:03:52 2002
|
||||
@@ -951,6 +951,7 @@
|
||||
setlocale (LC_PAPER, "");
|
||||
|
||||
locale = setlocale (LC_ALL, "");
|
||||
+ setlocale (LC_NUMERIC, "C");
|
||||
/* fprintf(stderr, "locale : %s\n", locale); */
|
||||
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
27
a2ps.spec
27
a2ps.spec
|
|
@ -1,11 +1,11 @@
|
|||
%define ver 4.13b
|
||||
%define rel 15
|
||||
%define rel 19
|
||||
|
||||
Summary: Converts text and other types of files to PostScript(TM).
|
||||
Name: a2ps
|
||||
Version: %{ver}
|
||||
Release: %{rel}
|
||||
Copyright: GPL
|
||||
License: GPL
|
||||
Group: Applications/Publishing
|
||||
Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
|
||||
Source1: ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz
|
||||
|
|
@ -18,6 +18,8 @@ Patch5: a2ps-4.13-varargs.patch
|
|||
# EUC-JP support
|
||||
Patch10: a2ps-4.13-eucjp.patch.bz2
|
||||
Patch11: a2ps-4.13-autoenc.patch
|
||||
Patch12: a2ps-4.13b-attr.patch
|
||||
Patch13: a2ps-4.13b-numeric.patch
|
||||
Requires: fileutils sh-utils info
|
||||
Buildrequires: /usr/bin/emacs
|
||||
Url: http://www.inf.enst.fr/~demaille/a2ps/
|
||||
|
|
@ -42,6 +44,11 @@ and medias.
|
|||
|
||||
%patch10 -p1 -b .euc
|
||||
%patch11 -p1 -b .ae
|
||||
%patch12 -p1 -b .attr
|
||||
|
||||
# Use C locale's decimal point style (bug #53715).
|
||||
%patch13 -p1 -b .numeric
|
||||
|
||||
libtoolize --copy --force
|
||||
|
||||
%build
|
||||
|
|
@ -141,6 +148,22 @@ fi
|
|||
%dir %{_datadir}/a2ps
|
||||
|
||||
%changelog
|
||||
* Mon Feb 25 2002 Tim Waugh <twaugh@redhat.com> 4.13b-19
|
||||
- Rebuild in new environment.
|
||||
|
||||
* Tue Jan 22 2002 Tim Waugh <twaugh@redhat.com> 4.13b-18
|
||||
- Fix a2ps-4.13-conf.patch (bug #31360).
|
||||
- Add documentation about the default behaviour concerning LC_PAPER
|
||||
(bug #43829).
|
||||
|
||||
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 4.13b-17
|
||||
- automated rebuild
|
||||
|
||||
* Wed Jan 9 2002 Tim Waugh <twaugh@redhat.com>
|
||||
- Fix build with newer compiler.
|
||||
- s/Copyright:/License:/.
|
||||
- Use C locale's decimal point style (bug #53715).
|
||||
|
||||
* Fri Jun 1 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
|
||||
- fixed varargs-usage in title.c
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue