Date: Sun, 13 Jan 2008 10:57:09 GMT From: José García Juanino <jjuanino@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/119621: [patch] print/cups-base installs files outside of /usr/local Message-ID: <200801131057.m0DAv9hP067348@www.freebsd.org> Resent-Message-ID: <200801131100.m0DB02l2003784@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119621 >Category: ports >Synopsis: [patch] print/cups-base installs files outside of /usr/local >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 13 11:00:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: José García Juanino >Release: 6.2-RELEASE-p9 >Organization: >Environment: FreeBSD sanabria.inad.es 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Sun Jan 6 22:58:30 CET 2008 root@sanabria.inad.es:/export/FreeBSD/obj62/export/FreeBSD/src62/sys/MK2007Jun29 i386 >Description: print/cups-base port installs the file /usr/share/applications/cups.desktop It should be /usr/local/share/applications/cups.desktop >How-To-Repeat: Check the existence of /usr/share/applications/cups.desktop file before and after installing print/cups-base port. >Fix: Apply the submitted patch as follow: # cd /usr/ports/print/cups-base # patch -p1 < cups-base.diff Patch attached with submission follows: diff -uNr cups-base.orig/Makefile cups-base/Makefile --- cups-base.orig/Makefile Sun Jan 13 11:22:17 2008 +++ cups-base/Makefile Sun Jan 13 11:24:51 2008 @@ -41,6 +41,7 @@ --with-system-groups=${CUPSSYSGRP} \ --with-docdir=${DOCSDIR} \ --with-icondir=${PREFIX}/share/icons \ + --with-menudir=${DESKTOPDIR} \ --with-domainsocket=${CUPS_SOCKET} OPTIONS= GNUTLS "Build with GNUTLS library" on \ diff -uNr cups-base.orig/pkg-plist cups-base/pkg-plist --- cups-base.orig/pkg-plist Sun Jan 13 11:22:17 2008 +++ cups-base/pkg-plist Sun Jan 13 11:40:49 2008 @@ -1566,6 +1566,7 @@ %%DOCSDIR%%/zh_TW/images/button-view-page-log.gif %%DOCSDIR%%/zh_TW/images/button-view-printable-version.gif %%DOCSDIR%%/zh_TW/index.html +share/applications/cups.desktop share/icons/hicolor/16x16/apps/cups.png share/icons/hicolor/32x32/apps/cups.png share/icons/hicolor/64x64/apps/cups.png >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801131057.m0DAv9hP067348>