pkgsrc-Bugs archive

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

pkg/48059: x11/gtk2: Fix immodule.cache path for gtk+-2.24.20



>Number:         48059
>Category:       pkg
>Synopsis:       x11/gtk2: Fix immodule.cache path for gtk+-2.24.20
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 17 18:05:00 +0000 2013
>Originator:     YAMASHIRO, Jun
>Release:        NetBSD/amd64 6.99.23
>Organization:
Okinawa FreeBSD Users Group
>Environment:
NetBSD yamajun 6.99.23 NetBSD 6.99.23 (YAMAJUN) #100: Sat Jul 13 08:17:42 JST 
2013  yamajun@yamajun:/usr/src/sys/arch/amd64/compile/YAMAJUN amd64
>Description:
x11/gtk2 updated to 2.24.20.  This version changed location of 
"immodules.cache".  But, post-install/deinstall process for pkgsrc
is not changed in last update.  This update make a bug for immodule user.

>How-To-Repeat:
# cd /usr/pkgsrc/x11/gtk2
# make install
    V
$ env LANG=C gtk-demo 
    V
Choose "Text Widget >> Hypertext" and double click.
    V
Right-button click on "Hypertext" window and choose "Input methods"
    V
Cannot choose Cyrillic, IPA, Thai, Vietnamese etc.

>Fix:
Apply this patch to x11/gtk2

Index: modules.mk
===================================================================
RCS file: /cvsroot/pkgsrc/x11/gtk2/modules.mk,v
retrieving revision 1.16
diff -u -r1.16 modules.mk
--- modules.mk  15 Nov 2010 18:28:45 -0000      1.16
+++ modules.mk  17 Jul 2013 17:22:50 -0000
@@ -21,7 +21,7 @@
 .if defined(GTK2_IMMODULES) && !empty(GTK2_IMMODULES:M[Yy][Ee][Ss])
 FILES_SUBST+=          GTK_IMMODULES_DB=${GTK_IMMODULES_DB:Q}
 FILES_SUBST+=          GTK_QUERY_IMMODULES=${GTK_QUERY_IMMODULES:Q}
-GTK_IMMODULES_DB=      ${BUILDLINK_PREFIX.gtk2}/libdata/gtk-2.0/gtk.immodules
+GTK_IMMODULES_DB=      
${BUILDLINK_PREFIX.gtk2}/lib/gtk-2.0/2.10.0/immodules.cache
 INSTALL_TEMPLATES+=    ../../x11/gtk2/files/immodules.tmpl
 DEINSTALL_TEMPLATES+=  ../../x11/gtk2/files/immodules.tmpl
 .endif



Home | Main Index | Thread Index | Old Index