pkgsrc-Bugs archive

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

Re: pkg/34103: graphics/gimp graphics/gimp24 Solaris install lib/locale



The following reply was made to PR pkg/34103; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
To: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
        pkgsrc-bugs%NetBSD.org@localhost, dauphin%enst.fr@localhost, 
gnats-bugs%NetBSD.org@localhost
Cc: tech-pkg%NetBSD.org@localhost
Subject: Re: pkg/34103: graphics/gimp graphics/gimp24 Solaris install lib/locale
Date: Thu, 3 Aug 2006 11:33:47 +0200 (CEST)

 >  >  > >Number:         34103
 >  >  > >Category:       pkg
 >  >  > >Synopsis:       graphics/gimp graphics/gimp24 Solaris install 
 > lib/locale
 >  >  > 
 >  >  > >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.
 >  >  
 >  >  Same patch for x11/gtksourceview.
 >  
 >  Same patch for games/gnome2-games
 >  
 >  >  
 >  >  > 
 >  >  > --- 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@.
 
 I finally found the true patch for all 'gnulocaledir' (itlocaledir)
 The suggest for all this bug is the following patch in
  mk/configure/replace-localedir.mk
  
 --- replace-localedir.mk.orig   Wed Jul  5 08:09:15 2006
 +++ replace-localedir.mk        Thu Aug  3 11:23:55 2006
 @@ -41,5 +41,6 @@
  SUBST_FILES.pkglocaledir=      ${_REPLACE_LOCALEDIR}
  SUBST_SED.pkglocaledir=                \
         -e 's|^\(localedir[     :]*=\).*|\1 ${_PKGLOCALEDIR}|'          \
 +       -e 's|^\(itlocaledir[   :]*=\).*|\1 ${_PKGLOCALEDIR}|'          \
         -e 's|^\(gnulocaledir[  :]*=\).*|\1 ${_PKGLOCALEDIR}|'          \
         -e 's|\(-DLOCALEDIR[    ]*=\)[^         
]*\(\.\*\)|\1"\\"${_PKGLOCALEDIR}\\""\2|'
 
 Cheers
 Gilles
 



Home | Main Index | Thread Index | Old Index