groff/groff-force-locale-usage.patch
Michal Vyskocil ec2f64e018 - implemented FATE#312586 - Add locales support for groff papersize
* the default papersize is now determined from system locale (LC_PAPER)
  * /etc/papersize is no longer owned by the groff package

OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=25
2011-09-29 08:23:09 +00:00

64 lines
2.6 KiB
Diff

Index: groff-1.21/font/devdvi/Makefile.sub
===================================================================
--- groff-1.21.orig/font/devdvi/Makefile.sub 2011-09-29 10:18:51.000000000 +0200
+++ groff-1.21/font/devdvi/Makefile.sub 2011-09-29 10:20:09.299489369 +0200
@@ -16,8 +16,8 @@
DESC: DESC.in
cat $(srcdir)/DESC.in >DESC
if test "$(PAGE)" = A4; then \
- echo "papersize /etc/papersize a4" >>DESC; \
+ echo "papersize /etc/papersize locale a4" >>DESC; \
else \
- echo "papersize /etc/papersize letter" >>DESC; \
+ echo "papersize /etc/papersize locale letter" >>DESC; \
fi
test -z '$(DVIPRINT)' || echo print '$(DVIPRINT)' >>DESC
Index: groff-1.21/font/devlbp/Makefile.sub
===================================================================
--- groff-1.21.orig/font/devlbp/Makefile.sub 2011-09-29 10:18:51.000000000 +0200
+++ groff-1.21/font/devlbp/Makefile.sub 2011-09-29 10:20:25.060031676 +0200
@@ -13,9 +13,9 @@
-rm -f DESC
cat $(srcdir)/DESC.in >>DESC
if test "$(PAGE)" = A4; then \
- echo "papersize /etc/papersize a4" >>DESC; \
+ echo "papersize /etc/papersize locale a4" >>DESC; \
else \
- echo "papersize /etc/papersize letter" >>DESC; \
+ echo "papersize /etc/papersize locale letter" >>DESC; \
fi
test -z '$(LBPPRINT)' || echo print '$(LBPPRINT)' >>DESC
Index: groff-1.21/font/devlj4/Makefile.sub
===================================================================
--- groff-1.21.orig/font/devlj4/Makefile.sub 2011-09-29 10:18:51.000000000 +0200
+++ groff-1.21/font/devlj4/Makefile.sub 2011-09-29 10:20:35.332386890 +0200
@@ -30,9 +30,9 @@
echo "unitwidth `expr 7620000 / $(LJ4RES)`" >>DESC
cat $(srcdir)/DESC.in >>DESC
if test "$(PAGE)" = A4; then \
- echo "papersize /etc/papersize a4" >>DESC; \
+ echo "papersize /etc/papersize locale a4" >>DESC; \
else \
- echo "papersize /etc/papersize letter" >>DESC; \
+ echo "papersize /etc/papersize locale letter" >>DESC; \
fi
test -z '$(LJ4PRINT)' || echo print '$(LJ4PRINT)' >>DESC
Index: groff-1.21/font/devps/Makefile.sub
===================================================================
--- groff-1.21.orig/font/devps/Makefile.sub 2011-09-29 10:18:51.000000000 +0200
+++ groff-1.21/font/devps/Makefile.sub 2011-09-29 10:20:45.194727208 +0200
@@ -40,9 +40,9 @@
cat $(srcdir)/DESC.in >DESC
echo broken $(BROKEN_SPOOLER_FLAGS) >>DESC
if test "$(PAGE)" = A4; then \
- echo "papersize /etc/papersize a4" >>DESC; \
+ echo "papersize /etc/papersize locale a4" >>DESC; \
else \
- echo "papersize /etc/papersize letter" >>DESC; \
+ echo "papersize /etc/papersize locale letter" >>DESC; \
fi
test -z '$(PSPRINT)' || echo print '$(PSPRINT)' >>DESC