pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/adwaita-icon-theme



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Oct  3 23:44:31 UTC 2019

Modified Files:
        pkgsrc/graphics/adwaita-icon-theme: Makefile
Added Files:
        pkgsrc/graphics/adwaita-icon-theme/files: netbsd-16.png netbsd-22.png
            netbsd-24.png netbsd-256.png netbsd-32.png netbsd-48.png
            netbsd-96.png
Removed Files:
        pkgsrc/graphics/adwaita-icon-theme/files: distributor-logo.svg

Log Message:
adwaita-icon-theme: Avoid rsvg dep by pre-generating NetBSD icons.

Don't install them on non-NetBSD.

Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/graphics/adwaita-icon-theme/Makefile
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/graphics/adwaita-icon-theme/files/distributor-logo.svg
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/adwaita-icon-theme/files/netbsd-16.png \
    pkgsrc/graphics/adwaita-icon-theme/files/netbsd-22.png \
    pkgsrc/graphics/adwaita-icon-theme/files/netbsd-24.png \
    pkgsrc/graphics/adwaita-icon-theme/files/netbsd-256.png \
    pkgsrc/graphics/adwaita-icon-theme/files/netbsd-32.png \
    pkgsrc/graphics/adwaita-icon-theme/files/netbsd-48.png \
    pkgsrc/graphics/adwaita-icon-theme/files/netbsd-96.png

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/adwaita-icon-theme/Makefile
diff -u pkgsrc/graphics/adwaita-icon-theme/Makefile:1.16 pkgsrc/graphics/adwaita-icon-theme/Makefile:1.17
--- pkgsrc/graphics/adwaita-icon-theme/Makefile:1.16    Sat Jun  8 19:56:23 2019
+++ pkgsrc/graphics/adwaita-icon-theme/Makefile Thu Oct  3 23:44:31 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2019/06/08 19:56:23 leot Exp $
+# $NetBSD: Makefile,v 1.17 2019/10/03 23:44:31 nia Exp $
 
 DISTNAME=              adwaita-icon-theme-3.30.1
+PKGREVISION=           1
 CATEGORIES=            graphics gnome
 MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/adwaita-icon-theme/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=          .tar.xz
@@ -27,14 +28,16 @@ INSTALLATION_DIRS+= share/icons/Adwaita/
 
 ICON_THEMES=           yes
 
+.include "../../mk/bsd.prefs.mk"
+
 post-install:
-.for s in 16 22 24 32 48 96 256
-        ${LOCALBASE}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg \
-        -w ${s} -h ${s} -o \
-        ${DESTDIR}${PREFIX}/share/icons/Adwaita/${s}x${s}/places/start-here.png
-.endfor
+.if ${OPSYS} == "NetBSD"
+.  for s in 16 22 24 32 48 96 256
+       ${INSTALL_DATA} ${FILESDIR}/netbsd-${s}.png \
+           ${DESTDIR}${PREFIX}/share/icons/Adwaita/${s}x${s}/places/start-here.png
+.  endfor
+.endif
 
 BUILDLINK_DEPMETHOD.gettext-lib=        build
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../graphics/librsvg/tool.mk"
 .include "../../mk/bsd.pkg.mk"

Added files:

Index: pkgsrc/graphics/adwaita-icon-theme/files/netbsd-16.png
Binary files are different
Index: pkgsrc/graphics/adwaita-icon-theme/files/netbsd-22.png
Binary files are different
Index: pkgsrc/graphics/adwaita-icon-theme/files/netbsd-24.png
Binary files are different
Index: pkgsrc/graphics/adwaita-icon-theme/files/netbsd-256.png
Binary files are different
Index: pkgsrc/graphics/adwaita-icon-theme/files/netbsd-32.png
Binary files are different
Index: pkgsrc/graphics/adwaita-icon-theme/files/netbsd-48.png
Binary files are different
Index: pkgsrc/graphics/adwaita-icon-theme/files/netbsd-96.png
Binary files are different



Home | Main Index | Thread Index | Old Index