[Bug 643083] New: groff: remove /etc/papersize from the RPM
https://bugzilla.novell.com/show_bug.cgi?id=643083 https://bugzilla.novell.com/show_bug.cgi?id=643083#c0 Summary: groff: remove /etc/papersize from the RPM Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: All OS/Version: SuSE Other Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jsmeix@novell.com QAContact: qa@suse.de CC: tiwai@novell.com, mvyskocil@novell.com Found By: Development Blocker: --- Our groff package contains /etc/papersize by accident. This can cause confusion in applications which read it what the right papersize is because it seems /etc/papersize contains hardcoded "letter" regardless which locale settings the user selected during system installation (except for US locales the usual paper size is "A4"). See https://bugzilla.novell.com/show_bug.cgi?id=88286#c14 ---------------------------------------------------------------------- .. please don't rely on /etc/papersize. This is a debian extension to groff, which "accidentally" is in our groff package as well because we use the debian groff patch to make groff work for Japanese. ----------------------------------------------------------------------- If possible I suggest to remove the /etc/papersize file at all (i.e. when groff does not need it) or at least change its content to "A4" by default or provide some RPM post-install magic to set its content according to the locale settings the user did during system installation (and use "A4" as fallback if the magic fails). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=643083
https://bugzilla.novell.com/show_bug.cgi?id=643083#c1
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=643083
https://bugzilla.novell.com/show_bug.cgi?id=643083#c2
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=643083
https://bugzilla.novell.com/show_bug.cgi?id=643083#c3
--- Comment #3 from Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=643083
https://bugzilla.novell.com/show_bug.cgi?id=643083#c4
--- Comment #4 from Michal Vyskocil
On the one hand root's locale is "en_GB..." but in contrast I have in /etc/sysconfig/language RC_LANG="en_US.UTF-8" RC_LC_ALL="" RC_LC_PAPER=""
There is ROOT_USES_LANG variable, which might be responsible - but cannot guarantee, it's completely new for me too :) (In reply to comment #3)
As long as RC_LC_PAPER is undefined, RC_LANG also influences RC_LC_PAPER.
I am not happy that /etc/papersize depends on the system language. I use RC_LANG=en_US.UTF-8 like Johannes, because I don't want to guess german error codes, or take care of permuted prompt letters ("(c)ancel (a)ccept" versus ("(a)bbrechen - (w)eiter") and so on.
I agree this might be confusing, as developers uses the US locales. On the other hand do you know about some reasonable way how to detect user wants to have US locale, but different German/European paper size, collate, ...? Don't want add more "magic" to the SuSEconfig.groff. Maybe the Yast installer/language editor should address that ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=643083
https://bugzilla.novell.com/show_bug.cgi?id=643083#c5
--- Comment #5 from Takashi Iwai
(In reply to comment #2)
On the one hand root's locale is "en_GB..." but in contrast I have in /etc/sysconfig/language RC_LANG="en_US.UTF-8" RC_LC_ALL="" RC_LC_PAPER=""
There is ROOT_USES_LANG variable, which might be responsible - but cannot guarantee, it's completely new for me too :)
$ROOT_USES_LANG can be only either "yes", "ctype" or "no". Anything else is handled as "no". Thus, it can't point to a different locale per design. See /etc/profile.d/lang.sh. But, the system can take another i18n setup, e.g. $HOME/.i18n file or the desktop system itself; GNOME or KDE can override the system locale. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=643083
https://bugzilla.novell.com/show_bug.cgi?id=643083#c6
--- Comment #6 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=643083
https://bugzilla.novell.com/show_bug.cgi?id=643083#c7
--- Comment #7 from Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=643083
https://bugzilla.novell.com/show_bug.cgi?id=643083#c8
--- Comment #8 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=643083 https://bugzilla.novell.com/show_bug.cgi?id=643083#c Bug 643083 depends on bug 633128, which changed state. Bug 633128 Summary: Update groff to 1.20.1 http://bugzilla.novell.com/show_bug.cgi?id=633128 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=643083
https://bugzilla.novell.com/show_bug.cgi?id=643083#c9
Michal Vyskocil
participants (1)
-
bugzilla_noreply@novell.com