Subject: pkg/34103: graphics/gimp graphics/gimp24 Solaris install lib/locale
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 07/28/2006 15:50:01
>Number:         34103
>Category:       pkg
>Synopsis:       graphics/gimp graphics/gimp24 Solaris install lib/locale
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 28 15:50:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


=> Checking file-check results for gimp-2.2.12
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/lib/locale/bg/LC_MESSAGES/gimp20.mo
ERROR:         /usr/pkg/lib/locale/ca/LC_MESSAGES/gimp20.mo
ERROR:         /usr/pkg/lib/locale/cs/LC_MESSAGES/gimp20.mo
ERROR:         /usr/pkg/lib/locale/da/LC_MESSAGES/gimp20.mo
ERROR:         /usr/pkg/lib/locale/de/LC_MESSAGES/gimp20.mo
ERROR:         /usr/pkg/lib/locale/el/LC_MESSAGES/gimp20.mo
...
ERROR:         /usr/pkg/lib/locale/zh_TW/LC_MESSAGES/gimp20.mo
*** Error code 1

Stop.



>How-To-Repeat:


bmake install


>Fix:


Let the subst part do the work and *.mo file go in /usr/pkg/lib
not in /usr/pkg/share. Please apply patch also to gimp24.

--- po/Makefile.in.in.orig      Wed Jun 14 22:28:21 2006
+++ po/Makefile.in.in   Fri Jul 28 17:42:45 2006
@@ -34,7 +34,8 @@
 datarootdir = @datarootdir@
 libdir = @libdir@
 DATADIRNAME = @DATADIRNAME@
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+localedir = $(prefix)/$(DATADIRNAME)/locale
+itlocaledir = $(localedir)
 subdir = po
 install_sh = @install_sh@
 # Automake >= 1.8 provides @mkdir_p@.