pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/29966: three packages have locale PLIST problems on Solaris (at least)



>Number:         29966
>Category:       pkg
>Synopsis:       three packages have locale PLIST problems on Solaris (at least)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 14 05:21:00 +0000 2005
>Originator:     Simon Kuhn
>Release:        pkgsrc-current
>Organization:
Case Western Reserve University
>Environment:
SunOS reducto 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V240 Solaris

>Description:
Two packages (that I have found) do not set USE_PKGLOCALDIR=YES in their 
Makefile, but use ${PKGLOCALEDIR} in their PLIST file.

On Solaris this causes the locale files to install to /usr/local/share/locale 
rather than /usr/local/lib/locale, and so those files are not properly 
packaged. On other operating systems where locales go to /usr/local/lib/locale 
by default this probably goes unnoticed.

The two packages in question are subversion-base and libgnomecups. There are 
probably others that I have not installed yet.

A third package installs locale files into /usr/local/share/locale/ but does 
not do anything with them at all. This is bison, which doesn't list its locale 
files in its PLIST at all. It also needs USE_PKGLOCALEDIR=YES in its Makefile 
once the PLIST is fixed.
>How-To-Repeat:
Build and install on Solaris 9.
>Fix:
Add to bison/Makefile, subversion-base/Makefile, libgnomecups/Makefile:

USE_PKGLOCALEDIR=      yes

Add to bison/PLIST:

${PKGLOCALEDIR}/locale/da/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/et/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/id/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/it/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/bison.mo




Home | Main Index | Thread Index | Old Index