Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/syncthing-gtk syncthing-gtk: Overhaul SUBST of /us...
details: https://anonhg.NetBSD.org/pkgsrc/rev/afd91f72f3fd
branches: trunk
changeset: 432919:afd91f72f3fd
user: gdt <gdt%pkgsrc.org@localhost>
date: Wed May 27 11:10:19 2020 +0000
description:
syncthing-gtk: Overhaul SUBST of /usr paths
This had a SUBST block to fix /usr/share to ${PREFIX}/share. It was
doing this to files where the pattern didn't match, and also missed
fixin up /usr/bin. Split into a bin and a share SUBST, and loosen the
regexp (specifically, to match /syncthing rather than just
/syncthing-gtk). Tested to basically work on NetBSD 8. Desktop files
etc. appear much better than before.
(Found by newish SUBST noop check.)
diffstat:
net/syncthing-gtk/Makefile | 29 ++++++++++++++++++-----------
1 files changed, 18 insertions(+), 11 deletions(-)
diffs (45 lines):
diff -r 8dc4a44c46bd -r afd91f72f3fd net/syncthing-gtk/Makefile
--- a/net/syncthing-gtk/Makefile Wed May 27 08:00:51 2020 +0000
+++ b/net/syncthing-gtk/Makefile Wed May 27 11:10:19 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2020/03/10 22:10:48 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2020/05/27 11:10:19 gdt Exp $
DISTNAME= syncthing-gtk-0.9.2.3
-PKGREVISION= 11
+PKGREVISION= 12
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=syncthing/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -21,15 +21,22 @@
REPLACE_PYTHON+= *.py scripts/*.py syncthing_gtk/*.py
-SUBST_CLASSES+= paths
-SUBST_STAGE.paths= pre-build
-SUBST_MESSAGE.paths= Fixing hard-coded paths
-SUBST_FILES.paths= scripts/syncthing-gtk
-SUBST_FILES.paths+= syncthing-gtk.desktop
-SUBST_FILES.paths+= syncthing_gtk/app.py
-SUBST_FILES.paths+= syncthing_gtk/uisettingsdialog.py
-SUBST_FILES.paths+= syncthing_gtk/wizard.py
-SUBST_SED.paths= -e 's|/usr/share/syncthing-gtk|${PREFIX}/share/syncthing-gtk|'
+SUBST_CLASSES+= path_s
+SUBST_STAGE.path_s= pre-build
+SUBST_MESSAGE.path_s= Fixing hard-coded paths to /usr/share
+SUBST_FILES.path_s= scripts/syncthing-gtk
+SUBST_FILES.path_s+= syncthing_gtk/app.py
+SUBST_FILES.path_s+= syncthing_gtk/uisettingsdialog.py
+SUBST_FILES.path_s+= syncthing_gtk/wizard.py
+SUBST_SED.path_s= -e 's|/usr/share/syncthing-gtk|${PREFIX}/share/syncthing-gtk|'
+
+SUBST_CLASSES+= path_b
+SUBST_STAGE.path_b= pre-build
+SUBST_MESSAGE.path_b= Fixing hard-coded paths to /usr/bin
+SUBST_FILES.path_b= syncthing-gtk.desktop
+SUBST_FILES.path_b+= syncthing_gtk/configuration.py
+SUBST_SED.path_b= -e 's|/usr/bin/syncthing|${PREFIX}/bin/syncthing|'
+# \todo Extend to /usr/bin for command paths in app.py
BUILDLINK_ABI_DEPENDS.libnotify+= libnotify>=0.7.6nb4
.include "../../sysutils/libnotify/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index