pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www htmldoc: don't just install desktop files on Linux
details: https://anonhg.NetBSD.org/pkgsrc/rev/0fd851c32bfa
branches: trunk
changeset: 452749:0fd851c32bfa
user: nia <nia%pkgsrc.org@localhost>
date: Sat May 15 07:22:39 2021 +0000
description:
htmldoc: don't just install desktop files on Linux
diffstat:
www/htmldoc-x11/Makefile | 3 ++-
www/htmldoc/Makefile | 4 ++--
www/htmldoc/Makefile.common | 6 ++++--
www/htmldoc/PLIST | 7 ++++++-
www/htmldoc/distinfo | 3 ++-
www/htmldoc/patches/patch-desktop_Makefile | 22 ++++++++++++++++++++++
6 files changed, 38 insertions(+), 7 deletions(-)
diffs (102 lines):
diff -r e99563c67e0a -r 0fd851c32bfa www/htmldoc-x11/Makefile
--- a/www/htmldoc-x11/Makefile Sat May 15 07:14:49 2021 +0000
+++ b/www/htmldoc-x11/Makefile Sat May 15 07:22:39 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2021/02/01 09:35:11 fcambus Exp $
+# $NetBSD: Makefile,v 1.24 2021/05/15 07:22:39 nia Exp $
PKGNAME= htmldoc-x11-${VERSION}
+PKGREVISION= 1
CONFIGURE_ARGS+= --with-gui
diff -r e99563c67e0a -r 0fd851c32bfa www/htmldoc/Makefile
--- a/www/htmldoc/Makefile Sat May 15 07:14:49 2021 +0000
+++ b/www/htmldoc/Makefile Sat May 15 07:22:39 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.50 2021/04/21 13:25:29 adam Exp $
+# $NetBSD: Makefile,v 1.51 2021/05/15 07:22:39 nia Exp $
CONFIGURE_ARGS+= --without-gui
-PKGREVISION= 1
+PKGREVISION= 2
.include "${.CURDIR}/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff -r e99563c67e0a -r 0fd851c32bfa www/htmldoc/Makefile.common
--- a/www/htmldoc/Makefile.common Sat May 15 07:14:49 2021 +0000
+++ b/www/htmldoc/Makefile.common Sat May 15 07:22:39 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2021/02/01 09:33:12 fcambus Exp $
+# $NetBSD: Makefile.common,v 1.19 2021/05/15 07:22:39 nia Exp $
#
# used by www/htmldoc/Makefile
# used by www/htmldoc-x11/Makefile
@@ -31,5 +31,7 @@
USE_LANGUAGES= c c++
.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff -r e99563c67e0a -r 0fd851c32bfa www/htmldoc/PLIST
--- a/www/htmldoc/PLIST Sat May 15 07:14:49 2021 +0000
+++ b/www/htmldoc/PLIST Sat May 15 07:22:39 2021 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 22:00:23 joerg Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/05/15 07:22:39 nia Exp $
bin/htmldoc
man/man1/htmldoc.1
+share/applications/htmldoc.desktop
share/doc/htmldoc/help.html
share/doc/htmldoc/htmldoc.pdf
share/htmldoc/data/cp-1250
@@ -79,3 +80,7 @@
share/htmldoc/fonts/Times-Italic.pfa
share/htmldoc/fonts/Times-Roman.afm
share/htmldoc/fonts/Times-Roman.pfa
+share/icons/hicolor/128x128/apps/htmldoc.png
+share/icons/hicolor/256x256/apps/htmldoc.png
+share/mime/packages/htmldoc.xml
+share/pixmaps/htmldoc.xpm
diff -r e99563c67e0a -r 0fd851c32bfa www/htmldoc/distinfo
--- a/www/htmldoc/distinfo Sat May 15 07:14:49 2021 +0000
+++ b/www/htmldoc/distinfo Sat May 15 07:22:39 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.16 2021/02/01 09:33:12 fcambus Exp $
+$NetBSD: distinfo,v 1.17 2021/05/15 07:22:39 nia Exp $
SHA1 (htmldoc/v1.9.11.tar.gz) = 6366646f9d548e1bb1d17f36f07f212ffdac7600
RMD160 (htmldoc/v1.9.11.tar.gz) = 4bb448518ca2957df8c16600c8b77e9e3e85bdc7
SHA512 (htmldoc/v1.9.11.tar.gz) = 008e0af36a05c1f358ddc344643e75e85dafc0b5213ffa693a3958a00082a935a957caf8f9790f4c2f0631436048f70e6c2ff2bb320977a9ba2c6d26d59ff0ed
Size (htmldoc/v1.9.11.tar.gz) = 4505305 bytes
+SHA1 (patch-desktop_Makefile) = 687b416d6b4189aa4b0242b23858daabd54a76ed
SHA1 (patch-htmldoc_http-addrlist.c) = 5c36f78655838e633f805b6529a2a3183e10288a
diff -r e99563c67e0a -r 0fd851c32bfa www/htmldoc/patches/patch-desktop_Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/htmldoc/patches/patch-desktop_Makefile Sat May 15 07:22:39 2021 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-desktop_Makefile,v 1.1 2021/05/15 07:22:39 nia Exp $
+
+Ensure desktop files are always installed, not just on Linux.
+
+--- desktop/Makefile.orig 2020-12-24 21:58:42.000000000 +0000
++++ desktop/Makefile
+@@ -27,7 +27,6 @@ all:
+ #
+
+ install:
+- if test `uname` = Linux; then \
+ $(INSTALL_DIR) $(BUILDROOT)$(datadir)/applications; \
+ $(INSTALL_DATA) htmldoc.desktop $(BUILDROOT)$(datadir)/applications; \
+ $(INSTALL_DIR) $(BUILDROOT)$(datadir)/mime/packages; \
+@@ -38,7 +37,6 @@ install:
+ $(INSTALL_DATA) htmldoc-128.png $(BUILDROOT)$(datadir)/icons/hicolor/128x128/apps/htmldoc.png; \
+ $(INSTALL_DIR) $(BUILDROOT)$(datadir)/icons/hicolor/256x256/apps; \
+ $(INSTALL_DATA) htmldoc-256.png $(BUILDROOT)$(datadir)/icons/hicolor/256x256/apps/htmldoc.png; \
+- fi
+
+
+ #
Home |
Main Index |
Thread Index |
Old Index