FreeBSD Bugzilla – Attachment 166960 Details for
Bug 198777
print/cups-base: XDG_OPEN option not functioning as intended
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
cups-base.diff
cups-base.diff (text/plain), 2.27 KB, created by
Tobias Kortkamp
on 2016-02-13 23:14:40 UTC
(
hide
)
Description:
cups-base.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2016-02-13 23:14:40 UTC
Size:
2.27 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 408835) >+++ Makefile (working copy) >@@ -64,7 +64,7 @@ > CUPS_SUFFIX= -image > LICENSE= LGPL21 > .else >-PORTREVISION= 4 >+PORTREVISION= 5 > CUPS_SUFFIX= -base > # No DOCS option. Files are needed by web interface. > OPTIONS_DEFINE= DBUS LIBPAPER LIBUSB PAM X11 XDG_OPEN >@@ -72,13 +72,13 @@ > OPTIONS_GROUP_WEB= JAVA PERL PHP PYTHON > OPTIONS_RADIO= ZEROCONF > OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER >-OPTIONS_DEFAULT+= LIBPAPER MDNSRESPONDER X11 >+OPTIONS_DEFAULT+= LIBPAPER MDNSRESPONDER X11 XDG_OPEN > .endif > > X11_DESC= Desktop icons > LIBUSB_DESC= USB support > WEB_DESC= Interpreters for web interfaces >-XDG_OPEN_DESC= Build with XDG_OPEN as browser >+XDG_OPEN_DESC= Use xdg-open as browser > ZEROCONF_DESC= Zeroconf support > > .include <bsd.port.options.mk> >@@ -168,6 +168,9 @@ > . endif > > . if ${PORT_OPTIONS:MXDG_OPEN} >+# Declare a build dependency on xdg-open so that CUPS' configure >+# script can find it. >+BUILD_DEPENDS+= xdg-open:${PORTSDIR}/devel/xdg-utils > RUN_DEPENDS+= xdg-open:${PORTSDIR}/devel/xdg-utils > . endif > >@@ -224,9 +227,6 @@ > @${REINPLACE_CMD} -e 's|Darwin|FreeBSD|' \ > ${WRKSRC}/backend/Makefile > .endif >-.if ${PORT_OPTIONS:MXDG_OPEN} >- @${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop.in >-.endif > @${REINPLACE_CMD} -e '/SILENT/d' ${WRKSRC}/Makedefs.in > @${REINPLACE_CMD} -e 's|/etc/cups|${LOCALBASE}/etc/cups|g' ${WRKSRC}/man/*.man* > @${REINPLACE_CMD} -e 's|/private/etc/pam.d|${LOCALBASE}/etc/pam.d|' \ >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 408835) >+++ pkg-plist (working copy) >@@ -640,10 +640,10 @@ > %%DOCSDIR%%/ru/index.html > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ulpt-cupsd.conf > share/applications/cups.desktop >-%%ICONS%%share/icons/hicolor/128x128/apps/cups.png >-%%ICONS%%share/icons/hicolor/16x16/apps/cups.png >-%%ICONS%%share/icons/hicolor/32x32/apps/cups.png >-%%ICONS%%share/icons/hicolor/64x64/apps/cups.png >+%%X11%%/icons/hicolor/128x128/apps/cups.png >+%%X11%%share/icons/hicolor/16x16/apps/cups.png >+%%X11%%share/icons/hicolor/32x32/apps/cups.png >+%%X11%%share/icons/hicolor/64x64/apps/cups.png > share/locale/ca/cups_ca.po > share/locale/cs/cups_cs.po > share/locale/de/cups_de.po
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198777
:
154635
|
166960
|
166962
|
166963
|
166983
|
166984
|
166985