pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Oct  3 23:43:04 UTC 2019

Modified Files:
        pkgsrc/graphics/gnome-icon-theme: Makefile
Added Files:
        pkgsrc/graphics/gnome-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/gnome-icon-theme/files: distributor-logo.svg

Log Message:
gnome-icon-theme: Avoid rsvg dep by pre-generating NetBSD logos.

Don't install the logos on non-NetBSD.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 pkgsrc/graphics/gnome-icon-theme/Makefile
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/graphics/gnome-icon-theme/files/distributor-logo.svg
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gnome-icon-theme/files/netbsd-16.png \
    pkgsrc/graphics/gnome-icon-theme/files/netbsd-22.png \
    pkgsrc/graphics/gnome-icon-theme/files/netbsd-24.png \
    pkgsrc/graphics/gnome-icon-theme/files/netbsd-256.png \
    pkgsrc/graphics/gnome-icon-theme/files/netbsd-32.png \
    pkgsrc/graphics/gnome-icon-theme/files/netbsd-48.png \
    pkgsrc/graphics/gnome-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/gnome-icon-theme/Makefile
diff -u pkgsrc/graphics/gnome-icon-theme/Makefile:1.106 pkgsrc/graphics/gnome-icon-theme/Makefile:1.107
--- pkgsrc/graphics/gnome-icon-theme/Makefile:1.106     Sun Aug 11 13:17:49 2019
+++ pkgsrc/graphics/gnome-icon-theme/Makefile   Thu Oct  3 23:43:04 2019
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.106 2019/08/11 13:17:49 wiz Exp $
+# $NetBSD: Makefile,v 1.107 2019/10/03 23:43:04 nia Exp $
 
 DISTNAME=              gnome-icon-theme-3.12.0
-PKGREVISION=           4
+PKGREVISION=           5
 CATEGORIES=            graphics gnome
 MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/gnome-icon-theme/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=          .tar.xz
@@ -27,16 +27,15 @@ BUILDLINK_API_DEPENDS.icon-naming-utils+
 
 ICON_THEMES=   yes
 
+.include "../../mk/bsd.prefs.mk"
 post-install:
-       ${LOCALBASE}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 16 -h 16 -o ${DESTDIR}${PREFIX}/share/icons/gnome/16x16/places/start-here.png
-       ${LOCALBASE}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 22 -h 22 -o ${DESTDIR}${PREFIX}/share/icons/gnome/22x22/places/start-here.png
-       ${LOCALBASE}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 24 -h 24 -o ${DESTDIR}${PREFIX}/share/icons/gnome/24x24/places/start-here.png
-       ${LOCALBASE}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 32 -h 32 -o ${DESTDIR}${PREFIX}/share/icons/gnome/32x32/places/start-here.png
-       ${LOCALBASE}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 48 -h 48 -o ${DESTDIR}${PREFIX}/share/icons/gnome/48x48/places/start-here.png
-       ${LOCALBASE}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 256 -h 256 -o ${DESTDIR}${PREFIX}/share/icons/gnome/256x256/places/start-here.png
+.if ${OPSYS} == "NetBSD"
+.  for s in 16 22 24 32 48 256
+       ${INSTALL_DATA} ${FILESDIR}/netbsd-${s}.png ${DESTDIR}${PREFIX}/share/icons/gnome/${s}x${s}/places/start-here.png
+.  endfor
+.endif
 
 BUILDLINK_DEPMETHOD.gettext-lib=       build
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../graphics/icon-naming-utils/buildlink3.mk"
-.include "../../graphics/librsvg/tool.mk"
 .include "../../mk/bsd.pkg.mk"

Added files:

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



Home | Main Index | Thread Index | Old Index