Wed Jan 13 18:26:24 2021 UTC ()
papirus-icon-theme: Switch to dynamic PLIST.

The static PLIST was incorrect, listing a number of directories instead of the
files contained within them.  For some reason the check-files infrastructure
does not complain about this on NetBSD, and was only noticed on SunOS.

Fixing the PLIST to correctly register the 750,000+ files that this package
installs would bloat it to 44MB and be painful to maintain, so while dynamic
PLISTs are generally to be avoided, in this situation it's the least worst.

Ok nia.


(jperkin)
diff -r1.9 -r1.10 pkgsrc/graphics/papirus-icon-theme/Makefile
diff -r1.9 -r0 pkgsrc/graphics/papirus-icon-theme/PLIST

cvs diff -r1.9 -r1.10 pkgsrc/graphics/papirus-icon-theme/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/papirus-icon-theme/Makefile 2020/03/22 11:39:52 1.9
+++ pkgsrc/graphics/papirus-icon-theme/Makefile 2021/01/13 18:26:23 1.10
@@ -1,24 +1,38 @@ @@ -1,24 +1,38 @@
1# $NetBSD: Makefile,v 1.9 2020/03/22 11:39:52 nia Exp $ 1# $NetBSD: Makefile,v 1.10 2021/01/13 18:26:23 jperkin Exp $
2 2
3DISTNAME= papirus-icon-theme-20200301 3DISTNAME= papirus-icon-theme-20200301
4CATEGORIES= graphics 4CATEGORIES= graphics
5MASTER_SITES= ${MASTER_SITE_GITHUB:=PapirusDevelopmentTeam/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=PapirusDevelopmentTeam/}
6GITHUB_PROJECT= papirus-icon-theme 6GITHUB_PROJECT= papirus-icon-theme
7GITHUB_TAG= ${PKGVERSION_NOREV} 7GITHUB_TAG= ${PKGVERSION_NOREV}
8 8
9MAINTAINER= nia@NetBSD.org 9MAINTAINER= nia@NetBSD.org
10HOMEPAGE= https://github.com/PapirusDevelopmentTeam/papirus-icon-theme 10HOMEPAGE= https://github.com/PapirusDevelopmentTeam/papirus-icon-theme
11COMMENT= SVG icon theme based on the Paper Icon Set 11COMMENT= SVG icon theme based on the Paper Icon Set
12LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
13 13
14EXTRACT_USING= bsdtar 14EXTRACT_USING= bsdtar
15USE_TOOLS+= gmake 15USE_TOOLS+= gmake
16ICON_THEMES= yes 16ICON_THEMES= yes
17 17
 18#
 19# This package installs over 750,000 files. While dynamic PLISTs are to be
 20# avoided where possible, trying to maintain a static PLIST for this many
 21# files is impractical and would bloat the repository considerably.
 22#
 23# The install script is literally just "cp -R <list of dirs>", so there is
 24# hopefully little to go wrong and result in a broken package.
 25#
 26CHECK_FILES= no
 27GENERATE_PLIST= cd ${DESTDIR}${PREFIX};
 28GENERATE_PLIST+= ${FIND} share \( -type f -o -type l \) | ${SORT};
 29
18# Save some time... 30# Save some time...
19CHECK_WRKREF_SKIP+= share/icons/*/*/*/*.svg 
20CHECK_INTERPRETER_SKIP+= share/icons/*/*/*/*.svg 31CHECK_INTERPRETER_SKIP+= share/icons/*/*/*/*.svg
 32CHECK_SHLIBS_SUPPORTED= no
 33CHECK_SSP_SUPPORTED= no
 34CHECK_WRKREF_SKIP+= share/icons/*/*/*/*.svg
21 35
22.include "../../graphics/gnome-icon-theme/buildlink3.mk" 36.include "../../graphics/gnome-icon-theme/buildlink3.mk"
23.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 37.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
24.include "../../mk/bsd.pkg.mk" 38.include "../../mk/bsd.pkg.mk"

File Deleted: pkgsrc/graphics/papirus-icon-theme/Attic/PLIST