pkgsrc-Bugs archive

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

pkg/44201: editors/leafpad PLIST problem (well, not really) (+FIX)

>Number:         44201
>Category:       pkg
>Synopsis:       editors/leafpad PLIST problem (well, not really) (+FIX)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 08 03:30:00 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 5.0    (pkgsrc current (head) 2019-12-08)
        Prince of Songkla University
System: NetBSD 5.1 NetBSD 5.1 (JADE-1.12-20101117) #5: Wed 
Nov 17 05:30:55 ICT 2010 i386
Architecture: i386
Machine: i386
        editors/leafpad apparently used the gnome hicolor theme stuff,
        but doesn't include the magic bl3 file to make that work
        correctly, which ic detected as a PLIST problem by the package
        build process if PKG_DEVELOPER is set.

        I use pkg_comp with NetBSD 5.0 release sets, and libkver installed.
        The only real relevance of that is that pkg_comp defaults
        PKG_DEVELOPER=yes  (all developers should use that anyway...)
        and I start in an empty sandbox, so the hicolor theme file will not
        be installed already unless something in the package being built
        (or a dependency) demands it.

        In that environment, I see ...

=> Registering installation for leafpad-0.8.17nb3
leafpad-0.8.17nb3 requires installed package desktop-file-utils-0.15
leafpad-0.8.17nb3 requires installed package gtk2+-2.22.1
=> Checking file-check results for leafpad-0.8.17nb3
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/share/icons/hicolor/icon-theme.cache
*** Error code 1

make: stopped in /usr/pkgsrc/editors/leafpad
*** Error code 1


        This is a "well known" problem I believe.   The patch below is
        the standard fix, I think.   I included a revbump, as I think
        I recall that the hicolor-icon-theme bl3 file changes the affected
        binary package slightly - and for builds without PKG_DEVELOPER
        set, a binary package would have been produced from this pkgsrc
        package the way it was.  If the revbump isn't needed (that is, if
        the added bl3 file is effectively doing no more than excluding the
        cache file from the package) then feel free to ignore that part.

        This patch applies in pkgsrc/editors/leafpad

Index: Makefile
RCS file: /cvsroot/NetBSD/pkgsrc/editors/leafpad/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile    15 Nov 2010 22:56:52 -0000      1.22
+++ Makefile    8 Dec 2010 03:13:52 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.22 2010/11/15 22:56:52 abs Exp $
 DISTNAME=      leafpad-0.8.17
 CATEGORIES=    editors gnome
@@ -17,6 +17,7 @@
 .include "../../converters/libiconv/"
 .include "../../devel/gettext-lib/"
+.include "../../graphics/hicolor-icon-theme/"
 .include "../../sysutils/desktop-file-utils/"
 .include "../../x11/gtk2/"
 .include "../../mk/"

Home | Main Index | Thread Index | Old Index