Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2013 20:31:47 GMT
From:      Antoine Brodin <antoine@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/179230: [patch] [bsd.pkgng.mk] gtk-query-immodules-2.0 and 3.0 should be run post-deinstall
Message-ID:  <201306022031.r52KVlpn067972@pepperseed.dreadbsd.org>
Resent-Message-ID: <201306022040.r52Ke0tw032084@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179230
>Category:       ports
>Synopsis:       [patch] [bsd.pkgng.mk] gtk-query-immodules-2.0 and 3.0 should be run post-deinstall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 02 20:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Antoine Brodin
>Release:        FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
none
>Environment:
System: FreeBSD pepperseed.dreadbsd.org 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


>Description:

Currently with poudriere, file modification is detected post-deinstall:
====>> Checking for extra files and directories
====>> Files or directories modified:
etc/gtk-2.0/gtk.immodules
===>  Cleaning for scim-1.4.9_1


%%# diff preinst postdeinst
%%3c3
%%< # Created by /usr/local/bin/gtk-query-immodules-2.0 from gtk+-2.24.18
%%---
%%> # Created by gtk-query-immodules-2.0 from gtk+-2.24.18
%%39a40,42
%%> "/usr/local/lib/gtk-2.0/immodules/im-scim.so"
%%> "scim" "SCIM Input Method" "scim" "/usr/local/share/locale" "ja:ko:zh"
%%>


gtk-query-immodules-2.0 and 3.0 should be run post-deinstall

Note that this patch is not enough to fix the leftover detection, as the path of gtk-query-immodules is embedded in output

With patch applied:

%%# diff preinst postdeinst
%%3c3
%%< # Created by /usr/local/bin/gtk-query-immodules-2.0 from gtk+-2.24.18
%%---
%%> # Created by gtk-query-immodules-2.0 from gtk+-2.24.18

More consistency is needed in ports using this file

>How-To-Repeat:
>Fix:


--- bsd.pkgng.mk.diff begins here ---
Index: bsd.pkgng.mk
===================================================================
--- bsd.pkgng.mk	(revision 319642)
+++ bsd.pkgng.mk	(working copy)
@@ -20,6 +20,7 @@
 _FORCE_POST_PATTERNS=	rmdir kldxref mkfontscale mkfontdir fc-cache \
 						fonts.dir fonts.scale gtk-update-icon-cache \
 						gio-querymodules \
+						gtk-query-immodules-2.0 gtk-query-immodules-3.0 \
 						ldconfig \
 						update-desktop-database update-mime-database \
 						gdk-pixbuf-query-loaders catalog.ports \
--- bsd.pkgng.mk.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306022031.r52KVlpn067972>