pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51712: print/evince3 fails packaging if "dbus" option disabled



>Number:         51712
>Category:       pkg
>Synopsis:       print/evince3 fails packaging if "dbus" option disabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 12 15:00:00 +0000 2016
>Originator:     John D. Baker
>Release:        NetBSD/amd64-7.0_STABLE, pkgsrc HEAD, 12 Dec 2016
>Organization:
>Environment:
NetBSD dpe2850b.technoskunk.fur 7.0_STABLE NetBSD 7.0_STABLE (RACKMOUNT) #1: Fri Dec  9 19:14:14 CST 2016  sysop%dpe2850b.technoskunk.fur@localhost:/d0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/RACKMOUNT amd64

>Description:
If one disables the "dbus" option, "print/evince3" fails during
creation of binary packages because the "lib/systemd/user/evince.service"
file can't be found.

Files like this are common elements for "dbus" and looking at the
"options.mk" and PLIST, a few others were conditionalized on
"${PLIST.dbus}".

The same should be done for the file noted above.
>How-To-Repeat:
PKG_DEFAULT_OPTIONS+= -dbus
or
PKG_OPTIONS.evince+= -dbus

Attempt to package print/evince3.
>Fix:
Apply the following patch:

Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/print/evince3/PLIST,v
retrieving revision 1.14
diff -u -p -r1.14 PLIST
--- PLIST       26 Nov 2016 12:44:05 -0000      1.14
+++ PLIST       12 Dec 2016 14:41:51 -0000
@@ -69,7 +69,7 @@ lib/libevdocument3.la
 lib/libevview3.la
 lib/pkgconfig/evince-document-3.0.pc
 lib/pkgconfig/evince-view-3.0.pc
-lib/systemd/user/evince.service
+${PLIST.dbus}lib/systemd/user/evince.service
 ${PLIST.dbus}libexec/evinced
 man/man1/evince.1
 share/GConf/gsettings/evince.convert



Home | Main Index | Thread Index | Old Index