ports/119621: [patch] print/cups-base installs files outside of /usr/local
José García Juanino
jjuanino at gmail.com
Sun Jan 13 11:00:02 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list