- Put %%%%Pages: after %%%%Trailer. (#424951)

This commit is contained in:
Akira TAGOH 2008-01-15 02:16:55 +00:00
parent 307c33a548
commit ddd1ea2886
2 changed files with 18 additions and 5 deletions

View File

@ -1,6 +1,6 @@
diff -pruN paps-0.6.8.orig/src/libpaps.c paps-0.6.8/src/libpaps.c diff -pruN paps-0.6.8.orig/src/libpaps.c paps-0.6.8/src/libpaps.c
--- paps-0.6.8.orig/src/libpaps.c 2008-01-10 22:43:44.000000000 +0900 --- paps-0.6.8.orig/src/libpaps.c 2008-01-15 11:09:30.000000000 +0900
+++ paps-0.6.8/src/libpaps.c 2008-01-10 22:53:43.000000000 +0900 +++ paps-0.6.8/src/libpaps.c 2008-01-15 11:10:10.000000000 +0900
@@ -118,7 +118,6 @@ gchar *paps_get_postscript_header_strdup @@ -118,7 +118,6 @@ gchar *paps_get_postscript_header_strdup
gchar *ret_str; gchar *ret_str;
g_string_append_printf(paps->header, g_string_append_printf(paps->header,
@ -42,8 +42,8 @@ diff -pruN paps-0.6.8.orig/src/libpaps.c paps-0.6.8/src/libpaps.c
} }
diff -pruN paps-0.6.8.orig/src/paps.c paps-0.6.8/src/paps.c diff -pruN paps-0.6.8.orig/src/paps.c paps-0.6.8/src/paps.c
--- paps-0.6.8.orig/src/paps.c 2008-01-10 22:43:44.000000000 +0900 --- paps-0.6.8.orig/src/paps.c 2008-01-15 11:09:30.000000000 +0900
+++ paps-0.6.8/src/paps.c 2008-01-10 22:49:05.000000000 +0900 +++ paps-0.6.8/src/paps.c 2008-01-15 11:10:46.000000000 +0900
@@ -665,7 +665,7 @@ int main(int argc, char *argv[]) @@ -665,7 +665,7 @@ int main(int argc, char *argv[])
fprintf(OUT, "%s", paps_header); fprintf(OUT, "%s", paps_header);
g_free(paps_header); g_free(paps_header);
@ -82,3 +82,13 @@ diff -pruN paps-0.6.8.orig/src/paps.c paps-0.6.8/src/paps.c
"%% User settings\n" "%% User settings\n"
"/pagewidth %d def\n" "/pagewidth %d def\n"
"/pageheight %d def\n" "/pageheight %d def\n"
@@ -1238,8 +1241,8 @@ void print_postscript_trailer(FILE *OUT,
int num_pages)
{
fprintf(OUT,
- "%%%%Pages: %d\n"
"%%%%Trailer\n"
+ "%%%%Pages: %d\n"
"%%%%EOF\n",
num_pages
);

View File

@ -1,6 +1,6 @@
Name: paps Name: paps
Version: 0.6.8 Version: 0.6.8
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: http://paps.sourceforge.net/ URL: http://paps.sourceforge.net/
@ -98,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libpaps.so %{_libdir}/libpaps.so
%changelog %changelog
* Tue Jan 15 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-3
- Put %%%%Pages: after %%%%Trailer. (#424951)
* Thu Jan 10 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-2 * Thu Jan 10 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-2
- paps-0.6.8-dsc-compliant.patch: Patch out to be DSC compliant. (#424951) - paps-0.6.8-dsc-compliant.patch: Patch out to be DSC compliant. (#424951)