From owner-freebsd-ports@freebsd.org Tue Sep 8 22:51:27 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21682A00F5D for ; Tue, 8 Sep 2015 22:51:27 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 07B17189E for ; Tue, 8 Sep 2015 22:51:27 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id t88MpKKN087293 for ; Tue, 8 Sep 2015 15:51:24 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201509082251.t88MpKKN087293@gw.catspoiler.org> Date: Tue, 8 Sep 2015 15:51:20 -0700 (PDT) From: Don Lewis Subject: USES=desktop-file-utils, INSTALLS_ICONS, and pkg To: freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2015 22:51:27 -0000 I've been working on a port update and happened to notice that when I installed an updated package the entries under the Applications menu on my desktop were not getting updated. Looking at /usr/ports/Mk/Uses/desktop-file-utils.mk, I see that it adds "@desktop-file-utils" to PLIST_FILES, and I do see this in .PLIST.mktmp when I build the port. I don't see it in the +MANIFEST file in the package .txz file. Digging through the source for pkg, I don't see anything in the code for handling @desktop-file-utils. Something else that I don't see in the source for pkg is anything that handles @rmtry, which INSTALL_ICONS wants to add to the plist. Neither of these @things is documented in pkg-create(8). Reading this man page, I see that @exec and @unexec are deprecated, and these are used fairly heavily in the ports framework.